/* landing.css - Ultra-Premium Dark Masterwork Design */

:root {
    --bg: #020617;
    --surface: #0f172a;
    --primary: #7c3aed;
    --secondary: #3b82f6;
    --accent: #10b981;
    --text: #f8fafc;
    --text-muted: #94a3b8;
    
    /* 6-Layer Premium Shadow */
    --shadow-premium: 
        0 2px 4px rgba(0,0,0,0.1), 
        0 4px 8px rgba(0,0,0,0.1), 
        0 8px 16px rgba(0,0,0,0.1), 
        0 16px 32px rgba(0,0,0,0.1), 
        0 32px 64px rgba(0,0,0,0.1), 
        0 64px 128px rgba(0,0,0,0.1);
        
    --border-light: rgba(255, 255, 255, 0.08);
    --glass: rgba(15, 23, 42, 0.4);
    --transition-master: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
    background-color: var(--bg);
}

body {
    background-color: var(--bg);
    color: var(--text);
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    -webkit-font-smoothing: antialiased;
    line-height: 1.5;
}

/* Grain Overlay - Subtle Digital Varnish */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    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.03;
    pointer-events: none;
    z-index: 9999;
}

/* Typography Master */
h1, h2, h3 {
    font-weight: 800;
    letter-spacing: -0.05em;
    line-height: 1;
}

.gradient-text {
    background: linear-gradient(135deg, #fff 0%, var(--primary) 50%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* Cinematic Containers */
.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 2.5rem;
}

section {
    padding: 10rem 0;
    position: relative;
    overflow: hidden;
}

/* Nav Masterwork */
.master-nav {
    position: fixed;
    top: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    width: auto;
}

.nav-glass {
    background: rgba(2, 6, 23, 0.7);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--border-light);
    border-radius: 99px;
    padding: 0.75rem 2rem;
    display: flex;
    align-items: center;
    gap: 3rem;
    box-shadow: var(--shadow-premium);
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: white;
    font-weight: 800;
    font-size: 1.25rem;
}

.logo-v {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: white;
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.4);
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-item {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 600;
    transition: var(--transition-master);
}

.nav-item:hover {
    color: white;
}

/* Hero Cinematic */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding-top: 8rem;
}

.hero-content {
    max-width: 1000px;
}

.hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-light);
    border-radius: 99px;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    transition: var(--transition-master);
}

.hero-pill:hover {
    border-color: var(--primary);
    background: rgba(124, 58, 237, 0.05);
}

.hero-title {
    font-size: clamp(3rem, 10vw, 6.5rem);
    margin-bottom: 2rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 650px;
    margin: 0 auto 3.5rem;
}

/* Master Buttons */
.m-btn {
    padding: 1.1rem 2.8rem;
    border-radius: 14px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: var(--transition-master);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.m-btn-primary {
    background: white;
    color: var(--bg);
    box-shadow: 0 20px 40px rgba(255,255,255,0.1);
}

.m-btn-primary:hover {
    transform: scale(1.02);
    box-shadow: 0 30px 60px rgba(255,255,255,0.15);
}

.m-btn-outline {
    background: transparent;
    border: 1px solid var(--border-light);
    color: white;
}

.m-btn-outline:hover {
    background: rgba(255,255,255,0.05);
    border-color: rgba(255,255,255,0.2);
}

/* Mockups & Depth */
.hero-visual {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin-top: 6rem;
}

.main-mockup {
    width: 100%;
    border-radius: 32px;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-premium);
    z-index: 2;
    position: relative;
}

.side-mockup {
    position: absolute;
    width: 300px;
    bottom: -100px;
    right: -50px;
    border-radius: 24px;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-premium);
    z-index: 3;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-30px); }
}

/* Bento Grid 2.0 */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(2, 450px);
    gap: 1.5rem;
}

.master-card {
    background: var(--glass);
    border: 1px solid var(--border-light);
    border-radius: 40px;
    padding: 3.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition-master);
    position: relative;
    overflow: hidden;
}

.master-card::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.1), transparent 70%);
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: var(--transition-master);
    pointer-events: none;
}

.master-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255,255,255,0.15);
}

.master-card:hover::after {
    opacity: 1;
}

.card-icon {
    width: 64px;
    height: 64px;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border-light);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 2rem;
}

.card-title { font-size: 2.25rem; margin-bottom: 1rem; }
.card-desc { color: var(--text-muted); font-size: 1.1rem; }

.item-8 { grid-column: span 8; }
.item-4 { grid-column: span 4; }

/* Pricing Slider */
.pricing-toggle {
    display: flex;
    background: rgba(255,255,255,0.03);
    padding: 6px;
    border-radius: 99px;
    width: fit-content;
    margin: 0 auto 4rem;
    border: 1px solid var(--border-light);
}

.toggle-btn {
    padding: 0.75rem 2rem;
    border-radius: 99px;
    border: none;
    background: transparent;
    color: var(--text-muted);
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition-master);
}

.toggle-btn.active {
    background: white;
    color: var(--bg);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

/* Social Ticker */
.ticker-wrap {
    width: 100%;
    overflow: hidden;
    padding: 4rem 0;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    background: rgba(0,0,0,0.2);
}

.ticker {
    display: flex;
    white-space: nowrap;
    gap: 6rem;
    animation: ticker 30s linear infinite;
}

@keyframes ticker {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.ticker-item {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.ticker-item i { color: var(--primary); }

/* Responsive */
@media (max-width: 1200px) {
    .item-8, .item-4 { grid-column: span 12; }
    .bento-grid { grid-template-rows: auto; }
    .pricing-grid { grid-template-columns: 1fr; }
    .nav-glass { gap: 1rem; padding: 0.6rem 1.2rem; }
    .side-mockup { display: none; }
}

@media (max-width: 768px) {
    section { padding: 6rem 0; }
    .hero-title { font-size: 3.5rem; }
    .master-nav { top: 1rem; width: calc(100% - 2rem); }
    .nav-glass { width: 100%; justify-content: space-between; }
    .nav-links { display: none; }
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}
