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

/* =========================================
   MANTRAZ — Shared Design System
   PT Cakra Sinergi Kreatif
   ========================================= */

:root {
    --light-orange: #fba63c;
    --orange: #f15928;
    --light-blue: #00adef;
    --blue: #1a78c0;
    --bg-light: #f8fafc;
    --text-dark: #0f172a;
    --glow-blue: rgba(0, 173, 239, 0.35);
    --glow-orange: rgba(241, 89, 40, 0.35);
}

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

html,
body {
    margin: 0 !important;
    padding: 0 !important;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* === SCROLLBAR === */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #0f172a;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(var(--blue), var(--orange));
    border-radius: 99px;
}

/* === LOADER === */
#page-loader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: #0f172a;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s, visibility 0.6s;
}

#page-loader.hidden {
    opacity: 0;
    visibility: hidden;
    display: none;
}

.loader-ring {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: var(--light-blue);
    border-right-color: var(--orange);
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* === NAV === */
.nav-floating {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid rgba(0, 0, 0, 0.04);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.nav-floating:hover {
    box-shadow: 0 12px 40px rgba(0, 173, 239, 0.12), 0 4px 16px rgba(0, 0, 0, 0.06);
    border-color: rgba(0, 173, 239, 0.1);
    transform: translateY(-2px);
}

.nav-floating.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.nav-floating.scrolled:hover {
    box-shadow: 0 8px 30px rgba(0, 173, 239, 0.15), 0 2px 10px rgba(0, 0, 0, 0.08);
    transform: translateY(-1px);
}

.nav-link {
    position: relative;
    padding: 6px 14px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.nav-link:hover {
    background: rgba(0, 173, 239, 0.06);
    color: var(--blue) !important;
}

.nav-link.active {
    background: rgba(0, 173, 239, 0.08);
    color: var(--blue) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--blue), var(--orange));
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 60%;
}

/* Mobile menu */
.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 100;
    background: rgba(15, 23, 42, 0.97);
    backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-menu.open {
    transform: translateX(0);
}

.mobile-menu a {
    color: white;
    font-size: 1.5rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    transition: color 0.3s;
}

.mobile-menu a:hover {
    color: var(--light-blue);
}

/* === GRADIENTS === */
.text-gradient-primary {
    background: linear-gradient(135deg, var(--orange) 0%, var(--light-orange) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-blue {
    background: linear-gradient(135deg, var(--light-blue) 0%, #6dd5fa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-orange {
    background: linear-gradient(135deg, var(--orange), var(--light-orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* === HERO (shared) === */
.hero-section,
.vms-hero {
    background: linear-gradient(135deg, #0a0f1e 0%, #0d1b2a 40%, #0f172a 100%);
    position: relative;
    overflow: hidden;
}

.hero-section {
    min-height: 100vh;
}

.hero-grid-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background-image:
        linear-gradient(rgba(0, 173, 239, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 173, 239, 0.05) 1px, transparent 1px);
    background-size: 80px 80px;
    animation: grid-move 20s linear infinite;
}

@keyframes grid-move {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(80px);
    }
}

.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    z-index: 1;
    pointer-events: none;
}

.hero-glow-1 {
    width: 500px;
    height: 500px;
    background: var(--glow-blue);
    top: 10%;
    left: 5%;
}

.hero-glow-2 {
    width: 400px;
    height: 400px;
    background: var(--glow-orange);
    bottom: 10%;
    right: 10%;
    opacity: 0.5;
}

#particles-canvas {
    position: absolute;
    inset: 0;
    z-index: 1;
    opacity: 0.6;
}

/* === WIREFRAME FLEET (TOP-DOWN / BIRD'S EYE) === */
.ship-scene {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    overflow: hidden;
    opacity: 0.5;
}

/* Top-down ship base */
.fleet-ship {
    position: absolute;
    z-index: 3;
}

.fleet-ship svg {
    filter: drop-shadow(0 0 8px rgba(0, 173, 239, 0.4));
}

.fleet-ship svg path,
.fleet-ship svg line,
.fleet-ship svg rect,
.fleet-ship svg ellipse,
.fleet-ship svg polygon {
    stroke: rgba(0, 173, 239, 0.55);
    stroke-width: 1;
    fill: none;
}

.fleet-ship svg .hull-fill {
    fill: rgba(0, 173, 239, 0.04);
}

.fleet-ship svg .bridge-fill {
    fill: rgba(0, 173, 239, 0.08);
}

.fleet-ship svg .detail-line {
    stroke: rgba(0, 173, 239, 0.2);
    stroke-width: 0.5;
    stroke-dasharray: 2 2;
}

/* Ship 1 — Large cargo, heading NE */
.fleet-ship-1 {
    width: 60px;
    animation: sail-ne 35s linear infinite;
    top: 55%;
    left: -5%;
    transform: rotate(-35deg);
}

@keyframes sail-ne {
    0% {
        top: 75%;
        left: -8%;
    }

    100% {
        top: -10%;
        left: 55%;
    }
}

/* Ship 2 — Medium, heading E */
.fleet-ship-2 {
    width: 45px;
    animation: sail-e 28s linear infinite;
    top: 35%;
    transform: rotate(-90deg);
    opacity: 0.7;
}

@keyframes sail-e {
    0% {
        left: -10%;
    }

    100% {
        left: 110%;
    }
}

/* Ship 3 — Small, heading SE */
.fleet-ship-3 {
    width: 35px;
    animation: sail-se 40s linear infinite;
    transform: rotate(-145deg);
    opacity: 0.4;
}

@keyframes sail-se {
    0% {
        top: -5%;
        left: 20%;
    }

    100% {
        top: 110%;
        left: 80%;
    }
}

/* Ship 4 — Medium tanker, heading NW */
.fleet-ship-4 {
    width: 50px;
    animation: sail-nw 45s linear infinite;
    transform: rotate(40deg);
    opacity: 0.5;
}

@keyframes sail-nw {
    0% {
        top: 100%;
        left: 85%;
    }

    100% {
        top: -15%;
        left: 30%;
    }
}

/* Ship 5 — Small tug, heading W */
.fleet-ship-5 {
    width: 28px;
    animation: sail-w 22s linear infinite;
    top: 70%;
    transform: rotate(90deg);
    opacity: 0.35;
}

@keyframes sail-w {
    0% {
        left: 110%;
    }

    100% {
        left: -10%;
    }
}

/* Route trail (dashed line behind ship) */
.route-trail {
    position: absolute;
    z-index: 1;
    border: none;
    pointer-events: none;
}

.route-trail-1 {
    width: 200%;
    height: 1px;
    background: linear-gradient(to right, transparent 0%, rgba(0, 173, 239, 0.06) 20%, rgba(0, 173, 239, 0.1) 80%, transparent 100%);
    top: 55%;
    left: -5%;
    transform: rotate(-35deg);
    transform-origin: left center;
}

.route-trail-2 {
    width: 200%;
    height: 1px;
    background: linear-gradient(to right, transparent 0%, rgba(0, 173, 239, 0.04) 30%, rgba(0, 173, 239, 0.08) 70%, transparent 100%);
    top: 35%;
    left: 0;
}

.route-trail-3 {
    width: 200%;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(0, 173, 239, 0.04), transparent);
    top: 20%;
    left: 15%;
    transform: rotate(40deg);
    transform-origin: left center;
}

/* Radar ping on ships */
.ship-ping {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.ship-ping::before,
.ship-ping::after {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    border: 1px solid rgba(0, 173, 239, 0.4);
    animation: ping-expand 3s ease-out infinite;
}

.ship-ping::after {
    animation-delay: 1s;
}

@keyframes ping-expand {
    0% {
        transform: scale(1);
        opacity: 0.7;
    }

    100% {
        transform: scale(8);
        opacity: 0;
    }
}

/* Ship blip dot */
.ship-blip {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 4px;
    height: 4px;
    background: rgba(0, 173, 239, 0.8);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    z-index: 5;
    animation: blip-pulse 2s ease-in-out infinite;
}

@keyframes blip-pulse {

    0%,
    100% {
        box-shadow: 0 0 4px rgba(0, 173, 239, 0.5);
    }

    50% {
        box-shadow: 0 0 12px rgba(0, 173, 239, 0.8), 0 0 20px rgba(0, 173, 239, 0.3);
    }
}

/* Orange blip for one ship */
.fleet-ship-4 .ship-blip {
    background: rgba(241, 89, 40, 0.7);
    animation-name: blip-pulse-orange;
}

.fleet-ship-4 .ship-ping::before,
.fleet-ship-4 .ship-ping::after {
    border-color: rgba(241, 89, 40, 0.3);
}

@keyframes blip-pulse-orange {

    0%,
    100% {
        box-shadow: 0 0 4px rgba(241, 89, 40, 0.5);
    }

    50% {
        box-shadow: 0 0 12px rgba(241, 89, 40, 0.8), 0 0 20px rgba(241, 89, 40, 0.3);
    }
}

/* Ship label */
.ship-label {
    position: absolute;
    top: -18px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 6px;
    font-weight: 800;
    color: rgba(0, 173, 239, 0.4);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    white-space: nowrap;
    font-family: 'Plus Jakarta Sans', monospace;
}

.fleet-ship-4 .ship-label {
    color: rgba(241, 89, 40, 0.35);
}

/* Coordinate markers */
.coord-marker {
    position: absolute;
    font-size: 7px;
    font-weight: 600;
    color: rgba(0, 173, 239, 0.1);
    font-family: 'Courier New', monospace;
    letter-spacing: 0.05em;
    z-index: 1;
}

/* === BUTTONS === */
.btn-primary {
    background: linear-gradient(135deg, var(--orange), var(--light-orange));
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--light-orange), #ffd700);
    opacity: 0;
    transition: opacity 0.4s;
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 40px -10px var(--glow-orange);
}

.btn-primary span {
    position: relative;
    z-index: 2;
}

.btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s;
    color: white;
}

.btn-outline-light:hover {
    border-color: var(--light-blue);
    background: rgba(0, 173, 239, 0.1);
    box-shadow: 0 0 30px rgba(0, 173, 239, 0.15);
}

/* === STAT CARDS === */
.stat-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border-radius: 1.5rem;
    padding: 1.5rem 2rem;
    transition: all 0.3s;
}

.stat-card:hover {
    border-color: rgba(0, 173, 239, 0.3);
    background: rgba(0, 173, 239, 0.05);
}

/* === BADGES === */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 173, 239, 0.1);
    border: 1px solid rgba(0, 173, 239, 0.2);
    border-radius: 999px;
    padding: 8px 20px;
    color: var(--light-blue);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    animation: pulse-border 3s ease-in-out infinite;
}

@keyframes pulse-border {

    0%,
    100% {
        border-color: rgba(0, 173, 239, 0.2);
    }

    50% {
        border-color: rgba(0, 173, 239, 0.6);
    }
}

.tech-badge {
    display: inline-block;
    padding: 6px 16px;
    background: linear-gradient(135deg, rgba(0, 173, 239, 0.08), rgba(0, 173, 239, 0.03));
    border: 1px solid rgba(0, 173, 239, 0.12);
    border-radius: 999px;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--blue);
}

/* === HERO IMAGE WRAPPER === */
.hero-image-wrapper {
    position: relative;
}

.hero-image-wrapper::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 2.5rem;
    background: linear-gradient(135deg, var(--light-blue), var(--orange));
    z-index: 0;
    opacity: 0.5;
    animation: border-glow 4s ease-in-out infinite alternate;
}

@keyframes border-glow {
    0% {
        opacity: 0.3;
        filter: blur(5px);
    }

    100% {
        opacity: 0.7;
        filter: blur(10px);
    }
}

/* === TICKER === */
.ticker-container {
    overflow: hidden;
    white-space: nowrap;
    padding: 28px 0;
    background: #fff;
    border-bottom: 1px solid #f1f5f9;
}

.ticker-wrapper {
    display: inline-block;
    animation: ticker 35s linear infinite;
}

@keyframes ticker {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.ticker-item {
    display: inline-flex;
    align-items: center;
    padding: 0 50px;
    font-weight: 800;
    color: #cbd5e1;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    transition: color 0.3s;
}

.ticker-item:hover {
    color: var(--blue);
}

/* === GLASS CARD === */
.glass-card {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 1);
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: 0 12px 40px -10px rgba(0, 0, 0, 0.06);
}

.glass-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px -20px rgba(0, 173, 239, 0.15);
    border-color: rgba(0, 173, 239, 0.2);
}

/* === FEATURE CARDS V2 === */
.feature-card-v2 {
    position: relative;
    background: white;
    border-radius: 2rem;
    padding: 3rem;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    border: 1px solid #f1f5f9;
    overflow: hidden;
}

.feature-card-v2::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--blue), var(--light-blue), var(--orange));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

.feature-card-v2:hover::before {
    transform: scaleX(1);
}

.feature-card-v2:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 64px;
    height: 64px;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 2rem;
    position: relative;
}

.feature-icon::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 1.2rem;
    background: inherit;
    opacity: 0.2;
    z-index: -1;
    filter: blur(8px);
}

/* === SOLUTION SECTION === */
.solution-item {
    border-left: 4px solid transparent;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.solution-item.active {
    background: linear-gradient(90deg, rgba(0, 173, 239, 0.05), transparent);
    border-left-color: var(--blue);
    transform: translateX(8px);
}

.solution-item.active h4 {
    color: var(--blue);
}

.solution-item:hover:not(.active) {
    background: rgba(0, 0, 0, 0.01);
    transform: translateX(4px);
}

#solution-image-container img {
    transition: opacity 0.5s ease-in-out, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* === PRODUCT CARDS === */
.product-card {
    background: white;
    border: 1px solid #f1f5f9;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
}

.product-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 40%, rgba(0, 173, 239, 0.03) 50%, transparent 60%);
    transition: transform 0.8s;
    transform: translateX(-100%);
}

.product-card:hover::after {
    transform: translateX(100%);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.08);
    border-color: rgba(0, 173, 239, 0.2);
}

/* === TIMELINE === */
.timeline-dot {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 4px solid white;
    position: absolute;
    left: -11px;
    top: 0;
    transition: all 0.3s;
}

.timeline-step:hover .timeline-dot {
    transform: scale(1.3);
    box-shadow: 0 0 20px currentColor;
}

/* === DIVIDER === */
.section-divider {
    height: 1px;
    width: 100%;
    background: linear-gradient(90deg, transparent, #e2e8f0, transparent);
}

/* === CTA SECTION === */
.cta-section {
    background: linear-gradient(135deg, #0d1b2a 0%, var(--blue) 50%, var(--orange) 100%);
    position: relative;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

/* === FOOTER === */
.footer-link {
    color: #94a3b8;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.footer-link:hover {
    color: var(--light-blue);
    transform: translateX(4px);
}

.social-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #94a3b8;
    transition: all 0.3s;
}

.social-icon:hover {
    background: var(--light-blue);
    color: white;
    border-color: var(--light-blue);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 173, 239, 0.3);
}

/* === IMPACT NUMBERS === */
.impact-section {
    background: linear-gradient(135deg, #0a0f1e 0%, #0d1b2a 50%, #111827 100%);
    position: relative;
}

.impact-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(ellipse at 20% 50%, rgba(0, 173, 239, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 50%, rgba(241, 89, 40, 0.06) 0%, transparent 50%);
}

.impact-num {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1;
    background: linear-gradient(135deg, #fff 0%, #94a3b8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@media (min-width: 768px) {
    .impact-num {
        font-size: 5rem;
    }
}

.impact-card {
    text-align: center;
    padding: 2.5rem 1.5rem;
    border-radius: 2rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.4s;
}

.impact-card:hover {
    background: rgba(0, 173, 239, 0.06);
    border-color: rgba(0, 173, 239, 0.2);
    transform: translateY(-6px);
}

/* === HOW IT WORKS === */
.process-step {
    position: relative;
    text-align: center;
    padding: 2.5rem 2rem;
}

.process-number {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 900;
    color: white;
    margin: 0 auto 1.5rem;
    position: relative;
    z-index: 2;
}

.process-number::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    z-index: -1;
    background: inherit;
    opacity: 0.25;
    filter: blur(12px);
}

.process-connector {
    position: absolute;
    top: 32px;
    right: -50%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--light-blue), rgba(0, 173, 239, 0.1));
    z-index: 1;
}

@media (max-width: 768px) {
    .process-connector {
        display: none;
    }
}

/* === TESTIMONIALS === */
.testimonial-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 1);
    border-radius: 2rem;
    padding: 2.5rem;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '\201C';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 8rem;
    font-weight: 900;
    line-height: 1;
    color: rgba(0, 173, 239, 0.06);
    font-family: Georgia, serif;
}

.testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
    border-color: rgba(0, 173, 239, 0.15);
}

.testimonial-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.star-rating {
    color: #f59e0b;
    font-size: 0.8rem;
    letter-spacing: 2px;
}

/* === FAQ === */
.faq-item {
    border: 1px solid #f1f5f9;
    border-radius: 1.25rem;
    overflow: hidden;
    transition: all 0.3s;
    background: white;
}

.faq-item:hover {
    border-color: rgba(0, 173, 239, 0.2);
}

.faq-item.open {
    border-color: rgba(0, 173, 239, 0.3);
    box-shadow: 0 8px 30px rgba(0, 173, 239, 0.08);
}

.faq-question {
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 700;
    font-size: 1rem;
    color: #0f172a;
    transition: color 0.3s;
}

.faq-question:hover {
    color: var(--blue);
}

.faq-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    flex-shrink: 0;
    font-size: 0.75rem;
    color: #64748b;
}

.faq-item.open .faq-icon {
    background: var(--light-blue);
    color: white;
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.23, 1, 0.32, 1), padding 0.3s;
    padding: 0 2rem;
}

.faq-item.open .faq-answer {
    max-height: 300px;
    padding: 0 2rem 1.5rem;
}

/* === SCROLL PROGRESS BAR === */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--light-blue), var(--orange));
    z-index: 9999;
    transition: width 0.1s linear;
    box-shadow: 0 0 10px rgba(0, 173, 239, 0.5);
}

/* === LIVE ALERT POPUP === */
.live-alert {
    position: absolute;
    top: 120px;
    right: 40px;
    z-index: 15;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 173, 239, 0.2);
    border-radius: 1rem;
    padding: 16px 20px;
    max-width: 280px;
    opacity: 0;
    transform: translateX(30px);
    animation: alert-slide-in 0.6s ease-out 3s forwards,
        alert-slide-out 0.5s ease-in 8s forwards;
    pointer-events: none;
}

.live-alert-dot {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    display: inline-block;
    animation: dot-blink 1.5s ease-in-out infinite;
    margin-right: 8px;
    flex-shrink: 0;
}

@keyframes alert-slide-in {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes alert-slide-out {
    to {
        opacity: 0;
        transform: translateX(30px);
    }
}

@keyframes dot-blink {

    0%,
    100% {
        opacity: 1;
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4);
    }

    50% {
        opacity: 0.5;
        box-shadow: 0 0 0 4px rgba(34, 197, 94, 0);
    }
}

/* Second alert (staggered) */
.live-alert-2 {
    animation: alert-slide-in 0.6s ease-out 10s forwards,
        alert-slide-out 0.5s ease-in 15s forwards;
    top: 120px;
    border-color: rgba(241, 89, 40, 0.2);
}

.live-alert-2 .live-alert-dot {
    background: var(--orange);
    animation-name: dot-blink-orange;
}

@keyframes dot-blink-orange {

    0%,
    100% {
        opacity: 1;
        box-shadow: 0 0 0 0 rgba(241, 89, 40, 0.4);
    }

    50% {
        opacity: 0.5;
        box-shadow: 0 0 0 4px rgba(241, 89, 40, 0);
    }
}

/* === LIVE BADGE === */
.live-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.25);
    border-radius: 999px;
    padding: 6px 14px;
    font-size: 9px;
    font-weight: 800;
    color: #22c55e;
    text-transform: uppercase;
    letter-spacing: 0.2em;
}

.live-badge-dot {
    width: 6px;
    height: 6px;
    background: #22c55e;
    border-radius: 50%;
    animation: dot-blink 1.5s ease-in-out infinite;
}

/* === WAVE SECTION SEPARATOR === */
.wave-separator {
    position: relative;
    height: 80px;
    overflow: hidden;
    margin-top: -1px;
}

.wave-separator svg {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 80px;
}

.wave-separator-flip {
    transform: scaleY(-1);
    margin-bottom: -1px;
    margin-top: 0;
}

/* === BACK TO TOP === */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--blue), var(--light-blue));
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    z-index: 999;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: 0 8px 25px rgba(0, 173, 239, 0.3);
}

.back-to-top.visible {
    opacity: 1;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-4px) scale(1.1);
    box-shadow: 0 12px 35px rgba(0, 173, 239, 0.5);
}

/* === CURSOR GLOW (hero only) === */
.cursor-glow {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 173, 239, 0.08) 0%, transparent 70%);
    pointer-events: none;
    z-index: 2;
    transition: transform 0.1s ease-out, opacity 0.3s;
    transform: translate(-50%, -50%);
    opacity: 0;
}

.hero-section:hover .cursor-glow {
    opacity: 1;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
    .hero-title {
        font-size: 3.5rem !important;
    }

    .hero-subtitle {
        font-size: 1rem !important;
    }

    .section-title {
        font-size: 2.5rem !important;
    }
}

/* VMS page-specific styles */
.nav-bar {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.4s;
}

.nav-bar:hover {
    border-color: rgba(0, 173, 239, 0.15);
    box-shadow: 0 8px 30px rgba(0, 173, 239, 0.08);
}

.vms-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0, 173, 239, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 173, 239, 0.04) 1px, transparent 1px);
    background-size: 60px 60px;
}

.feature-card {
    background: white;
    border: 1px solid #f1f5f9;
    border-radius: 1.5rem;
    padding: 2rem;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--blue), var(--light-blue));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.08);
}

.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.spec-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid #f1f5f9;
    transition: background 0.2s;
}

.spec-row:hover {
    background: rgba(0, 173, 239, 0.02);
    margin: 0 -1rem;
    padding: 1rem;
    border-radius: 0.5rem;
}

.spec-row:last-child {
    border: none;
}

.arch-node {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 1.25rem;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s;
}

.arch-node:hover {
    border-color: var(--light-blue);
    box-shadow: 0 8px 25px rgba(0, 173, 239, 0.1);
    transform: translateY(-4px);
}

.arch-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.25rem;
}

.arch-connector {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #cbd5e1;
    font-size: 1.5rem;
}

.usecase-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 1.5rem;
    padding: 2rem;
    transition: all 0.4s;
}

.usecase-card:hover {
    background: rgba(0, 173, 239, 0.06);
    border-color: rgba(0, 173, 239, 0.2);
    transform: translateY(-4px);
}

.btn-outline {
    border: 2px solid rgba(255, 255, 255, 0.15);
    color: white;
    transition: all 0.3s;
}

.btn-outline:hover {
    border-color: var(--light-blue);
    background: rgba(0, 173, 239, 0.08);
}

@media (max-width: 768px) {
    .arch-connector {
        transform: rotate(90deg);
        padding: 0.5rem 0;
    }
}