/* biba er Betî */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700&display=swap');

:root {
    --primary: #009688;
    --primary-dark: #00796B;
    --primary-light: #B2DFDB;
    --accent: #4DB6AC;
    --text: #263238;
    --text-muted: #546E7A;
    --bg: #F5F7F8;
    --card-bg: rgba(255, 255, 255, 0.8);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Layout */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Navbar */
nav {
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(245, 247, 248, 0.8);
    backdrop-filter: blur(10px);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--primary-dark);
}

.logo img {
    width: 28px;
    height: 28px;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

/* Language Selector */
.lang-selector {
    position: relative;
}

.lang-btn {
    background: white;
    border: 1px solid var(--primary-light);
    padding: 0.5rem 1rem;
    border-radius: 12px;
    font-family: inherit;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.lang-btn:hover {
    background-color: var(--primary-light);
    border-color: var(--primary);
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 180px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    padding: 0.5rem;
    display: none;
    flex-direction: column;
    gap: 0.2rem;
    animation: fadeInUp 0.3s ease-out;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.lang-dropdown.show {
    display: flex;
}

.lang-btn img,
.lang-dropdown img {
    width: 20px;
    height: 14px;
    object-fit: cover;
    border-radius: 2px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.lang-dropdown button {
    background: none;
    border: none;
    padding: 0.8rem 1rem;
    text-align: left;
    font-family: inherit;
    font-weight: 500;
    color: var(--text);
    cursor: pointer;
    border-radius: 10px;
    transition: var(--transition);
}

.lang-dropdown button:hover {
    background-color: var(--bg);
    color: var(--primary-dark);
}

/* Media Queries for Navbar */
@media (max-width: 600px) {
    .nav-right {
        gap: 0.5rem;
    }

    .lang-btn #current-lang-name {
        display: none;
    }

    .lang-btn {
        padding: 0.5rem;
    }
}

/* Hero (mobile first) */
.hero {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2rem 1rem;
    text-align: center;
}

.hero-content h1 {
    font-size: 2.2rem;
    line-height: 1.2;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-dark), var(--accent));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.cta-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.btn {
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    text-align: center;
}

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

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

.btn-secondary {
    background-color: white;
    color: var(--primary-dark);
    border: 1px solid var(--primary-light);
}

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

.hero-image {
    order: -1;
    animation: fadeInUp 1s ease-out;
}

.hero-image img {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
    display: block;
    border-radius: 20px;
    border: 3px solid #333;
}

/* Features */
.features {
    padding: 4rem 0;
    background-color: white;
}

.section-title {
    text-align: center;
    margin-bottom: 2.5rem;
}

.section-title h2 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.features-grid {
    display: grid;
    gap: 1.5rem;
}

.feature-card {
    padding: 1.5rem;
    border-radius: 16px;
    background: var(--bg);
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

/* Demo Section */
.demo-section {
    padding: 4rem 0;
    text-align: center;
}

.phone-container {
    width: 100%;
    max-width: 380px;
    max-height: 90vh;
    max-height: 90dvh;
    aspect-ratio: 9 / 16;
    margin: 2rem auto;
    background: #222;
    border-radius: 30px;
    padding: 8px;
    border: 6px solid #333;
}

.phone-screen {
    width: 100%;
    height: 100%;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
}

.demo-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 150, 136, 0.9);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    padding: 1.5rem;
    text-align: center;
}

.demo-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.demo-overlay button {
    margin-top: 1.5rem;
}

/* Final CTA */
.final-cta {
    padding: 2rem 1rem;
    text-align: center;
}

/* Footer */
footer {
    padding: 3rem 0;
    text-align: center;
    color: var(--text-muted);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 1.5rem 0;
}

.social-links a {
    color: var(--primary-dark);
    text-decoration: none;
    font-weight: 600;
}

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

.social-links img {
    width: 48px;
    height: 48px;
}

.developed {
    color: var(--text-muted);
}

.developed a {
    color: var(--text);
    text-decoration: none;
}

.developed a:hover {
    color: var(--text-muted);
}

/* -------------------- */
/* TABLET (>=768px) */
/* -------------------- */
@media (min-width: 768px) {

    .container {
        padding: 0 2rem;
    }

    .hero {
        grid-template-columns: 1fr 1fr;
        text-align: left;
        padding: 4rem 1rem;
        gap: 3rem;
    }

    .hero-image {
        order: 0;
    }

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

    .cta-group {
        flex-direction: row;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .phone-container {
        max-width: 420px;
    }

}

/* -------------------- */
/* DESKTOP (>=1024px) */
/* -------------------- */
@media (min-width: 1024px) {
    .hero {
        gap: 4rem;
        padding: 5rem 1rem;
    }

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

    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .phone-container {
        max-width: 450px;
    }

}