:root {
    --primary: #6366f1;
    --primary-hover: #4f46e5;
    --bg-dark: #0f172a;
    --bg-card: #1e293b;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --glass: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --gradient: linear-gradient(135deg, #818cf8 0%, #6366f1 100%);
    --container-width: 1200px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, .brand-name {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.flex { display: flex; }
.flex-1 { flex: 1; }
.justify-between { justify-content: space-between; }
.align-center { align-items: center; }
.text-center { text-align: center; }
.py-2 { padding-top: 1rem; padding-bottom: 1rem; }
.py-4 { padding-top: 2rem; padding-bottom: 2rem; }

.section {
    padding: 6rem 0;
}

.bg-dark {
    background-color: rgba(0,0,0,0.2);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(12px);
    z-index: 1000;
    border-bottom: 1px solid var(--glass-border);
}

.nav-logo {
    height: 32px;
    margin-right: 10px;
}

.brand-name {
    font-size: 1.25rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    margin-left: 2rem;
    font-weight: 500;
    transition: var(--transition);
}

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-sm { padding: 0.5rem 1rem; font-size: 0.875rem; }
.btn-lg { padding: 1rem 2rem; font-size: 1.125rem; }
.btn-xl { padding: 1.25rem 2.5rem; font-size: 1.25rem; }

.btn-primary {
    background: var(--gradient);
    color: white;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.5);
}

.btn-outline {
    border: 2px solid var(--glass-border);
    color: var(--text-main);
    background: var(--glass);
}

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

/* Hero */
.hero {
    padding: 10rem 0 5rem;
    position: relative;
    overflow: hidden;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

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

.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-muted);
    max-width: 800px;
    margin: 0 auto 3rem;
}

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

.hero-image-container {
    margin-top: 5rem;
    position: relative;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.hero-banner {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    border: 1px solid var(--glass-border);
    position: relative;
    z-index: 2;
}

.glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, transparent 70%);
    z-index: 1;
}

/* Demo */
.demo-card {
    background: var(--bg-card);
    padding: 1rem;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    overflow: hidden;
    max-width: 800px;
    margin: 3rem auto 0;
}

.demo-gif {
    width: 100%;
    border-radius: 12px;
}

/* Features */
.section-header h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
}

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

.feature-card {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

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

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

.feature-card p {
    color: var(--text-muted);
}

/* Tech Section */
.tech-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-stack {
    position: relative;
    width: 400px;
    height: 300px;
}

.stack-img-1 {
    width: 300px;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
    border: 1px solid var(--glass-border);
}

.stack-img-2 {
    width: 300px;
    position: absolute;
    bottom: 0;
    right: 0;
    z-index: 2;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
    border: 1px solid var(--glass-border);
}

.tech-item {
    margin-top: 2rem;
}

.tech-item h4 {
    color: var(--primary);
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

/* Privacy Box */
.privacy-box {
    background: var(--gradient);
    padding: 4rem;
    border-radius: 30px;
    color: white;
}

.privacy-icon {
    font-size: 4rem;
    margin-bottom: 2rem;
}

.privacy-box p {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto 2rem;
}

.check-list {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.check-list li::before {
    content: '✓';
    margin-right: 8px;
    font-weight: bold;
}

/* CTA Card */
.cta-card {
    background: var(--bg-card);
    padding: 5rem 2rem;
    border-radius: 30px;
    border: 1px solid var(--glass-border);
}

.download-btns {
    margin-top: 2rem;
}

.text-small {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-top: 1rem;
}

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

.footer-logo {
    height: 30px;
    margin-right: 15px;
}

.footer-brand {
    display: flex;
    align-items: center;
    color: var(--text-muted);
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    margin-left: 2rem;
    transition: var(--transition);
}

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

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-up {
    opacity: 0;
    transition: all 1s ease-out;
}

.animate-up.visible {
    opacity: 1;
    animation: fadeInUp 1s ease-out forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

/* Responsive */
@media (max-width: 768px) {
    .hero h1 { font-size: 2.5rem; }
    .hero-subtitle { font-size: 1.1rem; }
    .hero-ctas { flex-direction: column; }
    .mobile-column { flex-direction: column; gap: 2rem; text-align: center; }
    .nav-links { display: none; }
    .reverse-mobile { flex-direction: column-reverse; }
    .tech-visual { margin-bottom: 3rem; }
    .image-stack { width: 100%; height: auto; display: flex; flex-direction: column; gap: 1rem; }
    .stack-img-1, .stack-img-2 { position: static; width: 100%; }
    .privacy-box { padding: 2rem; }
    .check-list { flex-direction: column; gap: 1rem; }
}
