:root {
    --primary: #0ea5e9;
    --primary-dark: #0284c7;
    --white: #ffffff;
    --text: #1e293b;
    --text-light: #64748b;
    --background: linear-gradient(to bottom, #0ea5e9, #0284c7);
}

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

body {
    font-family: system-ui, -apple-system, sans-serif;
    line-height: 1.5;
    color: var(--white);
    background: var(--background);
}

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

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background: rgba(14, 165, 233, 0.8);
    backdrop-filter: blur(8px);
    padding: 1rem 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-img {
    width: 2rem;
    height: 2rem;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: bold;
}

/* Language Switch */
.language-switch {
    position: relative;
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 0.5rem;
    color: var(--white);
    cursor: pointer;
    transition: background-color 0.3s;
}

.lang-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.language-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 0.5rem;
    background: var(--white);
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.language-dropdown.show {
    display: block;
}

.language-dropdown button {
    display: block;
    width: 100%;
    padding: 0.5rem 1rem;
    border: none;
    background: none;
    color: var(--text);
    cursor: pointer;
    text-align: left;
}

.language-dropdown button:hover {
    background: #f1f5f9;
}

/* Hero Section */
.hero {
    padding: 8rem 0 5rem;
}

.grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 768px) {
    .grid {
        grid-template-columns: 1fr 1fr;
    }
}

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

@media (min-width: 768px) {
    .hero-content {
        text-align: left;
    }
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

@media (min-width: 640px) {
    .cta-buttons {
        flex-direction: row;
        justify-content: center;
    }
}

@media (min-width: 768px) {
    .cta-buttons {
        justify-content: flex-start;
    }
}

.btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 2rem;
    background: var(--white);
    color: var(--primary);
    text-decoration: none;
    border-radius: 9999px;
    font-weight: 600;
    transition: background-color 0.3s;
}

.btn:hover {
    background: #f1f5f9;
}

.hero-image img {
    width: 100%;
    border-radius: 0.75rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

/* App Preview Section */
.app-preview {
    padding: 5rem 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 3rem;
}

.screenshots-container {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    padding: 0 1rem;
    margin: 0 -1rem;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.screenshots-container::-webkit-scrollbar {
    display: none;
}

.screenshot {
    flex: 0 0 auto;
    width: 16rem;
}

.screenshot img {
    width: 100%;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Video Section */
.video-section {
    padding: 5rem 0;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 0.75rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Features Section */
.features {
    padding: 5rem 0;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.feature-card {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    padding: 1.5rem;
    border-radius: 0.75rem;
    text-align: center;
}

.feature-card svg {
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

/* Mission Section */
.mission {
    padding: 5rem 0;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
}

.mission-image img {
    width: 100%;
    border-radius: 0.75rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.mission-content h2 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 2rem;
}

.mission-content p {
    font-size: 1.25rem;
}

/* Contact Section */
.contact {
    padding: 5rem 0;
}

.contact-card {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    padding: 2rem;
    border-radius: 0.75rem;
    text-align: center;
    max-width: 34rem;
    margin: 0 auto;
}

.contact-card h3 {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.contact-card p {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@media (min-width: 768px) {
    .contact-info {
        flex-direction: row;
        justify-content: center;
    }
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--white);
    text-decoration: none;
}

.contact-link:hover {
    text-decoration: underline;
}

/* Footer */
.footer {
    background: var(--primary-dark);
    padding: 2rem 0;
    text-align: center;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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