:root {
    --bg-dark: #050b14;
    --bg-card: #0f172a;
    --primary: #00f2ff;
    --primary-dim: rgba(0, 242, 255, 0.1);
    --secondary: #6366f1;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-bg: rgba(15, 23, 42, 0.6);
    --font-heading: 'Outfit', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

/* Noise Overlay */
.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='1'/%3E%3C/svg%3E");
}

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 2.5rem;
}

p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

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

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 1rem 0;
    backdrop-filter: blur(12px);
    background: rgba(5, 11, 20, 0.8);
    border-bottom: 1px solid var(--glass-border);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-main);
}

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

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.logo-img {
    height: 40px;
    width: auto;
    border-radius: 8px;
    /* Optional: adds a bit of softness */
}

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

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: var(--primary);
    color: #000;
    box-shadow: 0 0 20px rgba(0, 242, 255, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(0, 242, 255, 0.4);
}

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

.btn-outline:hover {
    border-color: var(--primary);
    background: var(--primary-dim);
}

/* Hero Section */
.hero {
    padding-top: 100px;
    /* nav height */
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: radial-gradient(circle at 50% 50%, rgba(99, 102, 241, 0.1) 0%, transparent 50%);
}

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

.badge {
    display: inline-block;
    padding: 4px 12px;
    background: var(--primary-dim);
    color: var(--primary);
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(0, 242, 255, 0.2);
}

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

.tech-stack {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.9rem;
    color: var(--text-muted);
    border-top: 1px solid var(--glass-border);
    padding-top: 1.5rem;
}

.tech-icon {
    font-family: var(--font-mono);
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.05);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
}

/* Hero Visual */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.phone-mockup {
    width: 300px;
    height: 600px;
    border: 8px solid #2d3748;
    /* Thinner, lighter bezel */
    border-radius: 40px;
    background: #000;
    overflow: hidden;
    position: relative;
    z-index: 2;
    box-shadow:
        0 0 0 2px rgba(255, 255, 255, 0.1),
        /* Outer subtle ring */
        0 50px 100px -20px rgba(0, 0, 0, 0.7);
}

.screen-content {
    width: 100%;
    height: 100%;
    background: #000;
    display: flex;
    justify-content: center;
    align-items: center;
}

.app-screenshot {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Ensures it fills without borders */
    display: block;
}

.floating-shield {
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--primary-dim) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    filter: blur(40px);
}

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

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 5rem;
}

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

.card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    padding: 2rem;
    border-radius: 16px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.5);
}

.card-icon {
    width: 48px;
    height: 48px;
    background: var(--primary-dim);
    border-radius: 12px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    position: relative;
}

.icon-shield::after {
    content: '🛡️';
    font-size: 24px;
    filter: grayscale(1) brightness(200%);
}

.icon-lock::after {
    content: '🔒';
    font-size: 24px;
    filter: grayscale(1) brightness(200%);
}

.icon-grid::after {
    content: '🏗️';
    font-size: 24px;
    filter: grayscale(1) brightness(200%);
}

.icon-ghost::after {
    content: '👻';
    font-size: 24px;
    filter: grayscale(1) brightness(200%);
}

.feature-list {
    list-style: none;
    margin-top: 1rem;
}

.feature-list li {
    font-size: 0.9rem;
    color: var(--text-muted);
    padding-left: 1.2rem;
    position: relative;
    margin-bottom: 0.5rem;
}

.feature-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary);
}

/* Security Section */
.security-section {
    padding: 8rem 0;
    background: linear-gradient(to bottom, var(--bg-dark), #0a0f1c);
}

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

.stat-row {
    display: flex;
    gap: 4rem;
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 1px solid var(--glass-border);
}

.stat .number {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat .label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
}

.code-block {
    background: #1e1e1e;
    border-radius: 12px;
    padding: 1.5rem;
    font-family: var(--font-mono);
    border: 1px solid var(--glass-border);
    box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.5);
}

.code-header {
    display: flex;
    gap: 8px;
    margin-bottom: 1.5rem;
}

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

.red {
    background: #ff5f56;
}

.yellow {
    background: #ffbd2e;
}

.green {
    background: #27c93f;
}

pre {
    color: #a9b7c6;
    font-size: 0.9rem;
    overflow-x: auto;
}

/* CTA Section */
.cta-section {
    padding: 8rem 0;
}

.cta-card {
    background: radial-gradient(circle at 100% 0%, rgba(0, 242, 255, 0.1) 0%, transparent 50%), var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 4rem;
    text-align: center;
}

.terminal-view {
    max-width: 400px;
    margin: 2rem auto;
    background: #000;
    border-radius: 8px;
    padding: 1rem;
    text-align: left;
    font-family: var(--font-mono);
    border: 1px solid #333;
}

.cmd-line {
    color: #e2e8f0;
    margin-bottom: 0.5rem;
}

.prompt {
    color: var(--primary);
    margin-right: 8px;
}

.platform-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.btn-platform {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    color: var(--text-main);
    padding: 1rem 2rem;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
}

.btn-platform:hover {
    background: var(--bg-card);
    border-color: var(--text-main);
}

.btn-platform.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Footer */
.footer {
    padding: 6rem 0 2rem;
    border-top: 1px solid var(--glass-border);
    margin-top: auto;
    background: linear-gradient(to bottom, var(--bg-dark), #020617);
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--glass-border), transparent);
}

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

.brand-col .logo {
    margin-bottom: 1.5rem;
    display: inline-flex;
}

.brand-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 2rem;
    max-width: 300px;
}

.footer-heading {
    color: var(--text-main);
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
}

.footer-nav {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-nav a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-nav a:hover {
    color: var(--primary);
    transform: translateX(2px);
    display: inline-block;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: var(--transition);
}

.social-link:hover {
    background: var(--primary-dim);
    color: var(--primary);
    border-color: var(--primary);
    transform: translateY(-2px);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--glass-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    margin-bottom: 0;
    font-size: 0.85rem;
}

.version-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.03);
    padding: 4px 10px;
    border-radius: 100px;
    border: 1px solid var(--glass-border);
}

.indicator {
    width: 6px;
    height: 6px;
    background: #27c93f;
    /* Green for stable */
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(39, 201, 63, 0.4);
}

@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }

    .brand-col {
        grid-column: span 2;
    }
}

@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .brand-col {
        grid-column: span 1;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* Mockup UI */
.mockup-ui {
    width: 100%;
    height: 100%;
    padding: 20px;
    display: flex;
    flex-direction: column;
    color: #fff;
    font-family: var(--font-heading);
}

.mockup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.mockup-title {
    font-size: 1.5rem;
    font-weight: 700;
}

.mockup-search {
    width: 24px;
    height: 24px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    position: relative;
}

.mockup-search::after {
    content: '';
    position: absolute;
    bottom: -4px;
    right: -4px;
    width: 8px;
    height: 2px;
    background: rgba(255, 255, 255, 0.5);
    transform: rotate(45deg);
}

.mockup-tabs {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 10px;
}

.tab {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    padding-bottom: 10px;
    margin-bottom: -11px;
    cursor: pointer;
}

.tab.active {
    color: var(--primary);
    border-bottom: 2px solid var(--primary);
}

.mockup-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mockup-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
}

.item-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
}

.color-red {
    background: rgba(255, 95, 86, 0.2);
    color: #ff5f56;
}

.color-blue {
    background: rgba(59, 130, 246, 0.2);
    color: #3b82f6;
}

.color-yellow {
    background: rgba(255, 189, 46, 0.2);
    color: #ffbd2e;
}

.color-purple {
    background: rgba(139, 92, 246, 0.2);
    color: #8b5cf6;
}

.item-info {
    flex: 1;
}

.item-title {
    font-size: 1rem;
    font-weight: 600;
}

.item-sub {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
}

.mockup-fab {
    position: absolute;
    bottom: 30px;
    right: 30px;
    width: 56px;
    height: 56px;
    background: var(--primary);
    border-radius: 50%;
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 300;
    box-shadow: 0 4px 15px rgba(0, 242, 255, 0.4);
}

@media (max-width: 768px) {

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

    .hero-actions,
    .stat-row,
    .footer-content {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }

    .nav-links {
        display: none;
        /* simple mobile hide for now */
    }

    h1 {
        font-size: 2.5rem;
    }
}