/* ============================================================
   Falcora Landing Page — Stylesheet
   Aesthetic: Clean fintech / Vaulta-inspired
   ============================================================ */

/* ---------- CSS Variables ---------- */
:root {
    --color-primary: #1B3BF5;
    --color-primary-dark: #0F2BD4;
    --color-primary-light: #E8EDFE;
    --color-accent: #C8FF00;
    --color-accent-dark: #B0E000;
    --color-bg: #FFFFFF;
    --color-bg-alt: #F6F7FB;
    --color-bg-dark: #0B1437;
    --color-bg-card: #FFFFFF;
    --color-text: #1A1D2B;
    --color-text-secondary: #5E6278;
    --color-text-muted: #9CA0B0;
    --color-border: #E4E6EF;
    --color-green: #0ABF6B;
    --color-green-bg: #E6F9F0;
    --color-red: #EF4444;
    --color-red-bg: #FEF2F2;
    --color-yellow: #F59E0B;
    --color-yellow-bg: #FFFBEB;
    --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'Space Mono', 'SF Mono', monospace;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-full: 9999px;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.10);
    --shadow-xl: 0 16px 48px rgba(0,0,0,0.12);
    --shadow-card: 0 2px 12px rgba(27,59,245,0.06);
    --max-width: 1200px;
    --nav-height: 72px;
    --ticker-height: 32px;
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text);
    background: var(--color-bg);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------- Utility ---------- */
.text-green {
    color: var(--color-green) !important;
}

.text-red {
    color: var(--color-red) !important;
}

/* ---------- Section Headers ---------- */
.section-tag {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--color-primary);
    margin-bottom: 12px;
}

.section-title {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--color-text);
    margin-bottom: 16px;
}

.section-desc {
    font-size: 17px;
    color: var(--color-text-secondary);
    max-width: 600px;
    line-height: 1.65;
}

.section-header--center {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 48px;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 15px;
    border-radius: var(--radius-full);
    padding: 12px 28px;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    border: 2px solid transparent;
}

.btn--sm {
    padding: 8px 20px;
    font-size: 14px;
}

.btn--lg {
    padding: 15px 36px;
    font-size: 16px;
}

.btn--full {
    width: 100%;
}

.btn--primary {
    background: var(--color-primary);
    color: #fff;
    border-color: var(--color-primary);
}

    .btn--primary:hover {
        background: var(--color-primary-dark);
        border-color: var(--color-primary-dark);
        transform: translateY(-1px);
        box-shadow: 0 4px 16px rgba(27,59,245,0.3);
    }

.btn--outline {
    background: transparent;
    color: var(--color-text);
    border-color: var(--color-border);
}

    .btn--outline:hover {
        border-color: var(--color-text);
        background: var(--color-bg-alt);
    }

.gs {
    padding: 6px 20px;
    font-size: 13px;
}

.btn--ghost {
    background: transparent;
    color: var(--color-text);
    padding: 8px 16px;
}

    .btn--ghost:hover {
        background: var(--color-bg-alt);
    }

.btn--white {
    background: #fff;
    color: var(--color-primary);
    border-color: #fff;
}

    .btn--white:hover {
        background: var(--color-primary-light);
        transform: translateY(-1px);
    }

.btn--ghost-white {
    background: transparent;
    color: #fff;
    border-color: rgba(255,255,255,0.3);
}

    .btn--ghost-white:hover {
        border-color: #fff;
        background: rgba(255,255,255,0.1);
    }

.btn--accent {
    background: var(--color-accent);
    color: var(--color-bg-dark);
    border-color: var(--color-accent);
}

    .btn--accent:hover {
        background: var(--color-accent-dark);
        border-color: var(--color-accent-dark);
    }

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    z-index: 1000;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.nav__logo-img {
    height: 110px; /* adjust */
    width: auto;
    display: block;
}

.nav2__logo-img {
    height: 90px; /* adjust */
    width: auto;
    display: block;
}



@media (max-width: 380px) {
    .nav__logo-img {
        height: 90px;
    }
}

.nav--scrolled {
    border-bottom-color: var(--color-border);
    box-shadow: var(--shadow-sm);
}

.nav__inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.nav__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--color-text);
    flex-shrink: 0;
}

.nav__logo-icon {
    width: 110px;
    
}

.nav__links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav__link {
    font-size: 15px;
    font-weight: 500;
    color: var(--color-text-secondary);
    padding: 8px 16px;
    border-radius: var(--radius-full);
    transition: color 0.2s, background 0.2s;
}

    .nav__link:hover {
        color: var(--color-text);
        background: var(--color-bg-alt);
    }

.nav__actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.nav__hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
}

    .nav__hamburger span {
        display: block;
        width: 22px;
        height: 2px;
        background: var(--color-text);
        border-radius: 2px;
        transition: all 0.3s;
    }

/* ============================================================
   HERO
   ============================================================ */
.hero {
    position: relative;
    padding: calc(var(--nav-height) + var(--ticker-height) + 64px) 0 80px;
    overflow: hidden;
    background: var(--color-bg);
}

.hero__bg-grid {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(var(--color-border) 1px, transparent 1px), linear-gradient(90deg, var(--color-border) 1px, transparent 1px);
    background-size: 60px 60px;
    opacity: 0.4;
    mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 20%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 20%, transparent 80%);
}

.hero__container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--color-bg-alt);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-full);
    padding: 6px 16px 6px 10px;
    font-size: 13px;
    font-weight: 500;
    color: var(--color-text-secondary);
    margin-bottom: 24px;
}

.hero__badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-green);
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0%, 100% {
        opacity: 1;
    }

    50% {
        opacity: 0.4;
    }
}

.hero__title {
    font-size: clamp(40px, 5.5vw, 64px);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.03em;
    color: var(--color-text);
    margin-bottom: 24px;
}

    .hero__title em {
        font-style: italic;
        color: var(--color-primary);
    }

.hero__subtitle {
    font-size: 15px;
    color: var(--color-text-secondary);
    line-height: 1.7;
    max-width: 500px;
    margin-bottom: 36px;
}

.hero__ctas {
    display: flex;
    gap: 12px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

/* ============================================================
   STABLECOIN TICKER SECTION
   ============================================================ */
.ticker-section {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    z-index: 999;
    background: var(--color-bg-alt);
    border-bottom: 1px solid var(--color-border);
}

.ticker-wrap {
    width: 100%;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: stretch;
}

.ticker-label {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 0 14px;
    background: var(--color-bg-dark);
    flex-shrink: 0;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: var(--color-accent);
    white-space: nowrap;
}

.ticker-label__dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--color-green);
    animation: pulse-dot 1.5s infinite;
    box-shadow: 0 0 4px rgba(10, 191, 107, 0.5);
}

.ticker {
    display: flex;
    width: max-content;
    animation: ticker-scroll 35s linear infinite;
}

.ticker-wrap::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    width: 40px;
    background: linear-gradient(90deg, transparent, var(--color-bg-alt));
    z-index: 2;
    pointer-events: none;
}

.ticker:hover {
    animation-play-state: paused;
}

@keyframes ticker-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.ticker__item {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 18px;
    white-space: nowrap;
    flex-shrink: 0;
    position: relative;
    cursor: default;
}

    .ticker__item:hover {
        background: rgba(0,0,0,0.03);
    }

    .ticker__item::after {
        content: '';
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 1px;
        height: 16px;
        background: var(--color-border);
    }

.ticker__icon {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    flex-shrink: 0;
    overflow: hidden;
}

.ticker__icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/*.ticker__icon--usdt {
    background: #26A17B;
}

.ticker__icon--usdc {
    background: #2775CA;
}

.ticker__icon--dai {
    background: #F5AC37;
}

.ticker__icon--busd {
    background: #F0B90B;
    color: #1A1D2B;
}

.ticker__icon--tusd {
    background: #002868;
}

.ticker__icon--frax {
    background: #000000;
}

.ticker__icon--lusd {
    background: #4A5DB0;
}

.ticker__icon--usdd {
    background: #216B4E;
}*/

.ticker__info {
    display: none;
}

.ticker__name {
    font-size: 11px;
    font-weight: 700;
    color: var(--color-text);
    letter-spacing: -0.01em;
    line-height: 1;
}

.ticker__symbol {
    font-size: 9px;
    font-weight: 600;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    line-height: 1;
}

.ticker__price {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.ticker__price--green {
    color: var(--color-green);
}

.ticker__price--red {
    color: var(--color-red);
}

.ticker__change {
    font-family: var(--font-mono);
    font-size: 9px;
    font-weight: 600;
    padding: 1px 5px;
    border-radius: var(--radius-full);
    line-height: 1.3;
}

.ticker__change--up {
    background: var(--color-green-bg);
    color: var(--color-green);
}

.ticker__change--down {
    background: var(--color-red-bg);
    color: var(--color-red);
}

.ticker__pulse {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    flex-shrink: 0;
}

.ticker__pulse--live {
    background: var(--color-green);
    animation: pulse-dot 2s infinite;
}

.ticker__pulse--warn {
    background: var(--color-red);
    animation: pulse-dot 1s infinite;
}

/* Hero Visual / Cards */
.hero__visual {
    position: relative;
    height: 480px;
}

.hero__card {
    position: absolute;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.hero__card--main {
    top: 0;
    right: 0;
    width: 340px;
    padding: 0;
    overflow: hidden;
    animation: float-main 6s ease-in-out infinite;
}

@keyframes float-main {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

.hero__card-header {
    display: flex;
    gap: 0;
    border-bottom: 1px solid var(--color-border);
}

.hero__card-tab {
    flex: 1;
    padding: 14px 16px;
    font-size: 13px;
    font-weight: 600;
    color: var(--color-text-muted);
    text-align: center;
    transition: all 0.2s;
}

.hero__card-tab--active {
    color: var(--color-primary);
    box-shadow: inset 0 -2px 0 var(--color-primary);
}

.hero__card-body {
    padding: 20px;
}

.hero__stat-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.hero__stat-label {
    font-size: 12px;
    color: var(--color-text-muted);
    margin-bottom: 4px;
    display: block;
}

.hero__stat-value {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.hero__stat-value--green {
    color: var(--color-green);
}

.hero__mini-chart {
    height: 80px;
}

.hero__chart-svg {
    width: 100%;
    height: 100%;
}

.hero__card--notif {
    bottom: 100px;
    left: -20px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    animation: float-notif 5s ease-in-out infinite;
    animation-delay: 1s;
}

@keyframes float-notif {
    0%, 100% {
        transform: translateY(0) translateX(0);
    }

    50% {
        transform: translateY(-6px) translateX(4px);
    }
}

.hero__notif-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    flex-shrink: 0;
}

.hero__notif-icon--green {
    background: var(--color-green-bg);
    color: var(--color-green);
}

.hero__notif-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--color-text);
}

.hero__notif-text {
    font-size: 12px;
    color: var(--color-text-muted);
}

.hero__card--risk {
    bottom: 20px;
    right: 40px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    animation: float-risk 7s ease-in-out infinite;
    animation-delay: 2s;
}

@keyframes float-risk {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.hero__risk-proto {
    font-size: 14px;
    font-weight: 600;
}

.hero__risk-apy {
    font-size: 12px;
    color: var(--color-green);
    font-weight: 600;
}

/* ============================================================
   RISK BADGES (Reusable)
   ============================================================ */
.risk-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 28px;
    padding: 0 8px;
    font-size: 12px;
    font-weight: 700;
    border-radius: var(--radius-sm);
    letter-spacing: 0.02em;
}

.risk-badge--lg {
    min-width: 44px;
    height: 36px;
    font-size: 14px;
    border-radius: var(--radius-md);
}

.risk-badge--a {
    background: var(--color-green-bg);
    color: var(--color-green);
}

.risk-badge--b {
    background: var(--color-yellow-bg);
    color: var(--color-yellow);
}

.risk-badge--c {
    background: #FFF3E0;
    color: #E67E22;
}

.risk-badge--d {
    background: var(--color-red-bg);
    color: var(--color-red);
}

/* ============================================================
   YIELDS TABLE
   ============================================================ */
.yields {
    padding: 100px 0;
    background: var(--color-bg-alt);
}

.yields__actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-bottom: 48px;
}

.yields__table-wrap {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-card);
}

.yields__table {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
}

    .yields__table thead th {
        text-align: left;
        padding: 16px 24px;
        font-size: 12px;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.06em;
        color: var(--color-text-muted);
        background: var(--color-bg-alt);
        border-bottom: 1px solid var(--color-border);
    }

    .yields__table tbody td {
        padding: 18px 24px;
        border-bottom: 1px solid var(--color-border);
        font-weight: 500;
    }

    .yields__table tbody tr:last-child td {
        border-bottom: none;
    }

    .yields__table tbody tr:not(.yields__table-locked):hover {
        background: var(--color-bg-alt);
    }

.protocol-name {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}

.protocol-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

.yields__table-locked td {
    padding: 20px 24px;
    background: linear-gradient(180deg, var(--color-bg-alt) 0%, #fff 100%);
}

.yields__locked-msg {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--color-text-muted);
    font-size: 14px;
}

    .yields__locked-msg a {
        color: var(--color-primary);
        font-weight: 600;
    }

        .yields__locked-msg a:hover {
            text-decoration: underline;
        }

/* ============================================================
   FEATURES SECTION
   ============================================================ */
.features {
    padding: 100px 0;
    background: var(--color-bg);
}

/* Tabs */
.features__tabs {
    display: flex;
    justify-content: center;
    gap: 0;
    border-bottom: 2px solid var(--color-border);
    margin-bottom: 48px;
}

.features__tab {
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 600;
    color: var(--color-text-muted);
    position: relative;
    transition: color 0.2s;
}

    .features__tab::after {
        content: '';
        position: absolute;
        bottom: -2px;
        left: 0;
        right: 0;
        height: 2px;
        background: var(--color-primary);
        transform: scaleX(0);
        transition: transform 0.3s;
    }

.features__tab--active {
    color: var(--color-text);
}

    .features__tab--active::after {
        transform: scaleX(1);
    }

.features__tab:hover {
    color: var(--color-text);
}

/* Panels */
.features__panel {
    display: none;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.features__panel--active {
    display: grid;
    animation: fadeInPanel 0.4s ease;
}

@keyframes fadeInPanel {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.features__panel-text h3 {
    font-size: 32px;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.features__panel-text p {
    font-size: 16px;
    color: var(--color-text-secondary);
    line-height: 1.7;
    margin-bottom: 28px;
}

.features__panel-visual {
    display: flex;
    justify-content: center;
}

/* Feature Cards inside panels */
.feature-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow-md);
    width: 100%;
    max-width: 360px;
}

.feature-card__header {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
}

.feature-card__stars {
    color: var(--color-yellow);
    font-size: 14px;
    margin-bottom: 16px;
}

.feature-card__bars {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.feature-card__bar {
    height: 8px;
    background: var(--color-primary);
    border-radius: 4px;
    opacity: 0.7;
}

.feature-card--risk-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.risk-mini {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 500;
}

.feature-card--alerts {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.alert-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    background: var(--color-bg-alt);
}

.alert-item--green .alert-dot {
    background: var(--color-green);
}

.alert-item--yellow .alert-dot {
    background: var(--color-yellow);
}

.alert-item--red .alert-dot {
    background: var(--color-red);
}

.alert-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.feature-card--portfolio {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.portfolio-stat {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--color-border);
}

    .portfolio-stat:last-child {
        border-bottom: none;
    }

.portfolio-stat__label {
    font-size: 14px;
    color: var(--color-text-secondary);
}

.portfolio-stat__value {
    font-size: 20px;
    font-weight: 700;
}

/* Feature Pillars */
.features__pillars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 80px;
    padding-top: 64px;
    border-top: 1px solid var(--color-border);
}

.pillar__icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: var(--color-primary-light);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.pillar__title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
}

.pillar__desc {
    font-size: 15px;
    color: var(--color-text-secondary);
    line-height: 1.6;
}

/* ============================================================
   RISK SCORES SECTION
   ============================================================ */
.risk-scores {
    padding: 100px 0;
    background: var(--color-bg-alt);
}

.risk-scores__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.risk-scores__text .section-title {
    margin-bottom: 20px;
}

.risk-scores__text .section-desc {
    margin-bottom: 32px;
}

.risk-scores__tiers {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 32px;
}

.tier-row {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    font-size: 15px;
    line-height: 1.5;
}

    .tier-row strong {
        color: var(--color-text);
    }

    .tier-row div {
        color: var(--color-text-secondary);
    }

/* Risk Cards */
.risk-scores__cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.risk-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-card);
}

.risk-card__header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.risk-card__name {
    font-size: 18px;
    font-weight: 700;
    flex: 1;
}

.risk-card__chain {
    font-size: 12px;
    font-weight: 600;
    color: var(--color-text-muted);
    background: var(--color-bg-alt);
    padding: 4px 10px;
    border-radius: var(--radius-full);
}

.risk-card__metrics {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.risk-metric {
    display: flex;
    align-items: center;
    gap: 12px;
}

    .risk-metric span {
        font-size: 13px;
        font-weight: 500;
        color: var(--color-text-secondary);
        min-width: 110px;
    }

.risk-meter {
    flex: 1;
    height: 8px;
    background: var(--color-bg-alt);
    border-radius: 4px;
    overflow: hidden;
}

.risk-meter__fill {
    height: 100%;
    background: var(--color-primary);
    border-radius: 4px;
    transition: width 1s ease;
}

.risk-meter--locked {
    display: flex;
    align-items: center;
    gap: 6px;
    background: none;
    font-size: 12px;
    font-weight: 600;
    color: var(--color-text-muted);
    height: auto;
}

.risk-metric--locked {
    opacity: 0.5;
}

/* ============================================================
   PRICING
   ============================================================ */
.pricing {
    padding: 100px 0;
    background: var(--color-bg);
}

.pricing__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: start;
}
.pricing__loading {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: var(--fc-text-muted, #8b8fa3);
    font-size: 14px;
}

.pricing-card__note {
    font-size: 12px;
    color: var(--fc-text-muted, #8b8fa3);
    margin: -4px 0 12px;
    text-align: center;
}

.pricing-card--onetime {
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.pricing-card__note {
    font-size: 12px;
    color: var(--fc-text-muted, #8b8fa3);
    margin: -4px 0 12px;
    text-align: center;
}

.pricing-card--onetime {
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.pricing-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: 36px 28px;
    position: relative;
    transition: transform 0.3s, box-shadow 0.3s;
}

    .pricing-card:hover {
        transform: translateY(-4px);
        box-shadow: var(--shadow-lg);
    }

.pricing-card--featured {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 1px var(--color-primary), var(--shadow-lg);
}

.pricing-card__badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-primary);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 16px;
    border-radius: var(--radius-full);
    white-space: nowrap;
}

.pricing-card__header h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 8px;
}

.pricing-card__header p {
    font-size: 14px;
    color: var(--color-text-secondary);
    line-height: 1.5;
    margin-bottom: 24px;
}

.pricing-card__price {
    margin-bottom: 24px;
}

.pricing-card__amount {
    font-size: 44px;
    font-weight: 600;
    letter-spacing: -0.03em;
}

.pricing-card__period {
    font-size: 15px;
    color: var(--color-text-muted);
    font-weight: 500;
}

.pricing-card__features {
    list-style: none;
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

    .pricing-card__features li {
        display: flex;
        align-items: center;
        gap: 10px;
        font-size: 14px;
        font-weight: 500;
        color: var(--color-text-secondary);
    }

        .pricing-card__features li svg {
            color: var(--color-primary);
            flex-shrink: 0;
        }

.pricing-card--featured .pricing-card__features li svg {
    color: var(--color-primary);
}

/* ============================================================
   ABOUT / METHODOLOGY
   ============================================================ */
.about {
    padding: 100px 0;
    background: var(--color-bg-alt);
}

.about__grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: start;
}

.about__content .section-title {
    margin-bottom: 16px;
}

.about__content .section-desc {
    margin-bottom: 36px;
}

.about__factors {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.about__factor {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.about__factor-num {
    font-family: var(--font-mono);
    font-size: 14px;
    font-weight: 700;
    color: var(--color-primary);
    min-width: 32px;
    padding-top: 2px;
}

.about__factor h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 4px;
}

.about__factor p {
    font-size: 14px;
    color: var(--color-text-secondary);
    line-height: 1.6;
}

.about__sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: sticky;
    top: calc(var(--nav-height) + 24px);
}

.about__notice {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow-card);
}

.about__notice-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    background: var(--color-primary-light);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.about__notice h4 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 8px;
}

.about__notice p {
    font-size: 14px;
    color: var(--color-text-secondary);
    line-height: 1.6;
}

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
    padding: 100px 0;
    background: var(--color-bg-dark);
    position: relative;
    overflow: hidden;
}

.cta-banner__bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 50%, rgba(27,59,245,0.25) 0%, transparent 50%), radial-gradient(circle at 80% 50%, rgba(200,255,0,0.1) 0%, transparent 50%);
}

.cta-banner__inner {
    position: relative;
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
}

.cta-banner__logo {
    display:flex;
    justify-content:center;
    margin-bottom: 24px;
}

    .cta-banner__logo svg {
        width: 48px;
        height: 48px;
        display: inline-block;
    }

.cta-banner h2 {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.cta-banner p {
    font-size: 17px;
    color: rgba(255,255,255,0.65);
    line-height: 1.7;
    margin-bottom: 36px;
}

.cta-banner__btns {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
    padding: 64px 0 0;
    background: var(--color-bg);
    border-top: 1px solid var(--color-border);
}

.footer__grid {
    display: grid;
    grid-template-columns: 1.5fr 0fr 1fr;
    gap: 200px;
    margin-bottom: 48px;
}

.footer__brand p {
    font-size: 14px;
    color: var(--color-text-secondary);
    margin-top: 12px;
    line-height: 1.6;
}

.footer__rating {
    margin-top: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--color-text-muted);
}

.footer__stars {
    color: var(--color-yellow);
    letter-spacing: 2px;
}

.footer__col h4 {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--color-text);
    margin-bottom: 16px;
}

.footer__col a {
    display: block;
    font-size: 14px;
    color: var(--color-text-secondary);
    padding: 4px 0;
    transition: color 0.2s;
}

    .footer__col a:hover {
        color: var(--color-primary);
    }

.footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    border-top: 1px solid var(--color-border);
    font-size: 13px;
    color: var(--color-text-muted);
}

.footer__bottom-links {
    display: flex;
    gap: 24px;
}

    .footer__bottom-links a:hover {
        color: var(--color-text);
    }

/* ============================================================
   ANIMATIONS
   ============================================================ */
[data-animate] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-animate="fade-left"] {
    transform: translateX(32px);
}

[data-animate].is-visible {
    opacity: 1;
    transform: translateY(0) translateX(0);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* --- Tablet (1024px) --- */
@media (max-width: 1024px) {
    .hero__container {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .hero__content {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero__subtitle {
        max-width: 560px;
    }

    .hero__ctas {
        justify-content: center;
    }

    .hero__visual {
        height: 400px;
        max-width: 460px;
        margin: 0 auto;
        width: 100%;
    }

    .hero__card--main {
        width: 320px;
        right: 50%;
        transform: translateX(50%);
        animation: float-main-center 6s ease-in-out infinite;
    }

    @keyframes float-main-center {
        0%, 100% {
            transform: translateX(50%) translateY(0);
        }

        50% {
            transform: translateX(50%) translateY(-8px);
        }
    }

    .hero__card--notif {
        left: 0;
        bottom: 80px;
    }

    .hero__card--risk {
        right: 0;
        bottom: 10px;
    }

    .risk-scores__grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .about__grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .about__sidebar {
        position: static;
    }

    .pricing__grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }

    .pricing-card {
        padding: 28px 20px;
    }
}

/* --- Small Tablet / Large Phone (768px) --- */
@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }


    /* Nav */
    .nav__links,
    .nav__actions .btn--ghost {
        display: none;
    }

    .nav__hamburger {
        display: flex;
    }

    .nav__links.is-open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: var(--nav-height);
        left: 0;
        right: 0;
        background: var(--color-bg);
        border-bottom: 1px solid var(--color-border);
        padding: 16px 24px;
        box-shadow: var(--shadow-md);
        z-index: 100;
    }

    /* Hero */
    .hero {
        padding: calc(var(--nav-height) + 36px) 0 48px;
    }

    .hero__title {
        font-size: clamp(32px, 8vw, 48px);
    }

    .hero__subtitle {
        font-size: 16px;
    }

    .hero__visual {
        height: 360px;
        max-width: 380px;
    }

    .hero__card--main {
        width: 280px;
    }

    .hero__card--notif {
        left: 0;
        bottom: 70px;
        padding: 10px 14px;
    }

    .hero__card--risk {
        right: 0;
        bottom: 0;
        padding: 10px 14px;
    }

    /* Ticker */
    .ticker-section {
        top: var(--nav-height);
    }

    .ticker__item {
        padding: 5px 14px;
        gap: 5px;
    }

    .ticker__icon {
        width: 16px;
        height: 16px;
        font-size: 8px;
    }

    .ticker__price {
        font-size: 10px;
    }

    .ticker__change {
        font-size: 8px;
        padding: 1px 4px;
    }

    .ticker-label {
        padding: 0 10px;
        font-size: 8px;
    }

    /* Sections */
    .yields,
    .features,
    .risk-scores,
    .pricing,
    .about {
        padding: 64px 0;
    }

    .section-title {
        font-size: clamp(24px, 5vw, 32px);
    }

    .section-header--center {
        margin-bottom: 36px;
    }

    /* Yield Table */
    .yields__table-wrap {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .yields__table {
        min-width: 640px;
    }

    /* Features */
    .features__tabs {
        overflow-x: auto;
        justify-content: flex-start;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        gap: 0;
        padding-bottom: 2px;
    }

        .features__tabs::-webkit-scrollbar {
            display: none;
        }

    .features__tab {
        padding: 12px 20px;
        font-size: 14px;
        flex-shrink: 0;
    }

    .features__panel {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .features__panel-text h3 {
        font-size: 26px;
    }

    .features__pillars {
        grid-template-columns: 1fr;
        gap: 28px;
        margin-top: 56px;
        padding-top: 48px;
    }

    /* Pricing */
    .pricing__grid {
        grid-template-columns: 1fr;
        max-width: 420px;
        margin: 0 auto;
        gap: 20px;
    }

    .pricing-card {
        padding: 32px 24px;
    }

    /* Risk Scores */
    .risk-scores__cards {
        gap: 16px;
    }

    .risk-metric span {
        min-width: 90px;
        font-size: 12px;
    }

    /* About */
    .about__factor {
        gap: 14px;
    }

    /* Footer */
    .footer {
        padding: 48px 0 0;
    }

    .footer__grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    .footer__brand {
        grid-column: 1 / -1;
    }

    .footer__bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    /* CTA Banner */
    .cta-banner {
        padding: 72px 0;
    }

        .cta-banner h2 {
            font-size: clamp(24px, 5vw, 36px);
        }
}

/* --- Phone (540px) --- */
@media (max-width: 540px) {
    .hero__container {
        gap: 36px;
    }

    .hero__visual {
        height: 300px;
        max-width: 320px;
    }

    .hero__card--main {
        width: 240px;
    }

    .hero__card-tab {
        padding: 10px 10px;
        font-size: 11px;
    }

    .hero__card-body {
        padding: 14px;
    }

    .hero__stat-value {
        font-size: 18px;
    }

    .hero__stat-label {
        font-size: 11px;
    }

    .hero__mini-chart {
        height: 56px;
    }

    .hero__card--notif {
        left: -4px;
        bottom: 60px;
        border-radius: var(--radius-md);
    }

    .hero__notif-title {
        font-size: 12px;
    }

    .hero__notif-text {
        font-size: 11px;
    }

    .hero__card--risk {
        right: -4px;
        bottom: 0;
        border-radius: var(--radius-md);
    }

    .hero__risk-proto {
        font-size: 12px;
    }

    .hero__risk-apy {
        font-size: 11px;
    }

    .hero__ctas {
        flex-direction: column;
        width: 100%;
    }

        .hero__ctas .btn {
            width: 100%;
        }

    /* Ticker */
    .ticker__item {
        padding: 5px 10px;
        gap: 4px;
    }

    .ticker__pulse {
        display: none;
    }

    .ticker__icon {
        width: 14px;
        height: 14px;
        font-size: 7px;
    }

    .ticker__price {
        font-size: 9px;
    }

    .ticker__change {
        font-size: 7px;
    }

    .ticker-label {
        padding: 0 8px;
        font-size: 7px;
        gap: 3px;
    }

    .ticker-label__dot {
        width: 4px;
        height: 4px;
    }

    /* Sections */
    .yields__actions {
        flex-direction: column;
        align-items: center;
    }

        .yields__actions .btn {
            width: 100%;
            max-width: 280px;
        }

    .section-desc {
        font-size: 15px;
    }

    /* Features */
    .feature-card {
        padding: 20px;
        max-width: 100%;
    }

    .features__panel-text h3 {
        font-size: 22px;
    }

    .pillar {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    /* Pricing */
    .pricing-card__amount {
        font-size: 36px;
    }

    /* Risk tiers */
    .tier-row {
        font-size: 14px;
        gap: 12px;
    }

    .risk-badge--lg {
        min-width: 38px;
        height: 32px;
        font-size: 13px;
    }

    /* CTA */
    .cta-banner__btns {
        flex-direction: column;
        align-items: center;
    }

        .cta-banner__btns .btn {
            width: 100%;
            max-width: 280px;
        }

    .cta-banner p {
        font-size: 15px;
    }

    /* Footer */
    .footer__grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .footer__bottom-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px;
    }
}

/* --- Very Small Phone (380px) --- */
@media (max-width: 380px) {
    :root {
        --nav-height: 60px;
    }

    .nav__logo span {
        font-size: 17px;
    }

    .hero {
        padding: calc(var(--nav-height) + 28px) 0 36px;
    }

    .hero__title {
        font-size: 28px;
    }

    .hero__subtitle {
        font-size: 15px;
    }

    .hero__badge {
        font-size: 11px;
        padding: 4px 12px 4px 8px;
    }

    .hero__visual {
        height: 260px;
        max-width: 280px;
    }

    .hero__card--main {
        width: 210px;
    }

    .hero__card--notif,
    .hero__card--risk {
        padding: 8px 10px;
        gap: 8px;
    }

    .hero__notif-icon {
        width: 26px;
        height: 26px;
        font-size: 12px;
    }

    .risk-badge {
        min-width: 26px;
        height: 24px;
        font-size: 11px;
    }

    .btn--lg {
        padding: 13px 24px;
        font-size: 15px;
    }

    .yields,
    .features,
    .risk-scores,
    .pricing,
    .about {
        padding: 48px 0;
    }

    .section-title {
        font-size: 22px;
    }

    .pricing-card {
        padding: 24px 18px;
    }

    .about__factor-num {
        min-width: 28px;
        font-size: 13px;
    }
}

/* Pro billing toggle */
.pricing-card__toggle {
    display: flex;
    background: var(--color-bg-alt);
    border-radius: var(--radius-full);
    padding: 3px;
    margin-bottom: 20px;
    border: 1px solid var(--color-border);
}

.toggle-btn {
    flex: 1;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 600;
    border-radius: var(--radius-full);
    color: var(--color-text-muted);
    transition: all 0.25s;
    font-family: var(--font-body);
}

.toggle-btn--active {
    background: var(--color-primary);
    color: #fff;
    box-shadow: var(--shadow-sm);
}

.toggle-save {
    font-size: 11px;
    font-weight: 700;
    color: var(--color-green);
}

.toggle-btn--active .toggle-save {
    color: var(--color-accent);
}

/* Enterprise locked */
.pricing-card--locked {
    position: relative;
    overflow: hidden;
    pointer-events: none;
}

    .pricing-card--locked > *:not(.pricing-card__coming-soon) {
        filter: blur(3px);
        opacity: 0.5;
    }

.pricing-card__coming-soon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    background: var(--color-bg-dark);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    padding: 10px 28px;
    border-radius: var(--radius-full);
    letter-spacing: 0.04em;
    white-space: nowrap;
    box-shadow: var(--shadow-lg);
}

/* ===================== FAQ ===================== */
/* ===================== FAQ ===================== */
.faq {
    padding: 6rem 0;
}

.faq__list {
    max-width: 900px;
    margin: 3rem auto 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.faq__item {
    background: #0a1628; /* dark navy — adjust to match your brand */
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    overflow: hidden;
    transition: background 0.2s ease, border-color 0.2s ease;
}

    .faq__item:hover {
        border-color: rgba(255, 255, 255, 0.12);
    }

.faq__item--open {
    background: #0d1b33;
    border-color: rgba(27, 59, 245, 0.3); /* subtle primary tint when open */
}

.faq__question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem 1.75rem;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    color: #fff;
    font-family: inherit;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.5;
    transition: color 0.2s ease;
}

    .faq__question:hover {
        color: var(--color-primary, #1B3BF5);
    }

.faq__icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    transition: transform 0.3s ease, background 0.2s ease;
}

.faq__item--open .faq__icon {
    background: var(--color-primary, #1B3BF5);
    transform: rotate(45deg); /* turns + into × */
}

.faq__item--open .faq__question {
    color: #fff;
}

.faq__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}

    .faq__answer p {
        padding: 0 1.75rem 1.4rem;
        color: rgba(255, 255, 255, 0.65);
        line-height: 1.7;
        font-size: 14px;
        margin: 0;
    }

.faq__item--open .faq__answer {
    max-height: 400px;
}

@media (max-width: 640px) {
    .faq__question {
        padding: 1rem 1.25rem;
        font-size: 14px;
    }

    .faq__answer p {
        padding: 0 1.25rem 1.2rem;
    }
}

