/* =========================================
   Kitchev Landing Page - Premium Styles
   ========================================= */

   :root {
    --bg-base: #030305;
    --surface-1: rgba(20, 20, 25, 0.6);
    --surface-2: rgba(30, 30, 35, 0.8);
    --primary: #FF7B00;
    --primary-light: #FFA733;
    --primary-dark: #E65C00;
    --accent: #FF3366;
    
    --text-main: #ffffff;
    --text-muted: #9CA3AF;
    
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-highlight: rgba(255, 255, 255, 0.15);
    
    --font-sans: 'Plus Jakarta Sans', system-ui, sans-serif;
    --font-display: 'Outfit', system-ui, sans-serif;
    
    --radius-sm: 12px;
    --radius-md: 24px;
    --radius-lg: 32px;
    --radius-pill: 100px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { 
    scroll-behavior: smooth; 
    scroll-padding-top: 100px; 
    overflow-x: hidden;
}

body {
    background-color: var(--bg-base);
    color: var(--text-main);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* --------------------------------------
   Background Effects (Rich Aesthetics)
   -------------------------------------- */
.mesh-bg {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: -3;
    background-color: var(--bg-base);
    background-image: 
        radial-gradient(circle at 15% 50%, rgba(255, 123, 0, 0.08), transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(255, 51, 102, 0.08), transparent 25%);
    animation: pulseBg 15s ease-in-out infinite alternate;
}

.noise-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: -2;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.04;
    pointer-events: none;
}

@keyframes pulseBg {
    0% { transform: scale(1); }
    100% { transform: scale(1.1); }
}

/* --------------------------------------
   Typography & Utilities
   -------------------------------------- */
h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-animated {
    background: linear-gradient(to right, var(--primary), var(--accent), var(--primary));
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shine 4s linear infinite;
}

@keyframes shine {
    to { background-position: 200% center; }
}

.glass-panel {
    background: var(--surface-1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

/* --------------------------------------
   Buttons
   -------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: var(--radius-pill);
    font-weight: 700;
    font-family: var(--font-sans);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    cursor: pointer;
    border: none;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0; left: -100%; width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: all 0.5s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-3px);
}

.btn-glow { box-shadow: 0 4px 20px rgba(255, 123, 0, 0.3); }
.btn-glow:hover { box-shadow: 0 8px 30px rgba(255, 123, 0, 0.5); }
.btn-glow-large { box-shadow: 0 8px 30px rgba(255, 123, 0, 0.4); }
.btn-glow-large:hover { box-shadow: 0 15px 40px rgba(255, 123, 0, 0.6); }

.btn-sm { padding: 10px 20px; font-size: 14px; }
.btn-lg { padding: 18px 36px; font-size: 18px; }

.icon-sm { width: 18px; height: 18px; }

/* --------------------------------------
   Navigation
   -------------------------------------- */
.navbar {
    position: fixed;
    top: 0; left: 0; width: 100%;
    z-index: 100;
    transition: all 0.4s ease;
    padding: 12px 0;
}

.navbar.scrolled {
    background: rgba(3, 3, 5, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--glass-border);
    padding: 8px 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: white;
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 26px;
    letter-spacing: -0.5px;
}

.logo-icon {
    width: 36px;
    height: 36px;
    background: var(--surface-2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--glass-highlight);
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.logo img { height: 24px; width: 24px; object-fit: contain; }

.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a:not(.btn) {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: color 0.2s;
}
.nav-links a:not(.btn):hover { color: white; }

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    z-index: 1001;
    outline: none;
    -webkit-tap-highlight-color: transparent;
}

/* --------------------------------------
   Hero Section
   -------------------------------------- */
.hero {
    max-width: 1300px;
    margin: 0 auto;
    padding: 180px 24px 80px;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: center;
    min-height: 100vh;
}

.badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 123, 0, 0.1);
    border: 1px solid rgba(255, 123, 0, 0.2);
    padding: 6px 16px;
    border-radius: var(--radius-pill);
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-light);
    margin-bottom: 32px;
    box-shadow: 0 0 20px rgba(255, 123, 0, 0.1) inset;
}

.badge-dot {
    width: 8px; height: 8px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--primary);
    animation: blink 2s infinite;
}

@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }

.hero-title {
    font-size: clamp(40px, 8vw, 84px);
    margin-bottom: 24px;
    letter-spacing: -0.03em;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-muted);
    margin-bottom: 48px;
    max-width: 540px;
    line-height: 1.7;
    font-weight: 400;
}

.hero-cta-group {
    display: flex;
    align-items: center;
    gap: 32px;
    flex-wrap: wrap;
}

.user-avatars {
    display: flex;
    align-items: center;
    gap: 12px;
}

.avatar-group { display: flex; align-items: center; }
.avatar-group img {
    width: 40px; height: 40px;
    border-radius: 50%;
    border: 2px solid var(--bg-base);
    margin-left: -12px;
}
.avatar-group img:first-child { margin-left: 0; }
.avatar-more {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: var(--surface-2);
    border: 2px solid var(--bg-base);
    margin-left: -12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 12px; font-weight: 700; color: white;
}
.avatar-text { font-size: 14px; color: var(--text-muted); font-weight: 600; }

/* --------------------------------------
   Phone Mockup (Hero Visual)
   -------------------------------------- */
.hero-visual {
    position: relative;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1000px;
}

.premium-mockup {
    position: relative;
    width: 320px;
    height: 650px;
    transform: rotateY(-15deg) rotateX(5deg);
    transform-style: preserve-3d;
    animation: float-mockup 6s ease-in-out infinite;
}

@keyframes float-mockup {
    0%, 100% { transform: rotateY(-15deg) rotateX(5deg) translateY(0); }
    50% { transform: rotateY(-10deg) rotateX(8deg) translateY(-20px); }
}

.phone-frame {
    width: 100%; height: 100%;
    background: #111;
    border-radius: 40px;
    padding: 12px;
    box-shadow: 
        -20px 20px 40px rgba(0,0,0,0.5),
        inset 0 0 0 2px #333,
        inset 0 0 10px rgba(255,255,255,0.1);
    position: relative;
    z-index: 10;
}

.phone-notch {
    position: absolute;
    top: 12px; left: 50%;
    transform: translateX(-50%);
    width: 120px; height: 30px;
    background: #111;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    z-index: 20;
}

.phone-screen {
    width: 100%; height: 100%;
    background: var(--bg-base);
    border-radius: 30px;
    overflow: hidden;
    position: relative;
    display: flex; flex-direction: column;
}

/* App Simulation inside Mockup */
.app-sim-header {
    padding: 40px 20px 20px;
    display: flex; justify-content: space-between; align-items: center;
}
.app-sim-logo { font-family: var(--font-display); font-weight: 800; font-size: 20px; }
.app-sim-body {
    flex: 1; display: flex; align-items: center; justify-content: center; padding: 20px;
}
.swipe-card-sim {
    width: 100%; height: 350px;
    background: linear-gradient(145deg, #2a2a35, #1a1a25);
    border-radius: 24px;
    padding: 20px;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    border: 1px solid var(--glass-border);
}
.swipe-image { font-size: 80px; margin-bottom: 20px; filter: drop-shadow(0 10px 10px rgba(0,0,0,0.3)); }
.swipe-info h3 { font-size: 24px; margin-bottom: 4px; }
.swipe-info p { color: var(--text-muted); font-size: 14px; margin-bottom: 30px; }
.swipe-actions { display: flex; gap: 20px; }
.action-btn {
    width: 50px; height: 50px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
}
.action-btn.nope { background: rgba(255,255,255,0.1); color: white; }
.action-btn.like { background: var(--primary); color: white; box-shadow: 0 4px 15px rgba(255,123,0,0.4); }

/* Floating Elements */
.float-element {
    position: absolute;
    background: var(--surface-1);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-highlight);
    border-radius: 16px;
    padding: 12px 20px;
    display: flex; align-items: center; gap: 12px;
    font-weight: 600; font-size: 14px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    z-index: 20;
    transform: translateZ(50px);
}
.fl-icon { font-size: 20px; }
.fl-1 { top: 20%; right: -40px; animation: float1 4s ease-in-out infinite; }
.fl-2 { bottom: 30%; left: -60px; animation: float2 5s ease-in-out infinite; }
.fl-3 { top: -20px; left: 40px; border-radius: 50%; padding: 16px; animation: float1 6s ease-in-out infinite reverse; }

@keyframes float1 { 0%, 100% { transform: translateZ(50px) translateY(0); } 50% { transform: translateZ(50px) translateY(-15px); } }
@keyframes float2 { 0%, 100% { transform: translateZ(50px) translateY(0); } 50% { transform: translateZ(50px) translateY(15px); } }

/* --------------------------------------
   Stats Banner
   -------------------------------------- */
.stats-banner { max-width: 1200px; margin: 0 auto; padding: 40px 24px 0; position: relative; z-index: 10; }
.stats-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 40px;
    background: linear-gradient(135deg, rgba(20,20,25,0.8), rgba(30,30,35,0.4));
    border: 1px solid var(--glass-highlight);
    border-radius: 32px;
}
.stat-item {
    display: flex;
    align-items: center;
    gap: 20px;
}
.stat-icon {
    width: 60px; height: 60px;
    background: rgba(255,123,0,0.1);
    color: var(--primary);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
}
.stat-icon svg { width: 32px; height: 32px; }
.stat-number { font-size: 40px; line-height: 1; margin-bottom: 4px; }
.stat-label { color: var(--text-muted); font-size: 16px; font-weight: 500; }
.stat-divider { width: 1px; height: 60px; background: var(--glass-border); }

/* --------------------------------------
   Bento Grid (Features)
   -------------------------------------- */
.features { max-width: 1200px; margin: 0 auto; padding: 120px 24px; }

.section-header { text-align: center; margin-bottom: 80px; }
.section-title { font-size: 48px; margin-bottom: 16px; }
.section-subtitle { color: var(--text-muted); font-size: 20px; max-width: 600px; margin: 0 auto; }

.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: minmax(280px, auto);
    gap: 24px;
}

.bento-card {
    background: var(--surface-1);
    border: 1px solid var(--glass-border);
    border-radius: 32px;
    padding: 40px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex; flex-direction: column;
}

/* Glowing Border Effect on Hover */
.bento-card::before {
    content: '';
    position: absolute; inset: 0;
    border-radius: 32px; padding: 2px;
    background: linear-gradient(135deg, rgba(255,123,0,0.8), rgba(255,51,102,0.8));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor; mask-composite: exclude;
    opacity: 0; transition: opacity 0.4s ease;
}

.bento-card:hover {
    transform: translateY(-5px);
    background: var(--surface-2);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.bento-card:hover::before { opacity: 1; }

.bento-card.large { grid-column: span 2; grid-row: span 2; flex-direction: row; align-items: center; justify-content: space-between; }
.bento-card.wide { grid-column: span 2; display: flex; flex-direction: row; align-items: center; justify-content: space-between; }

.feature-icon {
    width: 64px; height: 64px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 24px; color: var(--text-main);
    transition: all 0.3s ease;
    border: 1px solid var(--glass-border);
}

.feature-icon.highlight-icon {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white; border: none;
}

.bento-card h3 { font-size: 26px; margin-bottom: 12px; }
.bento-card p { color: var(--text-muted); font-size: 16px; line-height: 1.6; }

.large .card-content { max-width: 50%; }
.large .card-visual { flex: 1; display: flex; justify-content: center; align-items: center; }
.mini-match {
    width: 120px; height: 120px;
    background: linear-gradient(135deg, rgba(255,123,0,0.2), rgba(255,51,102,0.2));
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    border: 2px solid rgba(255,51,102,0.3);
}
.heart-pulse { color: var(--accent); animation: heartbeat 1.5s infinite; }
.heart-pulse svg { width: 48px; height: 48px; }
@keyframes heartbeat { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.2); } }

.wide .card-bg-icon { opacity: 0.1; transform: scale(3) translateX(20px); color: white; pointer-events: none; }

/* --------------------------------------
   How It Works (Timeline)
   -------------------------------------- */
.how-it-works { max-width: 1000px; margin: 0 auto; padding: 120px 24px; }
.timeline-container { position: relative; margin-top: 60px; }
.timeline-line {
    position: absolute;
    top: 0; left: 40px; bottom: 0; width: 2px;
    background: linear-gradient(to bottom, transparent, var(--glass-highlight), transparent);
}
.timeline-step { display: flex; gap: 40px; margin-bottom: 60px; position: relative; }
.step-marker {
    width: 80px; height: 80px; flex-shrink: 0;
    background: var(--surface-2);
    border: 2px solid var(--primary);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-display); font-weight: 900; font-size: 32px; color: var(--primary);
    box-shadow: 0 0 30px rgba(255, 123, 0, 0.2);
    z-index: 2; position: relative;
}
.step-card {
    flex: 1; padding: 40px; border-radius: 32px;
    transform: translateY(10px);
}
.step-card h3 { font-size: 28px; margin-bottom: 12px; }
.step-card p { color: var(--text-muted); font-size: 18px; }

/* --------------------------------------
   Premium CTA
   -------------------------------------- */
.bottom-cta { max-width: 1200px; margin: 0 auto; padding: 120px 24px; }
.cta-glow-box {
    position: relative;
    border-radius: 40px;
    padding: 100px 40px;
    text-align: center;
    background: var(--surface-1);
    border: 1px solid var(--glass-highlight);
    overflow: hidden;
}
.cta-glow-box::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(circle at center, rgba(255,123,0,0.15) 0%, transparent 60%);
    z-index: 0;
}
.cta-content { position: relative; z-index: 10; }
.cta-content h2 { font-size: 56px; margin-bottom: 24px; }
.cta-content p { color: var(--text-muted); font-size: 22px; max-width: 600px; margin: 0 auto 48px; }
.cta-bg-shapes .shape {
    position: absolute; border-radius: 50%; filter: blur(80px); z-index: 0; opacity: 0.5;
}
.cta-bg-shapes .s1 { top: -50%; left: -10%; width: 500px; height: 500px; background: var(--primary); }
.cta-bg-shapes .s2 { bottom: -50%; right: -10%; width: 600px; height: 600px; background: var(--accent); }

/* --------------------------------------
   Footer
   -------------------------------------- */
footer {
    border-top: 1px solid var(--glass-border);
    padding: 80px 24px 40px;
    margin-top: 40px;
    background: #000;
}
.footer-content {
    max-width: 1200px; margin: 0 auto;
    display: grid; grid-template-columns: 1fr 1fr; gap: 64px;
    margin-bottom: 64px;
}
.footer-brand .logo { margin-bottom: 20px; }
.footer-desc { color: var(--text-muted); max-width: 300px; }
.footer-links-group { display: flex; gap: 80px; justify-content: flex-end; }
.footer-col h4 { font-size: 18px; margin-bottom: 24px; color: white; }
.footer-col a {
    display: block; color: var(--text-muted); text-decoration: none;
    margin-bottom: 16px; transition: color 0.2s; font-weight: 500;
}
.footer-col a:hover { color: white; }
.footer-bottom {
    max-width: 1200px; margin: 0 auto;
    display: flex; justify-content: space-between; align-items: center;
    padding-top: 32px; border-top: 1px solid var(--glass-border);
    color: var(--text-muted); font-size: 14px;
}
.social-links { display: flex; gap: 16px; }
.social-links a { color: var(--text-muted); transition: color 0.2s; }
.social-links a:hover { color: white; }

/* --------------------------------------
   Responsive Design
   -------------------------------------- */
@media (max-width: 1024px) {
    .bento-grid { grid-template-columns: repeat(2, 1fr); }
    .bento-card.large { grid-column: span 2; }
}

@media (max-width: 900px) {
    .navbar.scrolled {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        background: rgba(3, 3, 5, 0.98);
    }
    .mobile-menu-btn { display: block; }
    
    .stats-container { flex-direction: column; gap: 40px; align-items: flex-start; padding: 40px 32px; }
    .stat-divider { width: 100%; height: 1px; }

    .nav-links {
        position: fixed;
        top: 0; left: 0; right: 0; bottom: 0;
        background: rgba(3, 3, 5, 0.95);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 40px;
        z-index: 1000;
        transform: translateY(-100%);
        transition: transform 0.4s cubic-bezier(0.77, 0, 0.175, 1);
        opacity: 0;
        pointer-events: none;
    }
    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }
    .nav-links a:not(.btn) { font-size: 24px; }

    .hero { grid-template-columns: 1fr; padding-top: 140px; text-align: center; gap: 80px; }
    .hero-content { align-items: center; }
    .hero-cta-group { justify-content: center; }
    .premium-mockup { transform: rotateY(0) rotateX(0); margin: 0 auto; animation: float 4s ease-in-out infinite; }
    
    .bento-grid { grid-template-columns: 1fr; }
    .bento-card.large, .bento-card.wide { grid-column: span 1; flex-direction: column; text-align: center; }
    .large .card-content { max-width: 100%; margin-bottom: 32px; }
    
    .timeline-line { left: 30px; }
    .step-marker { width: 60px; height: 60px; font-size: 24px; }
    
    .section-title { font-size: 32px; }
    .section-subtitle { font-size: 16px; }
    .cta-content h2 { font-size: 32px; }
    .cta-glow-box { padding: 60px 24px; }

    .footer-content { grid-template-columns: 1fr; }
    .footer-links-group { justify-content: flex-start; gap: 40px; flex-wrap: wrap; }
    .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
}

/* --------------------------------------
   Animations Utility
   -------------------------------------- */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.9s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.reveal.active { opacity: 1; transform: translateY(0); }
.reveal-delay { transition-delay: 0.2s; }
