/* --- CSS VARIABLES (Easy to change colors here) --- */
:root {
    --primary: #4f46e5;
    /* Indigo */
    --primary-dark: #4338ca;
    --secondary: #ec4899;
    /* Pink/Rose for gradient */
    --bg-color: #f8fafc;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --white: #ffffff;
    --radius: 12px;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

/* --- GLOBAL RESET --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

/* --- UTILITIES --- */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn:active {
    transform: scale(0.98);
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 6px rgba(79, 70, 229, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-outline {
    border: 2px solid var(--text-muted);
    color: var(--text-main);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-icon {
    display: none;
}

/* Language Switcher */
.lang-switcher {
    position: relative;
    margin-right: 1rem;
    padding-bottom: 10px;
    /* Increases hit area downwards slightly */
}

/* Invisible bridge to prevent menu closing */
.lang-switcher::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 10px;
}

.lang-btn {
    background: transparent;
    border: 1px solid var(--text-muted);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 0.3rem;
    transition: 0.2s;
}

.lang-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.lang-dropdown {
    position: absolute;
    top: 100%;
    /* Move flush to container bottom (which is padded) */
    right: 0;
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    width: 140px;
    display: none;
    flex-direction: column;
    overflow: hidden;
    margin-top: 0;
    z-index: 100;
}

/* dropdown open state controlled by JS */

.lang-dropdown a {
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    color: var(--text-main);
    transition: 0.1s;
}

.lang-dropdown a:hover {
    background: var(--bg-color);
    color: var(--primary);
}

/* --- NAVIGATION --- */
.landing-nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    /* Glass effect */
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.nav-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
    padding: 0 20px;
}

.brand {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-main);
    letter-spacing: -0.5px;
}

/* --- HERO SECTION --- */
.hero-section {
    padding: 140px 20px 80px;
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.mockup-card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transform: rotate(-2deg);
    /* Artistic tilt */
    transition: transform 0.5s ease;
}

.mockup-card:hover {
    transform: rotate(0deg) scale(1.02);
}

.mockup-header {
    background: #f1f5f9;
    padding: 12px;
    display: flex;
    gap: 6px;
    border-bottom: 1px solid #e2e8f0;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.red {
    background: #ef4444;
}

.yellow {
    background: #eab308;
}

.green {
    background: #22c55e;
}

.mockup-body {
    padding: 3rem;
}

/* --- FEATURES SECTION --- */
.section {
    padding: 80px 0;
}

.section-heading {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-subheading {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 3rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* --- PRICING SECTION --- */
.pricing-section {
    background: #fff;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    align-items: start;
}

.pricing-card {
    background: var(--bg-color);
    padding: 2.5rem;
    border-radius: var(--radius);
    border: 1px solid #e2e8f0;
    position: relative;
}

.pricing-card.popular {
    background: var(--white);
    border: 2px solid var(--primary);
    box-shadow: 0 20px 25px -5px rgba(79, 70, 229, 0.15);
    transform: scale(1.05);
    z-index: 2;
}

.badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-align: center;
}

.pricing-header {
    text-align: center;
    margin-bottom: 2rem;
}

.price {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-main);
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
}

.period {
    font-size: 0.75rem;
    line-height: normal;
    color: var(--text-muted);
    font-weight: 400;
    white-space: nowrap;
}

.pricing-features {
    margin-bottom: 2rem;
    text-align: left;
}

.pricing-features li {    
    font-size: 0.8rem;
    margin-bottom: 0.75rem;
    color: var(--text-muted);
}

.btn-full {
    width: 100%;
    text-align: center;
}

/* --- FOOTER --- */
.landing-footer {
    padding: 3rem 0;
    background: var(--white);
    border-top: 1px solid #e2e8f0;
    text-align: center;
    color: var(--text-muted);
}

/* --- MOBILE RESPONSIVE --- */
@media (max-width: 768px) {
    .nav-container {
        height: 60px;
        padding: 0 12px;
    }

    .nav-links {
        gap: 0.5rem;
    }

    .nav-text { display: none; }
    .nav-icon { display: inline-flex; align-items: center; }

    .nav-links > a {
        display: inline-flex;
        align-items: center;
    }

    .nav-links .btn {
        padding: 0.5rem 0.65rem;
        line-height: 1;
    }

    .lang-switcher {
        margin-right: 0;
    }

    .lang-btn {
        padding: 0.3rem 0.6rem;
        font-size: 0.8rem;
    }

    .hero-section {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 100px;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .mockup-card {
        margin-top: 2rem;
        transform: rotate(0);
    }

    .pricing-card.popular {
        transform: scale(1);
    }
}