/* ============================================================
   NetLux S.r.l. — Corporate Design System
   Palette: Light / Indigo-Violet accents
   Style: Clean, premium, institutional — LIGHT MODE
   ============================================================ */

:root {
    /* Backgrounds — warm off-whites, soft grays, no bianco puro */
    --bg-primary:     #f4f4f7;
    --bg-secondary:   #eaeaf0;
    --bg-card:        #ffffff;
    --bg-card-hover:  #f7f7fb;
    --bg-elevated:    #eeeef3;

    /* Accent — Teal / Petrol (dal logo NetLux) */
    --accent:         #0e7490;
    --accent-bright:  #22b8cf;
    --accent-dark:    #155e75;
    --accent-deeper:  #164e63;

    /* Secondary — Emerald */
    --secondary:      #10b981;
    --secondary-dark: #059669;

    /* Tertiary */
    --warm:           #ea580c;
    --rose:           #e11d48;

    /* Text */
    --text-primary:   #1a1a2e;
    --text-secondary: #3d3d56;
    --text-muted:     #6b6b80;
    --text-faint:     #9595a8;

    /* Borders */
    --border:         rgba(0, 0, 0, 0.08);
    --border-hover:   rgba(14, 116, 144, 0.3);

    /* Typography */
    --font: 'Inter', system-ui, -apple-system, sans-serif;

    /* Motion */
    --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
    font-family: var(--font);
    background: var(--bg-primary);
    color: var(--text-secondary);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a { color: var(--accent-dark); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--accent-deeper); }

::selection { background: var(--accent-dark); color: #fff; }

h1, h2, h3, h4, h5, h6 { color: var(--text-primary); font-weight: 700; }
h2 { font-size: 2.4rem; letter-spacing: -0.03em; }

/* ---- Ambient Background ---- */
.ambient-bg {
    position: fixed; inset: 0; z-index: -1;
    overflow: hidden; pointer-events: none;
}

.ambient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.5;
}

.ambient-orb.orb-1 {
    width: 600px; height: 600px;
    top: -150px; right: -100px;
    background: radial-gradient(circle, rgba(14, 116, 144, 0.06), transparent 70%);
    animation: orbFloat 22s ease-in-out infinite;
}

.ambient-orb.orb-2 {
    width: 500px; height: 500px;
    bottom: -100px; left: -80px;
    background: radial-gradient(circle, rgba(52, 211, 153, 0.04), transparent 70%);
    animation: orbFloat 28s ease-in-out infinite reverse;
}

.ambient-orb.orb-3 {
    width: 400px; height: 400px;
    top: 40%; left: 50%;
    background: radial-gradient(circle, rgba(14, 116, 144, 0.03), transparent 70%);
    animation: orbFloat 25s ease-in-out infinite 5s;
}

@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -40px) scale(1.08); }
    66% { transform: translate(-20px, 25px) scale(0.94); }
}

/* ---- Gradient Text ---- */
.text-gradient {
    background: linear-gradient(135deg, var(--accent), var(--accent-bright));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ---- Brand Logo ---- */
.brand-logo-img {
    height: 38px;
    width: auto;
    display: block;
    transition: opacity 0.2s;
}

.brand-logo-img:hover { opacity: 0.85; }

.brand-logo-img-footer {
    height: 36px;
    width: auto;
    display: block;
    filter: brightness(0) invert(1);
    opacity: 0.85;
}

/* ---- Navbar ---- */
.navbar {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--border);
    padding: 0.6rem 0;
    transition: background 0.3s, box-shadow 0.3s;
    z-index: 1030;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(30,27,75,0.7)' stroke-linecap='round' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

.navbar .nav-link {
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.88rem;
    padding: 0.5rem 1rem !important;
    position: relative;
    transition: color 0.25s;
}

.navbar .nav-link::after {
    content: '';
    position: absolute;
    bottom: 2px; left: 50%;
    width: 0; height: 2px;
    background: var(--accent);
    border-radius: 1px;
    transition: width 0.3s var(--ease), left 0.3s var(--ease);
}

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

.navbar .nav-link:hover::after,
.navbar .nav-link.active::after {
    width: 50%; left: 25%;
}

/* ---- Buttons ---- */
.btn-primary-glow {
    background: linear-gradient(135deg, var(--accent-deeper), var(--accent-dark));
    color: #fff !important;
    font-weight: 600;
    border: none;
    box-shadow: 0 4px 20px rgba(14, 116, 144, 0.2);
    transition: transform 0.25s var(--ease), box-shadow 0.25s;
}

.btn-primary-glow:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(14, 116, 144, 0.3);
    color: #fff !important;
}

.btn-outline-light {
    border-color: var(--border) !important;
    color: var(--text-primary) !important;
    font-weight: 500;
    background: transparent;
}

.btn-outline-light:hover {
    background: var(--bg-secondary) !important;
    border-color: var(--accent) !important;
    color: var(--accent-dark) !important;
}

.btn-outline-primary-glow {
    border: 2px solid var(--accent);
    color: var(--accent) !important;
    font-weight: 600;
    background: transparent;
    transition: all 0.25s var(--ease);
}

.btn-outline-primary-glow:hover {
    background: var(--accent-dark);
    border-color: var(--accent-dark);
    color: #fff !important;
    transform: translateY(-2px);
}

/* ---- Sections ---- */
.section-padding { padding: 6rem 0; }

.section-alt {
    background: var(--bg-secondary);
    position: relative;
}

.section-alt::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(14, 116, 144, 0.2), transparent);
}

/* Dark accent section (used for product showcases, special CTAs) */
.section-dark {
    background: linear-gradient(165deg, #0b1e2c, #122e3d);
    color: rgba(255,255,255,0.8);
}
.section-dark h2, .section-dark h3, .section-dark h4 { color: #fff; }
.section-dark p { color: rgba(255,255,255,0.65); }
.section-dark .section-badge {
    background: rgba(255,255,255,0.08);
    color: var(--accent-bright);
    border-color: rgba(255,255,255,0.12);
}
.section-dark .section-lead { color: rgba(255,255,255,0.55); }

.section-badge {
    display: inline-block;
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    background: rgba(14, 116, 144, 0.06);
    color: var(--accent-dark);
    border: 1px solid rgba(14, 116, 144, 0.12);
}

.section-lead {
    color: var(--text-muted);
    font-size: 1.05rem;
    max-width: 650px;
    margin: 0 auto;
}

/* ============================================================
   HERO
   ============================================================ */
.hero-section {
    padding: 5rem 0 2.5rem;
    position: relative;
    overflow: hidden;
    background: linear-gradient(165deg, #061018 0%, #0c2535 35%, #123545 65%, #1a5568 100%);
    color: rgba(255,255,255,0.85);
}

.hero-section .hero-title,
.hero-section h1 { color: #fff; }
.hero-section .hero-description { color: rgba(255,255,255,0.65); }
.hero-section .hero-badge {
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.9);
    border-color: rgba(255,255,255,0.12);
}
.hero-section .trust-item {
    background: rgba(255,255,255,0.06);
    border-color: rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.75);
}
.hero-section .trust-item i { color: #67e8f9; }
.hero-section .stat-card {
    background: rgba(255,255,255,0.06);
    border-color: rgba(255,255,255,0.1);
}
.hero-section .stat-number { color: #fff; }
.hero-section .stat-label { color: rgba(255,255,255,0.55); }
.hero-section .btn-outline-light {
    border-color: rgba(255,255,255,0.25) !important;
    color: #fff !important;
}
.hero-section .btn-outline-light:hover {
    background: rgba(255,255,255,0.1) !important;
    border-color: rgba(255,255,255,0.4) !important;
}

.hero-section .morph-phrase {
    background: linear-gradient(135deg, #67e8f9, #67e8f9);
    -webkit-background-clip: text;
    background-clip: text;
}

.hero-section::before {
    content: '';
    position: absolute; inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 20% -20%, rgba(14, 116, 144, 0.2) 0%, transparent 60%),
        radial-gradient(ellipse 50% 40% at 85% 100%, rgba(52, 211, 153, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse 30% 30% at 60% 30%, rgba(103, 232, 249, 0.06) 0%, transparent 50%);
    pointer-events: none;
}

.min-vh-hero { min-height: 75vh; }

/* Hero badge with live dot */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 1.3rem;
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 500;
    background: rgba(14, 116, 144, 0.06);
    color: var(--accent-dark);
    border: 1px solid rgba(14, 116, 144, 0.12);
    margin-bottom: 1.5rem;
}

.hero-badge-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: #34d399;
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.5); }
    50% { box-shadow: 0 0 0 6px rgba(52, 211, 153, 0); }
}

.hero-title {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.03em;
    color: var(--text-primary);
    margin-bottom: 0.8rem;
}

/* Animated gradient underline on key word */
.hero-highlight {
    position: relative;
    display: inline-block;
    background: linear-gradient(135deg, #67e8f9, #67e8f9, #34d399);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-highlight::after {
    content: '';
    position: absolute;
    bottom: 2px; left: 0;
    width: 100%; height: 3px;
    border-radius: 2px;
    background: linear-gradient(90deg, #67e8f9, #67e8f9, #34d399);
    background-size: 200% 100%;
    animation: highlightShift 3s ease-in-out infinite;
}

@keyframes highlightShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Primary hero CTA — bright, stands out */
.btn-hero-primary {
    background: linear-gradient(135deg, #22b8cf, #0e7490);
    color: #fff !important;
    font-weight: 600;
    border: none;
    box-shadow: 0 4px 24px rgba(14, 116, 144, 0.35);
    transition: transform 0.25s var(--ease), box-shadow 0.25s;
}

.btn-hero-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 36px rgba(14, 116, 144, 0.5);
    color: #fff !important;
}

/* ---- Text Morph (crossfade, NOT typewriter) ---- */
.hero-morph {
    position: relative;
    height: 3.5rem;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.morph-phrase {
    position: absolute;
    top: 0; left: 0;
    font-size: clamp(1.5rem, 3.5vw, 2.4rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, var(--accent-deeper), var(--accent-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0;
    filter: blur(8px);
    transform: translateY(15px);
    transition: opacity 0.6s var(--ease), filter 0.6s var(--ease), transform 0.6s var(--ease);
    white-space: nowrap;
}

.morph-phrase.active {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
}

.morph-phrase.exit {
    opacity: 0;
    filter: blur(8px);
    transform: translateY(-15px);
}

.hero-description {
    color: var(--text-secondary);
    font-size: 1.08rem;
    max-width: 560px;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-trust {
    display: flex; flex-wrap: wrap; gap: 0.8rem;
    margin-top: 2.5rem;
}

.trust-item {
    display: flex; align-items: center; gap: 0.45rem;
    padding: 0.45rem 0.9rem;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-muted);
    background: var(--bg-secondary);
    border: 1px solid var(--border);
}

.trust-item i { color: var(--accent); font-size: 0.95rem; }

/* ---- Hero Visual — Product Mockup ---- */
.hero-visual {
    position: relative;
    height: 460px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-mockup {
    position: relative;
    width: 100%;
    max-width: 420px;
    perspective: 1200px;
}

.mockup-window {
    border-radius: 14px;
    overflow: hidden;
    box-shadow:
        0 25px 60px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.08);
    transform: rotateY(-4deg) rotateX(2deg);
    transition: transform 0.6s var(--ease);
    background: #0d1f2e;
}

.hero-mockup:hover .mockup-window {
    transform: rotateY(0) rotateX(0);
}

.mockup-bar {
    display: flex; align-items: center; gap: 6px;
    padding: 0.65rem 1rem;
    background: #0f2535;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.mockup-dot { width: 10px; height: 10px; border-radius: 50%; }
.mockup-dot.red { background: #ef4444; }
.mockup-dot.yellow { background: #eab308; }
.mockup-dot.green { background: #22c55e; }

.mockup-bar-title {
    margin-left: 0.6rem;
    font-size: 0.7rem;
    color: rgba(255,255,255,0.4);
    font-weight: 500;
    letter-spacing: 0.03em;
}

.mockup-body {
    display: flex;
    min-height: 240px;
}

.mockup-sidebar {
    width: 44px;
    background: rgba(255,255,255,0.03);
    padding: 0.8rem 0.4rem;
    display: flex; flex-direction: column; gap: 8px;
    border-right: 1px solid rgba(255,255,255,0.04);
}

.mockup-nav {
    height: 7px; border-radius: 4px;
    background: rgba(255,255,255,0.06);
    transition: background 0.3s;
}

.mockup-nav.active {
    background: var(--accent-bright);
    box-shadow: 0 0 8px rgba(34, 184, 207, 0.4);
}

.mockup-main {
    flex: 1; padding: 1rem;
    display: flex; flex-direction: column; gap: 0.7rem;
}

.mockup-stats-row {
    display: flex; gap: 6px;
}

.mockup-stat {
    flex: 1; padding: 0.5rem;
    border-radius: 8px;
    text-align: center;
}

.mockup-stat.s1 { background: rgba(14, 116, 144, 0.12); }
.mockup-stat.s2 { background: rgba(52, 211, 153, 0.12); }
.mockup-stat.s3 { background: rgba(234, 88, 12, 0.12); }

.mockup-stat-num {
    display: block;
    font-size: 0.85rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}

.mockup-stat-label {
    display: block;
    font-size: 0.55rem;
    color: rgba(255,255,255,0.4);
    margin-top: 2px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.mockup-chart {
    height: 50px; border-radius: 8px;
    background: rgba(255,255,255,0.03);
    position: relative; overflow: hidden;
}

.mockup-chart-line {
    position: absolute; bottom: 0; left: 0; right: 0;
    height: 70%;
    background: linear-gradient(0deg, rgba(14, 116, 144, 0.15), transparent);
    clip-path: polygon(0% 80%, 10% 55%, 22% 65%, 35% 30%, 48% 50%, 62% 18%, 75% 35%, 88% 22%, 100% 40%, 100% 100%, 0% 100%);
}

.mockup-calendar { margin-top: auto; }

.mockup-cal-header {
    height: 14px; border-radius: 4px;
    background: rgba(255,255,255,0.05);
    margin-bottom: 0.5rem;
}

.mockup-cal-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
}

.cal-slot {
    height: 24px; border-radius: 4px;
}

.cal-slot.a { background: rgba(14, 116, 144, 0.15); }
.cal-slot.b { background: rgba(52, 211, 153, 0.15); }
.cal-slot.c { background: rgba(234, 88, 12, 0.15); }

/* Floating notification cards */
.mockup-float {
    position: absolute;
    display: flex; align-items: center; gap: 0.6rem;
    padding: 0.7rem 1rem;
    border-radius: 10px;
    background: rgba(10, 25, 40, 0.9);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
    z-index: 3;
}

.mockup-float i {
    font-size: 1rem;
    flex-shrink: 0;
}

.mockup-float strong {
    display: block;
    font-size: 0.72rem;
    font-weight: 600;
    color: #fff;
}

.mockup-float small {
    display: block;
    font-size: 0.6rem;
    color: rgba(255,255,255,0.45);
}

.mockup-float-1 {
    top: 5%; right: -15%;
    animation: floatNotif 5s ease-in-out infinite;
}

.mockup-float-1 i { color: #22b8cf; }

.mockup-float-2 {
    bottom: 12%; left: -10%;
    animation: floatNotif 6s ease-in-out infinite 1.5s;
}

.mockup-float-2 i { color: #34d399; }

@keyframes floatNotif {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* ---- Client Trust Strip ---- */
.client-trust-strip {
    padding: 1.8rem 0;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border);
}

.trust-strip-label {
    text-align: center;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-faint);
    margin-bottom: 1rem;
}

.trust-strip-logos {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem 2.5rem;
}

.trust-logo-item {
    display: flex; align-items: center; gap: 0.4rem;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text-muted);
    opacity: 0.6;
    transition: opacity 0.3s;
}

.trust-logo-item:hover { opacity: 1; }
.trust-logo-item i { font-size: 1.1rem; color: var(--accent); }

/* Legacy grid-card support (kept for other pages if used) */
.grid-dots .dot.active {
    background: var(--accent);
}

/* ---- Stats ---- */
.stat-card {
    text-align: center;
    padding: 1.5rem;
    border-radius: 14px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    transition: transform 0.3s var(--ease), border-color 0.3s;
}

.stat-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-hover);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 0.4rem;
}

.stat-number::after { content: '+'; font-size: 0.55em; }
.stat-label { font-size: 0.82rem; color: var(--text-muted); font-weight: 500; }

/* ---- About Values ---- */
.about-content h3 { font-size: 1.8rem; }
.about-content p { color: var(--text-secondary); margin-bottom: 1.2rem; }

.values-grid { display: flex; flex-direction: column; gap: 1rem; }

.value-card {
    display: flex; gap: 1rem;
    padding: 1.2rem 1.4rem;
    border-radius: 14px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
    transition: transform 0.3s var(--ease), border-color 0.3s;
}

.value-card:hover {
    transform: translateX(6px);
    border-color: var(--border-hover);
}

.value-icon {
    flex-shrink: 0;
    width: 48px; height: 48px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 12px;
    background: rgba(14, 116, 144, 0.06);
    color: var(--accent);
    font-size: 1.3rem;
}

.value-card h5 { font-size: 1rem; margin-bottom: 0.2rem; }
.value-card p { font-size: 0.85rem; color: var(--text-muted); margin: 0; }

/* ---- Service Cards ---- */
.service-card {
    padding: 2rem;
    border-radius: 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    transition: transform 0.35s var(--ease), border-color 0.35s, box-shadow 0.35s;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, var(--accent-dark), var(--accent-bright));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s var(--ease);
}

.service-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-hover);
    box-shadow: 0 20px 50px rgba(14, 116, 144, 0.08);
}

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

.service-icon-wrap {
    width: 52px; height: 52px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 12px;
    background: rgba(14, 116, 144, 0.06);
    color: var(--accent);
    font-size: 1.4rem;
    margin-bottom: 1.2rem;
}

.service-card h4 { font-size: 1.1rem; margin-bottom: 0.8rem; }
.service-card > p { color: var(--text-muted); font-size: 0.88rem; }

.service-features {
    list-style: none; padding: 0; margin: 1rem 0 0;
}

.service-features li {
    font-size: 0.82rem; color: var(--text-secondary);
    padding: 0.25rem 0;
    display: flex; align-items: center; gap: 0.5rem;
}

.service-features li i { color: var(--accent); font-size: 0.8rem; }

/* ---- Product Showcase ---- */
.product-showcase {
    border-radius: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    overflow: hidden;
    transition: border-color 0.4s, box-shadow 0.4s;
}

.product-showcase:hover { border-color: var(--border-hover); }

.product-badge {
    display: inline-block;
    padding: 0.3rem 0.9rem;
    border-radius: 50px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    background: rgba(34, 184, 207, 0.1);
    color: var(--accent);
    border: 1px solid rgba(34, 184, 207, 0.2);
}

.product-badge.badge-secondary {
    background: rgba(52, 211, 153, 0.1);
    color: var(--secondary);
    border-color: rgba(52, 211, 153, 0.2);
}

.product-tagline { font-size: 0.95rem; color: var(--text-muted); font-weight: 500; }
.product-desc { color: var(--text-secondary); font-size: 0.9rem; }

.product-features { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1rem; }

.product-tag {
    display: inline-flex; align-items: center; gap: 0.3rem;
    padding: 0.3rem 0.75rem;
    border-radius: 6px;
    font-size: 0.76rem;
    font-weight: 500;
    color: var(--text-secondary);
    background: var(--bg-secondary);
    border: 1px solid var(--border);
}

.product-tag i { color: var(--accent); }

.badge-soon {
    font-size: 0.6rem;
    padding: 0.1rem 0.4rem;
    border-radius: 50px;
    background: var(--accent-dark);
    color: #fff;
    font-weight: 700;
}

/* Product Illustration */
.product-visual-col {
    display: flex; align-items: center; justify-content: center;
    padding: 2rem;
}

.product-illustration { width: 100%; max-width: 420px; perspective: 1000px; }

.illus-window {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(14, 116, 144, 0.1);
    transform: rotateY(-3deg) rotateX(2deg);
    transition: transform 0.5s var(--ease);
}

.product-showcase:hover .illus-window {
    transform: rotateY(0) rotateX(0);
}

.illus-alt .illus-window {
    transform: rotateY(3deg) rotateX(2deg);
}

.product-showcase:hover .illus-alt .illus-window {
    transform: rotateY(0) rotateX(0);
}

.illus-bar {
    display: flex; align-items: center; gap: 6px;
    padding: 0.6rem 1rem;
    background: #eef0f4;
}

.illus-dot {
    width: 9px; height: 9px; border-radius: 50%;
    background: #d1d5db;
}

.illus-dot:first-child { background: #ef4444; }
.illus-dot:nth-child(2) { background: #eab308; }
.illus-dot:nth-child(3) { background: #22c55e; }

.illus-title {
    margin-left: 0.5rem;
    font-size: 0.68rem;
    color: var(--text-muted);
    font-weight: 500;
}

.illus-body {
    display: flex; min-height: 200px;
    background: var(--bg-secondary);
}

.illus-sidebar {
    width: 46px;
    background: rgba(0,0,0,0.04);
    padding: 0.8rem 0.4rem;
    display: flex; flex-direction: column; gap: 7px;
}

.illus-nav {
    height: 7px; border-radius: 3px;
    background: rgba(0,0,0,0.06);
}

.illus-nav.active { background: var(--accent); }

.illus-main { flex: 1; padding: 1rem; }

.illus-stats { display: flex; gap: 8px; margin-bottom: 0.8rem; }

.illus-stat {
    flex: 1; height: 36px; border-radius: 6px;
}

.illus-stat.s1 { background: linear-gradient(135deg, rgba(14,116,144,0.12), rgba(14,116,144,0.04)); }
.illus-stat.s2 { background: linear-gradient(135deg, rgba(16,185,129,0.12), rgba(16,185,129,0.04)); }
.illus-stat.s3 { background: linear-gradient(135deg, rgba(234,88,12,0.12), rgba(234,88,12,0.04)); }

.illus-chart {
    height: 55px; border-radius: 6px;
    background: rgba(14,116,144,0.04);
    position: relative; overflow: hidden;
}

.illus-chart::after {
    content: '';
    position: absolute; bottom: 0; left: 0; right: 0; height: 65%;
    background: linear-gradient(0deg, rgba(14,116,144,0.08), transparent);
    clip-path: polygon(0% 80%, 12% 55%, 25% 68%, 40% 30%, 55% 50%, 68% 18%, 82% 40%, 100% 22%, 100% 100%, 0% 100%);
}

.illus-cal-header {
    height: 18px; border-radius: 4px;
    background: rgba(14,116,144,0.08);
    margin-bottom: 0.7rem;
}

.illus-cal-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 5px;
}

.illus-slot { height: 38px; border-radius: 5px; }
.illus-slot.a { background: rgba(14,116,144,0.1); }
.illus-slot.b { background: rgba(16,185,129,0.1); }
.illus-slot.c { background: rgba(234,88,12,0.1); }

/* ---- Tech Grid ---- */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 0.8rem;
}

.tech-item {
    display: flex; flex-direction: column;
    align-items: center; gap: 0.5rem;
    padding: 1.2rem 0.6rem;
    border-radius: 12px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
    transition: transform 0.3s var(--ease), border-color 0.3s, background 0.3s;
}

.tech-item:hover {
    transform: translateY(-4px);
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.15);
}

.tech-item i { font-size: 1.8rem; color: var(--accent-bright); }
.tech-item span { font-size: 0.76rem; font-weight: 600; color: rgba(255,255,255,0.7); }

/* ---- News Cards ---- */
.news-card {
    padding: 1.8rem;
    border-radius: 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    display: flex; flex-direction: column;
    transition: transform 0.35s var(--ease), border-color 0.35s, box-shadow 0.35s;
}

.news-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-hover);
    box-shadow: 0 12px 32px rgba(14,116,144,0.08);
}

.news-header {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 1rem;
}

.news-date {
    font-size: 0.78rem; color: var(--text-muted);
    display: flex; align-items: center; gap: 0.3rem;
}

.news-tag {
    font-size: 0.68rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.08em;
    padding: 0.2rem 0.65rem; border-radius: 50px;
}

.tag-milestone { background: rgba(14,116,144,0.08); color: var(--accent-dark); }
.tag-product { background: rgba(16,185,129,0.08); color: var(--secondary-dark); }
.tag-company { background: rgba(234,88,12,0.08); color: var(--warm); }

.news-card h4 { font-size: 1.1rem; margin-bottom: 0.7rem; }
.news-card p { color: var(--text-muted); font-size: 0.88rem; flex: 1; }

.link-primary-glow {
    color: var(--accent); font-weight: 600; font-size: 0.88rem;
    display: inline-flex; align-items: center; gap: 0.3rem;
    transition: gap 0.25s, color 0.25s;
}

.link-primary-glow:hover { gap: 0.6rem; color: var(--accent-bright); }

/* ---- Job Cards ---- */
.job-card {
    padding: 2rem;
    border-radius: 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    transition: border-color 0.35s, box-shadow 0.35s;
}

.job-card:hover { border-color: var(--border-hover); }

.job-header {
    display: flex; gap: 1rem; align-items: center;
    margin-bottom: 1.2rem;
}

.job-icon {
    width: 52px; height: 52px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 12px;
    background: rgba(14,116,144,0.06);
    color: var(--accent);
    font-size: 1.3rem;
    flex-shrink: 0;
}

.job-meta {
    display: flex; gap: 1rem;
    font-size: 0.8rem; color: var(--text-muted);
    margin-top: 0.2rem;
}

.job-meta span { display: flex; align-items: center; gap: 0.3rem; }

.job-card > p { color: var(--text-muted); font-size: 0.88rem; }

.job-card h6 {
    font-size: 0.88rem; margin-top: 1.2rem; margin-bottom: 0.4rem;
    color: var(--accent);
}

.job-list { padding-left: 1.2rem; margin: 0; }
.job-list li { font-size: 0.83rem; color: var(--text-muted); padding: 0.15rem 0; }

.job-offers { list-style: none; padding: 0; margin: 0; }
.job-offers li {
    font-size: 0.83rem; color: var(--text-secondary);
    padding: 0.15rem 0;
    display: flex; align-items: center; gap: 0.4rem;
}
.job-offers li i { color: var(--secondary); }

/* ---- Contact Form ---- */
.contact-form .form-label {
    font-size: 0.83rem; font-weight: 500; color: var(--text-secondary);
}

.contact-form .form-control,
.contact-form .form-select {
    background: var(--bg-card);
    border: 1px solid rgba(0,0,0,0.06);
    color: var(--text-primary);
    border-radius: 10px;
    padding: 0.7rem 1rem;
    font-size: 0.9rem;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(14,116,144,0.1);
    background: #fff;
    color: var(--text-primary);
}

.contact-form .form-control::placeholder { color: var(--text-faint); }

.contact-form .form-select option {
    background: #fff; color: var(--text-primary);
}

.contact-form .form-check-input {
    background-color: #fff;
    border-color: var(--border);
}

.contact-form .form-check-input:checked {
    background-color: var(--accent-dark);
    border-color: var(--accent-dark);
}

.contact-form .form-check-label { color: var(--text-muted); }

.form-feedback {
    font-size: 0.9rem; font-weight: 500; display: none;
}

.form-feedback.success { display: block; color: var(--secondary); }
.form-feedback.error { display: block; color: var(--rose); }

/* Contact Box */
.contact-box {
    padding: 2rem;
    border-radius: 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    height: 100%;
}

.contact-row {
    display: flex; gap: 1rem; margin-bottom: 1.4rem;
}

.contact-icon {
    width: 42px; height: 42px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 10px;
    background: rgba(14,116,144,0.06);
    color: var(--accent);
    font-size: 1.05rem;
    flex-shrink: 0;
}

.contact-row h6 { font-size: 0.83rem; margin-bottom: 0.15rem; }
.contact-row p { font-size: 0.83rem; color: var(--text-muted); margin: 0; }
.contact-row a { color: var(--text-secondary); transition: color 0.2s; }
.contact-row a:hover { color: var(--accent); }

/* Social Links */
.social-links { display: flex; gap: 0.7rem; }

.social-link {
    width: 40px; height: 40px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 10px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    color: var(--text-muted) !important;
    font-size: 1.05rem;
    transition: all 0.25s;
}

.social-link:hover {
    background: var(--accent-dark);
    color: #fff !important;
    border-color: var(--accent-dark);
    transform: translateY(-3px);
}

/* ---- Footer ---- */
.site-footer {
    background: #0a1929;
    border-top: 1px solid rgba(0,0,0,0.05);
    color: rgba(255,255,255,0.7);
}

.site-footer h5, .site-footer h6 { color: #fff !important; }
.site-footer .brand-rest { color: #fff; -webkit-text-fill-color: #fff; }

.footer-text { color: rgba(255,255,255,0.45); }

.site-footer .social-link {
    background: rgba(0,0,0,0.06);
    border-color: rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.6) !important;
}

.site-footer .social-link:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff !important;
}

.site-footer .footer-divider { border-color: rgba(0,0,0,0.06); }

.footer-link {
    color: rgba(255,255,255,0.55) !important;
    transition: color 0.2s;
}

.footer-link:hover { color: #fff !important; }

/* ---- Breadcrumb Bar ---- */
.breadcrumb-bar {
    padding: 0.7rem 0;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border);
}

.breadcrumb-bar .breadcrumb {
    font-size: 0.8rem;
}

.breadcrumb-bar .breadcrumb-item a {
    color: var(--text-muted);
    transition: color 0.2s;
}

.breadcrumb-bar .breadcrumb-item a:hover { color: var(--accent); }
.breadcrumb-bar .breadcrumb-item.active { color: var(--text-secondary); }
.breadcrumb-bar .breadcrumb-item + .breadcrumb-item::before { color: var(--text-faint); }

/* ---- Page Header ---- */
.page-header {
    padding: 4rem 0 2rem;
    position: relative;
}

.page-header::before {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(ellipse 60% 50% at 30% 0%, rgba(14, 116, 144, 0.06) 0%, transparent 60%);
    pointer-events: none;
}

.page-header h1 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    letter-spacing: -0.03em;
}

.page-header-lead {
    color: var(--text-muted);
    font-size: 1.05rem;
    max-width: 650px;
}

/* ---- Content Prose ---- */
.content-prose p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 1.3rem;
}

.content-prose h2, .content-prose h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

/* ---- Timeline ---- */
.timeline {
    position: relative;
    padding-left: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--accent-dark), var(--accent), var(--secondary));
    border-radius: 1px;
}

.timeline-item {
    position: relative;
    padding-bottom: 2rem;
    padding-left: 1.5rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -2rem;
    top: 0.3rem;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--accent);
    border: 2px solid var(--bg-primary);
    margin-left: -5px;
}

.timeline-year {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.3rem;
}

.timeline-content h5 {
    font-size: 1rem;
    margin-bottom: 0.3rem;
}

.timeline-content p {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin: 0;
}

/* ---- Sidebar ---- */
.sidebar-box {
    padding: 1.8rem;
    border-radius: 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}

.sidebar-box h4, .sidebar-box h5 {
    font-size: 1rem;
    margin-bottom: 0.8rem;
}

.sidebar-box p {
    font-size: 0.88rem;
    color: var(--text-muted);
}

.sidebar-contact p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.3rem;
}

.sidebar-contact a {
    color: var(--text-secondary);
}

.sidebar-contact a:hover { color: var(--accent); }

.sidebar-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-links li {
    padding: 0.4rem 0;
    border-bottom: 1px solid var(--border);
}

.sidebar-links li:last-child { border-bottom: none; }

.sidebar-links a {
    font-size: 0.85rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: color 0.2s, gap 0.2s;
}

.sidebar-links a:hover {
    color: var(--accent);
    gap: 0.7rem;
}

.sidebar-links a i { color: var(--accent); font-size: 0.75rem; }

/* ---- Feature Items ---- */
.feature-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.8rem 1rem;
    border-radius: 10px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    font-size: 0.88rem;
    color: var(--text-secondary);
}

.feature-item i { color: var(--accent); font-size: 1rem; }

.feature-card-mini {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 1rem;
    border-radius: 10px;
    background: rgba(34,184,207,0.06);
    border: 1px solid rgba(34,184,207,0.1);
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.feature-card-mini i { color: var(--accent); }

/* ---- Product Preview Card (homepage, inside section-dark) ---- */
.product-preview-card {
    padding: 2rem;
    border-radius: 16px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
    transition: transform 0.35s var(--ease), border-color 0.35s, background 0.35s;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-preview-card:hover {
    transform: translateY(-4px);
    background: rgba(255,255,255,0.09);
    border-color: rgba(255,255,255,0.15);
}

.product-preview-card h3 { font-size: 1.5rem; }
.product-preview-card p { color: rgba(255,255,255,0.6); font-size: 0.9rem; }
.product-preview-card .product-tagline { color: rgba(255,255,255,0.5); }
.product-preview-card .product-badge { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.12); color: var(--accent-bright); }
.product-preview-card .product-badge.badge-secondary { color: #5eead4; }
.product-preview-card .text-gradient {
    background: linear-gradient(135deg, #67e8f9, #a5f3fc);
    -webkit-background-clip: text; background-clip: text;
}

/* ---- CTA Banner ---- */
.cta-banner {
    padding: 4.5rem 0;
    background: linear-gradient(135deg, var(--accent-deeper), #0c5f75);
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute; inset: 0;
    background:
        radial-gradient(ellipse 60% 60% at 20% 100%, rgba(255,255,255,0.06), transparent),
        radial-gradient(ellipse 40% 50% at 80% 0%, rgba(255,255,255,0.04), transparent);
    pointer-events: none;
}

.cta-banner h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: #fff;
}

.cta-banner p {
    color: rgba(255,255,255,0.75);
    font-size: 1rem;
}

.cta-banner .btn-primary-glow {
    background: #fff;
    color: var(--accent-deeper) !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.cta-banner .btn-primary-glow:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,0.2);
    transform: translateY(-2px);
}

/* ============================================================
   IMAGE & VISUAL EFFECTS
   ============================================================ */

/* Parallax image container */
.parallax-wrap {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
}

.parallax-wrap img.parallax-img {
    width: 100%;
    height: 120%;
    object-fit: cover;
    display: block;
    will-change: transform;
}

/* Image section — full-width banner with overlay text */
.img-banner {
    position: relative;
    padding: 5rem 0;
    overflow: hidden;
    background: #0b1e2c;
}

.img-banner-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.25;
    filter: saturate(0.4);
}

.img-banner .container { position: relative; z-index: 2; }
.img-banner h2 { color: #fff; }
.img-banner p { color: rgba(255,255,255,0.7); }

/* Photo card with overlay gradient */
.photo-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 16/10;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

.photo-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s var(--ease);
}

.photo-card:hover img { transform: scale(1.05); }

.photo-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    background: linear-gradient(0deg, rgba(10,25,41,0.85), transparent);
    color: #fff;
}

.photo-card-overlay h4 { color: #fff; font-size: 1.1rem; margin-bottom: 0.3rem; }
.photo-card-overlay p { color: rgba(255,255,255,0.7); font-size: 0.85rem; margin: 0; }

/* Tech canvas grid */
.tech-grid-canvas {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.tech-grid-canvas canvas {
    width: 100%;
    height: 100%;
    display: block;
}

/* Make interactive when in hero */
.hero-section .tech-grid-canvas {
    pointer-events: auto;
}

/* Tilt card transition reset */
.tilt-card {
    transition: transform 0.15s ease-out, border-color 0.35s, box-shadow 0.35s;
    will-change: transform;
}

/* Animated gradient border on hover */
.glow-border {
    position: relative;
}

.glow-border::after {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    background: linear-gradient(135deg, var(--accent), var(--secondary), var(--accent-bright));
    background-size: 200% 200%;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s;
    animation: gradientShift 3s ease infinite;
}

.glow-border:hover::after { opacity: 1; }

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Floating badge animation for "new" items */
@keyframes pulse-soft {
    0%, 100% { box-shadow: 0 0 0 0 rgba(14,116,144,0.3); }
    50% { box-shadow: 0 0 0 8px rgba(14,116,144,0); }
}

.pulse-badge { animation: pulse-soft 2.5s ease-in-out infinite; }

/* SVG wave divider */
.wave-divider {
    position: relative;
    margin-top: -1px;
}

.wave-divider svg {
    display: block;
    width: 100%;
    height: auto;
}

/* ---- Scroll Reveals ---- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.visible { opacity: 1; transform: translateY(0); }

.reveal-stagger > * {
    opacity: 0;
    transform: translateY(25px);
    transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.reveal-stagger > *.visible { opacity: 1; transform: translateY(0); }

/* ---- Responsive ---- */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background: #fff;
        border-radius: 12px;
        padding: 1rem;
        margin-top: 0.5rem;
        border: 1px solid var(--border);
        box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    }
    .section-padding { padding: 4rem 0; }
    h2 { font-size: 1.9rem; }
    .min-vh-hero { min-height: auto; }
    .hero-morph { height: 2.8rem; }
    .trust-strip-logos { gap: 1rem 1.5rem; }
}

@media (max-width: 767.98px) {
    .hero-section { padding: 2.5rem 0 1.5rem; }
    .hero-title { font-size: 1.8rem; }
    .hero-morph { height: 2.2rem; }
    .morph-phrase { font-size: 1.3rem; }
    .stat-number { font-size: 2rem; }
    .hero-trust { gap: 0.5rem; }
    .trust-item { font-size: 0.73rem; padding: 0.35rem 0.6rem; }
    .product-visual-col { padding: 1.5rem; }
    .job-header { flex-direction: column; align-items: flex-start; }
    .tech-grid { grid-template-columns: repeat(3, 1fr); }
    .trust-strip-logos { gap: 0.8rem 1.2rem; }
    .trust-logo-item { font-size: 0.75rem; }
    .trust-logo-item i { font-size: 0.95rem; }
    .hero-actions .btn { font-size: 0.9rem; }
}
