/* ============================================================
   SYRUP page (dark theme + page-specific sections)
============================================================ */

/* ===== Dark theme overrides via body[data-theme="syrup"] ===== */
body[data-theme="syrup"] {
    background: #141414;
    color: #ffffff;
}

/* Header in dark mode */
body[data-theme="syrup"] .header {
    background: rgba(20, 20, 20, 0.85);
    border-bottom-color: transparent;
}
body[data-theme="syrup"] .header.is-scrolled {
    border-bottom-color: rgba(255, 255, 255, 0.08);
}
body[data-theme="syrup"] .header__logo-img {
    filter: invert(1) brightness(1.1);
}
body[data-theme="syrup"] .nav__link {
    color: #ffffff;
}
body[data-theme="syrup"] .nav__link:hover {
    color: var(--brand-orange);
}
body[data-theme="syrup"] .nav__link.is-active {
    color: var(--brand-orange);
}
body[data-theme="syrup"] .header__cta .btn--secondary {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}
body[data-theme="syrup"] .header__cta .btn--secondary:hover {
    background: rgba(255, 255, 255, 0.16);
}
body[data-theme="syrup"] .header__cta .btn--primary {
    background: #ffffff;
    color: #0e0e0e;
}
body[data-theme="syrup"] .header__cta .btn--primary:hover {
    background: #eaeaea;
}
body[data-theme="syrup"] .header__burger span {
    background: #ffffff;
}

/* Dropdown stays white background but with darker tint */
body[data-theme="syrup"] .dropdown {
    background: #2b2b2b;
    border-color: rgba(255, 255, 255, 0.1);
}
body[data-theme="syrup"] .dropdown__name {
    color: #ffffff;
}
body[data-theme="syrup"] .dropdown__apy {
    color: #ffffff;
}
body[data-theme="syrup"] .dropdown__pct,
body[data-theme="syrup"] .dropdown__apy-label {
    color: rgba(255, 255, 255, 0.6);
}
body[data-theme="syrup"] .dropdown__item:hover {
    background: rgba(255, 255, 255, 0.05);
}

/* ===== Hero ===== */
.section--syrup-hero {
    position: relative;
    background: #141414;
    overflow: hidden;
    padding-top: clamp(2.5rem, 6vw, 5rem);
    padding-bottom: clamp(2rem, 5vw, 5rem);
    isolation: isolate;
    display: flex;
    flex-direction: column;
}
.syrup-hero__inner { order: 1; }
.syrup-hero__media { order: 2; }
@media (min-width: 1024px) {
    .syrup-hero__media { order: 0; }
}
@media (min-width: 1024px) {
    .section--syrup-hero { min-height: 78vh; max-height: 900px; }
}

/* Mobile: media flows below text (no large gap) */
.syrup-hero__media {
    position: relative;
    margin-top: 1.5rem;
    z-index: 0;
    pointer-events: none;
    width: 100%;
}
.syrup-hero__video {
    display: block;
    width: 100%;
    height: auto;
    max-height: 60vh;
    object-fit: contain;
}

/* Desktop+: media absolute on the right, video centered vertically */
@media (min-width: 1024px) {
    .syrup-hero__media {
        position: absolute;
        inset: 0;
        margin-top: 0;
        width: auto;
    }
    .syrup-hero__video {
        position: absolute;
        right: -100px;
        bottom: 0;
        width: auto;
        height: 70vh;
        max-height: 720px;
    }
}

.syrup-hero__inner {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    min-height: inherit;
}
@media (min-width: 1024px) {
    .syrup-hero__inner {
        flex-direction: row;
        align-items: flex-start;
    }
}
.syrup-hero__copy {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    max-width: 560px;
}
@media (min-width: 1024px) {
    .syrup-hero__copy { padding-top: clamp(1rem, 4vw, 3rem); }
}
.syrup-hero__title {
    font-family: 'DM Serif Display', serif;
    font-weight: 400;
    font-size: clamp(2.75rem, 7vw, 5.5rem);
    line-height: 1.02;
    letter-spacing: -0.025em;
    color: #ffffff;
}
.syrup-hero__title .line { display: block; overflow: hidden; }
.syrup-hero__title strong { font-weight: 500; font-style: normal; color: #ffffff; }
.syrup-hero__lead {
    font-family: 'Geist', sans-serif;
    font-size: clamp(1.125rem, 1.4vw, 1.375rem);
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.4;
}
.syrup-hero__actions { margin-top: 0.5rem; }

/* Brand orange button */
.btn--brand {
    background: var(--brand-orange);
    color: #ffffff;
    font-weight: 500;
}
.btn--brand:hover {
    background: var(--brand-orange-clicked);
    transform: translateY(-1px);
}

/* ===== Value Props (dark) ===== */
.section--syrup-props {
    background: #141414;
    padding-block: clamp(3rem, 6vw, 6rem);
}
.syrup-props__head {
    margin-bottom: clamp(2.5rem, 5vw, 4rem);
    text-align: center;
}
.syrup-props__title {
    color: #ffffff;
    text-align: center;
}

.advantage__grid--dark .advantage-card {
    background: #2b2b2b;
}
.advantage__grid--dark .advantage-card__num,
.advantage__grid--dark .advantage-card__body h3 {
    color: rgba(255, 255, 255, 0.95);
}
.advantage__grid--dark .advantage-card__body p {
    color: rgba(255, 255, 255, 0.7);
}

/* ===== Token Stats ===== */
.section--token-stats {
    background: #141414;
    padding-block: clamp(3rem, 6vw, 5rem);
}
.token-stats {
    display: flex;
    flex-direction: column;
    gap: clamp(2rem, 5vw, 4rem);
    max-width: 720px;
}
.token-stat {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}
.token-stat__icon {
    width: 56px; height: 56px;
    background: rgba(252, 122, 74, 0.12);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.token-stat__value {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    line-height: 1;
    letter-spacing: -0.02em;
    color: #ffffff;
}
.token-stat__label {
    font-family: 'Geist', sans-serif;
    font-size: clamp(1.125rem, 1.6vw, 1.5rem);
    color: rgba(255, 255, 255, 0.85);
    margin-left: 0.5rem;
}

/* ===== Where to Buy (dark) ===== */
.section--syrup-buy {
    background: #141414;
    padding-block: clamp(3rem, 6vw, 6rem);
}
.section--syrup-buy .section-title { color: #ffffff; text-align: center; }
.section--syrup-buy .section-lead {
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    margin-inline: auto;
}
.buy__head--center {
    text-align: center;
    max-width: 720px;
    margin: 0 auto clamp(2rem, 4vw, 3rem);
}
.exchange-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    max-width: 880px;
    margin: 0 auto;
}
@media (min-width: 800px)  { .exchange-grid { grid-template-columns: repeat(5, 1fr); gap: 1rem; } }

.exchange-card {
    position: relative;
    aspect-ratio: 1 / 1;
    background: #2b2b2b;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--t-fast) var(--ease);
    overflow: hidden;
}
.exchange-card:hover { background: #353535; }
.exchange-card__logo {
    width: 50%;
    height: 50%;
    object-fit: contain;
}
.exchange-card__hover {
    position: absolute;
    top: 0.5rem;
    left: 50%;
    transform: translateX(-50%);
    background: #ffffff;
    color: #0e0e0e;
    font-family: 'Geist', sans-serif;
    font-size: 0.75rem;
    font-weight: 500;
    padding: 0.25rem 0.7rem;
    border-radius: 16px;
    opacity: 0;
    transition: opacity var(--t-fast) var(--ease);
    pointer-events: none;
    white-space: nowrap;
}
.exchange-card:hover .exchange-card__hover { opacity: 1; }

/* ===== FAQ (dark, split layout) ===== */
.section--syrup-faq {
    background: #141414;
    padding-block: clamp(3rem, 6vw, 6rem);
}
.syrup-faq__inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(2rem, 4vw, 3rem);
    align-items: start;
}
@media (min-width: 1024px) {
    .syrup-faq__inner { grid-template-columns: 0.85fr 1.15fr; gap: 4rem; }
}

.syrup-faq__side {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}
.syrup-faq__side .section-title { color: #ffffff; }
.syrup-faq__sub {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    margin-top: 1.5rem;
}
.syrup-faq__cta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
}
.syrup-faq__email,
.syrup-faq__docs {
    background: #2b2b2b;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.1);
    height: 48px;
    padding: 0 1rem;
}
.syrup-faq__email:hover,
.syrup-faq__docs:hover {
    background: #353535;
    border-color: rgba(255, 255, 255, 0.2);
}

.syrup-faq__list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.faq-item--dark {
    background: #2b2b2b;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    overflow: hidden;
    transition: border-color var(--t-fast) var(--ease);
}
.faq-item--dark[open] { border-color: rgba(255, 255, 255, 0.2); }
.faq-item--dark .faq-item__q {
    color: #ffffff;
    padding: 1.25rem 1.5rem;
}
.faq-item--dark .faq-item__a {
    color: rgba(255, 255, 255, 0.7);
    padding: 0 1.5rem 1.5rem;
}
.faq-item--dark .faq-item__icon { color: rgba(255, 255, 255, 0.7); }

/* ===== Join Our Community (orange CTA bar) ===== */
.section--join-community {
    background: var(--brand-orange);
    padding-block: clamp(3rem, 5vw, 5rem);
    overflow: hidden;
    position: relative;
    margin-bottom: 100px;
    border-radius: 22px;
}
@media (max-width: 800px) {
    .section--join-community { margin-bottom: 60px; border-radius: 0; }
}
.join__inner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
    position: relative;
    z-index: 2;
}
@media (min-width: 800px) {
    .join__inner {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}
.join__title {
    font-family: 'DM Serif Display', serif;
    font-weight: 400;
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: #ffffff;
    letter-spacing: -0.02em;
    line-height: 1;
}
.join__buttons { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.join__btn {
    height: 56px;
    min-width: 160px;
    font-size: 1.0625rem;
    font-weight: 500;
    background: #ffffff;
    color: #0e0e0e;
    border-radius: 12px;
    padding: 0 1.5rem;
    border: 0;
}
.join__btn:hover { background: #f5f5f5; transform: translateY(-2px); }

/* Decorative big icons in background */
.section--join-community::before {
    content: "";
    position: absolute;
    top: 50%; left: 18%;
    transform: translateY(-50%);
    width: 280px; height: 280px;
    background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffffff'><path d='M9.04 15.55l-.4 5.64c.57 0 .82-.25 1.12-.55l2.7-2.58 5.6 4.1c1.03.57 1.76.27 2.04-.95L23.94 3.1c.34-1.52-.55-2.12-1.55-1.75L1.5 9.55c-1.5.58-1.48 1.4-.26 1.78l5.43 1.7L19.3 5.1c.6-.4 1.14-.18.7.22'/></svg>") center/contain no-repeat;
    opacity: 0.08;
    pointer-events: none;
}
.section--join-community::after {
    content: "";
    position: absolute;
    top: 50%; right: 8%;
    transform: translateY(-50%);
    width: 380px; height: 380px;
    background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffffff'><path d='M18.244 2H21.5l-7.5 8.572L23 22h-6.844l-5.36-7.012L4.7 22H1.444l8.04-9.19L1 2h6.97l4.846 6.41L18.244 2z'/></svg>") center/contain no-repeat;
    opacity: 0.06;
    pointer-events: none;
}
