/* ==========================================================================
   Premium layer: all-dark, serif display type, bento grid, glass cards.
   Loaded after style.css and overrides its tokens.
   ========================================================================== */
:root {
    --ink: #07080b;
    --ink-2: #0a0c11;
    --card: #0f1218;
    --hair: rgba(255, 255, 255, 0.08);
    --hair-2: rgba(255, 255, 255, 0.14);
    --amber: #e3a978;
    --amber-soft: rgba(227, 169, 120, 0.12);
    --paper: #f2eadc;
    --serif: 'Instrument Serif', 'Times New Roman', serif;

    --color-primary: #e3a978;
    --color-primary-dark: #d4955f;
    --color-primary-soft: rgba(227, 169, 120, 0.12);
    --color-light: #07080b;
    --color-surface: #0f1218;
    --color-secondary: #0f1218;
    --color-text: #ece8e1;
    --color-text-light: #9b9ba3;
    --color-line: rgba(255, 255, 255, 0.08);
    --color-bronze: #c18a5b;
    --color-silver: #a7adb8;
    --color-gold: #e3c27a;
    --radius: 16px;
    --radius-lg: 22px;
}

html { background: var(--ink); }
body { background: var(--ink); color: var(--color-text); }
html.lenis, html.lenis body { height: auto; }
html.lenis, html.gsap-on { scroll-behavior: auto !important; }

/* Film grain */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 999;
    pointer-events: none;
    opacity: 0.045;
    mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* Type */
h1, h2 {
    font-family: var(--serif);
    font-weight: 400;
    letter-spacing: -0.02em;
    line-height: 1.02;
    color: #f6f1e8;
}
h1 { font-size: clamp(3rem, 9vw, 6.25rem); }
h2 { font-size: clamp(2.25rem, 6vw, 3.75rem); }
h1 em, h2 em { font-style: italic; color: var(--amber); }
h3 { color: #f6f1e8; }

.eyebrow {
    color: var(--amber) !important;
    font-size: 0.6875rem;
    letter-spacing: 0.22em;
}
.eyebrow::before { background: var(--amber); width: 24px; }

/* Buttons: pale pill, ghost secondary */
.btn { border-radius: 999px; }
.btn-primary { background: var(--paper); color: #0a0c10 !important; }
.btn-primary:hover { background: #fff; }
.btn-primary .icon-svg { color: #0a0c10; }
.btn-secondary { background: transparent; border: 1px solid var(--hair-2); color: #f6f1e8 !important; }
.btn-secondary:hover { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.3); }
.btn-dark { background: rgba(255, 255, 255, 0.07); border: 1px solid var(--hair-2); color: #f6f1e8 !important; }
.btn-dark:hover { background: rgba(255, 255, 255, 0.12); }

/* Header */
.site-header { background: rgba(7, 8, 11, 0.55); border-bottom: 1px solid transparent; }
.site-header.scrolled { background: rgba(7, 8, 11, 0.82); border-bottom-color: var(--hair); }
.site-logo { font-family: var(--serif); font-weight: 400; font-size: 1.5rem; letter-spacing: -0.01em; }
.site-logo span { color: var(--amber); }
.main-nav a:not(.btn) { color: rgba(255, 255, 255, 0.7); font-size: 0.875rem; }
.main-nav a:not(.btn):hover { color: #fff; }

/* Hero */
.hero { background: var(--ink); }
.hero::before {
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 72px 72px;
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 20%, transparent 75%);
    mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 20%, transparent 75%);
}
.hero-glow {
    display: block;
    top: -260px;
    width: 900px;
    height: 700px;
    background: radial-gradient(ellipse, rgba(227, 169, 120, 0.28) 0%, rgba(227, 169, 120, 0.06) 40%, transparent 68%);
    filter: blur(10px);
}
.hero-aurora { display: none; }
.hero h1 { background: none; -webkit-text-fill-color: initial; color: #f6f1e8; margin-bottom: 1.25rem; }
.hero .split-word { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.08em; }
.hero .split-word .word { display: inline-block; will-change: transform; }
.hero-badge { background: rgba(255, 255, 255, 0.04); border: 1px solid var(--hair-2); color: rgba(255, 255, 255, 0.8); backdrop-filter: blur(8px); }
.hero-badge-dot { background: var(--amber); box-shadow: 0 0 0 4px var(--amber-soft); }
.hero-tagline { color: rgba(255, 255, 255, 0.62); font-size: clamp(1.0625rem, 2.2vw, 1.25rem); }
.hero-stats {
    background: transparent;
    border: 0;
    border-top: 1px solid var(--hair);
    border-radius: 0;
    gap: 0;
    max-width: 960px;
}
.stat-item { background: transparent; padding: 1.5rem 0.75rem; }
.stat-item + .stat-item { border-left: 1px solid var(--hair); }
.stat-number { font-family: var(--serif); font-weight: 400; font-size: clamp(2.25rem, 6vw, 3.5rem); letter-spacing: -0.02em; color: #f6f1e8; }
.stat-label { color: rgba(255, 255, 255, 0.45); }

/* Marquee */
.marquee-section { background: var(--ink); border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); padding: 1.5rem 0; }
.marquee-label { color: rgba(255, 255, 255, 0.4); }
.marquee-track { gap: 3.5rem; }
.marquee-track li { font-family: var(--serif); font-size: 1.5rem; color: rgba(255, 255, 255, 0.4); font-weight: 400; }

/* Sections */
.section-header h2 { color: #f6f1e8; }
.section-header p { color: var(--color-text-light); }
.section-header p a { color: var(--amber); }
.ad-formats { background: var(--ink); }
.pricing-section { background: var(--ink-2); border-top: 1px solid var(--hair); }
.steps-section { background: var(--ink); border-top: 1px solid var(--hair); }
.features-section { background: var(--ink-2); border-top: 1px solid var(--hair); }
.custom-section { background: var(--ink); border-top: 1px solid var(--hair); }
.faq-section { background: var(--ink-2); border-top: 1px solid var(--hair); }
.contact-section { background: var(--ink); border-top: 1px solid var(--hair); }

/* Glass cards */
.format-card, .step-card, .feature-card, .faq-item, .payment-method, .pricing-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012));
    border: 1px solid var(--hair);
    border-radius: var(--radius);
    box-shadow: none;
    backdrop-filter: blur(6px);
}
.format-card:hover, .step-card:hover, .feature-card:hover { border-color: var(--hair-2); }
.format-card::before, .step-card::before, .feature-card::before {
    background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 50%), rgba(227, 169, 120, 0.1), transparent 70%);
}

/* Bento formats */
.formats-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 1rem; }
.format-card { grid-column: span 12; padding: 1.75rem; min-height: 190px; justify-content: space-between; }
.format-card h3 { order: 0; color: var(--amber); text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.6875rem; margin-bottom: 1.5rem; }
.format-card .impressions { order: 1; font-family: var(--serif); font-weight: 400; font-size: clamp(2.25rem, 5vw, 3.5rem); letter-spacing: -0.02em; color: #f6f1e8; line-height: 1; margin-bottom: 0.75rem; }
.format-card p { order: 2; color: var(--color-text-light); font-size: 0.875rem; }
@media (min-width: 768px) {
    .format-card:nth-child(1) { grid-column: span 7; }
    .format-card:nth-child(2) { grid-column: span 5; }
    .format-card:nth-child(3),
    .format-card:nth-child(4),
    .format-card:nth-child(5) { grid-column: span 4; }
    .format-card:nth-child(6) { grid-column: span 12; }
    .format-card:nth-child(1) .impressions,
    .format-card:nth-child(6) .impressions { font-size: clamp(3rem, 6vw, 4.5rem); }
}

/* Pricing */
.pricing-card { padding: 2rem 1.5rem; }
.pricing-tier { letter-spacing: 0.22em; }
.pricing-card h3 { color: #f6f1e8; font-family: var(--serif); font-weight: 400; font-size: 1.5rem; letter-spacing: -0.01em; }
.price, .price .currency, .price .amount { color: #f6f1e8; }
.price .amount { font-family: var(--serif); font-weight: 400; font-size: 4rem; letter-spacing: -0.03em; }
.price .currency { color: var(--amber); }
.price-alt { color: var(--color-text-light); }
.pricing-header { border-bottom-color: var(--hair); }
.pricing-features li { color: rgba(255, 255, 255, 0.82); border-color: var(--hair); }
.pricing-features .check { background: var(--amber-soft); color: var(--amber); }
.pricing-card.featured {
    background:
        linear-gradient(180deg, #151922, #0d1016) padding-box,
        linear-gradient(145deg, rgba(227, 169, 120, 0.9), rgba(227, 169, 120, 0.08) 38%, rgba(227, 169, 120, 0.5)) border-box;
    border: 1px solid transparent;
    box-shadow: 0 30px 80px -30px rgba(227, 169, 120, 0.25);
}
.pricing-card.featured h3, .pricing-card.featured .price,
.pricing-card.featured .price .currency, .pricing-card.featured .price .amount { color: #f6f1e8; }
.pricing-card.featured .price .currency { color: var(--amber); }
.pricing-card.featured .price-alt { color: var(--color-text-light); }
.pricing-card.featured .pricing-features li { color: rgba(255, 255, 255, 0.9); border-color: var(--hair); }
.pricing-card.featured .pricing-features .check { background: var(--amber-soft); color: var(--amber); }
.pricing-badge { background: var(--amber); color: #0a0c10; border-radius: 999px; font-weight: 700; }

.fixed-notice { background: var(--amber-soft); border: 1px solid rgba(227, 169, 120, 0.3); border-left-width: 1px; border-radius: var(--radius); }
.fixed-notice p { color: rgba(255, 255, 255, 0.82); }
.fixed-notice a { color: var(--amber); }
.fixed-notice-icon { background: var(--amber); color: #0a0c10; }

.payment-icon { background: var(--amber-soft); color: var(--amber); }
.payment-method h3 { color: #f6f1e8; }
.payment-method p { color: var(--color-text-light); }
.usdt-address { background: rgba(255, 255, 255, 0.04); border-color: var(--hair-2); }
.usdt-address code { color: rgba(255, 255, 255, 0.85); }
.copy-btn { background: rgba(255, 255, 255, 0.07); color: #f6f1e8; border: 1px solid var(--hair-2); }
.copy-btn:hover { background: rgba(255, 255, 255, 0.12); }

/* Steps */
.step-num {
    width: auto; height: auto; background: none; border: 0; border-radius: 0; box-shadow: none;
    font-family: var(--serif); font-weight: 400; font-size: 3.5rem; line-height: 1; color: var(--amber);
    margin-bottom: 1.25rem; display: block; text-align: left; opacity: 0.9;
}
.step-card { padding: 2rem 1.5rem; }
.step-card p { color: var(--color-text-light); }

/* Features */
.features-section::before { display: block; background: radial-gradient(circle, rgba(227, 169, 120, 0.1) 0%, transparent 60%); }
.feature-card { padding: 1.5rem; }
.feature-card .icon { background: var(--amber-soft); border: 1px solid rgba(227, 169, 120, 0.25); color: var(--amber); border-radius: 12px; }
.feature-card h3 { color: #f6f1e8; }
.feature-card p { color: var(--color-text-light); }
.language-tag { background: transparent; border: 1px solid var(--hair-2); color: rgba(255, 255, 255, 0.7); }
.languages-title { color: rgba(255, 255, 255, 0.5); }

/* Custom + contact */
.custom-card, .contact-card {
    background:
        radial-gradient(900px 400px at 0% 0%, rgba(227, 169, 120, 0.1), transparent 60%),
        linear-gradient(180deg, #0f1218, #0a0c11);
    border: 1px solid var(--hair);
    border-radius: 28px;
}
.contact-card::after { display: none; }
.custom-card h2, .contact-main h2 { color: #f6f1e8; font-family: var(--serif); font-weight: 400; }
.custom-form { background: rgba(255, 255, 255, 0.03); border: 1px solid var(--hair); }
.custom-form select, .custom-form input, .custom-form textarea { background: rgba(0, 0, 0, 0.35); border: 1px solid var(--hair-2); }
.custom-form select:focus, .custom-form input:focus, .custom-form textarea:focus { border-color: var(--amber); box-shadow: 0 0 0 3px var(--amber-soft); }
.link-btn { color: var(--amber); }

/* FAQ */
.faq-item { backdrop-filter: none; }
.faq-item summary { color: #f6f1e8; }
.faq-item p { color: var(--color-text-light); }
.faq-item[open] { border-color: rgba(227, 169, 120, 0.35); }
.faq-chev { border-color: var(--amber); }
.policy-list { color: rgba(255, 255, 255, 0.4); }

/* Footer */
.site-footer { background: var(--ink); border-top: 1px solid var(--hair); }
.footer-logo { font-family: var(--serif); font-weight: 400; }
.footer-logo span { color: var(--amber); }
.footer-network-list a { border-color: var(--hair-2); }
.footer-network-list a:hover { border-color: var(--amber); color: var(--amber); }
.footer-network-eyebrow, .footer-network-cta { color: var(--amber); }

/* Modal */
.modal-content { background: var(--card); border: 1px solid var(--hair-2); color: #f6f1e8; }

.scroll-progress { background: var(--amber); }

/* JS animation handoff: GSAP owns the reveals when present */
.gsap-on .reveal { opacity: 1; transform: none; transition: none; }

.header-telegram { background: var(--paper); color: #0a0c10; box-shadow: none; }
.sticky-cta { background: rgba(7, 8, 11, 0.9); border-top: 1px solid var(--hair); }

/* Client dashboard showcase */
.dash-section { background: var(--ink-2); border-top: 1px solid var(--hair); padding: var(--section-y) 0; overflow: hidden; }
.dash-section::before {
    content: '';
    position: absolute;
    left: 50%;
    width: 1000px;
    height: 600px;
    transform: translateX(-50%);
    background: radial-gradient(ellipse, rgba(227, 169, 120, 0.1), transparent 65%);
    pointer-events: none;
}
.dash-section { position: relative; }
.dash-section .container { position: relative; }

.dash-stage { position: relative; max-width: 1040px; margin: 0 auto; padding-bottom: 3.5rem; }

.dash-shot {
    margin: 0;
    background: #141414;
    border: 1px solid var(--hair-2);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 40px 100px -30px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.02);
}

.dash-shot img { display: block; width: 100%; height: auto; }

.dash-chrome {
    display: flex;
    gap: 6px;
    padding: 0.65rem 0.9rem;
    background: #1a1a1c;
    border-bottom: 1px solid var(--hair);
}

.dash-chrome i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, 0.16); }

.dash-shot-main { -webkit-mask-image: linear-gradient(180deg, #000 78%, transparent 100%); mask-image: linear-gradient(180deg, #000 78%, transparent 100%); }

.dash-shot-side {
    position: relative;
    margin-top: -1.5rem;
    width: 94%;
    margin-left: auto;
}

@media (min-width: 900px) {
    .dash-shot-side { position: absolute; right: -3%; bottom: 0; width: 66%; margin: 0; }
    .dash-stage { padding-bottom: 7rem; }
}

.dash-points {
    list-style: none;
    display: grid;
    gap: 1.25rem;
    max-width: 1040px;
    margin: 3rem auto 0;
    padding-top: 2rem;
    border-top: 1px solid var(--hair);
}

.dash-points li { display: flex; flex-direction: column; gap: 0.35rem; }
.dash-points strong { font-weight: 600; color: #f6f1e8; }
.dash-points span { font-size: 0.9375rem; color: var(--color-text-light); }
.dash-note { margin: 1.5rem auto 0; text-align: center; font-size: 0.75rem; color: rgba(255, 255, 255, 0.35); }

@media (min-width: 768px) {
    .dash-points { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; }
}

/* Tighter vertical rhythm on desktop */
:root { --section-y: 3.5rem; }
@media (min-width: 768px) { :root { --section-y: 5rem; } }
.section-header { margin-bottom: 2.5rem; }
@media (min-width: 768px) { .section-header { margin-bottom: 3rem; } }
.dash-stage { padding-bottom: 3rem; }
@media (min-width: 900px) { .dash-stage { padding-bottom: 5rem; } }

/* USDT address: the base style gave the code a white background */
.usdt-address code { background: transparent; color: rgba(255, 255, 255, 0.88); }

/* Reveal transitions (toggled by premium.js) */
html.gsap-on .rv {
    opacity: 0;
    transform: translateY(var(--rv-y, 32px)) scale(var(--rv-s, 1));
    transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
html.gsap-on .rv.rv-in { opacity: 1; transform: none; }

/* Hero title: SplitType wraps words in spans, which the base theme coloured orange */
.hero h1 span,
.hero h1 .word { color: inherit; }
.hero h1 em, .hero h1 em .word { color: var(--amber); }

/* Header Telegram icon: quiet outline instead of a bright disc */
.header-telegram {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--hair-2);
    color: var(--amber);
    box-shadow: none;
}

/* Stat tiles: clean dividers for the 2-column mobile grid */
.stat-item + .stat-item { border-left: 0; }
.hero-stats .stat-item:nth-child(even) { border-left: 1px solid var(--hair); }
.hero-stats .stat-item:nth-child(n+3) { border-top: 1px solid var(--hair); }
@media (min-width: 768px) {
    .hero-stats .stat-item:nth-child(n) { border-top: 0; }
    .hero-stats .stat-item + .stat-item { border-left: 1px solid var(--hair); }
}

/* Mobile pass */
@media (max-width: 767px) {
    .hero { padding: calc(var(--header-h) + 1.5rem) 0 1.5rem; }
    h1 { font-size: clamp(2.5rem, 12vw, 3.25rem); }
    h2 { font-size: clamp(2rem, 9vw, 2.5rem); }
    .hero-badge { font-size: 0.75rem; margin-bottom: 1rem; }
    .hero-tagline { font-size: 1rem; margin-bottom: 1.5rem; }
    .hero-cta { gap: 0.6rem; }
    .btn-lg { min-height: 50px; font-size: 1rem; }
    .hero-stats { margin-top: 1.75rem; }
    .stat-item { padding: 1.1rem 0.5rem; }
    .stat-number { font-size: 2rem; }
    .stat-label { font-size: 0.625rem; }

    .section-header { margin-bottom: 1.75rem; }
    .section-header p { font-size: 0.9375rem; }

    .format-card { padding: 1.25rem; min-height: 0; }
    .format-card h3 { margin-bottom: 0.9rem; }
    .format-card .impressions { font-size: 2.25rem; }

    .pricing-card { padding: 1.5rem 1.25rem; }
    .price .amount { font-size: 3.25rem; }
    .fixed-notice { padding: 0.8rem 0.9rem; }
    .fixed-notice p { font-size: 0.875rem; }
    .payment-method { padding: 1rem; }
    .usdt-address { flex-direction: column; align-items: stretch; }
    .usdt-address code { white-space: normal; word-break: break-all; }
    .copy-btn { justify-content: center; }

    .step-card { padding: 1.25rem; }
    .step-num { font-size: 2.5rem; margin-bottom: 0.75rem; }

    /* Dashboard screenshots stay readable: swipe sideways inside the frame */
    .dash-shot { overflow-x: auto; -webkit-overflow-scrolling: touch; }
    .dash-shot img { width: 760px; max-width: none; }
    .dash-shot-main { -webkit-mask-image: none; mask-image: none; }
    .dash-shot-side { width: 100%; margin-top: 1rem; }
    .dash-stage::after { content: 'Swipe to explore'; display: block; margin-top: 0.75rem; text-align: center; font-size: 0.6875rem; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255, 255, 255, 0.35); }
    .dash-points { margin-top: 1.5rem; padding-top: 1.5rem; gap: 1rem; }

    .custom-card, .contact-card { padding: 1.5rem 1.1rem; border-radius: 20px; }
    .custom-form { padding: 1rem; }
    .faq-item summary { padding: 0.9rem 1rem; font-size: 0.9375rem; }
    .faq-item p { padding: 0 1rem 1rem; font-size: 0.9375rem; }
    .marquee-track li { font-size: 1.25rem; }
    .sticky-cta { padding: 0.6rem 0.75rem calc(0.6rem + env(safe-area-inset-bottom)); }
    .sticky-cta .btn { min-height: 46px; font-size: 0.9375rem; }
}
