/* =========================================================
   SnowyForest — Home Page Premium Arctic Theme
   ========================================================= */

/* Fonts loaded via <link> in _Layout.cshtml head (non-blocking) */

:root {
    --sf-navy: #060E1A;
    --sf-deep: #0B1D3A;
    --sf-mid: #0F2547;
    --sf-ice: #4FC3F7;
    --sf-ice-light: #B3E5FC;
    --sf-ice-pale: #E1F5FE;
    --sf-frost: rgba(79, 195, 247, 0.08);
    --sf-frost-border: rgba(79, 195, 247, 0.12);
    --sf-gold: #FFD54F;
    --sf-gold-dark: #F9A825;
    --sf-silver: #B0BEC5;
    --sf-silver-dark: #78909C;
    --sf-bronze: #FFAB91;
    --sf-bronze-dark: #E64A19;
    --sf-font: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    --sf-font-display: 'Playfair Display', Georgia, serif;
}

/* ── Snowfall Canvas (site-wide, over all sections) ── */
.snow-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 40;       /* above after-hero (z:5) so snow falls over all sections */
    opacity: 0.85;
    mix-blend-mode: screen;
}

/* =========================================================
   ── PREMIUM HERO SECTION (PINNED / PARALLAX) ──
   ========================================================= */
.sf-hero {
    /* Pin the hero to the viewport — content scrolls over it */
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    border-radius: 0;
    z-index: 1;                /* below the after-hero content */
    isolation: isolate;
    background: var(--sf-navy);
    box-shadow: none;
    will-change: transform, opacity, filter;
    transform-origin: center top;
    transition: visibility 0s linear 0.4s;
}

/* Once scrolled past the hero, fully disable it (fixes arrows showing through) */
.sf-hero.sf-hero--hidden {
    visibility: hidden;
    pointer-events: none;
}

/* Spacer reserves the scroll height the pinned hero "consumes" */
.sf-hero-spacer {
    width: 100%;
    height: 100vh;
    pointer-events: none;
}

/* Wrapper for everything after the hero — full-bleed, slides up over hero */
.sf-after-hero {
    position: relative;
    z-index: 5;
    /* Break out of the centered <main> equally on both sides so the
       wrapper stays full-bleed in both LTR and RTL.
       Symmetric negative margins are direction-agnostic; the older
       single-margin trick (width:100vw + margin-left:calc(50%-50vw))
       shifted RTL content visually because `width: 100vw` anchors
       only one edge. */
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    background: var(--sf-navy);
    box-shadow: 0 -40px 80px rgba(0,0,0,0.55);
    border-top-left-radius: 36px;
    border-top-right-radius: 36px;
    overflow: hidden;
}

@media (min-width: 768px) {
    .sf-after-hero {
        border-top-left-radius: 56px;
        border-top-right-radius: 56px;
    }
}

/* A subtle luminous edge along the top of the overlay panel */
.sf-after-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(79,195,247,0.55), transparent);
    z-index: 2;
    pointer-events: none;
}

/* Animated luminous gradient border */
.sf-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg,
        rgba(79,195,247,0.55) 0%,
        rgba(79,195,247,0.05) 30%,
        rgba(129,212,250,0.05) 70%,
        rgba(79,195,247,0.45) 100%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    pointer-events: none;
    z-index: 6;
    opacity: 0.85;
}

/* Decorative corner accents */
.sf-hero__corner {
    position: absolute;
    width: 38px;
    height: 38px;
    z-index: 6;
    pointer-events: none;
    opacity: 0.85;
}
@media (min-width: 768px) {
    .sf-hero__corner { width: 56px; height: 56px; }
}
.sf-hero__corner::before,
.sf-hero__corner::after {
    content: '';
    position: absolute;
    background: linear-gradient(90deg, rgba(79,195,247,0.85), rgba(129,212,250,0.2));
    box-shadow: 0 0 18px rgba(79,195,247,0.45);
    border-radius: 2px;
}
.sf-hero__corner::before { width: 100%; height: 2px; }
.sf-hero__corner::after  { width: 2px; height: 100%; }

.sf-hero__corner--tl { top: 18px; left: 18px; }
.sf-hero__corner--tr { top: 18px; right: 18px; transform: rotate(90deg); }
.sf-hero__corner--bl { bottom: 18px; left: 18px; transform: rotate(-90deg); }
.sf-hero__corner--br { bottom: 18px; right: 18px; transform: rotate(180deg); }

@media (min-width: 768px) {
    .sf-hero__corner--tl { top: 28px; left: 28px; }
    .sf-hero__corner--tr { top: 28px; right: 28px; }
    .sf-hero__corner--bl { bottom: 28px; left: 28px; }
    .sf-hero__corner--br { bottom: 28px; right: 28px; }
}

/* Ensure parallax + marquee stack above the snow canvas */
.sf-parallax-divider,
.sf-marquee {
    position: relative;
    z-index: 3;
}

.sf-hero__slider {
    position: relative;
    width: 100%;
    height: 100%;            /* fill the pinned hero */
    aspect-ratio: auto;
    overflow: hidden;
    border-radius: inherit;
}

.sf-hero__slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.4s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: opacity;
}

/* First slide must be relative to give the parent its height */
.sf-hero__slide:first-child { position: relative; }

.sf-hero__slide--active {
    opacity: 1;
    z-index: 1;
}

/* Ken Burns slow zoom layer */
.sf-hero__kenburns {
    position: absolute;
    inset: 0;
    overflow: hidden;
    transform: scale(1.08);
}
.sf-hero__slide--active .sf-hero__kenburns {
    animation: sf-kenburns 18s ease-out forwards;
}

@keyframes sf-kenburns {
    0%   { transform: scale(1.08) translate(0, 0); }
    100% { transform: scale(1.22) translate(-1.5%, -1%); }
}

.sf-hero__slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(1.08) contrast(1.04);
}

/* ── Layered overlays ── */
.sf-hero__overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg,
            rgba(6,14,26,0.55) 0%,
            rgba(6,14,26,0.10) 25%,
            rgba(6,14,26,0.20) 55%,
            rgba(6,14,26,0.85) 88%,
            rgba(6,14,26,0.98) 100%),
        linear-gradient(90deg,
            rgba(6,14,26,0.55) 0%,
            transparent 40%,
            transparent 60%,
            rgba(6,14,26,0.55) 100%);
    z-index: 2;
    pointer-events: none;
}

.sf-hero__vignette {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center,
        transparent 40%,
        rgba(6,14,26,0.35) 80%,
        rgba(6,14,26,0.7) 100%);
    z-index: 2;
    pointer-events: none;
    mix-blend-mode: multiply;
}

/* Hero snowfall canvas */
.sf-hero__snow {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    pointer-events: none;
    display: block;
}

.sf-hero__grain {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    opacity: 0.35;
    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'/><feColorMatrix type='matrix' values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.08 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
    mix-blend-mode: overlay;
}

/* ── Hero overlay content ── */
.sf-hero__content {
    position: absolute;
    inset: 0;
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 3rem 1.5rem 5rem;
    pointer-events: none;
}
.sf-hero__content > * { pointer-events: auto; }

@media (min-width: 768px) {
    .sf-hero__content {
        padding: 4rem 3rem 6rem;
    }
}

.sf-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    font-family: var(--sf-font);
    font-weight: 600;
    font-size: 0.7rem;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--sf-ice);
    text-shadow: 0 0 24px rgba(79,195,247,0.6);
    margin-bottom: 1.25rem;
    padding: 0.5rem 1.1rem;
    border-radius: 999px;
    background: rgba(11,29,58,0.45);
    backdrop-filter: blur(14px) saturate(1.3);
    -webkit-backdrop-filter: blur(14px) saturate(1.3);
    border: 1px solid rgba(79,195,247,0.22);
    box-shadow: 0 8px 30px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,255,255,0.06);
    opacity: 0;
    transform: translateY(14px);
    animation: sf-heroFadeUp 1s 0.25s cubic-bezier(0.16,1,0.3,1) forwards;
}

.sf-hero__eyebrow i {
    color: var(--sf-ice);
    font-size: 0.75rem;
    animation: sf-snowSpin 6s linear infinite;
}

.sf-hero__eyebrow-line {
    width: 24px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(79,195,247,0.7), transparent);
}

@media (max-width: 640px) {
    .sf-hero__eyebrow { font-size: 0.6rem; gap: 0.55rem; padding: 0.4rem 0.85rem; }
    .sf-hero__eyebrow-line { width: 14px; }
}

.sf-hero__title {
    font-family: var(--sf-font-display);
    font-weight: 900;
    font-size: clamp(2.2rem, 6.5vw, 5.5rem);
    line-height: 1.05;
    letter-spacing: -0.02em;
    color: #fff;
    margin: 0 0 1rem;
    max-width: 18ch;
    text-shadow:
        0 4px 30px rgba(0,0,0,0.55),
        0 0 60px rgba(79,195,247,0.15);
    opacity: 0;
    transform: translateY(24px);
    animation: sf-heroFadeUp 1.1s 0.5s cubic-bezier(0.16,1,0.3,1) forwards;
}

.sf-hero__title em {
    font-style: italic;
    background: linear-gradient(135deg,
        #4FC3F7 0%,
        #B3E5FC 35%,
        #ffffff 55%,
        #81D4FA 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
            background-clip: text;
    animation: sf-shimmer 6s ease-in-out infinite;
    filter: drop-shadow(0 0 28px rgba(79,195,247,0.45));
}

@keyframes sf-shimmer {
    0%, 100% { background-position: 0% 50%; }
    50%      { background-position: 100% 50%; }
}

.sf-hero__subtitle {
    font-family: var(--sf-font);
    font-weight: 400;
    font-size: clamp(0.9rem, 1.4vw, 1.1rem);
    color: rgba(225, 245, 254, 0.82);
    max-width: 560px;
    line-height: 1.6;
    margin: 0 0 2rem;
    text-shadow: 0 2px 18px rgba(0,0,0,0.55);
    opacity: 0;
    transform: translateY(20px);
    animation: sf-heroFadeUp 1.1s 0.75s cubic-bezier(0.16,1,0.3,1) forwards;
}

/* CTA buttons */
.sf-hero__cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    opacity: 0;
    transform: translateY(20px);
    animation: sf-heroFadeUp 1.1s 1s cubic-bezier(0.16,1,0.3,1) forwards;
}

.sf-hero__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.95rem 1.8rem;
    border-radius: 999px;
    font-family: var(--sf-font);
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.04em;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.16,1,0.3,1);
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.sf-hero__cta--primary {
    background: linear-gradient(135deg, #4FC3F7 0%, #29B6F6 50%, #0288D1 100%);
    color: #061018;
    box-shadow:
        0 14px 40px rgba(79,195,247,0.45),
        0 0 0 1px rgba(255,255,255,0.18) inset,
        0 1px 0 rgba(255,255,255,0.4) inset;
}
.sf-hero__cta--primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.55) 50%, transparent 70%);
    transform: translateX(-120%);
    transition: transform 0.9s ease;
    z-index: -1;
}
.sf-hero__cta--primary:hover {
    transform: translateY(-3px);
    box-shadow:
        0 22px 60px rgba(79,195,247,0.55),
        0 0 0 1px rgba(255,255,255,0.25) inset;
}
.sf-hero__cta--primary:hover::before { transform: translateX(120%); }

.sf-hero__cta--ghost {
    color: #fff;
    background: rgba(11,29,58,0.45);
    backdrop-filter: blur(14px) saturate(1.3);
    -webkit-backdrop-filter: blur(14px) saturate(1.3);
    border: 1px solid rgba(179,229,252,0.3);
    box-shadow: 0 8px 30px rgba(0,0,0,0.35);
}
.sf-hero__cta--ghost i {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(79,195,247,0.2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6rem;
}
.sf-hero__cta--ghost:hover {
    transform: translateY(-3px);
    background: rgba(79,195,247,0.18);
    border-color: rgba(79,195,247,0.55);
    box-shadow: 0 18px 50px rgba(79,195,247,0.25);
}

@media (max-width: 640px) {
    .sf-hero__cta { padding: 0.8rem 1.4rem; font-size: 0.8rem; }
    .sf-hero__cta-row { gap: 0.7rem; }
}

/* ── Scroll indicator ── */
.sf-hero__scroll {
    position: absolute;
    bottom: 1.25rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: rgba(179,229,252,0.7);
    font-family: var(--sf-font);
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    opacity: 0;
    animation: sf-heroFadeUp 1.1s 1.3s cubic-bezier(0.16,1,0.3,1) forwards;
    transition: color 0.3s ease;
}
.sf-hero__scroll:hover { color: var(--sf-ice); }

.sf-hero__scroll-mouse {
    width: 22px;
    height: 36px;
    border: 1.5px solid rgba(179,229,252,0.55);
    border-radius: 12px;
    position: relative;
    display: flex;
    justify-content: center;
    padding-top: 6px;
}
.sf-hero__scroll-mouse > span {
    width: 3px;
    height: 7px;
    border-radius: 2px;
    background: var(--sf-ice);
    box-shadow: 0 0 8px rgba(79,195,247,0.7);
    animation: sf-scrollDot 1.8s ease-in-out infinite;
}

@keyframes sf-scrollDot {
    0%   { transform: translateY(0); opacity: 1; }
    70%  { transform: translateY(10px); opacity: 0; }
    100% { transform: translateY(0); opacity: 0; }
}

@media (max-width: 640px) {
    .sf-hero__scroll { display: none; }
}

/* ── Slider dots ── */
.sf-hero__dots {
    display: flex;
    gap: 10px;
    justify-content: center;
    padding: 1.25rem 0 0.75rem;
    position: absolute;
    bottom: 4.5rem;
    left: 0;
    right: 0;
    z-index: 5;
}

@media (max-width: 640px) {
    .sf-hero__dots { bottom: 1rem; }
}

.sf-hero__dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: rgba(179,229,252,0.25);
    border: 1px solid rgba(179,229,252,0.35);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.16,1,0.3,1);
    padding: 0;
    position: relative;
}
.sf-hero__dot:hover { background: rgba(79,195,247,0.55); }

.sf-hero__dot--active {
    width: 36px;
    border-radius: 10px;
    background: linear-gradient(90deg, var(--sf-ice), #B3E5FC, var(--sf-ice));
    background-size: 200% 100%;
    border-color: rgba(255,255,255,0.4);
    box-shadow:
        0 0 16px rgba(79,195,247,0.65),
        0 0 0 3px rgba(79,195,247,0.12);
    animation: sf-shimmer 4s linear infinite;
}

/* ── Slider arrows (premium glass) ── */
.sf-hero__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(11,29,58,0.45);
    backdrop-filter: blur(16px) saturate(1.4);
    -webkit-backdrop-filter: blur(16px) saturate(1.4);
    border: 1px solid rgba(179,229,252,0.25);
    color: #fff;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.16,1,0.3,1);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow:
        0 12px 40px rgba(0,0,0,0.45),
        inset 0 1px 0 rgba(255,255,255,0.1);
}

.sf-hero__arrow::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 50%;
    background: conic-gradient(from 0deg, transparent, rgba(79,195,247,0.55), transparent 30%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
    animation: sf-rotate 4s linear infinite;
}

.sf-hero__arrow:hover {
    background: rgba(79,195,247,0.22);
    border-color: rgba(79,195,247,0.6);
    color: #fff;
    box-shadow:
        0 18px 50px rgba(79,195,247,0.35),
        inset 0 1px 0 rgba(255,255,255,0.18);
}
.sf-hero__arrow:hover::before { opacity: 1; }

.sf-hero__arrow--prev { left: 22px; }
.sf-hero__arrow--next { right: 22px; }
.sf-hero__arrow--prev:hover { transform: translateY(-50%) translateX(-3px); }
.sf-hero__arrow--next:hover { transform: translateY(-50%) translateX(3px); }

@media (max-width: 640px) {
    .sf-hero__arrow { display: none; }
}

/* ── Hero animations ── */
@keyframes sf-heroFadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes sf-snowSpin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

@keyframes sf-rotate {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

/* ── Parallax Divider ── */
.sf-parallax-divider {
    position: relative;
    height: 200px;
    overflow: hidden;
    margin: -1px 0;
}

@media (min-width: 768px) {
    .sf-parallax-divider { height: 300px; }
}

.sf-parallax-bg {
    position: absolute;
    inset: -60px 0;
    background:
        radial-gradient(ellipse 600px 300px at 30% 50%, rgba(79, 195, 247, 0.12) 0%, transparent 70%),
        radial-gradient(ellipse 500px 250px at 70% 60%, rgba(100, 181, 246, 0.08) 0%, transparent 70%),
        linear-gradient(180deg, var(--sf-navy) 0%, var(--sf-deep) 100%);
    will-change: transform;
}

/* Floating ice particles in parallax */
.sf-ice-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(79, 195, 247, 0.3);
    border-radius: 50%;
    animation: sf-float 8s infinite ease-in-out;
}

.sf-ice-particle:nth-child(2) { width: 6px; height: 6px; left: 20%; top: 30%; animation-delay: -2s; animation-duration: 10s; }
.sf-ice-particle:nth-child(3) { width: 3px; height: 3px; left: 50%; top: 50%; animation-delay: -4s; animation-duration: 7s; }
.sf-ice-particle:nth-child(4) { width: 5px; height: 5px; left: 75%; top: 20%; animation-delay: -1s; animation-duration: 9s; }
.sf-ice-particle:nth-child(5) { width: 4px; height: 4px; left: 90%; top: 60%; animation-delay: -3s; animation-duration: 11s; }
.sf-ice-particle:nth-child(6) { width: 7px; height: 7px; left: 35%; top: 70%; animation-delay: -5s; animation-duration: 12s; background: rgba(79,195,247,0.15); }

.sf-parallax-text {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    text-align: center;
    padding: 0 1.5rem;
}

.sf-parallax-text h2 {
    font-family: var(--sf-font);
    font-weight: 800;
    font-size: clamp(1.2rem, 3vw, 2rem);
    color: #fff;
    letter-spacing: 0.08em;
    margin-bottom: 0.5rem;
}

.sf-parallax-text p {
    font-family: var(--sf-font);
    font-weight: 300;
    font-size: 0.85rem;
    color: var(--sf-ice-light);
    opacity: 0.6;
    max-width: 500px;
}

/* ── Section Headers ── */
.sf-section {
    position: relative;
    z-index: 2;
    padding: 2rem 1rem;
}

@media (min-width: 768px) {
    .sf-section { padding: 3rem 2rem; }
}

.sf-section-title {
    font-family: var(--sf-font);
    font-weight: 800;
    font-size: clamp(1.3rem, 3vw, 1.8rem);
    color: #fff;
    text-align: center;
    margin-bottom: 0.25rem;
    letter-spacing: 0.02em;
}

.sf-section-subtitle {
    font-family: var(--sf-font);
    font-weight: 400;
    font-size: 0.85rem;
    color: var(--sf-ice-light);
    text-align: center;
    opacity: 0.5;
    margin-bottom: 2rem;
}

/* ── Package Cards ── */
.sf-packages-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    max-width: 1000px;
    margin: 0 auto;
}

@media (min-width: 640px) {
    .sf-packages-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
    .sf-packages-grid { grid-template-columns: repeat(3, 1fr); }
}

.sf-pkg-card {
    position: relative;
    background: linear-gradient(160deg, rgba(11, 29, 58, 0.8) 0%, rgba(15, 37, 71, 0.6) 100%);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--sf-frost-border);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.sf-pkg-card:hover {
    transform: translateY(-6px);
    border-color: rgba(79, 195, 247, 0.25);
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.3),
        0 0 40px rgba(79, 195, 247, 0.08);
}

.sf-pkg-card__img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-bottom: 1px solid var(--sf-frost-border);
}

.sf-pkg-card__body {
    padding: 1.25rem;
}

.sf-pkg-card__name {
    font-family: var(--sf-font);
    font-weight: 700;
    font-size: 1.05rem;
    color: #fff;
    margin-bottom: 0.25rem;
}

.sf-pkg-card__desc {
    font-family: var(--sf-font);
    font-weight: 400;
    font-size: 0.78rem;
    color: var(--sf-ice-light);
    opacity: 0.5;
    margin-bottom: 0.85rem;
    line-height: 1.4;
}

.sf-pkg-card__players {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
    background: rgba(79, 195, 247, 0.10);
    border: 1px solid rgba(79, 195, 247, 0.22);
    font-family: var(--sf-font);
    font-weight: 600;
    font-size: 0.7rem;
    color: var(--sf-ice);
    margin-bottom: 0.85rem;
    letter-spacing: 0.02em;
}

.sf-pkg-card__players i {
    font-size: 0.75rem;
    opacity: 0.85;
}

.sf-pkg-card__locations {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin: 0.55rem 0 0.85rem;
    font-family: var(--sf-font);
}

.sf-pkg-card__locations-icon {
    color: rgba(129, 212, 250, 0.85);
    font-size: 0.78rem;
    margin-inline-end: 2px;
}

.sf-pkg-card__location-chip {
    display: inline-flex;
    align-items: center;
    padding: 0.22rem 0.6rem;
    border-radius: 999px;
    background: rgba(79, 195, 247, 0.08);
    border: 1px solid rgba(79, 195, 247, 0.22);
    color: #B3E5FC;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    line-height: 1.3;
}

.sf-pkg-card__location-chip--all {
    background: rgba(79, 195, 247, 0.05);
    border-style: dashed;
    color: rgba(179, 229, 252, 0.85);
}

.sf-pkg-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.sf-pkg-card__price {
    font-family: var(--sf-font);
    font-weight: 800;
    font-size: 1.3rem;
    color: var(--sf-ice);
}

.sf-pkg-card__price small {
    font-weight: 400;
    font-size: 0.7rem;
    color: var(--sf-ice-light);
    opacity: 0.5;
}

.sf-pkg-card__btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0.5rem 1.2rem;
    border-radius: 12px;
    font-family: var(--sf-font);
    font-weight: 600;
    font-size: 0.8rem;
    color: #fff;
    background: linear-gradient(135deg, #1565C0, var(--sf-ice));
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 4px 16px rgba(79, 195, 247, 0.2);
}

.sf-pkg-card__btn:hover {
    box-shadow: 0 6px 24px rgba(79, 195, 247, 0.35);
    transform: translateY(-1px);
}

/* ── Membership Tiers ── */
.sf-tiers-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    max-width: 1000px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .sf-tiers-grid { grid-template-columns: repeat(3, 1fr); }
}

.sf-tier-card {
    position: relative;
    border-radius: 24px;
    padding: 1.75rem 1.5rem;
    text-align: center;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.sf-tier-card:hover {
    transform: translateY(-8px) scale(1.02);
}

/* Gold Tier */
.sf-tier--gold {
    background: linear-gradient(160deg, rgba(255, 213, 79, 0.12) 0%, rgba(249, 168, 37, 0.06) 100%);
    border: 1px solid rgba(255, 213, 79, 0.2);
    box-shadow: 0 8px 32px rgba(255, 213, 79, 0.06);
}

.sf-tier--gold:hover {
    border-color: rgba(255, 213, 79, 0.4);
    box-shadow: 0 20px 60px rgba(255, 213, 79, 0.12), 0 0 40px rgba(255, 213, 79, 0.06);
}

.sf-tier--gold .sf-tier__icon { color: var(--sf-gold); }
.sf-tier--gold .sf-tier__name { color: var(--sf-gold); }
.sf-tier--gold .sf-tier__price { color: var(--sf-gold); }
.sf-tier--gold .sf-tier__btn { background: linear-gradient(135deg, var(--sf-gold-dark), var(--sf-gold)); color: #1a1a00; }

/* Silver Tier */
.sf-tier--silver {
    background: linear-gradient(160deg, rgba(176, 190, 197, 0.10) 0%, rgba(120, 144, 156, 0.05) 100%);
    border: 1px solid rgba(176, 190, 197, 0.18);
    box-shadow: 0 8px 32px rgba(176, 190, 197, 0.04);
}

.sf-tier--silver:hover {
    border-color: rgba(176, 190, 197, 0.35);
    box-shadow: 0 20px 60px rgba(176, 190, 197, 0.1), 0 0 40px rgba(176, 190, 197, 0.05);
}

.sf-tier--silver .sf-tier__icon { color: var(--sf-silver); }
.sf-tier--silver .sf-tier__name { color: var(--sf-silver); }
.sf-tier--silver .sf-tier__price { color: var(--sf-silver); }
.sf-tier--silver .sf-tier__btn { background: linear-gradient(135deg, var(--sf-silver-dark), var(--sf-silver)); color: #1a1a2e; }

/* Bronze Tier */
.sf-tier--bronze {
    background: linear-gradient(160deg, rgba(255, 171, 145, 0.10) 0%, rgba(230, 74, 25, 0.05) 100%);
    border: 1px solid rgba(255, 171, 145, 0.18);
    box-shadow: 0 8px 32px rgba(255, 171, 145, 0.04);
}

.sf-tier--bronze:hover {
    border-color: rgba(255, 171, 145, 0.35);
    box-shadow: 0 20px 60px rgba(255, 171, 145, 0.1), 0 0 40px rgba(255, 171, 145, 0.05);
}

.sf-tier--bronze .sf-tier__icon { color: var(--sf-bronze); }
.sf-tier--bronze .sf-tier__name { color: var(--sf-bronze); }
.sf-tier--bronze .sf-tier__price { color: var(--sf-bronze); }
.sf-tier--bronze .sf-tier__btn { background: linear-gradient(135deg, var(--sf-bronze-dark), var(--sf-bronze)); color: #1a0a00; }

/* Shared Tier styles */
.sf-tier__icon {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.2));
}

.sf-tier__name {
    font-family: var(--sf-font);
    font-weight: 800;
    font-size: 1.1rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 0.25rem;
}

.sf-tier__tagline {
    font-family: var(--sf-font);
    font-weight: 400;
    font-size: 0.75rem;
    color: rgba(179, 229, 252, 0.4);
    margin-bottom: 1.25rem;
}

.sf-tier__price {
    font-family: var(--sf-font);
    font-weight: 900;
    font-size: 2.2rem;
    line-height: 1;
    margin-bottom: 0.25rem;
}

.sf-tier__price-period {
    font-family: var(--sf-font);
    font-weight: 400;
    font-size: 0.7rem;
    color: rgba(179, 229, 252, 0.4);
    margin-bottom: 1.5rem;
    display: block;
}

.sf-tier__features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
    font-family: var(--sf-font);
    font-size: 0.8rem;
    color: var(--sf-ice-light);
    opacity: 0.7;
    line-height: 2;
}

.sf-tier__features li::before {
    content: '✦ ';
    opacity: 0.5;
}

.sf-tier__btn {
    display: inline-block;
    padding: 0.7rem 2rem;
    border-radius: 14px;
    font-family: var(--sf-font);
    font-weight: 700;
    font-size: 0.85rem;
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.sf-tier__btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

/* ── Reveal / Scroll Animation ── */
.sf-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.sf-reveal.sf-show {
    opacity: 1;
    transform: translateY(0);
}

.sf-reveal-delay-1 { transition-delay: 0.1s; }
.sf-reveal-delay-2 { transition-delay: 0.2s; }
.sf-reveal-delay-3 { transition-delay: 0.3s; }
.sf-reveal-delay-4 { transition-delay: 0.4s; }
.sf-reveal-delay-5 { transition-delay: 0.5s; }

/* ── Keyframes ── */
@keyframes sf-fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes sf-float {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.3; }
    25% { transform: translate(10px, -20px) scale(1.2); opacity: 0.6; }
    50% { transform: translate(-5px, -40px) scale(0.8); opacity: 0.4; }
    75% { transform: translate(15px, -20px) scale(1.1); opacity: 0.5; }
}

@keyframes sf-shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

/* ── Aurora glow behind sections ── */
.sf-aurora {
    position: absolute;
    width: 100%;
    height: 400px;
    top: -100px;
    left: 0;
    background:
        radial-gradient(ellipse 600px 200px at 30% 50%, rgba(79, 195, 247, 0.06) 0%, transparent 70%),
        radial-gradient(ellipse 400px 150px at 70% 40%, rgba(100, 181, 246, 0.04) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

/* ── Scrollbar (for browsers that show it) ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--sf-navy); }
::-webkit-scrollbar-thumb { background: rgba(79, 195, 247, 0.2); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(79, 195, 247, 0.3); }

/* ── Home title overrides ── */
.home-title {
    color: #fff !important;
    font-family: var(--sf-font) !important;
}

.home-subtitle {
    color: var(--sf-ice-light) !important;
    opacity: 0.5 !important;
    font-family: var(--sf-font) !important;
}

/* ── Glassmorphism utility ── */
.sf-glass {
    background: rgba(11, 29, 58, 0.5);
    backdrop-filter: blur(20px) saturate(1.3);
    -webkit-backdrop-filter: blur(20px) saturate(1.3);
    border: 1px solid var(--sf-frost-border);
}

/* =========================================================
   ✦  PREMIUM v2 — 2026 ULTRA SECTIONS
   ========================================================= */

/* ═══ Cursor Spotlight (mouse-follow glow) ═══ */
.sf-spotlight {
    position: fixed;
    top: 0;
    left: 0;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(79,195,247,0.10) 0%, rgba(79,195,247,0.04) 30%, transparent 70%);
    pointer-events: none;
    z-index: 2;
    transform: translate(-50%, -50%);
    transition: transform 0.15s ease-out;
    mix-blend-mode: screen;
    will-change: transform;
}

@media (max-width: 768px) {
    .sf-spotlight { display: none; }
}

/* ═══ Marquee Strip ═══ */
.sf-marquee {
    position: relative;
    overflow: hidden;
    padding: 1.5rem 0;
    background: linear-gradient(90deg, transparent 0%, rgba(79,195,247,0.04) 50%, transparent 100%);
    border-top: 1px solid rgba(79,195,247,0.08);
    border-bottom: 1px solid rgba(79,195,247,0.08);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.sf-marquee__track {
    display: flex;
    gap: 3rem;
    width: max-content;
    animation: sf-marquee 30s linear infinite;
}

.sf-marquee__item {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    font-family: var(--sf-font-display);
    font-weight: 900;
    font-size: clamp(1.5rem, 4vw, 3rem);
    color: transparent;
    -webkit-text-stroke: 1px rgba(139,184,217,0.4);
    text-stroke: 1px rgba(139,184,217,0.4);
    white-space: nowrap;
    letter-spacing: -0.02em;
    transition: all 0.3s ease;
}

.sf-marquee__item:hover {
    color: #4FC3F7;
    -webkit-text-stroke: 1px transparent;
}

.sf-marquee__item .sf-marquee__sep {
    color: var(--sf-ice);
    font-size: 0.6em;
    -webkit-text-stroke: 0;
    opacity: 0.8;
}

@keyframes sf-marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* ═══ Stats Counter Section ═══ */
.sf-stats {
    position: relative;
    padding: 3rem 1rem;
    z-index: 2;
}

.sf-stats__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    max-width: 1100px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .sf-stats__grid { grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
}

.sf-stat {
    position: relative;
    padding: 1.75rem 1.25rem;
    text-align: center;
    background: linear-gradient(180deg, rgba(11,29,58,0.5) 0%, rgba(11,29,58,0.2) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(79,195,247,0.10);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.sf-stat::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(79,195,247,0.6), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.sf-stat:hover {
    transform: translateY(-6px);
    border-color: rgba(79,195,247,0.25);
    box-shadow: 0 20px 60px rgba(0,0,0,0.3), 0 0 40px rgba(79,195,247,0.08);
}

.sf-stat:hover::before { opacity: 1; }

.sf-stat__icon {
    font-size: 1.6rem;
    color: var(--sf-ice);
    margin-bottom: 0.5rem;
    opacity: 0.7;
}

.sf-stat__num {
    font-family: var(--sf-font-display);
    font-weight: 900;
    font-size: clamp(1.8rem, 5vw, 2.8rem);
    line-height: 1;
    background: linear-gradient(135deg, #fff 0%, var(--sf-ice) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.4rem;
}

.sf-stat__label {
    font-family: var(--sf-font);
    font-weight: 500;
    font-size: 0.75rem;
    color: var(--sf-ice-light);
    opacity: 0.6;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* ═══ Bento Grid — Experiences ═══ */
.sf-bento {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    max-width: 1100px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .sf-bento {
        grid-template-columns: repeat(4, 1fr);
        grid-auto-rows: 180px;
        gap: 1.25rem;
    }
}

.sf-bento__cell {
    position: relative;
    display: block;
    color: inherit;
    text-decoration: none;
    background: linear-gradient(160deg, rgba(11,29,58,0.7) 0%, rgba(15,37,71,0.5) 100%);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(79,195,247,0.12);
    border-radius: 24px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    min-height: 180px;
    isolation: isolate;
}

.sf-bento__cell::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle 200px at var(--mx, 50%) var(--my, 50%), rgba(79,195,247,0.15) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 1;
}

.sf-bento__cell:hover {
    transform: translateY(-4px);
    border-color: rgba(79,195,247,0.3);
    box-shadow: 0 24px 70px rgba(0,0,0,0.35), 0 0 50px rgba(79,195,247,0.1);
}

.sf-bento__cell:hover::after { opacity: 1; }

@media (min-width: 768px) {
    .sf-bento__cell--lg { grid-column: span 2; grid-row: span 2; }
    .sf-bento__cell--wide { grid-column: span 2; }
    .sf-bento__cell--tall { grid-row: span 2; }
}

.sf-bento__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.sf-bento__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 30%, rgba(6,14,26,0.85) 100%);
    z-index: 1;
}

.sf-bento__content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.25rem;
    z-index: 2;
}

.sf-bento__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: rgba(79,195,247,0.15);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(79,195,247,0.25);
    color: var(--sf-ice);
    font-size: 1rem;
    margin-bottom: 0.6rem;
}

.sf-bento__title {
    font-family: var(--sf-font);
    font-weight: 700;
    font-size: 1.05rem;
    color: #fff;
    margin-bottom: 0.2rem;
}

.sf-bento__desc {
    font-family: var(--sf-font);
    font-weight: 400;
    font-size: 0.75rem;
    color: rgba(179, 229, 252, 0.55);
    line-height: 1.4;
}

.sf-bento__cell--lg .sf-bento__title { font-size: 1.5rem; }
.sf-bento__cell--lg .sf-bento__desc { font-size: 0.85rem; }

/* ═══ Section: Why SnowyForest ═══ */
.sf-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    max-width: 1100px;
    margin: 0 auto;
}

@media (min-width: 640px) {
    .sf-features { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
    .sf-features { grid-template-columns: repeat(3, 1fr); }
}

.sf-feature {
    position: relative;
    padding: 2rem 1.5rem;
    background: linear-gradient(180deg, rgba(11,29,58,0.6) 0%, rgba(11,29,58,0.3) 100%);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(79,195,247,0.10);
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    isolation: isolate;
}

.sf-feature::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent 0%, rgba(79,195,247,0.08) 25%, transparent 50%);
    animation: sf-rotate 8s linear infinite;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.sf-feature:hover {
    transform: translateY(-8px);
    border-color: rgba(79,195,247,0.35);
    box-shadow: 0 28px 80px rgba(0,0,0,0.35), 0 0 60px rgba(79,195,247,0.12);
}

.sf-feature:hover::before { opacity: 1; }

.sf-feature__num {
    font-family: var(--sf-font-display);
    font-weight: 900;
    font-size: 4.5rem;
    line-height: 0.85;
    background: linear-gradient(135deg, rgba(79,195,247,0.4) 0%, rgba(79,195,247,0.05) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: absolute;
    top: 1rem;
    right: 1.25rem;
    pointer-events: none;
    transition: all 0.4s ease;
}

.sf-feature:hover .sf-feature__num {
    background: linear-gradient(135deg, rgba(79,195,247,0.7) 0%, rgba(79,195,247,0.2) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    transform: scale(1.05);
}

.sf-feature__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(79,195,247,0.15), rgba(21,101,192,0.1));
    border: 1px solid rgba(79,195,247,0.2);
    color: var(--sf-ice);
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
    box-shadow: 0 8px 24px rgba(79,195,247,0.1);
}

.sf-feature__title {
    font-family: var(--sf-font);
    font-weight: 700;
    font-size: 1.15rem;
    color: #fff;
    margin-bottom: 0.5rem;
}

.sf-feature__desc {
    font-family: var(--sf-font);
    font-weight: 400;
    font-size: 0.85rem;
    color: rgba(179, 229, 252, 0.6);
    line-height: 1.6;
}

@keyframes sf-rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ═══ Section Title Variants ═══ */
.sf-section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    border-radius: 999px;
    background: rgba(79,195,247,0.08);
    border: 1px solid rgba(79,195,247,0.18);
    font-family: var(--sf-font);
    font-weight: 500;
    font-size: 0.7rem;
    color: var(--sf-ice);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 1rem;
}

.sf-section-eyebrow::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--sf-ice);
    box-shadow: 0 0 8px var(--sf-ice);
    animation: sf-pulse 2s ease-in-out infinite;
}

@keyframes sf-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(1.3); }
}

.sf-section-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.sf-section-display {
    font-family: var(--sf-font-display);
    font-weight: 900;
    font-size: clamp(1.8rem, 4.5vw, 3rem);
    line-height: 1.1;
    color: #fff;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.sf-section-display em {
    font-style: italic;
    background: linear-gradient(135deg, var(--sf-ice) 0%, #81D4FA 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.sf-section-lead {
    font-family: var(--sf-font);
    font-weight: 400;
    font-size: 0.95rem;
    color: rgba(179, 229, 252, 0.55);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ═══ CTA Section ═══ */
.sf-cta {
    position: relative;
    margin: 3rem 1rem;
    padding: 3rem 1.5rem;
    text-align: center;
    border-radius: 32px;
    background: linear-gradient(160deg, rgba(21,101,192,0.18) 0%, rgba(11,29,58,0.6) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(79,195,247,0.18);
    overflow: hidden;
    z-index: 2;
}

@media (min-width: 768px) {
    .sf-cta { padding: 5rem 2rem; margin: 4rem auto; max-width: 1100px; }
}

.sf-cta__bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle 400px at 20% 20%, rgba(79,195,247,0.15) 0%, transparent 60%),
        radial-gradient(circle 300px at 80% 80%, rgba(100,181,246,0.10) 0%, transparent 60%);
    z-index: 0;
}

.sf-cta__content {
    position: relative;
    z-index: 1;
}

.sf-cta__title {
    font-family: var(--sf-font-display);
    font-weight: 900;
    font-size: clamp(2rem, 6vw, 4rem);
    line-height: 1;
    color: #fff;
    margin-bottom: 1rem;
    letter-spacing: -0.03em;
}

.sf-cta__title em {
    font-style: italic;
    background: linear-gradient(135deg, var(--sf-ice) 0%, #B3E5FC 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.sf-cta__sub {
    font-family: var(--sf-font);
    font-weight: 400;
    font-size: 1rem;
    color: rgba(179, 229, 252, 0.7);
    max-width: 560px;
    margin: 0 auto 2rem;
    line-height: 1.6;
}

.sf-magnetic-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2.5rem;
    font-family: var(--sf-font);
    font-weight: 700;
    font-size: 0.95rem;
    color: #061027;
    background: linear-gradient(135deg, #fff 0%, #B3E5FC 100%);
    border: none;
    border-radius: 999px;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 12px 40px rgba(79,195,247,0.3), 0 0 0 0 rgba(79,195,247,0.5);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.sf-magnetic-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 20px 60px rgba(79,195,247,0.4), 0 0 0 8px rgba(79,195,247,0.1);
}

.sf-magnetic-btn i {
    transition: transform 0.3s ease;
}

.sf-magnetic-btn:hover i {
    transform: translateX(4px);
}

/* ═══ SVG wave divider ═══ */
.sf-wave {
    position: relative;
    width: 100%;
    height: 60px;
    overflow: hidden;
    margin: -1px 0;
}

.sf-wave svg {
    position: absolute;
    width: 100%;
    height: 100%;
}

/* ═══ Testimonial Marquee ═══ */
.sf-testimonials {
    position: relative;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    padding: 1rem 0;
}

.sf-testimonials__track {
    display: flex;
    gap: 1.25rem;
    width: max-content;
    animation: sf-marquee 50s linear infinite;
}

.sf-testimonials__track:hover { animation-play-state: paused; }

.sf-quote {
    flex-shrink: 0;
    width: 320px;
    padding: 1.5rem;
    background: linear-gradient(180deg, rgba(11,29,58,0.6) 0%, rgba(11,29,58,0.3) 100%);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(79,195,247,0.12);
    border-radius: 20px;
}

.sf-quote__stars {
    color: var(--sf-gold);
    font-size: 0.85rem;
    margin-bottom: 0.75rem;
    letter-spacing: 2px;
}

.sf-quote__text {
    font-family: var(--sf-font);
    font-weight: 400;
    font-size: 0.85rem;
    color: var(--sf-ice-light);
    line-height: 1.6;
    margin-bottom: 1rem;
    opacity: 0.85;
}

.sf-quote__author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.sf-quote__avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1565C0, #4FC3F7);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--sf-font);
    font-weight: 700;
    color: #fff;
    font-size: 0.85rem;
}

.sf-quote__name {
    font-family: var(--sf-font);
    font-weight: 600;
    font-size: 0.85rem;
    color: #fff;
    line-height: 1.2;
}

.sf-quote__meta {
    font-family: var(--sf-font);
    font-weight: 400;
    font-size: 0.7rem;
    color: rgba(179, 229, 252, 0.5);
}

/* ═══ Floating Brand Mark ═══ */
.sf-floating-mark {
    position: absolute;
    pointer-events: none;
    opacity: 0.04;
    animation: sf-float-slow 20s ease-in-out infinite;
}

@keyframes sf-float-slow {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(20px, -30px) rotate(10deg); }
    66% { transform: translate(-15px, 20px) rotate(-5deg); }
}

/* (Legacy duplicate hero rules removed — premium hero defined above.) */

/* ═══ 3D Tilt cards ═══ */
.sf-tilt {
    transform-style: preserve-3d;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ═══ Number counter style ═══ */
[data-counter] {
    display: inline-block;
}

/* ═══ Section spacing ═══ */
.sf-section--lg {
    padding: 4rem 1rem;
}

@media (min-width: 768px) {
    .sf-section--lg { padding: 6rem 2rem; }
}

/* ═══ Background grid pattern ═══ */
.sf-grid-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(79,195,247,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(79,195,247,0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 70%);
    mask-image: radial-gradient(ellipse at center, #000 30%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

/* ═══ Glow text ═══ */
.sf-glow-text {
    text-shadow: 0 0 20px rgba(79,195,247,0.4);
}

/* ═══ Ribbon Badge ═══ */
.sf-ribbon {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 0.3rem 0.75rem;
    border-radius: 999px;
    font-family: var(--sf-font);
    font-weight: 700;
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    background: linear-gradient(135deg, var(--sf-gold-dark), var(--sf-gold));
    color: #1a1a00;
    box-shadow: 0 6px 20px rgba(255,213,79,0.3);
    z-index: 5;
}

.sf-ribbon--ice {
    background: linear-gradient(135deg, #1565C0, #4FC3F7);
    color: #fff;
    box-shadow: 0 6px 20px rgba(79,195,247,0.3);
}



/* ═══ Tighten the Packages ↔ Memberships seam ═══ */
#packages.sf-section--lg     { padding-bottom: 1.25rem; }
#memberships.sf-section--lg  { padding-top: 1.25rem; }
#memberships .membership-section {
    padding-top: 0.5rem;
    padding-bottom: 1rem;
}

@media (min-width: 768px) {
    #packages.sf-section--lg     { padding-bottom: 2rem; }
    #memberships.sf-section--lg  { padding-top: 2rem; }
    #memberships .membership-section {
        padding-top: 1rem;
        padding-bottom: 1.5rem;
    }
}


/* ═══ Hero looping background video ═══ */
.sf-hero__video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;            /* sits above the static slide image */
    pointer-events: none;
    background: #060E1A;   /* dark fallback while loading */
}

/* Lift overlay layers above the video so the gradient/vignette/grain still paint over it */
.sf-hero__overlay,
.sf-hero__vignette  { z-index: 2; }
.sf-hero__grain     { z-index: 2; }
.sf-hero__snow      { z-index: 3; }
.sf-hero__content   { z-index: 5; }

@media (prefers-reduced-motion: reduce) {
    .sf-hero__video { display: none; }
}

/* =========================================================
   RTL safety: keep stat boxes, section headers, package and
   membership grids centered when language is Arabic. These
   rules use logical properties so they work in both LTR/RTL,
   and override any direction-induced drift.
   ========================================================= */
html[dir="rtl"] .sf-stats__grid,
html[dir="rtl"] .sf-packages-grid,
html[dir="rtl"] .sf-tiers-grid,
html[dir="rtl"] .sf-section-lead {
    margin-inline: auto;
}

html[dir="rtl"] .sf-section-header {
    text-align: center;
    margin-inline: auto;
}

html[dir="rtl"] .sf-section-display,
html[dir="rtl"] .sf-section-eyebrow,
html[dir="rtl"] .sf-section-lead {
    text-align: center;
}
