/* =========================================
   SERVED SOCIALS GLOBAL STYLES
   assets/style.css
========================================= */

:root {
    --bg-base: #070B14;
    --fg: #F5F5F7;
    --accent: #D49A4A;
    --font-display: 'Terra', 'Inter Tight', sans-serif;
    --font-mono: 'Space Mono', monospace;
    --ease-fluid: cubic-bezier(0.25, 1, 0.5, 1);
    --ease-cinematic: cubic-bezier(0.83, 0, 0.17, 1);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html, body { max-width: 100%; overflow-x: hidden; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
    background: var(--bg-base);
    color: var(--fg);
    font-family: var(--font-mono);
    -webkit-font-smoothing: antialiased;
}

::selection { background: var(--accent); color: var(--bg-base); }

/* ── LOADER & TRANSITIONS ── */
#loader {
    position: fixed; inset: 0; background: var(--bg-base); z-index: 999999;
    display: none; /* CHANGED TO NONE TO FIX THE 0% FLASH GLITCH */
    align-items: center; justify-content: center;
    color: var(--fg); font-family: var(--font-mono); font-size: clamp(2rem, 5vw, 4rem);
    pointer-events: none;
}

#main-curtain {
    position: fixed; top: -110vh; left: 0; width: 100vw; height: 110vh; 
    background: var(--bg-base); z-index: 90000; pointer-events: none; 
    will-change: top; 
}

#transition-cursor {
    position: fixed; top: 0; left: 50%; transform: translateX(-50%);
    width: 40px; height: 40px; color: var(--accent);
    z-index: 90001; pointer-events: none; opacity: 0;
    display: flex; align-items: center; justify-content: center;
    will-change: transform, opacity;
}

/* ── AMBIENT BACKGROUND & OVERLAYS ── */
#liquid-bg { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }

.blob { 
    position: absolute; border-radius: 50%; 
    filter: blur(40px); 
    transform: translateZ(0); 
    backface-visibility: hidden;
    animation: float 20s infinite alternate ease-in-out; 
}
.blob-1 { width: 70vw; height: 70vw; background: rgba(21, 50, 80, 0.5); top: -20%; left: -10%; }
.blob-2 { width: 80vw; height: 80vw; background: rgba(14, 25, 45, 0.8); top: 30%; right: -20%; animation-delay: -5s; }
.blob-3 { width: 100vw; height: 100vw; background: rgba(212, 154, 74, 0.15); bottom: -60%; left: 0%; opacity: 0.1; }

#glass-overlay {
    position: fixed; inset: 0; z-index: 1; pointer-events: none;
    background: rgba(7, 11, 20, 0.6); 
    backdrop-filter: blur(20px); 
    -webkit-backdrop-filter: blur(20px);
    transform: translateZ(0);
}

#floating-elements {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; overflow: hidden;
    mask-image: linear-gradient(to bottom, black 0%, black 85%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 0%, black 85%, transparent 100%);
}
.float-el { position: absolute; color: var(--fg); opacity: 0.03; width: 8vw; max-width: 120px; mix-blend-mode: overlay; }
.f-1 { top: 5%; left: 8%; } .f-2 { top: 8%; right: 12%; }

@keyframes float { 0% { transform: translate(0, 0) scale(1) translateZ(0); } 50% { transform: translate(5vw, 5vh) scale(1.05) translateZ(0); } 100% { transform: translate(-5vw, -2vh) scale(0.95) translateZ(0); } }

/* ── NAVIGATION ── */
nav {
    position: fixed; top: 40px; left: 40px; right: 40px; display: flex; justify-content: space-between;
    z-index: 10000; font-size: 11px; text-transform: uppercase; letter-spacing: 0.15em;
    color: var(--fg); mix-blend-mode: difference;
}
.nav-links-right { display: flex; gap: 30px; }
.nav-link { pointer-events: auto; text-decoration: none; color: inherit; transition: opacity 0.3s; }
.nav-link:hover, .nav-link.active { opacity: 0.5; }

.logo-text-bold { font-family: var(--font-display); font-weight: 700; font-style: italic; fill: var(--fg); font-size: 80px; letter-spacing: -0.02em; text-transform: lowercase; }
.logo-text-light { font-family: var(--font-display); font-weight: 400; fill: var(--fg); font-size: 80px; letter-spacing: -0.02em; text-transform: lowercase; }
.logo-cursor { fill: var(--fg); stroke: var(--bg-base); stroke-width: 2px; }

.content-wrapper { position: relative; z-index: 10; }

/* ── HOME SPECIFICS ── */
#video-bg-container { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; z-index: 0; overflow: hidden; pointer-events: none; }
#hero-video { width: 100%; height: 100%; object-fit: cover; opacity: 0.35; }
#video-overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(7, 11, 20, 0) 50%, var(--bg-base) 100%); }

.hero { height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; position: relative; z-index: 10; }
.hero-inner { text-align: center; mix-blend-mode: difference; display: flex; flex-direction: column; align-items: center;}
#hero-logo { width: 90vw; max-width: 700px; height: auto; overflow: visible; margin-bottom: 2vh; }
.htag { font-size: 11px; opacity: 0; text-transform: uppercase; line-height: 1.8; letter-spacing: 0.15em; margin-top: 2vh; transform: translateY(20px); }

.story-sec { padding: 150px 5vw 150px; max-width: 1800px; margin: 0 auto; width: 100%; overflow-x: hidden; }
.mission-wrapper { margin-top: 50px; max-width: 1400px; margin-left: auto; margin-right: auto; text-align: center; display: flex; flex-direction: column; align-items: center; }
.story-desc { display: flex; flex-direction: column; justify-content: center; align-items: center; }
.desc-text-large { font-family: var(--font-display); font-size: clamp(2.5rem, 5vw, 6rem); line-height: 1.15; font-weight: 400; letter-spacing: -0.02em; margin-top: 20px; color: var(--fg); }
.desc-highlight { font-style: italic; color: var(--accent); }
.m-word { opacity: 0; filter: blur(12px); transform: translateY(30px); display: inline-block; margin: 0 6px; }

.reviews-sec { padding: 0 5vw 150px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 3vw; max-width: 1800px; margin: 0 auto; width: 100%; overflow-x: hidden; }
.review-card { background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.05); border-radius: 24px; padding: 40px; display: flex; flex-direction: column; backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); transition: transform 0.4s ease, background 0.4s ease; transform: translateZ(0);}
.review-card:hover { transform: translateY(-5px); background: rgba(255, 255, 255, 0.05); }
.quote-mark { font-family: var(--font-display); font-size: 60px; color: var(--accent); line-height: 0.5; margin-bottom: 20px; font-style: italic; opacity: 0.8;}
.review-text { font-family: var(--font-display); font-size: clamp(1.2rem, 1.5vw, 1.8rem); line-height: 1.4; opacity: 0.9; margin-bottom: 40px; flex-grow: 1; letter-spacing: -0.01em;}
.review-author { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.15em; opacity: 0.7; color: var(--accent);}

.home-snippets { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4vw; padding: 50px 5vw 150px; max-width: 1200px; margin: 0 auto; width: 100%; overflow: hidden;}
.snippet-col { display: flex; flex-direction: column; }
.snippet-col.col-2 { margin-top: 80px; }
.snippet-img { width: 100%; height: auto; aspect-ratio: 3/4; object-fit: cover; border-radius: 16px; opacity: 0.8; transition: opacity 0.5s ease, filter 0.5s ease; filter: grayscale(30%); }
.snippet-img:hover { opacity: 1; filter: grayscale(0%); }

.gallery-teaser { padding: 150px 5vw 200px; border-top: 1px solid rgba(255,255,255,0.05); overflow: hidden; }
.gallery-teaser-wrapper { display: flex; align-items: center; justify-content: space-between; max-width: 1400px; margin: 0 auto; gap: 4vw; flex-wrap: wrap; }
.teaser-content { flex: 1; min-width: 300px; text-align: left; }
.teaser-title { font-family: var(--font-display); font-size: clamp(3.5rem, 5vw, 6.5rem); line-height: 0.95; text-transform: uppercase; color: var(--fg); font-weight: 500; letter-spacing: -0.02em; margin-bottom: 30px;}

.teaser-cluster { flex: 1.5; display: flex; align-items: center; justify-content: center; position: relative; height: 450px; min-width: 300px; }
.t-img { position: absolute; border-radius: 16px; object-fit: cover; box-shadow: 0 30px 60px rgba(0,0,0,0.6); border: 1px solid rgba(255,255,255,0.1); transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1); filter: grayscale(20%); }
.t-img:hover { filter: grayscale(0%); cursor: pointer; }
.t-img.i1 { width: 180px; height: 240px; left: 0%; top: 50%; transform: translateY(-50%) rotate(-6deg); z-index: 1; }
.t-img.i1:hover { transform: translateY(-60%) rotate(-2deg) scale(1.05); z-index: 10; }
.t-img.i2 { width: 200px; height: 200px; left: 25%; bottom: 10%; transform: rotate(4deg); z-index: 2; }
.t-img.i2:hover { transform: translateY(-10px) rotate(0deg) scale(1.05); z-index: 10; }
.t-img.i3 { width: 240px; height: 320px; left: 40%; top: 5%; transform: rotate(-2deg); z-index: 3; }
.t-img.i3:hover { transform: translateY(-10px) rotate(0deg) scale(1.05); z-index: 10; }
.t-img.i4 { width: 160px; height: 160px; right: 15%; top: 15%; transform: rotate(8deg); z-index: 1; }
.t-img.i4:hover { transform: translateY(-10px) rotate(0deg) scale(1.05); z-index: 10; }
.t-img.i5 { width: 190px; height: 260px; right: 0%; bottom: 15%; transform: rotate(-5deg); z-index: 2; }
.t-img.i5:hover { transform: translateY(-10px) rotate(0deg) scale(1.05); z-index: 10; }

.section-label { padding: 80px 5vw 40px; font-size: 11px; opacity: 0.6; text-transform: uppercase; letter-spacing: 0.2em; max-width: 1800px; margin: 0 auto; mix-blend-mode: difference;}

/* ── INNER PAGES (GALLERY & MENU) ── */
.page-header { padding: 250px 5vw 100px; text-align: center; max-width: 1400px; margin: 0 auto; }
.page-title { font-family: var(--font-display); font-size: clamp(3rem, 7vw, 8rem); line-height: 0.9; text-transform: uppercase; color: var(--fg); font-weight: 500; letter-spacing: -0.02em; }

.gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 3vw; padding: 0 5vw 150px; max-width: 1800px; margin: 0 auto; }
.gcard { aspect-ratio: 16/9; position: relative; overflow: hidden; border-radius: 12px; background: #000; pointer-events: auto; cursor: pointer; }
.gcard.stills { aspect-ratio: 3/4; }
.gcard-bg-wrap { position: absolute; inset: -35%; overflow: hidden; }
.gcard-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.6; transition: opacity 0.8s var(--ease-fluid), transform 1.2s var(--ease-fluid); transform: translateZ(0); }
.gcard:hover .gcard-bg { opacity: 1; transform: scale(1.05); }
.gcard-body { position: absolute; bottom: 40px; left: 40px; z-index: 2; pointer-events: none; mix-blend-mode: difference; }
.gcard-num { font-size: 11px; opacity: 0.8; margin-bottom: 10px; letter-spacing: 0.1em; color: var(--accent); font-family: var(--font-mono);}
.gcard-title { font-family: var(--font-display); font-size: clamp(1.5rem, 3vw, 3rem); line-height: 0.9; color: #fff; font-weight: 500; text-transform: uppercase;}

.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3vw; padding: 0 5vw 150px; max-width: 1400px; margin: 0 auto; }
.pricing-card { background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.05); border-radius: 24px; padding: 50px 40px; display: flex; flex-direction: column; backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); transition: transform 0.4s ease, border-color 0.4s ease; position: relative; transform: translateZ(0);}
.pricing-card.popular { border-color: rgba(212, 154, 74, 0.4); background: rgba(212, 154, 74, 0.03); transform: scale(1.02) translateZ(0); }
.popular-badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--accent); color: var(--bg-base); font-family: var(--font-mono); font-size: 10px; font-weight: 700; padding: 6px 16px; border-radius: 20px; text-transform: uppercase; letter-spacing: 0.15em; box-shadow: 0 10px 20px rgba(0,0,0,0.5); }
.pricing-tier { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.2em; color: var(--accent); margin-bottom: 15px; }
.pricing-name { font-family: var(--font-display); font-size: 3rem; color: var(--fg); margin-bottom: 20px; line-height: 1; letter-spacing: -0.02em;}
.pricing-desc { font-size: 14px; opacity: 0.7; margin-bottom: 40px; line-height: 1.5; font-family: var(--font-mono); min-height: 60px;}
.pricing-features { list-style: none; margin-bottom: 50px; flex-grow: 1; }
.pricing-features li { padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.05); font-size: 14px; opacity: 0.9; display: flex; gap: 10px; align-items: center;}
.pricing-features li::before { content: '✦'; color: var(--accent); font-size: 10px; }
.pricing-features li.excluded { opacity: 0.6; }
.pricing-features li.excluded::before { content: '—'; color: var(--fg); opacity: 0.7; }
.pricing-btn { background: rgba(255,255,255,0.05); color: var(--fg); border: 1px solid rgba(255,255,255,0.1); font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.2em; padding: 20px; border-radius: 30px; cursor: pointer; transition: all 0.3s ease; text-align: center; width: 100%; pointer-events: auto; display: block; text-decoration: none; }
.pricing-card.popular .pricing-btn { background: var(--fg); color: var(--bg-base); border-color: var(--fg); font-weight: 700;}
.pricing-btn:hover { background: var(--accent); color: var(--bg-base); border-color: var(--accent); }

#v-overlay { position: fixed; inset: 0; background: rgba(7,11,20,0.98); z-index: 200000; display: none; align-items: center; justify-content: center; backdrop-filter: blur(15px); opacity: 0; transition: opacity 0.5s var(--ease-cinematic); pointer-events: auto; }
#v-overlay.open { display: flex; opacity: 1; }
#v-frame { width: 85vw; max-width: 1400px; aspect-ratio: 16/9; border: none; border-radius: 12px; box-shadow: 0 30px 60px rgba(0,0,0,0.8);}
#v-close { position: absolute; top: 40px; right: 40px; font-size: 11px; opacity: 0.7; z-index: 200001; text-transform: uppercase; letter-spacing: 0.1em; cursor: pointer; transition: color 0.3s, opacity 0.3s;}
#v-close:hover { opacity: 1; color: var(--accent); }

/* ── CTA / CHATBOT ── */
.cta { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 150px 5vw 100px; pointer-events: auto; width: 100%; overflow-x: hidden; border-top: 1px solid rgba(255,255,255,0.05);}
#cta-title { font-family: var(--font-display); font-size: clamp(3rem, 6vw, 8rem); line-height: 0.9; margin-bottom: 30px; text-transform: uppercase; font-weight: 500; text-align: center;}

#inline-chat-wrapper { width: 100%; max-width: 700px; height: 500px; margin-top: 20px; background: rgba(255, 255, 255, 0.02); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 24px; display: flex; flex-direction: column; overflow: hidden; backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); box-shadow: 0 30px 60px rgba(0,0,0,0.5); }
#chat-history { flex: 1; padding: 30px; overflow-y: auto; display: flex; flex-direction: column; gap: 20px; font-family: var(--font-mono); font-size: 13px; scroll-behavior: smooth; }
.chat-msg { max-width: 85%; padding: 16px 20px; line-height: 1.5; pointer-events: auto; }
.msg-bot { background: rgba(255, 255, 255, 0.05); color: var(--fg); align-self: flex-start; border-radius: 16px 16px 16px 4px; border: 1px solid rgba(255,255,255,0.05);}
.msg-user { background: var(--accent); color: var(--bg-base); align-self: flex-end; border-radius: 16px 16px 4px 16px; font-weight: 500;}
.typing-indicator { display: none; font-size: 11px; opacity: 0.6; padding: 0 30px 15px; font-family: var(--font-mono); font-style: italic;}
#chat-input-row { display: flex; padding: 20px; background: rgba(0,0,0,0.2); border-top: 1px solid rgba(255,255,255,0.05); gap: 15px; pointer-events: auto; }
#chat-input-field { flex: 1; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: 12px; padding: 15px 20px; color: var(--fg); font-family: var(--font-mono); font-size: 13px; outline: none; transition: border-color 0.3s; }
#chat-input-field:focus { border-color: var(--accent); background: rgba(255,255,255,0.08); }
#chat-send-btn { background: var(--fg); color: var(--bg-base); border: none; border-radius: 12px; padding: 0 25px; font-family: var(--font-mono); font-weight: bold; cursor: pointer; transition: opacity 0.3s, transform 0.3s; text-transform: uppercase; letter-spacing: 0.1em; }
#chat-send-btn:hover { opacity: 0.9; transform: scale(1.05); }

.cta-social-link { background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 30px; padding: 15px 30px; font-size: 11px; color: var(--fg); text-decoration: none; text-transform: uppercase; letter-spacing: 0.15em; transition: all 0.3s ease; display: inline-block; text-align: center; pointer-events: auto; backdrop-filter: blur(10px); }
.cta-social-link:hover { background: var(--fg); color: var(--bg-base); border-color: var(--fg); }
.standard-form { display: flex; flex-direction: column; gap: 15px; max-width: 500px; width: 100%; margin-top: 30px; font-family: var(--font-mono); font-size: 13px;}
.standard-form input, .standard-form textarea { width: 100%; padding: 12px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.2); color: #fff; margin-top: 5px; border-radius: 6px;}
.standard-form button { padding: 15px; background: var(--accent); color: var(--bg-base); border: none; cursor: pointer; font-weight: bold; text-transform: uppercase; border-radius: 6px;}

/* ── FAQ & FOOTER ── */
.faq-sec { max-width: 800px; margin: 0 auto; padding: 100px 5vw 150px; width: 100%; pointer-events: auto;}
.faq-title { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3rem); text-align: center; margin-bottom: 40px; text-transform: uppercase; letter-spacing: -0.02em;}
.faq-item { border-bottom: 1px solid rgba(255,255,255,0.1); padding: 20px 0; cursor: pointer;}
.faq-question { font-family: var(--font-mono); font-size: 14px; font-weight: 700; display: flex; justify-content: space-between; align-items: center; transition: color 0.3s ease;}
.faq-item:hover .faq-question { color: var(--accent); }
.faq-icon { font-size: 18px; transition: transform 0.3s ease; }
.faq-answer { font-family: var(--font-mono); font-size: 13px; line-height: 1.6; opacity: 0.8; padding-top: 15px; display: none; }
.faq-item.active .faq-answer { display: block; }
.faq-item.active .faq-icon { transform: rotate(45deg); }

footer { padding: 40px 5vw; display: flex; justify-content: space-between; font-size: 10px; opacity: 0.6; text-transform: uppercase; letter-spacing: 0.1em;}

.gsap-reveal { opacity: 0; transform: translateY(40px); }

/* ── RESPONSIVE / MOBILE ── */
@media (max-width: 1024px) {
    .reviews-sec, .pricing-grid { grid-template-columns: 1fr; gap: 40px; }
    .pricing-card.popular { transform: none; }
}

@media (max-width: 768px) {
    .story-sec { padding: 150px 5vw; }
    nav { top: 20px; left: 20px; right: 20px; flex-direction: column; gap: 15px; align-items: center;}
    .nav-links-right { gap: 15px; }
    #v-close { top: 20px; right: 20px; }
    footer { flex-direction: column; gap: 20px; text-align: center; }
    #hero-logo { width: 85vw; }
    .desc-text-large { font-size: 2rem; }
    .cta-social-link { font-size: 10px; padding: 12px 20px;}
    .social-buttons-wrapper { flex-direction: column; gap: 15px; }
    .gallery-grid { grid-template-columns: 1fr; }
    .page-header { padding: 200px 5vw 50px; }
    .home-snippets { grid-template-columns: 1fr; gap: 4vw; }
    .snippet-col.col-2 { margin-top: 0; }
    .teaser-content { text-align: center; margin-bottom: 20px; }
    .teaser-cluster { height: 350px; transform: scale(0.85); min-width: 100%;}
    
    #glass-overlay { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(7, 11, 20, 0.85); }
    .review-card, .pricing-card { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(255, 255, 255, 0.05); }
}