/* Modern Dark Theme Variables */
:root {
    --bg-color: #0f111a;
    /* Dark Navy from screenshot */
    --surface-color: #1a1d26;
    --primary-color: #8b5cf6;
    /* Vivid Purple */
    --secondary-color: #d8b4fe;
    /* Lighter Purple */
    --accent-glow: rgba(139, 92, 246, 0.4);
    --text-primary: #ffffff;
    --text-secondary: #9ca3af;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --glass-bg: rgba(15, 17, 26, 0.8);
    --glass-border: rgba(255, 255, 255, 0.08);
}

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

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

/* Typography */
h1,
h2,
h3 {
    font-family: var(--font-heading);
    font-weight: 700;
}

h1 {
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

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

/* Header */
header {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    padding: 20px 0;
}

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

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    width: 40px;
    height: 40px;
    border-radius: 10px;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--text-primary);
}

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

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

/* Hero Section */
.hero {
    margin-top: 80px;
    padding: 80px 0 100px;
    position: relative;
    overflow: hidden;
}

/* Deep Glow Background */
.hero::before {
    content: '';
    position: absolute;
    top: 20%;
    right: -10%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, var(--accent-glow) 0%, rgba(0, 0, 0, 0) 70%);
    z-index: -1;
    filter: blur(60px);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
}

.hero-content h1 {
    font-size: 4.5rem;
    background: linear-gradient(to right, #fff, #d8b4fe);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 500px;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--primary-color);
    color: white;
    padding: 16px 40px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    box-shadow: 0 10px 40px -10px var(--accent-glow);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 50px -10px var(--accent-glow);
    background: #7c3aed;
}

/* Phone Mockups */
.hero-visuals {
    position: relative;
    height: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-frame {
    position: absolute;
    width: 280px;
    border-radius: 36px;
    border: 8px solid #2e3038;
    background: #000;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    transition: transform 0.5s ease;
}

.phone-frame img {
    width: 100%;
    height: auto;
    display: block;
}

/* Staggered Floating Effect */
.phone-1 {
    z-index: 2;
    transform: rotate(-5deg) translateX(-40px);
}

.phone-2 {
    z-index: 1;
    transform: rotate(10deg) translateX(40px) translateY(20px) scale(0.95);
    opacity: 0.8;
}

.hero-visuals:hover .phone-1 {
    transform: rotate(0deg) translateX(-50px) scale(1.05);
}

.hero-visuals:hover .phone-2 {
    transform: rotate(0deg) translateX(50px) scale(1.05);
    opacity: 1;
    z-index: 3;
}

/* Features Section */
.features {
    padding: 100px 0;
    background: var(--surface-color);
    margin-top: -50px;
    /* Overlap hero slightly or just flow */
    position: relative;
    z-index: 10;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    background: linear-gradient(to right, #fff, var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    /* Fix lint warning */
    -webkit-text-fill-color: transparent;
}

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

.feature-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    padding: 30px;
    border-radius: 24px;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.05);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    display: block;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Why Section */
.why-section {
    padding: 100px 0;
    text-align: center;
    background: var(--bg-color);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.why-item {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.05), transparent);
    padding: 40px 30px;
    border-radius: 24px;
    border: 1px solid var(--glass-border);
}

.why-item h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.5rem;
}

.why-item p {
    color: var(--text-secondary);
}

/* Responsive adjustments */
@media (max-width: 900px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 60px;
    }

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

    .hero-content p {
        margin-left: auto;
        margin-right: auto;
    }

    .logo-container {
        justify-content: center;
        /* Center logo in mobile drawer if needed or just align */
    }

    .nav-links {
        display: none;
        /* Hide nav used for simple viewing */
    }

    .hero-visuals {
        height: 400px;
    }

    .phone-frame {
        width: 200px;
    }
}

.content-section {
    padding: 100px 0;
}

.content-section h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.policy-content {
    background: var(--surface-color);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
}

.policy-content h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.policy-content p,
.policy-content ul {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.policy-content ul {
    padding-left: 20px;
}

/* Footer */
footer {
    padding: 50px 0;
    text-align: center;
    border-top: 1px solid var(--glass-border);
    margin-top: 50px;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

footer a {
    margin: 0 10px;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .nav-links {
        display: none;
    }

    /* Simplified for MVP */
}