:root {
    --bg: #0a0a0a;
    --card-bg: #111111;
    --accent: #c5a059; /* Gold */
    --accent-hover: #b38f4d;
    --text: #f8fafc;
    --text-muted: #94a3b8;
    --border: rgba(255, 255, 255, 0.08);
    --glass: rgba(255, 255, 255, 0.03);
    --transition: all 0.3s cubic-bezier(0.19, 1, 0.22, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

/* HELPER CLASSES */
.section-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.grid-2-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.text-gradient {
    background: linear-gradient(135deg, #fff 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-padding { padding: 8rem 0; }

.desktop-only { display: block; }
@media (max-width: 768px) {
    .desktop-only { display: none; }
}

/* ANIMATIONS */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes floating {
    0%, 100% { transform: translateY(0) rotate(-5deg); }
    50% { transform: translateY(-15px) rotate(-3deg); }
}

@keyframes floating-reverse {
    0%, 100% { transform: translateY(0) rotate(5deg); }
    50% { transform: translateY(-15px) rotate(3deg); }
}

@keyframes glowPulse {
    0%, 100% { box-shadow: 0 0 20px rgba(197, 160, 89, 0.2); }
    50% { box-shadow: 0 0 40px rgba(197, 160, 89, 0.5); }
}

.reveal {
    opacity: 0;
    animation: fadeInUp 1s cubic-bezier(0.19, 1, 0.22, 1) forwards;
}

.stagger-1 { animation-delay: 0.1s; }
.stagger-2 { animation-delay: 0.2s; }
.stagger-3 { animation-delay: 0.3s; }
.stagger-4 { animation-delay: 0.4s; }

.float-anim { animation: floating 6s ease-in-out infinite; }
.float-anim-reverse { animation: floating-reverse 7s ease-in-out infinite; }
.glow-anim { animation: glowPulse 4s ease-in-out infinite; }

/* NAV */
nav {
    height: 80px;
    display: flex;
    align-items: center;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

.nav-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-icon {
    width: 32px;
    height: 32px;
    background: var(--accent);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: black;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: var(--transition);
}

.nav-links a:hover { color: var(--accent); }

.nav-cta {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.btn {
    padding: 0.8rem 1.8rem;
    border-radius: 0.75rem;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--accent);
    color: black;
}

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
}

.btn-secondary {
    background: var(--glass);
    color: white;
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.06);
    transform: translateY(-2px);
}

/* HERO */
.hero {
    padding: 12rem 0 8rem;
    text-align: center;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: rgba(197, 160, 89, 0.1);
    border: 1px solid rgba(197, 160, 89, 0.2);
    border-radius: 2rem;
    color: var(--accent);
    font-size: 0.8rem;
    font-weight: 800;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

h1 {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.04em;
}

.lead {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 3rem;
}

/* Mockup Utilities */
.hero-mockup-container {
    transition: var(--transition);
}

.hero-mockup-image-wrapper {
    transition: var(--transition);
}

.mockup-container {
    position: relative;
    border-radius: 12px;
    background: #000;
    border: 1px solid var(--border);
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.phone-shell {
    width: 140px;
    height: 280px;
    border: 6px solid #1a1a1a;
    border-radius: 24px;
    background: #000;
    position: relative;
    margin: 0 auto;
}

.phone-screen {
    position: absolute;
    inset: 4px;
    border-radius: 18px;
    background: linear-gradient(135deg, #111, #000);
    overflow: hidden;
}

.dash-preview {
    height: 180px;
    background: #0a0a0a;
    border-radius: 12px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.browser-shell {
    height: 160px;
    background: #000;
}

.browser-header {
    height: 20px;
    background: #1a1a1a;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 0 8px;
}

.browser-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

/* CARDS */
.card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 1.5rem;
    padding: 2.5rem;
    transition: var(--transition);
}

.card:hover {
    border-color: rgba(197,160,89,0.3);
    transform: translateY(-5px);
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }

    /* NAV FIXES */
    .nav-links, .nav-cta a:last-child { 
        display: none !important; 
    }
    
    .nav-cta a:first-child {
        display: inline-flex !important;
    }

    .nav-container { 
        padding: 0 1.5rem; 
    }

    /* HERO FIXES */
    .hero {
        padding: 6rem 0 4rem !important;
    }

    .hero h1 {
        font-size: 2.15rem !important; /* Calibrated for balanced 2-line wrap */
        line-height: 1.15;
        margin-bottom: 2rem;
        max-width: 90%;
        margin-left: auto;
        margin-right: auto;
    }

    .section-title {
        font-size: 2rem !important;
        margin-bottom: 1rem;
        padding: 0 1rem;
    }

    .section-padding {
        padding: 4rem 1rem !important;
        padding-bottom: 8.5rem !important;
    }

    .grid-2-col {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero .lead, #solution p {
        font-size: 1rem;
        padding: 0;
        margin-bottom: 2rem;
    }

    .hero-mockup-container {
        margin-top: 3rem !important;
        border-width: 6px !important;
        border-radius: 2rem !important;
    }

    .hero-mockup-image-wrapper {
        height: 250px !important;
    }

    .hero-mockup-overlay {
        display: none !important;
    }

    /* BRAND BADGE MOBILE */
    .brand-badge {
        bottom: 0.75rem;
        left: 0.75rem;
        padding: 0.3rem 0.6rem;
        gap: 0.4rem;
        transform: scale(0.85);
        transform-origin: bottom left;
        background: rgba(0, 0, 0, 0.85);
    }

    .brand-badge-icon {
        width: 18px;
        height: 18px;
        font-size: 0.55rem;
    }

    .brand-badge-text {
        font-size: 0.65rem;
    }
}

@media (max-width: 1024px) {
    h1 { font-size: 3.5rem; }
}


/* BRAND BADGE */
.brand-badge {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 1rem;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border);
    border-radius: 2rem;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.brand-badge:hover {
    background: rgba(0, 0, 0, 0.8);
    border-color: var(--accent);
    transform: translateY(-2px);
}

.brand-badge-icon {
    width: 24px;
    height: 24px;
    background: var(--accent);
    color: black;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.7rem;
}

.brand-badge-text {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
}

.brand-badge:hover .brand-badge-text {
    color: var(--text);
}

.brand-badge-accent {
    color: var(--accent);
    font-weight: 700;
}

@media (max-width: 768px) {
    .section-padding {
        padding-bottom: 7rem !important; /* Ensure content clears floating badges */
    }

    h1, h2, h3 {
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
}
