@import 'variables.css';
@import 'solutions.css';
@import 'dark-mode.css';
@import 'polish.css';
@import 'sub-header.css';
@import 'animation.css';

/* -----------------------------------------------------------------------------
 * CORE LAYOUT & ANIMATIONS
 * -------------------------------------------------------------------------- */

/* Navbar - Stricter, less floating */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    /* Fixed height */
    background: rgba(5, 6, 8, 0.95);
    /* Solid for stability */
    backdrop-filter: var(--backdrop-blur);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: -0.02em;
    color: var(--color-text-primary);
    text-decoration: none;
}

.logo-icon {
    height: 32px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a,
.nav-dropdown span {
    color: var(--color-text-secondary);
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-dropdown:hover span {
    color: var(--color-text-primary);
}

/* Hero Section - Anchored Left */
.hero {
    position: relative;
    height: auto;
    min-height: 85vh;
    /* Reduce from 100vh */
    display: flex;
    align-items: center;
    justify-content: flex-start;
    /* Left Align */
    overflow: hidden;
    padding-top: 120px;
    padding-bottom: 80px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-color: var(--color-bg-void);
}

#hero-canvas {
    display: block;
    width: 100%;
    height: 100%;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Subtle vignette, but keep clarity */
    background: radial-gradient(circle at top right, transparent 0%, var(--color-bg-void) 90%);
    pointer-events: none;
}

.hero-content {
    text-align: left;
    /* Anchored */
    z-index: 1;
    max-width: 800px;
    /* Limit width */
    margin-left: 0;
    /* Align left in container */
    padding: 0 1rem;
    /* opacity: 0; -- Removed for safety */
    /* transform: translateY(20px); -- Removed for safety */
    animation: fadeUp 0.8s ease forwards 0.2s;
}

.badge-pill {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 6px;
    /* Squarer, tech feel */
    background: rgba(59, 130, 246, 0.15);
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: var(--color-accent-electric);
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hero-title {
    font-size: clamp(3rem, 4.5vw, 4.5rem);
    /* Slightly tighter */
    margin-bottom: 1.5rem;
    letter-spacing: -0.04em;
    line-height: 1.1;
    font-weight: 800;
    /* Heavier */
}

.hero-tagline {
    font-size: 1.35rem;
    /* Larger body */
    color: var(--color-text-secondary);
    margin-bottom: 2.5rem;
    max-width: 650px;
    line-height: 1.5;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: flex-start;
    /* Left Align */
}

/* Positioning Strip - Compact */
.positioning-strip {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1.5rem 0;
    /* Tighter */
    background: #020305;
}

.positioning-grid {
    display: flex;
    justify-content: flex-start;
    /* Left Align if desired, but center works for strips */
    align-items: center;
    gap: 3rem;
    font-family: var(--font-mono);
    color: var(--color-text-dim);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    overflow-x: auto;
}

/* Sections - Tighter Vertical Rhythm */
.section {
    padding: 5rem 0;
    /* Reduced from 8rem */
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.container {
    max-width: 1200px;
    /* Strict container */
    margin: 0 auto;
    padding: 0 2rem;
}

.section-header {
    text-align: left;
    /* Left Align */
    margin-bottom: 3.5rem;
    /* Reduced from 5rem */
    max-width: 800px;
}

.section-label {
    display: block;
    font-family: var(--font-mono);
    color: var(--color-accent-electric);
    font-size: 0.85rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

h2 {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: 1rem;
    color: var(--color-text-primary);
}

.section-sub {
    font-size: 1.25rem;
    color: var(--color-text-secondary);
    line-height: 1.5;
    margin: 0;
}

/* Pillars Structure - Grid */
.pillars-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    /* Force 4 columns on large */
    gap: 1.5rem;
    /* Tighter gap */
}

.card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    /* Stronger border */
    padding: 2rem;
    border-radius: 8px;
    /* Less rounded */
    transition: all 0.2s ease;
    height: 100%;
}

.card:hover {
    border-color: var(--color-accent-electric);
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.04);
}

.card-icon {
    width: 48px;
    height: 48px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 6px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent-electric);
    font-size: 1.2rem;
}

.card h3 {
    margin-bottom: 0.75rem;
    font-size: 1.15rem;
    font-weight: 600;
}

.card p {
    color: var(--color-text-dim);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Split Layouts - Strict 50/50 */
.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.split-content h2 {
    font-size: 2.25rem;
}

.lead {
    font-size: 1.15rem;
    color: var(--color-text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* Feature List - Compact */
.feature-list {
    margin: 2rem 0;
    border-left: 2px solid rgba(255, 255, 255, 0.1);
    /* Guide line */
    padding-left: 1.5rem;
}

.feature-list li {
    margin-bottom: 1rem;
    padding-left: 0;
    /* Reset */
    position: relative;
    color: var(--color-text-secondary);
    display: flex;
    flex-direction: column;
}

.feature-list li::before {
    content: none;
}

.feature-list strong {
    color: var(--color-text-primary);
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

/* Visuals - Tighter */
.split-visual {
    width: 100%;
    display: flex;
    justify-content: center;
}

.abstract-diagram {
    width: 100%;
    max-width: 500px;
    aspect-ratio: 4/3;
    /* Standardize aspect ratio */
    background: radial-gradient(circle, rgba(59, 130, 246, 0.08) 0%, transparent 70%);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Pricing Preview - Simplified */
.pricing-preview {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.price-tier {
    padding: 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    background: transparent;
}

/* Footer */
.footer {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 4rem 0;
    background: #000;
}

/* Responsive */
@media (max-width: 1024px) {
    .pillars-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }

    .split-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .pillars-grid {
        grid-template-columns: 1fr;
    }

    .pricing-preview {
        grid-template-columns: 1fr;
    }
}

/* Animation Utilities */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    /* Reduced movement */
    transition: all 0.6s cubic-bezier(0.2, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}