/* ============================================
   VENDRO - SHARED STYLES (Brand Book V.2)
   ============================================
   Primary Font: SF Pro Display (system)
   Secondary Font: Visby CF (logo only)
   Colors: Midnight Blue #00002D, Royal Purple #7851D6,
           Warm Rose #E5707A, Sunset Orange #F0B354,
           Ghost White #EBEAEF, Iron #9999AB, Mauve #C9B9EF
   ============================================ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --midnight: #00002D;
    --midnight-90: #0A0A35;
    --midnight-80: #14143D;
    --midnight-70: #24244B;
    --royal: #7851D6;
    --royal-light: #9374DE;
    --royal-lighter: #AE97E6;
    --mauve: #C9B9EF;
    --rose: #E5707A;
    --rose-light: #EF748A;
    --rose-lighter: #F397A7;
    --orange: #F0B354;
    --orange-light: #F6D198;
    --ghost: #EBEAEF;
    --ghost-dark: #F3F2F5;
    --iron: #BBBBC8;
    --iron-dark: #9999B0;

    --bg: #000000;
    --bg-card: rgba(255, 255, 255, 0.07);
    --bg-card-solid: #141414;
    --border: rgba(255, 255, 255, 0.13);
    --border-hover: rgba(255, 255, 255, 0.22);
    --text: #EBEAEF;
    --text-secondary: #BBBBC8;
    --text-dim: #9999B0;

    --gradient-brand: linear-gradient(135deg, #F0B354 0%, #E5707A 45%, #7851D6 100%);
    --gradient-warm: linear-gradient(135deg, #F0B354, #E5707A);
    --gradient-cool: linear-gradient(135deg, #E5707A, #7851D6);
    --gradient-full: linear-gradient(135deg, #F0B354 0%, #E5707A 40%, #7851D6 70%, #E5707A 100%);

    --font: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Inter', 'Segoe UI', sans-serif;
    --font-display: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Inter', sans-serif;

    --max-width: 1200px;
    --radius: 16px;
}

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body { font-family: var(--font); background: var(--bg); color: var(--text); line-height: 1.6; overflow-x: hidden; -webkit-text-size-adjust: 100%; }
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 32px; }
a { color: inherit; text-decoration: none; }
button { font-family: var(--font); }
img { max-width: 100%; height: auto; }

/* ============================================
   ANIMATIONS - Refined & Subtle
   ============================================ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s cubic-bezier(0.25, 1, 0.5, 1), transform 0.9s cubic-bezier(0.25, 1, 0.5, 1); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.d1 { transition-delay: 0.08s; } .d2 { transition-delay: 0.16s; } .d3 { transition-delay: 0.24s; }
.d4 { transition-delay: 0.32s; } .d5 { transition-delay: 0.4s; } .d6 { transition-delay: 0.48s; }

@keyframes shimmer { 0% { background-position: -200% center; } 100% { background-position: 200% center; } }
@keyframes float-slow { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes float-med { 0%,100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-6px) rotate(0.5deg); } }
@keyframes pulse-glow { 0%,100% { opacity: 0.5; transform: scale(1); } 50% { opacity: 0.8; transform: scale(1.05); } }
@keyframes rotate { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
@keyframes gradient-shift { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
@keyframes fade-up { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes scale-in { from { opacity: 0; transform: scale(0.96); } to { opacity: 1; transform: scale(1); } }
@keyframes play-pulse { 0%,100% { transform: translate(-50%,-50%) scale(1); box-shadow: 0 0 0 0 rgba(255,255,255,0.15); } 50% { transform: translate(-50%,-50%) scale(1.03); box-shadow: 0 0 0 12px rgba(255,255,255,0); } }

/* ============================================
   NAVIGATION - Clean & Minimal
   ============================================ */
nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; padding: 0 32px; transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1); }
nav.scrolled { background: rgba(20, 20, 20, 0.6); backdrop-filter: blur(40px) saturate(180%); -webkit-backdrop-filter: blur(40px) saturate(180%); border-bottom: 1px solid rgba(255,255,255,0.1); box-shadow: 0 1px 0 0 rgba(255,255,255,0.07) inset, 0 4px 24px rgba(0,0,0,0.3); }
.nav-inner { max-width: var(--max-width); margin: 0 auto; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 72px; }

.logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 22px; letter-spacing: -0.3px; }
.logo-mark { width: 34px; height: 26px; position: relative; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.logo-mark svg { width: 100%; height: 100%; }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a { padding: 8px 18px; font-size: 14px; font-weight: 500; color: var(--iron); border-radius: 100px; transition: color 0.3s, background 0.3s; }
.nav-links a:hover, .nav-links a.active { color: var(--ghost); background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255,255,255,0.06); }
.nav-actions { display: flex; align-items: center; gap: 12px; justify-self: end; }
.btn-ghost { padding: 8px 20px; font-size: 14px; font-weight: 500; color: var(--iron); background: none; border: none; cursor: pointer; transition: color 0.3s; }
.btn-ghost:hover { color: var(--ghost); }
.btn-primary { padding: 10px 24px; font-size: 14px; font-weight: 600; color: white; background: var(--gradient-brand); border: none; border-radius: 100px; cursor: pointer; transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1); position: relative; overflow: hidden; box-shadow: 0 0 20px rgba(229,112,122,0.35), 0 0 60px rgba(120,81,214,0.25); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 0 30px rgba(229,112,122,0.5), 0 0 80px rgba(120,81,214,0.35), 0 8px 24px rgba(240,179,84,0.2); }

/* ============================================
   SHARED COMPONENTS - Luxe & Refined
   ============================================ */
.section-divider { height: 1px; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.14), transparent); }
.section-label { display: inline-flex; align-items: center; gap: 10px; font-size: 11px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase; color: var(--royal-light); margin-bottom: 14px; }
.section-label-line { width: 32px; height: 1px; background: var(--gradient-cool); border-radius: 1px; }
.section-title { font-family: var(--font-display); font-size: clamp(34px, 4.5vw, 58px); font-weight: 700; line-height: 1.08; letter-spacing: -1.8px; margin-bottom: 16px; }
.section-sub { font-size: 16px; color: var(--iron); max-width: 500px; line-height: 1.75; font-weight: 400; }

.gradient-text { background: linear-gradient(135deg, #F0B354 0%, #E5707A 40%, #7851D6 70%, #C9B9EF 100%); background-size: 300% 300%; -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; animation: gradient-breathe 8s ease-in-out infinite; }
@keyframes gradient-breathe { 0% { background-position: 0% 50%; filter: brightness(1); } 33% { background-position: 50% 100%; filter: brightness(1.08); } 66% { background-position: 100% 0%; filter: brightness(0.95); } 100% { background-position: 0% 50%; filter: brightness(1); } }

/* Buttons - Refined */
.btn-large { padding: 16px 36px; font-size: 15px; font-weight: 600; border-radius: 100px; cursor: pointer; transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1); font-family: var(--font); letter-spacing: -0.1px; display: inline-flex; align-items: center; justify-content: center; }
.btn-large-primary { background: var(--gradient-brand); color: white; border: none; position: relative; overflow: hidden; box-shadow: 0 0 24px rgba(229,112,122,0.35), 0 0 60px rgba(120,81,214,0.3), 0 0 100px rgba(120,81,214,0.12); }
.btn-large-primary::before { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, transparent, rgba(255,255,255,0.1), transparent); transform: translateX(-100%); transition: transform 0.6s; }
.btn-large-primary:hover::before { transform: translateX(100%); }
.btn-large-primary:hover { transform: translateY(-2px); box-shadow: 0 0 36px rgba(229,112,122,0.5), 0 0 80px rgba(120,81,214,0.4), 0 0 120px rgba(120,81,214,0.18), 0 12px 36px rgba(240,179,84,0.2); }
.btn-large-secondary { background: rgba(201,185,239,0.08); color: var(--ghost); border: 1px solid rgba(201,185,239,0.18); }
.btn-large-secondary:hover { background: rgba(201,185,239,0.07); border-color: rgba(201,185,239,0.18); transform: translateY(-2px); box-shadow: 0 0 20px rgba(120,81,214,0.15), 0 8px 24px rgba(0,0,0,0.2); }
.cta-row { display: flex; align-items: center; gap: 14px; }

/* Page Hero */
.page-hero { position: relative; padding: 140px 32px 56px; text-align: center; overflow: hidden; }
.page-hero-bg { position: absolute; inset: 0; z-index: 0; background: radial-gradient(ellipse 80% 60% at 50% -10%, rgba(120, 81, 214, 0.12), transparent), radial-gradient(ellipse 50% 40% at 80% 60%, rgba(235, 81, 109, 0.05), transparent); animation: gradient-shift 20s ease infinite; background-size: 200% 200%; }
.page-hero .section-title { max-width: 700px; margin: 0 auto 16px; position: relative; z-index: 1; }
.page-hero .section-sub { max-width: 520px; margin: 0 auto; position: relative; z-index: 1; }
.page-hero .section-label { position: relative; z-index: 1; }

/* GIF / Media Placeholder - Refined */
.media-placeholder {
    position: relative; border-radius: var(--radius); overflow: hidden;
    background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
    aspect-ratio: 16/9; display: flex; align-items: center; justify-content: center;
    cursor: pointer; transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    box-shadow: 0 1px 0 0 rgba(255,255,255,0.06) inset;
}
.media-placeholder:hover { border-color: rgba(255,255,255,0.18); transform: translateY(-3px); box-shadow: 0 1px 0 0 rgba(255,255,255,0.08) inset, 0 16px 48px rgba(0,0,0,0.3); }
.media-placeholder-bg {
    position: absolute; inset: 0; background-size: 200% 200%; animation: gradient-shift 14s ease infinite; opacity: 0.15;
}
.media-placeholder:hover .media-placeholder-bg { opacity: 0.22; transition: opacity 0.5s; }
.media-placeholder-play {
    position: absolute; top: 50%; left: 50%; width: 64px; height: 64px; border-radius: 50%;
    background: rgba(255,255,255,0.08); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,0.12); display: flex; align-items: center; justify-content: center;
    animation: play-pulse 4s ease-in-out infinite; z-index: 2;
}
.media-placeholder-play::after { content: ''; width: 0; height: 0; border-left: 16px solid rgba(255,255,255,0.9); border-top: 10px solid transparent; border-bottom: 10px solid transparent; margin-left: 3px; }
.media-placeholder-label {
    position: absolute; bottom: 20px; left: 20px; z-index: 2;
    display: flex; flex-direction: column; gap: 4px;
}
.media-placeholder-label span:first-child { font-size: 14px; font-weight: 600; color: rgba(255,255,255,0.9); }
.media-placeholder-label span:last-child { font-size: 12px; color: var(--iron); }
.media-placeholder-tag {
    position: absolute; top: 16px; right: 16px; z-index: 2;
    padding: 5px 12px; border-radius: 100px; font-size: 10px; font-weight: 600;
    text-transform: uppercase; letter-spacing: 1px; backdrop-filter: blur(8px);
}
.tag-video { background: rgba(120,81,214,0.55); color: #fff; border: 1px solid rgba(120,81,214,0.6); box-shadow: 0 1px 0 0 rgba(255,255,255,0.15) inset; }
.tag-image { background: rgba(229,112,122,0.55); color: #fff; border: 1px solid rgba(229,112,122,0.6); box-shadow: 0 1px 0 0 rgba(255,255,255,0.15) inset; }
.tag-avatar { background: rgba(240,179,84,0.55); color: #fff; border: 1px solid rgba(240,179,84,0.6); box-shadow: 0 1px 0 0 rgba(255,255,255,0.15) inset; }
.tag-audio { background: rgba(120,81,214,0.55); color: #fff; border: 1px solid rgba(120,81,214,0.6); box-shadow: 0 1px 0 0 rgba(255,255,255,0.15) inset; }

/* Media-filled placeholders - gradient overlay for text readability */
.media-placeholder:has(> video),
.media-placeholder:has(> img) { overflow: hidden; }
.media-placeholder:has(> video)::after,
.media-placeholder:has(> img)::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(0,0,45,0.15) 0%, transparent 30%, transparent 50%, rgba(0,0,45,0.65) 100%);
    z-index: 1; pointer-events: none; transition: opacity 0.4s ease;
}
.media-placeholder:has(> video):hover::after,
.media-placeholder:has(> img):hover::after {
    background: linear-gradient(180deg, rgba(0,0,45,0.25) 0%, transparent 30%, transparent 40%, rgba(0,0,45,0.8) 100%);
}
.media-placeholder:has(> video) .media-placeholder-tag,
.media-placeholder:has(> img) .media-placeholder-tag,
.media-placeholder:has(> video) .media-placeholder-label,
.media-placeholder:has(> img) .media-placeholder-label,
.media-placeholder:has(> video) .media-placeholder-play,
.media-placeholder:has(> img) .media-placeholder-play { z-index: 2; }
.media-placeholder:has(> video) .media-placeholder-tag,
.media-placeholder:has(> img) .media-placeholder-tag {
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}

/* Cards - Subtle & Premium */
.card { border-radius: var(--radius); background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.13); padding: 28px; backdrop-filter: blur(24px) saturate(150%); -webkit-backdrop-filter: blur(24px) saturate(150%); transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1); position: relative; overflow: hidden; box-shadow: 0 1px 0 0 rgba(255,255,255,0.1) inset, 0 4px 24px rgba(0,0,0,0.15); }
.card:hover { border-color: rgba(255,255,255,0.22); transform: translateY(-3px); box-shadow: 0 1px 0 0 rgba(255,255,255,0.14) inset, 0 16px 48px rgba(0,0,0,0.3); }
.card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent); pointer-events: none; }
.card::after { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 40%; background: linear-gradient(180deg, rgba(255,255,255,0.07), transparent); pointer-events: none; border-radius: var(--radius) var(--radius) 0 0; }
.card.glow-royal, .card.glow-rose, .card.glow-orange { /* glass tints on hover handled by border */ }
.card.glow-royal:hover { border-color: rgba(120,81,214,0.2); }
.card.glow-rose:hover { border-color: rgba(229,112,122,0.2); }
.card.glow-orange:hover { border-color: rgba(240,179,84,0.2); }
.card h3 { font-size: 20px; font-weight: 700; letter-spacing: -0.3px; margin-bottom: 8px; }
.card p { color: var(--iron); font-size: 14px; line-height: 1.75; }

.icon-box { width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,0.15); box-shadow: 0 1px 0 0 rgba(255,255,255,0.1) inset; }
.icon-box svg { width: 22px; height: 22px; }
.ib-royal { background: rgba(120,81,214,0.18); color: var(--royal-light); border-color: rgba(120,81,214,0.25); }
.ib-rose { background: rgba(229,112,122,0.18); color: var(--rose-light); border-color: rgba(229,112,122,0.25); }
.ib-orange { background: rgba(240,179,84,0.18); color: var(--orange); border-color: rgba(240,179,84,0.25); }
.ib-mauve { background: rgba(201,185,239,0.18); color: var(--mauve); border-color: rgba(201,185,239,0.25); }

/* ============================================
   FOOTER - Minimal & Refined
   ============================================ */
footer { padding: 40px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 48px; margin-bottom: 36px; }
.footer-col { text-align: right; }
.footer-brand p { color: var(--iron); font-size: 14px; line-height: 1.75; margin-top: 16px; max-width: 280px; }
.footer-col h4 { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 2px; color: var(--text-dim); margin-bottom: 14px; }
.footer-col a { display: block; font-size: 14px; color: var(--iron); padding: 5px 0; transition: color 0.3s; }
.footer-col a:hover { color: var(--ghost); }
.footer-newsletter { text-align: left; }
.footer-newsletter h4 { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 2px; color: var(--text-dim); margin-bottom: 10px; }
.footer-newsletter p { font-size: 13px; color: var(--iron); line-height: 1.6; margin-bottom: 16px; }
.footer-newsletter-form { display: flex; gap: 0; border-radius: 12px; overflow: hidden; border: 1px solid var(--border); background: var(--bg-card); transition: border-color 0.3s ease; }
.footer-newsletter-form:focus-within { border-color: var(--royal); }
.footer-newsletter-form input { flex: 1; padding: 12px 16px; background: transparent; border: none; outline: none; color: var(--ghost); font-family: var(--font); font-size: 14px; }
.footer-newsletter-form input::placeholder { color: var(--iron-dark); }
.footer-newsletter-form button { padding: 12px 16px; background: var(--royal); border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background 0.3s ease; flex-shrink: 0; }
.footer-newsletter-form button:hover { background: #6741c0; }
.footer-newsletter-form button svg { width: 18px; height: 18px; stroke: #fff; }
.footer-newsletter-msg { font-size: 13px; margin-top: 10px; font-weight: 500; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; padding-top: 32px; border-top: 1px solid var(--border); }
.footer-copy { font-size: 13px; color: var(--text-dim); }
.footer-legal { display: flex; gap: 24px; }
.footer-legal a { font-size: 13px; color: var(--text-dim); transition: color 0.3s; }
.footer-legal a:hover { color: var(--iron); }

/* ============================================
   MOBILE NAV - Hamburger Menu
   ============================================ */
.nav-hamburger { display: none; background: none; border: none; cursor: pointer; padding: 8px; z-index: 200; }
.nav-hamburger span { display: block; width: 22px; height: 2px; background: var(--ghost); border-radius: 2px; transition: all 0.3s ease; }
.nav-hamburger span + span { margin-top: 5px; }
.nav-hamburger.open span:first-child { transform: rotate(45deg) translate(3.5px, 3.5px); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:last-child { transform: rotate(-45deg) translate(3.5px, -3.5px); }

.mobile-menu { display: none; position: fixed; inset: 0; top: 64px; z-index: 99; background: rgba(0,0,0,0.97); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); flex-direction: column; align-items: center; justify-content: flex-start; gap: 4px; padding: 48px 32px; }
.mobile-menu.open { display: flex; }
.mobile-menu a { font-size: 20px; font-weight: 500; color: var(--iron); padding: 14px 0; transition: color 0.3s; }
.mobile-menu a:hover { color: var(--ghost); }
.mobile-menu .btn-primary { margin-top: 24px; padding: 14px 36px; font-size: 16px; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-newsletter { grid-column: 1 / -1; }
}
@media (max-width: 768px) {
    /* Nav */
    .nav-links { display: none; }
    .nav-hamburger { display: flex; flex-direction: column; align-items: center; }
    .nav-actions .btn-ghost { display: none; }
    .nav-actions .btn-primary { padding: 8px 16px; font-size: 12px; box-shadow: none; white-space: nowrap; }
    .nav-actions { gap: 8px; align-items: center; }
    nav { padding: 0 16px; }
    .nav-inner { height: 56px; grid-template-columns: 1fr auto; }
    .logo { font-size: 18px; gap: 8px; }
    .logo-mark { width: 28px; height: 22px; }
    .mobile-menu { top: 56px; }

    /* Container */
    .container { padding: 0 16px; }

    /* Typography */
    .section-title { font-size: clamp(24px, 6vw, 38px); letter-spacing: -0.8px; }
    .section-sub { font-size: 14px; max-width: 100%; }
    .section-label { font-size: 10px; letter-spacing: 2px; }

    /* Buttons */
    .cta-row { flex-direction: column; width: 100%; }
    .btn-large { width: 100%; text-align: center; padding: 14px 24px; font-size: 14px; box-sizing: border-box; }

    /* Page Hero */
    .page-hero { padding: 100px 16px 36px; }
    .page-hero .section-title { font-size: clamp(26px, 6vw, 36px); }

    /* Footer */
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .footer-newsletter { order: -1; }
    .footer-col { text-align: left; }
    footer { padding: 40px 0 28px; }
    .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
    .footer-legal { justify-content: center; gap: 16px; }
    .footer-brand p { max-width: 100%; }
    .footer-brand .logo { font-size: 18px; }

    /* Cards */
    .card { padding: 18px; }
    .card h3 { font-size: 17px; }
    .card p { font-size: 13px; }

    /* Icon boxes */
    .icon-box { width: 36px; height: 36px; border-radius: 10px; }
    .icon-box svg { width: 17px; height: 17px; }

    /* Section spacing */
    .section-divider { margin: 0; }

    /* Prevent any element from causing horizontal overflow */
    img, video, svg, canvas { max-width: 100%; }
}
@media (max-width: 480px) {
    .container { padding: 0 14px; }
    .section-title { font-size: clamp(22px, 5.5vw, 32px); }
    .btn-large { padding: 12px 20px; font-size: 13px; }
    .page-hero { padding: 92px 14px 28px; }
    .nav-actions .btn-primary { padding: 6px 12px; font-size: 11px; }
}
