/* Homepage — navy / orange fintech theme */
:root {
    --hp-bg: #eef6fc;
    --hp-bg-soft: #f4f9fd;
    --hp-card: #ffffff;
    --hp-navy: #1e3a5f;
    --hp-navy-deep: #152a45;
    --hp-navy-mid: #2a4a73;
    --hp-orange: #ff8c00;
    --hp-orange-light: #ffb347;
    --hp-orange-dark: #e67e00;
    --hp-text: #1a2b4a;
    --hp-muted: #64748b;
    --hp-border: rgba(30, 58, 95, 0.12);
    --hp-shadow: 0 12px 32px rgba(30, 58, 95, 0.1);
    --hp-shadow-lg: 0 20px 48px rgba(30, 58, 95, 0.16);
    --hp-grad-navy: linear-gradient(145deg, #2a4a73 0%, #1e3a5f 52%, #152a45 100%);
    --hp-grad-orange: linear-gradient(90deg, #ff8c00 0%, #ffb347 100%);
    --hp-container: min(1100px, calc(100% - 32px));
    --hp-nav-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body.hp-home {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--hp-bg);
    background-image: linear-gradient(180deg, #f4f9fd 0%, #eef6fc 100%);
    background-attachment: fixed;
    color: var(--hp-text);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    padding-top: var(--hp-nav-h);
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }

.hp-container {
    width: var(--hp-container);
    margin-left: auto;
    margin-right: auto;
}

/* Nav */
.hp-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--hp-nav-h);
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--hp-border);
    transition: box-shadow .25s ease, background .25s ease;
}
.hp-nav.scrolled {
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 8px 28px rgba(30, 58, 95, 0.1);
}
.hp-nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    height: 100%;
    padding: 0 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.hp-nav-logo img {
    height: 42px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
}
.hp-nav-center { display: none; align-items: center; gap: 4px; }
.hp-nav-mid {
    padding: 8px 14px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
    color: var(--hp-muted);
    transition: color .2s, background .2s;
}
.hp-nav-mid:hover,
.hp-nav-mid.active {
    color: var(--hp-navy);
    background: rgba(30, 58, 95, 0.06);
}
.hp-nav-actions { display: flex; align-items: center; gap: 8px; }
.hp-nav-link {
    padding: 9px 16px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
    transition: transform .2s, box-shadow .2s, background .2s;
}
.hp-nav-link--outline {
    color: var(--hp-navy);
    border: 1.5px solid var(--hp-border);
    background: #fff;
}
.hp-nav-link--outline:hover {
    background: var(--hp-bg-soft);
    transform: translateY(-1px);
}
.hp-nav-link--fill {
    color: #fff;
    background: var(--hp-grad-orange);
    box-shadow: 0 6px 18px rgba(255, 140, 0, 0.32);
}
.hp-nav-link--fill:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 22px rgba(255, 140, 0, 0.38);
    color: #fff;
}
.hp-nav-toggle {
    display: flex;
    width: 42px;
    height: 42px;
    border: 1px solid var(--hp-border);
    border-radius: 12px;
    background: #fff;
    color: var(--hp-navy);
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background .2s;
}
.hp-nav-toggle:hover { background: var(--hp-bg-soft); }

/* Mobile drawer */
.hp-nav-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(300px, 88vw);
    height: 100%;
    background: linear-gradient(180deg, #1e3a5f 0%, #152a45 100%);
    color: #fff;
    z-index: 1002;
    padding: 72px 18px 24px;
    box-shadow: -12px 0 40px rgba(21, 42, 69, 0.28);
    transition: right .32s cubic-bezier(.22, 1, .36, 1);
    overflow-y: auto;
}
.hp-nav-drawer.open { right: 0; }
.hp-drawer-link {
    display: block;
    padding: 12px 14px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 4px;
    color: rgba(255, 255, 255, 0.88);
    transition: background .2s;
}
.hp-drawer-link:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}
.hp-nav-drawer .drawer-cta {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.hp-nav-drawer .hp-nav-link--outline {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.08);
}
.hp-nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(21, 42, 69, 0.45);
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s, visibility .3s;
}
.hp-nav-overlay.open { opacity: 1; visibility: visible; }
.hp-nav-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    transition: background .2s;
}
.hp-nav-close:hover { background: rgba(255, 255, 255, 0.16); }

/* Hero */
.hp-hero {
    position: relative;
    overflow: hidden;
    padding: 48px 0 64px;
    background: var(--hp-grad-navy);
    color: #fff;
}
.hp-hero::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -60px;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 140, 0, 0.22) 0%, transparent 68%);
    pointer-events: none;
}
.hp-hero::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -80px;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 179, 71, 0.14) 0%, transparent 70%);
    pointer-events: none;
}
.hp-hero-inner {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 0 16px;
}
.hp-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 16px;
    margin-bottom: 18px;
    border-radius: 999px;
    border: 1px solid rgba(255, 179, 71, 0.35);
    background: rgba(255, 140, 0, 0.14);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #ffd08a;
}
.hp-hero-badge i { font-size: 12px; }
.hp-hero h1 {
    font-size: clamp(28px, 5.5vw, 46px);
    font-weight: 800;
    line-height: 1.12;
    max-width: 700px;
    margin: 0 auto 16px;
    letter-spacing: -.02em;
}
.hp-hero h1 span {
    background: var(--hp-grad-orange);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.hp-hero-desc {
    font-size: clamp(14px, 2.2vw, 17px);
    color: rgba(255, 255, 255, 0.82);
    max-width: 540px;
    margin: 0 auto 28px;
    line-height: 1.65;
}
.hp-hero-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}
.hp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 24px;
    border-radius: 14px;
    font-size: 14px;
    font-weight: 800;
    font-family: inherit;
    transition: transform .2s, box-shadow .2s, background .2s;
}
.hp-btn:hover { transform: translateY(-2px); }
.hp-btn-primary {
    background: var(--hp-grad-orange);
    color: #fff;
    box-shadow: 0 8px 24px rgba(255, 140, 0, 0.38);
}
.hp-btn-primary:hover {
    box-shadow: 0 12px 28px rgba(255, 140, 0, 0.45);
    color: #fff;
}
.hp-btn-ghost {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(8px);
}
.hp-btn-ghost:hover {
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
}

/* Trust bar */
.hp-trust-wrap {
    margin-top: -32px;
    padding: 0 16px 8px;
    position: relative;
    z-index: 2;
}
.hp-trust-bar {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    max-width: var(--hp-container);
    margin: 0 auto;
}
.hp-trust-item {
    background: var(--hp-card);
    border: 1px solid var(--hp-border);
    border-radius: 18px;
    padding: 16px 18px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: var(--hp-shadow);
    transition: transform .2s, box-shadow .2s;
}
.hp-trust-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--hp-shadow-lg);
}
.hp-trust-icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: var(--hp-grad-navy);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 6px 16px rgba(30, 58, 95, 0.22);
    position: relative;
    overflow: hidden;
}
.hp-trust-icon::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.2) 0%, transparent 45%);
    pointer-events: none;
}
.hp-trust-icon i {
    position: relative;
    z-index: 1;
    font-size: 18px;
}
.hp-trust-item h5 {
    font-size: 14px;
    font-weight: 800;
    color: var(--hp-navy);
}
.hp-trust-item p {
    font-size: 12px;
    color: var(--hp-muted);
    margin-top: 2px;
}

/* Sections */
.hp-section { padding: 56px 16px; }
.hp-section--alt {
    background: linear-gradient(180deg, var(--hp-bg-soft) 0%, var(--hp-bg) 100%);
}
.hp-section-head { text-align: center; margin-bottom: 32px; }
.hp-section-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 999px;
    background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
    border: 1px solid rgba(255, 140, 0, 0.2);
    color: var(--hp-orange-dark);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-bottom: 12px;
}
.hp-section-title {
    font-size: clamp(24px, 4vw, 34px);
    font-weight: 800;
    color: var(--hp-navy);
    margin-bottom: 10px;
    letter-spacing: -.02em;
}
.hp-section-desc {
    font-size: 14px;
    color: var(--hp-muted);
    max-width: 540px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Plans embed */
.hp-plans-section {
    background: linear-gradient(180deg, #fff 0%, var(--hp-bg-soft) 100%);
}
.hp-plans-embed .pl-grid {
    max-width: 820px;
    margin: 0 auto;
}
.hp-plans-viewall {
    text-align: center;
    margin-top: 24px;
}
.hp-plans-viewall a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 999px;
    background: var(--hp-grad-orange);
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    box-shadow: 0 8px 22px rgba(255, 140, 0, 0.32);
    transition: transform .2s, box-shadow .2s;
}
.hp-plans-viewall a:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(255, 140, 0, 0.4);
    color: #fff;
}

/* Steps */
.hp-steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}
.hp-step {
    background: var(--hp-card);
    border: 1px solid var(--hp-border);
    border-radius: 20px;
    padding: 24px 20px;
    text-align: center;
    box-shadow: var(--hp-shadow);
    transition: transform .2s, box-shadow .2s;
    position: relative;
    overflow: hidden;
}
.hp-step::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--hp-grad-orange);
    opacity: 0;
    transition: opacity .2s;
}
.hp-step:hover {
    transform: translateY(-3px);
    box-shadow: var(--hp-shadow-lg);
}
.hp-step:hover::before { opacity: 1; }
.hp-step-num {
    width: 48px;
    height: 48px;
    margin: 0 auto 14px;
    border-radius: 14px;
    background: var(--hp-grad-navy);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 18px;
    box-shadow: 0 6px 16px rgba(30, 58, 95, 0.22);
}
.hp-step h4 {
    font-size: 15px;
    font-weight: 800;
    color: var(--hp-navy);
    margin-bottom: 6px;
}
.hp-step p {
    font-size: 13px;
    color: var(--hp-muted);
    line-height: 1.55;
}

/* Features */
.hp-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}
.hp-feature {
    background: var(--hp-card);
    border: 1px solid var(--hp-border);
    border-radius: 18px;
    padding: 20px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
    box-shadow: var(--hp-shadow);
    transition: transform .2s, box-shadow .2s;
}
.hp-feature:hover {
    transform: translateY(-2px);
    box-shadow: var(--hp-shadow-lg);
}
.hp-feature-icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: var(--hp-grad-navy);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 6px 14px rgba(30, 58, 95, 0.2);
    position: relative;
    overflow: hidden;
}
.hp-feature-icon::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.2) 0%, transparent 45%);
    pointer-events: none;
}
.hp-feature-icon i {
    position: relative;
    z-index: 1;
    font-size: 17px;
}
.hp-feature h4 {
    font-size: 14px;
    font-weight: 800;
    color: var(--hp-navy);
    margin-bottom: 4px;
}
.hp-feature p {
    font-size: 13px;
    color: var(--hp-muted);
    line-height: 1.55;
}

/* CTA */
.hp-cta {
    text-align: center;
    padding: 56px 16px 72px;
    background: var(--hp-grad-navy);
    color: #fff;
    position: relative;
    overflow: hidden;
}
.hp-cta::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 140, 0, 0.12) 0%, transparent 65%);
    pointer-events: none;
}
.hp-cta .hp-container { position: relative; z-index: 1; }
.hp-cta h2 {
    font-size: clamp(24px, 4vw, 32px);
    font-weight: 800;
    margin-bottom: 12px;
    letter-spacing: -.02em;
}
.hp-cta p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.82);
    margin-bottom: 24px;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* Footer */
.hp-footer {
    background: var(--hp-navy-deep);
    color: rgba(255, 255, 255, 0.75);
    padding: 36px 16px;
    text-align: center;
}
.hp-footer-logo a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.95);
    margin-bottom: 14px;
}
.hp-footer-logo img {
    height: 36px;
    margin: 0;
}
.hp-footer p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.65);
}
.hp-footer-copy {
    margin-top: 16px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.45);
}

/* Responsive */
@media (min-width: 520px) {
    .hp-trust-bar { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 640px) {
    .hp-steps { grid-template-columns: repeat(2, 1fr); }
    .hp-features { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 768px) {
    :root { --hp-nav-h: 68px; }
    .hp-nav-center { display: flex; }
    .hp-nav-toggle { display: none; }
    .hp-section { padding: 72px 20px; }
    .hp-steps { grid-template-columns: repeat(4, 1fr); }
    .hp-hero { padding: 64px 0 80px; }
}
@media (min-width: 1024px) {
    .hp-features { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 767px) {
    .hp-hide-mob { display: none !important; }
}

@media (prefers-reduced-motion: reduce) {
    .hp-trust-item,
    .hp-step,
    .hp-feature,
    .hp-btn,
    .hp-nav-link,
    .hp-plans-viewall a {
        transition: none !important;
    }
}
