:root {
    --primary: #003366; /* Deep Corporate Navy */
    --primary-contrast: #ffffff;
    --secondary: #00b8d4; /* Vivid Cyan/Teal */
    --secondary-contrast: #ffffff;
    --tertiary: #f59e0b;
    --tertiary-contrast: #1e293b;

    --bg-color: #ffffff;
    --surface-muted: #f1f5f9;
    --surface-white: #ffffff;
    --text-color: #334155;
    --heading-color: #0f172a;
    --muted-text: #64748b;
    --border-color: #e2e8f0;

    --radius-sm: 4px; /* More squared, professional look */
    --radius-md: 8px;
    --radius-lg: 12px;

    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.025);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.02);

    --font-sans: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

html {
    scroll-behavior: smooth;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-sans);
    background:
        radial-gradient(circle at 8% 0%, #e9f1ff 0%, rgba(233, 241, 255, 0) 38%),
        radial-gradient(circle at 92% 95%, #e7fbff 0%, rgba(231, 251, 255, 0) 36%),
        var(--bg-color);
    color: var(--text-color);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

h1, h2, h3, h4 {
    color: var(--heading-color);
    letter-spacing: -0.02em;
    line-height: 1.18;
}

p {
    color: var(--muted-text);
}

a:focus-visible,
button:focus-visible {
    outline: 3px solid rgba(29, 78, 216, 0.3);
    outline-offset: 2px;
    border-radius: 0.4rem;
}

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

header {
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(148, 163, 184, 0.2);
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
}

nav {
    height: 74px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--primary);
    letter-spacing: 0;
    line-height: 1;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    position: relative;
    font-weight: 520;
    color: #1e293b;
    padding-bottom: 0.2rem;
}

.nav-links a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -0.25rem;
    width: 100%;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.22s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    transform: scaleX(1);
}

.mobile-menu-btn {
    display: none;
    border: 0;
    background: transparent;
    color: var(--heading-color);
    font-size: 1.5rem;
    cursor: pointer;
}

main {
    isolation: isolate;
}

section {
    position: relative;
    padding: 5.2rem 0;
}

.section-tight-bottom {
    padding-bottom: 3.2rem;
}

.hero {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    /* Minimalistic, clean background */
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    color: var(--text-color);
    text-align: center;
    padding: 6.4rem 0 7.2rem;
    border-bottom: 1px solid #e2e8f0;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    /* Very subtle dot pattern */
    background-image: radial-gradient(#cbd5e1 1px, transparent 1px);
    background-size: 32px 32px;
    z-index: -1;
    opacity: 0.3;
    mask-image: linear-gradient(to bottom, black 20%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 20%, transparent 100%);
}

.hero::after {
    display: none; /* Removing the large animated blob entirely for calmness */
}

.hero h1 {
    color: var(--heading-color);
    font-size: clamp(2.2rem, 4vw, 3.6rem);
    margin-bottom: 1.1rem;
}

.hero p {
    color: var(--muted-text);
    max-width: 760px;
    font-size: clamp(1rem, 1.6vw, 1.12rem);
    margin: 0 auto;
}

.home-hero {
    min-height: calc(100vh - 74px);
    display: flex;
    align-items: center;
    padding: 2rem 0; /* Adjust padding to center content vertically */
}

.home-hero .hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 2.6rem;
    width: 100%; /* Ensure grid takes full width */
}

.home-hero .hero-copy {
    text-align: left;
}

.home-hero .hero-copy p {
    max-width: 640px;
    margin: 0;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.84rem;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: var(--primary);
    border: 1px solid rgba(0, 51, 102, 0.2);
    background: rgba(0, 51, 102, 0.05);
    padding: 0.42rem 0.8rem;
    border-radius: 999px;
    margin-bottom: 1rem;
}

.hero-btns {
    margin-top: 2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
}

.trust-signals {
    margin-top: 1.7rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
}

.trust-signals span {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    border-radius: 999px;
    border: 1px solid #dbe4f0;
    background: #f8fafc;
    color: #1f2937;
    font-size: 0.85rem;
    padding: 0.42rem 0.74rem;
}

.hero-panel {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-lg);
    box-shadow: 0 24px 48px rgba(15, 23, 42, 0.12);
    padding: 1.3rem;
}

.hero-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #0f172a;
    font-size: 0.85rem;
    margin-bottom: 0.85rem;
}

.hero-dots {
    display: inline-flex;
    gap: 0.38rem;
}

.hero-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #cbd5e1;
}

.hero-chat {
    display: grid;
    gap: 0.7rem;
}

.chat-line {
    font-size: 0.9rem;
    border-radius: 0.8rem;
    padding: 0.7rem 0.8rem;
    line-height: 1.45;
}

.chat-line.user {
    background: #f1f5f9;
    color: #0f172a;
}

.chat-line.ai {
    background: #ffffff;
    color: #1e293b;
    border: 1px solid #e2e8f0;
}

.hero-metrics {
    margin-top: 1rem;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.6rem;
}

.hero-metric {
    text-align: center;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 0.7rem;
    padding: 0.65rem 0.4rem;
}

.hero-metric strong {
    display: block;
    font-size: 1.1rem;
    color: #0f172a;
}

.hero-metric span {
    font-size: 0.75rem;
    color: #475569;
}

.hero-shot {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0));
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.35);
}

.hero-shot img {
    width: 100%;
    display: block;
}

.hero-shot-tag {
    position: absolute;
    left: 12px;
    bottom: 12px;
    padding: 0.4rem 0.75rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.24);
    color: #e2e8f0;
    font-size: 0.85rem;
    backdrop-filter: blur(6px);
}

.media-frame {
    border-radius: 1rem;
    border: 1px solid #dbe7f8;
    overflow: hidden;
    background: #ffffff;
    box-shadow: var(--shadow-sm);
}

.media-frame img {
    width: 100%;
    display: block;
}

.logo-card {
    display: grid;
    justify-items: center;
    gap: 0.45rem;
}

.logo-icon {
    width: 46px;
    height: 46px;
    object-fit: contain;
    filter: drop-shadow(0 8px 14px rgba(15, 23, 42, 0.08));
}

.connectors-section .section-title,
.connectors-section .section-intro {
    text-align: left;
}

.gallery-section {
    background: #f7faff;
}

.slider {
    position: relative;
    width: 100%;
    max-width: 1400px;
    margin: 3rem auto;
    overflow: hidden;
    padding: 2rem 0;
}

.slider-track {
    display: flex;
    gap: 2rem;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

.slide {
    flex: 0 0 78%;
    min-width: 0; /* Important for flex items with images */
    aspect-ratio: 16/9;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    opacity: 0.4;
    filter: grayscale(100%) brightness(0.7);
    transform: scale(0.88);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

/* Mobile adjustments */
@media (max-width: 968px) {
    .slide {
        flex: 0 0 88%;
    }
}

@media (max-width: 640px) {
    .slide {
        flex: 0 0 94%;
    }
    .slider-track {
        gap: 1rem;
    }
}

.slide.active {
    opacity: 1;
    filter: grayscale(0%) brightness(1);
    transform: scale(1);
    z-index: 2;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    padding: 1rem 1.5rem;
    border-top: 1px solid rgba(0,0,0,0.05);
    transform: translateY(100%); /* Hide initially */
    transition: transform 0.4s ease 0.2s; /* Delay showing caption */
}

.slide.active .slide-caption {
    transform: translateY(0);
}

.slide-caption strong {
    display: block;
    color: var(--heading-color);
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.slide-caption span {
    display: block;
    color: var(--muted-text);
    font-size: 0.9rem;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(4px);
    color: var(--heading-color);
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: all 0.2s ease;
}

.slider-btn.prev { left: 1rem; }
.slider-btn.next { right: 1rem; }

.slider-btn:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.slider-dots {
    margin-top: 1.5rem;
    display: flex;
    justify-content: center;
    gap: 0.8rem;
}

.slider-dots button {
    width: 10px;
    height: 10px;
    padding: 0;
    border-radius: 50%;
    border: none;
    background: #cbd5e1;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dots button.active {
    background: var(--primary);
    transform: scale(1.3);
    width: 24px;
    border-radius: 6px;
}

.proof-strip {
    padding-top: 0;
    margin-top: -2.4rem;
    z-index: 3;
}

.proof-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.proof-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    border-radius: 0.9rem;
    padding: 1rem;
    text-align: center;
}

.proof-card strong {
    display: block;
    color: var(--heading-color);
    font-size: 1.28rem;
    line-height: 1.2;
}

.proof-card span {
    color: var(--muted-text);
    font-size: 0.86rem;
}

.shape-blob {
    position: absolute;
    z-index: -1;
    border-radius: 50%;
    filter: blur(52px);
    opacity: 0.42;
}

.blob-1 {
    left: -6%;
    top: -13%;
    width: 290px;
    height: 290px;
    background: #22d3ee;
    animation: float 9s ease-in-out infinite;
}

.blob-2 {
    right: -6%;
    bottom: -18%;
    width: 390px;
    height: 390px;
    background: #2dd4bf;
    animation: float 11s ease-in-out infinite reverse;
}

.wave-divider {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
}

.wave-divider svg {
    display: block;
    width: calc(100% + 1.3px);
    height: 68px;
}

.wave-divider .shape-fill {
    fill: var(--bg-color);
}

.section-title {
    text-align: center;
    margin-bottom: 2.9rem;
    font-size: clamp(1.85rem, 3vw, 2.65rem);
    font-weight: 760;
}

.section-title span {
    color: var(--primary);
}

.section-title::after {
    content: '';
    display: block;
    width: 58px;
    height: 4px;
    margin: 0.95rem auto 0;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.section-intro {
    max-width: 760px;
    margin: 0 auto 2.6rem;
    text-align: center;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.65rem;
    align-items: stretch;
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.grid-logos {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
}

.card {
    position: relative;
    background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    padding: 1.8rem;
    transform: translateY(0);
    transition: transform 0.34s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.28s ease, border-color 0.28s ease !important;
    will-change: transform;
}

/* The colorful line at the top */
.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    border-radius: var(--radius-md) var(--radius-md) 0 0;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    opacity: 0;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), opacity 0.3s ease !important;
    z-index: 10;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04) !important;
    border-color: #cbd5e1;
}

/* On hover, show the line and animate it */
.card:hover::before {
    opacity: 1;
    transform: scaleX(1);
}

@keyframes rainbowMove {
    0% { background-position: 100% 0; }
    100% { background-position: -100% 0; }
}

/* Smoother hover for the 3-step cards on the home page */
#how-it-works .card {
    transform: translateY(0);
    transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.4s ease;
    z-index: 1; 
}

#how-it-works .card::before {
    height: 6px;
    width: 0;
    opacity: 0;
    transition: width 0.6s cubic-bezier(0.25, 0.8, 0.25, 1), opacity 0.3s ease;
}

#how-it-works .card:hover {
    transform: translateY(-16px);
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.16);
}

#how-it-works .card:hover::before {
    opacity: 1;
    width: 100%;
}

.card h3 {
    font-size: 1.24rem;
    margin-bottom: 0.8rem;
}

.card p {
    color: var(--muted-text);
}

.card-compact {
    padding: 1.25rem;
}

.card-center {
    height: 100%;
    display: grid;
    align-content: center;
    text-align: center;
}

.card-dark {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.08));
    border-color: rgba(255, 255, 255, 0.16);
    box-shadow: none;
}

.card-dark h3,
.card-dark p {
    color: #f8fafc;
}

.card-accent-primary {
    border-top: 5px solid var(--primary);
}

.card-accent-dark {
    border-top: 5px solid #0f172a;
}

.card-icon {
    font-size: 2rem;
    margin-bottom: 0.8rem;
    display: inline-block;
}

.card-quote {
    font-size: 1.18rem;
    font-style: italic;
    color: #1e293b;
}

.logo-placeholder {
    height: 58px;
    margin-bottom: 0.55rem;
}

.step-number {
    color: #dbeafe;
    font-size: 2.7rem;
    font-weight: 760;
    margin-bottom: 0.8rem;
}

.feature-list li {
    position: relative;
    margin-bottom: 0.7rem;
    padding-left: 1.45rem;
}

.feature-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--secondary);
    font-weight: 700;
}

.btn {
    position: relative;
    border: 1px solid transparent;
    border-radius: 999px;
    padding: 0.84rem 1.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    font-weight: 650;
    line-height: 1;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease !important;
    cursor: pointer;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: linear-gradient(135deg, #10b981, #0f766e);
    color: #ffffff;
    box-shadow: 0 14px 28px rgba(16, 185, 129, 0.28);
}

.btn-primary:hover {
    box-shadow: 0 20px 34px rgba(16, 185, 129, 0.36);
}

.btn-secondary {
    background: linear-gradient(135deg, #1d4ed8, #1e3a8a);
    color: #ffffff;
    box-shadow: 0 13px 24px rgba(29, 78, 216, 0.27);
}

.btn-outline {
    background: transparent;
    border-color: #cbd5e1;
    color: var(--heading-color);
}

.btn-outline:hover {
    color: #ffffff;
    background: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 14px 28px rgba(29, 78, 216, 0.2);
}

.btn-on-dark {
    border-color: rgba(255, 255, 255, 0.7);
}


.bg-pattern {
    background-color: #f8fbff;
    background-image: radial-gradient(#dbe7f8 1px, transparent 1px);
    background-size: 22px 22px;
}

.surface-muted {
    background: linear-gradient(180deg, #f0f5ff 0%, #edf4fb 100%);
}

.surface-dark {
    background: linear-gradient(145deg, #0f172a 0%, #1e293b 100%);
    color: #dbeafe;
}

.surface-dark h2,
.surface-dark h3,
.surface-dark p,
.surface-dark .section-title {
    color: #f8fafc;
}

.surface-gradient {
    background: linear-gradient(136deg, #0f172a 0%, #1e3a8a 45%, #0f766e 110%);
    color: #e2e8f0;
}

.surface-gradient h2,
.surface-gradient p {
    color: #f8fafc;
}

.center-wrap {
    margin: 0 auto;
}

.max-800 {
    max-width: 800px;
}

.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.lead {
    font-size: 1.12rem;
}

.cta-section {
    padding: 5rem 0;
}

.cta-title {
    color: #ffffff;
    margin-bottom: 1rem;
}

.cta-copy {
    max-width: 680px;
    margin: 0 auto 2rem;
    color: #dbeafe;
    opacity: 0.95;
}

.cta-row {
    display: flex;
    justify-content: center;
    gap: 0.9rem;
    flex-wrap: wrap;
}

.stack-lg {
    display: grid;
    gap: 2rem;
}

.stack-xl {
    display: grid;
    gap: 3rem;
}

.team-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.team-avatar {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    margin: 0 auto 0.95rem;
    display: grid;
    place-items: center;
    font-weight: 720;
    color: #334155;
    border: 1px solid #cddbf1;
    background: linear-gradient(180deg, #f8fbff, #ebf2ff);
}

.team-name {
    text-align: center;
    font-size: 1.05rem;
    margin-bottom: 0.36rem;
}

.team-role {
    text-align: center;
    color: var(--primary);
    font-size: 0.9rem;
    margin-bottom: 0.9rem;
}

.team-list {
    font-size: 0.88rem;
}

.team-list li {
    margin-bottom: 0.34rem;
}

.usecase-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.usecase-head {
    background: #f8fbff;
    color: var(--heading-color);
    padding: 1.8rem;
    border-bottom: 1px solid #edf2f7;
}

.usecase-title {
    color: var(--primary);
    font-size: 1.44rem;
    margin-bottom: 0.35rem;
}

.usecase-tagline {
    color: var(--secondary);
    font-style: italic;
}

.usecase-body {
    padding: 1.85rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.8rem;
}

.case-col-title {
    text-transform: uppercase;
    letter-spacing: 0.07em;
    font-size: 0.82rem;
    padding-bottom: 0.45rem;
    margin-bottom: 0.82rem;
    border-bottom: 2px solid #edf2fb;
}

.case-problem { color: var(--primary); }
.case-solution { color: var(--secondary); }
.case-value { color: var(--tertiary); }

.panel-soft {
    background: linear-gradient(180deg, #f8fbff, #eef4ff);
    border: 1px solid #d5e2f6;
    border-radius: 0.95rem;
    padding: 1.8rem;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    align-items: center;
}

pre {
    background: #f8fafc;
    border: 1px solid #dbe4f0;
    border-radius: 0.75rem;
    padding: 1rem;
    overflow-x: auto;
    color: #334155;
    font-size: 0.9rem;
}

footer {
    background: #003366;
    color: #e2e8f0;
    padding: 3.1rem 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.8rem;
}

.footer-col h4 {
    color: #ffffff;
    margin-bottom: 0.85rem;
}

.footer-col ul li {
    margin-bottom: 0.4rem;
}

.footer-col a:hover {
    color: #ffffff;
}

.copyright {
    margin-top: 2.3rem;
    padding-top: 1.3rem;
    text-align: center;
    border-top: 1px solid #334155;
    font-size: 0.88rem;
}

.reveal-up {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal-up.visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(17px, -18px); }
}

@keyframes aurora {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.45; }
    50% { transform: translate(10%, 5%) scale(1.08); opacity: 0.65; }
}

@media (max-width: 1024px) {
    .home-hero .hero-grid {
        grid-template-columns: 1fr;
        gap: 1.8rem;
    }

    .proof-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .slider {
        grid-template-columns: 1fr;
    }

    .slider-btn {
        justify-self: center;
    }
}

@media (max-width: 768px) {
    nav {
        height: 68px;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 68px;
        left: 0;
        right: 0;
        background: #ffffff;
        border-top: 1px solid #dbe4f0;
        padding: 1rem 1.4rem;
        flex-direction: column;
        gap: 1rem;
        box-shadow: var(--shadow-sm);
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero {
        padding: 5.4rem 0 6.6rem;
    }

    .proof-grid {
        grid-template-columns: 1fr;
    }

    .slider-btn {
        width: 42px;
        height: 42px;
    }

    .trust-signals span {
        width: 100%;
        justify-content: center;
    }

    .cta-row {
        flex-direction: column;
        align-items: stretch;
        max-width: 320px;
        margin-inline: auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

/* --- Abstract Visuals & Diagrams --- */

.hero-visual-abstract,
.visual-graph-abstract,
.visual-sync-diagram,
.visual-embed-code,
.abstract-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-md);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

/* Hero Chat Abstract - Professional UI */
.hero-visual-abstract {
    height: 380px;
    background: radial-gradient(circle at 50% 120%, #e0f2fe 0%, #f8fafc 60%);
    box-shadow: inset 0 0 40px rgba(0, 51, 102, 0.03);
    padding: 2rem;
}

.abstract-chat-ui {
    width: 100%;
    max-width: 380px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 20px 40px -5px rgba(0, 51, 102, 0.1), 0 0 0 1px rgba(0, 51, 102, 0.05);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.ac-header {
    height: 48px;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    padding: 0 16px;
    gap: 8px;
}

.ac-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #cbd5e1;
}

.ac-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    background: #ffffff;
}

.ac-msg {
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 0.85rem;
    line-height: 1.5;
    position: relative;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

.ac-user {
    align-self: flex-end;
    background: var(--primary);
    color: white;
    border-radius: 12px 12px 2px 12px;
    max-width: 80%;
}
.ac-user::before { content: "Analyse Q3 Umsatz vs. Vorjahr"; }

.ac-ai {
    align-self: flex-start;
    background: #f1f5f9;
    color: #334155;
    border-radius: 12px 12px 12px 2px;
    max-width: 90%;
    border: 1px solid #e2e8f0;
}

.ac-ai-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ac-line { 
    height: 8px; 
    background: #cbd5e1; 
    border-radius: 4px; 
    opacity: 0.6;
}

.ac-sources {
    display: flex;
    gap: 8px;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid #e2e8f0;
}

.ac-source {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.7rem;
    color: var(--primary);
    background: #e0f2fe;
    padding: 4px 8px;
    border-radius: 4px;
    font-weight: 600;
}

/* Knowledge Graph Abstract - Clean Network */
.visual-graph-abstract {
    height: 320px;
    background: radial-gradient(circle, #ffffff 0%, #f8fafc 100%);
    position: relative;
    /* Isometric-like grid background */
    background-image: linear-gradient(#e2e8f0 1px, transparent 1px), linear-gradient(90deg, #e2e8f0 1px, transparent 1px);
    background-size: 40px 40px;
    background-position: center;
}

.vga-center-node {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: #ffffff;
    border: 2px solid var(--primary);
    color: var(--primary);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.9rem;
    z-index: 10;
    box-shadow: 0 0 0 6px rgba(0, 51, 102, 0.05), 0 10px 20px rgba(0, 51, 102, 0.1);
    position: relative;
}

.vga-satellite {
    position: absolute;
    width: 56px; /* Slightly larger for icons */
    height: 56px;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    z-index: 5;
    transition: transform 0.3s ease;
}

.vga-s1 { top: 15%; left: 25%; }
.vga-s2 { top: 15%; right: 25%; }
.vga-s3 { bottom: 25%; left: 20%; }
.vga-s4 { bottom: 20%; right: 15%; }
.vga-s5 { top: 50%; left: 10%; transform: translateY(-50%); } 
.vga-s6 { top: 50%; right: 10%; transform: translateY(-50%); }
.vga-s7 { bottom: 10%; left: 50%; transform: translateX(-50%); }

/* Sync Diagram - Process Flow */
.visual-sync-diagram {
    height: auto;
    min-height: 200px;
    background: #ffffff;
    display: flex; /* Flex is already default for row, but explicit */
    flex-direction: row;
    align-items: center;
    justify-content: space-evenly;
    position: relative;
    padding: 24px 0;
}

.vsd-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    z-index: 2;
    width: 100px;
    text-align: center; /* Ensure text is centered */
}

.vsd-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    position: relative;
}

.vsd-icon::after {
    content: '';
    width: 32px;
    height: 32px;
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.8;
}

/* Cloud Icon */
.vsd-icon-cloud::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23003366' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 10h-1.26A8 8 0 1 0 9 20h9a5 5 0 0 0 0-10z'%3E%3C/path%3E%3C/svg%3E");
}

/* Hub Icon */
.vsd-icon-hub::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300b8d4' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolygon points='12 2 2 7 12 12 22 7 12 2'%3E%3C/polygon%3E%3Cpolyline points='2 17 12 22 22 17'%3E%3C/polyline%3E%3Cpolyline points='2 12 12 17 22 12'%3E%3C/polyline%3E%3C/svg%3E");
}

/* User Icon */
.vsd-icon-user::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23003366' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2'%3E%3C/path%3E%3Ccircle cx='12' cy='7' r='4'%3E%3C/circle%3E%3C/svg%3E");
}

/* Doc Icon */
.vsd-icon-doc::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23003366' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'%3E%3C/path%3E%3Cpolyline points='14 2 14 8 20 8'%3E%3C/polyline%3E%3Cline x1='16' y1='13' x2='8' y2='13'%3E%3C/line%3E%3Cline x1='16' y1='17' x2='8' y2='17'%3E%3C/line%3E%3C/svg%3E");
}

/* Ticket Icon */
.vsd-icon-ticket::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23003366' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.59 13.41l-7.17 7.17a2 2 0 0 1-2.83 0L2 12V2h10l8.59 8.59a2 2 0 0 1 0 2.82z'%3E%3C/path%3E%3Cline x1='7' y1='7' x2='7.01' y2='7'%3E%3C/line%3E%3C/svg%3E");
}

/* Folder Icon */
.vsd-icon-folder::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23003366' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 19a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h5l2 3h9a2 2 0 0 1 2 2z'%3E%3C/path%3E%3C/svg%3E");
}

.vsd-systems-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 2;
    padding-left: 1rem;
}

.vsd-system-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
}

.vsd-system-item span {
    font-size: 0.8rem;
    color: #475569;
    font-weight: 500;
    white-space: nowrap;
}

.vsd-connector {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
}

.vsd-arrow-anim {
    width: 100%;
    height: 2px;
    background: #e2e8f0;
    position: relative;
    overflow: hidden;
}

.vsd-arrow-anim::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, var(--secondary), transparent);
    animation: flowLine 1.5s linear infinite;
}

@keyframes flowLine {
    0% { left: -50%; }
    100% { left: 100%; }
}

/* Feature Cards */
.feature-card {
    text-align: center;
    padding: 2rem;
    transition: transform 0.2s;
    background: transparent;
    box-shadow: none;
}

.feature-card:hover { transform: translateY(-4px); }

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: white;
    width: 64px;
    height: 64px;
    line-height: 64px;
    border-radius: 50%;
    margin-left: auto;
    margin-right: auto;
    color: var(--primary);
    box-shadow: 0 4px 12px rgba(0,0,0,0.05); /* Added slight shadow to icon for depth */
}

/* Abstract Icons - Professional Navy */
.abstract-icon {
    height: 180px;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    margin-bottom: 1.5rem;
}

.abstract-icon::after {
    content: '';
    display: block;
    width: 64px;
    height: 64px;
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.9;
    /* Use Primary Navy (#003366) encoded: %23003366 */
}

.ai-workspace::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23003366' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='3' width='20' height='14' rx='2' ry='2'%3E%3C/rect%3E%3Cline x1='8' y1='21' x2='16' y2='21'%3E%3C/line%3E%3Cline x1='12' y1='17' x2='12' y2='21'%3E%3C/line%3E%3Cpath d='M9 13h6'%3E%3C/path%3E%3C/svg%3E");
}

.ai-quality::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23003366' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='22 12 18 12 15 21 9 3 6 12 2 12'%3E%3C/polyline%3E%3C/svg%3E");
}

.ai-governance::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23003366' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z'%3E%3C/path%3E%3C/svg%3E");
}

/* Embed Code Block */
.visual-embed-code {
    background: #1e293b;
    color: #e2e8f0;
    font-family: 'Fira Code', monospace;
    padding: 2rem;
    border-radius: 8px;
    text-align: left;
    display: block; /* override flex centering */
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}
