﻿/* ============================================================
   In·Voice Website CSS
   Palette: Black · Grey · Baby Blue (#6FCBEF) · Purple (#9C90FF)
   Style: Modern, bold, glassmorphism, white-dominant with a mountain backdrop
   ============================================================ */

/* 1. ROOT DESIGN TOKENS
   ---------------------------------------------------------- */
:root {
    --ivw-black:       #05060A;
    --ivw-dark:        #0D111C;
    --ivw-dark-2:      #151A28;
    --ivw-dark-3:      #20243480;
    --ivw-grey:        #8A93A6;
    --ivw-grey-deep:   #5B6472;
    --ivw-light:       #F5F8FB;
    --ivw-light-2:     #ECF1F6;
    --ivw-white:       #FFFFFF;

    --ivw-blue:        #6FCBEF;
    --ivw-blue-light:  #AEE6FA;
    --ivw-blue-dark:   #3C9AC2;

    --ivw-purple:        #9C90FF;
    --ivw-purple-light:  #C9C2FF;
    --ivw-purple-dark:   #6B5FDB;

    --ivw-violet:      #9C90FF;
    --ivw-violet-light:#C9C2FF;
    --ivw-violet-dark: #6B5FDB;

    --ivw-amber:       #FFB65C;
    --ivw-amber-light: #FFD9A0;

    --ivw-border:      rgba(111, 203, 239, 0.18);
    --ivw-glass-bg:    rgba(17, 32, 56, 0.035);
    --ivw-glass-bg-2:  rgba(17, 32, 56, 0.055);
    --ivw-glass-border:rgba(111, 203, 239, 0.28);
    --ivw-glass-specular: rgba(255, 255, 255, 0.7);
    --ivw-glass-blur:  blur(24px) saturate(180%);

    --font-heading: 'Montserrat', sans-serif;
    --font-body:    'Montserrat', sans-serif;

    --radius-sm:   8px;
    --radius-md:   16px;
    --radius-lg:   28px;
    --radius-xl:   36px;
    --radius-full: 9999px;

    --shadow-card: 0 4px 20px rgba(15, 35, 60, 0.07);
    --shadow-lift: 0 20px 48px rgba(15, 35, 60, 0.14);
    --shadow-glow: 0 0 40px rgba(111, 203, 239, 0.35);

    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 2. RESET & BASE
   ---------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    background-color: transparent;
    color: var(--ivw-black);
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.7;
    padding-top: 76px;
    -webkit-font-smoothing: antialiased;
    position: relative;
}

/* Site-wide fixed backdrop -- shows through every translucent section,
   card and nav bar so it reads as one continuous background. */
.site-bg {
    position: fixed;
    inset: 0;
    z-index: -1;
    background: url("../img/background/mountain.jpg") center/cover no-repeat fixed;
}
.site-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.68);
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; }

::selection { background: var(--ivw-purple); color: var(--ivw-black); }

h1, h2, h3, h4, h5, h6,
.hero-headline, .section-title, .page-hero-title,
.product-card h3, .team-name, .cta-band h2 {
    font-family: var(--font-heading);
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0.5px;
    color: var(--ivw-purple-dark);
    margin-bottom: 0.75rem;
}
.section-label::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 2px;
    background: linear-gradient(135deg, var(--ivw-blue), var(--ivw-purple));
    flex-shrink: 0;
}
.section-dark .section-label,
.section-darker .section-label { color: var(--ivw-purple); }

/* 3. PAGE LOADER
   ---------------------------------------------------------- */
#loader-wrapper {
    position: fixed;
    inset: 0;
    background: var(--ivw-white);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}
#loader-wrapper.hidden { opacity: 0; visibility: hidden; }

.loader-circle {
    width: 48px;
    height: 48px;
    border: 3px solid rgba(111, 203, 239, 0.2);
    border-top-color: var(--ivw-blue);
    border-right-color: var(--ivw-purple);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* 4. NAVIGATION (glassmorphism, sits over every section)
   ---------------------------------------------------------- */
.glass-nav {
    background: rgba(255, 255, 255, 0.35);
    backdrop-filter: var(--ivw-glass-blur);
    -webkit-backdrop-filter: var(--ivw-glass-blur);
    border-bottom: 1px solid transparent;
    padding: 22px 0;
    transition: background-color 0.35s ease, padding 0.35s ease,
                border-color 0.35s ease, box-shadow 0.35s ease;
}

.glass-nav.scrolled {
    background: rgba(255, 255, 255, 0.92);
    padding: 12px 0;
    box-shadow: 0 8px 32px rgba(15, 35, 60, 0.1);
    border-bottom-color: rgba(15, 35, 60, 0.08);
}

.navbar-brand-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.navbar-brand-logo img {
    height: 34px;
    width: auto;
    display: block;
}

.navbar-brand-text {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--ivw-black);
    letter-spacing: 0.5px;
}

.nav-pill {
    color: rgba(15, 23, 42, 0.7) !important;
    border: 1px solid rgba(111, 203, 239, 0.3);
    border-radius: var(--radius-full);
    padding: 7px 20px !important;
    margin: 0 4px;
    font-weight: 500;
    font-size: 0.82rem;
    letter-spacing: 0.3px;
    text-transform: lowercase;
    transition: var(--transition);
}

.nav-pill:hover,
.nav-pill.active {
    background: linear-gradient(135deg, var(--ivw-blue), var(--ivw-purple));
    border-color: transparent;
    color: var(--ivw-black) !important;
}

.nav-cta {
    background: linear-gradient(135deg, var(--ivw-blue), var(--ivw-purple));
    color: var(--ivw-black) !important;
    border: none;
    padding: 9px 26px !important;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 0.82rem;
    letter-spacing: 0.3px;
    transition: var(--transition);
}

.nav-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 28px rgba(156, 144, 255, 0.35);
}

.header-socials a {
    color: rgba(15, 23, 42, 0.5);
    font-size: 1.1rem;
    transition: var(--transition);
}
.header-socials a:hover { color: var(--ivw-purple-dark); }

.navbar-toggler .mdi { color: var(--ivw-black) !important; }

/* Products dropdown */
.nav-products-menu {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: var(--ivw-glass-blur);
    border: 1px solid var(--ivw-glass-border);
    border-radius: var(--radius-md);
    padding: 10px;
    min-width: 240px;
    margin-top: 12px !important;
    box-shadow: var(--shadow-lift);
}
.nav-products-menu .dropdown-item {
    color: rgba(15, 23, 42, 0.8);
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    font-size: 0.88rem;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
}
.nav-products-menu .dropdown-item:hover,
.nav-products-menu .dropdown-item:focus {
    background: rgba(111, 203, 239, 0.12);
    color: var(--ivw-black);
}
.nav-products-menu .dropdown-item i { font-size: 1.1rem; color: var(--ivw-purple-dark); }
.nav-products-menu hr { border-color: rgba(15, 23, 42, 0.08); margin: 6px 0; }

/* 5. HERO SECTION
   ---------------------------------------------------------- */
.hero-section {
    position: relative;
    min-height: 100vh;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-glow {
    position: absolute;
    width: 720px;
    height: 720px;
    border-radius: 50%;
    background:
        radial-gradient(circle at 32% 35%, rgba(111, 203, 239, 0.4) 0%, transparent 55%),
        radial-gradient(circle at 68% 62%, rgba(156, 144, 255, 0.3) 0%, transparent 50%);
    filter: blur(100px);
    pointer-events: none;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 0 1.5rem;
    max-width: 920px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--ivw-glass-bg-2);
    border: 1px solid var(--ivw-glass-border);
    backdrop-filter: var(--ivw-glass-blur);
    -webkit-backdrop-filter: var(--ivw-glass-blur);
    color: var(--ivw-blue-dark);
    padding: 7px 20px;
    border-radius: var(--radius-full);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 1.75rem;
}

.hero-badge-dot {
    width: 6px;
    height: 6px;
    background: var(--ivw-purple);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--ivw-purple);
}

.hero-headline {
    font-size: clamp(2.6rem, 6.2vw, 5.2rem);
    font-weight: 800;
    line-height: 1.08;
    color: var(--ivw-black);
    letter-spacing: -1.5px;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 8px rgba(255, 255, 255, 0.9), 0 2px 28px rgba(255, 255, 255, 0.8);
}

.hero-headline .gradient-text,
.gradient-text {
    background: linear-gradient(135deg, var(--ivw-blue) 0%, var(--ivw-purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    /* text-shadow paints through a transparent fill, so a glow inherited
       from a photo-backdrop heading (see .hero-headline / .page-hero-title)
       would wash this out into a blurry blob -- opt back out here. */
    text-shadow: none;
}

.hero-sub {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--ivw-grey-deep);
    max-width: 660px;
    margin: 0 auto 2.5rem;
    line-height: 1.8;
    text-shadow: 0 1px 6px rgba(255, 255, 255, 0.85), 0 1px 20px rgba(255, 255, 255, 0.7);
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-ivw-primary {
    background: linear-gradient(135deg, var(--ivw-blue) 0%, var(--ivw-purple) 100%);
    color: var(--ivw-black);
    border: none;
    padding: 14px 36px;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.3px;
    transition: var(--transition);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.btn-ivw-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 36px rgba(156, 144, 255, 0.35);
    color: var(--ivw-black);
}

.btn-ivw-outline {
    background: var(--ivw-glass-bg);
    backdrop-filter: var(--ivw-glass-blur);
    -webkit-backdrop-filter: var(--ivw-glass-blur);
    color: rgba(15, 23, 42, 0.8);
    border: 1.5px solid var(--ivw-glass-border);
    padding: 14px 36px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.btn-ivw-outline:hover {
    border-color: var(--ivw-purple);
    color: var(--ivw-purple-dark);
    background: rgba(156, 144, 255, 0.1);
}

.btn-ivw-white {
    background: var(--ivw-white);
    color: var(--ivw-black);
    padding: 14px 36px;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 0.9rem;
    border: none;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.btn-ivw-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.3);
    color: var(--ivw-black);
}

.btn-ivw-ghost {
    background: rgba(255, 255, 255, 0.08);
    color: var(--ivw-white);
    padding: 14px 36px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.9rem;
    border: 1.5px solid rgba(255, 255, 255, 0.25);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.btn-ivw-ghost:hover {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.5);
}

/* Headline word reveal -- each word is wrapped by JS in a masked span and
   animates in on load, once, as a single orchestrated entrance. */
.hero-headline .word-mask {
    display: inline-block;
    overflow: hidden;
    vertical-align: top;
}
.hero-headline .word-mask > span {
    display: inline-block;
    transform: translateY(110%);
    transition: transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}
.hero-headline.words-in .word-mask > span { transform: translateY(0); }

/* Pipeline: the literal shape of what Profspect builds -- data moving
   through stages into a concrete outcome. Centerpiece of the hero. */
.hero-pipeline {
    margin-top: 3.5rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
    max-width: 980px;
    margin-left: auto;
    margin-right: auto;
}

.pipeline-track {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
}

.pipeline-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 150px;
    flex-shrink: 0;
}

.pipeline-node-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    background: rgba(111, 203, 239, 0.12);
    border: 1px solid rgba(111, 203, 239, 0.4);
    color: var(--ivw-blue-dark);
    box-shadow: inset 0 1px 0 var(--ivw-glass-specular);
    margin-bottom: 12px;
}

.pipeline-node-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--ivw-black);
    margin-bottom: 4px;
}

.pipeline-node-sub {
    font-size: 0.74rem;
    color: var(--ivw-grey-deep);
    line-height: 1.4;
}

.pipeline-connector {
    flex: 1 1 auto;
    height: 52px;
    margin-top: 26px;
    position: relative;
    min-width: 24px;
}
.pipeline-connector::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, rgba(111,203,239,0.5), rgba(156, 144, 255,0.5));
}
.pipeline-runner {
    position: absolute;
    top: -2.5px;
    left: 0;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--ivw-purple);
    box-shadow: 0 0 10px var(--ivw-purple);
    animation: pipeline-flow 2.4s linear infinite;
}
.pipeline-connector:nth-of-type(4) .pipeline-runner { animation-delay: 0.8s; }
.pipeline-connector:nth-of-type(6) .pipeline-runner { animation-delay: 1.6s; }

@keyframes pipeline-flow {
    0%   { left: 0; opacity: 0; }
    10%  { opacity: 1; }
    90%  { opacity: 1; }
    100% { left: 100%; opacity: 0; }
}

.pipeline-output {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 2rem auto 0;
    max-width: 520px;
    padding: 14px 28px;
    font-size: 0.9rem;
    color: rgba(15, 23, 42, 0.8);
}
.pipeline-output i { color: var(--ivw-blue-dark); flex-shrink: 0; }
.pipeline-output span {
    transition: opacity 0.4s ease, transform 0.4s ease;
}
.pipeline-output span.swap {
    opacity: 0;
    transform: translateY(4px);
}

@media (max-width: 768px) {
    .pipeline-track { flex-direction: column; align-items: stretch; }
    .pipeline-node { width: auto; flex-direction: row; text-align: left; gap: 14px; }
    .pipeline-node-icon { margin-bottom: 0; }
    .pipeline-connector { width: 52px; height: 28px; margin: 0 0 0 25px; }
    .pipeline-connector::before { top: 0; bottom: 0; left: 0; right: auto; width: 1px; height: 100%; }
    .pipeline-runner { top: 0; left: -2.5px; animation-name: pipeline-flow-vertical; }
    @keyframes pipeline-flow-vertical {
        0%   { top: 0; opacity: 0; }
        10%  { opacity: 1; }
        90%  { opacity: 1; }
        100% { top: 100%; opacity: 0; }
    }
}

@media (prefers-reduced-motion: reduce) {
    .pipeline-runner { animation: none; opacity: 0.8; }
    .hero-headline .word-mask > span { transition: none; transform: none; }
}

/* Scroll cue */
.scroll-cue {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: rgba(15, 23, 42, 0.4);
    font-size: 0.7rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}
.scroll-cue i {
    font-size: 1.4rem;
    animation: bounce-down 2s ease-in-out infinite;
    color: var(--ivw-blue-dark);
}
@keyframes bounce-down {
    0%, 100% { transform: translateY(0); opacity: 0.6; }
    50% { transform: translateY(8px); opacity: 1; }
}

/* 5b. PAGE HERO (inner pages)
   ---------------------------------------------------------- */
.page-hero {
    position: relative;
    background: transparent;
    overflow: hidden;
    padding: 170px 0 90px;
    text-align: center;
}
.page-hero .hero-glow {
    width: 480px;
    height: 480px;
    top: -140px;
}
.page-hero-content {
    position: relative;
    z-index: 10;
    max-width: 760px;
    margin: 0 auto;
    padding: 0 1.5rem;
}
.page-hero-title {
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -1px;
    margin-bottom: 1.25rem;
    color: var(--ivw-black);
    text-shadow: 0 2px 8px rgba(255, 255, 255, 0.9), 0 2px 28px rgba(255, 255, 255, 0.8);
}
.page-hero .tech-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--ivw-glass-bg-2);
    border: 1px solid var(--ivw-glass-border);
    color: rgba(15, 23, 42, 0.8);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    padding: 7px 18px;
    border-radius: var(--radius-full);
}

/* 6. SECTION UTILITIES
   ---------------------------------------------------------- */
.section-light  { background: rgba(255, 255, 255, 0.85); color: var(--ivw-black); }
.section-soft   { background: rgba(245, 248, 251, 0.85); color: var(--ivw-black); }
.section-dark   { background: var(--ivw-dark); color: var(--ivw-white); }
.section-darker { background: var(--ivw-black); color: var(--ivw-white); }

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.5px;
    margin-bottom: 1rem;
}

.section-title .text-blue { color: var(--ivw-blue); }
.section-title .text-purple { color: var(--ivw-purple); }

.section-desc {
    font-size: 1.05rem;
    color: var(--ivw-grey-deep);
    max-width: 620px;
    margin: 0 auto;
    line-height: 1.8;
}

.section-dark .section-desc,
.section-darker .section-desc { color: rgba(255, 255, 255, 0.6); }

.ivw-divider {
    width: 52px;
    height: 3px;
    background: linear-gradient(90deg, var(--ivw-blue), var(--ivw-purple));
    border: none;
    border-radius: var(--radius-full);
    margin: 1rem auto 0;
}
.ivw-divider.start { margin: 1rem 0 0; }

/* 7. GLASS / FEATURE CARDS
   ---------------------------------------------------------- */
.glass-card {
    background: var(--ivw-glass-bg);
    border: 1px solid var(--ivw-glass-border);
    backdrop-filter: var(--ivw-glass-blur);
    -webkit-backdrop-filter: var(--ivw-glass-blur);
    border-radius: var(--radius-lg);
    box-shadow: inset 0 1px 0 var(--ivw-glass-specular);
    transition: var(--transition);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.feature-card {
    background: var(--ivw-glass-bg);
    border: 1px solid var(--ivw-glass-border);
    backdrop-filter: var(--ivw-glass-blur);
    -webkit-backdrop-filter: var(--ivw-glass-blur);
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 1px 0 var(--ivw-glass-specular);
    transition: var(--transition);
}

.section-light .feature-card,
.section-soft .feature-card {
    background: var(--ivw-white);
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: var(--shadow-card);
    backdrop-filter: none;
}

.feature-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--ivw-blue), var(--ivw-purple));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: inset 0 1px 0 var(--ivw-glass-specular), var(--shadow-lift);
    border-color: rgba(111, 203, 239, 0.3);
}

.feature-card:hover::before { transform: scaleX(1); }

/* Cursor-reactive glass: a soft light follows the pointer across the
   surface, and the card tilts slightly toward it (tilt is applied inline
   by JS as a transform; disabled entirely for touch/reduced-motion). */
.tilt-card {
    --mx: 50%;
    --my: 50%;
    position: relative;
}
.tilt-card::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(220px circle at var(--mx) var(--my), rgba(255, 255, 255, 0.1), transparent 60%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 2;
}
.tilt-card:hover::after,
.tilt-card:focus-within::after { opacity: 1; }
.section-light .tilt-card::after,
.section-soft .tilt-card::after {
    background: radial-gradient(220px circle at var(--mx) var(--my), rgba(111, 203, 239, 0.12), transparent 60%);
}

.feature-icon-wrap {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.6rem;
}

.icon-blue { background: rgba(111, 203, 239, 0.12); color: var(--ivw-blue-dark); }
.icon-purple { background: rgba(156, 144, 255, 0.12); color: var(--ivw-purple-dark); }
.icon-grey { background: rgba(15, 23, 42, 0.06); color: var(--ivw-black); }

.section-light .icon-grey,
.section-soft .icon-grey { background: rgba(10,11,16,0.06); color: var(--ivw-black); }

.feature-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.feature-card p {
    font-size: 0.9rem;
    color: var(--ivw-grey);
    line-height: 1.7;
    margin: 0;
}
.section-light .feature-card p,
.section-soft .feature-card p { color: var(--ivw-grey-deep); }
.section-light .feature-card h4,
.section-soft .feature-card h4 { color: var(--ivw-black); }

/* 8. PRODUCTS SHOWCASE
   ---------------------------------------------------------- */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 28px;
}

.product-card {
    position: relative;
    background: var(--ivw-glass-bg);
    border: 1px solid var(--ivw-glass-border);
    backdrop-filter: var(--ivw-glass-blur);
    -webkit-backdrop-filter: var(--ivw-glass-blur);
    border-radius: var(--radius-xl);
    padding: 40px 32px;
    display: flex;
    flex-direction: column;
    text-align: center;
    overflow: hidden;
    box-shadow: inset 0 1px 0 var(--ivw-glass-specular);
    transition: box-shadow 0.4s ease, border-color 0.4s ease, transform 0.4s ease;
    --accent: var(--ivw-blue);
    --accent-2: var(--ivw-purple);
}

/* Per-product accent -- each flagship product gets its own signature glow
   instead of all three sharing one identical blue wash. */
.product-card--odyssey { --accent: var(--ivw-blue); --accent-2: var(--ivw-purple); }
.product-card--genuity  { --accent: var(--ivw-violet); --accent-2: var(--ivw-blue); }
.product-card--voice    { --accent: var(--ivw-amber); --accent-2: var(--ivw-purple); }

.product-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--accent-2));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}
.product-card:hover::before { transform: scaleX(1); }

.product-card::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: var(--radius-xl);
    background: radial-gradient(circle at 50% 0%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.product-card:hover {
    transform: translateY(-10px);
    border-color: color-mix(in srgb, var(--accent) 40%, transparent);
    box-shadow: inset 0 1px 0 var(--ivw-glass-specular), var(--shadow-lift);
}
.product-card:hover::after { opacity: 1; }

.product-card .product-tagline { color: var(--accent); }
.product-card .product-link:hover {
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
}

.product-logo-badge {
    width: 116px;
    height: 116px;
    border-radius: var(--radius-lg);
    background: var(--ivw-white);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.75rem;
    padding: 18px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
    position: relative;
    z-index: 1;
}
.product-logo-badge img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-card h3 {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    letter-spacing: -0.3px;
    position: relative;
    z-index: 1;
}

.product-tagline {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--ivw-purple);
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.product-card p.product-desc {
    color: var(--ivw-grey-deep);
    font-size: 0.92rem;
    line-height: 1.75;
    margin-bottom: 1.75rem;
    flex-grow: 1;
    position: relative;
    z-index: 1;
}

.product-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.3px;
    border: 1.5px solid var(--ivw-glass-border);
    color: var(--ivw-black);
    background: rgba(17, 32, 56, 0.03);
    transition: var(--transition);
    position: relative;
    z-index: 1;
    align-self: center;
}
.product-link:hover {
    background: linear-gradient(135deg, var(--ivw-blue), var(--ivw-purple));
    color: var(--ivw-black);
    border-color: transparent;
    box-shadow: 0 10px 28px rgba(111, 203, 239, 0.3);
}
.product-link.disabled {
    opacity: 0.55;
    cursor: default;
    pointer-events: none;
}

.product-badge {
    position: absolute;
    top: 22px;
    right: 22px;
    background: rgba(255, 182, 92, 0.14);
    border: 1px solid rgba(255, 182, 92, 0.4);
    color: #A15E12;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 5px 12px;
    border-radius: var(--radius-full);
    z-index: 2;
}

/* 9. STATS / COUNTERS
   ---------------------------------------------------------- */
.stat-card {
    background: var(--ivw-glass-bg);
    border: 1px solid var(--ivw-glass-border);
    backdrop-filter: var(--ivw-glass-blur);
    -webkit-backdrop-filter: var(--ivw-glass-blur);
    border-radius: var(--radius-lg);
    padding: 32px;
    text-align: center;
    box-shadow: inset 0 1px 0 var(--ivw-glass-specular);
    transition: var(--transition);
}

.stat-card:hover {
    border-color: var(--ivw-purple);
    box-shadow: inset 0 1px 0 var(--ivw-glass-specular), var(--shadow-glow);
    transform: translateY(-4px);
}

.stat-card-number {
    font-size: 2.6rem;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    color: var(--ivw-black);
    line-height: 1;
    margin-bottom: 8px;
}
.stat-card-number > span:last-child { color: var(--ivw-purple-dark); }
.stat-card-label { font-size: 0.82rem; color: var(--ivw-grey-deep); text-transform: uppercase; letter-spacing: 1.5px; }

/* 9b. CHECK LISTS (highlight bullets inside feature cards)
   ---------------------------------------------------------- */
.check-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}
.check-item + .check-item { margin-top: 12px; }
.check-item i {
    color: var(--ivw-purple-dark);
    font-size: 1.4rem;
    flex-shrink: 0;
    margin-top: 2px;
}
.check-item p { color: var(--ivw-grey-deep); }
.section-light .check-item p,
.section-soft .check-item p { color: var(--ivw-grey-deep); }
.check-item strong { color: var(--ivw-blue-dark); }

/* 10. PILLARS / APPROACH (light section)
   ---------------------------------------------------------- */
.pillar-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}
.pillar-num {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(111,203,239,0.12), rgba(156, 144, 255,0.12));
    border: 1px solid var(--ivw-border);
    color: var(--ivw-blue-dark);
    font-weight: 800;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
.pillar-item h5 { font-weight: 700; margin-bottom: 6px; }
.pillar-item p { color: var(--ivw-grey-deep); font-size: 0.92rem; margin: 0; line-height: 1.7; }

/* 10b. CAPABILITY LIST (editorial spec-sheet, not another card grid --
   cards are reserved for Products; capabilities read as a hairline-ruled
   list instead) */
.capability-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}
.capability-row {
    display: flex;
    gap: 20px;
    padding: 32px 28px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    position: relative;
}
.capability-row:nth-child(odd) { border-right: 1px solid rgba(0, 0, 0, 0.08); }
.capability-row-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    background: rgba(111, 203, 239, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.06);
    color: var(--ivw-blue-dark);
}
.capability-row h4 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--ivw-black);
}
.capability-row p {
    font-size: 0.88rem;
    color: var(--ivw-grey-deep);
    line-height: 1.7;
    margin: 0;
}

/* Dark-section variant */
.section-dark .capability-list,
.section-darker .capability-list { border-top-color: rgba(255, 255, 255, 0.08); }
.section-dark .capability-row,
.section-darker .capability-row { border-bottom-color: rgba(255, 255, 255, 0.08); }
.section-dark .capability-row:nth-child(odd),
.section-darker .capability-row:nth-child(odd) { border-right-color: rgba(255, 255, 255, 0.08); }
.section-dark .capability-row-icon,
.section-darker .capability-row-icon {
    background: var(--ivw-glass-bg-2);
    border-color: var(--ivw-glass-border);
    color: var(--ivw-purple);
}
.section-dark .capability-row h4,
.section-darker .capability-row h4 { color: var(--ivw-white); }
.section-dark .capability-row p,
.section-darker .capability-row p { color: rgba(255, 255, 255, 0.55); }

@media (max-width: 768px) {
    .capability-list { grid-template-columns: 1fr; }
    .capability-row:nth-child(odd) { border-right: none; }
}

/* 11. TEAM / FOUNDER BIOS
   ---------------------------------------------------------- */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
}

.team-card {
    background: var(--ivw-glass-bg);
    border: 1px solid var(--ivw-glass-border);
    backdrop-filter: var(--ivw-glass-blur);
    -webkit-backdrop-filter: var(--ivw-glass-blur);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: inset 0 1px 0 var(--ivw-glass-specular);
    transition: var(--transition);
}

.team-card:hover {
    transform: translateY(-8px);
    border-color: rgba(111, 203, 239, 0.3);
    box-shadow: var(--shadow-lift);
}

.team-photo-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 4.2;
    overflow: hidden;
}

.team-photo-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}
.team-card:hover .team-photo-wrap img { transform: scale(1.06); }

.team-info {
    padding: 22px 26px 28px;
    text-align: center;
    position: relative;
}

.team-name {
    font-size: 1.15rem;
    font-weight: 800;
    margin-bottom: 4px;
    letter-spacing: -0.2px;
}

.team-role {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.8px;
    background: linear-gradient(135deg, var(--ivw-blue), var(--ivw-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 14px;
}

.team-bio {
    font-size: 0.88rem;
    color: var(--ivw-grey-deep);
    line-height: 1.75;
    margin-bottom: 16px;
}

.team-social {
    display: flex;
    justify-content: center;
    gap: 12px;
}
.team-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--ivw-glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ivw-grey-deep);
    transition: var(--transition);
    font-size: 0.95rem;
}
.team-social a:hover {
    background: linear-gradient(135deg, var(--ivw-blue), var(--ivw-purple));
    color: var(--ivw-black);
    border-color: transparent;
}

/* 12. CTA BAND
   ---------------------------------------------------------- */
.cta-band {
    background: linear-gradient(135deg, var(--ivw-blue) 0%, var(--ivw-purple-dark) 55%, var(--ivw-black) 100%);
    position: relative;
    overflow: hidden;
    padding: 90px 0;
}

.cta-band::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0,0,0,0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,0,0,0.05) 1px, transparent 1px);
    background-size: 48px 48px;
}

.cta-band .cta-content { position: relative; z-index: 1; }

.cta-band h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--ivw-black);
    line-height: 1.1;
    margin-bottom: 1rem;
}

.cta-band p { color: rgba(7,8,12,0.7); font-size: 1.1rem; margin-bottom: 2rem; }

.cta-band .btn-ivw-ghost {
    background: rgba(7,8,12,0.12);
    color: var(--ivw-black);
    border: 1.5px solid rgba(7,8,12,0.3);
}
.cta-band .btn-ivw-ghost:hover {
    background: rgba(7,8,12,0.2);
    border-color: rgba(7,8,12,0.5);
}

/* 13. FOOTER
   ---------------------------------------------------------- */
.ivw-footer {
    background: rgba(236, 241, 246, 0.9);
    border-top: 1px solid rgba(111, 203, 239, 0.25);
    padding: 64px 0 0;
    color: var(--ivw-grey-deep);
}

.ivw-footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}
.ivw-footer-brand img { height: 38px; }
.ivw-footer-brand .brand-name {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--ivw-black);
    letter-spacing: 0.5px;
}

.ivw-footer p.brand-desc {
    font-size: 0.88rem;
    line-height: 1.75;
    max-width: 320px;
    color: var(--ivw-grey-deep);
}

.ivw-footer-heading {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--ivw-black);
    margin-bottom: 20px;
}

.ivw-footer ul { list-style: none; padding: 0; margin: 0; }
.ivw-footer ul li { margin-bottom: 10px; }
.ivw-footer ul li a {
    font-size: 0.88rem;
    color: var(--ivw-grey-deep);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.ivw-footer ul li a:hover { color: var(--ivw-purple-dark); padding-left: 4px; }
.ivw-footer ul li a i { font-size: 0.85rem; opacity: 0.7; }

.ivw-footer-contact p {
    font-size: 0.88rem;
    color: var(--ivw-grey-deep);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.ivw-footer-contact i { color: var(--ivw-purple-dark); font-size: 1.05rem; }

.ivw-footer-bottom {
    margin-top: 48px;
    padding: 20px 0;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.ivw-footer-bottom small { font-size: 0.8rem; color: rgba(15, 23, 42, 0.45); }

.ivw-footer-legal a {
    color: rgba(15, 23, 42, 0.45);
    transition: var(--transition);
}
.ivw-footer-legal a:hover { color: var(--ivw-purple-dark); }
.ivw-footer-legal-sep { margin: 0 8px; opacity: 0.4; }
.ivw-footer-legal #footer-manage-cookies { cursor: pointer; }

.footer-socials a {
    color: rgba(15, 23, 42, 0.5);
    font-size: 1.15rem;
    margin: 0 8px;
    transition: var(--transition);
}
.footer-socials a:hover { color: var(--ivw-blue-dark); }

/* 14. UTILITY CLASSES
   ---------------------------------------------------------- */
.text-blue   { color: var(--ivw-blue) !important; }
.text-purple   { color: var(--ivw-purple) !important; }
.text-ivw-muted { color: var(--ivw-grey) !important; }
.bg-ivw-dark  { background: var(--ivw-dark) !important; }
.bg-ivw-light { background: var(--ivw-light) !important; }

.rounded-ps  { border-radius: var(--radius-lg) !important; }
.rounded-pill-ps { border-radius: var(--radius-full) !important; }

/* 15. INTERACTIVITY (scroll-reveal, counters, back-to-top)
   ---------------------------------------------------------- */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.in-view {
    opacity: 1;
    transform: translateY(0);
}
.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }
.reveal-d4 { transition-delay: 0.32s; }
.reveal-d5 { transition-delay: 0.4s; }
.reveal-d6 { transition-delay: 0.48s; }

@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* Back to top floating button */
.back-to-top {
    position: fixed;
    bottom: 32px;
    left: 32px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: var(--ivw-glass-blur);
    -webkit-backdrop-filter: var(--ivw-glass-blur);
    color: var(--ivw-black);
    border: 1px solid var(--ivw-glass-border);
    box-shadow: var(--shadow-card);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: var(--transition);
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover {
    background: linear-gradient(135deg, var(--ivw-blue), var(--ivw-purple));
    color: var(--ivw-black);
    border-color: transparent;
}

/* 16. CONTACT FORM (glass)
   ---------------------------------------------------------- */
.ivw-form-control {
    border: 1px solid var(--ivw-glass-border);
    background: rgba(17, 32, 56, 0.025);
    border-radius: 12px;
    padding: 12px 16px;
    font-size: 0.9rem;
    color: var(--ivw-black);
    width: 100%;
    transition: border-color 0.2s, background 0.2s;
}
.ivw-form-control::placeholder { color: rgba(15, 23, 42, 0.35); }
.ivw-form-control:focus {
    outline: none;
    border-color: var(--ivw-purple);
    background: rgba(255, 255, 255, 0.9);
}
.ivw-form-label {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--ivw-grey-deep);
    margin-bottom: 6px;
    display: block;
}
select.ivw-form-control option { background: var(--ivw-white); color: var(--ivw-black); }

/* 17. COOKIE CONSENT BANNER
   ---------------------------------------------------------- */
.cookie-consent {
    position: fixed;
    left: 24px;
    right: 24px;
    bottom: 24px;
    max-width: 920px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid var(--ivw-glass-border);
    backdrop-filter: var(--ivw-glass-blur);
    -webkit-backdrop-filter: var(--ivw-glass-blur);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lift);
    padding: 24px 28px;
    z-index: 1100;
    opacity: 0;
    visibility: hidden;
    transform: translateY(40px);
    transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.5s;
}
.cookie-consent.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.cookie-consent-inner {
    display: flex;
    align-items: center;
    gap: 20px;
}
.cookie-consent-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: rgba(156, 144, 255, 0.12);
    color: var(--ivw-purple);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}
.cookie-consent-text { flex: 1 1 320px; }
.cookie-consent-text h6 {
    margin: 0 0 4px;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--ivw-black);
}
.cookie-consent-text p {
    margin: 0;
    font-size: 0.85rem;
    color: var(--ivw-grey-deep);
    line-height: 1.6;
}
.cookie-consent-text a { color: var(--ivw-blue-dark); text-decoration: underline; }
.cookie-consent-actions {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}
.cookie-consent-actions .btn-ivw-outline,
.cookie-consent-actions .btn-ivw-primary {
    padding: 10px 24px;
    font-size: 0.82rem;
}

/* 17b. ACCESSIBILITY: SKIP LINK & FOCUS STATES
   ---------------------------------------------------------- */
.skip-link {
    position: absolute;
    top: -60px;
    left: 16px;
    z-index: 10000;
    background: var(--ivw-purple);
    color: var(--ivw-black);
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 0.85rem;
    transition: top 0.2s ease;
}
.skip-link:focus {
    top: 16px;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
.back-to-top:focus-visible {
    outline: 2px solid var(--ivw-purple);
    outline-offset: 3px;
    border-radius: 4px;
}

/* 18. RESPONSIVE
   ---------------------------------------------------------- */
@media (max-width: 992px) {
    body { padding-top: 68px; }
}

@media (max-width: 768px) {
    .hero-headline { letter-spacing: -0.5px; }
    .hero-actions { flex-direction: column; align-items: center; }
    .feature-grid, .products-grid, .team-grid { grid-template-columns: 1fr; }
    .pillar-item { flex-direction: column; }

    .cookie-consent {
        left: 12px;
        right: 12px;
        bottom: 12px;
        padding: 20px;
    }
    .cookie-consent-inner { flex-direction: column; align-items: stretch; text-align: center; }
    .cookie-consent-icon { margin: 0 auto; }
    .cookie-consent-actions { justify-content: center; }
}
