/* ===========================
   CSS Custom Properties
   =========================== */
:root {
    --green: #22C55E;
    --green-dark: #16A34A;
    --bg-hero: #0F172A;
    --bg-dark: #1E293B;
    --bg-light: #F8FAFC;
    --text-dark: #1E293B;
    --text-light: #F1F5F9;
    --text-muted: #64748B;
    --border: #E2E8F0;
    --radius: 12px;
    --shadow: 0 4px 24px rgba(0,0,0,0.10);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.18);
    --nav-height: 68px;
    --transition: 0.25s ease;
    --font: 'Inter', system-ui, -apple-system, sans-serif;
}

/* ===========================
   Reset & Base
   =========================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    color: var(--text-dark);
    background: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

img { max-width: 100%; display: block; }

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

button { cursor: pointer; font-family: var(--font); }

/* ===========================
   Navbar
   =========================== */
#navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    height: var(--nav-height);
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    transition: transform var(--transition), background var(--transition);
}

#navbar.nav-hidden { transform: translateY(-100%); }

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.nav-logo { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }

.nav-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.5px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 28px;
    margin-left: auto;
}

.nav-links a {
    color: rgba(255,255,255,0.75);
    font-size: 0.95rem;
    font-weight: 500;
    transition: color var(--transition);
}

.nav-links a:hover { color: var(--green); }

#language-selector {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    color: #fff;
    padding: 6px 10px;
    border-radius: 8px;
    font-size: 0.875rem;
    cursor: pointer;
    outline: none;
    flex-shrink: 0;
}

#language-selector:focus { border-color: var(--green); }

#language-selector option { background: var(--bg-dark); color: #fff; }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    padding: 4px;
    margin-left: auto;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: var(--transition);
}

/* ===========================
   Sections common
   =========================== */
.section { padding: 80px 24px; }

.section--light { background: var(--bg-light); color: var(--text-dark); }

.section--dark { background: var(--bg-dark); color: var(--text-light); }

.container {
    max-width: 1100px;
    margin: 0 auto;
}

.container--narrow { max-width: 720px; }

.section-title {
    text-align: center;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 56px;
}

.section--dark .section-title { color: #fff; }

.section--light .section-title { color: var(--text-dark); }

/* ===========================
   Hero Section
   =========================== */
#hero {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--bg-hero) 0%, #0d2137 50%, #0a3d1a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: calc(var(--nav-height) + 48px) 24px 80px;
}

.hero-inner {
    max-width: 1100px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 64px;
}

.hero-text {
    flex: 1;
    min-width: 0;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 24px;
    letter-spacing: -0.5px;
}

.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    color: rgba(255,255,255,0.7);
    margin-bottom: 48px;
    max-width: 480px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-phone-col {
    flex-shrink: 0;
    display: flex;
    justify-content: center;
}

.hero-phone-frame {
    width: 240px;
    position: relative;
    overflow: hidden;
    aspect-ratio: 9/19;
}

.hero-phone-img {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    will-change: opacity;
}

.hero-phone-img--1 {
    animation: heroFade1 6s ease-in-out infinite;
}

.hero-phone-img--2 {
    animation: heroFade2 6s ease-in-out infinite;
}

@keyframes heroFade1 {
    0%   { opacity: 1; }
    40%  { opacity: 1; }
    50%  { opacity: 0; }
    90%  { opacity: 0; }
    100% { opacity: 1; }
}

@keyframes heroFade2 {
    0%   { opacity: 0; }
    40%  { opacity: 0; }
    50%  { opacity: 1; }
    90%  { opacity: 1; }
    100% { opacity: 0; }
}

.btn-store {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.18);
    color: #fff;
    padding: 14px 24px;
    border-radius: var(--radius);
    min-width: 180px;
    transition: background var(--transition), transform var(--transition);
    text-align: left;
}

.btn-store:hover { background: rgba(255,255,255,0.14); transform: translateY(-2px); }

.btn-store--disabled {
    opacity: 0.65;
    pointer-events: none;
    cursor: not-allowed;
}

.store-icon { width: 28px; height: 28px; flex-shrink: 0; }

.store-text { display: flex; flex-direction: column; }

.store-label { font-size: 0.72rem; opacity: 0.8; text-transform: uppercase; letter-spacing: 0.5px; }

.store-name { font-size: 1rem; font-weight: 700; }

/* ===========================
   Features Section
   =========================== */
.features-list {
    display: flex;
    flex-direction: column;
    gap: 56px;
}

.feature-row {
    display: grid;
    grid-template-columns: 1fr 200px;
    align-items: center;
    gap: 48px;
    max-width: 860px;
    margin: 0 auto;
    width: 100%;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.feature-row.visible {
    opacity: 1;
    transform: translateY(0);
}
.feature-row:nth-child(1) { transition-delay: 0s; }
.feature-row:nth-child(2) { transition-delay: 0.1s; }
.feature-row:nth-child(3) { transition-delay: 0.15s; }
.feature-row:nth-child(4) { transition-delay: 0.2s; }
.feature-row:nth-child(5) { transition-delay: 0.25s; }

.feature-row--reverse {
    grid-template-columns: 200px 1fr;
}
.feature-row--reverse .feature-row__phone {
    order: -1;
}

.feature-row__text {
    min-width: 0;
}

.feature-row__phone {
    display: flex;
    justify-content: center;
    align-items: center;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #d1fae5, #a7f3d0);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.feature-icon svg {
    width: 28px;
    height: 28px;
    stroke: var(--green-dark);
}

.feature-row__text h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 14px;
    color: var(--text-dark);
}

.feature-row__text p {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.7;
    max-width: 420px;
}

/* ===========================
   Feature Row Phone Images
   =========================== */
.feature-row__phone img {
    width: 200px;
    height: auto;
    display: block;
}

.pricing-option,
.faq-item {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}
.pricing-option.visible,
.faq-item.visible {
    opacity: 1;
    transform: translateY(0);
}
.pricing-option:nth-child(1) { transition-delay: 0s; }
.pricing-option:nth-child(2) { transition-delay: 0.12s; }
.faq-item:nth-child(1) { transition-delay: 0s; }
.faq-item:nth-child(2) { transition-delay: 0.08s; }
.faq-item:nth-child(3) { transition-delay: 0.16s; }
.faq-item:nth-child(4) { transition-delay: 0.24s; }

/* ===========================
   Pricing Section
   =========================== */
.pricing-pro-wrapper {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.pricing-pro-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.pricing-pro-desc {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 0;
}

.pricing-pro-features {
    list-style: none;
    padding: 0;
    margin: 0 auto 36px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 340px;
}

.pricing-pro-features li {
    color: var(--text-muted);
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.pricing-pro-features li::before {
    content: '✓';
    color: var(--green);
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.pricing-options {
    display: flex;
    gap: 24px;
    justify-content: center;
}

.pricing-option {
    flex: 1;
    max-width: 300px;
    background: #fff;
    border-radius: var(--radius);
    padding: 36px 28px;
    box-shadow: var(--shadow);
    border: 2px solid var(--border);
    text-align: center;
    position: relative;
    transition: transform var(--transition), box-shadow var(--transition);
}

.pricing-option:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.pricing-option--best {
    border-color: var(--green);
    box-shadow: 0 8px 40px rgba(34,197,94,0.18);
}

.pricing-best-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--green);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 4px 16px;
    border-radius: 20px;
    white-space: nowrap;
    letter-spacing: 0.3px;
}

.pricing-option-label {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.pricing-option-price {
    margin-bottom: 10px;
}

.price-amount {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-dark);
}

.price-period {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-left: 2px;
}

.pricing-option-trial {
    color: var(--text-muted);
    font-size: 0.88rem;
    margin-bottom: 24px;
}

.btn-pricing {
    width: 100%;
    padding: 13px 0;
    border-radius: var(--radius);
    font-size: 0.95rem;
    font-weight: 600;
    border: 2px solid var(--green);
    background: var(--green);
    color: #fff;
    transition: background var(--transition), color var(--transition), transform var(--transition);
}

.btn-pricing:hover:not(:disabled) {
    background: var(--green-dark);
    border-color: var(--green-dark);
    transform: translateY(-1px);
}

.btn-pricing--coming-soon {
    background: transparent;
    color: var(--text-muted);
    border-color: var(--border);
    cursor: not-allowed;
    opacity: 0.7;
}

/* ===========================
   FAQ Section
   =========================== */
.faq-list { display: flex; flex-direction: column; gap: 12px; }

.faq-item {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    color: var(--text-light);
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1rem;
    font-weight: 600;
    text-align: left;
    gap: 12px;
    transition: color var(--transition);
}

.faq-question:hover { color: var(--green); }

.faq-question[aria-expanded="true"] { color: var(--green); }

.faq-chevron {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
    stroke: currentColor;
}

.faq-question[aria-expanded="true"] .faq-chevron { transform: rotate(180deg); }

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-answer.open { max-height: 200px; }

.faq-answer p {
    padding: 0 24px 20px;
    color: rgba(255,255,255,0.65);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ===========================
   Contact Section
   =========================== */
.contact-email {
    text-align: center;
    margin-top: 28px;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.contact-email a {
    color: var(--green-dark);
    font-weight: 600;
    transition: opacity var(--transition);
}

.contact-email a:hover { opacity: 0.75; }

/* ===========================
   Footer
   =========================== */
#footer {
    background: var(--bg-hero);
    color: var(--text-light);
    padding: 60px 24px 36px;
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

.footer-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 12px;
}

.footer-logo { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }

.footer-name { font-size: 1.2rem; font-weight: 700; color: #fff; }

.footer-tagline {
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
    margin-bottom: 28px;
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 24px;
    margin-bottom: 28px;
}

.footer-nav a {
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
    transition: color var(--transition);
}

.footer-nav a:hover { color: var(--green); }

.footer-legal {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 20px;
    margin-bottom: 24px;
}

.footer-legal a {
    color: rgba(255,255,255,0.45);
    font-size: 0.85rem;
    transition: color var(--transition);
}

.footer-legal a:hover { color: rgba(255,255,255,0.8); }

.footer-rights {
    color: rgba(255,255,255,0.3);
    font-size: 0.82rem;
}

/* ===========================
   Responsive / Mobile
   =========================== */
@media (max-width: 900px) {
    .hero-inner {
        flex-direction: column;
        text-align: center;
        gap: 48px;
    }

    .hero-subtitle { margin-left: auto; margin-right: auto; }

    .hero-buttons { justify-content: center; }

    .feature-row,
    .feature-row--reverse {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 24px;
    }
    .feature-row--reverse .feature-row__phone {
        order: 0;
    }
    .feature-row .feature-row__phone,
    .feature-row--reverse .feature-row__phone {
        order: -1;
    }

    .feature-row__text p { max-width: 100%; }

    .feature-icon { margin-left: auto; margin-right: auto; }

    .pricing-options {
        flex-direction: column;
        align-items: center;
    }

    .pricing-option { max-width: 340px; width: 100%; }
}

@media (max-width: 768px) {
    .nav-links { display: none; flex-direction: column; }
    .nav-links.open {
        display: flex;
        position: absolute;
        top: var(--nav-height);
        left: 0; right: 0;
        background: rgba(15,23,42,0.97);
        padding: 16px 24px 24px;
        gap: 16px;
        border-bottom: 1px solid rgba(255,255,255,0.08);
    }
    .nav-toggle { display: flex; }
    .nav-inner { flex-wrap: wrap; position: relative; }
    #language-selector { order: 2; }
    .nav-toggle { order: 3; }
    .section { padding: 72px 16px; }
    .feature-row__phone img { width: 180px; }
    .hero-phone-frame { width: 200px; }
}

@media (max-width: 480px) {
    .hero-buttons { flex-direction: column; align-items: center; }
    .btn-store { min-width: 220px; justify-content: center; }
}