:root {
    --primary: #4F46E5;
    --primary-hover: #4338CA;
    --text-main: #0F172A;
    --text-muted: #475569;
    --bg-main: #FFFFFF;
    --bg-subtle: #F8FAFC;
    --bg-card: #FFFFFF;
    --border: #E2E8F0;
    --bg-main-rgb: 255, 255, 255;
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --radius-md: 12px;
    --radius-lg: 24px;
    --radius-pill: 9999px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 96px 0;
}

.bg-subtle {
    background-color: var(--bg-subtle);
}

.text-center {
    text-align: center;
}

/* Typography */
h1, h2, h3, h4 {
    color: var(--text-main);
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    text-align: center;
    max-width: 768px;
    margin: 0 auto 64px auto;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-weight: 600;
    font-size: 1rem;
    border-radius: var(--radius-pill);
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: white;
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-main);
    border-color: var(--border);
}

.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 10px 20px;
    font-size: 0.9rem;
}

.btn-download {
    background-color: white;
    color: #0F172A;
    font-size: 1.125rem;
    padding: 16px 36px;
}

.btn-download:hover {
    background-color: #F8FAFC;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: #0F172A;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(var(--bg-main-rgb), 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    transition: var(--transition);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo-group {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-logo {
    width: 40px;
    height: 40px;
    border-radius: 8px;
}

.header-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-main);
}

.nav-list {
    display: flex;
    gap: 32px;
    list-style: none;
}

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

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

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-main);
    cursor: pointer;
    padding: 8px;
}

/* Mobile Nav */
.mobile-nav {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background-color: var(--bg-main);
    border-bottom: 1px solid var(--border);
    padding: 24px;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
    z-index: 999;
}

.mobile-nav.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.mobile-nav-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.mobile-nav-list a {
    color: var(--text-main);
    font-size: 1.125rem;
    font-weight: 600;
    display: block;
}

/* Hero */
.hero {
    padding-top: 160px;
    padding-bottom: 96px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.hero-brand {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.hero-logo {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.hero-app-name {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.hero-headline {
    font-size: 4rem;
    margin-bottom: 24px;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 40px;
}

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

.hero-visual {
    position: relative;
}

.hero-screenshot {
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    border: 8px solid var(--bg-card);
    transition: var(--transition);
}

.hero-screenshot:hover {
    transform: translateY(-8px);
}

/* Screenshots Gallery */
.screenshot-gallery-container {
    overflow-x: auto;
    padding: 24px 0 48px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.screenshot-gallery-container::-webkit-scrollbar {
    display: none;
}

.screenshot-gallery {
    display: flex;
    gap: 32px;
    padding: 0 24px;
}

.gallery-img {
    height: 500px;
    width: auto;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--bg-card);
    flex-shrink: 0;
    transition: var(--transition);
}

.gallery-img:hover {
    transform: scale(1.02);
}

/* Features */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    margin-bottom: 96px;
}

.feature-card {
    background-color: var(--bg-card);
    padding: 32px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.feature-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-muted);
}

/* Feature Showcase */
.feature-showcase-container {
    display: flex;
    flex-direction: column;
    gap: 96px;
    margin-bottom: 64px;
}

.feature-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.feature-showcase.reverse .feature-showcase-text {
    order: 2;
}

.feature-showcase.reverse .feature-showcase-img-wrapper {
    order: 1;
}

.feature-showcase-text h3 {
    font-size: 2.5rem;
    margin-bottom: 24px;
}

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

.feature-showcase-img {
    max-height: 500px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--bg-card);
    margin: 0 auto;
}

.coming-soon {
    text-align: center;
    padding: 48px;
    background-color: var(--bg-subtle);
    border-radius: var(--radius-md);
    border: 1px dashed var(--border);
}

.badge {
    display: inline-block;
    padding: 6px 12px;
    background-color: rgba(79, 70, 229, 0.1);
    color: var(--primary);
    border-radius: var(--radius-pill);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 16px;
}


/* Download Section */
.download {
    background: linear-gradient(135deg, #4F46E5 0%, #3730A3 100%);
    color: white;
}

.download-title {
    color: white;
    font-size: 3rem;
    margin-bottom: 24px;
}

.download-logo {
    width: 140px;
    height: 140px;
    margin: 0 auto 24px auto;
    border-radius: 28px;
    box-shadow: var(--shadow-lg);
}

.download-description {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto 40px auto;
}

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

.support-card {
    background-color: var(--bg-card);
    padding: 40px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    text-align: center;
}

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

.support-card p {
    color: var(--text-muted);
    margin-bottom: 24px;
}

.support-link {
    display: block;
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.company-logo {
    height: 48px;
    width: auto;
    margin: 0 auto 24px auto;
}

/* Footer */
.footer {
    background-color: var(--bg-main);
    border-top: 1px solid var(--border);
    padding: 64px 0 32px 0;
}

.footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-logo {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    filter: grayscale(100%);
    opacity: 0.7;
}

.footer-brand span {
    font-weight: 600;
    font-size: 1.25rem;
    color: var(--text-muted);
}

.footer-links {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links a {
    color: var(--text-muted);
}

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

.footer-copyright {
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-headline {
        font-size: 3rem;
    }
    
    .gallery-img {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .header-actions .btn {
        display: none;
    }
    
    .nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .hero {
        padding-top: 120px;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-brand, .hero-buttons {
        justify-content: center;
    }
    
    .hero-headline {
        font-size: 2.5rem;
    }
    
    .feature-showcase {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 32px;
    }
    
    .feature-showcase.reverse .feature-showcase-text {
        order: 1;
    }
    
    .feature-showcase.reverse .feature-showcase-img-wrapper {
        order: 2;
    }
    
    .download-title {
        font-size: 2rem;
    }
    
    .download-logo {
        width: 100px;
        height: 100px;
    }

    
    .gallery-img {
        height: 300px;
    }
}
