@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;600;700;800&display=swap');

:root {
    --primary: #E91E63;
    --primary-dark: #C2185B;
    --accent: #8E24AA;
    --bg-dark: #0F172A;
    --surface: #ffffff;
    --text-main: #1E293B;
    --text-muted: #64748B;
    --glass: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Plus Jakarta Sans', sans-serif;
    scroll-behavior: smooth;
}

body {
    background-color: #f8fafc;
    color: var(--text-main);
    overflow-x: hidden;
}
/* --- Navigation --- */
nav {
    position: fixed;
    top: 0; width: 100%;
    padding: 20px 8%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background: transparent;
    border-bottom: 1px solid transparent;
    transition: all 0.4s ease;
}

/* State for when user has scrolled */
nav.scrolled {
    padding: 15px 8%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.logo {
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: -1px;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo img {
    width: 80px;
}

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

.nav-cta {
    background: var(--primary);
    color: white;
    padding: 10px 24px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-cta:hover {
    background: var(--primary-dark);
    transform: scale(1.05);
}

/* --- Hero --- */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 0 5%;
    background: #000;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(15, 23, 42, 0.6), rgba(15, 23, 42, 0.95));
    z-index: 1;
}

.hero-bg {
    position: absolute;
    top: 50%; left: 50%;
    min-width: 100%; min-height: 100%;
    width: auto; height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    filter: grayscale(30%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
}

.badge-ai {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(233, 30, 99, 0.2);
    border: 1px solid var(--primary);
    color: white;
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero h1 {
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 800;
    line-height: 1;
    margin-bottom: 24px;
    letter-spacing: -2px;
}

.hero p {
    font-size: 1.25rem;
    color: #cbd5e1;
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

.btn-group {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-main {
    background: var(--primary);
    color: white;
    padding: 20px 48px;
    border-radius: 16px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: 0.3s;
}

.btn-outline {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(5px);
    color: white;
    border: 1px solid rgba(255,255,255,0.2);
    padding: 20px 48px;
    border-radius: 16px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: 0.3s;
}

.btn-main:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(233, 30, 99, 0.3); }

/* --- Features --- */
.section { padding: 100px 8%; text-align: center; }

.section-header {
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--text-main);
}

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

.card {
    background: white;
    padding: 48px;
    border-radius: 32px;
    text-align: left;
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid #f1f5f9;
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
}

.card:hover {
    transform: translateY(-12px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.06);
}

.card i {
    font-size: 2.5rem;
    margin-bottom: 24px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
    font-weight: 700;
}

.card p {
    color: var(--text-muted);
    line-height: 1.7;
}

/* --- Blurred Profile Concept --- */
.blur-reveal {
    background: var(--bg-dark);
    color: white;
    border-radius: 48px;
    margin: 0 5% 100px;
    padding: 80px 8%;
    display: flex;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
}

.blur-demo {
    flex: 1;
    min-width: 300px;
    position: relative;
}

.profile-stack {
    position: relative;
    height: 400px;
    width: 100%;
}

.profile-img {
    position: absolute;
    width: 280px;
    height: 350px;
    border-radius: 24px;
    background: #1e293b;
    top: 0; left: 0;
    overflow: hidden;
    border: 4px solid rgba(255,255,255,0.1);
}

.profile-img.blurred {
    filter: blur(25px);
    opacity: 0.6;
    transform: rotate(-5deg);
    background-image: url('/img/secure-profile.jpg');
}

.profile-img.clear {
    z-index: 2;
    left: 60px;
    top: 40px;
    transform: rotate(3deg);
    border-color: var(--primary);
    box-shadow: 0 40px 80px rgba(0,0,0,0.5);
    background-image: url('/img/secure-profile.jpg');
    background-size: cover;
}

.blur-text {
    flex: 1.2;
    min-width: 300px;
}

.blur-text h2 {
    font-size: 2.5rem;
    margin-bottom: 24px;
}

.blur-text p {
    color: #94a3b8;
    font-size: 1.1rem;
    margin-bottom: 32px;
}

/* --- Footer --- */
footer {
    padding: 80px 8%;
    background: white;
    text-align: center;
    border-top: 1px solid #f1f5f9;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    text-align: left;
    margin-bottom: 60px;
}

.footer-col h4 { margin-bottom: 24px; font-weight: 700; }
.footer-col a { display: block; margin-bottom: 12px; color: var(--text-muted); text-decoration: none; }
.footer-col a:hover { color: var(--primary); }

@media (max-width: 768px) {
    .hero h1 { font-size: 3rem; }
    .hero p {max-width: 300px}
    .btn-group { flex-direction: column; }
    .blur-reveal { text-align: center; border-radius: 0; margin: 0; }
}

/**
 * Mobile Screens
 * */
@media (max-width: 600px){
    .hero {
        padding-top: 5vh;
    }

    .profile-stack {
        margin: 0;
        margin-top: -8vh;
        height: 300px;
        display: flex;
        justify-content: center;
    }

    .profile-stack .profile-img {
        margin-left: -2vh;
        scale: 0.7;
    }
}

/**
 * Base Small Screen Devices
 * */
@media (max-width: 420px){
    .hero h1 {
        font-size: 2.1rem;
    }

    .btn-main,
    .btn-outline {
        padding: 16px 28px;
    }

    .section-header h2,
    .blur-text h2 {
        font-size: 1.8rem;
    }
}

/* Modal Background */
.modal {
    display: flex; 
    position: fixed; 
    justify-content: center;
    place-items: center;
    z-index: 2000; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100vh; 
    background-color: rgba(0,0,0,0.6); /* Black background with opacity */
    backdrop-filter: blur(5px);
}

/* Modal Box */
.modal-content {
    background-color: #fff;
    margin: 15% auto; 
    padding: 40px;
    border-radius: 16px;
    width: 90%;
    max-width: 450px;
    text-align: center;
    position: relative;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

/* Close Button */
.close-modal {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    color: #64748b;
}

/* Modal Buttons */
.modal-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 30px;
}

.modal-btn {
    padding: 14px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: transform 0.2s;
}

.modal-btn:hover {
    transform: translateY(-2px);
}

.android { background-color: #1683b7; color: #fff; }
.iphone { background-color: #000; color: #fff; }

.hidden {
    display: none;
}