@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');

/* ──────────────────────────────────────────────
   CSS CUSTOM PROPERTIES
   ────────────────────────────────────────────── */
:root {
    --primary: #0d9488;
    --primary-dark: #0f766e;
    --primary-light: #14b8a6;
    --accent: #0284c7;
    --dark-bg: #0f172a;
    --dark-card: #1e293b;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --gradient-hero: linear-gradient(135deg, #0f172a 0%, #1e1b4b 50%, #0f766e 100%);
    --gradient-card: linear-gradient(145deg, rgba(30, 41, 59, 0.8) 0%, rgba(15, 23, 42, 0.9) 100%);
    --nav-height: 70px;
    --strip-height: auto;
}

/* ──────────────────────────────────────────────
   RESET & BASE
   ────────────────────────────────────────────── */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

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

img, video, iframe {
    max-width: 100%;
    height: auto;
    display: block;
}

svg:not(.svg-inline--fa) {
    max-width: 100%;
    height: auto;
}

.svg-inline--fa {
    display: inline-block;
    height: 1em;
    overflow: visible;
    vertical-align: -0.125em;
}

/* Spacing Utilities */
.mr-1 { margin-right: 0.45rem !important; }
.mr-2 { margin-right: 0.65rem !important; }
.mr-3 { margin-right: 1rem !important; }
.mr-4 { margin-right: 1.5rem !important; }
.ml-1 { margin-left: 0.45rem !important; }
.ml-2 { margin-left: 0.65rem !important; }
.ml-3 { margin-left: 1rem !important; }
.ml-4 { margin-left: 1.5rem !important; }
.mb-1 { margin-bottom: 0.25rem !important; }
.mb-2 { margin-bottom: 0.5rem !important; }
.mb-3 { margin-bottom: 1rem !important; }
.mt-1 { margin-top: 0.25rem !important; }
.mt-2 { margin-top: 0.5rem !important; }
.mt-3 { margin-top: 1rem !important; }
.gap-1 { gap: 0.25rem !important; }
.gap-2 { gap: 0.5rem !important; }
.gap-3 { gap: 1rem !important; }

h1, h2, h3, h4, h5, h6, .font-heading {
    font-family: 'Outfit', sans-serif;
    line-height: 1.2;
}

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

/* ──────────────────────────────────────────────
   TOP SUPPORT STRIP  ← FIXED FOR MOBILE
   ────────────────────────────────────────────── */
.top-support-strip {
    width: 100%;
    position: relative;
    z-index: 1001;
}

.top-support-strip > div {
    max-width: 1280px;
    width: 100%;
    margin: 0 auto;
    padding: 7px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
}

.top-support-strip .support-left {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 12px;
    flex-shrink: 0;
}

.top-support-strip .support-right {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.top-support-strip .support-right a {
    font-size: 12px;
    white-space: nowrap;
}

/* On very small screens: stack the strip */
@media (max-width: 480px) {
    .top-support-strip > div {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
        padding: 8px 14px;
    }

    .top-support-strip .support-left {
        font-size: 11px;
    }

    .top-support-strip .support-right {
        gap: 8px;
        font-size: 11px;
    }

    /* Hide "24/7 Customer Support" text on very small screens, keep icon */
    .top-support-strip .support-left .strip-label {
        display: none;
    }
}

/* ──────────────────────────────────────────────
   NAVBAR
   ────────────────────────────────────────────── */
.landing-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(15, 23, 42, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 14px 0;
    transition: padding 0.3s ease, box-shadow 0.3s ease;
}

.nav-container {
    max-width: 1280px;
    width: 100%;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    position: relative;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    flex-shrink: 0;
    z-index: 2;
}

.brand-logo img {
    max-height: 40px;
    width: auto;
    object-fit: contain;
}

.brand-icon {
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
    box-shadow: 0 4px 14px rgba(13, 148, 136, 0.4);
    flex-shrink: 0;
}

/* Desktop nav links */
.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
    list-style: none;
    flex: 1;
    justify-content: center;
}

.nav-link-item {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 14.5px;
    transition: color 0.2s ease;
    white-space: nowrap;
}

.nav-link-item:hover,
.nav-link-item.active {
    color: var(--primary-light);
}

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

/* Mobile hamburger toggle */
.mobile-nav-toggle {
    display: none;
    background: transparent;
    border: 1.5px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    font-size: 18px;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    flex-shrink: 0;
    z-index: 2;
}

.mobile-nav-toggle:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary-light);
}

/* Mobile-only actions inside the dropdown */
.mobile-only-actions {
    display: none;
    width: 100%;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* ──────────────────────────────────────────────
   BUTTONS
   ────────────────────────────────────────────── */
.btn-landing-primary {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff;
    padding: 11px 24px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14.5px;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(13, 148, 136, 0.4);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    white-space: nowrap;
}

.btn-landing-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(13, 148, 136, 0.6);
    color: #fff;
}

.btn-landing-outline {
    background: transparent;
    color: #fff;
    padding: 11px 24px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14.5px;
    border: 1.5px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    white-space: nowrap;
}

.btn-landing-outline:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary-light);
    color: #fff;
}

/* ──────────────────────────────────────────────
   HERO SECTION
   ────────────────────────────────────────────── */
.hero-section {
    padding: clamp(110px, 14vw, 160px) 0 clamp(50px, 7vw, 80px);
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
}

.hero-glow {
    position: absolute;
    top: 25%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: min(650px, 90vw);
    height: min(650px, 90vw);
    background: radial-gradient(circle, rgba(13, 148, 136, 0.28) 0%, rgba(0,0,0,0) 70%);
    pointer-events: none;
}

.hero-container {
    max-width: 1280px;
    width: 100%;
    margin: 0 auto;
    padding: 0 24px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(13, 148, 136, 0.18);
    border: 1px solid rgba(45, 212, 191, 0.4);
    padding: 6px 18px;
    border-radius: 30px;
    color: var(--primary-light);
    font-size: clamp(12px, 1.8vw, 13.5px);
    font-weight: 600;
    margin-bottom: 20px;
    box-shadow: 0 0 20px rgba(13, 148, 136, 0.2);
}

.hero-title {
    font-size: clamp(28px, 5.5vw, 54px);
    font-weight: 800;
    line-height: 1.16;
    margin-bottom: 18px;
    max-width: 920px;
    margin-left: auto;
    margin-right: auto;
    background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 50%, #2dd4bf 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    word-break: break-word;
}

.hero-subtitle {
    font-size: clamp(14px, 2vw, 17.5px);
    color: #94a3b8;
    max-width: 720px;
    margin: 0 auto 32px;
    font-weight: 400;
    line-height: 1.65;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-bottom: 44px;
    flex-wrap: wrap;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 860px;
    margin: 0 auto;
    background: rgba(30, 41, 59, 0.55);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 22px 20px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.3);
}

.stat-item {
    text-align: center;
    padding: 0 8px;
}

.stat-item h3 {
    font-size: clamp(24px, 4.5vw, 34px);
    font-weight: 800;
    color: var(--primary-light);
    line-height: 1.1;
}

.stat-item p {
    color: #94a3b8;
    font-size: clamp(11.5px, 1.4vw, 13.5px);
    margin-top: 5px;
    line-height: 1.4;
}

/* ──────────────────────────────────────────────
   SECTION COMMONS
   ────────────────────────────────────────────── */
.section-padding {
    padding: clamp(50px, 8vw, 84px) 0;
}

.section-container {
    max-width: 1280px;
    width: 100%;
    margin: 0 auto;
    padding: 0 24px;
}

.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto clamp(32px, 5vw, 52px);
}

.section-tag {
    color: var(--primary-light);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-bottom: 10px;
    display: inline-block;
    background: rgba(13, 148, 136, 0.12);
    border: 1px solid rgba(45, 212, 191, 0.25);
    padding: 4px 12px;
    border-radius: 20px;
}

.section-title {
    font-size: clamp(24px, 4.5vw, 38px);
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.2;
    color: #ffffff;
}

.section-desc {
    color: #94a3b8;
    font-size: clamp(14px, 1.8vw, 16px);
    line-height: 1.6;
}

/* ──────────────────────────────────────────────
   FEATURES GRID
   ────────────────────────────────────────────── */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    background: var(--gradient-card);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 28px 24px;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(45, 212, 191, 0.4);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: rgba(13, 148, 136, 0.15);
    border: 1px solid rgba(45, 212, 191, 0.25);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--primary-light);
    margin-bottom: 18px;
    flex-shrink: 0;
}

.feature-card h3 {
    font-size: 19px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 10px;
    line-height: 1.3;
}

.feature-card p {
    color: #94a3b8;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

/* ──────────────────────────────────────────────
   PRICING GRID
   ────────────────────────────────────────────── */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 28px;
    max-width: 900px;
    margin: 0 auto;
    align-items: stretch;
}

.pricing-card {
    background: var(--gradient-card);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 22px;
    padding: 32px 28px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s ease;
}

.pricing-card.featured {
    border-color: rgba(45, 212, 191, 0.6);
    box-shadow: 0 16px 40px rgba(13, 148, 136, 0.25);
    background: linear-gradient(145deg, rgba(30, 41, 59, 0.9) 0%, rgba(13, 148, 136, 0.15) 100%);
}

.featured-badge {
    position: absolute;
    top: -12px;
    right: 22px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 14px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(13, 148, 136, 0.4);
}

.plan-name {
    font-size: 21px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 6px;
}

.plan-desc {
    color: #94a3b8;
    font-size: 13.5px;
    margin-bottom: 18px;
    line-height: 1.5;
}

.plan-price {
    margin-bottom: 20px;
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.plan-price .amount {
    font-size: 38px;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}

.plan-price .cycle {
    color: #94a3b8;
    font-size: 14.5px;
}

.plan-features {
    list-style: none;
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.plan-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #cbd5e1;
    font-size: 14px;
    line-height: 1.4;
}

.plan-features li i {
    color: #2dd4bf;
    flex-shrink: 0;
}

/* ──────────────────────────────────────────────
   DEMO SANDBOX
   ────────────────────────────────────────────── */
.demo-sandbox {
    background: rgba(30, 41, 59, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: clamp(28px, 4vw, 44px) clamp(20px, 4vw, 36px);
    text-align: center;
    box-shadow: 0 16px 36px rgba(0,0,0,0.3);
}

.demo-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 24px;
}

/* ──────────────────────────────────────────────
   FOOTER (global reset — scoped styles below)
   ────────────────────────────────────────────── */
.landing-footer {
    background: #0b1120;
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: clamp(40px, 7vw, 60px) 0 28px;
    color: #94a3b8;
    font-size: 14px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ──────────────────────────────────────────────
   FOOTER: APP DOWNLOADS CARD
   ────────────────────────────────────────────── */
.apps-download-card {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(13, 148, 136, 0.2) 100%);
    border: 1px solid rgba(20, 184, 166, 0.35);
    border-radius: 16px;
    padding: clamp(20px, 4vw, 32px);
    margin-bottom: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.apps-download-info {
    max-width: 520px;
    flex: 1 1 auto;
}

.apps-download-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(20, 184, 166, 0.2);
    color: #2dd4bf;
    border: 1px solid rgba(45, 212, 191, 0.35);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

.apps-download-title {
    color: #ffffff;
    font-size: clamp(16px, 3vw, 22px);
    font-weight: 700;
    margin-bottom: 6px;
    font-family: 'Outfit', sans-serif;
    line-height: 1.3;
}

.apps-download-desc {
    color: #94a3b8;
    font-size: 13.5px;
    line-height: 1.5;
    margin: 0;
}

.apps-download-buttons {
    display: grid;
    grid-template-columns: repeat(2, minmax(180px, 1fr));
    align-items: center;
    gap: 12px;
    flex: 1 1 auto;
    max-width: 480px;
}

.app-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #0f172a;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    padding: 10px 16px;
    text-decoration: none;
    color: #ffffff;
    transition: all 0.25s ease;
    min-width: 160px;
    min-height: 54px;
}

.app-btn:hover {
    border-color: #2dd4bf;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.4);
    color: #ffffff;
}

.app-btn-sub {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #94a3b8;
    line-height: 1.2;
}

.app-btn-title {
    font-size: 13.5px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.3;
}

.app-btn-ver {
    font-size: 10px;
    font-weight: 600;
    line-height: 1.2;
}

/* ──────────────────────────────────────────────
   FOOTER: GRID COLUMNS
   ────────────────────────────────────────────── */
.footer-main-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.3fr 1.3fr;
    gap: 36px;
    padding-bottom: 36px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-col-title {
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    margin-bottom: 14px;
    font-family: 'Outfit', sans-serif;
}

.footer-link-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.footer-link {
    color: #94a3b8;
    text-decoration: none;
    font-size: 13.5px;
    transition: color 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    line-height: 1.4;
}

.footer-link:hover {
    color: #2dd4bf;
}

.footer-social-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    text-decoration: none;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.footer-social-btn:hover {
    border-color: #2dd4bf;
    color: #2dd4bf;
    transform: translateY(-2px);
}

.footer-bottom-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    padding-top: 20px;
    font-size: 12.5px;
}

/* ──────────────────────────────────────────────
   RESPONSIVE: ≤ 1024px  (Tablet / Small Desktop)
   ────────────────────────────────────────────── */
@media (max-width: 1024px) {
    /* Show hamburger, hide desktop nav items */
    .mobile-nav-toggle {
        display: flex;
    }

    .nav-actions {
        display: none;
    }

    /* Mobile-only actions shown inside dropdown */
    .mobile-only-actions {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    /* Nav links become a dropdown drawer */
    .nav-links {
        position: absolute;
        top: calc(100% + 1px);
        left: 0;
        right: 0;
        background: rgba(12, 20, 40, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        flex-direction: column;
        align-items: stretch;
        padding: 20px 20px 24px;
        gap: 4px;
        display: none;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    }

    .nav-links li {
        width: 100%;
    }

    .nav-link-item {
        display: block;
        padding: 10px 0;
        border-bottom: 1px solid rgba(255,255,255,0.05);
        font-size: 15px;
    }

    .nav-links.active {
        display: flex;
        animation: fadeInDown 0.25s ease forwards;
    }

    @keyframes fadeInDown {
        from { opacity: 0; transform: translateY(-8px); }
        to   { opacity: 1; transform: translateY(0); }
    }

    /* Footer grid → 2 columns */
    .footer-main-grid {
        grid-template-columns: 1fr 1fr;
        gap: 28px;
    }

    .apps-download-card {
        flex-direction: column;
        align-items: stretch;
        gap: 20px;
        padding: 24px 20px;
    }

    .apps-download-info {
        width: 100%;
        max-width: 100%;
        flex: none;
    }

    .apps-download-buttons {
        width: 100%;
        max-width: 100%;
        flex: none;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}

/* ──────────────────────────────────────────────
   RESPONSIVE: ≤ 768px  (Mobile Large / Phablet)
   ────────────────────────────────────────────── */
@media (max-width: 768px) {

    /* Hero stats: 1 column on mid-small screens */
    .hero-stats {
        grid-template-columns: 1fr;
        padding: 18px 16px;
        gap: 12px;
    }

    .stat-item {
        padding: 10px 0;
        border-bottom: 1px solid rgba(255,255,255,0.06);
    }

    .stat-item:last-child {
        border-bottom: none;
    }

    /* Hero actions: full-width buttons */
    .hero-actions {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .hero-actions .btn-landing-primary,
    .hero-actions .btn-landing-outline {
        width: 100%;
        max-width: 340px;
        justify-content: center;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Demo buttons: full-width */
    .demo-buttons {
        flex-direction: column;
        align-items: center;
    }

    .demo-buttons .btn-landing-primary,
    .demo-buttons .btn-landing-outline {
        width: 100%;
        max-width: 360px;
        justify-content: center;
    }

    /* App download card on mobile */
    .apps-download-card {
        padding: 20px 16px;
        gap: 16px;
        margin-bottom: 28px;
    }

    .apps-download-info {
        width: 100%;
        max-width: 100%;
        flex: none;
        text-align: center;
    }

    .apps-download-title {
        font-size: 18px;
        text-align: center;
    }

    .apps-download-desc {
        font-size: 13px;
        text-align: center;
        margin-bottom: 0;
    }

    .apps-download-badge {
        margin: 0 auto 10px;
        display: table;
    }

    /* App download buttons → full width */
    .apps-download-buttons {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .app-btn {
        width: 100%;
        min-width: 0;
    }
}

/* ──────────────────────────────────────────────
   RESPONSIVE: ≤ 480px  (Mobile Small)
   ────────────────────────────────────────────── */
@media (max-width: 480px) {
    /* Smaller nav padding */
    .nav-container {
        padding: 0 14px;
    }

    .brand-logo {
        font-size: 17px;
    }

    .brand-icon {
        width: 34px;
        height: 34px;
        font-size: 16px;
    }

    /* Card & demo sandbox padding */
    .feature-card,
    .pricing-card,
    .demo-sandbox {
        padding: 20px 16px;
    }

    .features-grid,
    .pricing-grid {
        gap: 16px;
    }

    /* Stats → single column with dividers */
    .hero-stats {
        grid-template-columns: 1fr;
        padding: 16px 14px;
    }

    /* Reduce section top/bottom padding */
    .section-padding {
        padding: 48px 0;
    }

    /* Pricing featured badge positioning */
    .featured-badge {
        right: 16px;
    }

    /* Footer columns: tighten */
    .footer-link-list {
        gap: 8px;
    }

    /* Footer bottom SSL/HIPAA badges → wrap */
    .footer-bottom-bar > div:last-child {
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
    }
}

/* ──────────────────────────────────────────────
   RESPONSIVE: ≤ 360px  (Very Small Phones)
   ────────────────────────────────────────────── */
@media (max-width: 360px) {
    .hero-title {
        font-size: 25px;
    }

    .hero-subtitle {
        font-size: 13px;
    }

    .btn-landing-primary,
    .btn-landing-outline {
        font-size: 13px;
        padding: 10px 18px;
    }

    .section-title {
        font-size: 20px;
    }
}

/* ──────────────────────────────────────────────
   UTILITIES & MISC
   ────────────────────────────────────────────── */
.mt-5 {
    margin-top: 2rem;
}

.text-center {
    text-align: center;
}

/* Smooth scroll offset for fixed header */
[id] {
    scroll-margin-top: 90px;
}

/* Touch highlight removal */
a, button {
    -webkit-tap-highlight-color: transparent;
}

/* Prevent text overflow on small screens */
h1, h2, h3, h4 {
    word-break: break-word;
    overflow-wrap: break-word;
}

p, li {
    overflow-wrap: break-word;
}

/* ──────────────────────────────────────────────
   CONTACT PAGE — FORM & GRID RESPONSIVE
   ────────────────────────────────────────────── */
/* Contact grid auto-collapses via auto-fit, but override padding on small screens */
@media (max-width: 640px) {
    /* Contact page cards */
    [style*="grid-template-columns: repeat(auto-fit, minmax(320px"] {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    /* Inner cards padding */
    [style*="padding: 40px;"][style*="border-radius: 24px"] {
        padding: 20px !important;
    }

    /* Form inputs */
    input[type="text"],
    input[type="email"],
    textarea,
    select {
        font-size: 16px !important; /* prevent iOS zoom */
    }
}

/* ──────────────────────────────────────────────
   PRICING PAGE — FAQ CARDS
   ────────────────────────────────────────────── */
@media (max-width: 640px) {
    /* FAQ card padding */
    [style*="background: rgba(30, 41, 59, 0.6)"][style*="padding: 24px"] {
        padding: 16px !important;
    }

    /* pricing mb-5 */
    .pricing-grid.mb-5 {
        margin-bottom: 40px;
    }
}

/* ──────────────────────────────────────────────
   HERO SECTION — PAGE PADDING CLAMP
   ────────────────────────────────────────────── */
/* Sub-page hero sections use inline padding: 140px 0 60px
   On mobile we want less top padding */
@media (max-width: 640px) {
    .hero-section {
        padding-top: clamp(100px, 25vw, 150px) !important;
        padding-bottom: clamp(40px, 8vw, 70px) !important;
    }
}

/* ──────────────────────────────────────────────
   ABOUT PAGE — general list / text blocks
   ────────────────────────────────────────────── */
@media (max-width: 480px) {
    .section-header {
        padding: 0 4px;
    }
}

/* ──────────────────────────────────────────────
   PREVENT HORIZONTAL SCROLL GLOBALLY
   ────────────────────────────────────────────── */
html, body {
    overflow-x: hidden;
    max-width: 100vw;
}
