:root {
    /* Premium Color Palette */
    --c-void: #030304;
    --c-charcoal: #0a0a0c;
    --c-surface: #121216;
    --c-border: rgba(255, 255, 255, 0.06);
    --c-border-hover: rgba(255, 255, 255, 0.15);
    
    --c-accent-1: #3b82f6; /* Electric Blue */
    --c-accent-2: #8b5cf6; /* Neon Purple */
    --c-accent-3: #ec4899; /* Hot Pink */
    
    --c-text-primary: #ffffff;
    --c-text-secondary: #888890;
    --c-text-tertiary: #4a4a50;
    
    /* Typography */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Outfit', sans-serif;
    
    /* Fluid Type Scale */
    --fs-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
    --fs-sm: clamp(0.875rem, 0.8rem + 0.375vw, 1rem);
    --fs-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
    --fs-lg: clamp(1.25rem, 1.1rem + 0.75vw, 1.5rem);
    --fs-xl: clamp(1.75rem, 1.5rem + 1.25vw, 2.5rem);
    --fs-2xl: clamp(2.5rem, 2rem + 2.5vw, 4rem);
    --fs-3xl: clamp(3.5rem, 3rem + 4vw, 6rem);
    --fs-mega: clamp(4rem, 3rem + 6vw, 9rem);
    
    /* Easings */
    --ease-out-expo: cubic-bezier(0.19, 1, 0.22, 1);
    --ease-in-out-circ: cubic-bezier(0.85, 0, 0.15, 1);
    
    /* Layout */
    --container-max: 1600px;
    --header-h: 90px;
}

/* -------------------------------------------------------------------------- */
/* Reset & Base */
/* -------------------------------------------------------------------------- */

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: none; /* Custom cursor implementation */
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--c-void);
}

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

/* Noise Overlay for Texture */
.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.03;
    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");
}

/* Custom Cursor */
.cursor-dot,
.cursor-outline {
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 9999;
    pointer-events: none;
}

.cursor-dot {
    width: 8px;
    height: 8px;
    background-color: white;
}

.cursor-outline {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    transition: width 0.2s, height 0.2s, background-color 0.2s;
}

/* Utilities */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 4vw;
}

.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.grid { display: grid; }
.relative { position: relative; }
.absolute { position: absolute; }
.overflow-hidden { overflow: hidden; }

/* Typography Styles */
.font-display { font-family: var(--font-display); }
.text-gradient {
    background: linear-gradient(135deg, #fff 0%, #a5a5a5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.text-gradient-color {
    background: linear-gradient(135deg, var(--c-accent-1) 0%, var(--c-accent-2) 50%, var(--c-accent-3) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* -------------------------------------------------------------------------- */
/* Components */
/* -------------------------------------------------------------------------- */

/* Magnetic Button */
.btn-magnetic {
    display: inline-flex;
    position: relative;
    padding: 1.25rem 2.5rem;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--c-border);
    border-radius: 100px;
    color: var(--c-text-primary);
    text-decoration: none;
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    overflow: hidden;
    transition: border-color 0.3s;
    z-index: 1;
}

.btn-magnetic::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, var(--c-accent-1), var(--c-accent-2));
    z-index: -1;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s var(--ease-out-expo);
}

.btn-magnetic:hover {
    border-color: transparent;
}

.btn-magnetic:hover::before {
    transform: scaleX(1);
}

.btn-glow {
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.15);
}

/* Navigation */
.nav-fixed {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-h);
    z-index: 100;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,0.02);
    transition: transform 0.4s var(--ease-out-expo);
}

.nav-inner {
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--c-text-primary);
}

.logo-icon {
    height: 32px;
    width: auto;
}

.logo-mark {
    width: 12px;
    height: 12px;
    background: var(--c-text-primary);
    border-radius: 50%;
    box-shadow: 0 0 20px var(--c-accent-1);
}

.nav-links a {
    position: relative;
    margin-left: 3rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--c-text-secondary);
    text-decoration: none;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--c-text-primary);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 100%;
    height: 1px;
    background: var(--c-text-primary);
    transition: transform 0.3s var(--ease-out-expo);
}

.nav-links a:hover::after {
    transform: translateX(-50%) scaleX(1);
}

/* -------------------------------------------------------------------------- */
/* Hero Section */
/* -------------------------------------------------------------------------- */

.hero {
    position: relative;
    min-height: 100vh;
    padding-top: var(--header-h);
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* Animated Gradient Background */
.hero-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150vw;
    height: 150vh;
    background: 
        radial-gradient(circle at 15% 50%, rgba(59, 130, 246, 0.15), transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(139, 92, 246, 0.15), transparent 25%);
    z-index: -2;
    filter: blur(80px);
    animation: pulseGradient 10s infinite alternate;
}

@keyframes pulseGradient {
    0% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
    100% { transform: translate(-50%, -50%) scale(1.1); opacity: 0.8; }
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-label {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--c-border);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.hero-title {
    font-family: var(--font-display);
    font-size: var(--fs-3xl);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-title .line {
    display: block;
    overflow: hidden;
}

.hero-desc {
    font-size: var(--fs-lg);
    color: var(--c-text-secondary);
    max-width: 500px;
    margin-bottom: 2.5rem;
}

.hero-visual {
    position: relative;
    z-index: 1;
}

.dashboard-mockup {
    position: relative;
    width: 100%;
    aspect-ratio: 16/10;
    background: var(--c-surface);
    border-radius: 20px;
    border: 1px solid var(--c-border);
    box-shadow: 0 50px 100px -20px rgba(0,0,0,0.5);
    overflow: hidden;
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    transition: transform 0.5s ease;
}

.dashboard-mockup:hover {
    transform: perspective(1000px) rotateY(0) rotateX(0);
}

/* Marquee Section */
.marquee-section {
    padding: 2rem 0;
    border-top: 1px solid var(--c-border);
    border-bottom: 1px solid var(--c-border);
    overflow: hidden;
    background: var(--c-charcoal);
}

.marquee-content {
    display: flex;
    gap: 4rem;
    animation: marquee 20s linear infinite;
    width: max-content;
}

.marquee-item {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: rgba(255,255,255,0.2);
    text-transform: uppercase;
}

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

/* Bento Grid Section */
.section {
    padding: 8rem 0;
}

.section-title-wrapper {
    text-align: center;
    margin-bottom: 5rem;
}

.section-title {
    font-family: var(--font-display);
    font-size: var(--fs-2xl);
    font-weight: 700;
    margin-bottom: 1.5rem;
}

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

.bento-card {
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-radius: 24px;
    padding: 2.5rem;
    transition: border-color 0.3s;
    position: relative;
    overflow: hidden;
}

.bento-card:hover {
    border-color: var(--c-border-hover);
}

.span-2 {
    grid-column: span 2;
}

.card-icon {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.card-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.card-desc {
    color: var(--c-text-secondary);
    font-size: 1rem;
}

/* Footer */
.footer {
    padding: 4rem 0;
    border-top: 1px solid var(--c-border);
    text-align: center;
    color: var(--c-text-tertiary);
}

/* Pricing Styles */
.pricing-card {
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-radius: 24px;
    padding: 3rem;
    position: relative;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s, border-color 0.3s;
}
.pricing-card:hover {
    transform: translateY(-10px);
    border-color: var(--c-border-hover);
}
.pricing-card.popular {
    background: rgba(18, 18, 22, 0.8);
    border-color: var(--c-accent-1);
    box-shadow: 0 0 50px -10px rgba(59, 130, 246, 0.15);
}
.price-amount {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 0.5rem;
}
.check-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    color: var(--c-text-secondary);
}
.check-icon {
    color: var(--c-accent-1);
    font-size: 1.2rem;
}
