/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Screen Reader Only */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

:root {
    --primary: #3B82F6;
    --primary-dark: #2563EB;
    --primary-light: #60A5FA;
    --success: #10B981;
    --text: #1F2937;
    --text-muted: #6B7280;
    --background: #FFFFFF;
    --background-alt: #F9FAFB;
    --border: #E5E7EB;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

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

/* Top Gradient Bar */
.top-gradient-bar {
    height: 10px;
    background: linear-gradient(90deg, #10B981 0%, #059669 50%, #10B981 100%);
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
}

.language-switcher {
    position: fixed;
    top: 18px;
    right: 24px;
    z-index: 1001;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid var(--border);
    border-radius: 999px;
    box-shadow: var(--shadow);
    backdrop-filter: blur(8px);
}

.language-switcher select {
    border: none;
    background: transparent;
    font-weight: 600;
    color: var(--text);
    font-size: 0.9rem;
    cursor: pointer;
}

.language-switcher select:focus {
    outline: none;
}

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

/* Hero Section */
.hero {
    padding: 60px 0 120px;
    background: linear-gradient(135deg, #F8F9FF 0%, #FFFFFF 50%, #F0F8FF 100%);
    position: relative;
    overflow: hidden;
}

.hero-logo {
    height: 50px;
    width: auto;
    margin-bottom: 32px;
    display: block;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
        "logo image"
        "titles image"
        "buttons image";
    gap: 0 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-logo {
    grid-area: logo;
}

.hero-titles {
    grid-area: titles;
}

.hero-image {
    grid-area: image;
}

.cta-buttons {
    grid-area: buttons;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
    color: var(--text);
    text-align: left;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    line-height: 1.8;
    text-align: left;
}

.cta-buttons {
    display: flex;
    flex-direction: row;
    gap: 16px;
    max-width: 500px;
}

.btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 14px 28px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    flex: 1;
}

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

.btn-appstore:hover {
    background: #111827;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-playstore {
    background: white;
    color: var(--text);
    border: 2px solid var(--border);
}

.btn-playstore:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* Phone Mockups */
.hero-image {
    position: relative;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.phone-mockup {
    position: absolute;
    transition: transform 0.3s ease;
}

.phone-mockup:hover {
    transform: translateY(-15px) scale(1.02);
}

.phone-1 {
    z-index: 2;
    transform: rotate(-5deg) translateX(-80px);
}

.phone-1:hover {
    transform: rotate(-5deg) translateX(-80px) translateY(-15px) scale(1.02);
}

.phone-2 {
    z-index: 1;
    transform: rotate(5deg) translateX(80px);
}

.phone-2:hover {
    transform: rotate(5deg) translateX(80px) translateY(-15px) scale(1.02);
}

.phone-screenshot {
    width: 280px;
    height: auto;
    display: block;
    filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.12))
            drop-shadow(0 15px 30px rgba(0, 0, 0, 0.08))
            drop-shadow(0 5px 15px rgba(0, 0, 0, 0.06));
    transition: filter 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.phone-mockup:hover .phone-screenshot {
    filter: drop-shadow(0 40px 80px rgba(0, 0, 0, 0.16))
            drop-shadow(0 20px 40px rgba(0, 0, 0, 0.12))
            drop-shadow(0 8px 20px rgba(0, 0, 0, 0.08));
}

/* Features Section */
.features {
    padding: 100px 0;
    background: var(--background);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text);
}

.features-subtitle {
    text-align: center;
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
}

.feature-card {
    padding: 24px;
    background: transparent;
    border-radius: 12px;
    text-align: left;
    transition: all 0.3s ease;
    border: 1px solid var(--border);
}

.feature-card:hover {
    border-color: var(--primary);
    background: var(--background-alt);
}

.feature-icon {
    width: 40px;
    height: 40px;
    color: var(--primary);
    margin-bottom: 16px;
    stroke-width: 1.5;
}

.feature-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text);
}

.feature-desc {
    color: var(--text-muted);
    line-height: 1.6;
    font-size: 0.9375rem;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: var(--background-alt);
}

.contact-subtitle {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 48px;
    font-size: 1.125rem;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 24px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 16px;
    border: 2px solid var(--border);
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background: white;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1);
}

.btn-submit {
    width: 100%;
    background: var(--primary);
    color: white;
    padding: 16px;
    border-radius: 12px;
    font-size: 1.125rem;
    font-weight: 600;
    justify-content: center;
}

.btn-submit:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.form-message {
    margin-top: 24px;
    padding: 16px;
    border-radius: 12px;
    text-align: center;
    font-weight: 500;
}

.form-message.success {
    background: #D1FAE5;
    color: #065F46;
    border: 2px solid #10B981;
}

.form-message.error {
    background: #FEE2E2;
    color: #991B1B;
    border: 2px solid #EF4444;
}

/* Footer */
.footer {
    padding: 60px 0 32px;
    background: var(--text);
    color: white;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 32px;
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-logo {
    height: 32px;
    width: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
}

.footer-links {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

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

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

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
}

/* Responsive Design */
@media (max-width: 968px) {
    .hero-content {
        display: flex;
        flex-direction: column;
        text-align: center;
        grid-template-columns: unset;
        grid-template-areas: unset;
    }

    .hero-logo {
        order: 1;
        margin-left: auto;
        margin-right: auto;
        display: block;
        margin-bottom: 24px;
    }

    .hero-titles {
        order: 2;
        margin-bottom: 32px;
    }

    .hero-title {
        font-size: 2.5rem;
        text-align: center;
    }

    .hero-subtitle {
        font-size: 1.125rem;
        text-align: center;
    }

    .hero-image {
        order: 3;
        height: 500px;
        margin-bottom: 32px;
    }

    .cta-buttons {
        order: 4;
        margin: 0 auto;
        flex-direction: column;
    }

    .phone-1 {
        transform: rotate(-5deg) translateX(-60px);
    }

    .phone-1:hover {
        transform: rotate(-5deg) translateX(-60px) translateY(-15px) scale(1.02);
    }

    .phone-2 {
        transform: rotate(5deg) translateX(60px);
    }

    .phone-2:hover {
        transform: rotate(5deg) translateX(60px) translateY(-15px) scale(1.02);
    }

    .phone-screenshot {
        width: 220px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-brand {
        align-items: center;
    }
}

@media (max-width: 640px) {
    .language-switcher {
        top: 14px;
        right: 14px;
        padding: 4px 10px;
    }

    .language-switcher select {
        font-size: 0.85rem;
    }

    .hero {
        padding: 60px 0 80px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .features {
        padding: 60px 0;
    }

    .contact {
        padding: 60px 0;
    }

    .footer {
        padding: 40px 0 24px;
    }

    .cta-buttons {
        width: 100%;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .hero-logo {
        order: 1;
    }

    .hero-titles {
        order: 2;
    }

    .hero-image {
        height: 450px;
        order: 3;
        margin-bottom: 100px;
    }

    .cta-buttons {
        order: 4;
    }

    .phone-screenshot {
        width: 240px;
    }

    .phone-1 {
        transform: rotate(-5deg) translateX(-40px);
    }

    .phone-1:hover {
        transform: rotate(-5deg) translateX(-40px) translateY(-10px) scale(1.02);
    }

    .phone-2 {
        transform: rotate(5deg) translateX(40px);
    }

    .phone-2:hover {
        transform: rotate(5deg) translateX(40px) translateY(-10px) scale(1.02);
    }
}
