/* ============================================
   IT-DEP.ro - Main Stylesheet
   ============================================ */

/* ---------- CSS Custom Properties ---------- */
:root {
    --bg-primary: #0a0e27;
    --bg-secondary: #0f1335;
    --bg-card: rgba(255, 255, 255, 0.03);
    --bg-card-hover: rgba(255, 255, 255, 0.06);
    --border-color: rgba(255, 255, 255, 0.08);
    --border-color-hover: rgba(255, 255, 255, 0.15);

    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;

    --accent-start: #6366f1;
    --accent-end: #8b5cf6;
    --accent-cyan: #06b6d4;
    --accent-orange: #f97316;
    --accent-amber: #f59e0b;
    --accent-rose: #f43f5e;

    --gradient-primary: linear-gradient(135deg, var(--accent-start), var(--accent-end));
    --gradient-warm: linear-gradient(135deg, var(--accent-orange), var(--accent-amber));
    --gradient-hot: linear-gradient(135deg, var(--accent-rose), var(--accent-orange));
    --gradient-hero: linear-gradient(160deg, #0a0e27 0%, #111642 40%, #1a1f4e 70%, #0f1335 100%);
    --gradient-cta: linear-gradient(135deg, #1a1050 0%, #2d1b69 50%, #1a1050 100%);

    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 24px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 48px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 40px rgba(99, 102, 241, 0.15);

    --container-max: 1200px;
    --nav-height: 72px;

    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

input {
    font-family: inherit;
}

/* ---------- Utilities ---------- */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.glass-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: var(--radius-lg);
    transition: background var(--transition), border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.glass-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-color-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

/* ---------- Scroll Animations ---------- */
.animate-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.animate-in.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 0.9375rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-full);
    transition: all var(--transition);
    white-space: nowrap;
    cursor: pointer;
    border: none;
    line-height: 1.4;
}

.btn--primary {
    background: var(--gradient-primary);
    color: #fff;
    box-shadow: 0 4px 16px rgba(99, 102, 241, 0.3);
}

.btn--primary:hover {
    box-shadow: 0 6px 24px rgba(99, 102, 241, 0.5);
    transform: translateY(-1px);
}

.btn--outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-color-hover);
}

.btn--outline:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.25);
}

.btn--lg {
    padding: 0.9375rem 2rem;
    font-size: 1rem;
}

.btn--full {
    width: 100%;
    justify-content: center;
}

.btn:focus-visible {
    outline: 2px solid var(--accent-cyan);
    outline-offset: 2px;
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--nav-height);
    display: flex;
    align-items: center;
    transition: background var(--transition), backdrop-filter var(--transition), box-shadow var(--transition);
}

.navbar.is-scrolled {
    background: rgba(10, 14, 39, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 1px 0 var(--border-color);
}

.navbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar__logo {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--text-primary);
    z-index: 10;
}

.navbar__logo:hover {
    color: var(--text-primary);
}

.navbar__links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.navbar__links a {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color var(--transition);
    position: relative;
}

.navbar__links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: 1px;
    transition: width var(--transition);
}

.navbar__links a:hover {
    color: var(--text-primary);
}

.navbar__links a:hover::after {
    width: 100%;
}

.navbar__cta {
    padding: 0.5rem 1.25rem;
    font-size: 0.875rem;
}

/* ---------- Language Toggle ---------- */
.lang-toggle {
    display: inline-flex !important;
    align-items: center;
    border-radius: var(--radius-full);
    border: 2px solid #6366f1;
    overflow: hidden;
    background: rgba(99, 102, 241, 0.15);
    margin-right: 0.75rem;
    flex-shrink: 0;
}

.lang-toggle__btn {
    padding: 0.4rem 0.85rem;
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: #e2e8f0 !important;
    cursor: pointer;
    transition: all var(--transition);
    border: none !important;
    background: transparent !important;
    font-family: inherit;
    line-height: 1;
}

.lang-toggle__btn--active {
    background: linear-gradient(135deg, #6366f1, #8b5cf6) !important;
    color: #ffffff !important;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.5);
}

.lang-toggle__btn:not(.lang-toggle__btn--active):hover {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.1) !important;
}

.lang-toggle__sep {
    width: 1px;
    height: 16px;
    background: var(--border-color);
    flex-shrink: 0;
}

/* Mobile menu language toggle */
.mobile-menu .lang-toggle {
    margin: 1rem auto 0;
    display: inline-flex;
    border: 1px solid var(--border-color);
}

.navbar__burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 24px;
    padding: 0;
    z-index: 10;
}

.navbar__burger span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all var(--transition);
}

.navbar__burger.is-active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.navbar__burger.is-active span:nth-child(2) {
    opacity: 0;
}

.navbar__burger.is-active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: -2px;
    background: rgba(10, 14, 39, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.mobile-menu.is-open {
    opacity: 1;
    pointer-events: all;
}

.mobile-menu ul {
    text-align: center;
}

.mobile-menu li {
    margin: 1.5rem 0;
}

.mobile-menu a {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-secondary);
    transition: color var(--transition);
}

.mobile-menu a:hover {
    color: var(--text-primary);
}

/* ============================================
   HERO
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: calc(var(--nav-height) + 2rem) 0 3rem;
    background: var(--gradient-hero);
    overflow: visible;
}

.hero__bg-orbs {
    overflow: hidden;
}

.hero__bg-orbs {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
}

.orb--1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.4), transparent 70%);
    top: -10%;
    right: -5%;
    animation: float-orb 12s ease-in-out infinite;
}

.orb--2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.3), transparent 70%);
    bottom: -5%;
    left: -5%;
    animation: float-orb 15s ease-in-out infinite reverse;
}

.orb--3 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.25), transparent 70%);
    top: 40%;
    left: 50%;
    animation: float-orb 10s ease-in-out infinite 2s;
}

.orb--4 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(249, 115, 22, 0.2), transparent 70%);
    top: 20%;
    left: 20%;
    animation: float-orb 8s ease-in-out infinite 1s;
}

@keyframes float-orb {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.05); }
    66% { transform: translate(-20px, 20px) scale(0.95); }
}

.hero__inner {
    position: relative;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    border-radius: var(--radius-full);
    background: rgba(249, 115, 22, 0.12);
    border: 1px solid rgba(249, 115, 22, 0.3);
    color: #fdba74;
    font-size: 0.8125rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    letter-spacing: 0.03em;
}

.hero__title {
    font-size: clamp(2.5rem, 6vw, 4.25rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.025em;
    margin-bottom: 1.5rem;
}

.hero__subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
}

.hero__ctas {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero__stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-top: 4rem;
    border: 1px solid var(--border-color);
}

.hero__stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem 1rem;
    background: rgba(15, 19, 53, 0.8);
    backdrop-filter: blur(8px);
}

.hero__stat strong {
    font-size: 1.5rem;
    font-weight: 800;
    background: var(--gradient-warm);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero__stat span {
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

/* ============================================
   CLIENT LOGOS
   ============================================ */
.logos {
    padding: 4rem 0;
    border-bottom: 1px solid var(--border-color);
}

.logos__heading {
    text-align: center;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-muted);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 2rem;
}

.logos__marquee {
    overflow: hidden;
    position: relative;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.logos__track {
    display: flex;
    gap: 4rem;
    animation: marquee 30s linear infinite;
    width: max-content;
}

.logos__item {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-muted);
    white-space: nowrap;
    opacity: 0.5;
    letter-spacing: 0.02em;
    transition: opacity var(--transition);
    user-select: none;
}

.logos__item:hover {
    opacity: 0.8;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ============================================
   SECTION HEADERS (shared)
   ============================================ */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-label {
    display: inline-block;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--accent-orange);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.75rem;
}

.section-title {
    font-size: clamp(1.875rem, 4vw, 2.75rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.0625rem;
    color: var(--text-secondary);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ============================================
   FEATURES
   ============================================ */
.features {
    padding: 6rem 0;
}

.features__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.feature-card {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.feature-card__icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: rgba(99, 102, 241, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.25rem;
}

.feature-card:nth-child(2) .feature-card__icon {
    background: rgba(249, 115, 22, 0.1);
}

.feature-card:nth-child(4) .feature-card__icon {
    background: rgba(244, 63, 94, 0.1);
}

.feature-card:nth-child(5) .feature-card__icon {
    background: rgba(245, 158, 11, 0.1);
}

.feature-card h3 {
    font-size: 1.125rem;
    font-weight: 700;
}

.feature-card p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ============================================
   HOW IT WORKS
   ============================================ */
.how-it-works {
    padding: 8rem 0 6rem;
    background: var(--bg-secondary);
    position: relative;
}

.steps {
    position: relative;
    display: flex;
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.steps__line {
    display: none;
}

.step {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
}

.step__number {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: #fff;
    font-size: 1.25rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
    box-shadow: 0 0 24px rgba(99, 102, 241, 0.3);
}

.step:nth-child(2) .step__number {
    background: var(--gradient-warm);
    box-shadow: 0 0 24px rgba(249, 115, 22, 0.3);
}

.step:nth-child(3) .step__number {
    background: linear-gradient(135deg, #06b6d4, #22d3ee);
    box-shadow: 0 0 24px rgba(6, 182, 212, 0.3);
}

/* connecting line between steps */
.step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 24px;
    left: calc(50% + 32px);
    width: calc(100% - 64px);
    height: 2px;
    background: linear-gradient(90deg, var(--accent-start), var(--accent-end));
    opacity: 0.3;
    z-index: 1;
}

.step__content {
    padding: 2rem 1.5rem;
    width: 100%;
}

.step__icon {
    margin-bottom: 1rem;
}

.step__content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.step__content p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ============================================
   INDUSTRIES
   ============================================ */
.industries {
    padding: 6rem 0;
}

.industries__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.industry-card {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.industry-card__icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    background: rgba(99, 102, 241, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.25rem;
}

.industry-card h3 {
    font-size: 1.125rem;
    font-weight: 700;
}

.industry-card p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.6;
    flex: 1;
}

.industry-card__metric {
    margin-top: 0.5rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--border-color);
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.industry-card__metric strong {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--accent-orange);
    margin-right: 0.25rem;
}

.industry-card:nth-child(2) .industry-card__metric strong {
    color: var(--accent-cyan);
}

.industry-card:nth-child(3) .industry-card__metric strong {
    color: var(--accent-amber);
}

.industry-card:nth-child(4) .industry-card__metric strong {
    color: var(--accent-rose);
}

.industry-card:nth-child(5) .industry-card__metric strong {
    color: var(--accent-cyan);
}

.industry-card:nth-child(6) .industry-card__metric strong {
    color: var(--accent-amber);
}

/* ============================================
   DEMO
   ============================================ */
.demo {
    padding: 8rem 0 6rem;
    background: var(--bg-secondary);
    position: relative;
}

.demo__window {
    max-width: 680px;
    margin: 0 auto;
    border-radius: var(--radius-lg);
    background: rgba(10, 14, 39, 0.9);
    border: 1px solid var(--border-color);
    overflow: hidden;
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.demo__header {
    display: flex;
    align-items: center;
    padding: 0.875rem 1.25rem;
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid var(--border-color);
    gap: 0.75rem;
}

.demo__dots {
    display: flex;
    gap: 6px;
}

.demo__dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.demo__dots span:nth-child(1) { background: #ef4444; }
.demo__dots span:nth-child(2) { background: #f59e0b; }
.demo__dots span:nth-child(3) { background: #22c55e; }

.demo__title {
    flex: 1;
    text-align: center;
    font-size: 0.8125rem;
    color: var(--text-muted);
    font-weight: 500;
}

.demo__status {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    color: #22c55e;
    font-weight: 500;
}

.demo__status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #22c55e;
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.demo__body {
    padding: 1.5rem;
    min-height: 320px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.demo__message {
    max-width: 85%;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    line-height: 1.5;
    animation: msg-in 0.4s ease-out;
    opacity: 0;
    animation-fill-mode: forwards;
}

@keyframes msg-in {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.demo__message--system {
    align-self: center;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    max-width: 100%;
    text-align: center;
    opacity: 1;
}

.demo__message--system .demo__label {
    display: block;
    font-size: 0.6875rem;
    font-weight: 600;
    color: var(--accent-start);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
}

.demo__message--ai {
    align-self: flex-start;
    background: rgba(99, 102, 241, 0.12);
    border: 1px solid rgba(99, 102, 241, 0.15);
    color: var(--text-primary);
}

.demo__message--customer {
    align-self: flex-end;
    background: rgba(249, 115, 22, 0.1);
    border: 1px solid rgba(249, 115, 22, 0.15);
    color: var(--text-primary);
}

.demo__message .demo__label {
    display: block;
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
}

.demo__message--ai .demo__label {
    color: #a5b4fc;
}

.demo__message--customer .demo__label {
    color: var(--accent-orange);
}

.demo__footer {
    padding: 1rem 1.25rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: center;
}

.demo__waveform {
    display: flex;
    align-items: center;
    gap: 3px;
    height: 24px;
}

.demo__waveform span {
    width: 3px;
    height: 6px;
    border-radius: 2px;
    background: var(--accent-start);
    animation: waveform 1.2s ease-in-out infinite;
}

.demo__waveform span:nth-child(1)  { animation-delay: 0.0s; }
.demo__waveform span:nth-child(2)  { animation-delay: 0.08s; }
.demo__waveform span:nth-child(3)  { animation-delay: 0.16s; }
.demo__waveform span:nth-child(4)  { animation-delay: 0.24s; }
.demo__waveform span:nth-child(5)  { animation-delay: 0.32s; }
.demo__waveform span:nth-child(6)  { animation-delay: 0.4s; }
.demo__waveform span:nth-child(7)  { animation-delay: 0.48s; }
.demo__waveform span:nth-child(8)  { animation-delay: 0.56s; }
.demo__waveform span:nth-child(9)  { animation-delay: 0.64s; }
.demo__waveform span:nth-child(10) { animation-delay: 0.72s; }
.demo__waveform span:nth-child(11) { animation-delay: 0.8s; }
.demo__waveform span:nth-child(12) { animation-delay: 0.88s; }
.demo__waveform span:nth-child(13) { animation-delay: 0.96s; }
.demo__waveform span:nth-child(14) { animation-delay: 1.04s; }
.demo__waveform span:nth-child(15) { animation-delay: 1.12s; }

@keyframes waveform {
    0%, 100% { height: 4px; opacity: 0.4; }
    50% { height: 20px; opacity: 1; }
}

/* ============================================
   METRICS
   ============================================ */
.metrics {
    padding: 6rem 0;
}

.metrics__grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1.5rem;
}

.metric-card {
    text-align: center;
    padding: 2rem 1rem;
}

.metric-card__value {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
}

.metric-card__label {
    display: block;
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
    font-weight: 500;
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials {
    padding: 8rem 0 6rem;
    background: var(--bg-secondary);
    position: relative;
}

.testimonials__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.testimonial-card {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.testimonial-card__stars {
    display: flex;
    gap: 2px;
}

.testimonial-card blockquote p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.7;
    font-style: italic;
}

.testimonial-card__author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: auto;
}

.testimonial-card__avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    flex-shrink: 0;
}

.testimonial-card__author strong {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
}

.testimonial-card__author span {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* ============================================
   PRICING
   ============================================ */
.pricing {
    padding: 6rem 0;
}

.pricing__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    align-items: start;
}

.pricing-card {
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: relative;
}

.pricing-card--popular {
    border-color: rgba(249, 115, 22, 0.35);
    background: rgba(249, 115, 22, 0.05);
    box-shadow: 0 0 40px rgba(249, 115, 22, 0.1);
}

.pricing-card__badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-warm);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 1rem;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.pricing-card__header h3 {
    font-size: 1.375rem;
    font-weight: 700;
}

.pricing-card__desc {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

.pricing-card__price {
    display: flex;
    align-items: baseline;
    gap: 0.125rem;
}

.pricing-card__currency {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.pricing-card__amount {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
}

.pricing-card__period {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 500;
}

.pricing-card__features {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    flex: 1;
}

.pricing-card__features li {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-size: 0.9375rem;
    color: var(--text-secondary);
}

.pricing-card__features li svg {
    flex-shrink: 0;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #ea580c 0%, #dc2626 50%, #be123c 100%);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.cta-section::after {
    content: '';
    position: absolute;
    bottom: -40%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.cta-section__inner {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.cta-section__inner h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.cta-section__inner > p {
    font-size: 1.0625rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.cta-section__form {
    display: flex;
    gap: 0.75rem;
    max-width: 460px;
    margin: 0 auto;
}

.cta-section__form input {
    flex: 1;
    padding: 0.875rem 1.25rem;
    border-radius: var(--radius-full);
    border: 1px solid var(--border-color-hover);
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-primary);
    font-size: 0.9375rem;
    outline: none;
    transition: all var(--transition);
}

.cta-section__form input::placeholder {
    color: var(--text-muted);
}

.cta-section__form input:focus {
    border-color: var(--accent-start);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}

.cta-section__captcha {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
}

.cta-section__note {
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin-top: 1rem;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    padding: 4rem 0 2rem;
    background: var(--bg-primary);
    border-top: 1px solid var(--border-color);
}

.footer__top {
    display: grid;
    grid-template-columns: 1.5fr repeat(4, 1fr);
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--border-color);
}

.footer__brand .navbar__logo {
    margin-bottom: 1rem;
}

.footer__tagline {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1.25rem;
    max-width: 280px;
}

.footer__socials {
    display: flex;
    gap: 0.75rem;
}

.footer__socials a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: all var(--transition);
}

.footer__socials a:hover {
    border-color: var(--accent-start);
    color: var(--accent-start);
    background: rgba(99, 102, 241, 0.1);
}

.footer__col h4 {
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    color: var(--text-primary);
}

.footer__col li {
    margin-bottom: 0.625rem;
}

.footer__col a {
    font-size: 0.875rem;
    color: var(--text-muted);
    transition: color var(--transition);
}

.footer__col a:hover {
    color: var(--text-primary);
}

.footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer__bottom p {
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.footer__badges {
    display: flex;
    gap: 0.625rem;
}

.footer__badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    font-size: 0.6875rem;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* ============================================
   RESPONSIVE
   ============================================ */

/* Tablet */
@media (max-width: 1024px) {
    .features__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .industries__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .metrics__grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer__top {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .footer__brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .navbar__links,
    .navbar__cta,
    .navbar__inner > .lang-toggle {
        display: none;
    }

    .navbar__burger {
        display: flex;
    }

    .hero {
        min-height: auto;
        padding: calc(var(--nav-height) + 3rem) 0 2rem;
    }

    .hero__stats {
        grid-template-columns: repeat(2, 1fr);
        margin-top: 2.5rem;
    }

    .features__grid {
        grid-template-columns: 1fr;
    }

    .steps {
        flex-direction: column;
        gap: 1.5rem;
    }

    .step:not(:last-child)::after {
        display: none;
    }

    .industries__grid {
        grid-template-columns: 1fr;
    }

    .metrics__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .metric-card__value {
        font-size: 2rem;
    }

    .testimonials__grid {
        grid-template-columns: 1fr;
    }

    .pricing__grid {
        grid-template-columns: 1fr;
        max-width: 420px;
        margin: 0 auto;
    }

    .cta-section__form {
        flex-direction: column;
    }

    .footer__top {
        grid-template-columns: 1fr 1fr;
    }

    .section-header {
        margin-bottom: 3rem;
    }

    .features,
    .how-it-works,
    .industries,
    .demo,
    .metrics,
    .testimonials,
    .pricing,
    .cta-section {
        padding: 4rem 0;
    }
}

@media (max-width: 480px) {
    .hero__title {
        font-size: 2rem;
    }

    .hero__stats {
        grid-template-columns: 1fr 1fr;
    }

    .hero__ctas {
        flex-direction: column;
        align-items: center;
    }

    .btn--lg {
        padding: 0.875rem 1.75rem;
    }

    .metrics__grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer__top {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   CONTACT PAGE
   ============================================ */

/* Contact Hero - smaller version */
.contact-hero {
    position: relative;
    min-height: 40vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: calc(var(--nav-height) + 3rem) 0 3rem;
    background: var(--gradient-hero);
    overflow: hidden;
    text-align: center;
}

.contact-hero__inner {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
}

/* Contact Section */
.contact-section {
    padding: 5rem 0;
}

.contact-section__grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 3rem;
    align-items: start;
}

/* Contact Info (left column) */
.contact-info {
    padding: 2.5rem 0;
}

.contact-info__title {
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 0.75rem;
}

.contact-info__subtitle {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 2.5rem;
}

.contact-info__items {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.contact-info__item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-info__icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #a5b4fc;
    flex-shrink: 0;
}

.contact-info__label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.25rem;
}

.contact-info__value {
    display: block;
    font-size: 0.9375rem;
    color: var(--text-primary);
    font-weight: 500;
}

a.contact-info__value:hover {
    color: #a5b4fc;
}

.contact-info__socials {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.contact-info__socials-label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1rem;
}

/* Contact Form (right column) */
.contact-form {
    padding: 2.5rem;
}

.contact-form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    margin-bottom: 1.25rem;
}

.contact-form__group {
    margin-bottom: 1.25rem;
}

.contact-form__row .contact-form__group {
    margin-bottom: -2px;
}

.contact-form__label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.contact-form__required {
    color: #ef4444;
}

.contact-form__input {
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color-hover);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-primary);
    font-family: var(--font-family);
    font-size: 0.9375rem;
    outline: none;
    transition: all var(--transition);
}

.contact-form__input::placeholder {
    color: var(--text-muted);
}

.contact-form__input:focus {
    border-color: var(--accent-start);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
    background: rgba(255, 255, 255, 0.06);
}

.contact-form__select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%2364748b' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
    cursor: pointer;
}

.contact-form__select option {
    background: var(--bg-primary);
    color: var(--text-primary);
}

.contact-form__textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form__captcha {
    margin-bottom: 1.25rem;
    display: flex;
    justify-content: flex-start;
}

.contact-form__status {
    display: none;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1.25rem;
}

.contact-form__status--success {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.25);
    color: #22c55e;
}

.contact-form__status--error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.25);
    color: #ef4444;
}

/* Contact page responsive */
@media (max-width: 1024px) {
    .contact-section__grid {
        grid-template-columns: 1fr 1.2fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .contact-hero {
        min-height: auto;
        padding: calc(var(--nav-height) + 2rem) 0 2rem;
    }

    .contact-section {
        padding: 3rem 0;
    }

    .contact-section__grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .contact-form {
        padding: 2rem;
    }

    .contact-form__row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .contact-form__row .contact-form__group {
        margin-bottom: 1.25rem;
    }
}

@media (max-width: 480px) {
    .contact-form {
        padding: 1.5rem;
    }
}

/* ============================================
   USE CASES PAGE
   ============================================ */

/* -- Use Case Hero (compact) -- */
.usecase-hero {
    position: relative;
    padding: calc(var(--nav-height) + 4rem) 0 4rem;
    background: var(--gradient-hero);
    overflow: hidden;
    text-align: center;
}

.usecase-hero__inner {
    position: relative;
    z-index: 1;
}

/* -- Use Case Sections -- */
.usecase-section {
    padding: 5rem 0;
    position: relative;
}

.usecase-section--odd {
    background: var(--bg-primary);
}

.usecase-section--even {
    background: var(--bg-secondary);
}

/* subtle top divider */
.usecase-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-color) 30%, var(--border-color) 70%, transparent);
}

/* -- Two-column layout -- */
.usecase-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    align-items: start;
}

.usecase-content--reverse {
    grid-template-columns: 1.5fr 1fr;
}

.usecase-content--reverse .usecase-content__visual {
    order: 2;
}

.usecase-content--reverse .usecase-content__text {
    order: 1;
}

/* -- Visual / Icon side -- */
.usecase-content__visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    position: sticky;
    top: calc(var(--nav-height) + 2rem);
}

.usecase-content__icon-wrap {
    width: 120px;
    height: 120px;
    border-radius: var(--radius-xl);
    background: rgba(99, 102, 241, 0.08);
    border: 1px solid rgba(99, 102, 241, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 60px rgba(99, 102, 241, 0.1);
}

/* -- Metric card -- */
.usecase-metric {
    text-align: center;
    padding: 1.5rem 2.5rem;
    min-width: 180px;
}

.usecase-metric__value {
    display: block;
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.1;
}

.usecase-metric__label {
    display: block;
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-top: 0.375rem;
    font-weight: 500;
}

/* -- Text side -- */
.usecase-content__title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin: 0.5rem 0 1rem;
}

.usecase-content__desc {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

/* -- Bullet list with check icons -- */
.usecase-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.625rem;
    margin-bottom: 2rem;
}

.usecase-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.usecase-list li svg {
    flex-shrink: 0;
    margin-top: 3px;
}

/* -- Inline testimonial quote -- */
.usecase-quote {
    padding: 1.5rem;
    margin-top: 0.5rem;
}

.usecase-quote blockquote p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.7;
    font-style: italic;
    margin-bottom: 1rem;
}

.usecase-quote__author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.usecase-quote__author strong {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
}

.usecase-quote__author span {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* -- Use Cases Responsive -- */
@media (max-width: 1024px) {
    .usecase-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .usecase-hero {
        padding: calc(var(--nav-height) + 2.5rem) 0 3rem;
    }

    .usecase-section {
        padding: 3.5rem 0;
    }

    .usecase-content,
    .usecase-content--reverse {
        grid-template-columns: 1fr;
    }

    .usecase-content--reverse .usecase-content__visual {
        order: 0;
    }

    .usecase-content--reverse .usecase-content__text {
        order: 0;
    }

    .usecase-content__visual {
        position: static;
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
    }

    .usecase-content__icon-wrap {
        width: 80px;
        height: 80px;
    }

    .usecase-content__icon-wrap svg {
        width: 44px;
        height: 44px;
    }

    .usecase-metric {
        padding: 1rem 1.5rem;
    }

    .usecase-metric__value {
        font-size: 2.25rem;
    }

    .usecase-list {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   ALTERNATING DARK/LIGHT SECTION OVERRIDES
   ============================================ */

/* --- Diagonal transitions ---
   Strategy: place a triangle of the NEXT section's color
   at the BOTTOM of the current section using ::after.
   This way colors always match perfectly.
   -------------------------------------------------------- */

/* Extra bottom padding for sections with diagonal bottoms */
.diagonal-bot--to-white,
.diagonal-bot--to-white-alt,
.diagonal-bot--to-gray,
.diagonal-bot--to-gray-alt,
.diagonal-bot--to-dark,
.diagonal-bot--to-dark-alt {
    padding-bottom: 8rem;
}

/* Bottom diagonal: white triangle (for dark sections going to white) */
.diagonal-bot--to-white {
    position: relative;
}
.diagonal-bot--to-white::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 120px;
    background: #ffffff;
    clip-path: polygon(0 100%, 100% 0%, 100% 100%);
    z-index: 2;
}

/* Bottom diagonal: white triangle, alt direction */
.diagonal-bot--to-white-alt {
    position: relative;
}
.diagonal-bot--to-white-alt::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 120px;
    background: #ffffff;
    clip-path: polygon(0 0%, 0 100%, 100% 100%);
    z-index: 2;
}

/* Bottom diagonal: gray triangle */
.diagonal-bot--to-gray {
    position: relative;
}
.diagonal-bot--to-gray::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 120px;
    background: #f8fafc;
    clip-path: polygon(0 100%, 100% 0%, 100% 100%);
    z-index: 2;
}

/* Bottom diagonal: gray triangle, alt direction */
.diagonal-bot--to-gray-alt {
    position: relative;
}
.diagonal-bot--to-gray-alt::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 120px;
    background: #f8fafc;
    clip-path: polygon(0 0%, 0 100%, 100% 100%);
    z-index: 2;
}

/* Bottom diagonal: dark triangle */
.diagonal-bot--to-dark {
    position: relative;
}
.diagonal-bot--to-dark::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 120px;
    background: var(--bg-secondary);
    clip-path: polygon(0 100%, 100% 0%, 100% 100%);
    z-index: 2;
}

/* Bottom diagonal: dark triangle, alt direction */
.diagonal-bot--to-dark-alt {
    position: relative;
}
.diagonal-bot--to-dark-alt::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 120px;
    background: var(--bg-secondary);
    clip-path: polygon(0 0%, 0 100%, 100% 100%);
    z-index: 2;
}

/* --- Logos section: light --- */
.logos {
    background: #ffffff;
    border-bottom: none;
    position: relative;
    padding-top: 4rem;
}

.logos__heading {
    color: #94a3b8;
}

.logos__item {
    color: #94a3b8;
}

/* --- Light section backgrounds --- */
.features {
    background: #ffffff;
    border-top: none;
    position: relative;
    overflow: hidden;
}

/* Animated 3D wave canvas background */
.wave-bg {
    position: relative;
    overflow: hidden;
    min-height: auto;
}

.wave-bg > .container {
    position: relative;
    z-index: 1;
}

.wave-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.industries {
    background: #f8fafc;
    border-top: none;
    position: relative;
}

.metrics {
    background: #ffffff;
    position: relative;
}

.pricing {
    background: #f8fafc;
    position: relative;
}

/* --- Light section text colors --- */
.features .section-title,
.industries .section-title,
.metrics .section-title,
.pricing .section-title {
    color: #1e293b;
}

.features .section-subtitle,
.industries .section-subtitle,
.metrics .section-subtitle,
.pricing .section-subtitle,
.features .feature-card p,
.industries .industry-card p,
.pricing .pricing-card__desc,
.pricing .pricing-card__features li {
    color: #64748b;
}

.features .feature-card h3,
.industries .industry-card h3,
.pricing .pricing-card__header h3 {
    color: #1e293b;
}

.features .section-label,
.industries .section-label,
.metrics .section-label,
.pricing .section-label {
    color: var(--accent-orange);
}

/* --- Glass cards on light backgrounds --- */
.features .glass-card,
.industries .glass-card,
.pricing .glass-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    backdrop-filter: none;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08), 0 4px 16px rgba(0, 0, 0, 0.04);
}

.features .glass-card:hover,
.industries .glass-card:hover,
.pricing .glass-card:hover {
    background: #ffffff;
    border-color: #cbd5e1;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1), 0 8px 32px rgba(0, 0, 0, 0.06);
}

/* --- Feature card icons on light --- */
.features .feature-card__icon {
    background: rgba(99, 102, 241, 0.08);
}

/* --- Industry card metrics on light --- */
.industries .industry-card__metric {
    border-top-color: #e2e8f0;
}

/* --- Metrics section on light --- */
.metrics .metric-card__label {
    color: #64748b;
}

/* --- Pricing cards on light --- */
.pricing .pricing-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
}

.pricing .pricing-card--popular {
    border-color: rgba(249, 115, 22, 0.4);
    background: #fffbf5;
    box-shadow: 0 0 40px rgba(249, 115, 22, 0.08);
}

.pricing .pricing-card__amount {
    color: #1e293b;
}

.pricing .pricing-card__currency,
.pricing .pricing-card__period {
    color: #94a3b8;
}

/* --- Pricing buttons on light --- */
.pricing .btn--outline {
    color: #1e293b;
    border-color: #cbd5e1;
}

.pricing .btn--outline:hover {
    background: #f1f5f9;
    border-color: #94a3b8;
}

/* --- CTA section note --- */
.cta-section .cta-section__note {
    color: rgba(255, 255, 255, 0.7);
}
