/**
 * GALLIC UNIFIED — Merged Design System
 * Andern.ai branding + Gallic.com components
 */

:root {
    --navy-dark: #0A192F;
    --navy-medium: #112240;
    --black: #000000;
    --white: #FFFFFF;
    --cream: #FFF8E7;
    --text-secondary: #8892B0;
    --slate-400: #94a3b8;
    --slate-500: #64748b;
    --slate-700: #334155;
    --gallic-blue: #3b82f6;
    --gallic-dark: #0f172a;
    --bg-light: #f8fafc;
    --bg-white: #FFFFFF;
    --text-dark: #1a1a1a;
    --text-muted: #64748b;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--bg-white);
    color: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.font-serif { font-family: 'Playfair Display', serif; }
.text-slate { color: var(--text-muted); }

/* ═══════════════════════════════════════
   TAB CONTENT — Show/hide system
   ═══════════════════════════════════════ */
.tab-content {
    display: none;
}
.tab-content.active {
    display: block;
    animation: tabFadeIn 0.3s ease;
}
@keyframes tabFadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Active nav link highlight */
.nav-link-custom.active {
    color: var(--text-dark);
    background: rgba(0, 0, 0, 0.06);
}
.mobile-menu .nav-link.active {
    color: var(--white);
    background: rgba(255, 255, 255, 0.05);
}

/* ═══════════════════════════════════════
   DARK TAB NAV OVERRIDES (enterprise)
   ═══════════════════════════════════════ */
body.dark-tab .nav-pills-custom {
    background: rgba(10, 25, 47, 0.92);
    border-color: rgba(255, 255, 255, 0.1);
}
body.dark-tab .nav-link-custom {
    color: var(--slate-400);
}
body.dark-tab .nav-link-custom:hover {
    color: var(--white);
}
body.dark-tab .nav-link-custom.active {
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
}
body.dark-tab .btn-consultation {
    background: var(--white);
    color: var(--black);
}
body.dark-tab .btn-consultation:hover {
    background: #e2e8f0;
    color: var(--black);
}
body.dark-tab .navbar-brand-custom,
body.dark-tab .navbar-brand-custom:hover {
    color: var(--white);
}
body.dark-tab .andern-logo {
    filter: brightness(0) invert(1);
}
body.dark-tab .btn-mobile-toggle {
    background: rgba(10, 25, 47, 0.92);
    border-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
}
body.dark-tab .mobile-menu {
    background: rgba(10, 25, 47, 0.95);
    border-color: rgba(255, 255, 255, 0.1);
}

/* ═══════════════════════════════════════
   ANIMATIONS
   ═══════════════════════════════════════ */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}
@keyframes slideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes zoomIn {
    from { opacity: 0; transform: scale(0.5); }
    to { opacity: 1; transform: scale(1); }
}
.animate-float { animation: float 8s ease-in-out infinite; }
.animate-pulse { animation: pulse 2s ease-in-out infinite; }

/* ═══════════════════════════════════════
   GLASS EFFECTS (Andern)
   ═══════════════════════════════════════ */
.glass {
    background: rgba(17, 34, 64, 0.7);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 50px -12px rgba(0, 0, 0, 0.5);
}
.glass-navy {
    background: rgba(10, 25, 47, 0.6);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* ═══════════════════════════════════════
   NAVIGATION (Andern glass pill style)
   ═══════════════════════════════════════ */
.navbar-custom {
    position: fixed;
    top: 1rem;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 0 1rem;
}
.navbar-brand-andern {
    display: flex;
    align-items: center;
}
.andern-logo {
    height: 44px;
    width: 44px;
    display: block;
}
.navbar-brand-custom {
    text-decoration: none;
    color: var(--navy-dark);
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 800;
    font-size: 1.85rem;
    letter-spacing: -0.03em;
    cursor: pointer;
    margin-left: -4px;
}
.navbar-brand-custom:hover { color: var(--navy-dark); }
.nav-pills-custom {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(24px);
    border-radius: 50px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    padding: 0.25rem;
    transition: background 0.3s, border-color 0.3s;
}
.nav-link-custom {
    color: var(--slate-700);
    font-size: 0.625rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    padding: 0.625rem 1.25rem;
    border-radius: 50px;
    transition: color 0.3s, background 0.3s;
    text-decoration: none;
    cursor: pointer;
}
.nav-link-custom:hover { color: var(--text-dark); }
.btn-consultation {
    background: var(--navy-dark);
    color: var(--white);
    font-size: 0.625rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    border: none;
    transition: all 0.3s;
    text-decoration: none;
    cursor: pointer;
}
.btn-consultation:hover { background: var(--navy-medium); color: var(--white); }
.btn-mobile-toggle {
    width: 40px; height: 40px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(24px);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--text-dark);
    transition: background 0.3s, border-color 0.3s, color 0.3s;
}
.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    margin-top: 1rem;
    background: rgba(10, 25, 47, 0.95);
    backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 2rem;
    padding: 1.5rem;
}
.mobile-menu.show { display: block; }
.mobile-menu .nav-link {
    display: block;
    padding: 1rem 1.5rem;
    color: var(--slate-400);
    font-size: 0.7rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.4em;
    text-decoration: none;
    border-radius: 1rem;
    cursor: pointer;
    transition: color 0.3s, background 0.3s;
}
.mobile-menu .nav-link:hover { color: var(--white); }
.mobile-menu .btn-consultation-mobile {
    display: block;
    width: 100%;
    margin-top: 1rem;
    padding: 1.25rem;
    background: var(--white);
    color: var(--black);
    text-align: center;
    border-radius: 1rem;
    font-size: 0.7rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.4em;
    text-decoration: none;
    cursor: pointer;
}

/* ═══════════════════════════════════════
   SECTION TYPOGRAPHY (Andern)
   ═══════════════════════════════════════ */
.section-label {
    font-size: 0.625rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.5em;
    opacity: 0.6;
    margin-bottom: 1rem;
    color: var(--text-dark);
}
.section-title {
    font-size: 3.5rem;
    line-height: 1.1;
    color: var(--text-dark);
}
/* Dark section overrides for labels/titles */
.engine-section .section-label,
.difference-section .section-label,
.case-study-section .section-label {
    color: var(--white);
}
.engine-section .section-title,
.difference-section .section-title,
.case-study-section .section-title {
    color: var(--white);
}

/* ═══════════════════════════════════════
   HERO (Gallic content + Andern dark)
   ═══════════════════════════════════════ */
.hero-section {
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 5rem 1rem;
    overflow: hidden;
    background: var(--bg-white);
}
.hero-bg-circle-1 {
    position: absolute;
    top: 25%; left: 25%;
    width: 50rem; height: 50rem;
    background: rgba(59, 130, 246, 0.06);
    border-radius: 50%;
    filter: blur(180px);
}
.hero-bg-circle-2 {
    position: absolute;
    bottom: 25%; right: 25%;
    width: 40rem; height: 40rem;
    background: rgba(99, 102, 241, 0.05);
    border-radius: 50%;
    filter: blur(180px);
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    background: rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 50px;
    font-size: 0.5rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--text-dark);
}
.hero-badge .dot {
    width: 6px; height: 6px;
    background: var(--text-dark);
    border-radius: 50%;
    animation: pulse 2s infinite;
}
.hero-title {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}
.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    font-weight: 300;
}
.form-control-hero {
    background: var(--bg-white);
    border: 1px solid rgba(0, 0, 0, 0.15);
    color: var(--text-dark);
    font-size: 14px;
    padding: 0.75rem 1.5rem;
}
.form-control-hero::placeholder { color: var(--slate-400); }
.form-control-hero:focus {
    background: var(--bg-white);
    border-color: var(--text-dark);
    box-shadow: none;
    color: var(--text-dark);
}
.btn-cta {
    background: var(--navy-dark);
    color: var(--white);
    font-weight: 900;
    font-size: 0.875rem;
    padding: 1rem 2rem;
    border-radius: 50px;
    border: none;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}
.btn-cta:hover { transform: scale(1.05); background: var(--navy-medium); color: var(--white); }
.btn-cta svg { transition: transform 0.3s; }
.btn-cta:hover svg { transform: translateX(6px); }
/* Hero media placeholder */
.hero-media {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
}
.hero-media video,
.hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.15;
}
.btn-cta-sm {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: transparent;
    color: var(--text-dark);
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 50px;
    font-size: 0.625rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    text-decoration: none;
    transition: all 0.3s;
    white-space: nowrap;
}
.btn-cta-sm:hover { background: var(--text-dark); color: var(--white); }

/* ═══════════════════════════════════════
   ENTERPRISE HERO — dark bg + push down
   ═══════════════════════════════════════ */
.tab-content[data-tab="enterprise"] .hero-section {
    align-items: center;
    background: var(--black);
}
.tab-content[data-tab="enterprise"] .hero-section .hero-title {
    color: var(--white);
}
.tab-content[data-tab="enterprise"] .hero-section .hero-title span {
    border-bottom-color: rgba(255, 255, 255, 0.2) !important;
}
.tab-content[data-tab="enterprise"] .hero-section .hero-subtitle {
    color: rgba(255, 255, 255, 0.6);
}
.tab-content[data-tab="enterprise"] .hero-section .hero-badge {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
}
.tab-content[data-tab="enterprise"] .hero-section .hero-badge .dot {
    background: var(--white);
}
.tab-content[data-tab="enterprise"] .hero-section > .container img {
    filter: invert(1);
}
.tab-content[data-tab="enterprise"] .hero-section .btn-cta {
    background: var(--white);
    color: var(--black);
}
.tab-content[data-tab="enterprise"] .hero-section .btn-cta:hover {
    background: #e2e8f0;
    color: var(--black);
}
.tab-content[data-tab="enterprise"] .hero-section .hero-media video,
.tab-content[data-tab="enterprise"] .hero-section .hero-media img {
    opacity: 0.08;
}
.tab-content[data-tab="enterprise"] .hero-section .hero-bg-circle-1 {
    background: rgba(59, 130, 246, 0.04);
}
.tab-content[data-tab="enterprise"] .hero-section .hero-bg-circle-2 {
    background: rgba(99, 102, 241, 0.03);
}
.tab-content[data-tab="enterprise"] .case-study-section {
    background: var(--black);
}

/* ═══════════════════════════════════════
   ENTERPRISE TIMELINE NAV
   ═══════════════════════════════════════ */
.ent-timeline-nav {
    position: fixed;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.ent-timeline-nav.visible {
    opacity: 1;
    pointer-events: auto;
}
.ent-timeline-track {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    position: relative;
}
.ent-timeline-track::before {
    content: '';
    position: absolute;
    right: 4px;
    top: 5px;
    bottom: 5px;
    width: 1px;
    background: rgba(255, 255, 255, 0.15);
}
.ent-timeline-item {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    position: relative;
}
.ent-timeline-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    flex-shrink: 0;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}
.ent-timeline-label {
    font-size: 9px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: rgba(255, 255, 255, 0.4);
    white-space: nowrap;
    opacity: 0;
    transform: translateX(4px);
    transition: all 0.3s ease;
}
.ent-timeline-nav:hover .ent-timeline-label {
    opacity: 1;
    transform: translateX(0);
}
.ent-timeline-item.active .ent-timeline-label {
    opacity: 1;
    transform: translateX(0);
    color: var(--white);
}
.ent-timeline-item.active .ent-timeline-dot {
    background: var(--white);
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.4);
}

/* Commercial timeline — dark-on-light colors */
.tab-content[data-tab="commercial"] .ent-timeline-track::before {
    background: rgba(0, 0, 0, 0.15);
}
.tab-content[data-tab="commercial"] .ent-timeline-dot {
    background: rgba(0, 0, 0, 0.15);
}
.tab-content[data-tab="commercial"] .ent-timeline-label {
    color: rgba(0, 0, 0, 0.35);
}
.tab-content[data-tab="commercial"] .ent-timeline-item.active .ent-timeline-label {
    color: var(--text-dark);
}
.tab-content[data-tab="commercial"] .ent-timeline-item.active .ent-timeline-dot {
    background: var(--text-dark);
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.2);
}

/* ═══════════════════════════════════════
   ABOUT HERO & CONTENT
   ═══════════════════════════════════════ */
.about-hero-section {
    min-height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 12rem 1rem 4rem;
    overflow: hidden;
    background: var(--bg-white);
}
.about-content-section {
    background: var(--bg-light);
    padding: 6rem 0;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}
.about-stat-card {
    background: var(--bg-white);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 1.5rem;
    padding: 2rem;
    text-align: center;
    transition: border-color 0.3s;
    height: 100%;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}
.about-stat-card:hover { border-color: rgba(0, 0, 0, 0.15); }
.about-stat-value {
    font-size: 2.5rem;
    font-weight: 900;
    letter-spacing: -0.05em;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}
.about-stat-label {
    font-size: 0.625rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}
.about-stat-desc {
    font-size: 0.75rem;
    color: var(--slate-500);
    font-weight: 500;
    line-height: 1.5;
    margin-bottom: 0;
}

/* Founder Card */
.founder-card {
    background: var(--bg-white);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 1.5rem;
    padding: 2.5rem;
    text-align: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}
.founder-photo {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center 0%;
    margin-bottom: 1.5rem;
    border: 3px solid rgba(0, 0, 0, 0.06);
}
.founder-name {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}
.founder-role {
    font-size: 0.625rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
}
.founder-bio {
    font-size: 0.875rem;
    color: var(--text-muted);
    font-weight: 400;
    line-height: 1.7;
    margin-bottom: 0;
}

/* ═══════════════════════════════════════
   GET STARTED SECTION
   ═══════════════════════════════════════ */
.get-started-section {
    background: var(--bg-white);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 8rem 0 4rem;
    position: relative;
    overflow: hidden;
}

/* ═══════════════════════════════════════
   PERSISTENT FOOTER
   ═══════════════════════════════════════ */
.persistent-footer {
    background: var(--bg-white);
    padding: 2rem 0;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

/* ═══════════════════════════════════════
   LOGO REEL
   ═══════════════════════════════════════ */
.logo-reel-section {
    padding: 3rem 0;
    background: var(--bg-white);
    overflow: hidden;
}
.logo-reel-label {
    font-size: 0.625rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.4em;
    color: var(--text-muted);
    text-align: center;
    margin-bottom: 2rem;
}
.logo-reel-track {
    overflow: hidden;
    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);
}
.logo-reel-inner {
    display: flex;
    align-items: center;
    gap: 3.5rem;
    width: max-content;
    animation: logoScroll 35s linear infinite;
}
.logo-reel-inner img {
    height: 28px;
    width: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.45;
    transition: opacity 0.3s, filter 0.3s;
    flex-shrink: 0;
}
.logo-reel-inner img:hover {
    filter: grayscale(0%);
    opacity: 1;
}
@keyframes logoScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Dark variant (enterprise) */
.logo-reel-dark {
    background: var(--black);
}
.logo-reel-dark .logo-reel-label {
    color: rgba(255, 255, 255, 0.4);
}
.logo-reel-dark .logo-reel-inner img {
    filter: grayscale(100%) brightness(0) invert(1);
    opacity: 0.3;
}
.logo-reel-dark .logo-reel-inner img:hover {
    filter: grayscale(0%) brightness(0) invert(1);
    opacity: 0.7;
}

@media (max-width: 767px) {
    .logo-reel-section { padding: 2rem 0; }
    .logo-reel-inner { gap: 2.5rem; }
    .logo-reel-inner img { height: 22px; }
}

/* ═══════════════════════════════════════
   MODULE EXPLORER (Gallic — already dark)
   ═══════════════════════════════════════ */
.module-explorer {
    background: var(--gallic-dark);
    border-radius: 1rem;
    overflow: hidden;
}
.module-sidebar {
    background: rgba(0, 0, 0, 0.2);
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    min-width: 200px;
}
.module-sidebar-title {
    font-size: 9px; font-weight: 900;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.2em;
}
.module-btn {
    display: flex; align-items: center; gap: 0.625rem;
    width: 100%; padding: 0.625rem;
    border: none; background: transparent;
    color: rgba(255, 255, 255, 0.4);
    text-align: left; border-radius: 0.5rem;
    transition: all 0.2s ease;
    font-size: 10px; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.025em;
}
.module-btn:hover { color: rgba(255, 255, 255, 0.7); }
.module-btn.active { background: rgba(255, 255, 255, 0.05); color: white; }
.module-btn.active .module-indicator { display: block; }
.module-indicator {
    display: none; width: 2px; height: 14px;
    background: var(--white); border-radius: 2px;
    position: absolute; left: 0;
}
.module-btn i { font-size: 14px; }
.module-content { padding: 2.5rem; }
.module-icon-box {
    width: 48px; height: 48px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 0.75rem;
    display: flex; align-items: center; justify-content: center;
}
.module-icon-box i { font-size: 20px; color: white; }
.module-label {
    font-size: 8px; font-weight: 700;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase; letter-spacing: 0.4em;
}
.module-name {
    font-size: 1.875rem; font-weight: 900; color: white;
    text-transform: uppercase; letter-spacing: -0.025em; line-height: 1;
}
.module-price-label {
    font-size: 7px; font-weight: 700;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase; letter-spacing: 0.15em;
}
.module-price { font-size: 1.125rem; font-weight: 900; color: var(--white); }
.module-price span { font-size: 10px; color: rgba(255, 255, 255, 0.4); }
.module-tagline {
    font-size: 1.25rem; font-weight: 700; color: white;
    text-transform: uppercase; letter-spacing: -0.025em;
}
.module-description {
    color: rgba(255, 255, 255, 0.5);
    font-size: 1rem; font-weight: 500; line-height: 1.6;
}
.module-feature { display: flex; align-items: center; gap: 0.5rem; }
.module-feature-icon {
    width: 14px; height: 14px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    display: flex; align-items: center; justify-content: center;
}
.module-feature-icon i { font-size: 8px; color: rgba(255, 255, 255, 0.6); }
.module-feature span { font-size: 12px; font-weight: 700; color: rgba(255, 255, 255, 0.7); }
.btn-module-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--white);
    color: var(--black);
    font-size: 13px;
    font-weight: 600;
    border-radius: 100px;
    text-decoration: none;
    transition: all 0.2s ease;
}
.btn-module-cta:hover {
    background: #e2e8f0;
    color: var(--black);
}

/* Customization Alert */
.customization-alert {
    background: var(--bg-light);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 1.5rem;
    padding: 1.5rem 2rem;
    transition: all 0.5s ease;
}
.customization-alert:hover { border-color: rgba(0, 0, 0, 0.15); }
.customization-icon {
    width: 56px; height: 56px;
    background: var(--text-dark);
    border-radius: 1rem;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.5s ease;
}
.customization-alert:hover .customization-icon { transform: scale(1.1); }
.customization-icon i { font-size: 24px; color: var(--white); }
.customization-label {
    font-size: 9px; font-weight: 900;
    color: var(--text-muted);
    text-transform: uppercase; letter-spacing: 0.3em;
}

/* ═══════════════════════════════════════
   VALUE ENGINE (Andern)
   ═══════════════════════════════════════ */
.engine-section { background: var(--black); padding: 6rem 0; }
.engine-card { text-align: center; padding: 1rem; }
.engine-icon {
    width: 10rem; height: 10rem; border-radius: 1.5rem;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 2rem; transition: transform 0.5s;
}
.engine-icon:hover { transform: scale(1.05); }
.engine-icon-glass { background: rgba(10, 25, 47, 0.3); border: 1px solid rgba(255, 255, 255, 0.05); }
.engine-icon-highlight { background: var(--black); border: 1px solid rgba(255, 255, 255, 0.3); position: relative; }
.engine-icon-highlight .badge-tag {
    position: absolute; top: -1rem; left: 50%;
    transform: translateX(-50%);
    background: var(--white); color: var(--black);
    font-size: 0.5rem; font-weight: 900;
    padding: 0.375rem 0.75rem; border-radius: 50px;
    white-space: nowrap; text-transform: uppercase; letter-spacing: 0.1em;
}
.engine-icon-white { background: var(--white); box-shadow: 0 0 60px rgba(255, 255, 255, 0.15); }
.engine-icon-white:hover { transform: scale(1.1); }
.engine-icon-round { border-radius: 50%; }
.engine-card h5 { font-size: 1.5rem; margin-bottom: 1rem; }
.engine-card p { color: var(--white); font-weight: 300; font-size: 0.875rem; max-width: 240px; margin: 0 auto; }

/* ═══════════════════════════════════════
   INFRASTRUCTURE / VALUE PROPS (dark)
   ═══════════════════════════════════════ */
.infrastructure-section {
    background: var(--bg-light);
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.value-prop-card {
    background: var(--bg-white);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 1.5rem;
    padding: 2rem;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}
.value-prop-card:hover { border-color: rgba(0, 0, 0, 0.15); }
.value-prop-card:hover .value-prop-icon { transform: scale(1.1); }
.value-prop-icon {
    font-size: 24px; color: var(--text-dark);
    margin-bottom: 1rem; transition: transform 0.3s ease;
}
.value-prop-title {
    font-size: 10px; font-weight: 900;
    text-transform: uppercase; letter-spacing: 0.15em;
    margin-bottom: 0.5rem; color: var(--text-dark);
}
.value-prop-desc { font-size: 12px; color: var(--text-muted); font-weight: 500; line-height: 1.5; }

/* ═══════════════════════════════════════
   COMPARISON (Andern)
   ═══════════════════════════════════════ */
.difference-section { background: var(--black); padding: 6rem 0; }
.comparison-card { padding: 3rem; border-radius: 2rem; height: 100%; display: flex; flex-direction: column; }
.comparison-card-legacy { background: rgba(10, 25, 47, 0.4); border: 1px solid rgba(255, 255, 255, 0.05); }
.comparison-card-andern { background: rgba(17, 34, 64, 0.7); border: 1px solid rgba(255, 255, 255, 0.2); position: relative; }
.secure-badge {
    position: absolute; top: 1.5rem; right: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.25rem 0.75rem; border-radius: 50px;
    font-size: 0.5rem; text-transform: uppercase;
    letter-spacing: 0.2em; font-weight: 900;
    display: flex; align-items: center;
}
.secure-badge .dot {
    width: 6px; height: 6px;
    background: var(--white); border-radius: 50%;
    margin-right: 0.5rem; animation: pulse 2s infinite;
}
.card-icon {
    width: 3.5rem; height: 3.5rem; border-radius: 1rem;
    display: flex; align-items: center; justify-content: center;
    margin-right: 1.25rem;
}
.card-icon-dark { background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1); }
.card-icon-light { background: var(--white); border: 1px solid rgba(255, 255, 255, 0.2); }
.comparison-list { list-style: none; padding: 0; margin: 0; flex-grow: 1; }
.comparison-list li { display: flex; align-items: flex-start; margin-bottom: 1.5rem; font-size: 1.125rem; }
.comparison-list .icon { margin-right: 0.75rem; margin-top: 0.25rem; }
.comparison-list-legacy li { color: var(--slate-500); }
.comparison-list-legacy .icon { color: rgba(255, 255, 255, 0.2); }
.testimonial-box {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    padding: 1.5rem 2rem;
    font-style: italic; color: var(--slate-400);
    font-weight: 300; margin-top: auto;
}
.testimonial-box .author {
    display: block; margin-top: 0.75rem; font-style: normal;
    font-weight: 900; text-transform: uppercase;
    letter-spacing: 0.2em; font-size: 0.625rem; color: var(--white);
}

/* ═══════════════════════════════════════
   CASE STUDY (Andern)
   ═══════════════════════════════════════ */
.case-study-section { background: var(--navy-dark); padding: 6rem 0; }
.case-badge {
    display: inline-flex; align-items: center;
    padding: 0.5rem 1.25rem; border-radius: 50px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.5rem; font-weight: 900;
    text-transform: uppercase; letter-spacing: 0.3em;
    margin-bottom: 2rem;
}
.timeline-item {
    position: relative; padding-left: 2.5rem;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 2rem;
}
.timeline-item::before {
    content: ''; position: absolute; left: -4px; top: 0;
    width: 8px; height: 8px;
    background: var(--slate-700); border-radius: 50%;
    transition: background 0.3s;
}
.timeline-item:hover::before { background: var(--white); }
.timeline-item h4 {
    font-size: 0.625rem; font-weight: 900;
    text-transform: uppercase; letter-spacing: 0.4em;
    opacity: 0.4; margin-bottom: 1rem;
}
.timeline-item p { font-size: 1.25rem; color: var(--slate-400); font-weight: 300; line-height: 1.6; }
.metrics-card {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 2rem; padding: 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}
.metric-box {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 1.5rem; padding: 1.5rem;
    text-align: center; transition: border-color 0.3s;
}
.metric-box:hover { border-color: rgba(255, 255, 255, 0.2); }
.metric-box .value { font-size: 2.5rem; font-weight: 900; letter-spacing: -0.05em; }
.metric-box .label {
    font-size: 0.625rem; color: var(--slate-400);
    text-transform: uppercase; font-weight: 900; letter-spacing: 0.1em; line-height: 1.4;
}
.deployment-badge { display: flex; align-items: center; margin-bottom: 2rem; }
.deployment-badge .dot {
    width: 10px; height: 10px; background: var(--white);
    border-radius: 50%; margin-right: 1rem;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.4);
    animation: pulse 2s infinite;
}
.deployment-badge h4 { font-size: 1.5rem; font-weight: 900; margin: 0; }
.progress-item { margin-bottom: 1.5rem; }
.progress-item .label {
    font-size: 0.625rem; font-weight: 900;
    text-transform: uppercase; letter-spacing: 0.2em;
    color: var(--slate-500); margin-bottom: 0.75rem;
}
.progress-bar-custom { height: 8px; background: #0f172a; border-radius: 50px; overflow: hidden; }
.progress-bar-custom .fill { height: 100%; background: var(--white); border-radius: 50px; }
.quote-box {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1.5rem; padding: 1.5rem 2rem; text-align: center;
}
.quote-box .quote { font-size: 1.25rem; font-weight: 900; font-style: italic; opacity: 0.8; margin-bottom: 0.5rem; }
.quote-box .author { font-size: 0.625rem; color: var(--slate-500); text-transform: uppercase; font-weight: 900; letter-spacing: 0.2em; }

/* ═══════════════════════════════════════
   FAQ (Gallic — dark reskin)
   ═══════════════════════════════════════ */
.faq-section {
    background: var(--bg-white);
}
.faq-section h2 {
    font-size: clamp(1.875rem, 4vw, 3rem);
    font-weight: 900; letter-spacing: -0.025em;
}
.faq-item {
    background: var(--bg-light);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 1rem; overflow: hidden;
}
.faq-item .accordion-button {
    background: transparent;
    font-size: 1rem; font-weight: 700;
    color: var(--text-dark);
    padding: 1.25rem 1.75rem;
}
.faq-item .accordion-button::after {
    /* no invert needed on light bg */
}
.faq-item .accordion-button:not(.collapsed) {
    color: var(--text-dark); background: transparent;
    box-shadow: none;
}
.faq-item .accordion-button:focus { box-shadow: none; border-color: transparent; }
.faq-item .accordion-body {
    padding: 0 1.75rem 1.25rem;
    color: var(--text-muted);
    font-size: 1rem; font-weight: 500; line-height: 1.6;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    padding-top: 1rem;
}

/* ═══════════════════════════════════════
   FOOTER / CONTACT (Andern cream form)
   ═══════════════════════════════════════ */
.footer-section {
    background: var(--black);
    min-height: auto;
    display: flex; flex-direction: column; justify-content: center;
    padding: 6rem 0; position: relative; overflow: hidden;
}
.footer-bg-glow {
    position: absolute; bottom: 0; left: 0;
    width: 100%; max-width: 1000px; height: 1000px;
    background: rgba(59, 130, 246, 0.04);
    border-radius: 50%; filter: blur(250px);
    transform: translate(-50%, 50%);
    opacity: 0.3; pointer-events: none;
}
.contact-form-card {
    background: #FFF8E7;
    padding: 3rem; border-radius: 2rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}
.form-label-custom {
    font-size: 0.625rem; text-transform: uppercase;
    letter-spacing: 0.4em; color: #64748b;
    font-weight: 900; margin-bottom: 0.5rem;
}
.form-control-custom {
    background: transparent; border: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 0; color: #1a1a1a;
    padding: 0.75rem 0; font-weight: 500;
}
.form-control-custom:focus { background: transparent; border-color: #1a1a1a; box-shadow: none; color: #1a1a1a; }
.form-control-custom::placeholder { color: #94a3b8; }
.btn-submit {
    width: 100%; background: var(--black); color: #FFF8E7;
    font-weight: 900; font-size: 1.125rem;
    padding: 1.25rem 2rem; border-radius: 1rem;
    border: none; transition: all 0.3s;
    display: flex; align-items: center; justify-content: center;
}
.btn-submit:hover { transform: scale(1.03); background: #1a1a1a; color: #FFF8E7; }
.btn-submit svg { margin-left: 1rem; transition: transform 0.3s; }
.btn-submit:hover svg { transform: translateX(8px); }
.footer-copyright {
    text-align: center;
    font-size: 0.625rem; color: var(--text-muted);
    text-transform: uppercase; letter-spacing: 0.4em;
    font-weight: 900; opacity: 0.6;
}


/* Mobile Module Tabs */
.module-tabs {
    display: flex; gap: 0.5rem; overflow-x: auto;
    padding-bottom: 0.5rem;
    -ms-overflow-style: none; scrollbar-width: none;
}
.module-tabs::-webkit-scrollbar { display: none; }
.module-tab {
    flex-shrink: 0;
    display: inline-flex; align-items: center; gap: 0.375rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
    font-size: 9px; font-weight: 900;
    text-transform: uppercase; letter-spacing: -0.025em;
    color: var(--slate-400); transition: all 0.2s ease;
}
.module-tab:hover { border-color: rgba(255, 255, 255, 0.3); color: var(--white); }
.module-tab.active { background: var(--white); border-color: var(--white); color: var(--black); }
.module-tab i { font-size: 10px; }

/* Phone Mockup (dark) */
.phone-mockup {
    width: 100%; max-width: 310px;
    background: var(--gallic-dark); border-radius: 3rem;
    padding: 10px; border: 8px solid #1e293b;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    margin: 0 auto;
}
.phone-notch {
    width: 112px; height: 20px; background: var(--gallic-dark);
    border-radius: 0 0 1rem 1rem; margin: 0 auto;
    display: flex; align-items: center; justify-content: center;
}
.phone-notch-bar { width: 32px; height: 2px; background: #1e293b; border-radius: 2px; }
.phone-screen { background: var(--gallic-dark); border-radius: 2.5rem; overflow: hidden; height: 400px; }
.phone-content { padding: 2.5rem 1.25rem 1.25rem; height: 100%; display: flex; flex-direction: column; }

/* ═══════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════ */
@media (max-width: 991px) {
    .hero-title { font-size: 2.5rem; }
    .section-title { font-size: 2.5rem; }
    .hero-bg-circle-1, .hero-bg-circle-2 { width: 20rem; height: 20rem; }
    .engine-icon { width: 8rem; height: 8rem; }
    .ent-timeline-nav { display: none !important; }
}
@media (max-width: 991.98px) {
    .module-explorer-desktop { display: none !important; }
    .module-explorer-mobile { display: block !important; }
}
@media (min-width: 992px) {
    .module-explorer-desktop { display: block !important; }
    .module-explorer-mobile { display: none !important; }
}
@media (max-width: 767px) {
    .navbar-brand-custom { font-size: 1.25rem; padding: 0.5rem 0; margin-left: -2px; }
    .hero-title { font-size: 2rem; }
    .section-title { font-size: 2rem; }
    .comparison-card { padding: 2rem; }
    .contact-form-card { padding: 2rem; }
    .hero-bg-circle-1, .hero-bg-circle-2 { display: none; }
    .footer-bg-glow { display: none; }
    .footer-section { padding: 4rem 0; }
    .engine-section { padding: 4rem 0; }
    .difference-section { padding: 4rem 0; }
    .case-study-section { padding: 4rem 0; }
    .tab-content[data-tab="enterprise"] .hero-section {
        padding-top: 8rem;
        align-items: center;
    }
    .enterprise-hero-section { min-height: 80vh; }
    .about-hero-section { min-height: 60vh; }
    .get-started-section { padding: 6rem 0 3rem; }
    .about-content-section { padding: 4rem 0; }
    .about-stat-value { font-size: 2rem; }
}
@media (max-width: 400px) {
    .metric-box .value { font-size: 1.75rem; }
    .metric-box .label { font-size: 0.5rem; letter-spacing: 0.05em; }
    .metric-box { padding: 1rem; }
}
.scrollbar-hide { -ms-overflow-style: none; scrollbar-width: none; }
.scrollbar-hide::-webkit-scrollbar { display: none; }
