/* Landing page – UAV Management System (high-impact, eye-catching) */
:root {
    --landing-primary: #2563eb;
    --landing-primary-dark: #1e40af;
    --landing-primary-light: #3b82f6;
    --landing-success: #10b981;
    --landing-success-hover: #059669;
    --landing-text: #0f172a;
    --landing-muted: #64748b;
    /* Page + cards: deeper cool slate — reads less “paper white”, still WCAG-friendly for body text */
    --landing-bg: #d4e0ee;
    --landing-surface: #e2eaf5;
    --landing-card-shadow: 0 4px 24px rgba(15, 23, 42, 0.08);
    --landing-nav-height: 56px;
    --font-heading: var(--uav-font-sans), "Plus Jakarta Sans", system-ui, sans-serif;
    --font-body: var(--uav-font-sans), system-ui, sans-serif;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes glowPulse {
    0%, 100% { opacity: 0.4; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.05); }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

@keyframes meshShift {
    0% { background-position: 0% 0%, 0% 0%; }
    50% { background-position: 8% -4%, -6% 7%; }
    100% { background-position: 0% 0%, 0% 0%; }
}

@keyframes stepPulse {
    0%, 100% { transform: scale(1); box-shadow: 0 8px 24px rgba(37, 99, 235, 0.38); }
    50% { transform: scale(1.08); box-shadow: 0 12px 30px rgba(16, 185, 129, 0.48); }
}

@keyframes ctaPulse {
    0%, 100% { box-shadow: 0 8px 22px rgba(16, 185, 129, 0.32); }
    50% { box-shadow: 0 14px 34px rgba(16, 185, 129, 0.52); }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

body {
    font-family: var(--font-body);
    color: var(--landing-text);
    line-height: 1.6;
    background-color: var(--landing-bg);
    /* Radials on top; Cloudinary texture underneath (multiply vs base tint — avoids “wash of white”) */
    background-image:
        radial-gradient(120% 70% at 50% -15%, rgba(37, 99, 235, 0.11) 0%, transparent 52%),
        radial-gradient(90% 55% at 100% 35%, rgba(16, 185, 129, 0.06) 0%, transparent 48%),
        radial-gradient(85% 50% at 0% 75%, rgba(30, 64, 175, 0.08) 0%, transparent 46%),
        url("https://res.cloudinary.com/dthahgewk/image/upload/f_auto,q_auto/v1777842183/9eee81b7-4ef5-4f5e-aae3-dd1e0a8b4e7e_dpqdru.png");
    background-size: auto, auto, auto, cover;
    background-position: 0 0, 0 0, 0 0, center;
    background-repeat: no-repeat;
    background-blend-mode: normal, normal, normal, multiply;
}

/* Skip link (a11y) */
.skip-link {
    position: absolute;
    top: -3rem;
    left: 0;
    padding: 0.5rem 1rem;
    background: var(--landing-primary);
    color: #fff;
    z-index: 100;
    text-decoration: none;
    font-weight: 600;
}
.skip-link:focus {
    top: 0;
}

/* Focus visible for keyboard users */
a:focus-visible,
button:focus-visible,
.accordion-button:focus-visible {
    outline: 2px solid var(--landing-primary);
    outline-offset: 2px;
}

/* Sticky navbar – premium look (solid bg so it always shows on contact page too) */
.navbar-landing {
    background-color: #0f172a !important;
    background-image: none !important;
    padding: 0.75rem 0;
    min-height: 56px;
    position: sticky;
    top: 0;
    z-index: 1020;
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
@media (min-width: 992px) {
    .navbar-landing .navbar-collapse {
        display: flex !important;
        flex-basis: auto;
        flex-grow: 1;
    }
    /* Prevent nav labels (e.g. "Contact us") from wrapping when flex row is tight */
    .navbar-landing .navbar-nav > .nav-item {
        flex-shrink: 0;
    }
    .navbar-landing .navbar-nav > .nav-item > .nav-link {
        white-space: nowrap;
    }
}
.navbar-landing .navbar-brand {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.25rem;
    letter-spacing: -0.02em;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
}

.landing-brand-logo {
    width: 34px;
    height: 34px;
    object-fit: contain;
    display: block;
}

.landing-brand-text {
    line-height: 1;
}
.navbar-landing .nav-link {
    font-weight: 500;
    color: rgba(255,255,255,0.9) !important;
}
.navbar-landing .nav-link:hover {
    color: #fff !important;
}

.btn-demo {
    background: var(--landing-success);
    border-color: var(--landing-success);
    color: #fff;
    font-weight: 600;
}
.btn-demo:hover {
    background: var(--landing-success-hover);
    border-color: var(--landing-success-hover);
    color: #fff;
}

/* Login button in nav – outline style so it stands out */
.btn-login-nav {
    background: transparent;
    color: rgba(255,255,255,0.95);
    border: 2px solid rgba(255,255,255,0.8);
    font-weight: 600;
    padding: 0.4rem 1rem;
    border-radius: 0.5rem;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.btn-login-nav:hover {
    background: rgba(255,255,255,0.15);
    color: #fff;
    border-color: #fff;
}
/* Language switcher in landing nav – dark variant */
.navbar-landing .language-switcher .btn {
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.3);
    color: #fff;
    padding: 0.4rem 0.75rem;
    min-width: 100px;
}
.navbar-landing .language-switcher .btn:hover {
    background: rgba(255,255,255,0.2);
    color: #fff;
    border-color: rgba(255,255,255,0.5);
}
.navbar-landing .language-switcher .dropdown-menu {
    left: auto;
    right: 0;
}
[dir="rtl"] .navbar-landing .language-switcher .dropdown-menu {
    right: auto;
    left: 0;
}

/* Hero – full impact */
.hero {
    min-height: 88vh;
    color: #fff;
    padding: 5rem 0 6rem;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}
.hero-bg-wrap {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.hero-bg-wrap::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("/MAIN-LOGO.png");
    background-repeat: no-repeat;
    background-position: center 46%;
    background-size: min(72vw, 980px);
    opacity: 0.30;
    filter: brightness(1.18) saturate(1.12) drop-shadow(0 0 42px rgba(59, 130, 246, 0.42));
    transform: translate3d(0, var(--hero-parallax-y, 0px), 0) scale(1.08);
    z-index: 2;
    pointer-events: none;
    will-change: transform;
}
.hero .hero-bg-img {
    position: absolute;
    inset: 0;
    object-fit: cover;
    width: 100%;
    height: 100%;
    opacity: 0.2;
}
.hero-gradient {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(145deg, rgba(15, 23, 42, 0.76) 0%, transparent 52%),
        linear-gradient(180deg, rgba(59, 130, 246, 0.62) 0%, rgba(37, 99, 235, 0.58) 45%, rgba(15, 23, 42, 0.86) 100%);
    z-index: 1;
    animation: meshShift 14s ease-in-out infinite;
}
.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    z-index: 1;
}
.hero-glow-1 {
    width: 400px;
    height: 400px;
    background: rgba(37, 99, 235, 0.35);
    top: -100px;
    right: -100px;
    animation: glowPulse 8s ease-in-out infinite;
}
.hero-glow-2 {
    width: 300px;
    height: 300px;
    background: rgba(16, 185, 129, 0.25);
    bottom: -50px;
    left: -50px;
    animation: glowPulse 10s ease-in-out infinite 1s;
}
.hero-inner {
    position: relative;
    z-index: 3;
}
.hero-badge {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(255,255,255,0.9);
    background: rgba(255,255,255,0.12);
    padding: 0.4rem 1rem;
    border-radius: 999px;
    margin-bottom: 1.25rem;
    animation: fadeInUp 0.7s ease-out;
}
.hero-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: clamp(2.25rem, 5.5vw, 3.75rem);
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin-bottom: 1.25rem;
    text-shadow: 0 2px 24px rgba(0,0,0,0.2);
    animation: fadeInUp 0.7s ease-out 0.1s both;
}
.hero-subtitle {
    font-size: clamp(1.05rem, 2vw, 1.35rem);
    opacity: 0.95;
    max-width: 32em;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2.25rem;
    line-height: 1.6;
    animation: fadeInUp 0.7s ease-out 0.2s both;
}
.hero-cta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    animation: fadeInUp 0.7s ease-out 0.35s both;
}
.btn-hero {
    padding: 0.85rem 1.75rem;
    font-weight: 600;
    font-size: 1.05rem;
    border-radius: 0.75rem;
    transition: transform 0.2s, box-shadow 0.2s;
}
.btn-hero:hover {
    transform: translateY(-2px);
}
.btn-hero-primary {
    background: #fff;
    color: var(--landing-primary-dark);
    border: none;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}
.btn-hero-primary:hover {
    background: #fff;
    color: var(--landing-primary-dark);
    box-shadow: 0 8px 28px rgba(0,0,0,0.25);
}
.btn-hero-demo {
    background: var(--landing-success);
    color: #fff;
    border: none;
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.4);
}
.btn-hero-demo:hover {
    background: var(--landing-success-hover);
    color: #fff;
    box-shadow: 0 8px 28px rgba(16, 185, 129, 0.5);
}

/* Curiosity strip – "See in action" */
.curiosity-strip {
    padding: 4rem 0;
    background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
    color: #fff;
}
.curiosity-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    flex-wrap: wrap;
}
.curiosity-text {
    flex: 1;
    min-width: 280px;
}
.curiosity-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: 0.75rem;
}
.curiosity-desc {
    color: rgba(255,255,255,0.85);
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}
.btn-curiosity {
    display: inline-flex;
    align-items: center;
    padding: 0.65rem 1.25rem;
    background: var(--landing-success);
    color: #fff;
    font-weight: 600;
    border-radius: 0.5rem;
    text-decoration: none;
    transition: background 0.2s, transform 0.2s;
}
.btn-curiosity:hover {
    background: var(--landing-success-hover);
    color: #fff;
    transform: translateX(4px);
}
.curiosity-ticker {
    margin-top: 0.9rem;
    padding: 0.6rem 0.75rem;
    border-radius: 10px;
    border: 1px solid rgba(148, 163, 184, 0.25);
    background: rgba(15, 23, 42, 0.36);
    color: rgba(226, 232, 240, 0.92);
    font-size: 0.84rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}
.curiosity-ticker i {
    color: #34d399;
}
#curiosityTickerText {
    transition: opacity 0.24s ease;
}
#curiosityTickerText.is-updating {
    opacity: 0.08;
}
.curiosity-mockup {
    flex: 0 0 auto;
    max-width: 380px;
}
.mockup-window {
    background: rgba(255,255,255,0.06);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 24px 48px rgba(0,0,0,0.3);
}
.mockup-bar {
    height: 36px;
    background: rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 12px;
}
.mockup-bar span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
}
.mockup-content {
    min-height: 218px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.22) 0%, rgba(16, 185, 129, 0.16) 100%);
    padding: 12px;
    display: grid;
    gap: 10px;
}

.mockup-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mockup-topline-brand {
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: #e2e8f0;
}

.mockup-topline-live {
    font-size: 0.56rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #86efac;
    background: rgba(16, 185, 129, 0.2);
    border: 1px solid rgba(16, 185, 129, 0.35);
    border-radius: 999px;
    padding: 2px 6px;
}

.mockup-stat-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 8px;
}

.mockup-stat-card {
    background: rgba(15, 23, 42, 0.55);
    border: 1px solid rgba(148, 163, 184, 0.25);
    border-radius: 10px;
    padding: 8px;
    display: grid;
    gap: 2px;
}

.mockup-stat-label {
    font-size: 0.58rem;
    color: rgba(226, 232, 240, 0.8);
}

.mockup-stat-value {
    font-size: 1rem;
    line-height: 1;
    font-weight: 800;
    color: #f8fafc;
}

.mockup-stat-value--warn {
    color: #fbbf24;
}

.mockup-chart {
    height: 58px;
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 10px;
    display: flex;
    align-items: flex-end;
    gap: 6px;
    padding: 8px;
}

.mockup-chart-bar {
    flex: 1;
    border-radius: 5px 5px 2px 2px;
    background: linear-gradient(180deg, rgba(56, 189, 248, 0.92) 0%, rgba(16, 185, 129, 0.92) 100%);
}

.mockup-list {
    display: grid;
    gap: 6px;
}

.mockup-list-item {
    background: rgba(15, 23, 42, 0.52);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 8px;
    padding: 6px 8px;
    font-size: 0.69rem;
    color: #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mockup-pill {
    background: rgba(16, 185, 129, 0.22);
    color: #86efac;
    border: 1px solid rgba(16, 185, 129, 0.35);
    border-radius: 999px;
    font-size: 0.6rem;
    line-height: 1;
    font-weight: 700;
    padding: 4px 6px;
}

.mockup-pill--warn {
    background: rgba(245, 158, 11, 0.2);
    color: #fcd34d;
    border-color: rgba(245, 158, 11, 0.36);
}

/* Sections */
section {
    padding: 5rem 0;
    scroll-margin-top: var(--landing-nav-height);
}
section h2 {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.75rem;
    color: var(--landing-text);
    margin-bottom: 3rem;
}
.features-section {
    padding: 5rem 0;
    background: linear-gradient(180deg, var(--landing-surface) 0%, var(--landing-bg) 100%);
}
.features-section .container {
    max-width: 1200px;
}
.features-section .row {
    --bs-gutter-y: 2rem;
}
.section-heading {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: clamp(1.75rem, 3.5vw, 2.25rem);
    position: relative;
    display: inline-block;
    letter-spacing: -0.02em;
    color: var(--landing-text);
}
.section-heading::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 64px;
    height: 4px;
    background: linear-gradient(90deg, var(--landing-primary), var(--landing-success));
    border-radius: 2px;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
}

/* Scroll reveal animations */
[data-animate] {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
[data-animate].in-view {
    opacity: 1;
    transform: translateY(0);
}
[data-animate="left"] {
    transform: translateX(-24px);
}
[data-animate="right"] {
    transform: translateX(24px);
}
[data-animate="zoom"] {
    transform: translateY(16px) scale(0.96);
}
[data-animate="left"].in-view,
[data-animate="right"].in-view,
[data-animate="zoom"].in-view {
    transform: translateX(0) translateY(0) scale(1);
}
[data-animate][data-delay="1"] { transition-delay: 0.08s; }
[data-animate][data-delay="2"] { transition-delay: 0.16s; }
[data-animate][data-delay="3"] { transition-delay: 0.24s; }
[data-animate][data-delay="4"] { transition-delay: 0.32s; }

@media (prefers-reduced-motion: reduce) {
    [data-animate] {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* Feature cards – sharp, modern, crisp design */
.feature-card {
    border: 2px solid rgba(15, 23, 42, 0.1);
    border-radius: 0.875rem;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08), 0 2px 4px rgba(15, 23, 42, 0.04);
    height: 100%;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: var(--landing-surface);
    overflow: hidden;
    position: relative;
}
.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--landing-primary), var(--landing-success));
    opacity: 0;
    transition: opacity 0.3s ease;
}
.feature-card:hover {
    transform: translateY(-12px) scale(1.015);
    box-shadow: 0 20px 56px rgba(15, 23, 42, 0.18), 0 12px 24px rgba(15, 23, 42, 0.12);
    border-color: rgba(37, 99, 235, 0.5);
    background: var(--landing-surface);
}
.feature-card:hover .card-body {
    transform: translateY(-2px);
}
.feature-card:hover::before {
    opacity: 1;
}
.feature-card .card-body {
    padding: 2rem;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    border-radius: 0.875rem;
    background: linear-gradient(135deg, var(--landing-primary) 0%, var(--landing-primary-light) 100%);
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.3), inset 0 1px 0 rgba(255,255,255,0.2);
    position: relative;
}
.feature-icon::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 0.875rem;
    background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, transparent 100%);
    pointer-events: none;
}
.feature-card:hover .feature-icon {
    transform: scale(1.12) rotate(3deg);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.4), 0 4px 12px rgba(37, 99, 235, 0.25), inset 0 1px 0 rgba(255,255,255,0.3);
}
.feature-card .card-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.3rem;
    margin-bottom: 0.875rem;
    color: #0f172a;
    letter-spacing: -0.015em;
    line-height: 1.35;
}
.feature-card:hover .card-title {
    color: var(--landing-primary-dark);
}
.feature-card .card-text {
    color: #475569;
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 0;
    font-weight: 400;
}

.section-who {
    background: var(--landing-bg);
}
.section-live-block {
    position: relative;
    overflow: hidden;
}
.section-live-block::before {
    content: "";
    position: absolute;
    width: 320px;
    height: 320px;
    right: -140px;
    top: -150px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.18) 0%, rgba(37, 99, 235, 0) 72%);
    pointer-events: none;
}
.section-who .lead {
    color: var(--landing-muted);
    max-width: 42em;
    margin-left: auto;
    margin-right: auto;
}
.live-metrics {
    margin: 1.3rem auto 0;
    max-width: 860px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.8rem;
}
.live-metric-card {
    border: 1px solid rgba(148, 163, 184, 0.28);
    background: rgba(243, 246, 251, 0.94);
    border-radius: 12px;
    padding: 0.8rem;
    display: grid;
    gap: 0.1rem;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
}
.live-metric-label {
    font-size: 0.76rem;
    color: #64748b;
}
.live-metric-value {
    font-size: 1.5rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.02em;
}

/* How it works */
.how-step {
    text-align: center;
    padding: 1.25rem;
    border-radius: 14px;
    transition: transform 0.28s ease, background 0.28s ease, box-shadow 0.28s ease;
}
.how-step:hover {
    transform: translateY(-4px);
    background: rgba(37, 99, 235, 0.04);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}
.how-step .num {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--landing-primary), var(--landing-primary-light));
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.35);
    transition: transform 0.24s ease, background 0.24s ease, box-shadow 0.24s ease;
}
.how-step h5 {
    font-family: var(--font-heading);
    font-weight: 600;
    transition: color 0.24s ease;
}
.how-step p {
    transition: color 0.24s ease;
}
.how-step.is-active {
    background: linear-gradient(145deg, rgba(37, 99, 235, 0.12), rgba(16, 185, 129, 0.1));
    box-shadow: 0 14px 28px rgba(37, 99, 235, 0.14);
    transform: translateY(-4px);
}
.how-step.is-active .num {
    animation: stepPulse 1.05s ease-in-out infinite;
}
.how-step.is-active h5 {
    color: var(--landing-primary-dark);
}
.how-step.is-complete .num {
    background: linear-gradient(135deg, #10b981, #34d399);
    box-shadow: 0 8px 22px rgba(16, 185, 129, 0.4);
}
.how-step.is-complete p {
    color: #334155 !important;
}
.how-progress {
    width: min(700px, 92%);
    height: 6px;
    margin: 0 auto 1.6rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.12);
    overflow: hidden;
}
#howProgressFill {
    display: block;
    height: 100%;
    width: 0%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--landing-primary), var(--landing-success));
    transition: width 0.22s ease-out;
}

.pricing-live-block {
    position: relative;
    overflow: hidden;
}
.pricing-live-block::after {
    content: "";
    position: absolute;
    width: 380px;
    height: 380px;
    left: -180px;
    bottom: -210px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.16) 0%, rgba(16, 185, 129, 0) 70%);
    pointer-events: none;
}
.pricing-cta-live {
    animation: ctaPulse 2.3s ease-in-out infinite;
}
.pricing-live-note {
    color: #475569;
    font-size: 0.88rem;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}
.live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.45);
    animation: stepPulse 1.5s ease-in-out infinite;
}

/* Testimonials */
.testimonial-card {
    border: 1px solid rgba(37, 99, 235, 0.12);
    border-radius: 1.25rem;
    box-shadow: var(--landing-card-shadow);
    padding: 1.75rem;
    transition: box-shadow 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
    background: linear-gradient(145deg, rgba(245, 248, 252, 0.98), rgba(234, 241, 249, 0.94));
    position: relative;
    overflow: hidden;
}
.testimonial-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg, transparent 20%, rgba(220, 232, 248, 0.5) 40%, transparent 60%);
    transform: translateX(-120%);
    transition: transform 0.75s ease;
    pointer-events: none;
}
.testimonial-card:hover {
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.14);
    transform: translateY(-4px);
    border-color: rgba(37, 99, 235, 0.34);
}
.testimonial-card:hover::after {
    transform: translateX(120%);
}
.testimonial-card.is-active {
    border-color: rgba(16, 185, 129, 0.42);
    box-shadow: 0 14px 34px rgba(16, 185, 129, 0.16);
}
.testimonial-card blockquote {
    margin: 0;
    font-style: italic;
    color: var(--landing-muted);
    font-size: 1.05rem;
    line-height: 1.65;
}
.testimonial-card .author {
    margin-top: 1rem;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--landing-text);
}

.testimonials-live-block {
    position: relative;
    overflow: hidden;
}
.testimonials-live-block::before {
    content: "";
    position: absolute;
    width: 320px;
    height: 320px;
    left: -170px;
    top: -150px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.14) 0%, rgba(37, 99, 235, 0) 72%);
    pointer-events: none;
}

.contact-live-block {
    position: relative;
    overflow: hidden;
}
.contact-live-block::after {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    right: -220px;
    bottom: -250px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.15) 0%, rgba(16, 185, 129, 0) 72%);
    pointer-events: none;
}
.contact-cta-live {
    animation: ctaPulse 2.2s ease-in-out infinite;
}
.contact-trust-row {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.55rem;
    flex-wrap: wrap;
}
.contact-trust-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.38rem 0.62rem;
    border-radius: 999px;
    font-size: 0.73rem;
    font-weight: 600;
    color: #334155;
    border: 1px solid rgba(148, 163, 184, 0.34);
    background: rgba(241, 245, 252, 0.9);
}

/* Legal sections (Security / Terms) */
.legal-section {
    background:
        radial-gradient(900px 360px at 10% -10%, rgba(37, 99, 235, 0.12), transparent 65%),
        radial-gradient(800px 300px at 92% 8%,  rgba(16, 185, 129, 0.10), transparent 62%),
        linear-gradient(180deg, #d0dcea 0%, #c6d4e4 100%);
}

.legal-container {
    max-width: 980px;
}

.legal-title {
    font-family: var(--font-heading);
    font-weight: 800;
    letter-spacing: -0.015em;
    color: #0f172a;
}

.legal-updated {
    display: inline-block;
    padding: 0.28rem 0.62rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.06);
    border: 1px solid rgba(15, 23, 42, 0.09);
}

.legal-content {
    background: rgba(244, 247, 252, 0.96);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 16px;
    padding: 1.2rem 1.25rem;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.08);
    color: #334155 !important;
    line-height: 1.82;
}

.legal-content p {
    margin-bottom: 0.82rem;
}

.legal-content ul {
    margin: 0.55rem 0 0.95rem;
    padding-inline-start: 1.3rem;
}

.legal-content li {
    margin-bottom: 0.35rem;
}

.legal-terms-content h3 {
    font-family: var(--font-heading);
    font-size: 1.01rem;
    font-weight: 750;
    color: #0f172a !important;
    margin-top: 1.22rem !important;
    margin-bottom: 0.42rem !important;
    padding-inline-start: 0.66rem;
    border-inline-start: 3px solid rgba(37, 99, 235, 0.56);
}

.legal-section--security .legal-content {
    position: relative;
}

.legal-section--security .legal-content::after {
    content: "";
    position: absolute;
    width: 180px;
    height: 180px;
    right: -80px;
    bottom: -88px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.12), transparent 70%);
    pointer-events: none;
}

/* CTA section – dramatic close */
.cta-section {
    background: linear-gradient(145deg, #0f172a 0%, #1e3a5f 50%, #1e293b 100%);
    color: #fff;
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}
.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 50% at 50% 100%, rgba(37, 99, 235, 0.2), transparent);
    pointer-events: none;
}
.cta-section-live::after {
    content: "";
    position: absolute;
    inset: -20% -10%;
    background:
        radial-gradient(circle at 24% 68%, rgba(59, 130, 246, 0.18), transparent 34%),
        radial-gradient(circle at 78% 35%, rgba(16, 185, 129, 0.16), transparent 36%);
    animation: meshShift 12s ease-in-out infinite;
    pointer-events: none;
}
.cta-flyby-plane {
    position: absolute;
    top: 24%;
    left: 0;
    width: 168px;
    max-width: 18vw;
    z-index: 1;
    opacity: 0;
    pointer-events: none;
    filter: brightness(1.18) saturate(1.1) drop-shadow(0 10px 24px rgba(15, 23, 42, 0.55));
    transform: translate3d(-220px, 0, 0) rotate(-8deg);
    transition: opacity 0.22s ease;
    will-change: transform;
}
.cta-section-live.is-flyby-active .cta-flyby-plane {
    opacity: 0.9;
}
.cta-inner {
    position: relative;
    z-index: 2;
}
.cta-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.42rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(226, 232, 240, 0.95);
    border: 1px solid rgba(148, 163, 184, 0.35);
    background: rgba(15, 23, 42, 0.35);
    border-radius: 999px;
    padding: 0.33rem 0.65rem;
    margin-bottom: 0.7rem;
}
.cta-kicker-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #34d399;
    box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.42);
    animation: stepPulse 1.4s ease-in-out infinite;
}
.cta-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    margin-bottom: 0.75rem;
    color: #fff;
}
.cta-text {
    color: rgba(255,255,255,0.85);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}
.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}
.cta-live-row {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.55rem;
}
.cta-live-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.38rem 0.64rem;
    border-radius: 999px;
    font-size: 0.74rem;
    font-weight: 600;
    color: rgba(226, 232, 240, 0.95);
    border: 1px solid rgba(148, 163, 184, 0.34);
    background: rgba(15, 23, 42, 0.32);
    backdrop-filter: blur(4px);
}
.btn-cta {
    padding: 0.85rem 1.75rem;
    font-weight: 600;
    font-size: 1.05rem;
    border-radius: 0.75rem;
    transition: transform 0.2s, box-shadow 0.2s;
}
.btn-cta:hover {
    transform: translateY(-2px);
}
.btn-cta-primary {
    background: #fff;
    color: var(--landing-primary-dark);
    border: none;
}
.btn-cta-primary:hover {
    background: #fff;
    color: var(--landing-primary-dark);
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}
.btn-cta-demo {
    background: var(--landing-success);
    color: #fff;
    border: none;
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.4);
}
.btn-cta-demo:hover {
    background: var(--landing-success-hover);
    color: #fff;
    box-shadow: 0 8px 28px rgba(16, 185, 129, 0.5);
}

/* Footer */
footer.landing-footer {
    background: #0f172a;
    color: rgba(255,255,255,0.85);
    padding: 1.5rem 0;
}
footer.landing-footer a {
    color: rgba(255,255,255,0.9);
}
.landing-footer .footer-legal {
    margin-top: 1rem;
    font-size: 0.85rem;
}
.landing-footer-copyright {
    margin: 1rem 0 0;
    font-size: 0.78rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.55);
    letter-spacing: 0.02em;
}

/* Back to top button */
#back-to-top {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 1010;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 50%;
    background: var(--landing-primary);
    color: #fff;
    border: none;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
    transition: opacity 0.2s, transform 0.2s;
}
#back-to-top:hover {
    background: var(--landing-primary-dark);
    transform: translateY(-2px);
}
#back-to-top:focus-visible {
    outline: 2px solid var(--landing-primary);
    outline-offset: 2px;
}
#back-to-top.visible {
    display: flex;
}

.floating-demo-cta {
    position: fixed;
    bottom: 1.5rem;
    left: 1.5rem;
    z-index: 1011;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: linear-gradient(135deg, var(--landing-success), var(--landing-success-hover));
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.86rem;
    border-radius: 999px;
    padding: 0.62rem 0.92rem;
    box-shadow: 0 10px 28px rgba(16, 185, 129, 0.36);
    border: 1px solid rgba(255,255,255,0.22);
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
    transition: opacity 0.22s ease, transform 0.22s ease;
}
.floating-demo-cta.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}
.floating-demo-cta:hover {
    color: #fff;
    box-shadow: 0 14px 32px rgba(16, 185, 129, 0.44);
    transform: translateY(-2px);
}

/* RTL: curiosity strip mockup order */
[dir="rtl"] .curiosity-inner {
    flex-direction: row-reverse;
}
[dir="rtl"] .btn-curiosity:hover {
    transform: translateX(-4px);
}
[dir="rtl"] .floating-demo-cta {
    left: auto;
    right: 1.5rem;
}

/* ══════════════════════════════════════════════════════════════════════
   DRONE HERO ANIMATION LAYER — additive, no existing rules modified
   ══════════════════════════════════════════════════════════════════════ */

#heroParticleCanvas {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    opacity: 0.55;
}

.hero-drone-wrap {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    pointer-events: none;
    width: clamp(240px, 28vw, 400px);
}

#heroDroneViz {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 0 28px rgba(75,142,255,0.42))
            drop-shadow(0 0 8px  rgba(75,142,255,0.22));
    animation: drnFloat 6.5s ease-in-out 2.5s infinite;
}

@media (max-width: 1199px) {
    .hero-drone-wrap { width: clamp(200px, 24vw, 340px); right: 2%; }
}
@media (max-width: 991px) {
    .hero-drone-wrap {
        right: 50%;
        top: auto;
        bottom: -5%;
        transform: translate(50%, 0) scale(0.65);
        opacity: 0.22;
    }
}
@media (max-width: 575px) {
    .hero-drone-wrap { display: none; }
}

/* Assembly entrance keyframes */
@keyframes drnAssembleNW {
    from { transform: translate(-80px, -80px); opacity: 0; }
    to   { transform: translate(0, 0);          opacity: 1; }
}
@keyframes drnAssembleNE {
    from { transform: translate(80px, -80px); opacity: 0; }
    to   { transform: translate(0, 0);         opacity: 1; }
}
@keyframes drnAssembleSE {
    from { transform: translate(80px, 80px); opacity: 0; }
    to   { transform: translate(0, 0);        opacity: 1; }
}
@keyframes drnAssembleSW {
    from { transform: translate(-80px, 80px); opacity: 0; }
    to   { transform: translate(0, 0);         opacity: 1; }
}
@keyframes drnBodyIn {
    from { transform: scale(0); opacity: 0; }
    to   { transform: scale(1); opacity: 1; }
}
@keyframes drnFadeIn  { from { opacity: 0; } to { opacity: 1; } }
@keyframes drnFloat   { 0%,100% { transform: translateY(0); }  50% { transform: translateY(-14px); } }
@keyframes drnRotor   { to { transform: rotate(360deg); } }
@keyframes drnSweep   { to { transform: rotate(360deg); } }

/* Arm assembly — smooth deceleration, no bounce */
.drn-arm.drn-nw { animation: drnAssembleNW 1.0s cubic-bezier(0.22,1,0.36,1) 0.20s both; }
.drn-arm.drn-ne { animation: drnAssembleNE 1.0s cubic-bezier(0.22,1,0.36,1) 0.38s both; }
.drn-arm.drn-se { animation: drnAssembleSE 1.0s cubic-bezier(0.22,1,0.36,1) 0.56s both; }
.drn-arm.drn-sw { animation: drnAssembleSW 1.0s cubic-bezier(0.22,1,0.36,1) 0.74s both; }

/* Body fades/scales in last */
.drn-body {
    transform-box:    fill-box;
    transform-origin: center;
    animation: drnBodyIn 0.8s cubic-bezier(0.22,1,0.36,1) 1.1s both;
}

/* Propellers — slower so they read as spinning, not chaos.
   Remove transform-box so the inline transform-origin (SVG coords) is used correctly. */
.drn-prop {
    animation: drnRotor 0.85s linear 1.9s infinite;
}
.drn-prop-rev {
    animation: drnRotor 0.85s linear 1.9s infinite reverse;
}

/* Radar rings + HUD text fade in */
.drn-radar { animation: drnFadeIn 1.0s ease 1.85s both; }
.drn-hud   { animation: drnFadeIn 0.8s ease 2.20s both; }

/* Radar sweep: fade in then slow spin */
.drn-sweep {
    animation:
        drnFadeIn 0.6s ease 1.85s both,
        drnSweep  6.0s linear 2.0s infinite;
}

/* Hero buttons: shimmer sweep (additive) */
.btn-hero-primary,
.btn-hero-demo,
.btn-cta-primary,
.btn-cta-demo {
    position: relative;
    overflow: hidden;
}
.btn-hero-primary::after,
.btn-hero-demo::after,
.btn-cta-primary::after,
.btn-cta-demo::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg, transparent 25%, rgba(255,255,255,0.22) 50%, transparent 75%);
    background-size: 200% 100%;
    background-position: -200% center;
    animation: landingShimmer 4s ease-in-out 3s infinite;
    pointer-events: none;
    border-radius: inherit;
}
@keyframes landingShimmer {
    0%,40% { background-position: -200% center; }
    60%    { background-position:  200% center; }
    100%   { background-position:  200% center; }
}

/* Navbar: subtle glow when scrolled */
.navbar-landing.is-scrolled {
    box-shadow: 0 2px 24px rgba(0,0,0,0.32);
    border-bottom-color: rgba(75,142,255,0.2);
}

/* ══ END DRONE HERO ANIMATION LAYER ══════════════════════════════════ */

/* ── SECTION RHYTHM — reduce stark-white in lower half ───────────────
   Each pair of sections alternates between two blue-tinted shades so
   the page reads as a natural dark → light → tinted progression.     */

/* Features — keep near-white but add subtle dot grid for depth */
.features-section {
    background:
        radial-gradient(rgba(37,99,235,0.055) 1px, transparent 1px),
        linear-gradient(180deg, var(--landing-surface) 0%, var(--landing-bg) 100%);
    background-size: 28px 28px, 100% 100%;
}

/* Pricing — medium tint */
#pricing {
    background: linear-gradient(180deg, #d8e4f0 0%, #ccd9e8 100%);
}

/* Testimonials — slightly richer */
.testimonials-live-block {
    background: linear-gradient(180deg, #d0dde9 0%, #c5d4e4 100%);
}

/* Contact — deepest tint before the dark CTA */
.contact-live-block {
    background: linear-gradient(180deg, #cad8e6 0%, #c0d0e0 100%);
}

/* Ensure section h2 stays readable on the tinted backgrounds */
.testimonials-live-block h2,
.contact-live-block h2,
#pricing h2 {
    color: #0f172a;
}

@media (max-width: 991.98px) {
    .hero {
        min-height: auto;
        padding: 3.5rem 0 4.5rem;
    }
    .hero-glow-1,
    .hero-glow-2 {
        display: none;
    }
    .hero-bg-wrap::before {
        background-size: min(94vw, 620px);
        opacity: 0.2;
        background-position: center 44%;
    }
    section {
        padding: 3rem 0;
    }
    .curiosity-inner {
        flex-direction: column;
        text-align: center;
    }
    .curiosity-mockup {
        margin: 0 auto;
    }
    .live-metrics {
        grid-template-columns: 1fr;
        max-width: 420px;
    }
    .contact-trust-row {
        gap: 0.45rem;
    }
    .contact-trust-chip {
        font-size: 0.7rem;
    }
    .cta-live-chip {
        font-size: 0.69rem;
        padding: 0.34rem 0.56rem;
    }
    .cta-flyby-plane {
        width: 126px;
        max-width: 32vw;
        top: 20%;
    }
    .floating-demo-cta {
        left: 1rem;
        bottom: 1rem;
        font-size: 0.8rem;
        padding: 0.58rem 0.86rem;
    }
    [dir="rtl"] .floating-demo-cta {
        left: auto;
        right: 1rem;
    }
}

/* ═══════════════════════════════════════════════════════════
   LEVEL-UP PACK — scroll progress, ticker, spotlight, chart bars,
   reveal, FAQ, navbar active
   ═══════════════════════════════════════════════════════════ */

/* 1. Scroll progress bar */
#landingScrollProgress {
    position: fixed;
    top: 0; left: 0;
    height: 3px;
    width: 0%;
    z-index: 9999;
    background: linear-gradient(90deg, #4b8eff 0%, #10d9a0 60%, #4b8eff 100%);
    background-size: 200% 100%;
    animation: progressShimmer 3s linear infinite;
    pointer-events: none;
    border-radius: 0 2px 2px 0;
}
@keyframes progressShimmer {
    from { background-position: 200% center; }
    to   { background-position: 0% center; }
}

/* 2. Hero title — solid fill so words stay visible after JS wraps them in .hero-word
   (Parent-only background-clip:text + transparent fill makes child spans invisible in WebKit.) */
.hero-title {
    color: #f0f7ff;
    background: none;
    -webkit-background-clip: unset;
    background-clip: unset;
    -webkit-text-fill-color: unset;
    text-shadow:
        0 1px 2px rgba(0, 0, 0, 0.7),
        0 4px 28px rgba(0, 0, 0, 0.45),
        0 0 56px rgba(37, 99, 235, 0.35);
}
/* Word stagger spans — JS inserts these */
.hero-title .hero-word {
    display: inline-block;
    opacity: 0;
    transform: translateY(20px);
    animation: heroWordIn 0.65s cubic-bezier(0.22,1,0.36,1) both;
    color: inherit;
}
@keyframes heroWordIn {
    to { opacity: 1; transform: translateY(0); }
}

/* 4. Ticker strip */
.lp-ticker-strip {
    background: rgba(10,16,35,0.97);
    border-top: 1px solid rgba(75,142,255,0.14);
    border-bottom: 1px solid rgba(75,142,255,0.14);
    overflow: hidden;
    padding: 0.6rem 0;
    white-space: nowrap;
    user-select: none;
}
.lp-ticker-inner {
    display: inline-block;
    white-space: nowrap;
    animation: lpTickerScroll 32s linear infinite;
}
.lp-ticker-inner:hover { animation-play-state: paused; }
@keyframes lpTickerScroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}
.lp-ticker-item {
    display: inline-block;
    margin: 0 3rem;
    font-size: 0.76rem;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: rgba(168,196,255,0.72);
    font-family: 'Courier New', monospace;
}
.lp-ticker-item i {
    color: #10d9a0;
    margin-right: 0.45rem;
    font-size: 0.72rem;
}

/* 5. Feature card cursor spotlight */
.feature-card {
    position: relative;
    overflow: hidden;
}
.feature-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(
        circle 160px at var(--cx, 50%) var(--cy, 50%),
        rgba(75,142,255,0.11) 0%,
        transparent 70%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    border-radius: inherit;
}
.feature-card:hover::after { opacity: 1; }

/* 6. Animated mockup chart bars */
.mockup-chart:not(.bars-visible) .mockup-chart-bar {
    transform: scaleY(0);
}
.mockup-chart-bar {
    transform-origin: bottom;
    transition: none;
}
.mockup-chart.bars-visible .mockup-chart-bar {
    animation: barRise 0.55s cubic-bezier(0.22,1,0.36,1) both;
}
.mockup-chart.bars-visible .mockup-chart-bar:nth-child(1) { animation-delay: 0.00s; }
.mockup-chart.bars-visible .mockup-chart-bar:nth-child(2) { animation-delay: 0.07s; }
.mockup-chart.bars-visible .mockup-chart-bar:nth-child(3) { animation-delay: 0.14s; }
.mockup-chart.bars-visible .mockup-chart-bar:nth-child(4) { animation-delay: 0.21s; }
.mockup-chart.bars-visible .mockup-chart-bar:nth-child(5) { animation-delay: 0.28s; }
.mockup-chart.bars-visible .mockup-chart-bar:nth-child(6) { animation-delay: 0.35s; }
@keyframes barRise {
    from { transform: scaleY(0); }
    to   { transform: scaleY(1); }
}

/* 7. Enhanced scroll reveal — smoother easing + subtle scale */
[data-animate] {
    transition: opacity 0.55s cubic-bezier(0.22,1,0.36,1),
                transform 0.55s cubic-bezier(0.22,1,0.36,1);
}
[data-animate]:not([data-animate="left"]):not([data-animate="right"]):not([data-animate="zoom"]):not(.in-view) {
    transform: translateY(22px) scale(0.975);
}
[data-animate]:not([data-animate="left"]):not([data-animate="right"]):not([data-animate="zoom"]).in-view {
    transform: translateY(0) scale(1);
}
/* Section heading underline reveal */
.section-heading {
    position: relative;
    display: inline-block;
    padding-bottom: 0.55rem;
}
.section-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 52px; height: 3px;
    background: linear-gradient(90deg, #4b8eff, #10d9a0);
    border-radius: 2px;
    transform: translateX(-50%) scaleX(0);
    transition: transform 0.65s cubic-bezier(0.22,1,0.36,1) 0.35s;
}
.section-heading.in-view::after {
    transform: translateX(-50%) scaleX(1);
}

/* 8. FAQ improvements */
#faqAccordion .accordion-item {
    border-radius: 10px !important;
    overflow: hidden;
    margin-bottom: 0.5rem;
    border: 1px solid rgba(75,142,255,0.15) !important;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
#faqAccordion .accordion-item:last-child { margin-bottom: 0; }
#faqAccordion .accordion-button {
    font-weight: 600;
    font-size: 0.94rem;
    letter-spacing: 0.01em;
    border-radius: 10px !important;
    transition: background 0.25s ease, color 0.25s ease;
}
#faqAccordion .accordion-button:not(.collapsed) {
    background: linear-gradient(135deg, rgba(75,142,255,0.12) 0%, rgba(16,217,160,0.08) 100%);
    color: #a8c4ff;
    box-shadow: none;
}
#faqAccordion .accordion-button::after {
    transition: transform 0.35s cubic-bezier(0.22,1,0.36,1);
}
#faqAccordion .accordion-body {
    font-size: 0.88rem;
    line-height: 1.65;
    padding-top: 0.25rem;
}

/* 9. Navbar active section indicator */
.navbar-landing .nav-link {
    position: relative;
}
.navbar-landing .nav-link::before {
    content: '';
    position: absolute;
    bottom: -3px; left: 50%;
    width: 70%;
    height: 2px;
    background: linear-gradient(90deg, #4b8eff, #10d9a0);
    border-radius: 1px;
    transform: translateX(-50%) scaleX(0);
    transition: transform 0.35s cubic-bezier(0.22,1,0.36,1);
    pointer-events: none;
}
.navbar-landing .nav-link.is-active::before {
    transform: translateX(-50%) scaleX(1);
}

/* --- Contact page (premium) --- */
.contact-premium-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(2.5rem, 6vw, 4.25rem) 0 clamp(2rem, 4vw, 3rem);
    background:
        radial-gradient(120% 80% at 100% 0%, rgba(75, 142, 255, 0.22) 0%, transparent 55%),
        radial-gradient(90% 70% at 0% 100%, rgba(16, 217, 160, 0.18) 0%, transparent 50%),
        linear-gradient(165deg, #0b1220 0%, #0f172a 40%, #111c33 100%);
    color: #e2e8f0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.contact-premium-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.06) 0, transparent 28%),
        radial-gradient(circle at 80% 70%, rgba(75, 142, 255, 0.12) 0, transparent 32%);
    animation: meshShift 14s ease-in-out infinite;
    pointer-events: none;
}
.contact-premium-hero .container {
    position: relative;
    z-index: 1;
}
.contact-premium-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #b6e6ff;
    background: rgba(75, 142, 255, 0.18);
    border: 1px solid rgba(75, 142, 255, 0.35);
    margin-bottom: 1rem;
    animation: fadeInUp 0.6s ease both;
}
.contact-premium-hero h1 {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: clamp(1.65rem, 4vw, 2.35rem);
    letter-spacing: -0.03em;
    line-height: 1.2;
    color: #fff;
    max-width: 18ch;
    animation: fadeInUp 0.65s ease 0.08s both;
}
.contact-premium-hero .lead {
    max-width: 46rem;
    color: rgba(226, 232, 240, 0.88);
    font-size: 1.05rem;
    animation: fadeInUp 0.7s ease 0.14s both;
}
.contact-premium-scroll {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0%;
    z-index: 3000;
    background: linear-gradient(90deg, #4b8eff, #10d9a0);
    pointer-events: none;
    transition: width 0.12s ease-out;
}
.contact-premium-shell {
    padding: clamp(2rem, 4vw, 3.5rem) 0 clamp(3rem, 6vw, 4.5rem);
    background: linear-gradient(180deg, var(--landing-bg) 0%, #c4d4e4 100%);
}
.contact-premium-stat {
    border-radius: 1rem;
    padding: 1rem 1.1rem;
    background: var(--landing-surface);
    border: 1px solid rgba(15, 23, 42, 0.07);
    box-shadow: var(--landing-card-shadow);
    height: 100%;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.contact-premium-stat:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 36px rgba(15, 23, 42, 0.1);
}
.contact-premium-stat .val {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    background: linear-gradient(135deg, #2563eb, #10b981);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.contact-premium-stat .lbl {
    font-size: 0.8rem;
    color: var(--landing-muted);
    font-weight: 600;
    margin-top: 0.25rem;
}
.contact-trust-row--page {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.25rem;
}
.contact-trust-row--page .contact-trust-chip {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #e2e8f0;
}
.contact-premium-aside {
    padding: 0.25rem 0;
}
.contact-premium-aside h2 {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.35rem;
    color: var(--landing-text);
    margin-bottom: 0.5rem;
}
.contact-premium-aside .lead-small {
    color: var(--landing-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}
.contact-step-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
}
.contact-step-list li {
    display: flex;
    gap: 0.85rem;
    margin-bottom: 1rem;
    align-items: flex-start;
}
.contact-step-idx {
    flex-shrink: 0;
    width: 2rem;
    height: 2rem;
    border-radius: 0.65rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.85rem;
    color: #fff;
    background: linear-gradient(135deg, #2563eb, #0d9488);
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.35);
}
.contact-step-body h3 {
    font-size: 0.95rem;
    font-weight: 700;
    margin: 0 0 0.2rem;
    color: var(--landing-text);
}
.contact-step-body p {
    margin: 0;
    font-size: 0.86rem;
    color: var(--landing-muted);
    line-height: 1.55;
}
.contact-premium-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}
.contact-premium-links a {
    font-size: 0.84rem;
    font-weight: 600;
}
.contact-quote-card {
    border-radius: 1rem;
    padding: 1.15rem 1.25rem;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.08) 0%, rgba(16, 185, 129, 0.06) 100%);
    border: 1px solid rgba(75, 142, 255, 0.2);
    position: relative;
    overflow: hidden;
}
.contact-quote-card::before {
    content: '\201C';
    position: absolute;
    top: -0.25rem;
    left: 0.65rem;
    font-size: 3.5rem;
    line-height: 1;
    color: rgba(75, 142, 255, 0.15);
    font-family: Georgia, serif;
    pointer-events: none;
}
.contact-quote-card blockquote {
    margin: 0 0 0.5rem;
    padding-top: 0.35rem;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--landing-text);
    position: relative;
    z-index: 1;
}
.contact-quote-card cite {
    font-size: 0.8rem;
    color: var(--landing-muted);
    font-style: normal;
    font-weight: 600;
    position: relative;
    z-index: 1;
}
.contact-form-card--premium {
    max-width: none;
    border: none;
    border-radius: 1.35rem;
    box-shadow:
        0 4px 6px rgba(15, 23, 42, 0.04),
        0 24px 48px rgba(37, 99, 235, 0.12),
        0 0 0 1px rgba(75, 142, 255, 0.12);
    background: linear-gradient(180deg, #f7f9fd 0%, var(--landing-surface) 100%);
    position: relative;
    overflow: hidden;
}
.contact-form-card--premium::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #4b8eff, #10d9a0, #4b8eff);
    background-size: 200% 100%;
    animation: meshShift 8s linear infinite;
}
.contact-form-card--premium .card-body {
    position: relative;
    z-index: 1;
}
.contact-form-card--premium .form-kicker {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #2563eb;
    margin-bottom: 0.35rem;
}
.contact-form-card--premium .form-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.45rem;
    color: var(--landing-text);
    margin-bottom: 0.35rem;
}
.contact-form-card--premium .form-control,
.contact-form-card--premium .form-select {
    border-radius: 0.75rem;
    border-color: rgba(15, 23, 42, 0.12);
    padding-top: 0.65rem;
    padding-bottom: 0.65rem;
}
.contact-form-card--premium .form-control:focus,
.contact-form-card--premium .form-select:focus {
    border-color: rgba(37, 99, 235, 0.55);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}
.contact-form-card--premium .btn-submit {
    border: none;
    background: linear-gradient(135deg, #059669 0%, #10b981 45%, #34d399 100%);
    color: #fff;
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.38);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.contact-form-card--premium .btn-submit:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(16, 185, 129, 0.48);
    color: #fff;
}
.contact-form-card--premium .privacy-note {
    font-size: 0.78rem;
    color: var(--landing-muted);
    margin-top: 1rem;
    line-height: 1.5;
}
.contact-premium-footer {
    background: #0f172a;
    color: rgba(226, 232, 240, 0.85);
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.contact-premium-footer a {
    color: #7dd3fc;
    text-decoration: none;
    font-weight: 600;
}
.contact-premium-footer a:hover {
    text-decoration: underline;
    color: #bae6fd;
}
.contact-premium-footer .footer-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 2rem;
    justify-content: center;
    align-items: center;
    margin-bottom: 0.75rem;
}
.contact-premium-footer-copyright {
    margin: 0.85rem 0 0;
    font-size: 0.78rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 0.02em;
}
@media (max-width: 991.98px) {
    .contact-premium-hero h1 {
        max-width: none;
    }
}

/* --- FAQ section (landing) — premium layout --- */
.faq-live-section {
    position: relative;
    overflow: hidden;
}
.faq-live-section::before {
    content: "";
    position: absolute;
    width: min(520px, 90vw);
    height: min(520px, 90vw);
    left: -180px;
    bottom: -220px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.12) 0%, rgba(16, 185, 129, 0) 70%);
    pointer-events: none;
}
.faq-kicker {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #2563eb;
    margin-bottom: 0.5rem;
}
.faq-subtitle {
    max-width: 40rem;
    font-size: 0.98rem;
    line-height: 1.65;
}
.faq-accordion-shell {
    background: var(--landing-surface);
    border-radius: 1.25rem;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 12px 40px rgba(15, 23, 42, 0.07);
    padding: 1rem 1rem 1.1rem;
}
@media (min-width: 768px) {
    .faq-accordion-shell {
        padding: 1.25rem 1.35rem 1.35rem;
    }
}
.faq-toolbar {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1rem;
}
@media (min-width: 576px) {
    .faq-toolbar {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}
.faq-search-wrap {
    position: relative;
    flex: 1;
    min-width: 0;
    max-width: 100%;
}
@media (min-width: 576px) {
    .faq-search-wrap {
        max-width: 20rem;
    }
}
.faq-search-icon {
    position: absolute;
    left: 0.95rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--landing-muted);
    font-size: 0.85rem;
    pointer-events: none;
    z-index: 1;
}
[dir="rtl"] .faq-search-icon {
    left: auto;
    right: 0.95rem;
}
.faq-search-input {
    padding-left: 2.5rem;
    border-radius: 999px !important;
    border-color: rgba(15, 23, 42, 0.12) !important;
    font-size: 0.9rem;
}
[dir="rtl"] .faq-search-input {
    padding-left: 0.75rem;
    padding-right: 2.5rem;
}
.faq-toolbar-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    flex-shrink: 0;
}
.faq-live-section #faqAccordion .accordion-button {
    display: flex;
    align-items: center;
    text-align: start;
    gap: 0.5rem;
    padding-top: 1rem;
    padding-bottom: 1rem;
}
.faq-q-inner {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    width: 100%;
}
.faq-q-icon {
    flex-shrink: 0;
    width: 2.35rem;
    height: 2.35rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    color: #2563eb;
    background: linear-gradient(145deg, rgba(37, 99, 235, 0.12), rgba(16, 185, 129, 0.1));
    border: 1px solid rgba(75, 142, 255, 0.22);
}
.faq-q-text {
    flex: 1;
    min-width: 0;
    line-height: 1.35;
}
.faq-live-section #faqAccordion .accordion-button:not(.collapsed) {
    color: #0f172a;
    background: linear-gradient(135deg, rgba(75, 142, 255, 0.1) 0%, rgba(16, 217, 160, 0.07) 100%);
}
.faq-live-section #faqAccordion .accordion-button:not(.collapsed) .faq-q-icon {
    color: #0f766e;
    border-color: rgba(16, 185, 129, 0.35);
}
.faq-live-section #faqAccordion .accordion-body {
    font-size: 0.92rem;
    line-height: 1.7;
    padding: 0.25rem 1rem 1.15rem 3.15rem;
    color: #475569;
}
[dir="rtl"] .faq-live-section #faqAccordion .accordion-body {
    padding-left: 1rem;
    padding-right: 3.15rem;
}
.faq-side-card {
    position: relative;
    border-radius: 1.25rem;
    padding: 1.5rem 1.35rem;
    background: linear-gradient(165deg, #0f172a 0%, #1e293b 100%);
    color: #e2e8f0;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.2);
    overflow: hidden;
}
@media (min-width: 992px) {
    .faq-side-card {
        position: sticky;
        top: calc(var(--landing-nav-height, 56px) + 1rem);
    }
}
.faq-side-glow {
    position: absolute;
    width: 200px;
    height: 200px;
    top: -80px;
    right: -60px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(75, 142, 255, 0.45) 0%, transparent 70%);
    pointer-events: none;
}
[dir="rtl"] .faq-side-glow {
    right: auto;
    left: -60px;
}
.faq-side-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 1;
}
.faq-side-text {
    font-size: 0.88rem;
    line-height: 1.6;
    color: rgba(226, 232, 240, 0.88);
    margin-bottom: 1.1rem;
    position: relative;
    z-index: 1;
}
.faq-side-card .btn-demo {
    position: relative;
    z-index: 1;
}

/* --- Customer success (landing) --- */
.customer-success-section {
    position: relative;
    overflow: hidden;
}
.customer-success-section::before {
    content: "";
    position: absolute;
    width: min(480px, 85vw);
    height: min(480px, 85vw);
    right: -160px;
    top: -200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.14) 0%, rgba(37, 99, 235, 0) 70%);
    pointer-events: none;
}
[dir="rtl"] .customer-success-section::before {
    right: auto;
    left: -160px;
}
.cs-kicker {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #0d9488;
    margin-bottom: 0.45rem;
}
.cs-subtitle {
    max-width: 44rem;
    font-size: 0.98rem;
    line-height: 1.65;
}
.cs-outcome-card {
    height: 100%;
    border-radius: 1.1rem;
    padding: 1.35rem 1.25rem 1.4rem;
    background: linear-gradient(165deg, var(--landing-surface) 0%, var(--landing-bg) 100%);
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 10px 32px rgba(15, 23, 42, 0.06);
    text-align: center;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.cs-outcome-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(37, 99, 235, 0.1);
}
.cs-outcome-icon {
    display: inline-flex;
    width: 2.5rem;
    height: 2.5rem;
    align-items: center;
    justify-content: center;
    border-radius: 0.75rem;
    margin-bottom: 0.65rem;
    font-size: 1rem;
    color: #2563eb;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(16, 185, 129, 0.1));
    border: 1px solid rgba(75, 142, 255, 0.2);
}
.cs-outcome-val {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: clamp(1.65rem, 3.5vw, 2rem);
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, #1d4ed8, #0d9488);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    line-height: 1.15;
}
.cs-outcome-lbl {
    margin-top: 0.45rem;
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--landing-muted);
    line-height: 1.45;
    max-width: 16rem;
    margin-left: auto;
    margin-right: auto;
}
.cs-case-card {
    height: 100%;
    border-radius: 1.15rem;
    padding: 1.35rem 1.3rem 1.4rem;
    background: #0f172a;
    color: #e2e8f0;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 14px 36px rgba(15, 23, 42, 0.18);
    position: relative;
    overflow: hidden;
    transition: transform 0.25s ease, border-color 0.25s ease;
}
.cs-case-card::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 3px;
    background: linear-gradient(90deg, #4b8eff, #10d9a0);
    opacity: 0.85;
    transform: scaleX(0.35);
    transform-origin: left;
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
[dir="rtl"] .cs-case-card::after {
    transform-origin: right;
}
.cs-case-card:hover {
    transform: translateY(-3px);
    border-color: rgba(125, 211, 252, 0.25);
}
.cs-case-card:hover::after {
    transform: scaleX(1);
}
.cs-case-tag {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #7dd3fc;
    background: rgba(125, 211, 252, 0.12);
    border: 1px solid rgba(125, 211, 252, 0.28);
    border-radius: 999px;
    padding: 0.25rem 0.65rem;
    margin-bottom: 0.75rem;
}
.cs-case-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.08rem;
    color: #fff;
    margin: 0 0 0.55rem;
    line-height: 1.3;
}
.cs-case-body {
    margin: 0;
    font-size: 0.88rem;
    line-height: 1.65;
    color: rgba(226, 232, 240, 0.88);
}
.cs-footnote {
    max-width: 36rem;
    margin-left: auto;
    margin-right: auto;
}
