@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap");

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

:root {
    /* Professional Light Palette */
    --background: #ffffff;
    --surface: #f8fafc; /* Slate 50 */
    --surface-light: #f1f5f9; /* Slate 100 */

    --primary: #1e40af; /* Blue 800 - More professional */
    --primary-dark: #1e3a8a; /* Blue 900 */
    --accent: #3b82f6; /* Blue 500 */

    --text-main: #0f172a; /* Slate 900 */
    --text-muted: #64748b; /* Slate 500 */

    --border: #e2e8f0; /* Slate 200 */
    --border-hover: #cbd5e1; /* Slate 300 */

    --glass: rgba(255, 255, 255, 0.8);
    --glass-hover: rgba(248, 250, 252, 0.9);
}

body {
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background: var(--background);
    color: var(--text-main);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Subdued Background */
.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -1;
    background: radial-gradient(
            circle at 50% 0%,
            rgba(59, 130, 246, 0.03) 0%,
            transparent 50%
        ),
        radial-gradient(
            circle at 100% 0%,
            rgba(30, 64, 175, 0.02) 0%,
            transparent 30%
        );
    pointer-events: none;
}

/* Header */
header {
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

.logo {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: -0.025em;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

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

/* Hero Section */
.hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    padding: 10rem 5% 6rem;
    position: relative;
    gap: 4rem;
    max-width: 1400px;
    margin: 0 auto;
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 1rem;
    background: var(--surface-light);
    border: 1px solid var(--border);
    border-radius: 9999px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 0.025em;
    gap: 0.5rem;
}

.pulse-icon {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    position: relative;
}

.pulse-icon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }
    100% {
        transform: scale(3);
        opacity: 0;
    }
}

.hero h1 {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.05;
    margin-bottom: 1.5rem;
    letter-spacing: -0.04em;
    color: var(--text-main);
}

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

.download-section {
    margin-bottom: 2.5rem;
}

.download-title {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.store-badges {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.store-badge img {
    height: 44px;
    border-radius: 8px;
    transition: transform 0.2s ease, filter 0.2s ease;
}

.store-badge:hover img {
    transform: translateY(-2px);
    filter: brightness(0.95);
}

.cta-group {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    background: var(--primary);
    color: #fff;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(30, 64, 175, 0.15);
}

.cta-button:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(30, 64, 175, 0.2);
}

a[href="#features"].cta-button {
    background: var(--background);
    border: 1px solid var(--border);
    color: var(--text-main);
    box-shadow: none;
}

a[href="#features"].cta-button:hover {
    background: var(--surface);
    border-color: var(--border-hover);
}

/* Hero Images */
.hero-images {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.phone-mockup {
    position: relative;
    z-index: 10;
    padding: 12px;
    background: #0f172a;
    border-radius: 48px;
    box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.15);
}

.phone-mockup img {
    height: 640px;
    display: block;
    border-radius: 36px;
    background: #fff;
}

/* Sections General */
section {
    padding: 8rem 5%;
}

.section-title {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 5rem;
}

.section-title h2 {
    font-size: 2.75rem;
    font-weight: 800;
    margin-bottom: 1.25rem;
    letter-spacing: -0.03em;
    color: var(--text-main);
}

.section-title p {
    color: var(--text-muted);
    font-size: 1.125rem;
}

/* About Section */
.about {
    background: var(--surface);
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.about-content h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
}

.about-content p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.about-features {
    display: grid;
    gap: 2rem;
    margin-top: 3rem;
}

.about-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.about-feature-icon {
    width: 48px;
    height: 48px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    flex-shrink: 0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.about-feature-text h4 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-main);
}

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

.about-image img {
    width: 100%;
    max-width: 500px;
    border-radius: 32px;
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.1);
}

/* Features Section */
.features {
    background: var(--background);
}

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

.feature-card {
    background: #fff;
    padding: 3rem 2.5rem;
    border-radius: 24px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.feature-card:hover {
    border-color: var(--primary);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.08);
}

.feature-icon {
    width: 56px;
    height: 56px;
    background: var(--surface-light);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    color: var(--primary);
}

.feature-card h3 {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.feature-card p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
}

/* Screenshots Section */
.screenshots {
    background: var(--surface);
    overflow: hidden;
}

.screenshots-slider {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    padding: 2rem 0 4rem;
    scrollbar-width: thin;
    scrollbar-color: var(--border) transparent;
}

.screenshot-item {
    flex: 0 0 260px;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.screenshot-item:hover {
    transform: scale(1.05);
}

.screenshot-item img {
    width: 100%;
    border-radius: 24px;
    border: 8px solid #0f172a;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
}

/* Statistics */
.statistics {
    background: var(--primary);
    color: #fff;
    padding: 6rem 5%;
}

.stats-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4rem;
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.stat-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* CTA Section */
.cta-section {
    padding: 10rem 5%;
    background: var(--background);
}

.cta-container {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
    background: var(--surface);
    padding: 6rem 4rem;
    border-radius: 40px;
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.cta-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary);
}

.cta-container h2 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--text-main);
}

.cta-container p {
    color: var(--text-muted);
    margin-bottom: 3.5rem;
    font-size: 1.25rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.cta-button-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    background: var(--primary);
    color: #fff;
    text-decoration: none;
    border-radius: 14px;
    font-weight: 700;
    transition: all 0.2s ease;
    box-shadow: 0 10px 20px -5px rgba(30, 64, 175, 0.3);
}

.cta-button-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 15px 30px -10px rgba(30, 64, 175, 0.4);
}

.cta-button-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    background: #fff;
    border: 1px solid var(--border);
    color: var(--text-main);
    text-decoration: none;
    border-radius: 14px;
    font-weight: 700;
    transition: all 0.2s ease;
}

.cta-button-secondary:hover {
    background: var(--surface);
    border-color: var(--border-hover);
}

/* Footer */
footer {
    padding: 6rem 5% 4rem;
    text-align: center;
    border-top: 1px solid var(--border);
    background: #fff;
}

footer p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 2rem;
}

.social-links {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.social-links a {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    color: var(--text-muted);
    transition: all 0.2s ease;
}

.social-links a:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    transform: translateY(-3px);
}

/* Responsive */
@media (max-width: 1200px) {
    .hero h1 {
        font-size: 3.5rem;
    }
}

@media (max-width: 1024px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 8rem;
        gap: 4rem;
    }

    .hero-content {
        max-width: 800px;
    }

    .hero-badge {
        margin: 0 auto 2rem;
    }

    .store-badges {
        justify-content: center;
    }

    .cta-group {
        justify-content: center;
    }

    .about-container {
        grid-template-columns: 1fr;
        gap: 4rem;
        text-align: center;
    }

    .about-image {
        order: -1;
        max-width: 400px;
        margin: 0 auto;
    }

    .about-feature-item {
        justify-content: center;
        text-align: left;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.75rem;
    }
    
    .cta-container {
        padding: 4rem 2rem;
    }
    
    .cta-container h2 {
        font-size: 2.5rem;
    }
}

@media (max-width: 640px) {
    header nav {
        display: none;
    }

    .hero h1 {
        font-size: 2.25rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .cta-buttons {
        flex-direction: column;
    }
    
    .cta-group {
        flex-direction: column;
        width: 100%;
    }
    
    .cta-group .cta-button {
        width: 100%;
    }
}
