:root {
    --bg-color: #000000;
    --accent: #E50914;
    --accent-hover: #C11119;
    --text-primary: #ffffff;
    --divider-color: #232323;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.4;
    overflow-x: hidden;
}

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

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

/* Global Elements */
.divider {
    height: 8px;
    background-color: var(--divider-color);
    width: 100%;
}

.btn {
    background-color: var(--accent);
    color: white;
    border-radius: 4px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.2s;
    border: none;
}

.btn:hover {
    background-color: var(--accent-hover);
}

.btn-small {
    padding: 7px 17px;
    font-size: 14.4px;
}

.btn-large {
    padding: 12px 28px;
    font-size: 22px;
    font-weight: 700;
    gap: 12px;
}

.btn-download {
    text-align: left;
    box-shadow: 0 4px 14px rgba(229, 9, 20, 0.4);
    border-radius: 8px;
}

.btn-download:hover {
    box-shadow: 0 6px 20px rgba(229, 9, 20, 0.6);
}

.btn-text-wrapper {
    display: flex;
    flex-direction: column;
}

.btn-title {
    line-height: 1.1;
    font-size: 24px;
}

.btn-subtitle {
    font-size: 13px;
    font-weight: 400;
    opacity: 0.8;
}

.android-icon {
    width: 32px;
    height: 32px;
}

/* Hero Section */
.hero-bg {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    border-bottom: 8px solid var(--divider-color);
}

.hero-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
    opacity: 0.6;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0, rgba(0, 0, 0, 0) 60%, rgba(0, 0, 0, 0.8) 100%);
    background-color: rgba(0, 0, 0, 0.4);
    z-index: -1;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 24px;
    padding-bottom: 24px;
    width: 100%;
}

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

.hero-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    max-width: 800px;
    padding: 60px 0;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 16px;
    line-height: 1.1;
}

.subtitle {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 24px;
}

.cta-text {
    font-size: 1.25rem;
    font-weight: 400;
    margin-bottom: 20px;
}

.cta-form {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: 40px; /* Increased margin top */
}

/* Feature Sections */
.feature-section {
    padding: 72px 0;
}

.feature-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.feature-container.reverse {
    flex-direction: row-reverse;
}

.feature-text {
    flex: 1;
    padding-right: 3rem;
}

.feature-container.reverse .feature-text {
    padding-right: 0;
    padding-left: 3rem;
}

.feature-text h2 {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 16px;
    line-height: 1.1;
}

.feature-text p {
    font-size: 1.5rem;
    font-weight: 400;
}

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

.feature-visual img {
    max-width: 100%;
    height: auto;
}

/* Footer */
footer {
    padding: 72px 0;
    color: rgba(255, 255, 255, 0.7);
    background-color: var(--bg-color);
}

.footer-content {
    max-width: 1000px;
    margin: 0 auto;
}

.footer-top-text {
    margin-bottom: 30px;
    font-size: 16px;
}

.footer-top-text a {
    text-decoration: underline;
}

.footer-links-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 30px;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    text-decoration: none;
}

.footer-links a:hover {
    color: #fff;
    text-decoration: underline;
}

.language-selector {
    display: inline-flex;
    align-items: center;
    position: relative;
    margin-bottom: 24px;
}

.language-selector .globe-icon {
    position: absolute;
    left: 12px;
    width: 16px;
    height: 16px;
    color: white;
}

.language-selector select {
    appearance: none;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 10px 32px 10px 40px;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
}

.language-selector select:focus {
    outline: 2px solid white;
}

.language-selector select option {
    background: #333;
    color: white;
}

.footer-brand {
    font-size: 14px;
    margin-top: 24px;
}

/* Responsive */
@media (max-width: 950px) {
    .feature-container,
    .feature-container.reverse {
        flex-direction: column;
        text-align: center;
    }
    
    .feature-text {
        padding: 0 !important;
        margin-bottom: 40px;
    }

    .footer-links-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .feature-text h2 {
        font-size: 2.5rem;
    }
    
    .subtitle, .feature-text p {
        font-size: 1.25rem;
    }
}

@media (max-width: 550px) {
    .container {
        padding: 0 5%;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .btn-large {
        font-size: 18px;
        padding: 12px 16px;
    }
    
    .logo {
        font-size: 32px;
    }
}

/* Animations */
.hero-content h1, .subtitle, .cta-text, .cta-form {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.hero-content h1 { animation-delay: 0.1s; }
.subtitle { animation-delay: 0.3s; }
.cta-text { animation-delay: 0.4s; }
.cta-form { animation-delay: 0.5s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.observe-fade {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s ease, transform 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.observe-fade.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Button Click Effect */
.btn {
    position: relative;
    overflow: hidden;
    transform: scale(1);
    transition: transform 0.1s ease, background-color 0.2s ease;
}

.btn:active {
    transform: scale(0.95);
}

/* Ripple */
.ripple {
    position: absolute;
    border-radius: 50%;
    transform: scale(0);
    animation: ripple-anim 0.6s linear;
    background-color: rgba(255, 255, 255, 0.4);
    pointer-events: none;
}

@keyframes ripple-anim {
    to {
        transform: scale(4);
        opacity: 0;
    }
}
