/* =============================================================
   Veritas Cyber Recovery — Global Stylesheet (Redesigned 2025)
   Primary palette: Deep Navy + Electric Blue + Emerald accent
   ============================================================= */

/* ── Design Tokens ─────────────────────────────────────────── */
:root {
    --primary:        #3b82f6;
    --primary-dark:   #1d4ed8;
    --primary-glow:   rgba(59,130,246,0.35);
    --accent:         #22c55e;
    --accent-dark:    #16a34a;
    --danger:         #ef4444;
    --warning:        #f59e0b;
    --bg-deep:        #060a14;
    --bg-dark:        #0a0e1a;
    --bg-card:        rgba(255,255,255,0.03);
    --border:         rgba(255,255,255,0.08);
    --text-primary:   #f1f5f9;
    --text-secondary: #94a3b8;
    --text-muted:     #475569;
    --light-bg:       #f8faff;
    --surface-light:  #ffffff;
    --radius-sm:      8px;
    --radius-md:      14px;
    --radius-lg:      20px;
    --shadow-sm:      0 2px 8px rgba(0,0,0,.12);
    --shadow-md:      0 8px 30px rgba(0,0,0,.2);
    --shadow-lg:      0 20px 60px rgba(0,0,0,.35);
    --transition:     all 0.3s cubic-bezier(0.4,0,0.2,1);
}

/* ── Base ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    color: #1e293b;
    background: #f8faff;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; }

a { transition: var(--transition); }

/* ── Typography Utilities ─────────────────────────────────── */
.section-eyebrow {
    display: inline-block;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--primary);
    background: rgba(59,130,246,.1);
    border: 1px solid rgba(59,130,246,.2);
    padding: 5px 14px;
    border-radius: 20px;
    margin-bottom: 14px;
}

.section-title {
    font-weight: 800;
    color: #0f172a;
    line-height: 1.2;
    position: relative;
    margin-bottom: 1.5rem;
}

.section-title.light { color: #fff; }

.section-title span {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-title::after {
    content: '';
    display: block;
    width: 50px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 2px;
    margin-top: 12px;
}

.section-title.text-center::after { margin: 12px auto 0; }

/* ── Buttons ────────────────────────────────────────────────  */
.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff !important;
    border: none;
    border-radius: 50px;
    padding: 0.65rem 1.8rem;
    font-weight: 600;
    font-size: .92rem;
    letter-spacing: .3px;
    box-shadow: 0 4px 16px var(--primary-glow);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px var(--primary-glow);
    color: #fff !important;
}

.btn-outline-primary {
    background: transparent;
    color: var(--primary) !important;
    border: 2px solid var(--primary);
    border-radius: 50px;
    padding: 0.6rem 1.75rem;
    font-weight: 600;
    font-size: .92rem;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.btn-outline-primary:hover {
    background: var(--primary);
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--primary-glow);
}

.btn-outline-light {
    background: transparent;
    color: #fff !important;
    border: 2px solid rgba(255,255,255,.4);
    border-radius: 50px;
    padding: 0.6rem 1.75rem;
    font-weight: 600;
    font-size: .92rem;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.btn-outline-light:hover {
    background: rgba(255,255,255,.15);
    border-color: rgba(255,255,255,.7);
    color: #fff !important;
    transform: translateY(-2px);
}

.btn-accent {
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: #fff !important;
    border: none;
    border-radius: 50px;
    padding: 0.65rem 1.8rem;
    font-weight: 600;
    font-size: .92rem;
    transition: var(--transition);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-learn-more {
    background: transparent;
    color: var(--primary);
    border: 1.5px solid var(--primary);
    border-radius: 50px;
    padding: 0.5rem 1.5rem;
    font-weight: 600;
    font-size: .88rem;
    transition: var(--transition);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-learn-more:hover {
    background: var(--primary);
    color: #fff;
}

.btn-apply-now {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff !important;
    border: none;
    border-radius: 50px;
    padding: 0.6rem 1.6rem;
    font-weight: 600;
    font-size: .9rem;
    transition: var(--transition);
    text-decoration: none;
}

.btn-apply-now:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--primary-glow);
    color: #fff !important;
}

.btn-link {
    color: var(--primary);
    font-weight: 600;
    font-size: .88rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: var(--transition);
}

.btn-link:hover { gap: 8px; color: var(--primary-dark); }

/* ── Hero (Video) Section ────────────────────────────────── */
.hero-container {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.video-background {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(.45) saturate(1.2);
}

.video-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
        rgba(4,8,20,.85) 0%,
        rgba(10,20,50,.6) 60%,
        rgba(4,8,20,.4) 100%);
    z-index: 1;
}

.hero-content-wrapper {
    position: relative;
    z-index: 2;
    padding: 120px 0 80px;
}

.hero-container .badge {
    font-size: .78rem;
    letter-spacing: 1px;
}

/* Animate-up utility */
.animate-up {
    opacity: 0;
    transform: translateY(24px);
    animation: slideUp .7s ease forwards;
}

@keyframes slideUp {
    to { opacity: 1; transform: translateY(0); }
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    text-align: center;
    color: rgba(255,255,255,.5);
    font-size: .75rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.scroll-indicator .mouse {
    width: 24px;
    height: 38px;
    border: 2px solid rgba(255,255,255,.3);
    border-radius: 12px;
    margin: 0 auto 6px;
    position: relative;
}

.scroll-indicator .mouse::after {
    content: '';
    width: 4px;
    height: 8px;
    background: rgba(255,255,255,.6);
    border-radius: 2px;
    position: absolute;
    left: 50%;
    top: 6px;
    transform: translateX(-50%);
    animation: scrollDown 1.6s ease infinite;
}

@keyframes scrollDown {
    0%   { opacity: 1; transform: translateX(-50%) translateY(0); }
    100% { opacity: 0; transform: translateX(-50%) translateY(14px); }
}

/* ── Stats Strip ─────────────────────────────────────────── */
.stats-strip {
    background: linear-gradient(90deg, #0a1628, #0d1f40, #0a1628);
    border-top: 1px solid rgba(59,130,246,.15);
    border-bottom: 1px solid rgba(59,130,246,.15);
}

/* ── Services Section ────────────────────────────────────── */
#services { background: #f8faff; }

.service-card-modern {
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
    border: 1px solid rgba(0,0,0,.04);
}

.service-card-modern:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(59,130,246,.15);
    border-color: rgba(59,130,246,.2);
}

.service-card-modern .card-image-wrap {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.service-card-modern .card-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}

.service-card-modern:hover .card-image-wrap img {
    transform: scale(1.06);
}

.service-card-modern .success-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: #fff;
    font-size: .72rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    letter-spacing: .3px;
}

.service-card-modern .card-body-custom {
    padding: 22px;
}

.service-card-modern .card-body-custom h5 {
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 8px;
    font-size: 1.05rem;
}

.service-card-modern .card-body-custom p {
    color: #64748b;
    font-size: .88rem;
    line-height: 1.6;
    margin-bottom: 14px;
}

/* ── Page Header Banner ──────────────────────────────────── */
.pageheader-section {
    background: linear-gradient(135deg, #0a0e1a 0%, #0d1b40 60%, #0a0e1a 100%);
    padding: 100px 0 80px;
    position: relative;
    overflow: hidden;
    color: #fff;
}

.pageheader-section h1,
.pageheader-section .display-4 { color: #fff; font-weight: 800; }

.pageheader-section .lead { color: rgba(255,255,255,.75); }

.pageheader-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(59,130,246,.12) 0%, transparent 70%);
    pointer-events: none;
}

.pageheader-shape {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 80px;
    background: #f8faff;
    clip-path: polygon(0 60%, 100% 0, 100% 100%, 0 100%);
}

/* ── How It Works / Steps ────────────────────────────────── */
.step-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0,0,0,.04);
    transition: var(--transition);
    height: 100%;
    position: relative;
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 35px rgba(59,130,246,.12);
    border-color: rgba(59,130,246,.15);
}

.step-number {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-weight: 800;
    font-size: 1.1rem;
    box-shadow: 0 6px 16px var(--primary-glow);
}

.step-item {
    padding: 24px;
    text-align: center;
}

/* ── CTA Sections ────────────────────────────────────────── */
.cta-section {
    background: linear-gradient(135deg, #0a1628 0%, #0d1f50 50%, #061020 100%);
    padding: 80px 0;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -30%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(59,130,246,.12) 0%, transparent 70%);
    pointer-events: none;
}

.cta-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    right: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(34,197,94,.08) 0%, transparent 70%);
    pointer-events: none;
}

/* ── Cards (general) ─────────────────────────────────────── */
.card {
    border: 1px solid rgba(0,0,0,.06);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

/* Value / Feature Cards */
.value-card {
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
    border: 1px solid rgba(0,0,0,.05);
    background: #fff;
    padding: 28px;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 35px rgba(59,130,246,.1);
    border-color: rgba(59,130,246,.15);
}

.value-icon {
    font-size: 1.6rem;
    color: var(--primary);
    background: rgba(59,130,246,.1);
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}

/* ── Testimonials ────────────────────────────────────────── */
.testimonial-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0,0,0,.05);
    height: 100%;
    transition: var(--transition);
}

.testimonial-card:hover {
    box-shadow: 0 14px 35px rgba(59,130,246,.1);
    border-color: rgba(59,130,246,.12);
}

.testimonial-img {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(59,130,246,.2);
}

.quote-icon { font-size: 2rem; color: rgba(59,130,246,.15); }

/* ── Contact Page ────────────────────────────────────────── */
.contact-card {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,.05);
    background: #fff;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 35px rgba(59,130,246,.1);
}

.info-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    box-shadow: 0 6px 16px var(--primary-glow);
}

.map-container { height: 300px; border-radius: var(--radius-md); overflow: hidden; }

/* Contact form focus */
.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem rgba(59,130,246,.15);
}

/* ── FAQ ─────────────────────────────────────────────────── */
.faq-section { padding: 80px 0; background: #f8faff; }

.accordion-button:not(.collapsed) {
    background: rgba(59,130,246,.06);
    color: var(--primary);
    font-weight: 600;
    box-shadow: none;
}

.accordion-button:focus { box-shadow: none; }

.accordion-item {
    border: 1px solid rgba(0,0,0,.07) !important;
    border-radius: var(--radius-sm) !important;
    margin-bottom: 10px;
    overflow: hidden;
}

.faq-category { margin-bottom: 32px; }

.faq-category-title {
    font-weight: 700;
    color: #0f172a;
    border-bottom: 2px solid var(--primary);
    padding-bottom: 10px;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

/* ── Loan / Service Cards ────────────────────────────────── */
.loan-card {
    border: none;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    margin-bottom: 1.5rem;
    height: 100%;
    background: #fff;
}

.loan-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 35px rgba(59,130,246,.1);
}

.loan-card .card-img-top {
    height: 180px;
    object-fit: cover;
}

.loan-card .card-title { font-weight: 700; color: #0f172a; }
.loan-card .card-text { color: #64748b; font-size: .88rem; }

.loan-feature { display: flex; align-items: center; margin-bottom: .5rem; font-size: .85rem; color: #64748b; }
.loan-feature i { color: var(--primary); margin-right: .5rem; }

.interest-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255,255,255,.92);
    color: var(--danger);
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: .72rem;
    backdrop-filter: blur(4px);
}

/* ── Timeline ────────────────────────────────────────────── */
.timeline-section { padding: 80px 0; background: #fff; }

.timeline { position: relative; padding-left: 32px; }

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 6px;
    bottom: 6px;
    width: 3px;
    background: linear-gradient(180deg, var(--primary), var(--accent));
    border-radius: 2px;
}

.timeline-item { position: relative; padding-bottom: 32px; }

.timeline-item::before {
    content: '';
    position: absolute;
    left: -38px;
    top: 6px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--primary);
    border: 3px solid #f8faff;
    box-shadow: 0 0 0 3px rgba(59,130,246,.2);
}

.timeline-date { font-weight: 700; color: var(--primary); }

/* ── Tracking Steps ──────────────────────────────────────── */
.tracking-step.active .step-icon {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
}

.tracking-step.completed .step-icon {
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: #fff;
}

.step-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    transition: var(--transition);
}

.tracking-line {
    height: 3px;
    background: #e9ecef;
    position: relative;
    top: 26px;
    z-index: -1;
    border-radius: 2px;
}

.tracking-line.completed {
    background: linear-gradient(90deg, var(--accent), var(--primary));
}

.tracking-info {
    background: #fff;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0,0,0,.05);
}

/* ── Team Cards ──────────────────────────────────────────── */
.team-section { background: #f8faff; padding: 80px 0; }

.team-card {
    border: none;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
}

.team-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }

.team-img-container { height: 240px; overflow: hidden; }
.team-card img { object-fit: cover; height: 100%; width: 100%; transition: transform .5s; }
.team-card:hover img { transform: scale(1.05); }

.social-icons i {
    font-size: 1.1rem;
    margin: 0 5px;
    color: var(--text-muted);
    transition: var(--transition);
    cursor: pointer;
}

.social-icons i:hover { color: var(--primary); }

/* ── Stats Section ───────────────────────────────────────── */
.stats-section { background: #fff; padding: 80px 0; }

.stat-card {
    text-align: center;
    padding: 28px 20px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0,0,0,.05);
    background: #fff;
    height: 100%;
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(59,130,246,.1);
    border-color: rgba(59,130,246,.15);
}

.stat-number {
    font-size: 2.6rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
    line-height: 1;
}

.counting-animation { display: inline-block; }

/* ── Section Padding ─────────────────────────────────────── */
.section-padding { padding: 80px 0; }

/* ── Forms (public pages) ────────────────────────────────── */
.form-section {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(59,130,246,.03);
    border-radius: var(--radius-md);
    border: 1px solid rgba(59,130,246,.08);
}

.header-section {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    padding: 2rem;
    margin-bottom: 2rem;
    border-radius: var(--radius-md);
}

/* ── Social Links (footer) ────────────────────────────────  */
.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255,255,255,.07);
    color: #fff;
    margin-right: 8px;
    transition: var(--transition);
    text-decoration: none;
}

.social-links a:hover {
    background: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 6px 16px var(--primary-glow);
}

/* ── Misc Utility ────────────────────────────────────────── */
.hover-slide {
    transition: var(--transition);
}

.hover-slide:hover {
    transform: translateX(4px);
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.floating-help {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 100;
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 991px) {
    .hero-content-wrapper { padding: 80px 0 60px; }
    .pageheader-section { padding: 80px 0 60px; }
}

@media (max-width: 767px) {
    .section-padding { padding: 60px 0; }
    .stat-number { font-size: 2rem; }
    .cta-section { padding: 60px 0; }
}

/* =============================================================
   Home page refresh - fixed video canvas and animated content
   ============================================================= */

body.home-page {
    background: #050814;
    color: #eef4ff;
    overflow-x: hidden;
}

body.home-page .custom-nav {
    background: rgba(5, 8, 20, 0.72);
    border-bottom-color: rgba(255,255,255,0.08);
}

.home-shell {
    position: relative;
    isolation: isolate;
    overflow: hidden;
}

.home-video-stage {
    position: fixed;
    inset: 0;
    z-index: -2;
    background: #050814;
    pointer-events: none;
}

.home-video-stage video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(1.08) contrast(1.08) brightness(0.62);
    transform: translateZ(0);
}

.home-video-scrim {
    position: fixed;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(90deg, rgba(4,8,20,.92) 0%, rgba(4,8,20,.66) 42%, rgba(4,8,20,.36) 100%),
        linear-gradient(180deg, rgba(4,8,20,.28) 0%, rgba(4,8,20,.82) 100%);
    pointer-events: none;
}

.home-hero {
    min-height: 100svh;
    position: relative;
}

.home-kicker,
.home-section-heading > span {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    min-height: 34px;
    padding: 7px 14px;
    border: 1px solid rgba(125, 211, 252, .28);
    border-radius: 999px;
    background: rgba(8, 16, 34, .62);
    color: #93e6ff;
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
}

.home-hero-title {
    max-width: 840px;
    margin: 22px 0 22px;
    color: #fff;
    font-size: clamp(3rem, 8vw, 6.6rem);
    line-height: .95;
    font-weight: 900;
}

.home-hero-copy {
    max-width: 680px;
    color: rgba(226, 232, 240, .9);
    font-size: clamp(1.05rem, 2vw, 1.32rem);
    line-height: 1.72;
    text-shadow: 0 2px 18px rgba(0,0,0,.35);
}

.home-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
}

.home-hero-actions .btn,
.home-process-section .btn {
    min-height: 52px;
    padding-inline: 28px;
    border-radius: 999px;
}

.home-hero-panel {
    padding: 28px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 18px;
    background: rgba(8, 14, 30, .68);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: 0 24px 80px rgba(0,0,0,.35);
}

.home-hero-panel .panel-label {
    color: #93e6ff;
    font-size: .78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.home-hero-panel strong {
    display: block;
    margin: 12px 0 10px;
    color: #fff;
    font-size: 1.45rem;
    line-height: 1.25;
}

.home-hero-panel p,
.home-hero-panel small {
    color: rgba(226, 232, 240, .76);
}

.panel-meter {
    height: 8px;
    margin: 22px 0 12px;
    border-radius: 999px;
    background: rgba(255,255,255,.12);
    overflow: hidden;
}

.panel-meter span {
    display: block;
    width: 78%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #38bdf8, #22c55e);
    animation: meterPulse 2.8s ease-in-out infinite;
}

.home-scroll-cue {
    position: absolute;
    left: 50%;
    bottom: 28px;
    display: grid;
    width: 42px;
    height: 58px;
    place-items: start center;
    padding-top: 10px;
    border: 1px solid rgba(255,255,255,.26);
    border-radius: 999px;
    transform: translateX(-50%);
}

.home-scroll-cue span {
    width: 5px;
    height: 12px;
    border-radius: 999px;
    background: #fff;
    animation: scrollDot 1.5s ease-in-out infinite;
}

.home-section {
    position: relative;
    padding: 96px 0;
    background: rgba(5, 8, 20, .72);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

body.home-page #services.home-section {
    background: rgba(5, 8, 20, .72);
}

.home-section::before {
    display: none;
}

.home-stats-section {
    padding-top: 0;
}

.home-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 18px;
    background: rgba(255,255,255,.12);
    box-shadow: 0 24px 80px rgba(0,0,0,.28);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.home-stat {
    padding: 28px 22px;
    background: rgba(8, 14, 30, .74);
    text-align: center;
}

.home-stat strong {
    display: block;
    color: #fff;
    font-size: clamp(1.8rem, 4vw, 3rem);
    line-height: 1;
    font-weight: 900;
}

.home-stat span {
    display: block;
    margin-top: 9px;
    color: #9bdfff;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.home-section-heading {
    margin-bottom: 36px;
}

.home-section-heading h2 {
    max-width: 820px;
    margin: 16px 0 12px;
    color: #fff;
    font-size: clamp(2rem, 4.5vw, 4rem);
    line-height: 1.06;
    font-weight: 900;
}

.home-section-heading p {
    max-width: 720px;
    margin: 0;
    color: rgba(226, 232, 240, .76);
    font-size: 1.05rem;
    line-height: 1.7;
}

.home-section-heading.text-center p,
.home-section-heading.text-center h2 {
    margin-left: auto;
    margin-right: auto;
}

.home-link,
.home-service-card a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #93e6ff;
    font-weight: 800;
    text-decoration: none;
}

.home-link:hover,
.home-service-card a:hover {
    color: #fff;
    gap: 12px;
}

.home-service-card,
.home-alert-card,
.home-value-card,
.home-testimonial-card,
.home-process-card {
    height: 100%;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 16px;
    background: rgba(9, 16, 34, .78);
    box-shadow: 0 18px 52px rgba(0,0,0,.22);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition: transform .28s ease, border-color .28s ease, box-shadow .28s ease, background .28s ease;
}

.home-service-card:hover,
.home-alert-card:hover,
.home-value-card:hover,
.home-testimonial-card:hover,
.home-process-card:hover {
    transform: translateY(-8px);
    border-color: rgba(147, 230, 255, .34);
    background: rgba(10, 20, 44, .86);
    box-shadow: 0 28px 70px rgba(0,0,0,.34);
}

.home-service-card {
    overflow: hidden;
}

.home-service-card img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    transition: transform .45s ease;
}

.home-service-card:hover img {
    transform: scale(1.05);
}

.home-service-card div {
    padding: 24px;
}

.home-service-card span,
.home-alert-card span {
    display: inline-flex;
    margin-bottom: 12px;
    color: #0b1220;
    background: #8ee8b0;
    border-radius: 999px;
    padding: 5px 10px;
    font-size: .72rem;
    font-weight: 900;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.home-service-card h3,
.home-alert-card h3,
.home-value-card h3,
.home-testimonial-card h3,
.home-process-card h3 {
    color: #fff;
    font-size: 1.18rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.home-service-card p,
.home-alert-card p,
.home-value-card p,
.home-testimonial-card p,
.home-process-card p {
    color: rgba(226, 232, 240, .72);
    line-height: 1.65;
}

.home-alert-card {
    padding: 26px;
}

.home-alert-card i {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    margin-bottom: 20px;
    border-radius: 14px;
    color: #fff;
    background: rgba(59, 130, 246, .18);
    font-size: 1.3rem;
}

.home-alert-card.high i,
.home-alert-card.high span {
    background: #fecaca;
    color: #7f1d1d;
}

.home-alert-card.warn i,
.home-alert-card.warn span {
    background: #fde68a;
    color: #78350f;
}

.home-alert-card.info i,
.home-alert-card.info span {
    background: #bfdbfe;
    color: #1e3a8a;
}

.home-value-list {
    display: grid;
    gap: 16px;
}

.home-value-card {
    display: flex;
    gap: 18px;
    padding: 24px;
}

.home-value-card i {
    flex: 0 0 54px;
    display: grid;
    width: 54px;
    height: 54px;
    place-items: center;
    border-radius: 14px;
    color: #08111f;
    background: linear-gradient(135deg, #93e6ff, #8ee8b0);
    font-size: 1.25rem;
}

.home-video-carousel {
    display: grid;
    grid-template-columns: repeat(3, minmax(280px, 1fr));
    gap: 22px;
    max-width: 100%;
}

.home-testimonial-card {
    overflow: hidden;
}

.home-testimonial-card video {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    background: #000;
    object-fit: cover;
}

.home-testimonial-card div {
    padding: 20px;
}

.home-testimonial-card p {
    margin: 0;
    color: #93e6ff;
    font-size: .9rem;
    font-weight: 700;
}

.home-process-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 38px;
}

.home-process-card {
    padding: 24px;
}

.home-process-card span {
    display: block;
    margin-bottom: 18px;
    color: #93e6ff;
    font-size: 2.4rem;
    font-weight: 900;
    line-height: 1;
}

.reveal-item {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity .58s ease, transform .58s ease;
    transition-delay: var(--delay, 0s);
}

.reveal-item.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes meterPulse {
    0%, 100% { opacity: .75; transform: scaleX(.94); transform-origin: left; }
    50% { opacity: 1; transform: scaleX(1); transform-origin: left; }
}

@keyframes scrollDot {
    0% { opacity: 1; transform: translateY(0); }
    100% { opacity: 0; transform: translateY(22px); }
}

@media (max-width: 991px) {
    .home-section { padding: 76px 0; }
    .home-stats-grid,
    .home-process-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .home-video-carousel {
        display: flex;
        overflow-x: auto;
        padding-bottom: 12px;
        scroll-snap-type: x mandatory;
    }
    .home-testimonial-card {
        flex: 0 0 min(82vw, 360px);
        scroll-snap-align: start;
    }
}

@media (max-width: 767px) {
    body.home-page .home-shell .row,
    body.home-page .footer-modern .row {
        margin-left: 0;
        margin-right: 0;
    }
    body.home-page .home-shell .row > *,
    body.home-page .footer-modern .row > * {
        padding-left: calc(var(--bs-gutter-x) * .5);
        padding-right: calc(var(--bs-gutter-x) * .5);
    }
    .home-hero-title {
        font-size: clamp(2.7rem, 14vw, 4.3rem);
    }
    .home-hero-copy {
        font-size: 1rem;
    }
    .home-hero-actions .btn {
        width: 100%;
        justify-content: center;
    }
    .home-stats-grid,
    .home-process-grid {
        grid-template-columns: 1fr;
    }
    .home-section {
        padding: 64px 0;
    }
    .home-value-card {
        flex-direction: column;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-video-stage video,
    .panel-meter span,
    .home-scroll-cue span,
    .reveal-item {
        animation: none !important;
        transition: none !important;
    }
    .reveal-item {
        opacity: 1;
        transform: none;
    }
    .home-service-card:hover,
    .home-alert-card:hover,
    .home-value-card:hover,
    .home-testimonial-card:hover,
    .home-process-card:hover,
    .service-card-modern:hover,
    .btn-primary:hover {
        transform: none;
    }
}
