:root {
    --bg-color: #06080F;
    --card-bg: rgba(20, 24, 40, 0.6);
    --border-color: rgba(255, 255, 255, 0.08);
    --primary: #5E35B1;
    --primary-glow: rgba(94, 53, 177, 0.4);
    --secondary: #00E5FF;
    --text-main: #FFFFFF;
    --text-muted: #9BA1B0;
    --accent-red: #FF3B30;
    --accent-yellow: #FFCC00;
    --accent-green: #34C759;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

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

a {
    text-decoration: none;
    color: inherit;
}

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

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
}

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

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 0;
    background: rgba(6, 8, 15, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    z-index: 100;
    transition: all 0.3s ease;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--text-main);
}

.logo-icon {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    box-shadow: 0 0 15px var(--primary-glow);
    object-fit: cover;
}

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

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

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

.nav-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, #4A148C, var(--primary));
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 15px var(--primary-glow);
}

.btn-primary:hover {
    box-shadow: 0 6px 20px rgba(94, 53, 177, 0.6);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: var(--text-main);
}

.btn-secondary:hover {
    color: var(--secondary);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    color: var(--text-main);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
}

.btn-lg {
    padding: 0.8rem 1.8rem;
    font-size: 1.05rem;
    border-radius: 10px;
}

/* Hero Section */
.hero {
    padding: 8rem 0 4rem;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

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

.badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(94, 53, 177, 0.15);
    border: 1px solid rgba(94, 53, 177, 0.5);
    color: #D1C4E9;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    letter-spacing: 0.5px;
}

.hero-title {
    font-size: 4.5rem;
    margin-bottom: 1.5rem;
    letter-spacing: -1.5px;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 90%;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-main);
}

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

/* Hero Visual */
.hero-visual {
    position: relative;
    width: 100%;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.glow-orb {
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--primary-glow) 0%, rgba(0,229,255,0.1) 40%, rgba(0,0,0,0) 70%);
    z-index: 0;
}

.hero-visual img {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 500px;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    animation: float 6s ease-in-out infinite;
}

.floating-card {
    position: absolute;
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.9rem;
    font-weight: 500;
    z-index: 2;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.card-1 {
    top: 10%;
    left: -5%;
    animation: float 5s ease-in-out infinite 1s;
}

.card-2 {
    bottom: 20%;
    right: -10%;
    animation: float 7s ease-in-out infinite 2s;
}

.card-icon {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.secure-icon { background: var(--accent-green); box-shadow: 0 0 10px var(--accent-green); }
.vault-icon { background: var(--accent-yellow); box-shadow: 0 0 10px var(--accent-yellow); }
.identity-icon { background: #FF4081; box-shadow: 0 0 10px #FF4081; }
.sandbox-icon { background: #00E5FF; box-shadow: 0 0 10px #00E5FF; }

/* Features */
.features {
    padding: 4rem 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

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

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 3rem 2rem;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: rgba(94, 53, 177, 0.5);
}

.feature-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.feature-icon svg {
    width: 24px;
    height: 24px;
}

.phase-1a { background: linear-gradient(135deg, #FF4081, #7C4DFF); }
.phase-1b { background: linear-gradient(135deg, #00E5FF, #2979FF); }
.phase-1c { background: linear-gradient(135deg, #00C853, #64DD17); }

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

.feature-card p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.feature-list {
    list-style: none;
}

.feature-list li {
    font-size: 0.9rem;
    color: #CFD8DC;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.feature-list li::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background: var(--secondary);
    border-radius: 50%;
}

/* Deep Dive */
.deep-dive {
    padding: 4rem 0;
    background: linear-gradient(to bottom, transparent, rgba(94,53,177,0.05), transparent);
}

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

.section-text {
    color: var(--text-muted);
    font-size: 1.15rem;
    margin-bottom: 2rem;
}

/* Code Window */
.code-window {
    background: #0d1117;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
}

.code-header {
    background: #161b22;
    padding: 0.8rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-bottom: 1px solid var(--border-color);
}

.dot { width: 12px; height: 12px; border-radius: 50%; }
.red { background: var(--accent-red); }
.yellow { background: var(--accent-yellow); }
.green { background: var(--accent-green); }

.window-title {
    color: var(--text-muted);
    font-size: 0.8rem;
    margin-left: 1rem;
    font-family: monospace;
}

.code-window pre {
    padding: 1.5rem;
    color: #c9d1d9;
    font-family: monospace;
    font-size: 0.9rem;
    overflow-x: auto;
}

/* Glass Panel / Traffic Monitor */
.glass-panel {
    background: rgba(20, 24, 40, 0.4);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.glass-panel h4 {
    margin-bottom: 1.5rem;
    color: #fff;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
}

.traffic-row {
    display: flex;
    justify-content: space-between;
    padding: 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    font-family: monospace;
    font-size: 0.9rem;
}

.traffic-row:last-child {
    border-bottom: none;
}

.traffic-dest { color: #E1E8EB; }

.traffic-status {
    font-weight: 600;
    font-size: 0.8rem;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
}

.allow .traffic-status { color: var(--accent-green); background: rgba(52,199,89,0.1); }
.deny .traffic-status { color: var(--accent-red); background: rgba(255,59,48,0.1); }
.pending .traffic-status { color: var(--accent-yellow); background: rgba(255,204,0,0.1); }


/* Footer */
.footer {
    border-top: 1px solid var(--border-color);
    padding: 4rem 0 2rem;
    margin-top: 4rem;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-brand p {
    color: var(--text-muted);
    margin-top: 1rem;
    max-width: 300px;
}

.link-column h4 {
    margin-bottom: 1.5rem;
}

.link-column a {
    display: block;
    color: var(--text-muted);
    margin-bottom: 0.8rem;
    transition: color 0.2s;
}

.link-column a:hover {
    color: var(--text-main);
}

.copyright {
    color: var(--text-muted);
    font-size: 0.9rem;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 2rem;
}

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

/* Responsiveness */
@media (max-width: 900px) {
    .hero-container, .split-section {
        grid-template-columns: 1fr;
    }
    .hero {
        padding-top: 8rem;
    }
    .hero-title {
        font-size: 3rem;
    }
    .features-grid {
        grid-template-columns: 1fr 1fr;
    }
    .footer-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
    .nav-links {
        display: none;
    }
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }
}
