@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
    --bg-color: #fafafa;
    --text-main: #0a0a0a;
    --text-muted: #737373;
    --border-color: #e5e5e5;
    --card-bg: #ffffff;
    --font-main: 'Outfit', sans-serif;
    --accent: #2563eb;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.05), 0 2px 4px -1px rgba(0,0,0,0.03);
    --shadow-lg: 0 10px 30px -3px rgba(0,0,0,0.05);
}

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

/* Lenis Smooth Scroll */
html.lenis { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }
.lenis.lenis-scrolling iframe { pointer-events: none; }

body {
    font-family: var(--font-main);
    color: var(--text-main);
    background-color: #fdfbf7;
    overflow-x: hidden;
    line-height: 1.6;
    width: 100vw;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ======================== REVEAL ANIMATIONS (GSAP / CSS) ======================== */
.fade-up { opacity: 0; transform: translateY(50px); transition: opacity 1.2s cubic-bezier(0.25, 1, 0.5, 1), transform 1.2s cubic-bezier(0.25, 1, 0.5, 1); }
.fade-up.is-visible { opacity: 1; transform: translateY(0); }
.fade-in { opacity: 0; transition: opacity 1.5s cubic-bezier(0.25, 1, 0.5, 1); }
.fade-in.is-visible { opacity: 1; }
.scale-up { opacity: 0; transform: scale(0.95); transition: opacity 1.2s cubic-bezier(0.25, 1, 0.5, 1), transform 1.2s cubic-bezier(0.25, 1, 0.5, 1); }
.scale-up.is-visible { opacity: 1; transform: scale(1); }
.slide-right { opacity: 0; transform: translateX(-50px); transition: all 1.2s cubic-bezier(0.25, 1, 0.5, 1); }
.slide-right.is-visible { opacity: 1; transform: translateX(0); }

/* Delay classes for staggering */
.delay-100 { transition-delay: 150ms; }
.delay-200 { transition-delay: 300ms; }
.delay-300 { transition-delay: 450ms; }
.delay-400 { transition-delay: 600ms; }
.delay-500 { transition-delay: 750ms; }

/* Dynamic float */
@keyframes fluidFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}
.floating { animation: fluidFloat 6s ease-in-out infinite; }

/* ======================== NAVBAR ======================== */
.navbar {
    position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
    padding: 16px 0; transition: all 0.4s ease;
    border-bottom: 1px solid transparent;
}
.navbar.scrolled {
    top: 0;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    padding: 12px 0;
}
.nav-container { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 1.5rem; font-weight: 700; color: var(--text-main); text-decoration: none; display: flex; align-items: center; gap: 8px; letter-spacing: -0.5px; }
.logo-icon { width: 24px; height: 24px; color: var(--text-main); }
.nav-links { display: flex; gap: 32px; }
.nav-links a { color: var(--text-muted); text-decoration: none; font-size: 0.95rem; font-weight: 500; transition: color 0.2s; }
.nav-links a:hover { color: var(--text-main); }
.auth-buttons { display: flex; align-items: center; gap: 20px; }
.btn-text { color: var(--text-main); font-weight: 500; font-size: 0.95rem; text-decoration: none; transition: opacity 0.2s; }
.btn-text:hover { opacity: 0.7; }
.btn-pill { background: var(--text-main); color: #fff; padding: 10px 24px; border-radius: 50px; font-size: 0.95rem; font-weight: 500; text-decoration: none; transition: all 0.2s; }
.btn-pill:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-black { background: #000; color: #fff; padding: 10px 24px; border-radius: 50px; font-size: 0.95rem; font-weight: 500; text-decoration: none; transition: all 0.2s; display: inline-block; }
.btn-black:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); opacity: 0.9; }
.glow { box-shadow: 0 0 25px rgba(0,0,0,0.12); }

/* ======================== TICKER ======================== */
.top-ticker {
    background: #000;
    color: #fff;
    padding: 8px 0;
    font-size: 0.85rem;
    font-weight: 500;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    z-index: 1001;
}
.ticker-content {
    display: inline-block;
    animation: tickerScroll 30s linear infinite;
    padding-left: 100%;
}
@keyframes tickerScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}
.ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-right: 40px;
}
.ticker-up { color: #10b981; }
.ticker-down { color: #ef4444; }

/* ======================== HERO ======================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center;
    padding-top: 40px;
}
.hero-bg-wrapper {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: -1;
    overflow: hidden;
}
.hero-bg-image {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0.95;
}
.hero-bg-overlay {
    position: absolute; bottom: 0; left: 0; width: 100%; height: 50%;
    background: linear-gradient(to top, var(--bg-color), transparent);
}
.hero-badge {
    display: inline-block; padding: 8px 16px; border-radius: 50px; border: 1px solid var(--border-color);
    background: var(--card-bg); font-size: 0.85rem; font-weight: 500; color: var(--text-muted); margin-bottom: 24px;
}
.hero h1 { font-size: 5.5rem; font-weight: 600; line-height: 1.05; letter-spacing: -2px; margin-bottom: 24px; color: #000; }
.hero p { font-size: 1.25rem; color: #111; max-width: 650px; margin: 0 auto 40px auto; font-weight: 500; text-shadow: 0 1px 10px rgba(255,255,255,0.8); }


/* ======================== STATS (BENTO BOX) ======================== */
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: -40px; position: relative; z-index: 10; }
.stat-card {
    background: var(--card-bg); border: 1px solid var(--border-color); border-radius: 20px; padding: 32px;
    box-shadow: var(--shadow-sm); display: flex; align-items: flex-start; gap: 16px;
    transition: all 0.3s ease;
}
.stat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.stat-icon { width: 40px; height: 40px; color: var(--text-main); background: #f3f4f6; border-radius: 12px; padding: 8px; }
.stat-info h4 { font-size: 1.1rem; font-weight: 600; margin-bottom: 4px; }
.stat-info p { font-size: 0.9rem; color: var(--text-muted); }

/* ======================== LOGO STRIP ======================== */
.logo-strip {
    padding: 60px 0;
    border-bottom: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
}
.logo-strip p {
    text-align: center;
    color: var(--text-muted);
    font-weight: 500;
    margin-bottom: 32px;
    font-size: 0.95rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.logos-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 80px;
    flex-wrap: wrap;
    opacity: 0.6;
    filter: grayscale(100%);
    transition: all 0.3s;
}
.logos-container:hover {
    filter: grayscale(0%);
    opacity: 1;
}
.logos-container span {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -1px;
    color: #000;
}

/* ======================== SECTION TYPOGRAPHY ======================== */
.section-header { text-align: center; margin-bottom: 60px; max-width: 700px; margin-left: auto; margin-right: auto; }
.section-header h2 { font-size: 3rem; font-weight: 600; letter-spacing: -1px; margin-bottom: 16px; }
.section-header p { font-size: 1.1rem; color: var(--text-muted); }

/* ======================== FEATURE SPLIT (BENTO) ======================== */
.feature-split { padding: 120px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.feature-img-box {
    background: var(--card-bg); border: 1px solid var(--border-color); border-radius: 24px; padding: 40px; box-shadow: var(--shadow-lg);
}
.chart-line { width: 100%; height: 2px; background: #e5e5e5; position: relative; margin-top: 60px; }
.chart-bar { position: absolute; bottom: 0; width: 30px; background: var(--text-main); border-radius: 4px 4px 0 0; }
.feature-text h3 { font-size: 2.5rem; font-weight: 600; letter-spacing: -1px; margin-bottom: 20px; }
.feature-text p { font-size: 1.1rem; color: var(--text-muted); margin-bottom: 30px; }
.pill-tags { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 40px; }
.tag { padding: 8px 16px; border-radius: 50px; background: #f4f4f5; font-size: 0.9rem; color: var(--text-muted); font-weight: 500; border: 1px solid #e4e4e7;}
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--text-main); text-decoration: none; }
.link-arrow:hover { gap: 12px; }

/* ======================== PRODUCTS GRID (BENTO) ======================== */
.products-section { padding: 120px 0; }
.bento-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.bento-card {
    background: var(--card-bg); border: 1px solid var(--border-color); border-radius: 24px; padding: 40px;
    box-shadow: var(--shadow-sm); transition: all 0.3s ease;
}
.bento-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.bento-icon { width: 48px; height: 48px; background: #f4f4f5; border-radius: 14px; display: flex; justify-content: center; align-items: center; margin-bottom: 24px; border: 1px solid #e4e4e7; }
.bento-icon svg { width: 24px; height: 24px; color: var(--text-main); }
.bento-card h4 { font-size: 1.25rem; font-weight: 600; margin-bottom: 12px; }
.bento-card p { font-size: 0.95rem; color: var(--text-muted); margin-bottom: 24px; }
.bento-card .link-arrow { font-size: 0.9rem; }

/* ======================== FAQ ======================== */
.faq-section { padding: 120px 0; }
.faq-container { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border-color); padding: 24px 0; cursor: pointer; }
.faq-question { display: flex; justify-content: space-between; align-items: center; font-size: 1.1rem; font-weight: 500; }
.faq-icon { width: 20px; height: 20px; transition: transform 0.3s; }
.faq-answer { display: none; padding-top: 16px; font-size: 1rem; color: var(--text-muted); }
.faq-item.open .faq-answer { display: block; }
.faq-item.open .faq-icon { transform: rotate(45deg); }

/* ======================== FOOTER ======================== */
.footer { border-top: 1px solid var(--border-color); padding: 80px 0 40px 0; background: var(--card-bg); }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 60px; margin-bottom: 60px; }
.footer-brand p { color: var(--text-muted); font-size: 0.95rem; margin-top: 16px; max-width: 300px; }
.footer-title { font-size: 0.95rem; font-weight: 600; margin-bottom: 20px; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { color: var(--text-muted); text-decoration: none; font-size: 0.9rem; transition: color 0.2s; }
.footer-links a:hover { color: var(--text-main); }
.footer-bottom { border-top: 1px solid var(--border-color); padding-top: 32px; display: flex; justify-content: space-between; align-items: center; font-size: 0.9rem; color: var(--text-muted); }

/* ======================== HAMBURGER ======================== */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    border-radius: 8px;
    transition: background 0.2s;
    z-index: 1100;
}
.hamburger:hover { background: rgba(0,0,0,0.06); }
.hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-main);
    border-radius: 99px;
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    transform-origin: center;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ======================== MOBILE OVERLAY ======================== */
.mobile-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.45);
    backdrop-filter: blur(4px);
    z-index: 1200;
    opacity: 0;
    transition: opacity 0.35s ease;
}
.mobile-overlay.active { opacity: 1; }

/* ======================== MOBILE DRAWER ======================== */
.mobile-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: min(320px, 85vw);
    height: 100dvh;
    background: #fff;
    z-index: 1300;
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
    transform: translateX(110%);
    transition: transform 0.45s cubic-bezier(0.34, 1.2, 0.64, 1);
    box-shadow: -8px 0 40px rgba(0,0,0,0.12);
}
.mobile-drawer.open { transform: translateX(0); }

.drawer-close {
    align-self: flex-end;
    background: #F3F4F6;
    border: none;
    border-radius: 50%;
    width: 36px; height: 36px;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    margin-bottom: 1.5rem;
    transition: background 0.2s;
    flex-shrink: 0;
}
.drawer-close:hover { background: #E5E7EB; }
.drawer-close svg { width: 18px; height: 18px; color: #374151; }

.drawer-logo {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-main);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 2rem;
    letter-spacing: -0.5px;
}
.drawer-logo svg { width: 22px; height: 22px; }

.drawer-links {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    flex: 1;
}
.drawer-link {
    font-size: 1.05rem;
    font-weight: 500;
    color: #374151;
    text-decoration: none;
    padding: 0.7rem 0.75rem;
    border-radius: 10px;
    transition: all 0.2s;
}
.drawer-link:hover, .drawer-link.active {
    background: #F3F4F6;
    color: #111827;
    font-weight: 600;
}

.drawer-auth {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding-top: 1.5rem;
    border-top: 1px solid #F3F4F6;
}
.drawer-btn-outline {
    display: block;
    text-align: center;
    padding: 0.8rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    border: 2px solid #111827;
    color: #111827;
    transition: all 0.2s;
}
.drawer-btn-outline:hover { background: #111827; color: #fff; }
.drawer-btn-solid {
    display: block;
    text-align: center;
    padding: 0.8rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    background: #111827;
    color: #fff;
    transition: all 0.2s;
}
.drawer-btn-solid:hover { opacity: 0.85; transform: translateY(-1px); }

/* ======================== PLATE BOXES ======================== */
.plate-section { padding: 120px 0; }
.plate-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.plate-box {
    background: var(--card-bg); border: 1px solid var(--border-color); border-radius: 24px;
    padding: 40px 24px; text-align: center; box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}
.plate-box:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.plate-icon {
    width: 72px; height: 72px; background: #f3f4f6; border-radius: 20px;
    display: flex; justify-content: center; align-items: center;
    margin: 0 auto 24px auto; border: 1px solid var(--border-color);
}
.plate-icon svg { width: 32px; height: 32px; color: var(--text-main); }
.plate-box h4 { font-size: 1.1rem; font-weight: 600; margin-bottom: 12px; }
.plate-box p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.5; }

/* ======================== RESPONSIVE ======================== */
@media (max-width: 992px) {
    .hero h1 { font-size: 4rem; }
    .stats-grid, .bento-grid, .plate-grid { grid-template-columns: repeat(2, 1fr); }
    .feature-split { grid-template-columns: 1fr; }
    .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    .nav-links, .auth-buttons { display: none; }
    .hamburger { display: flex; }
    .mobile-overlay { display: block; pointer-events: none; }
    .mobile-overlay.active { pointer-events: all; }
    .hero h1 { font-size: 3rem; }
    .stats-grid, .bento-grid, .plate-grid, .footer-top { grid-template-columns: 1fr; }
}
