/* ============================================
   Siteavail — Shared Stylesheet
   ============================================ */

/* ---------- Design Tokens ---------- */
:root {
    --emerald-50: #ecfdf5;
    --emerald-100: #d1fae5;
    --emerald-200: #a7f3d0;
    --emerald-500: #10b981;
    --emerald-600: #059669;
    --emerald-700: #047857;

    --amber-50: #fffbeb;
    --amber-100: #fef3c7;
    --amber-500: #f59e0b;
    --amber-600: #d97706;

    --blue-50: #eff6ff;
    --blue-500: #3b82f6;
    --blue-600: #2563eb;

    --violet-50: #f5f3ff;
    --violet-500: #8b5cf6;

    --rose-50: #fff1f2;
    --rose-500: #f43f5e;

    --cyan-50: #ecfeff;
    --cyan-500: #06b6d4;

    --slate-50: #f8fafc;
    --slate-100: #f1f5f9;
    --slate-200: #e2e8f0;
    --slate-300: #cbd5e1;
    --slate-400: #94a3b8;
    --slate-500: #64748b;
    --slate-600: #475569;
    --slate-700: #334155;
    --slate-800: #1e293b;
    --slate-900: #0f172a;

    --white: #ffffff;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

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

body {
    font-family: 'Inter', sans-serif;
    color: var(--slate-800);
    background-color: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

img {
    max-width: 100%;
    height: auto;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--slate-900);
}

h1 { font-size: 3.5rem; letter-spacing: -0.02em; }
h2 { font-size: 2.25rem; letter-spacing: -0.01em; }
h3 { font-size: 1.5rem; }

p {
    color: var(--slate-500);
    font-size: 1.125rem;
}

/* ---------- Layout ---------- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 80px;
}

.section-header h2 {
    margin-bottom: 16px;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.2s ease;
    cursor: pointer;
    border: 1px solid transparent;
    gap: 0.5rem;
    font-family: inherit;
}

.btn-primary {
    background-color: var(--emerald-500);
    color: var(--white);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25);
}

.btn-primary:hover {
    background-color: var(--emerald-600);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(16, 185, 129, 0.35);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--slate-200);
    color: var(--slate-800);
}

.btn-outline:hover {
    border-color: var(--emerald-500);
    color: var(--emerald-600);
    background-color: var(--emerald-50);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.w-full { width: 100%; }

/* ---------- Badge ---------- */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
    background-color: var(--emerald-50);
    color: var(--emerald-700);
    margin-bottom: 1.5rem;
}

.badge i {
    margin-right: 0.5rem;
    font-size: 1rem;
}

/* ---------- Scroll Animations ---------- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    opacity: 0;
    transform: translateY(24px);
}

.fade-in-up.visible {
    animation: fadeInUp 0.5s ease-out forwards;
}

.fade-in-up.delay-1 { animation-delay: 0.1s; }
.fade-in-up.delay-2 { animation-delay: 0.2s; }
.fade-in-up.delay-3 { animation-delay: 0.3s; }

/* ---------- Navbar ---------- */
.navbar {
    position: fixed;
    top: 36px;
    left: 0;
    right: 0;
    height: 80px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--slate-100);
    z-index: 1000;
    display: flex;
    align-items: center;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--slate-900);
}

.logo-mark {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--emerald-500), var(--emerald-700));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.375rem;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2);
    flex-shrink: 0;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    font-weight: 500;
    color: var(--slate-500);
    transition: color 0.2s;
    font-size: 0.9375rem;
    letter-spacing: 0.01em;
}

.nav-link:hover,
.nav-link.active {
    color: var(--slate-900);
}

/* Hamburger menu */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 4px;
    z-index: 1010;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--slate-800);
    border-radius: 2px;
    transition: all 0.3s;
}

.nav-toggle.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.open span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ---------- Hero ---------- */
.hero {
    padding-top: 196px;
    padding-bottom: 100px;
    background: linear-gradient(to bottom, var(--slate-50) 0%, var(--white) 40%);
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3rem;
    align-items: center;
}

.hero-content h1 span {
    color: var(--emerald-500);
    position: relative;
    display: block;
}

.hero-content h1 span::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 0;
    width: 100%;
    height: 12px;
    background-color: var(--amber-100);
    z-index: -1;
    opacity: 0.8;
}

.hero-desc {
    margin: 1.5rem 0 2.5rem;
    font-size: 1.25rem;
    max-width: 540px;
    color: var(--slate-500);
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.hero-trust {
    font-size: 0.875rem;
    color: var(--slate-400);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.hero-check {
    color: var(--emerald-500);
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    transform: translateX(-1rem);
}

.hero-image {
    width: 105%;
    max-width: none;
    height: auto;
}

/* ---------- Stats Strip ---------- */
.stats-strip {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--emerald-50) 0%, var(--white) 50%, var(--amber-50) 100%);
    border-top: 1px solid var(--slate-100);
    border-bottom: 1px solid var(--slate-100);
}

.stat-icon {
    font-size: 1.5rem;
    color: var(--emerald-500);
    margin-bottom: 12px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
    text-align: center;
}

.stat-val {
    font-size: 3rem;
    font-weight: 800;
    color: var(--emerald-500);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    color: var(--slate-500);
    font-weight: 500;
}

/* ---------- Features Grid ---------- */
.features {
    padding: 100px 0;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.feature-card {
    padding: 32px;
    border-radius: 16px;
    background: var(--white);
    border: 1px solid var(--slate-100);
    transition: all 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--emerald-100);
}

.icon-box {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: var(--emerald-50);
    color: var(--emerald-600);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 24px;
}

.feature-card h3 {
    margin-bottom: 12px;
}

/* Feature card icon color variants */
.icon-box.icon-blue { background: var(--blue-50); color: var(--blue-600); }
.icon-box.icon-amber { background: var(--amber-50); color: var(--amber-600); }
.icon-box.icon-violet { background: var(--violet-50); color: var(--violet-500); }
.icon-box.icon-rose { background: var(--rose-50); color: var(--rose-500); }
.icon-box.icon-cyan { background: var(--cyan-50); color: var(--cyan-500); }

/* ---------- How It Works (Steps) ---------- */
.steps-section {
    padding: 100px 0;
    background: var(--slate-900);
    color: var(--white);
}

.steps-section h2 { color: var(--white); }
.steps-section p { color: var(--slate-400); }
.steps-section h3 { color: var(--white); }

.step-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 48px;
    position: relative;
}

.step-row::after {
    content: '';
    position: absolute;
    top: 24px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--emerald-700), var(--emerald-500), var(--emerald-700));
    z-index: 1;
    opacity: 0.5;
}

.step-item {
    position: relative;
    z-index: 2;
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--slate-800);
    border: 2px solid var(--emerald-500);
    color: var(--emerald-500);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 24px;
}

.step-icon {
    font-size: 2rem;
    color: var(--emerald-500);
    margin-bottom: 16px;
    opacity: 0.85;
}

.step-desc {
    margin-top: 16px;
}

/* ---------- Logo Strip (Social Proof) ---------- */
.logo-strip {
    padding: 60px 0;
    text-align: center;
    border-bottom: 1px solid var(--slate-100);
}

.logo-strip-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--slate-400);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 32px;
}

.logo-strip-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 48px;
    flex-wrap: wrap;
}

.logo-strip-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--slate-300);
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    transition: color 0.2s;
}

.logo-strip-item:hover {
    color: var(--slate-500);
}

.logo-strip-item i {
    font-size: 1.5rem;
}

/* ---------- Trust Badges ---------- */
.trust-badges {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-top: 32px;
    flex-wrap: wrap;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    color: var(--slate-400);
    font-weight: 500;
}

.trust-badge i {
    color: var(--slate-300);
    font-size: 1.125rem;
}

/* ---------- Pricing ---------- */
.pricing {
    padding: 100px 0;
    background: var(--slate-50);
}

.pricing-card {
    background: var(--white);
    max-width: 500px;
    margin: 0 auto;
    border-radius: 24px;
    padding: 48px;
    box-shadow: var(--shadow-xl);
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
    background-clip: padding-box;
    outline: 2px solid var(--emerald-200);
}

.pricing-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, var(--emerald-500), var(--emerald-700));
    color: var(--white);
    font-size: 0.8125rem;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 9999px;
    margin-bottom: 24px;
    letter-spacing: 0.02em;
}

.pricing-guarantee {
    text-align: center;
    font-size: 0.875rem;
    color: var(--slate-400);
    margin-top: 8px;
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.pricing-guarantee span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.pricing-guarantee i {
    color: var(--emerald-500);
    font-size: 0.875rem;
}

.price {
    font-size: 4rem;
    font-weight: 800;
    color: var(--slate-900);
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin: 24px 0;
}

.price span {
    font-size: 1.25rem;
    color: var(--slate-500);
    font-weight: 500;
}

.price-top {
    margin-top: 0;
}

.pricing-subtitle {
    margin-bottom: 32px;
}

.features-list {
    margin: 32px 0;
    list-style: none;
}

.features-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    color: var(--slate-700);
    font-weight: 500;
}

.features-list li i {
    color: var(--emerald-500);
    font-size: 1.25rem;
}

/* ---------- FAQ ---------- */
.faq {
    padding: 100px 0;
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--slate-100);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 24px 0;
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--slate-900);
    text-align: left;
    gap: 16px;
    transition: background 0.2s, padding 0.2s;
}

.faq-question:hover {
    background: var(--slate-50);
    border-radius: 8px;
    padding-left: 12px;
    padding-right: 12px;
}

.faq-question i {
    font-size: 1.25rem;
    color: var(--slate-400);
    transition: transform 0.3s;
    flex-shrink: 0;
}

.faq-item.open .faq-question i {
    transform: rotate(45deg);
    color: var(--emerald-500);
}

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

.faq-answer p {
    padding-bottom: 24px;
    font-size: 1rem;
    line-height: 1.7;
}

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

/* ---------- Testimonials ---------- */
.testimonials {
    padding: 100px 0;
    background: var(--slate-50);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.testimonial-card {
    background: var(--white);
    border: 1px solid var(--slate-100);
    border-radius: 16px;
    padding: 32px;
}

.testimonial-stars {
    color: #f59e0b;
    margin-bottom: 16px;
    font-size: 1rem;
    letter-spacing: 2px;
}

.testimonial-text {
    font-size: 1rem;
    color: var(--slate-600);
    margin-bottom: 24px;
    line-height: 1.7;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--emerald-100);
    color: var(--emerald-700);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
}

.testimonial-author-name {
    font-weight: 600;
    color: var(--slate-900);
    font-size: 0.9375rem;
}

.testimonial-author-title {
    color: var(--slate-400);
    font-size: 0.8125rem;
}

/* ---------- Early Access Banner ---------- */
.early-access-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 36px;
    background: linear-gradient(135deg, var(--slate-800), var(--slate-900));
    color: var(--emerald-200);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    z-index: 1001;
}

.early-access-banner i {
    margin-right: 8px;
    color: var(--amber-500);
}

/* ---------- Early Access Program ---------- */
.early-access-section {
    padding: 100px 0;
    background: var(--slate-50);
}

.early-access-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-bottom: 64px;
}

.early-access-card {
    background: var(--white);
    border: 1px solid var(--slate-100);
    border-radius: 16px;
    padding: 32px;
}

.early-access-card h3 {
    margin-bottom: 16px;
}

.ea-list {
    list-style: none;
}

.ea-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    color: var(--slate-700);
    font-weight: 500;
}

.ea-list li i {
    color: var(--emerald-500);
    font-size: 1.125rem;
}

.early-access-form-wrapper {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.early-access-form-wrapper h3 {
    margin-bottom: 8px;
}

.ea-form-row {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.ea-form-row .form-input {
    flex: 1;
}

.ea-status {
    margin-top: 12px;
    font-size: 0.9375rem;
}

.ea-status.success {
    color: var(--emerald-600);
}

.ea-status.error {
    color: var(--rose-500);
}

/* ---------- Final CTA ---------- */
.final-cta {
    padding: 100px 0;
    text-align: center;
    background: linear-gradient(135deg, var(--slate-900) 0%, #1a3a2a 50%, var(--slate-900) 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.final-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(16, 185, 129, 0.1) 0%, transparent 60%),
                radial-gradient(circle at 70% 50%, rgba(16, 185, 129, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.final-cta h2 {
    color: var(--white);
    position: relative;
}

.final-cta p {
    color: var(--slate-400);
    position: relative;
}

.final-cta .btn {
    position: relative;
}

.final-cta .cta-desc {
    margin: 16px 0 32px;
}

/* ---------- Footer ---------- */
footer {
    background: var(--white);
    border-top: 1px solid var(--slate-200);
    padding: 80px 0 40px;
    color: var(--slate-500);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 64px;
}

.footer-logo {
    margin-bottom: 16px;
}

.footer-brand p {
    margin-top: 16px;
    font-size: 1rem;
}

.footer-col h4 {
    color: var(--slate-900);
    margin-bottom: 24px;
    font-size: 0.9375rem;
}

.footer-col a {
    display: block;
    margin-bottom: 12px;
    transition: color 0.2s;
    font-size: 0.9375rem;
}

.footer-col a:hover {
    color: var(--emerald-600);
}

.footer-bottom {
    text-align: center;
    font-size: 0.875rem;
    color: var(--slate-400);
    padding-top: 32px;
    border-top: 1px solid var(--slate-100);
}

/* ---------- Modal ---------- */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(8px);
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: var(--white);
    padding: 48px;
    border-radius: 16px;
    width: 90%;
    max-width: 480px;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08), 0 4px 16px rgba(0, 0, 0, 0.04);
    border: 1px solid var(--slate-200);
    overflow: hidden;
    animation: modalSlide 0.3s ease-out;
}

.modal-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(135deg, var(--emerald-500), var(--emerald-700));
    border-radius: 16px 16px 0 0;
}

@keyframes modalSlide {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.close-modal {
    position: absolute;
    top: 24px;
    right: 24px;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--slate-400);
    transition: color 0.2s;
    background: none;
    border: none;
}

.close-modal:hover {
    color: var(--slate-800);
}

.modal-header-block {
    text-align: center;
    margin-bottom: 20px;
}

.modal-subtitle {
    color: var(--slate-500);
    font-size: 0.9375rem;
    margin-top: 8px;
}

.modal-footer-text {
    text-align: center;
    margin-top: 24px;
    font-size: 0.875rem;
}

.modal-signin-link {
    color: var(--emerald-600);
    font-weight: 600;
}

/* ---------- Forms ---------- */
.form-group {
    margin-bottom: 16px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--slate-800);
    font-size: 0.875rem;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--slate-200);
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.2s;
    font-family: inherit;
    color: var(--slate-800);
    background: var(--white);
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--emerald-500);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

/* ---------- Contact Form Status ---------- */
.contact-status {
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 0.9375rem;
    margin-bottom: 20px;
    display: none;
}

.contact-status-success,
.contact-status-error {
    display: block;
}

.contact-status-success {
    background-color: #d1fae5;
    color: #065f46;
    border: 1px solid #10b981;
}

.contact-status-error {
    background-color: #fee2e2;
    color: #991b1b;
    border: 1px solid #ef4444;
}

/* ---------- Form Row (side-by-side fields) ---------- */
.form-row {
    display: flex;
    gap: 12px;
}

.form-row .form-group {
    flex: 1;
}

/* ---------- Modal Checkbox ---------- */
.modal-checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 16px;
    margin-top: 4px;
}

.modal-checkbox-group input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin-top: 2px;
    accent-color: var(--emerald-500);
    cursor: pointer;
    flex-shrink: 0;
}

.modal-checkbox-group label {
    font-size: 0.8125rem;
    color: var(--slate-500);
    line-height: 1.4;
    cursor: pointer;
}

.modal-checkbox-group a {
    color: var(--emerald-500);
    text-decoration: none;
    font-weight: 600;
}

.modal-checkbox-group a:hover {
    color: var(--emerald-600);
    text-decoration: underline;
}

/* ---------- Modal Submit Button ---------- */
.modal-submit-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px 24px;
    background: var(--emerald-500);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25);
    font-family: inherit;
}

.modal-submit-btn:hover {
    background: var(--emerald-600);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(16, 185, 129, 0.35);
}

.modal-submit-btn:active {
    transform: translateY(0);
}

/* ---------- Page Header (for inner pages) ---------- */
.page-header {
    padding: 176px 0 60px;
    background: linear-gradient(to bottom, var(--slate-50), var(--white));
    text-align: center;
}

.page-header h1 {
    font-size: 2.75rem;
    margin-bottom: 16px;
}

.page-header p {
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ---------- Content Sections (for inner pages) ---------- */
.content-section {
    padding: 80px 0;
}

.content-section.alt {
    background: var(--slate-50);
}

.prose {
    max-width: 800px;
    margin: 0 auto;
}

.prose h2 {
    font-size: 1.75rem;
    margin: 48px 0 16px;
}

.prose h2:first-child {
    margin-top: 0;
}

.prose h3 {
    font-size: 1.25rem;
    margin: 32px 0 12px;
}

.prose p {
    margin-bottom: 16px;
    line-height: 1.8;
    font-size: 1.0625rem;
}

.prose ul, .prose ol {
    margin-bottom: 16px;
    padding-left: 24px;
}

.prose li {
    color: var(--slate-500);
    font-size: 1.0625rem;
    margin-bottom: 8px;
    line-height: 1.7;
}

.prose a {
    color: var(--emerald-600);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.prose a:hover {
    color: var(--emerald-700);
}

.prose strong {
    color: var(--slate-700);
}

.last-updated {
    font-size: 0.875rem;
    color: var(--slate-400);
    margin-bottom: 32px;
    display: block;
}

/* ---------- About page specifics ---------- */
.values-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin: 48px 0;
}

.value-card {
    padding: 32px;
    border-radius: 16px;
    background: var(--white);
    border: 1px solid var(--slate-100);
}

.value-card .icon-box {
    margin-bottom: 16px;
}

.value-card h3 {
    margin-bottom: 8px;
    font-size: 1.125rem;
}

.value-card p {
    font-size: 1rem;
}

/* ---------- Contact page specifics ---------- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-info-card {
    display: flex;
    gap: 16px;
    padding: 24px 0;
    border-bottom: 1px solid var(--slate-100);
}

.contact-info-card:last-child {
    border-bottom: none;
}

.contact-info-card .icon-box {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    margin-bottom: 0;
}

.contact-info-card h4 {
    margin-bottom: 4px;
    font-size: 1rem;
}

.contact-info-card p {
    font-size: 0.9375rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
}

@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 1.75rem; }

    .hero-grid,
    .grid-3,
    .step-row,
    .stats-grid,
    .testimonial-grid,
    .early-access-grid,
    .values-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .ea-form-row {
        flex-direction: column;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        padding: 100px 32px 40px;
        box-shadow: var(--shadow-xl);
        transition: right 0.3s ease;
        gap: 0;
    }

    .nav-links.open {
        right: 0;
    }

    .nav-links a {
        padding: 16px 0;
        border-bottom: 1px solid var(--slate-100);
        width: 100%;
    }

    .nav-links .btn {
        margin-top: 16px;
        border-bottom: none;
    }

    .nav-toggle {
        display: flex;
    }

    .step-row::after { display: none; }

    .hero {
        padding-top: 156px;
        padding-bottom: 60px;
    }

    .page-header {
        padding: 156px 0 40px;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .pricing-card {
        padding: 32px;
    }

    .modal-content {
        padding: 32px;
    }

    .modal-submit-btn {
        padding: 12px 20px;
        font-size: 0.9375rem;
    }
}

@media (max-width: 480px) {
    .modal-content {
        width: 100%;
        height: 100%;
        max-width: none;
        max-height: none;
        border-radius: 0;
        padding: 24px;
        animation: modalSlideUp 0.3s ease-out;
    }

    @keyframes modalSlideUp {
        from { transform: translateY(100%); opacity: 1; }
        to { transform: translateY(0); opacity: 1; }
    }

    .modal-header-block h3 {
        font-size: 1.25rem;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }
}
