@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;800;900&family=Inter:wght@400;500;600&display=swap');

:root {
    --bg-base: #060913;
    --bg-alt: #0b101e;
    --text-primary: #ffffff;
    --text-muted: #8b9bb4;
    --accent-cyan: #00e5ff;
    --accent-cyan-glow: rgba(0, 229, 255, 0.2);
    --accent-magenta: #ff007f;
    --accent-orange: #ff9900;
    --accent-red: #ff3366;
    --border-light: rgba(255, 255, 255, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-base);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

.text-cyan { color: var(--accent-cyan); }
.text-magenta { color: var(--accent-magenta); }
.text-orange { color: var(--accent-orange); }
.text-red { color: var(--accent-red); }
.text-purple { color: #b057ff; }
.text-center { text-align: center; }

h1, h2, h3, h4 {
    font-family: 'Outfit', sans-serif;
    line-height: 1.2;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Navbar */
.top-nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    background: rgba(6, 9, 19, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-light);
    z-index: 1000;
}

.nav-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.2rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
    color: #fff;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    letter-spacing: -0.02em;
}

.logo span {
    color: var(--accent-cyan);
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #fff;
}

.nav-links .doc-link {
    background: rgba(255, 255, 255, 0.05);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    border: 1px solid var(--border-light);
    color: #fff;
}

.nav-links .doc-link:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* HERO SECTION */
.hero {
    min-height: 100vh;
    padding-top: 120px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* Add a giant background radial glow */
.hero::before {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 800px; height: 800px;
    background: radial-gradient(circle, var(--accent-cyan-glow) 0%, transparent 60%);
    z-index: -1;
}

.hero-container {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.hero-text {
    flex: 1.2;
}

.pulse-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(0, 229, 255, 0.1);
    border: 1px solid rgba(0, 229, 255, 0.3);
    color: var(--accent-cyan);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.dot {
    width: 8px; height: 8px;
    background: var(--accent-cyan);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-cyan);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(0, 229, 255, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(0, 229, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 229, 255, 0); }
}

.hero h1 {
    font-size: 4.2rem;
    font-weight: 900;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #fff 0%, #a5b4fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-sub {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 90%;
}

.hero-sub code {
    background: rgba(255,255,255,0.1);
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    color: #fff;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 1.2rem 2rem;
    border-radius: 8px;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.primary-cta {
    background: var(--text-primary);
    color: var(--bg-base);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.15);
}

.primary-cta .size {
    font-weight: 400;
    opacity: 0.7;
    font-size: 0.9rem;
}

.primary-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(255, 255, 255, 0.25);
    background: #e2e8f0;
}

.secondary-cta {
    background: transparent;
    color: #fff;
    border: 1px solid var(--border-light);
}

.secondary-cta:hover {
    background: rgba(255,255,255,0.05);
    transform: translateY(-3px);
}

.social-proof {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
}

.social-proof i {
    color: var(--accent-cyan);
}

.hero-visual {
    flex: 1;
    position: relative;
    perspective: 1000px;
}

.app-mockup {
    width: 120%; /* Bleeds off the edge */
    max-width: 800px;
    border-radius: 12px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.6);
    border: 1px solid rgba(255,255,255,0.1);
    transform: rotateY(-15deg) rotateX(5deg);
    transition: transform 0.5s ease;
}

.app-mockup:hover {
    transform: rotateY(-5deg) rotateX(2deg);
}

/* AGITATION SECTION */
.agitation-section {
    padding: 8rem 0;
    background: var(--bg-alt);
    border-top: 1px solid var(--border-light);
}

.kicker {
    font-size: 1rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.agitation-section h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.lead {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 800px;
    margin: 0 auto 4rem auto;
}

.pain-points {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.pain-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-light);
    padding: 2.5rem;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.pain-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.04);
}

.pain-card i {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.pain-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.pain-card p {
    color: var(--text-muted);
}

/* ZIG ZAG SECTIONS (SOLUTION) */
.solution-section {
    padding: 8rem 0;
}

.alternate-bg {
    background: var(--bg-alt);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.zig-zag {
    display: flex;
    align-items: center;
    gap: 5rem;
}

.zig-zag.reverse {
    flex-direction: row-reverse;
}

.zz-text {
    flex: 1;
}

.zz-text h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.zz-text p {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.check-list {
    list-style: none;
    margin-top: 2rem;
}

.check-list li {
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    padding-left: 2rem;
    position: relative;
}

.check-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent-cyan);
    font-weight: bold;
}

.zz-visual {
    flex: 1;
}

/* Data Block Mockup */
.data-block-mockup {
    background: #0f1423;
    border: 1px solid rgba(0, 229, 255, 0.2);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.db-header {
    background: #161d30;
    padding: 1rem 1.5rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.db-row {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.02);
    font-family: 'Consolas', monospace;
    font-size: 0.95rem;
}

.db-row.danger { background: rgba(255, 51, 102, 0.05); }
.db-row.warning { background: rgba(255, 153, 0, 0.05); }

.tag {
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: bold;
    margin-right: 1rem;
}

.tag.NEW { background: rgba(255, 153, 0, 0.1); color: var(--accent-orange); border: 1px solid rgba(255, 153, 0, 0.3); }
.tag.ORPHAN { background: rgba(255, 0, 127, 0.1); color: var(--accent-magenta); border: 1px solid rgba(255, 0, 127, 0.3); }
.tag.CHILD { background: rgba(0, 229, 255, 0.1); color: var(--accent-cyan); border: 1px solid rgba(0, 229, 255, 0.3); }

.float-right { float: right; color: var(--text-muted); }
.db-row.danger .float-right { color: var(--accent-red); font-weight: bold; }

/* Glass Panel for AI */
.glass-panel {
    background: rgba(176, 87, 255, 0.05);
    border: 1px solid rgba(176, 87, 255, 0.2);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    overflow: hidden;
}

.gp-header {
    background: rgba(176, 87, 255, 0.1);
    padding: 1rem 1.5rem;
    font-weight: bold;
    color: #e5ccff;
}

.gp-body {
    padding: 2rem;
}

.ai-text {
    font-style: italic;
    color: #e5ccff;
    border-left: 3px solid #b057ff;
    padding-left: 1.5rem;
    margin-top: 1.5rem;
}

/* Triage Grid */
.triage-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.triage-btn {
    background: #111726;
    border: 1px solid rgba(0, 229, 255, 0.3);
    padding: 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-family: 'Outfit', sans-serif;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: all 0.2s;
}

.triage-btn i {
    font-size: 1.5rem;
    color: var(--accent-cyan);
}

.triage-btn.red {
    border-color: rgba(255, 51, 102, 0.3);
}

.triage-btn.red i {
    color: var(--accent-red);
}

.triage-btn:hover {
    background: #1a233a;
    transform: translateX(10px);
}

/* FINAL CTA */
.final-cta {
    padding: 10rem 0;
    background: radial-gradient(circle at center, rgba(0, 229, 255, 0.05) 0%, var(--bg-base) 70%);
}

.final-cta h2 {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.final-cta p {
    font-size: 1.5rem;
    color: var(--text-muted);
}

.massive {
    font-size: 1.3rem;
    padding: 1.5rem 3rem;
}

.micro-text {
    font-size: 0.9rem !important;
    margin-top: 1rem;
    opacity: 0.5;
}

/* FOOTER */
footer {
    border-top: 1px solid var(--border-light);
    padding: 3rem 0;
    background: var(--bg-alt);
}

.footer-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.f-logo {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.2rem;
}

.f-links {
    display: flex;
    gap: 2rem;
}

.f-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
}

.f-links a:hover {
    color: #fff;
}

/* NEW SECTIONS */

/* How It Works */
.how-section { padding: 8rem 0; }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3rem; margin-top: 4rem; text-align: center; }
.step-item { position: relative; }
.step-icon { font-size: 3rem; color: var(--accent-cyan); margin-bottom: 1.5rem; }
.step-num { position: absolute; top: -20px; right: 10px; font-size: 8rem; font-weight: 900; color: rgba(255,255,255,0.03); z-index: -1; line-height: 1; font-family: 'Outfit', sans-serif; pointer-events: none; }
.step-item h3 { font-size: 1.5rem; margin-bottom: 1rem; color: #fff; }
.step-item p { color: var(--text-muted); }

/* Comparison Table */
.comparison-section { padding: 8rem 0; }
.comparison-table-wrap { overflow-x: auto; margin-top: 4rem; background: rgba(255, 255, 255, 0.02); border: 1px solid var(--border-light); border-radius: 12px; padding: 2rem; }
.comparison-table { width: 100%; border-collapse: collapse; text-align: left; }
.comparison-table th, .comparison-table td { padding: 1.2rem; border-bottom: 1px solid rgba(255,255,255,0.05); }
.comparison-table th { font-family: 'Outfit', sans-serif; font-size: 1.2rem; font-weight: 600; color: #fff; }
.comparison-table td { color: var(--text-muted); }
.highlight-col { background: rgba(0, 229, 255, 0.05); }
.comparison-table th.highlight-col { color: var(--accent-cyan); border-radius: 8px 8px 0 0; }
.comparison-table tr:last-child td.highlight-col { border-radius: 0 0 8px 8px; }
.comparison-table tr:last-child td { border-bottom: none; }

/* Who It's For */
.who-section { padding: 8rem 0; }
.who-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; margin-top: 4rem; }
.who-card { background: rgba(255, 255, 255, 0.02); border: 1px solid var(--border-light); border-radius: 12px; padding: 2.5rem; display: flex; flex-direction: column; gap: 1rem; transition: transform 0.3s ease; }
.who-card:hover { transform: translateY(-5px); background: rgba(255, 255, 255, 0.04); }
.who-card i { font-size: 2.5rem; color: var(--accent-magenta); }
.who-card h3 { font-size: 1.5rem; color: #fff; }
.who-card p { color: var(--text-muted); }

/* Trust Section */
.trust-section { padding: 8rem 0; }
.trust-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; margin-top: 4rem; }
.trust-item { display: flex; align-items: center; gap: 1.5rem; font-size: 1.1rem; color: #fff; background: rgba(255,255,255,0.02); padding: 1.5rem; border-radius: 8px; border: 1px solid var(--border-light); }
.trust-item i { font-size: 1.5rem; color: var(--accent-cyan); width: 30px; text-align: center; }

/* Nav Toggle */
.nav-toggle { display: none; background: none; border: none; color: #fff; font-size: 1.5rem; cursor: pointer; }

/* Responsive */
@media (max-width: 992px) {
    .nav-toggle { display: block; }
    .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; background: rgba(6, 9, 19, 0.98); flex-direction: column; padding: 2rem; gap: 1.5rem; border-bottom: 1px solid var(--border-light); border-top: 1px solid var(--border-light); }
    .top-nav.open .nav-links { display: flex; }
    
    .hero-container, .zig-zag {
        flex-direction: column;
        text-align: center;
        gap: 3rem;
    }
    .hero-text { align-items: center; display: flex; flex-direction: column; }
    .hero-actions { flex-direction: column; width: 100%; }
    .hero-actions .cta-btn { width: 100%; }
    
    .app-mockup { transform: none; width: 100%; max-width: 100%; }
    .app-mockup:hover { transform: none; }
    .hero h1 { font-size: 3rem; }
    
    .pain-points, .steps-grid, .who-grid, .trust-grid, .triage-grid { 
        grid-template-columns: 1fr; 
        gap: 2rem; 
    }
    .check-list li { text-align: left; }
    
    .comparison-table-wrap { 
        padding: 1rem; 
        border-radius: 0; 
        border-left: none; 
        border-right: none; 
        margin-left: -2rem; 
        margin-right: -2rem; 
    }
    
    .footer-flex { flex-direction: column; gap: 2rem; text-align: center; }
    .f-links { flex-direction: column; gap: 1rem; }
}

/* INNER PAGES */
.page-header {
    padding: 10rem 0 4rem 0;
    text-align: center;
    background: radial-gradient(circle at top, rgba(0, 229, 255, 0.05) 0%, transparent 60%);
    border-bottom: 1px solid var(--border-light);
}

.page-header h1 {
    font-size: 3.5rem;
}

.page-content {
    padding: 5rem 0;
}

.text-container {
    max-width: 800px;
    margin: 0 auto;
}

.text-container p {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.text-container h2 {
    font-size: 2.2rem;
    margin: 3rem 0 1.5rem 0;
    color: #fff;
}

/* Download Steps */
.step-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    position: relative;
    padding-left: 5rem;
}

.step-number {
    position: absolute;
    left: 1.5rem;
    top: 2rem;
    font-family: 'Outfit', sans-serif;
    font-size: 2rem;
    font-weight: 900;
    color: var(--accent-cyan);
    opacity: 0.5;
}

.step-card h3 {
    margin-bottom: 1rem;
    color: #fff;
}

.step-card pre {
    background: #060913;
    padding: 1rem;
    border-radius: 6px;
    border: 1px solid var(--border-light);
    color: var(--accent-cyan);
    font-family: 'Consolas', monospace;
    overflow-x: auto;
    margin-top: 1rem;
}

/* Changelog Timeline */
.timeline {
    border-left: 2px solid var(--border-light);
    padding-left: 2rem;
    margin-top: 3rem;
}

.release {
    margin-bottom: 4rem;
    position: relative;
}

.release::before {
    content: '';
    position: absolute;
    left: -2.45rem;
    top: 0.5rem;
    width: 16px;
    height: 16px;
    background: var(--accent-cyan);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-cyan);
}

.release-date {
    font-size: 0.9rem;
    color: var(--accent-magenta);
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.release h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.release ul {
    list-style: none;
}

.release li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.8rem;
    color: var(--text-muted);
}

.release li::before {
    content: '-';
    position: absolute;
    left: 0;
    color: #fff;
}
