/* pages/tokenomics.css — styles unique to this page (shared rules live in core.css + components.css) */

:root {
            --sas-orange:   #F94C30;
            --sas-orange-dk:#D93B20;
            --sas-orange-lt:#FF6D54;
            --sas-purple:   #34005F;
            --sas-purple-lt:#5A2D8A;
            --bg:           #FFFBF7;
            --bg-warm:      #FFF8F2;
            --bg-cream:     #FEF5EC;
            --surface:      #FFFFFF;
            --text:         #1A1210;
            --text-2:       #574F46;
            --text-3:       #9A918A;
            --sh-sm:   0 2px 8px rgba(52,0,95,.05);
            --sh-md:   0 8px 24px rgba(52,0,95,.08), 0 2px 8px rgba(52,0,95,.04);
            --sh-lg:   0 20px 50px rgba(52,0,95,.1), 0 6px 16px rgba(52,0,95,.05);
            --sh-ora:  0 10px 32px rgba(249,76,48,.22);
            --sh-pur:  0 10px 32px rgba(52,0,95,.2);
        }

h1, h2, h3, h4 { font-family: 'DM Serif Display', serif; font-weight: 400; line-height: 1.1; letter-spacing: -.02em; }

.container { max-width: 1240px; margin: 0 auto; padding: 0 40px; }

.nav-links a:hover, .nav-links a.active { color: var(--sas-orange); background: rgba(249,76,48,.06); }

.has-dropdown:hover .dropdown-menu { opacity:1; visibility:visible; transform:translateY(0); }

.mobile-nav { display: none; position: absolute; top: 72px; left: 0; right: 0; background: rgba(255,251,247,.98); backdrop-filter: blur(20px); border-bottom: 1px solid rgba(52,0,95,.1); padding: 12px 24px 20px; box-shadow: 0 20px 40px rgba(52,0,95,.08); }

.mobile-nav a.mob-cta { background: linear-gradient(135deg, var(--sas-orange), var(--sas-orange-dk)); color: #fff; border-radius: 9px; text-align: center; border: none; margin-top: 12px; padding: 13px; display: block; }

/* ═══════ HERO ═══════ */
        /* .hero { min-height: 90vh; background: var(--bg-cream); position: relative; overflow: visible; display: flex; align-items: center; padding: 130px 0 80px; }

*/
        :root{ --nav-h: 72px; }

.hero-content { position: relative; z-index: 2; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 64px; align-items: center; width: 100%; }

.pulse-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--sas-orange); animation: pulseDot 2s ease-in-out infinite; flex-shrink: 0; }

.hero-h1 { 
            font-size: clamp(2.4rem, 4.2vw, 4.2rem); color: var(--text); margin-bottom: 24px; 
            letter-spacing: -.035em; line-height: 1.15; overflow: visible; animation: fadeUp .8s ease-out .15s both; 
        }

.hero-desc { 
            font-size: 1.1rem; font-weight: 400; color: var(--text-2); line-height: 1.7; margin-bottom: 36px; animation: fadeUp .8s ease-out .3s both; 
        }

.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; animation: fadeUp .8s ease-out .45s both; }

.hero-visual { animation: fadeUp .8s ease-out .2s both; }

.hero-vis-card { background: rgba(255,255,255,.85); border: 1px solid rgba(52,0,95,.1); border-radius: 22px; padding: 28px; backdrop-filter: blur(16px); box-shadow: var(--sh-md); position: relative; overflow: hidden; }

.hero-vis-card::before { content: ''; position: absolute; top: 0; left: 10px; right: 10px; height: 1px; background: linear-gradient(90deg,transparent,rgba(255,255,255,.95),transparent); }

.hero-vis-card::after { content: ''; position: absolute; top: -30px; right: -30px; width: 180px; height: 180px; background: radial-gradient(circle, rgba(52,0,95,.05) 0%, transparent 70%); border-radius: 50%; pointer-events: none; }

.hero-img-wrap { border-radius: 14px; overflow: hidden; margin-bottom: 16px; border: 1px solid rgba(52,0,95,.08); }

.hero-img-wrap img { width: 100%; display: block; aspect-ratio: 16/10; object-fit: cover; }

.hero-vis-footer { display: flex; align-items: center; gap: 14px; }

.hero-vis-icon { width: 46px; height: 46px; border-radius: 12px; flex-shrink: 0; background: linear-gradient(135deg, var(--sas-orange), var(--sas-orange-lt)); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 1.1rem; box-shadow: 0 6px 16px rgba(249,76,48,.28); position: relative; }

.hero-vis-icon::after { content: ''; position: absolute; top: 3px; left: 7px; right: 7px; height: 38%; background: linear-gradient(to bottom,rgba(255,255,255,.22),transparent); border-radius: 7px 7px 0 0; }

.hero-vis-label strong { display: block; font-family: 'DM Serif Display', serif; font-size: .95rem; color: var(--text); }

.hero-vis-label span { font-size: .78rem; color: var(--text-3); }

/* ═══════ DIFFERENTIATION / STRATEGY SECTION (FIXED UNIFORM SPACING) ═══════ */
        .diff-section { background: var(--surface); padding: 72px 0; position: relative; }

.diff-section::before { content:''; position:absolute; top:0; left:0; right:0; height:1px; background:linear-gradient(90deg,transparent,rgba(52,0,95,.15),transparent); }

.diff-wrap { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; }

/* Left Sticky Anchor */
        .diff-anchor { 
            padding: 20px 40px 20px 0; border-right: 1px solid rgba(52,0,95,.08); 
            display: flex; flex-direction: column; justify-content: flex-start;
            position: sticky; top: 100px; height: fit-content; align-self: start;
        }

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

.diff-kicker-line { width: 28px; height: 2px; background: linear-gradient(to right, var(--sas-orange), var(--sas-purple)); border-radius: 2px; }

.diff-kicker-text { font-size: .71rem; font-weight: 700; text-transform: uppercase; letter-spacing: 4px; color: var(--sas-purple); font-family: 'Trebuchet MS',sans-serif; }

.diff-headline { font-size: clamp(2rem, 3.2vw, 3rem); letter-spacing: -.04em; line-height: 1.2; color: var(--text); margin-bottom: 24px; overflow: visible; }

.diff-desc { font-size: 1rem; line-height: 1.8; color: var(--text-2); margin-bottom: 24px; }

.diff-img-box {
            width: 100%; border-radius: 16px; overflow: hidden; margin-top: 24px;
            box-shadow: var(--sh-md); border: 1px solid rgba(52,0,95,.08);
        }

.diff-img-box img { width: 100%; display: block; }

/* Right Content Stack */
        .diff-cards-col { display: flex; flex-direction: column; }

/* === UNIFORM SPACING FIX === */
        .diff-cell { 
            display: flex; 
            align-items: flex-start; 
            gap: 24px; 
            /* Strict Padding: 60px bottom padding is the source of truth for distance to divider */
            padding: 50px 48px 60px 48px; 
            border-bottom: 1px solid rgba(52,0,95,.08); 
            position: relative; 
            overflow: hidden; 
            transition: background .35s ease; 
        }

.diff-cell:last-child { border-bottom: none; }

.diff-cell:hover { background: rgba(255,251,247,0.7); }

.diff-cell::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: linear-gradient(to bottom, var(--sas-orange), var(--sas-purple)); transform: scaleY(0); transform-origin: top; transition: transform .35s cubic-bezier(.4,0,.2,1); }

.diff-cell:hover::before { transform: scaleY(1); }

.diff-cell-icon { 
            width: 52px; height: 52px; border-radius: 14px; background: rgba(52,0,95,.05); border: 1px solid rgba(52,0,95,.1); 
            display: flex; align-items: center; justify-content: center; color: var(--sas-purple); font-size: 1.1rem; flex-shrink: 0; transition: all .3s; margin-top: 4px; 
        }

.diff-cell:hover .diff-cell-icon { background: linear-gradient(135deg, var(--sas-orange), var(--sas-orange-lt)); color: #fff; border-color: transparent; box-shadow: 0 8px 20px rgba(249,76,48,.28); transform: rotate(-5deg); }

/* === BODY CONTENT LAYOUT === */
        .diff-cell-body { 
            flex: 1; 
            display: flex; 
            flex-direction: column; 
        }

/* Strict margins for internal spacing */
        .diff-cell-body h4 { display: block; font-family: 'DM Serif Display', serif; font-size: 1.5rem; color: var(--text); margin: 0 0 12px 0; }

.diff-cell-body .subtitle { font-family: 'Trebuchet MS',sans-serif; font-size: 0.9rem; font-weight: 700; text-transform: uppercase; color: var(--sas-purple); margin: 0 0 16px 0; opacity: 0.8; letter-spacing: 0.05em; }

.diff-cell-body p { font-size: 1rem; color: var(--text-2); line-height: 1.7; margin: 0 0 20px 0; }

.diff-cell-list { list-style: none; padding: 0; margin: 0 0 24px 0; }

.diff-cell-list li { font-size: .9rem; color: var(--text-2); margin-bottom: 8px; padding-left: 18px; position: relative; }

.diff-cell-list li:last-child { margin-bottom: 0; }

.diff-cell-list li::before { content:''; position:absolute; left:0; top:9px; width:6px; height:6px; background:var(--sas-orange); border-radius:50%; }

.diff-outcome { 
            display: block; 
            width: 100%;
            font-size: 0.92rem; 
            font-weight: 600; 
            color: var(--text); 
            background: rgba(249,76,48,.06); 
            padding: 16px 20px; 
            border-radius: 8px; 
            border-left: 3px solid var(--sas-orange);
            line-height: 1.6;
            margin: 0; /* Reset margins */
        }

.diff-outcome strong { color: var(--sas-orange-dk); margin-right: 4px; }

.diff-link { 
            display: inline-block; 
            margin-top: 24px; /* Explicit gap between outcome and link */
            font-weight: 700; 
            color: var(--sas-purple); 
            text-decoration: none; 
            font-size: 0.9rem; 
            border-bottom: 2px solid rgba(52,0,95,.15); 
            transition: all 0.2s; 
            align-self: flex-start; /* Ensure it doesn't stretch */
        }

.diff-link:hover { color: var(--sas-orange); border-bottom-color: var(--sas-orange); }

/* === THE MAGIC FIX === 
           This ensures that whatever the last element is (outcome or link), 
           it has NO bottom margin, so the 60px padding of the parent is respected perfectly. 
        */
        .diff-cell-body > :last-child { margin-bottom: 0 !important; }

/* ═══════ SUCCESS STORIES — CINEMATIC CARDS ═══════ */
        .stories-sec {
            padding: 110px 0 120px;
            background: var(--bg-warm);
            position: relative;
            overflow: hidden;
            border-top: 1px solid rgba(52,0,95,.08);
        }

.stories-header { text-align: center; margin-bottom: 60px; position: relative; z-index: 2; }

.sec-kicker-center { justify-content: center; }

.stories-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 32px;
            max-width: 1000px;
            margin: 0 auto;
            position: relative; z-index: 2;
        }

.story-card {
            position: relative;
            border-radius: 24px;
            overflow: hidden;
            text-decoration: none;
            min-height: 500px;
            display: flex; flex-direction: column;
            cursor: pointer;
            transition: all .55s cubic-bezier(.4,0,.2,1);
            box-shadow: 0 8px 30px rgba(0,0,0,.12);
        }

.story-card:hover {
            transform: translateY(-14px) scale(1.02);
            box-shadow: 0 40px 80px rgba(0,0,0,.25);
        }

.story-card-img { position: absolute; inset: 0; z-index: 0; }

.story-card-img img {
            width: 100%; height: 100%; object-fit: cover;
            transition: transform 1.2s cubic-bezier(.4,0,.2,1), filter .6s ease;
            filter: brightness(.85) saturate(1.1);
        }

.story-card:hover .story-card-img img {
            transform: scale(1.12);
            filter: brightness(.55) saturate(1.2);
        }

.story-card-grad { position: absolute; inset: 0; z-index: 1; }

.story-card:nth-child(1) .story-card-grad {
            background: linear-gradient(180deg, transparent 0%, rgba(26,18,16,.25) 25%, rgba(26,18,16,.75) 55%, rgba(26,18,16,.97) 80%);
        }

.story-card:nth-child(2) .story-card-grad {
            background: linear-gradient(180deg, transparent 0%, rgba(52,0,95,.2) 25%, rgba(52,0,95,.7) 55%, rgba(52,0,95,.97) 80%);
        }

.story-card-inner {
            position: relative; z-index: 3;
            padding: 36px 32px 32px;
            display: flex; flex-direction: column;
            height: 100%; justify-content: flex-end;
        }

.story-card-tag {
            position: absolute; top: 28px; left: 28px;
            display: inline-flex; align-items: center; gap: 8px;
            padding: 8px 18px; border-radius: 30px;
            font-size: .7rem; font-weight: 700;
            text-transform: uppercase; letter-spacing: .08em;
            font-family: 'Trebuchet MS', sans-serif;
            backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
            z-index: 4;
            transition: transform .3s ease;
        }

.story-card:nth-child(1) .story-card-tag {
            background: rgba(249,76,48,.25); border: 1px solid rgba(249,76,48,.35); color: #fff;
        }

.story-card:nth-child(2) .story-card-tag {
            background: rgba(120,60,180,.3); border: 1px solid rgba(120,60,180,.4); color: #e8d5ff;
        }

.story-card-ghost {
            position: absolute; top: 16px; right: 24px;
            font-family: 'DM Serif Display', serif;
            font-size: 7rem; line-height: 1;
            -webkit-text-stroke: 1.5px rgba(255,255,255,.06);
            -webkit-text-fill-color: transparent;
            z-index: 2; pointer-events: none;
            transition: all .5s ease;
        }

.story-card:hover .story-card-ghost {
            -webkit-text-stroke-color: rgba(249,76,48,.12);
            transform: translateY(-10px) scale(1.05);
        }

.story-card-inner h3 {
            font-family: 'DM Serif Display', serif;
            font-size: 1.5rem; color: #fff;
            margin-bottom: 12px; line-height: 1.25;
            text-transform: uppercase;
        }

.story-card-inner p {
            font-size: .88rem;
            color: rgba(255,255,255,.65);
            line-height: 1.75;
            margin-bottom: 26px;
        }

.story-card-cta {
            display: flex; align-items: center;
            padding-top: 20px;
            border-top: 1px solid rgba(255,255,255,.1);
        }

.story-cta-label {
            font-size: .78rem; font-weight: 700;
            letter-spacing: .06em;
            color: var(--sas-orange);
            font-family: 'Trebuchet MS', sans-serif;
            transition: all .3s ease;
        }

.story-card:hover .story-cta-label { color: var(--sas-orange-lt); letter-spacing: .1em; }

.story-cta-arrow {
            width: 44px; height: 44px; border-radius: 50%;
            background: rgba(249,76,48,.12);
            border: 1px solid rgba(249, 76, 48, 0.2);
            display: flex; align-items: center; justify-content: center;
            color: var(--sas-orange); font-size: .85rem;
            margin-left: auto;
            transition: all .45s cubic-bezier(.4, 0, .2, 1);
        }

.story-card:hover .story-cta-arrow {
            background: var(--sas-orange);
            border-color: var(--sas-orange);
            color: #fff;
            transform: translateX(6px) scale(1.08);
            box-shadow: 0 10px 30px rgba(249,76,48,.4);
        }

.footer-top { display: flex; justify-content: space-between; align-items: center; padding-bottom: 24px; border-bottom: 1px solid rgba(255,255,255,.1); margin-bottom: 18px; position: relative; z-index: 2; }

.footer-bottom { display: flex; justify-content: space-between; align-items: center; font-size: .78rem; color: rgba(255,255,255,.35); position: relative; z-index: 2; }

.footer-bottom-links { display: flex; gap: 16px; }

/* Responsive */
        @media (max-width: 1100px) {
            .hero-content { grid-template-columns: 1fr; gap: 40px; }
            .hero-visual { order: -1; max-width: 540px; margin: 0 auto; width: 100%; }
            .diff-wrap { grid-template-columns: 1fr; }
            .diff-anchor { border-right: none; border-bottom: 1px solid rgba(52,0,95,.08); padding: 0 0 40px; position: relative; top: 0; margin-bottom: 40px; }
            .diff-img-box { margin-bottom: 20px; }
        }

@media (max-width: 768px) {
            .container { padding: 0 20px; }
            .nav-links { display: none; }
            .nav-toggle { display: flex; }
            .mobile-nav { top: 64px; }
            .hero { padding: 100px 0 70px; }
            .hero-btns { flex-direction: column; align-items: flex-start; gap: 10px; }
            .btn { width: 100%; justify-content: center; }
            .diff-cell { flex-direction: column; align-items: flex-start; }
            .stories-grid { grid-template-columns: 1fr; }
            .story-card { min-height: 440px; }
            .footer-top, .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
            .diff-section { padding: 72px 0; }
        }

@media (max-width: 480px) {
            .hero { padding: 90px 0 56px; }
        }

/* ═══════ MODAL POPUP ═══════ */
.modal-overlay {
    position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(26, 18, 16, 0.65); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    z-index: 2000; display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden; transition: all 0.3s ease; padding: 20px;
}

.modal-overlay.active { opacity: 1; visibility: visible; }

.modal-content {
    background: #ffffff; width: 100%; max-width: 480px; border-radius: 24px;
    padding: 48px 40px; text-align: center; position: relative;
    transform: translateY(20px) scale(0.95); transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--sh-lg); border: 1px solid rgba(52,0,95,0.1);
}

.modal-overlay.active .modal-content { transform: translateY(0) scale(1); }

.modal-close {
    position: absolute; top: 16px; right: 16px; background: rgba(52,0,95,0.05);
    border: none; width: 36px; height: 36px; border-radius: 50%;
    color: var(--text-2); cursor: pointer; display: flex; align-items: center; justify-content: center;
    transition: all 0.2s ease;
}

.modal-close:hover { background: rgba(249,76,48,0.1); color: var(--sas-orange); transform: rotate(90deg); }

.modal-icon {
    width: 72px; height: 72px; border-radius: 20px; background: linear-gradient(135deg, var(--sas-orange), var(--sas-orange-dk));
    color: #fff; font-size: 1.8rem; display: flex; align-items: center; justify-content: center;
    margin: 0 auto 24px; box-shadow: var(--sh-ora);
}

.modal-title { font-family: 'DM Serif Display', serif; font-size: 2rem; color: var(--text); margin-bottom: 16px; line-height: 1.1; }

.modal-message { font-size: 1.05rem; color: var(--text-2); line-height: 1.6; margin-bottom: 32px; }

.modal-message a { color: var(--sas-orange); text-decoration: none; font-weight: 700; }

.modal-message a:hover { text-decoration: underline; color: var(--sas-orange-dk); }

.modal-action { width: 100%; justify-content: center; font-size: 1rem; padding: 14px 28px; }

@media (max-width: 768px) {
    .modal-content { padding: 40px 24px; }
}
