/* ===== RESET & BASE ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #6366F1;
    --primary-dark: #4F46E5;
    --primary-light: #818CF8;
    --secondary: #10B981;
    --accent: #F59E0B;
    --dark: #0F172A;
    --dark-light: #1E293B;
    --gray: #64748B;
    --gray-light: #94A3B8;
    --light: #F1F5F9;
    --white: #FFFFFF;
    --danger: #EF4444;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 25px -5px rgba(0,0,0,0.1);
    --shadow-xl: 0 20px 50px -12px rgba(0,0,0,0.15);
    --radius: 12px;
    --radius-lg: 20px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--white);
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    transition: var(--transition);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--dark);
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
    box-shadow: 0 4px 12px rgba(99,102,241,0.3);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
}

.nav-links a {
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--gray);
    transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
    background: rgba(99,102,241,0.08);
}

.nav-cta {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark)) !important;
    color: white !important;
    padding: 10px 20px !important;
    border-radius: 10px !important;
    font-weight: 600 !important;
    box-shadow: 0 4px 15px rgba(99,102,241,0.3);
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99,102,241,0.4);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--dark);
    cursor: pointer;
}

/* ===== HERO SECTION ===== */
.hero {
    padding: 140px 24px 80px;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    min-height: 90vh;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    background: linear-gradient(135deg, var(--dark), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-content h1 span {
    display: block;
    color: var(--primary);
    -webkit-text-fill-color: var(--primary);
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--gray);
    margin-bottom: 32px;
    max-width: 500px;
}

.hero-badges {
    display: flex;
    gap: 12px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: var(--light);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--gray);
}

.badge i {
    color: var(--primary);
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    box-shadow: 0 4px 15px rgba(99,102,241,0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(99,102,241,0.4);
}

.btn-secondary {
    background: var(--white);
    color: var(--dark);
    border: 2px solid var(--light);
}

.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-mockup {
    width: 280px;
    height: 560px;
    background: var(--dark);
    border-radius: 40px;
    padding: 12px;
    box-shadow: var(--shadow-xl);
    position: relative;
    z-index: 2;
    transform: rotate(-5deg);
    transition: var(--transition);
}

.phone-mockup:hover {
    transform: rotate(0deg) scale(1.02);
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #1a1a2e 0%, #16213e 100%);
    border-radius: 32px;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
}

.phone-notch {
    width: 100px;
    height: 24px;
    background: var(--dark);
    border-radius: 0 0 16px 16px;
    margin: 0 auto;
    position: relative;
    z-index: 3;
}

.phone-content {
    padding: 20px;
    flex: 1;
    overflow: hidden;
}

.phone-note {
    background: rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 14px;
    margin-bottom: 10px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.05);
}

.phone-note-title {
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 4px;
}

.phone-note-preview {
    color: rgba(255,255,255,0.5);
    font-size: 0.75rem;
}

.phone-tags {
    display: flex;
    gap: 6px;
    margin-top: 8px;
}

.phone-tag {
    padding: 2px 8px;
    border-radius: 50px;
    font-size: 0.65rem;
    font-weight: 500;
}

.phone-tag.purple { background: rgba(99,102,241,0.3); color: #818CF8; }
.phone-tag.green { background: rgba(16,185,129,0.3); color: #34D399; }
.phone-tag.orange { background: rgba(245,158,11,0.3); color: #FBBF24; }

.phone-bottom-nav {
    display: flex;
    justify-content: space-around;
    padding: 12px;
    background: rgba(0,0,0,0.3);
    border-top: 1px solid rgba(255,255,255,0.05);
}

.phone-nav-item {
    color: rgba(255,255,255,0.4);
    font-size: 1.1rem;
}

.phone-nav-item.active {
    color: var(--primary-light);
}

.floating-card {
    position: absolute;
    background: white;
    padding: 16px 20px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 3;
    animation: float 3s ease-in-out infinite;
}

.floating-card.card-1 {
    top: 20%;
    right: 0;
    animation-delay: 0s;
}

.floating-card.card-2 {
    bottom: 20%;
    left: 0;
    animation-delay: 1.5s;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.floating-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.floating-card-icon.green { background: rgba(16,185,129,0.1); color: var(--secondary); }
.floating-card-icon.purple { background: rgba(99,102,241,0.1); color: var(--primary); }

.floating-card-text h4 {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--dark);
}

.floating-card-text p {
    font-size: 0.75rem;
    color: var(--gray);
}

/* ===== SECTIONS ===== */
.section {
    padding: 80px 24px;
    max-width: 1200px;
    margin: 0 auto;
}

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

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

.section-header p {
    font-size: 1.1rem;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
}

.section-label {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(99,102,241,0.1);
    color: var(--primary);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 16px;
}

/* ===== FEATURES GRID ===== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.feature-card {
    background: var(--white);
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    transform: scaleX(0);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--dark);
}

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

/* ===== HOW IT WORKS ===== */
.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    counter-reset: step;
}

.step-card {
    text-align: center;
    position: relative;
}

.step-number {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0 auto 24px;
    box-shadow: 0 8px 20px rgba(99,102,241,0.3);
    position: relative;
    z-index: 2;
}

.step-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--dark);
}

.step-card p {
    color: var(--gray);
    font-size: 0.95rem;
}

/* ===== STATS ===== */
.stats-section {
    background: linear-gradient(135deg, var(--dark), var(--dark-light));
    padding: 80px 24px;
    margin: 40px 0;
}

.stats-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    text-align: center;
}

.stat-item h3 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-light);
    margin-bottom: 8px;
}

.stat-item p {
    color: var(--gray-light);
    font-size: 1rem;
}

/* ===== DOWNLOAD CTA ===== */
.download-section {
    padding: 100px 24px;
    text-align: center;
    background: linear-gradient(180deg, var(--light) 0%, var(--white) 100%);
}

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

.download-section p {
    font-size: 1.1rem;
    color: var(--gray);
    margin-bottom: 40px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.play-store-btn {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    background: var(--dark);
    color: white;
    padding: 16px 32px;
    border-radius: var(--radius);
    font-weight: 600;
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
}

.play-store-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

.play-store-btn i {
    font-size: 2rem;
}

.play-store-btn div {
    text-align: left;
}

.play-store-btn small {
    display: block;
    font-size: 0.75rem;
    opacity: 0.7;
    font-weight: 400;
}

.play-store-btn strong {
    font-size: 1.1rem;
}

/* ===== CONTENT PAGES (About, Policy, Terms, How-to) ===== */
.content-page {
    padding: 120px 24px 80px;
    max-width: 800px;
    margin: 0 auto;
    min-height: 70vh;
}

.content-page h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--dark);
}

.content-page .last-updated {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 40px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--light);
}

.content-page h2 {
    font-size: 1.4rem;
    font-weight: 700;
    margin: 40px 0 16px;
    color: var(--dark);
}

.content-page h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 24px 0 10px;
    color: var(--dark);
}

.content-page p {
    color: var(--gray);
    margin-bottom: 16px;
    line-height: 1.8;
}

.content-page ul {
    margin: 16px 0 16px 24px;
    color: var(--gray);
}

.content-page ul li {
    margin-bottom: 10px;
    line-height: 1.7;
}

.content-page a {
    color: var(--primary);
    font-weight: 500;
}

.content-page a:hover {
    text-decoration: underline;
}

.content-page .highlight-box {
    background: linear-gradient(135deg, rgba(99,102,241,0.08), rgba(99,102,241,0.03));
    border-left: 4px solid var(--primary);
    padding: 20px 24px;
    border-radius: 0 var(--radius) var(--radius) 0;
    margin: 24px 0;
}

.content-page .contact-box {
    background: var(--light);
    padding: 24px;
    border-radius: var(--radius);
    margin-top: 40px;
}

.content-page .contact-box h3 {
    margin-top: 0;
}

/* ===== TESTIMONIALS ===== */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.testimonial-card {
    background: var(--white);
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: var(--transition);
}

.testimonial-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
}

.testimonial-stars {
    color: var(--accent);
    margin-bottom: 16px;
    font-size: 0.9rem;
}

.testimonial-text {
    color: var(--dark);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1rem;
}

.testimonial-author-info h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--dark);
}

.testimonial-author-info p {
    font-size: 0.8rem;
    color: var(--gray);
}

/* ===== FOOTER ===== */
.footer {
    background: var(--dark);
    color: var(--gray-light);
    padding: 60px 24px 0;
}

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

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.footer-brand h3 {
    color: white;
    font-size: 1.3rem;
    font-weight: 700;
    margin: 16px 0 12px;
}

.footer-brand p {
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255,255,255,0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-light);
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

.footer-links h4 {
    color: white;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a {
    color: var(--gray-light);
    font-size: 0.95rem;
    transition: var(--transition);
}

.footer-links ul li a:hover {
    color: white;
}

.footer-bottom {
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: var(--gray);
}

.footer-bottom i {
    color: var(--danger);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    .hero-content p {
        margin-left: auto;
        margin-right: auto;
    }
    .hero-buttons {
        justify-content: center;
    }
    .hero-visual {
        order: -1;
    }
    .phone-mockup {
        transform: rotate(0deg);
        width: 240px;
        height: 480px;
    }
    .floating-card {
        display: none;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 20px;
        gap: 8px;
        box-shadow: var(--shadow-lg);
        transform: translateY(-150%);
        transition: var(--transition);
        z-index: 999;
    }
    .nav-links.active {
        transform: translateY(0);
    }
    .mobile-menu-btn {
        display: block;
    }
    .hero-content h1 {
        font-size: 2.5rem;
    }
    .section-header h2 {
        font-size: 2rem;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .stats-grid {
        grid-template-columns: 1fr;
    }
    .content-page h1 {
        font-size: 1.8rem;
    }
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--light);
}
::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}
