/* Setup & Variables */
:root {
    --bg-color: #FAFAFC;
    --primary: #4A90E2;
    --primary-dark: #3A7BC8;
    --danger: #FF3B30;
    --success: #4CD964;
    --text-dark: #333333;
    --text-light: #808080;
    --font-main: 'Inter', sans-serif;
}

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

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

/* Background Particles */
.background-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
    background: radial-gradient(circle at top right, #e8f3fe 0%, #FAFAFC 50%);
}

.particle {
    position: absolute;
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.2), rgba(74, 144, 226, 0.05));
    border-radius: 50%;
    animation: float 20s infinite linear;
}

@keyframes float {
    0% { transform: translateY(0) rotate(0deg); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-100vh) rotate(360deg); opacity: 0; }
}

/* Navigation */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 24px;
    font-weight: 800;
    color: var(--text-dark);
}

.logo i {
    color: var(--primary);
    font-size: 32px;
    margin-right: 10px;
}

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

.nav-button {
    background-color: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 10px 24px;
    border-radius: 100px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.nav-button:hover {
    background-color: var(--primary);
    color: #fff;
    box-shadow: 0 4px 15px rgba(74, 144, 226, 0.3);
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 50px 5%;
    max-width: 1400px;
    margin: 0 auto;
    min-height: 80vh;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    animation: fadeUp 1s ease-out;
}

.badge {
    display: inline-block;
    background: #E8F3FE;
    color: var(--primary-dark);
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
}

.hero-title {
    font-size: 64px;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -1.5px;
    color: #1a1a2e;
}

.hero-title br { display: block; }

.hero-subtitle {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 40px;
    line-height: 1.8;
}

.cta-group {
    display: flex;
    gap: 16px;
}

.primary-btn {
    background-color: var(--primary);
    color: white;
    padding: 16px 32px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    box-shadow: 0 10px 30px rgba(74, 144, 226, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.primary-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(74, 144, 226, 0.4);
}

.secondary-btn {
    background-color: white;
    color: var(--text-dark);
    padding: 16px 32px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    border: 1px solid #EFEFEF;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    transition: background 0.3s ease;
}

.secondary-btn:hover {
    background-color: #F8F9FA;
}

/* Hero Visual & Phone Mockup */
.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
    animation: floatIn 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.phone-mockup {
    width: 340px;
    height: 680px;
    background: white;
    border-radius: 40px;
    border: 12px solid #edeff2;
    box-shadow: 0 30px 60px rgba(0,0,0,0.1), 0 0 0 1px #dadddf;
    position: relative;
    overflow: hidden;
}

/* Phone Notch */
.phone-mockup::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 140px;
    height: 25px;
    background: #edeff2;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    z-index: 100;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background-color: #FAFAFC;
    position: relative;
    display: flex;
    flex-direction: column;
}

.app-header {
    padding: 40px 20px 20px;
    background: white;
}
.app-header h2 { font-size: 24px; font-weight: 800; }
.app-header p { font-size: 14px; font-weight: 600; color: var(--text-light); }

.card-stack {
    flex: 1;
    position: relative;
    margin: 20px;
    perspective: 1000px;
}

.swipe-card {
    position: absolute;
    width: 100%;
    height: 400px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-origin: bottom center;
}

.swipe-card.swiped-left {
    transform: translateX(-150%) rotate(-15deg);
    opacity: 0;
}

.swipe-card.swiped-right {
    transform: translateX(150%) rotate(15deg);
    opacity: 0;
}

.card-avatar {
    width: 70px;
    height: 70px;
    border-radius: 35px;
    background: #E8F3FE;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 15px;
}

.card-sender { font-size: 22px; font-weight: 800; color: #333; margin-bottom: 5px; text-align: center; }
.card-email { font-size: 14px; color: #808080; margin-bottom: 25px; }

.card-stats {
    background: #F8F9FA;
    border-radius: 12px;
    padding: 15px 30px;
    text-align: center;
}
.card-stats strong { font-size: 24px; display: block; }
.card-stats span { font-size: 11px; text-transform: uppercase; font-weight: 600; color: #808080;}

.swipe-instructions {
    text-align: center;
    padding: 20px;
    font-size: 13px;
    font-weight: 600;
    color: #A0A0A0;
    margin-bottom: 10px;
}

/* Features */
.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding: 80px 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.feature-card {
    background: white;
    padding: 40px;
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.03);
    transition: transform 0.3s ease;
}

.feature-card:hover { transform: translateY(-10px); }

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: #E8F3FE;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 24px;
}
.feature-icon.green { background: #Edfaf0; color: var(--success); }
.feature-icon.purple { background: #f3e8fa; color: #9B51E0; }

.feature-card h3 { font-size: 20px; font-weight: 800; margin-bottom: 15px; }
.feature-card p { color: var(--text-light); line-height: 1.6; }

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

@keyframes floatIn {
    from { opacity: 0; transform: translateX(50px) translateY(20px); }
    to { opacity: 1; transform: translateX(0) translateY(0); }
}

/* Responsiveness */
@media (max-width: 900px) {
    .hero { flex-direction: column; text-align: center; margin-top: 40px;}
    .hero-title { font-size: 48px; }
    .hero-content { margin-bottom: 60px; }
    .cta-group { justify-content: center; }
    .features { grid-template-columns: 1fr; gap: 20px; }
}

@media (max-width: 450px) {
    .hero-title { font-size: 38px;}
    .cta-group { flex-direction: column; }
    .phone-mockup { transform: scale(0.9); }
}
