/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,wght@0,300;0,400;0,600;0,800;1,300;1,400&display=swap');

/* ── Reset ── */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* ── Base ── */
body {
    font-family: 'Inter', system-ui, sans-serif;
    background:
        radial-gradient(ellipse 90% 55% at 50% 0%, rgba(18, 52, 110, 0.38) 0%, transparent 100%),
        radial-gradient(ellipse 60% 40% at 85% 100%, rgba(10, 35, 75, 0.2) 0%, transparent 100%),
        #07090d;
    color: #fff;
    min-height: 100vh;
}

/* ── Nav ── */
.site-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 32px;
    background: linear-gradient(rgba(7,9,13,0.7), transparent);
    backdrop-filter: blur(0px);
}

.site-nav-left {
    display: flex;
    align-items: center;
    gap: 28px;
}

.site-nav a {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.45);
    text-decoration: none;
    text-transform: uppercase;
    transition: color 0.2s;
}

.site-nav a:hover {
    color: rgba(255, 255, 255, 0.85);
}

.site-nav a.nav-active {
    color: rgba(255, 255, 255, 0.85);
}

.site-nav a.nav-cta {
    color: rgba(255, 255, 255, 0.7);
}

.site-nav a.nav-cta:hover {
    color: #fff;
}

.nav-logo {
    height: 22px;
    width: auto;
    opacity: 0.6;
    transition: opacity 0.2s;
    display: block;
}

.nav-logo:hover {
    opacity: 0.9;
}

/* ── Content ── */
.content {
    max-width: 660px;
    margin: 0 auto;
    padding: 120px 28px 100px;
}

/* ── Page header ── */
.page-header {
    margin-bottom: 72px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 48px;
}

.page-label {
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.35);
    margin-bottom: 20px;
}

.page-title {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 800;
    letter-spacing: -0.025em;
    line-height: 1.08;
    margin-bottom: 18px;
}

.page-intro {
    font-size: 1.1rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.7;
}

/* ── Sections ── */
.section {
    margin-bottom: 64px;
}

.section-number {
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.22);
    margin-bottom: 12px;
}

.section-title {
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1.3;
    margin-bottom: 22px;
    color: #fff;
}

.section p {
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.72);
    margin-bottom: 16px;
}

.section p:last-child {
    margin-bottom: 0;
}

.section p strong {
    font-weight: 600;
    color: rgba(255, 255, 255, 0.92);
}

/* ── Pull quote ── */
.pull-quote {
    border-left: 2px solid rgba(255, 255, 255, 0.2);
    padding: 4px 0 4px 20px;
    margin: 28px 0;
    font-size: 1.05rem;
    font-weight: 400;
    font-style: italic;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.7;
}

/* ── Use case blocks ── */
.use-cases {
    display: grid;
    gap: 14px;
    margin-top: 28px;
}

.use-case {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 20px 22px;
}

.use-case-label {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.35);
    margin-bottom: 8px;
}

.use-case p {
    font-size: 0.95rem !important;
    margin-bottom: 0 !important;
}

/* ── Section divider ── */
.divider {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    margin: 0 0 64px;
}

/* ── CTA section ── */
.cta-section {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 56px;
    text-align: center;
}

.cta-section h2 {
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 14px;
}

.cta-section p {
    font-size: 1rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
    margin-bottom: 36px;
    max-width: 460px;
    margin-left: auto;
    margin-right: auto;
}

/* ── CTA button ── */
.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: #fff;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    padding: 15px 36px;
    border-radius: 50px;
    letter-spacing: 0.01em;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
    cursor: pointer;
}

.cta-btn:hover {
    background: rgba(255, 255, 255, 0.13);
    border-color: rgba(255, 255, 255, 0.32);
    transform: translateY(-2px);
}

.cta-btn.secondary {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    padding: 13px 28px;
}

.cta-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.22);
    color: rgba(255, 255, 255, 0.85);
}

/* ── Live badge ── */
.live-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    background: rgba(0, 210, 140, 0.15);
    color: #00d28c;
    border: 1px solid rgba(0, 210, 140, 0.25);
    padding: 3px 9px;
    border-radius: 20px;
}

.live-badge::before {
    content: '';
    width: 5px;
    height: 5px;
    background: #00d28c;
    border-radius: 50%;
    display: inline-block;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

/* ── Footer ── */
.footer {
    text-align: center;
    padding: 40px 0 32px;
}

.footer a {
    color: rgba(255, 255, 255, 0.25);
    text-decoration: none;
    font-size: 0.72rem;
    letter-spacing: 0.04em;
    transition: color 0.2s;
}

.footer a:hover {
    color: rgba(255, 255, 255, 0.55);
}

/* ── Hamburger button (hidden on desktop) ── */
.nav-hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px 2px;
}

.nav-hamburger span {
    display: block;
    width: 20px;
    height: 2px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 2px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

/* ── Responsive ── */

/*
 * Mobile nav strategy: hamburger toggle.
 * Top bar: logo (left) · hamburger + CTA (right).
 * On open: nav links drop down below the top bar as a column.
 */
@media (max-width: 680px) {
    .site-nav {
        flex-wrap: wrap;
        padding: 16px 20px;
        background: rgba(7, 9, 13, 0.95);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
    }

    /* Logo fills remaining space, pushing hamburger + CTA right */
    .site-nav > a:first-child {
        flex: 1;
    }

    /* Hamburger visible on mobile */
    .nav-hamburger {
        display: flex;
        margin-right: 16px;
    }

    /* Links hidden by default; revealed on .nav-open */
    .site-nav-left {
        display: none;
        order: 10;
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        padding-top: 12px;
        margin-top: 12px;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
    }

    .site-nav.nav-open .site-nav-left {
        display: flex;
    }

    .site-nav-left a {
        padding: 11px 0;
        font-size: 0.78rem;
        width: 100%;
    }

    /* Hamburger → X */
    .site-nav.nav-open .nav-hamburger span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }
    .site-nav.nav-open .nav-hamburger span:nth-child(2) {
        opacity: 0;
    }
    .site-nav.nav-open .nav-hamburger span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }
}

@media (max-width: 480px) {
    .content {
        padding: 96px 20px 80px;
    }

    .page-title {
        font-size: 1.9rem;
    }

    .section-title {
        font-size: 1.2rem;
    }

    .hero-oneliner {
        font-size: 0.95rem;
    }

    .cta-btn {
        font-size: 0.9rem;
        padding: 13px 28px;
    }
}

/* ─────────────────────────────────────────
   Index page
   ───────────────────────────────────────── */

/* ── Index: Layout ── */
body.page-index {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow-x: hidden;
    padding: 80px 24px 64px;
}

/* ── Index: Hero ── */
.hero {
    margin-bottom: 16px;
}

.hero-title {
    font-size: clamp(2.4rem, 6.5vw, 4.8rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.06;
    margin-bottom: 20px;
}

.hero-oneliner {
    font-size: clamp(0.95rem, 2vw, 1.15rem);
    font-weight: 400;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.6;
    max-width: 520px;
    margin: 0 auto;
}

/* ── Index: Ticker ── */
.ticker-wrapper {
    width: 100vw;
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.09);
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
    padding: 10px 0;
    margin: 48px 0;
}

.ticker-track {
    display: flex;
    white-space: nowrap;
    animation: ticker 36s linear infinite;
    will-change: transform;
}

.ticker-track .item {
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.38);
    padding: 0 30px;
}

.ticker-track .sep {
    color: rgba(255, 255, 255, 0.15);
    font-size: 0.68rem;
}

@keyframes ticker {
    from { transform: translateX(0); }
    to   { transform: translateX(-100%); }
}

/* ── Index: CTA area ── */
.cta-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.cta-products {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
}

.cta-product {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.product-desc {
    font-size: 0.72rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.38);
    letter-spacing: 0.02em;
}

body.page-index .cta-btn {
    padding: 15px 24px;
}

/* ── Index: Footer (fixed) ── */
body.page-index .footer {
    position: fixed;
    bottom: 18px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    padding: 0;
}

body.page-index .footer a {
    color: rgba(255, 255, 255, 0.28);
}

/* ─────────────────────────────────────────
   Open banking page
   ───────────────────────────────────────── */

/* ── Open banking: Roadmap ── */
.roadmap {
    display: flex;
    gap: 14px;
    margin-top: 32px;
    flex-wrap: wrap;
}

.roadmap-item {
    flex: 1;
    min-width: 220px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    padding: 24px 22px;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 10px;
    opacity: 0.6;
}

.roadmap-item.is-live {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(0, 210, 140, 0.2);
    opacity: 1;
}

.roadmap-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 3px 9px;
    border-radius: 20px;
    width: fit-content;
}

.roadmap-badge.live {
    background: rgba(0, 210, 140, 0.15);
    color: #00d28c;
    border: 1px solid rgba(0, 210, 140, 0.25);
}

.roadmap-badge.live::before {
    content: '';
    width: 5px;
    height: 5px;
    background: #00d28c;
    border-radius: 50%;
    display: inline-block;
    animation: pulse 2s ease-in-out infinite;
}

.roadmap-badge.coming {
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.roadmap-item h3 {
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: #fff;
    margin-bottom: 4px;
}

.roadmap-item p {
    font-size: 0.9rem !important;
    color: rgba(255, 255, 255, 0.6) !important;
    line-height: 1.7 !important;
    margin-bottom: 0 !important;
}

.roadmap-item .cta-btn {
    margin-top: 6px;
    font-size: 0.88rem;
    padding: 11px 22px;
    align-self: flex-start;
}

.roadmap-item .cta-btn.disabled {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.28);
    cursor: not-allowed;
    pointer-events: none;
}

/* ─────────────────────────────────────────
   Notification APIs page
   ───────────────────────────────────────── */

/* ── Notification APIs: CTA buttons row ── */
.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}
