/* Design tokens — professional medical SaaS */
:root {
    --color-bg: #f4f7fb;
    --color-surface: #ffffff;
    --color-text: #0f172a;
    --color-text-muted: #64748b;
    --color-border: #e2e8f0;
    --color-primary: #0d5c6b;
    --color-primary-hover: #094854;
    --color-accent: #14b8a6;
    --color-accent-soft: rgba(20, 184, 166, 0.12);
    --color-hero-tint: #e0f2f1;
    --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
    --shadow-md: 0 12px 40px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 24px 60px rgba(15, 23, 42, 0.12);
    --radius-sm: 10px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --header-h: 72px;
    --font: 'Cairo', system-ui, sans-serif;
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

body {
    font-family: var(--font);
    line-height: 1.65;
    color: var(--color-text);
    background-color: var(--color-bg);
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: var(--font);
    font-weight: 600;
    text-decoration: none;
    border-radius: 999px;
    border: 2px solid transparent;
    cursor: pointer;
    box-sizing: border-box;
    padding: 0.55rem 1.35rem;
    font-size: 0.95rem;
    line-height: 1.4;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.btn-lg {
    padding: 0.95rem 1.75rem;
    font-size: 1.05rem;
}

.btn-sm {
    padding: 0.5rem 1.1rem;
    font-size: 0.9rem;
}

.btn-primary {
    background: var(--color-primary);
    color: #fff;
    box-shadow: 0 4px 14px rgba(13, 92, 107, 0.35);
}

.btn-primary:hover {
    background: var(--color-primary-hover);
    box-shadow: 0 6px 20px rgba(13, 92, 107, 0.4);
    transform: translateY(-1px);
}

.btn-outline {
    background: transparent;
    color: var(--color-primary);
    border-color: rgba(13, 92, 107, 0.35);
    box-shadow: none;
}

.btn-outline:hover {
    background: var(--color-accent-soft);
    border-color: var(--color-primary);
}

.btn-light {
    background: #fff;
    color: var(--color-primary);
    box-shadow: var(--shadow-md);
}

.btn-light:hover {
    background: var(--color-hero-tint);
    transform: translateY(-1px);
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.site-header.is-scrolled {
    border-bottom-color: var(--color-border);
    box-shadow: var(--shadow-sm);
}

.nav-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: var(--header-h);
}

.logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3rem;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    background: rgba(13, 92, 107, 0.08);
    text-decoration: none;
}

.logo img {
    max-height: 2.25rem;
    width: auto;
    display: block;
}

.logo-text {
    margin-inline-start: 0.75rem;
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-text);
    white-space: nowrap;
}

.logo-mark {
    color: var(--color-primary);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 1.75rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--color-text-muted);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.nav-links a:hover {
    color: var(--color-primary);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.language-toggle {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    color: var(--color-text);
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.85rem;
    font-family: var(--font);
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.language-toggle:hover {
    border-color: var(--color-primary);
    background: #fff;
}

.btn-nav-cta {
    display: none;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 44px;
    height: 44px;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    border-radius: var(--radius-sm);
}

.nav-toggle:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
}

.nav-toggle-bar {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--color-text);
    margin-inline: auto;
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.2s ease;
}

.site-header.nav-open .nav-toggle-bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.site-header.nav-open .nav-toggle-bar:nth-child(2) {
    opacity: 0;
}

.site-header.nav-open .nav-toggle-bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Hero */
.hero {
    position: relative;
    padding: clamp(3rem, 8vw, 5.5rem) 0 clamp(3.5rem, 7vw, 5rem);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, var(--color-hero-tint) 0%, #fff 45%, var(--color-bg) 100%);
    z-index: 0;
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 50% at 100% 0%, rgba(20, 184, 166, 0.15), transparent 55%);
    pointer-events: none;
}

.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
}

.hero-copy h1 {
    font-size: clamp(1.85rem, 4vw, 2.85rem);
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-text);
    letter-spacing: -0.03em;
    margin-bottom: 1rem;
}

.hero-eyebrow {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--color-primary);
    margin-bottom: 0.75rem;
}

.hero-lead {
    font-size: 1.125rem;
    color: var(--color-text-muted);
    max-width: 36rem;
    margin-bottom: 1.75rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.75rem;
}

.hero-checklist {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-size: 0.95rem;
    color: var(--color-text-muted);
}

.hero-checklist li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.hero-checklist .fa-check {
    color: var(--color-accent);
    font-size: 0.85rem;
}

.hero-panel {
    display: flex;
    justify-content: center;
}

.hero-panel-inner {
    width: 100%;
    max-width: 420px;
    padding: 0;
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--color-border);
    overflow: hidden;
}

.hero-panel-icon {
    width: 100%;
    display: block;
}

.hero-panel-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-panel-title,
.hero-panel-text {
    display: none;
}

/* Trust strip */
.trust-strip {
    background: var(--color-surface);
    border-block: 1px solid var(--color-border);
    padding: 1.75rem 0;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    align-items: start;
}

.trust-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.trust-item strong {
    display: block;
    font-size: 0.95rem;
    color: var(--color-text);
    margin-bottom: 0.2rem;
}

.trust-item span {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    line-height: 1.5;
}

.trust-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--color-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    font-size: 1.1rem;
}

/* Section headers */
.section-head {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 3rem;
}

.section-eyebrow {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--color-accent);
    margin-bottom: 0.65rem;
}

.section-eyebrow-on-dark {
    color: rgba(165, 243, 252, 0.95);
}

.section-title {
    font-size: clamp(1.65rem, 3vw, 2.15rem);
    font-weight: 700;
    color: var(--color-text);
    letter-spacing: -0.02em;
    margin-bottom: 0.75rem;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--color-text-muted);
    line-height: 1.65;
}

/* Value proposition */
.value-prop {
    padding: clamp(4rem, 8vw, 5.5rem) 0;
    background: var(--color-bg);
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.value-card {
    background: var(--color-surface);
    padding: 1.75rem 1.5rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.value-card:hover {
    box-shadow: var(--shadow-md);
    border-color: rgba(20, 184, 166, 0.35);
}

.value-num {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-accent);
    letter-spacing: 0.08em;
    margin-bottom: 0.75rem;
}

.value-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--color-text);
}

.value-card p {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    line-height: 1.65;
}

/* Features */
.features {
    padding: clamp(4rem, 8vw, 5.5rem) 0;
    background: var(--color-surface);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.25rem;
}

.feature-card {
    padding: 1.75rem 1.5rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    background: var(--color-bg);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.feature-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: rgba(20, 184, 166, 0.25);
    background: #fff;
}

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--color-accent-soft);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--color-text);
}

.feature-card p {
    font-size: 0.92rem;
    color: var(--color-text-muted);
    line-height: 1.65;
}

/* Screenshots */
.screenshots {
    padding: clamp(4rem, 8vw, 5.5rem) 0;
    background: linear-gradient(180deg, var(--color-bg) 0%, #fff 100%);
}

.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.screenshot-card {
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.screenshot-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.screenshot-frame {
    position: relative;
    background: #0f172a;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.screenshot-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

.screenshot-info {
    padding: 1.25rem 1.35rem 1.5rem;
}

.screenshot-info h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 0.35rem;
}

.screenshot-info p {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    line-height: 1.55;
}

/* FAQ */
.faq {
    padding: clamp(4rem, 8vw, 5.5rem) 0;
    background: var(--color-surface);
}

.faq-container {
    max-width: 760px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    margin-bottom: 0.75rem;
    overflow: hidden;
    background: var(--color-bg);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq-item:hover {
    border-color: rgba(13, 92, 107, 0.2);
}

.faq-item.active {
    border-color: var(--color-primary);
    box-shadow: var(--shadow-sm);
    background: #fff;
}

.faq-question {
    width: 100%;
    text-align: inherit;
    font: inherit;
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--color-text);
    padding: 1.15rem 1.25rem;
    font-weight: 600;
    font-size: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.faq-question:hover {
    background: rgba(255, 255, 255, 0.6);
}

.faq-item.active .faq-question {
    color: var(--color-primary);
    background: rgba(20, 184, 166, 0.06);
}

.faq-arrow {
    flex-shrink: 0;
    font-size: 0.85rem;
    color: var(--color-text-muted);
    transition: transform 0.3s ease, color 0.2s ease;
}

.faq-item.active .faq-arrow {
    transform: rotate(180deg);
    color: var(--color-primary);
}

.faq-answer {
    padding: 0 1.25rem;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    transition: max-height 0.4s ease, opacity 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 560px;
    opacity: 1;
    padding: 0 1.25rem 1.25rem;
}

/* CTA banner */
.cta-banner {
    padding: clamp(2.5rem, 5vw, 3.25rem) 0;
    background: linear-gradient(120deg, var(--color-primary) 0%, #0a3d47 100%);
    color: #fff;
}

.cta-banner-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.cta-banner-title {
    font-size: clamp(1.35rem, 2.5vw, 1.75rem);
    font-weight: 700;
    margin-bottom: 0.35rem;
    letter-spacing: -0.02em;
}

.cta-banner-text {
    font-size: 1rem;
    opacity: 0.92;
    max-width: 36rem;
    line-height: 1.6;
}

/* Trial */
.trial-request {
    padding: clamp(4rem, 8vw, 5.5rem) 0;
    position: relative;
    overflow: hidden;
    background: #0c2a32;
}

.trial-request::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 70% 60% at 0% 100%, rgba(20, 184, 166, 0.2), transparent 50%),
        radial-gradient(ellipse 50% 40% at 100% 0%, rgba(13, 92, 107, 0.5), transparent 45%);
    pointer-events: none;
}

.trial-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 5vw, 3.5rem);
    align-items: start;
}

.trial-title {
    font-size: clamp(1.75rem, 3vw, 2.35rem);
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.25;
    color: #fff;
    letter-spacing: -0.02em;
}

.trial-description {
    font-size: 1.05rem;
    margin-bottom: 1.75rem;
    line-height: 1.65;
    color: rgba(226, 232, 240, 0.92);
}

.trial-features {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.trial-feature {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-size: 0.98rem;
    color: rgba(226, 232, 240, 0.95);
}

.trial-feature i {
    color: var(--color-accent);
    font-size: 1.1rem;
}

.trial-form-container {
    background: var(--color-surface);
    padding: clamp(1.75rem, 4vw, 2.5rem);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--color-border);
}

.trial-form h3 {
    text-align: center;
    color: var(--color-text);
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.form-group {
    position: relative;
    margin-bottom: 1.35rem;
}

.form-group-static {
    margin-bottom: 1.35rem;
}

.form-label-above {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--color-text-muted);
    margin-bottom: 0.45rem;
}

.form-group-static select {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-family: var(--font);
    background: var(--color-bg);
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group-static select:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px var(--color-accent-soft);
    background: #fff;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem 0.9rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-family: var(--font);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    background: var(--color-bg);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-accent);
    background: #fff;
    box-shadow: 0 0 0 3px var(--color-accent-soft);
}

.form-group textarea {
    resize: vertical;
    min-height: 96px;
}

.form-group label:not(.form-label-above) {
    position: absolute;
    top: 1rem;
    right: 0.85rem;
    color: var(--color-text-muted);
    font-size: 0.95rem;
    transition: all 0.2s ease;
    pointer-events: none;
    background: var(--color-bg);
    padding: 0 0.35rem;
}

html[dir='ltr'] .form-group label:not(.form-label-above) {
    right: auto;
    left: 0.85rem;
}

.form-group input:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:focus + label,
.form-group textarea:not(:placeholder-shown) + label {
    top: -0.55rem;
    font-size: 0.78rem;
    color: var(--color-primary);
    background: #fff;
}

.trial-submit-btn {
    width: 100%;
    background: var(--color-primary);
    color: #fff;
    border: none;
    padding: 1rem 1.5rem;
    border-radius: 999px;
    font-size: 1.05rem;
    font-weight: 700;
    font-family: var(--font);
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 0.85rem;
    box-shadow: 0 4px 16px rgba(13, 92, 107, 0.35);
}

.trial-submit-btn:hover {
    background: var(--color-primary-hover);
    transform: translateY(-1px);
}

.trial-submit-btn:disabled {
    opacity: 0.85;
    cursor: not-allowed;
    transform: none;
}

.trial-note {
    text-align: center;
    font-size: 0.8rem;
    color: var(--color-text-muted);
    line-height: 1.45;
}

.trial-contact-info {
    text-align: center;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--color-border);
}

.trial-contact-info p {
    margin: 0.4rem 0;
    font-size: 0.88rem;
    color: var(--color-text-muted);
}

.whatsapp-link-trial {
    color: #128c4a !important;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.whatsapp-link-trial:hover {
    text-decoration: underline;
}

/* Footer */
footer {
    background: #08252c;
    color: #e2e8f0;
    padding: 3rem 0 1.25rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    font-size: 1.05rem;
    margin-bottom: 0.85rem;
    color: #fff;
    font-weight: 700;
}

.footer-section p,
.footer-section a {
    color: rgba(226, 232, 240, 0.85);
    text-decoration: none;
    font-size: 0.92rem;
    line-height: 1.6;
}

.footer-section a:hover {
    color: var(--color-accent);
}

.whatsapp-link {
    color: rgba(226, 232, 240, 0.9) !important;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.whatsapp-link:hover {
    color: #4ade80 !important;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.25rem;
    text-align: center;
    font-size: 0.85rem;
    color: rgba(226, 232, 240, 0.55);
}

/* Mobile CTA */
.mobile-cta-fab {
    display: none;
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 999;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.35rem;
    background: var(--color-primary);
    color: #fff;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    border-radius: 999px;
    box-shadow: 0 8px 28px rgba(13, 92, 107, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.mobile-cta-fab:hover {
    background: var(--color-primary-hover);
    color: #fff;
}

html[dir='rtl'] .mobile-cta-fab {
    left: auto;
    right: 50%;
    transform: translateX(50%);
}

/* Responsive */
@media (min-width: 900px) {
    .btn-nav-cta {
        display: inline-flex;
        flex-shrink: 0;
        min-height: 2.5rem;
        padding: 0.5rem 1.3rem;
    }
}

@media (max-width: 900px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }

    .hero-panel {
        order: -1;
    }

    .trust-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .value-grid {
        grid-template-columns: 1fr;
    }

    .trial-content {
        grid-template-columns: 1fr;
    }

    .cta-banner-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        z-index: 1001;
        inset: var(--header-h) 0 auto 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(12px);
        padding: 0.75rem 0 1rem;
        border-bottom: 1px solid var(--color-border);
        box-shadow: var(--shadow-md);
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        visibility: hidden;
        transition: max-height 0.35s ease, opacity 0.25s ease, visibility 0.25s ease;
    }

    .site-header.nav-open .nav-links {
        max-height: 420px;
        opacity: 1;
        visibility: visible;
    }

    .nav-links li {
        border-bottom: 1px solid var(--color-border);
    }

    .nav-links a {
        display: block;
        padding: 0.9rem 24px;
    }

    .mobile-cta-fab {
        display: inline-flex;
    }

    .container {
        padding: 0 18px;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .faq-question {
        font-size: 0.92rem;
        padding: 1rem;
    }

    .faq-item.active .faq-answer {
        padding: 0 1rem 1rem;
    }
}
