:root {
    --bg-dark: #070913;
    --bg-darker: #04050a;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --primary: #6366f1;
    --primary-hover: #4f46e5;
    --accent: #ec4899;
    --card-bg: rgba(15, 23, 42, 0.4);
    --border-color: rgba(255, 255, 255, 0.08);
}

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

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Typography */
h1, h2, h3 {
    line-height: 1.2;
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    background: linear-gradient(to right, #ffffff, #a5b4fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Navigation */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    background: rgba(7, 9, 19, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

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

.nav-links a:hover {
    color: #ffffff;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8rem 5% 4rem;
    background: radial-gradient(circle at top right, rgba(99, 102, 241, 0.15), transparent 40%),
                radial-gradient(circle at bottom left, rgba(236, 72, 153, 0.1), transparent 40%);
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

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

.highlight {
    background: linear-gradient(to right, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    font-weight: 400;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 50px;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 10px 20px rgba(99, 102, 241, 0.25);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(99, 102, 241, 0.4);
}

/* Hero Image & Mockup */
.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    perspective: 1200px;
}

.phone-mockup {
    width: 320px;
    height: 650px;
    background: #000;
    border-radius: 45px;
    padding: 12px;
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.8), 
                inset 0 0 0 4px #2a2a35, 
                0 0 0 1px #444;
    transform: rotateY(-18deg) rotateX(10deg);
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.phone-mockup:hover {
    transform: rotateY(-5deg) rotateX(5deg);
}

.screen {
    width: 100%;
    height: 100%;
    background: #0f121d;
    border-radius: 35px;
    overflow: hidden;
    position: relative;
    padding: 25px 20px;
    border: 1px solid rgba(255,255,255,0.05);
}

/* iPhone Notch */
.screen::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 25px;
    background: #000;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
}

.mockup-header {
    text-align: center;
    font-weight: 700;
    font-size: 1.25rem;
    margin-top: 30px;
    margin-bottom: 25px;
    color: #fff;
}

.mockup-message {
    background: rgba(255, 255, 255, 0.03);
    padding: 16px;
    border-radius: 16px;
    margin-bottom: 16px;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.msg-title {
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 6px;
    color: #fff;
}

.msg-body {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.mockup-message.spam {
    background: rgba(236, 72, 153, 0.05);
    border: 1px solid rgba(236, 72, 153, 0.2);
}

.mockup-message.clean {
    border-left: 3px solid #10b981;
}

.msg-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    font-size: 0.7rem;
    font-weight: 600;
    background: rgba(236, 72, 153, 0.15);
    color: var(--accent);
    padding: 4px 10px;
    border-radius: 12px;
}

/* Features Section */
.features {
    padding: 6rem 5%;
    background: var(--bg-darker);
    position: relative;
}

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

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: var(--card-bg);
    padding: 3rem 2.5rem;
    border-radius: 24px;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: rgba(99, 102, 241, 0.4);
    background: rgba(30, 41, 59, 0.6);
}

.feature-card .icon {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 0 10px rgba(255,255,255,0.1));
}

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

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

/* Privacy Section */
.privacy {
    padding: 6rem 5%;
}

.privacy-container {
    max-width: 850px;
    margin: 0 auto;
    background: linear-gradient(180deg, var(--card-bg) 0%, rgba(15, 23, 42, 0.2) 100%);
    padding: 3.5rem;
    border-radius: 24px;
    border: 1px solid var(--border-color);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.privacy-content h3 {
    color: #a5b4fc;
    margin: 2rem 0 0.8rem;
    font-size: 1.25rem;
    font-weight: 600;
}

.privacy-content p {
    color: var(--text-muted);
    margin-bottom: 1.2rem;
    font-size: 1.05rem;
}

/* Contact Section */
.contact {
    padding: 6rem 5%;
    text-align: center;
    background: var(--bg-darker);
    position: relative;
}

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

.contact p {
    color: var(--text-muted);
    margin-bottom: 3rem;
    font-size: 1.15rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.email-link {
    display: inline-flex;
    align-items: center;
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-main);
    text-decoration: none;
    padding: 1.2rem 2.5rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px -10px rgba(0,0,0,0.3);
}

.email-link:hover {
    background: rgba(99, 102, 241, 0.1);
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 20px 40px -10px rgba(99, 102, 241, 0.3);
}

/* Footer */
footer {
    text-align: center;
    padding: 2.5rem;
    background: var(--bg-dark);
    color: var(--text-muted);
    border-top: 1px solid var(--border-color);
    font-size: 0.95rem;
}

/* Responsive */
@media (max-width: 900px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 8rem;
    }
    
    .hero h1 {
        font-size: 3.5rem;
    }

    .hero-content {
        margin-bottom: 4rem;
    }
    
    .hero-image {
        perspective: none;
    }
    
    .phone-mockup {
        transform: rotateY(0) rotateX(0);
    }
    
    .phone-mockup:hover {
        transform: scale(1.02);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero h1 {
        font-size: 2.8rem;
    }

    h2 {
        font-size: 2rem;
    }

    .privacy-container {
        padding: 2rem;
    }
    
    .email-link {
        font-size: 1.1rem;
        padding: 1rem 1.5rem;
    }
}
