@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800;900&display=swap');

:root {
    --primary: #F3703D;
    --primary-hover: #e06232;
    --secondary: #618bf9;
    --background: #FFF8F3;
    --surface: rgba(255, 255, 255, 0.85);
    --text: #32435f;
    --text-muted: #64748b;
    --card-border: rgba(255, 255, 255, 0.5);
    --danger: #ef4444;
}

@media (prefers-color-scheme: dark) {
    :root {
        --primary: #F3703D;
        --secondary: #6ea8ff;
        --background: #161A23;
        --surface: rgba(27, 31, 42, 0.85);
        --text: #E6EAF2;
        --text-muted: #9AA4B2;
        --card-border: rgba(255, 255, 255, 0.1);
    }
}

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

body {
    font-family: 'Nunito', sans-serif;
    background-color: var(--background);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

a {
    text-decoration: none;
    color: var(--secondary);
    transition: color 0.3s ease;
}

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

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

/* Glassmorphism Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--surface);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--card-border);
    z-index: 1000;
    padding: 12px 0;
}

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

.logo {
    font-size: 22px;
    font-weight: 900;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-logo-img {
    height: 40px;
    width: auto;
    object-fit: contain;
    border-radius: 8px;
}

.nav-links {
    display: flex;
    gap: 24px;
    align-items: center;
}

.nav-links a {
    font-weight: 700;
    color: var(--text-muted);
}

.nav-links a:hover, .nav-links a.active {
    color: var(--secondary);
}

.nav-link-special {
    background: rgba(97, 139, 249, 0.1);
    color: var(--secondary) !important;
    padding: 8px 16px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1px solid rgba(97, 139, 249, 0.2);
    transition: all 0.2s ease;
}

.nav-link-special:hover {
    background: rgba(97, 139, 249, 0.2);
    transform: translateY(-2px);
}

/* Buttons */
.btn-primary {
    background: var(--primary);
    color: #fff !important;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 800;
    box-shadow: inset 0 -2px 4px rgba(0,0,0,0.1), 0 6px 18px rgba(243, 112, 61, 0.3);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: inset 0 -2px 4px rgba(0,0,0,0.15), 0 10px 24px rgba(243, 112, 61, 0.4);
}

/* Google Play Custom Button */
.btn-google-play {
    background: #000;
    color: #fff !important;
    padding: 10px 24px 10px 20px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    border: 1px solid #333;
    transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.btn-google-play:hover {
    background: #1a1a1a;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 24px rgba(0,0,0,0.25);
}

.btn-google-play-icon {
    font-size: 32px;
    color: #fff;
}

.btn-google-play-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.btn-google-play-text small {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: -3px;
    color: #aaa;
}

.btn-google-play-text span {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

/* Hero Section */
.hero {
    padding: 150px 0 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    min-height: 90vh;
}

.hero-content {
    flex: 1;
}

.hero h1 {
    font-size: clamp(36px, 5vw, 64px);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 20px;
    color: var(--text);
}

.hero p {
    font-size: 20px;
    color: var(--text-muted);
    margin-bottom: 32px;
    max-width: 500px;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.mockup {
    max-width: 350px;
    width: 100%;
    border-radius: 40px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    animation: bounce-slow 4s infinite ease-in-out;
}

@keyframes bounce-slow {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* Page Headers (Privacy, Deletion) */
.page-header {
    padding: 150px 0 50px;
    text-align: center;
}

.page-header h1 {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 900;
    margin-bottom: 16px;
}

.page-header p {
    font-size: 18px;
    color: var(--text-muted);
}

/* Content Sections */
.content-section {
    padding: 40px 0 100px;
}

.card {
    background: var(--surface);
    backdrop-filter: blur(12px);
    border: 1px solid var(--card-border);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    margin-bottom: 40px;
}

.card h2 {
    font-size: 24px;
    margin-bottom: 16px;
    color: var(--primary);
}

.card p, .card ul {
    margin-bottom: 16px;
    color: var(--text-muted);
}

.card ul {
    padding-left: 20px;
}

/* Instruction Steps */
.step {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    align-items: flex-start;
}

.step-number {
    background: var(--secondary);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 20px;
    flex-shrink: 0;
}

.step-content h3 {
    font-size: 20px;
    margin-bottom: 8px;
}

.step-content p {
    color: var(--text-muted);
}

/* Footer */
footer {
    background: var(--surface);
    padding: 40px 0;
    border-top: 1px solid var(--card-border);
    text-align: center;
    margin-top: 40px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
    margin-bottom: 20px;
}

.footer-text {
    color: var(--text-muted);
    font-size: 14px;
}

/* Responsive Overrides */
@media (max-width: 900px) {
    .nav-links {
        display: none;
    }
    
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 120px;
    }
    
    .hero p {
        margin: 0 auto 32px;
    }
    
    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .mockup {
        width: 80%;
    }
    
    .card {
        padding: 24px;
    }
    
    .step {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }
    
    .btn-google-play {
        width: 100%;
        justify-content: center;
    }
}
