:root {
    --bg: #fff;
    --muted: #6b7280;
    --accent: #16a34a;
    --accent-600: #13833e;
    --surface: #f8fafc;
    --max: 1100px;
    --radius: 10px;
    --ff-sans: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
}

* {
    box-sizing: border-box
}

html,
body {
    height: 100%
}

body {
    margin: 0;
    font-family: var(--ff-sans);
    background: var(--bg);
    color: #0f172a;
    line-height: 1.5
}

.container {
    max-width: var(--max);
    margin: 0 auto;
    padding: 28px
}

.nav-container {
    max-width: var(--max);
    margin: 0 auto;
    /* padding: 28px */
}

.site-header {
    border-bottom: 1px solid #e6eef6;
    background: white
}

.header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px
}

.logo {
    font-weight: 700;
    color: var(--accent);
    text-decoration: none;
    font-size: 1.1rem
}

.logo-img {
    height: 120px;
    display: block;
    object-fit: contain;
}

.nav {
    display: flex;
    gap: 18px;
    align-items: center
}

.nav a {
    color: inherit;
    text-decoration: none;
    padding: 6px 8px;
    border-radius: 8px;
    transition: background .18s, color .18s;
}

.nav a:hover {
    background: rgba(6, 95, 70, 0.06)
}

.nav a.btn {
    padding: 8px 12px
}

.nav-toggle {
    display: none;
    background: none;
    border: 0;
    font-size: 1.3rem
}

.hero {
    background: linear-gradient(135deg, #f0fdf4 0%, #ffffff 100%);
    padding: 56px 0
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr 560px;
    gap: 32px;
    align-items: center
}

.hero-copy h1 {
    font-size: 2.2rem;
    margin: 0 0 12px
}

.hero-copy p {
    color: var(--muted);
    margin: 0 0 16px
}

.hero-phone{margin-top:14px;font-size:1.05rem;font-weight:600;color:var(--accent)}
.hero-phone a{color:var(--accent-600);text-decoration:none;border-bottom:2px solid rgba(19,131,62,0.12);padding-bottom:2px}

.hero-cta .btn {
    margin-right: 10px
}

.screenshot {
    background: linear-gradient(135deg, #e6f6ea, #ffffff);
    border-radius: 12px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--muted);
    box-shadow: 0 8px 24px rgba(10, 10, 10, 0.06);
}

.screenshot img {
    max-width: 100%;
    max-height: 460px;
    height: auto;
    border-radius: 10px;
    display: block;
    box-shadow: 0 6px 20px rgba(12, 40, 18, 0.06)
}

.screenshot .thumbs {
    display: flex;
    gap: 10px;
    margin-top: 12px;
    flex-wrap: wrap;
    justify-content: center
}

.screenshot .thumbs img {
    width: 110px;
    height: 70px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: transform .12s, border-color .12s
}

.screenshot .thumbs img:hover {
    transform: translateY(-4px)
}

.screenshot .thumbs img.active {
    border-color: var(--accent);
    box-shadow: 0 6px 18px rgba(16, 185, 129, 0.08)
}

@media (max-width:700px) {
    .screenshot .thumbs img {
        width: 80px;
        height: 54px
    }
}

.features {
    padding: 42px 0
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    margin-top: 18px
}

.feature {
    background: var(--surface);
    padding: 18px;
    border-radius: 10px
}

.feature .icon {
    font-size: 28px
}

.pricing {
    padding: 42px 0
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px
}

.card {
    background: white;
    border: 1px solid #eef2f7;
    border-radius: 12px;
    padding: 18px;
    text-align: center
}

.card.popular {
    transform: translateY(-6px);
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.08);
    border-color: rgba(16, 185, 129, 0.12)
}

.price {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--accent)
}

.testimonials {
    padding: 36px 0
}

.screenshots {
    padding: 42px 0
}

.screens-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 16px
}

.screens-grid figure {
    background: var(--surface);
    padding: 12px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center
}

.screens-grid img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 6px 16px rgba(12, 40, 18, 0.04);
    cursor: pointer
}

.screens-grid figcaption {
    margin-top: 8px;
    color: var(--muted);
    font-size: 0.95rem
}

/* Lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(3, 7, 18, 0.6);
    z-index: 2000;
    padding: 24px
}

.lightbox[aria-hidden="false"] {
    display: flex
}

.lightbox img {
    max-width: 100%;
    max-height: 86vh;
    border-radius: 8px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6)
}

.lb-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: 0;
    color: white;
    font-size: 26px;
    cursor: pointer
}

.lb-caption {
    position: fixed;
    bottom: 28px;
    color: #fff;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0.95
}

@media (max-width:900px) {
    .screens-grid {
        grid-template-columns: repeat(2, 1fr)
    }
}

@media (max-width:560px) {
    .screens-grid {
        grid-template-columns: 1fr
    }

    .hero-inner {
        grid-template-columns: 1fr
    }
}

.test-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px
}

.testimonial-card {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    background: var(--surface);
    padding: 14px;
    border-radius: 10px
}

.testimonial-card .avatar {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    object-fit: cover;
    flex: 0 0 160px
}

.testimonial-card blockquote {
    margin: 0;
    color: #0b1220
}

.testimonial-card cite {
    display: block;
    margin-top: 8px;
    color: var(--muted);
    font-size: 0.9rem
}

/* keep old generic blockquote style as fallback */
blockquote {
    background: var(--surface);
    padding: 16px;
    border-radius: 10px;
    margin: 0
}

cite {
    display: block;
    margin-top: 8px;
    color: var(--muted);
    font-size: 0.9rem
}

.subscribe {
    padding: 36px 0;
    text-align: center
}

.subscribe-form {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 12px
}

.subscribe-form input {
    padding: 10px 12px;
    border: 1px solid #e6eef6;
    border-radius: 8px;
    width: 320px
}

.muted {
    color: var(--muted)
}

/* Language switch buttons */
.lang-switch {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    margin-left: 6px;
}
.lang-btn {
    display: inline-block;
    padding: 6px 10px;
    border-radius: 8px;
    text-decoration: none;
    color: inherit;
    font-weight: 600;
    border: 1px solid transparent;
    background: transparent;
    transition: background .15s, border-color .15s, color .15s;
}
.lang-btn:hover {
    background: rgba(6, 95, 70, 0.06);
}
.lang-btn.active,
.lang-btn[aria-current="page"] {
    background: var(--accent);
    color: white;
    border-color: var(--accent-600);
}

@media (max-width:700px) {
    .lang-switch { display: none }
}

/* Demo card - prominent */
.demo-card {
    display: grid;
    /* grid-template-columns: 1fr 420px; */
    gap: 24px;
    background: linear-gradient(180deg, #ffffff, #f7fffa);
    padding: 20px;
    border-radius: 14px;
    border: 1px solid #e6f7ee;
    align-items: center
}

.demo-copy h2 {
    margin: 0 0 8px;
    font-size: 1.6rem
}

.demo-copy .phone {
    margin-top: 10px;
    font-weight: 600
}

.demo-copy .phone a {
    color: var(--accent);
    text-decoration: none
}

.demo-form .subscribe-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 0
}

.demo-form input {
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #e9f3ef
}

.form-row {
    display: flex;
    gap: 10px;
    align-items: center
}

.btn-large {
    padding: 12px 18px;
    font-size: 1rem
}

/* Update CTA styles */
.btn.ghost {
    background: white;
    border: 1px solid var(--accent);
    color: var(--accent)
}

.btn.ghost:hover {
    background: rgba(22, 163, 74, 0.06)
}

@media (max-width:900px) {
    .demo-card {
        grid-template-columns: 1fr;
    }

    .form-row {
        flex-direction: column
    }
}

.site-footer {
    border-top: 1px solid #eef2f7;
    padding: 18px 0;
    margin-top: 28px
}

.footer-row {
    display: flex;
    justify-content: space-between;
    align-items: center
}

.btn {
    display: inline-block;
    padding: 10px 14px;
    border-radius: 8px;
    text-decoration: none;
    border: 1px solid transparent
}

.btn.primary {
    background: var(--accent);
    color: white
}

.btn.ghost {
    background: transparent;
    border-color: #e6eef6;
    color: var(--accent)
}

@media (max-width:900px) {
    .hero-inner {
        grid-template-columns: 1fr
    }

    .hero-media {
        order: -1
    }

    .features-grid {
        grid-template-columns: 1fr
    }

    .pricing-grid {
        grid-template-columns: 1fr
    }

    .test-grid {
        grid-template-columns: 1fr
    }

    .nav {
        display: none
    }

    .nav-toggle {
        display: block
    }

    /* Mobile dropdown when JS toggles class to .mobile-open */
    .nav.mobile-open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 96px;
        right: 20px;
        background: white;
        padding: 12px;
        min-width: 200px;
        border-radius: 10px;
        box-shadow: 0 12px 40px rgba(6, 95, 70, 0.08);
        gap: 6px;
    }

    .nav.mobile-open a {
        padding: 10px 12px
    }
}

@media (max-width:900px) {
    .logo-img {
        height: 56px
    }
}