:root {
    --bg: #030712;
    --primary: #3b82f6;
    --primary-glow: rgba(59, 130, 246, 0.4);
    --secondary: #a855f7;
    --text: #f3f4f6;
    --text-muted: #9ca3af;
    --glass: rgba(17, 24, 39, 0.6);
    --glass-border: rgba(255, 255, 255, 0.1);
    --radius: 20px;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

body {
    background-color: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.text-center {
    text-align: center;
}

h1,
h2,
h3 {
    font-family: var(--font-heading);
    font-weight: 800;
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Background Gradients */
.glow-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.glow {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.15;
}

.glow-1 {
    top: -150px;
    left: -150px;
    background: var(--primary);
}

.glow-2 {
    bottom: -150px;
    right: -150px;
    background: var(--secondary);
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -1px;
}

.logo-accent {
    color: var(--primary);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    transition: color 0.3s;
    font-size: 0.95rem;
}

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

.cta-nav {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    padding: 0.6rem 1.4rem;
    border-radius: 50px;
    color: white !important;
    box-shadow: 0 4px 15px var(--primary-glow);
}

/* Hero Section */
.hero {
    padding-top: 10rem;
    padding-bottom: 8rem;
}

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

.badge {
    display: inline-block;
    background: rgba(59, 130, 246, 0.1);
    color: var(--primary);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.hero h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-desc {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.secure-search {
    display: flex;
    padding: 0.5rem;
    margin-bottom: 2.5rem;
    gap: 0.5rem;
    max-width: 600px;
}

.secure-search input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 1rem 1.5rem;
    color: white;
    font-size: 1rem;
    outline: none;
}

.secure-search button {
    padding: 0.8rem 1.5rem;
    box-shadow: none;
}

.hero-ctas {
    display: flex;
    gap: 1.5rem;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    font-size: 1rem;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 10px 25px var(--primary-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px var(--primary-glow);
}

.btn-secondary {
    border: 1px solid var(--glass-border);
    color: var(--text);
    background: var(--glass);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.logo-card {
    padding: 2rem;
    width: 380px;
    height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--glass-border);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
}

.main-logo {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 0 30px var(--primary-glow));
}

.stat-grid {
    position: absolute;
    bottom: -30px;
    right: -20px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.stat-card {
    background: var(--glass);
    backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    padding: 1.2rem 1.5rem;
    border-radius: 16px;
    text-align: center;
}

.stat-card h3 {
    margin: 0;
    color: var(--primary);
}

.stat-card p {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
}

/* Glassmorphism Cards */
.glass-card {
    background: var(--glass);
    backdrop-filter: blur(20px);
    border-radius: var(--radius);
    border: 1px solid var(--glass-border);
    transition: transform 0.3s, border-color 0.3s;
}

.glass-card:hover {
    border-color: rgba(59, 130, 246, 0.3);
}

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

.section-title {
    font-size: 3rem;
    margin-bottom: 4rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    padding: 3rem 2rem;
    text-align: left;
}

.icon-box {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.feature-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* Diagram Section */
.bg-dim {
    background: linear-gradient(180deg, var(--bg) 0%, #0f172a 100%);
}

.diagram {
    padding: 4rem 2rem;
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.diagram-node {
    padding: 1rem 2.5rem;
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    font-weight: 600;
}

.diagram-node.accent {
    border-color: var(--primary);
    color: var(--primary);
}

.diagram-node.highlight {
    border-color: var(--secondary);
    color: var(--secondary);
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.2);
}

.diagram-arrow {
    color: var(--text-muted);
    font-size: 1.5rem;
}

/* Deployment Box */
.deployment-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    padding: 4rem;
    align-items: center;
}

.deployment-list {
    list-style: none;
    margin-top: 2rem;
}

.deployment-list li {
    margin-bottom: 1rem;
    font-weight: 500;
}

.code-preview {
    background: #000;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    font-family: 'Courier New', Courier, monospace;
}

.code-preview pre {
    color: #10b981;
}

/* Animations */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

/* Footer */
footer {
    padding: 6rem 0;
    border-top: 1px solid var(--glass-border);
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-container p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.socials {
    display: flex;
    gap: 2rem;
}

.socials a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
}

.socials a:hover {
    color: var(--text);
}

/* Responsive */
@media (max-width: 900px) {

    .hero-container,
    .deployment-box {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .hero-ctas {
        justify-content: center;
    }

    .nav-links {
        display: none;
    }

    .hero-visual {
        margin-top: 4rem;
    }

    .stat-grid {
        right: 50%;
        transform: translateX(50%);
        bottom: -80px;
        flex-direction: row;
    }
}

/* --- NEW STYLES --- */

/* Text Utilities */
.text-red { color: #ef4444; }
.text-green { color: #22c55e; }
.text-yellow { color: #eab308; }
.mb-5 { margin-bottom: 3rem; }
.subtitle { font-size: 1.2rem; color: var(--text-muted); max-width: 600px; margin: 0 auto; }

/* Problem Section */
.problem-card {
    padding: 3rem;
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.2rem;
    border-color: rgba(239, 68, 68, 0.3);
}

.lead-text {
    margin-bottom: 1.5rem;
}

/* Comparison Table */
.table-container {
    padding: 2rem;
    overflow-x: auto;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
}

.comparison-table th, 
.comparison-table td {
    padding: 1.5rem;
    border-bottom: 1px solid var(--glass-border);
    text-align: left;
}

.comparison-table th {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--text-muted);
}

.comparison-table th.highlight {
    color: var(--primary);
    border-bottom: 2px solid var(--primary);
}

.comparison-table td.good {
    color: var(--text);
    font-weight: 600;
    background: rgba(59, 130, 246, 0.05);
}

/* Flow Diagram */
.flow-diagram {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.diagram-row {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.diagram-lines {
    color: var(--text-muted);
    font-size: 1.5rem;
}

.diagram-split-container {
    display: flex;
    justify-content: center;
    gap: 4rem;
    width: 100%;
    margin-top: 2rem;
}

.path-branch {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    max-width: 300px;
}

.arrow-label {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.diagram-arrow.green { color: #22c55e; font-size: 2rem; }
.diagram-arrow.yellow { color: #eab308; font-size: 2rem; }

.safe-node {
    border: 1px solid #22c55e;
    color: #22c55e;
    padding: 1rem;
    border-radius: 8px;
    background: rgba(34, 197, 94, 0.1);
}

.warning-node {
    border: 1px solid #eab308;
    color: #eab308;
    padding: 1rem;
    border-radius: 8px;
    background: rgba(234, 179, 8, 0.1);
    position: relative;
    text-align: center;
}

.score-badge {
    position: absolute;
    top: -10px;
    right: -10px;
    background: #eab308;
    color: #000;
    font-size: 0.7rem;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-weight: bold;
}

.neutralizer-node {
    border: 1px solid var(--glass-border);
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
}

.job-desc {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Browser Mockup */
.browser-node {
    width: 100%;
}

.browser-mockup {
    background: #1e293b;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
}

.browser-header {
    background: #ef4444; /* Red for warning */
    color: white;
    padding: 0.5rem;
    font-size: 0.8rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.browser-content {
    padding: 2rem;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Closing CTA */
.closing-cta {
    padding: 6rem 0;
}

.btn-large {
    font-size: 1.2rem;
    padding: 1.2rem 3rem;
}