/* ============ DESIGN SYSTEM ============ */
:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-glow: rgba(37, 99, 235, 0.18);
    --dark: #0f172a;
    --dark2: #1e293b;
    --light-bg: #f8fafc;
    --soft: #eef4ff;
    --muted: #64748b;
    --card-radius: 20px;
    --accent: #06b6d4;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
}

* {
    box-sizing: border-box;
}

body {
    font-family:
        -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial,
        sans-serif;
    background: var(--light-bg);
    color: #1e293b;
    margin: 0;
}

h1,
h2,
h3,
h4,
.brand-title,
.section-title {
    font-family:
        -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial,
        sans-serif;
}

/* ============ TOPBAR ============ */
.topbar {
    background: var(--dark);
    color: white;
    font-size: 13px;
}

.topbar a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: color 0.2s;
}

.topbar a:hover {
    color: white;
}

/* ============ NAVBAR ============ */
.navbar {
    background: white;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
}

.brand-title {
    font-size: 26px;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.brand-subtitle {
    font-size: 11px;
    color: #94a3b8;
    margin: 0;
    letter-spacing: 0.5px;
}

.nav-link {
    font-weight: 500;
    color: #374151 !important;
    font-size: 14px;
    border-radius: 8px;
    transition: all 0.2s;
}

.nav-link:hover {
    color: var(--primary) !important;
    background: var(--soft);
}

/* Profile avatar */
.profile-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 15px;
    flex-shrink: 0;
}

.profile-dropdown {
    min-width: 240px;
    border-radius: 16px !important;
    overflow: hidden;
}

.profile-dropdown .dropdown-item {
    font-size: 14px;
    border-radius: 8px;
    margin: 2px 6px;
    padding: 8px 12px !important;
    width: calc(100% - 12px);
    transition: background 0.15s;
}

.profile-dropdown .dropdown-item:hover {
    background: var(--soft);
}

/* ============ HERO ============ */
.hero {
    background: linear-gradient(140deg, #06142e 0%, #0f3d91 60%, #0c2461 100%);
    color: white;
    padding: 96px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.025'%3E%3Cpath d='M50 50c0-5.523 4.477-10 10-10s10 4.477 10 10-4.477 10-10 10c0 5.523-4.477 10-10 10s-10-4.477-10-10 4.477-10 10-10zM10 10c0-5.523 4.477-10 10-10s10 4.477 10 10-4.477 10-10 10c0 5.523-4.477 10-10 10S0 25.523 0 20s4.477-10 10-10z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero::after {
    content: "";
    position: absolute;
    width: 500px;
    height: 500px;
    right: -100px;
    top: -100px;
    background: radial-gradient(circle,
            rgba(6, 182, 212, 0.12) 0%,
            transparent 70%);
    border-radius: 50%;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #7dd3fc;
    margin-bottom: 18px;
    background: rgba(125, 211, 252, 0.1);
    border: 1px solid rgba(125, 211, 252, 0.2);
    padding: 6px 16px;
    border-radius: 40px;
}

.hero h1 {
    font-size: 54px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 22px;
}

.hero h1 span {
    color: #7dd3fc;
}

.hero p {
    font-size: 18px;
    color: #cbd5e1;
    max-width: 520px;
    line-height: 1.7;
    margin-bottom: 36px;
}

.hero-cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 36px;
}

.btn-hero-primary {
    background: white;
    color: var(--primary);
    font-weight: 700;
    padding: 14px 28px;
    border-radius: 12px;
    border: none;
    text-decoration: none;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.25s;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.btn-hero-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
    color: var(--primary-dark);
}

.btn-hero-outline {
    background: transparent;
    color: white;
    font-weight: 600;
    padding: 14px 28px;
    border-radius: 12px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    text-decoration: none;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.25s;
}

.btn-hero-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.6);
    color: white;
}

/* Hero trust badges */
.hero-trust {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #94a3b8;
}

.hero-trust-item i {
    color: #10b981;
    font-size: 16px;
}

/* Dashboard Card */
.glass-wrap {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 28px;
    padding: 20px;
    backdrop-filter: blur(12px);
}

.dashboard-card {
    background: white;
    border-radius: 20px;
    padding: 28px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.stat-box {
    border-radius: 14px;
    padding: 16px;
    position: relative;
    overflow: hidden;
}

.stat-box::after {
    content: "";
    position: absolute;
    right: -10px;
    top: -10px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
}

.stat-box small {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.7;
}

.stat-box h3 {
    font-family: inherit;
    font-size: 28px;
    font-weight: 800;
    margin: 4px 0 0;
}

.analytics-box {
    background: #f8fafc;
    border-radius: 16px;
    padding: 18px;
    margin-top: 16px;
}

.bar-area {
    height: 100px;
    display: flex;
    align-items: flex-end;
    gap: 8px;
}

.bar {
    flex: 1;
    border-radius: 8px 8px 0 0;
    background: linear-gradient(180deg, #60a5fa, var(--primary));
    transition: height 0.3s ease;
    position: relative;
}

.bar:hover {
    opacity: 0.85;
    cursor: pointer;
}

.compliance-score {
    background: linear-gradient(135deg, #10b981, #059669);
    border-radius: 14px;
    padding: 14px;
    color: white;
    margin-top: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.score-badge {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    padding: 4px 14px;
    font-size: 22px;
    font-weight: 800;
    font-family: inherit;
}

/* ============ SECTIONS ============ */
.section {
    padding: 90px 0;
}

.section-eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--primary);
    background: var(--soft);
    padding: 6px 16px;
    border-radius: 40px;
    margin-bottom: 14px;
}

.section-title {
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 14px;
    line-height: 1.15;
}

.section-desc {
    color: var(--muted);
    max-width: 660px;
    margin: 0 auto;
    font-size: 16px;
    line-height: 1.7;
}

/* Service Cards */
.custom-card {
    border: 1px solid #e2e8f0;
    border-radius: var(--card-radius);
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05);
    transition: all 0.3s;
}

.custom-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(37, 99, 235, 0.12);
    border-color: #bfdbfe;
}

.service-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: var(--soft);
    color: var(--primary);
    font-size: 24px;
}

/* Pricing */
.pricing-card {
    border: 2px solid #e2e8f0;
    transition: all 0.3s;
}

.pricing-card:hover {
    border-color: #bfdbfe;
    box-shadow: 0 16px 40px rgba(37, 99, 235, 0.1);
}

.pricing-card.featured {
    background: linear-gradient(160deg, #ffffff, #eff6ff);
    border-color: var(--primary);
    position: relative;
}

.pricing-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 20px;
    border-radius: 40px;
    white-space: nowrap;
}

.pricing-price {
    font-family: inherit;
    font-size: 42px;
    font-weight: 800;
    color: var(--primary);
}

.pricing-price sup {
    font-size: 20px;
    top: -12px;
    position: relative;
}

.pricing-price span {
    font-size: 16px;
    color: var(--muted);
    font-weight: 400;
    font-family: inherit;
}

.pricing-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    font-size: 14px;
    border-bottom: 1px solid #f1f5f9;
}

.pricing-feature i {
    color: var(--success);
    font-size: 15px;
}

.pricing-feature.disabled i {
    color: #cbd5e1;
}

.pricing-feature.disabled span {
    color: #cbd5e1;
    text-decoration: line-through;
}

/* Coverage */
.coverage-card {
    border-radius: 18px;
    border: 1px solid #e2e8f0;
    padding: 28px;
    background: white;
    transition: all 0.3s;
    height: 100%;
}

.coverage-card:hover {
    border-color: var(--primary);
    box-shadow: 0 12px 32px rgba(37, 99, 235, 0.1);
    transform: translateY(-3px);
}

.coverage-num {
    font-family: inherit;
    font-size: 36px;
    font-weight: 800;
    color: #e2e8f0;
    line-height: 1;
    margin-bottom: 8px;
}

/* Why Us */
.feature-item {
    display: flex;
    align-items: center;
    gap: 14px;
    background: white;
    padding: 16px 20px;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
    font-weight: 500;
    transition: all 0.25s;
}

.feature-item:hover {
    border-color: #bfdbfe;
    background: var(--soft);
}

.feature-item i {
    font-size: 20px;
    color: var(--primary);
    flex-shrink: 0;
}

/* Reviews */
.review-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    flex-shrink: 0;
}

.stars {
    color: #f59e0b;
    font-size: 14px;
    letter-spacing: 1px;
}

.review-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(37, 99, 235, 0.1) !important;
}

/* ============ FOOTER STYLES ============ */
.footer-main {
    background: var(--dark);
    color: #cbd5e1;
}

.footer-brand-title {
    font-family: inherit;
    font-size: 28px;
    font-weight: 800;
    color: white;
    line-height: 1;
}

.footer-brand-sub {
    font-size: 12px;
    color: #64748b;
    margin-top: 2px;
}

.footer-tagline {
    color: #94a3b8;
    line-height: 1.7;
}

.footer-contact-items {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #94a3b8;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

.footer-contact-item:hover {
    color: white;
}

.footer-contact-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    color: #60a5fa;
    flex-shrink: 0;
}

.footer-socials {
    display: flex;
    gap: 10px;
}

.footer-social-btn {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.2s;
}

.footer-social-btn:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

/* Footer Form Card */
.footer-form-card {
    background: white;
    border-radius: 22px;
    padding: 36px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    color: #1e293b;
}

.form-group-custom {
    margin-bottom: 0;
}

.form-label-custom {
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 6px;
    display: block;
}

.input-wrap {
    position: relative;
}

.input-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 15px;
    pointer-events: none;
    z-index: 2;
}

textarea~.input-icon,
.form-textarea-custom {}

/* no icon centering needed for textarea */
.form-input-custom {
    width: 100%;
    padding: 11px 14px 11px 40px;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    font-family: inherit;
    font-size: 14px;
    color: #1e293b;
    background: #f8fafc;
    transition:
        border-color 0.2s,
        box-shadow 0.2s;
    outline: none;
    appearance: none;
}

.form-input-custom:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
    background: white;
}

.form-input-custom.input-error {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.08);
}

.form-input-custom.input-ok {
    border-color: #10b981;
}

.form-textarea-custom {
    padding: 12px 14px;
    resize: vertical;
    min-height: 100px;
}

.form-select-custom {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2394a3b8' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
}

.field-error {
    font-size: 12px;
    color: #ef4444;
    margin-top: 4px;
    display: none;
}

.field-error.visible {
    display: block;
}

.char-count {
    font-size: 11px;
    color: #94a3b8;
    margin-top: 4px;
    flex-shrink: 0;
}

.alert-success-custom {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    border-radius: 14px;
    padding: 18px 22px;
    color: #065f46;
    font-weight: 600;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

.btn-submit-custom {
    width: 100%;
    padding: 14px;
    border-radius: 12px;
    border: none;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.25s;
    font-family: inherit;
}

.btn-submit-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.35);
}

.btn-submit-custom:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* Footer bottom */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-bottom {
    color: #64748b;
    font-size: 13px;
}

.footer-links a {
    color: #64748b;
    text-decoration: none;
    font-size: 13px;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #94a3b8;
}

.logo-badge {
    height: 44px;
    background: white;
    border-radius: 12px;
    padding: 6px 12px;
    object-fit: contain;
}

.membership-strip {
    background: #020617;
}

.membership-logo {
    height: 52px;
    background: white;
    border-radius: 12px;
    padding: 6px 14px;
    object-fit: contain;
}

.letter-spacing-1 {
    letter-spacing: 1.5px;
}

/* ============ AI CHATBOT ============ */
.chat-launcher {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 1060;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
    pointer-events: none;
}

.chat-bubble-btn {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), #1e40af);
    border: none;
    color: white;
    font-size: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 8px 28px rgba(37, 99, 235, 0.4);
    transition: all 0.25s;
    position: relative;
    pointer-events: auto;
}

.chat-bubble-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 12px 36px rgba(37, 99, 235, 0.5);
}

.chat-bubble-btn .chat-ping {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #10b981;
    border: 2px solid white;
    animation: ping 1.5s ease-in-out infinite;
}

@keyframes ping {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.3);
        opacity: 0.7;
    }
}

.chat-window {
    width: 360px;
    max-height: 520px;
    background: white;
    border-radius: 24px;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.18);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: scale(0.85) translateY(20px);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.chat-window.open {
    transform: scale(1) translateY(0);
    opacity: 1;
    pointer-events: all;
}

.chat-header {
    background: linear-gradient(135deg, var(--primary), #1e40af);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: white;
}

.chat-header-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.chat-header-info strong {
    display: block;
    font-size: 15px;
    font-weight: 700;
}

.chat-header-info small {
    font-size: 12px;
    opacity: 0.8;
}

.chat-header-status {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    display: inline-block;
    margin-right: 6px;
}

.chat-close {
    margin-left: auto;
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.2s;
    padding: 0;
}

.chat-close:hover {
    opacity: 1;
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: #f8fafc;
}

.chat-messages::-webkit-scrollbar {
    width: 4px;
}

.chat-messages::-webkit-scrollbar-track {
    background: transparent;
}

.chat-messages::-webkit-scrollbar-thumb {
    background: #e2e8f0;
    border-radius: 4px;
}

.msg {
    max-width: 82%;
}

.msg-bot {
    align-self: flex-start;
}

.msg-user {
    align-self: flex-end;
}

.msg-bubble {
    padding: 12px 16px;
    border-radius: 18px;
    font-size: 14px;
    line-height: 1.55;
}

.msg-bot .msg-bubble {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 4px 18px 18px 18px;
    color: #1e293b;
}

.msg-user .msg-bubble {
    background: linear-gradient(135deg, var(--primary), #1e40af);
    color: white;
    border-radius: 18px 18px 4px 18px;
}

.msg-time {
    font-size: 11px;
    color: #94a3b8;
    margin-top: 4px;
    padding: 0 4px;
}

.msg-user .msg-time {
    text-align: right;
}

.typing-indicator {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 12px 16px;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 4px 18px 18px 18px;
    width: fit-content;
}

.typing-dot {
    width: 7px;
    height: 7px;
    background: #94a3b8;
    border-radius: 50%;
    animation: typingBounce 1.4s ease-in-out infinite;
}

.typing-dot:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-dot:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typingBounce {

    0%,
    60%,
    100% {
        transform: translateY(0);
    }

    30% {
        transform: translateY(-6px);
    }
}

.chat-quick-replies {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 0 20px 12px;
    background: #f8fafc;
}

.quick-reply-btn {
    background: white;
    border: 1.5px solid #dbeafe;
    color: var(--primary);
    border-radius: 40px;
    font-size: 12px;
    font-weight: 600;
    padding: 6px 14px;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
}

.quick-reply-btn:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.chat-input-area {
    padding: 14px 16px;
    border-top: 1px solid #e2e8f0;
    display: flex;
    gap: 8px;
    background: white;
}

.chat-input {
    flex: 1;
    border: 1.5px solid #e2e8f0;
    border-radius: 50px;
    padding: 10px 18px;
    font-size: 13px;
    outline: none;
    font-family: inherit;
    transition: border-color 0.2s;
}

.chat-input:focus {
    border-color: var(--primary);
}

.chat-send-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: var(--primary);
    color: white;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.2s;
}

.chat-send-btn:hover {
    background: var(--primary-dark);
    transform: scale(1.05);
}

/* ============ UTILITY ============ */
.btn-primary {
    background: var(--primary);
    border-color: var(--primary);
    font-weight: 600;
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
}

.btn-outline-primary {
    border-color: var(--primary);
    color: var(--primary);
    font-weight: 600;
}

.btn-outline-primary:hover {
    background: var(--primary);
    color: white;
}

/* ---- Hero video ---- */
.hero-video-wrap {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35);
    border: 2px solid rgba(255, 255, 255, 0.12);
}

.hero-video-wrap iframe {
    display: block;
}

/* ---- Simple contact form ---- */
.simple-form-card {
    background: transparent;
    padding: 0;
    color: #cbd5e1;
}

.simple-form-card h4 {
    color: white;
}

.simple-input {
    display: block;
    width: 100%;
    padding: 10px 12px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    font-size: 14px;
    color: white;
    background: rgba(255, 255, 255, 0.07);
    outline: none;
    transition:
        border-color 0.2s,
        background 0.2s;
    resize: vertical;
    font-family: inherit;
}

.simple-input::placeholder {
    color: rgba(255, 255, 255, 0.35);
}

.simple-input:focus {
    border-color: #60a5fa;
    background: rgba(255, 255, 255, 0.11);
}

.simple-input.err {
    border-color: #f87171;
}

.simple-error {
    font-size: 12px;
    color: #f87171;
    margin-top: 3px;
    display: none;
}

.simple-error.show {
    display: block;
}

.simple-submit-btn {
    width: 100%;
    padding: 11px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.2s;
}

.simple-submit-btn:hover {
    background: var(--primary-dark);
}

.simple-submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.simple-success {
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.4);
    border-radius: 8px;
    padding: 12px 16px;
    color: #6ee7b7;
    font-weight: 600;
    margin-bottom: 12px;
    font-size: 14px;
}

.simple-form-card .form-check-label {
    color: #94a3b8;
}

.simple-form-card .form-check-label a {
    color: #60a5fa;
}

/* ===== TABLET (≤991px) ===== */
@media (max-width: 991px) {

    /* Hero */
    .hero {
        padding: 70px 0 60px;
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero p {
        font-size: 16px;
    }

    /* Nav */
    .navbar-collapse {
        background: white;
        border-radius: 16px;
        padding: 16px;
        margin-top: 10px;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    }

    #authButtons {
        flex-direction: row;
    }

    /* Sections */
    .section {
        padding: 70px 0;
    }

    .section-title {
        font-size: 30px;
    }

    /* Footer layout */
    .footer-main .row.g-5 {
        --bs-gutter-y: 2rem;
    }

    /* Chat */
    .chat-window {
        width: 320px;
    }
}

/* ===== MOBILE (≤767px) ===== */
@media (max-width: 767px) {

    /* Topbar */
    .topbar {
        font-size: 12px;
        text-align: center;
    }

    .topbar .container {
        gap: 6px;
    }

    /* Navbar */
    .brand-title {
        font-size: 22px;
    }

    .brand-subtitle {
        font-size: 10px;
    }

    .navbar-collapse {
        margin-top: 8px;
    }

    .navbar-nav .nav-link {
        padding: 10px 12px !important;
        border-radius: 10px;
    }

    #authButtons {
        margin-top: 8px;
        padding-top: 8px;
        border-top: 1px solid #f1f5f9;
    }

    #authButtons a {
        flex: 1;
        text-align: center;
    }

    /* Hero */
    .hero {
        padding: 56px 0 48px;
        text-align: center;
    }

    .hero h1 {
        font-size: 28px;
        line-height: 1.2;
    }

    .hero p {
        font-size: 15px;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-badge {
        font-size: 11px;
    }

    .hero-cta-group {
        justify-content: center;
    }

    .btn-hero-primary,
    .btn-hero-outline {
        width: 100%;
        justify-content: center;
        padding: 13px 20px;
        font-size: 14px;
    }

    .hero-trust {
        justify-content: center;
        gap: 12px;
    }

    .hero-trust-item {
        font-size: 12px;
    }

    .carousel-indicators {
        justify-content: center !important;
    }

    /* Sections */
    .section {
        padding: 56px 0;
    }

    .section-title {
        font-size: 26px;
    }

    .section-desc {
        font-size: 14px;
    }

    .section-eyebrow {
        font-size: 11px;
    }

    /* Service / Coverage cards */
    .custom-card .card-body {
        padding: 20px !important;
    }

    .coverage-card {
        padding: 20px;
    }

    .coverage-num {
        font-size: 28px;
    }

    /* Pricing */
    .pricing-price {
        font-size: 34px;
    }

    .pricing-card .card-body {
        padding: 24px 20px !important;
    }

    /* Feature list */
    .feature-item {
        padding: 13px 16px;
        font-size: 14px;
    }

    /* Why us video */
    #why-us .ratio {
        border-radius: 16px !important;
    }

    /* Reviews */
    .review-avatar {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    /* Footer */
    .footer-main {
        padding-top: 2rem !important;
    }

    .footer-main .container.py-5 {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }

    .footer-brand-title {
        font-size: 24px;
    }

    .footer-contact-item {
        font-size: 13px;
    }

    .footer-socials {
        gap: 8px;
    }

    .footer-social-btn {
        width: 34px;
        height: 34px;
        font-size: 14px;
    }

    .footer-bottom .d-flex {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .footer-links {
        justify-content: center;
        flex-wrap: wrap;
        gap: 12px;
    }

    .logo-badge {
        height: 36px;
    }

    .membership-logo {
        height: 40px;
    }

    /* Contact form */
    .simple-form-card h4 {
        font-size: 18px;
    }

    .simple-input {
        font-size: 13px;
        padding: 9px 11px;
    }

    /* Chat */
    .chat-launcher {
        right: 14px;
        bottom: 14px;
    }

    .chat-window {
        width: calc(100vw - 28px);
        max-height: 80vh;
    }

    .chat-bubble-btn {
        width: 54px;
        height: 54px;
        font-size: 22px;
    }
}

/* ===== SMALL MOBILE (≤480px) ===== */
@media (max-width: 480px) {
    .hero h1 {
        font-size: 24px;
    }

    .section-title {
        font-size: 22px;
    }

    .hero-cta-group {
        flex-direction: column;
    }

    .hero-trust {
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }

    .pricing-price {
        font-size: 30px;
    }

    .container {
        padding-left: 16px;
        padding-right: 16px;
    }
}

@media (max-width: 991px) {
    .nav-item {
        margin-top: 10px;
    }
}