/* Hero screenshot image (desktop/mobile) */
.hero-screenshot-img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 24px;
    box-shadow: 0 12px 60px rgba(0,0,0,0.55);
    border: 1px solid rgba(255,255,255,0.08);
}

@media (max-width: 768px) {
    .product-demo { width: 92%; margin: 32px auto 0; }
    .hero-screenshot-img { border-radius: 16px; }
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #080707;
    color: #fff;
    overflow-x: hidden;
}

/* Global background grid + soft gold glow across the whole site */
:root { --grid-size: 72px; }

body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image:
        repeating-linear-gradient(
            0deg,
            rgba(255,255,255,0.03) 0,
            rgba(255,255,255,0.03) 1px,
            transparent 1px,
            transparent var(--grid-size)
        ),
        repeating-linear-gradient(
            90deg,
            rgba(255,255,255,0.03) 0,
            rgba(255,255,255,0.03) 1px,
            transparent 1px,
            transparent var(--grid-size)
        );
    -webkit-mask: radial-gradient(circle at 50% 40%, rgba(0,0,0,0.82) 0%, rgba(0,0,0,0.92) 45%, rgba(0,0,0,1) 80%);
            mask: radial-gradient(circle at 50% 40%, rgba(0,0,0,0.82) 0%, rgba(0,0,0,0.92) 45%, rgba(0,0,0,1) 80%);
}

body::after {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background: radial-gradient(60% 45% at 50% 35%, rgba(255,163,3,0.14) 0%, rgba(255,163,3,0.04) 40%, rgba(255,163,3,0) 70%);
    filter: blur(8px);
}

/* Global UX improvements */
html { scroll-behavior: smooth; }
section { scroll-margin-top: 96px; }

/* Subtle 1px animated gradient border (Apple-like) */
@property --gradient-angle {
    syntax: "<angle>";
    initial-value: 0deg;
    inherits: false;
}

@keyframes rotation {
    0% { --gradient-angle: 0deg; }
    100% { --gradient-angle: 360deg; }
}

.hover-glow {
    position: relative;
    z-index: 0;
    /* Default gold palette (dynamic & bright with hot spots) */
    --glow-c1: rgba(255, 193, 63, 0.85);
    --glow-c2: rgba(255, 223, 128, 0.85);
    --glow-c3: rgba(255, 171, 0, 0.85);
    --glow-c4: rgba(255, 215, 0, 0.85);
    --glow-hot1: rgba(255, 255, 255, 0.95);
    --glow-hot2: rgba(255, 193, 63, 1);
    --glow-dim: rgba(255, 193, 63, 0.4);
    overflow: visible; /* ensure outer ring can be seen */
}

.hover-glow-color {
    /* Multicolor palette */
    --glow-c1: rgba(99, 102, 241, 0.55);   /* indigo-500 */
    --glow-c2: rgba(217, 70, 239, 0.55);   /* fuchsia-500 */
    --glow-c3: rgba(244, 63, 94, 0.55);    /* rose-500 */
}

.hover-glow::before {
    content: '';
    position: absolute;
    inset: -1px; /* 1px outside the element */
    border-radius: inherit;
    background: conic-gradient(
        from var(--gradient-angle),
        var(--glow-hot1), var(--glow-c1), var(--glow-c2), var(--glow-dim), var(--glow-c3), var(--glow-hot2), var(--glow-c4), var(--glow-dim), var(--glow-c1), var(--glow-hot1)
    );
    padding: 1px; /* ring thickness */
    /* Mask the center so only the 1px ring remains */
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    opacity: 0;
    transition: opacity 180ms ease;
    pointer-events: none;
    z-index: 2; /* above content, but masked to a ring only */
    animation: rotation 6s linear infinite paused;
    filter: drop-shadow(0 0 16px rgba(255, 193, 63, 0.6)) drop-shadow(0 0 8px rgba(255, 255, 255, 0.3)); /* enhanced outer glow */
}

.hover-glow:hover::before {
    opacity: 0.45; /* brighter */
    animation-play-state: running;
}

/* Image error fallback styling */
.image-error {
    position: relative;
    background: linear-gradient(135deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
}

.image-error::after {
    content: '';
    position: absolute;
    inset: 0.5px;
    border-radius: inherit;
    border: 1px dashed rgba(255,255,255,0.12);
}

.main-container {
    width: 100%;
    min-height: 100vh;
    position: relative;
    display: flex;
    flex-direction: column;
    z-index: 1; /* ensure content sits above global background */
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(8, 7, 7, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 64px;
    position: relative;
}

.logo {
    position: absolute;
    left: 32px;
    font-family: Arial, sans-serif;
    font-size: 30.619px;
    font-weight: 700;
    color: #fff;
    line-height: 45.929px;
    letter-spacing: 0.5px;
}

.get-started-btn {
    position: absolute;
    right: 32px;
    display: flex;
    padding: 13px 24px;
    justify-content: center;
    align-items: center;
    gap: 8px;
    border-radius: 8px;
    background: #fff;
    color: #080707;
    font-family: 'Neue Montreal', sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 135%;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}



.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    color: #F3F6FF;
    font-family: 'Neue Montreal', sans-serif;
    font-size: 18px;
    font-weight: 500;
    line-height: 120%;
    text-decoration: none;
    transition: color 0.3s ease, transform 0.2s ease;
    position: relative;
}

.nav-link:hover {
    color: #FFB303;
    transform: translateY(-1px);
}

.nav-dropdown {
    display: flex;
    align-items: flex-end;
    gap: 4px;
    cursor: pointer;
}

.dropdown-arrow {
    width: 20px;
    height: 20px;
    color: #F3F6FF;
    transition: transform 0.2s ease;
}

.nav-dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}



.get-started-btn:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
}

.btn-outline {
    background: transparent;
    color: #F3F6FF;
    border: 1.5px solid #F3F6FF;
    padding: 20px 32px;
    border-radius: 16px;
    font-size: 18px;
}

.btn-outline:hover {
    background: #F3F6FF;
    color: #080707;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 32px 64px;
    position: relative;
    overflow: hidden;
}

.hero-gradient {
    position: absolute;
    top: -450px;
    left: 50%;
    transform: translateX(-50%) rotate(-150deg);
    width: 390.671px;
    height: 987.135px;
    border-radius: 750px;
    opacity: 0.3;
    background: radial-gradient(70.71% 70.71% at 50% 50%, rgba(255, 163, 3, 0.08) 0%, rgba(255, 163, 3, 0.00) 55%, rgba(255, 163, 3, 0.00) 100%);
    z-index: -1;
}

.hero-content {
    max-width: 1138px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 44px;
    z-index: 2;
}

.hero-tagline {
    display: flex;
    align-items: center;
    gap: 8px;
}

.tagline-line {
    width: 90px;
    height: 1px;
    background: linear-gradient(90deg, #FFBC03 0%, rgba(255, 188, 3, 0.00) 100%);
    opacity: 0.3;
}

.tagline-text {
    color: #FFB303;
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 140%;
    letter-spacing: -0.36px;
}

.hero-title {
    max-width: 842px;
    text-align: center;
    font-family: 'Neue Haas Grotesk Display Pro', sans-serif;
    font-size: 89px;
    font-weight: 600;
    line-height: 90%;
    letter-spacing: -1.78px;
    text-transform: uppercase;
    background: linear-gradient(281deg, #2C3947 2.03%, #F8F8FF 40.42%, #F8F8FF 65.38%, #1B2228 102.26%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-description {
    max-width: 692px;
    color: rgba(243, 246, 255, 0.70);
    text-align: center;
    font-family: 'Neue Haas Grotesk Display Pro', sans-serif;
    font-size: 20px;
    font-weight: 400;
    line-height: 135%;
}

.highlight {
    font-weight: 700;
}

.hero-cta {
    position: relative;
    display: flex;
    width: 216px;
    padding: 20px 32px;
    justify-content: center;
    align-items: center;
    gap: 12px;
    border-radius: 16px;
    border: 1px solid #fff;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(50px);
    color: #fff;
    font-family: 'Neue Montreal', sans-serif;
    font-size: 18px;
    font-weight: 500;
    line-height: 135%;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    overflow: hidden;
}

.hero-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 163, 3, 0.2);
    background: rgba(255, 255, 255, 0.08);
}

.hero-cta:hover .cta-glow {
    opacity: 0.6;
    filter: blur(40px);
    transform: scale(1.2);
}

.cta-glow {
    position: absolute;
    width: 173px;
    height: 64px;
    left: -76px;
    top: -46px;
    background: #FFA100;
    opacity: 0.3;
    filter: blur(60px);
    border-radius: 50%;
    z-index: -1;
    transition: all 0.3s ease;
}

.hero-image {
    position: absolute;
    right: 76px;
    bottom: 200px;
    width: 151px;
    height: 386px;
    opacity: 0.4;
}

/* Pipeline Grid Background */
.pipeline-grid {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100vw;
    height: 100vh;
    display: grid;
    grid-template-columns: repeat(auto-fit, 72px);
    grid-template-rows: repeat(auto-fit, 72px);
    gap: 0;
    opacity: 0.8;
    z-index: 1;
    justify-content: center;
    align-content: center;
    pointer-events: none; /* Prevent interaction with background grid */
}

.pipeline-cell {
    width: 72px;
    height: 72px;
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    position: relative;
    transition: all 0.4s ease;
    cursor: pointer;
    overflow: hidden;
    background: transparent; /* Ensure no background */
}

.pipeline-cell:hover {
    border-color: rgba(255, 178, 0, 0.3);
    transform: scale(1.05);
}

.pipeline-cell.active {
    border-color: rgba(255, 178, 0, 0.3);
    animation: pipeline-pulse 2s ease-in-out infinite;
}

.pipeline-cell.processing {
    border-color: rgba(255, 178, 0, 0.3);
    animation: pipeline-flow 1.5s ease-in-out infinite;
}

@keyframes pipeline-pulse {
    0%, 100% {
        opacity: 0.8;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.02);
    }
}

@keyframes pipeline-flow {
    0% {
        background-position: 0% 0%;
        box-shadow: 0 0 16px 1px rgba(254, 217, 114, 0.20) inset;
    }
    50% {
        background-position: 100% 100%;
        box-shadow: 0 0 24px 3px rgba(254, 217, 114, 0.40) inset;
    }
    100% {
        background-position: 0% 0%;
        box-shadow: 0 0 16px 1px rgba(254, 217, 114, 0.20) inset;
    }
}

/* Pipeline Activity Indicator */
.pipeline-cell::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 4px;
    height: 4px;
    background: rgba(255, 178, 0, 0.6);
    border-radius: 50%;
    opacity: 0;
    transition: all 0.3s ease;
}

.pipeline-cell:hover::before,
.pipeline-cell.active::before {
    opacity: 1;
    transform: translate(-50%, -50%) scale(2);
    box-shadow: 0 0 8px rgba(255, 178, 0, 0.8);
}

/* Pipeline Labels */
.pipeline-info {
    position: absolute;
    bottom: 120px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 16px;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(20px);
    padding: 12px 24px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 3;
}

.pipeline-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
}

.pipeline-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.pipeline-dot.active {
    background: rgba(255, 178, 0, 0.8);
    box-shadow: 0 0 8px rgba(255, 178, 0, 0.6);
    animation: dot-pulse 2s ease-in-out infinite;
}

.pipeline-dot.processing {
    background: rgba(255, 142, 3, 0.8);
    box-shadow: 0 0 8px rgba(255, 142, 3, 0.6);
}

.pipeline-dot.idle {
    background: rgba(255, 255, 255, 0.2);
}

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

.grid-row {
    display: flex;
    width: 100%;
}

.grid-cell {
    width: 72px;
    height: 72px;
    border: 1px solid rgba(255, 255, 255, 0.02);
    border-radius: 8px;
}

.grid-cell-highlighted {
    background: rgba(255, 178, 0, 0.04);
    box-shadow: 0 0 8px 0 rgba(254, 217, 114, 0.05) inset;
}

/* Product Demo */
.product-demo {
    position: relative;
    margin: 48px auto 0;
    width: var(--content-width);
    max-width: 1040px;
    border-radius: 24px;
    overflow: hidden;
    z-index: 2; /* Ensure image is above the pipeline grid */
}

.demo-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(100% 100% at 50% 100%, #000 0%, rgba(0, 0, 0, 0.85) 45.4%, rgba(0, 0, 0, 0.00) 100%);
    z-index: 1;
}

.demo-interface {
    position: relative;
    width: 100%;
    height: 533px;
    border-radius: 27px;
    border: 1px solid #fff;
    background: #060A09;
    display: flex;
    z-index: 2;
}

.demo-sidebar {
    width: 207px;
    height: 100%;
    background: #17160E;
    padding: 21px;
    display: flex;
    flex-direction: column;
    gap: 21px;
    box-shadow: 0 17px 23px rgba(0, 0, 0, 0.05);
}

.sidebar-logo {
    color: #fff;
    font-family: Arial, sans-serif;
    font-size: 30px;
    font-weight: 700;
    text-align: center;
}

.sidebar-divider {
    height: 1px;
    background: rgba(233, 231, 238, 0.2);
    opacity: 0.2;
}

.sidebar-section {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.section-title {
    color: #71717A;
    font-family: Inter, sans-serif;
    font-size: 12px;
    font-weight: 400;
    text-transform: uppercase;
    line-height: 24px;
    margin-bottom: 8px;
}

.menu-item {
    display: flex;
    padding: 8px 12px;
    align-items: center;
    gap: 8px;
    border-radius: 6px;
    color: #fff;
    font-family: Inter, sans-serif;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s ease;
}

.menu-item.active {
    background: rgba(255, 255, 255, 0.07);
}

.menu-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.menu-icon {
    width: 14px;
    height: 14px;
    color: #F8FAFC;
}

.menu-count {
    margin-left: auto;
    color: #FAFAFA;
    font-size: 12px;
}

.demo-main {
    flex: 1;
    background: rgba(6, 10, 9, 0.60);
    padding: 20px;
    overflow: hidden;
}

.data-table {
    width: 100%;
    border-radius: 6px;
    border: 1px solid rgba(228, 228, 231, 0.12);
    overflow: hidden;
}

.table-header {
    display: flex;
    background: rgba(0, 0, 0, 0.1);
}

.header-cell {
    padding: 8px 18px;
    color: #71717A;
    font-family: Inter, sans-serif;
    font-size: 12px;
    font-weight: 500;
    border-bottom: 1px solid rgba(228, 228, 231, 0.05);
    flex: 1;
}

.table-row {
    display: flex;
    border-bottom: 1px solid rgba(228, 228, 231, 0.12);
}

.table-row.loading {
    opacity: 0.7;
}

.table-cell {
    padding: 8px 18px;
    color: #fff;
    font-family: Inter, sans-serif;
    font-size: 12px;
    display: flex;
    align-items: center;
    flex: 1;
}

.company-info {
    display: flex;
    align-items: center;
    gap: 8px;
}

.company-logo {
    width: 31px;
    height: 31px;
    background: #74AA9C;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 600;
    font-size: 12px;
}

.company-details {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.company-name {
    color: #fff;
    font-size: 13px;
    font-weight: 500;
}

.company-url {
    color: #3E6362;
    font-size: 9px;
}

.badge {
    padding: 2px 9px;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 600;
}

.badge-primary {
    background: rgba(255, 255, 255, 0.24);
    color: #FAFAFA;
    border: 1px solid rgba(228, 228, 231, 0.12);
}

.badge-dark {
    background: #18181B;
    color: rgba(250, 250, 250, 0.24);
}

.skeleton-loader {
    width: 80%;
    height: 8px;
    background: #67635D;
    border-radius: 8px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.demo-chat {
    position: absolute;
    bottom: 50px;
    right: 50px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    z-index: 3;
}

.chat-message {
    max-width: 371px;
    padding: 8px;
    border-radius: 6px;
    font-family: Poppins, sans-serif;
    font-size: 15px;
    line-height: 150%;
}

.chat-message.user {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.20);
    color: #fff;
    opacity: 0.7;
    align-self: flex-end;
}

.chat-message.assistant {
    background: rgba(157, 134, 96, 0.34);
    border: 1px solid rgba(255, 255, 255, 0.20);
    color: #fff;
    opacity: 0.89;
}

/* Features Section */
.features-section {
    padding: 80px 56px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 64px;
    position: relative;
    z-index: 10;
    margin-top: 200px;
}

/* Interactive Features Section */
.features-section-interactive {
    width: 100%;
    max-width: 1440px;
    min-height: 980px;
    position: relative;
    background: #080707;
    padding: 0 64px;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 200px auto 0;
}

/* Unified heading glow (non-sticky) */
.features-section-interactive::before,
.about-section::before,
.stats-section::before,
.solutions-section::before,
.intelligence-section::before,
.integrations-section::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    width: 1400px;
    height: 620px;
    background: radial-gradient(55% 45% at 50% 40%, rgba(255,163,3,0.18) 0%, rgba(255,163,3,0.08) 38%, rgba(255,163,3,0) 70%);
    filter: blur(26px);
    z-index: 0;
    pointer-events: none;
}

.features-section-interactive .section-title,
.about-section .section-title,
.stats-section .section-title,
.solutions-section .section-title,
.intelligence-section .section-title { position: relative; z-index: 1; }

.features-section-interactive .features-interactive-content,
.about-section .workflow-grid,
.stats-section .stats-grid,
.solutions-section .solutions-content,
.intelligence-section .intelligence-content { position: relative; z-index: 1; }

.features-header {
    text-align: center;
    margin-bottom: 129px;
}

.section-title {
    width: 604px;
    color: #fff;
    text-align: center;
    font-family: 'Neue Haas Grotesk Display Pro', sans-serif;
    font-size: 80px;
    font-weight: 600;
    line-height: 100%;
    letter-spacing: -0.8px;
    text-transform: uppercase;
    margin: 0 auto 32px;
}

.section-description {
    color: #F3F6FF;
    font-family: 'Neue Haas Grotesk Display Pro', sans-serif;
    font-size: 24px;
    font-weight: 400;
    line-height: 120%;
    width: 966px;
    margin: 0 auto;
}

.features-interactive-content {
    display: flex;
    width: 100%;
    align-items: center;
    gap: 48px;
    height: 659px;
}

.features-list {
    display: flex;
    width: 551px;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    flex-shrink: 0;
}

.feature-card-interactive {
    display: flex;
    padding: 24px;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    align-self: stretch;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    background: rgba(16, 16, 16, 0.90);
    cursor: pointer;
    transition: all 0.3s ease;
}

.feature-card-interactive:nth-child(2),
.feature-card-interactive:nth-child(3) {
    padding: 32px 24px;
}

.feature-card-interactive.active {
    background: rgba(18, 18, 18, 0.95);
    border-color: rgba(255, 226, 150, 0.22);
}

.feature-card-interactive:hover {
    background: rgba(18, 18, 18, 0.92);
    border-color: rgba(255, 255, 255, 0.18);
}

.feature-icon {
    width: 50px;
    height: 50px;
    padding: 13.234px 12.765px 12.766px 13.235px;
    justify-content: center;
    align-items: center;
    border-radius: 11.765px;
    border: 0.735px solid rgba(255, 255, 255, 0.60);
    background: #0E0C08;
    box-shadow: 0 0 19.485px 0 rgba(254, 205, 114, 0.12) inset;
    backdrop-filter: blur(2.941176414489746px);
    display: flex;
    color: #FFC803;
}

.feature-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-self: stretch;
}

.feature-title {
    color: #fff;
    font-family: 'Neue Haas Grotesk Display Pro', sans-serif;
    font-size: 32px;
    font-weight: 500;
    line-height: 95%;
}

.feature-description {
    color: #fff;
    font-family: 'Neue Haas Grotesk Display Pro', sans-serif;
    font-size: 18px;
    font-weight: 500;
    line-height: 95%;
    letter-spacing: 0.18px;
    opacity: 0.6;
}

.feature-image-container {
    width: 799px;
    height: 659px;
    flex-shrink: 0;
    border-radius: 32px;
    position: relative;
}

.feature-image-background {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    border-radius: 32px;
}

.feature-image-background::before {
    content: '';
    width: 1457px;
    height: 659px;
    flex-shrink: 0;
    background: radial-gradient(149.74% 95.41% at 45.28% 95.3%, #000 1.64%, #000 14.02%, rgba(0, 0, 0, 0.59) 36.35%, #000 64.4%, rgba(0, 0, 0, 0.80) 78.26%, rgba(0, 0, 0, 0.00) 100%);
    position: absolute;
    left: 0;
    top: 0;
    z-index: 1;
}

.radial-gradient {
    width: 2387px;
    height: 1761px;
    flex-shrink: 0;
    border-radius: 750px;
    opacity: 0.7;
    background: radial-gradient(70.71% 70.71% at 50% 50%, rgba(255, 142, 3, 0.20) 0%, rgba(255, 154, 3, 0.00) 55%, rgba(255, 142, 3, 0.00) 100%);
    position: absolute;
    left: -808px;
    top: -804px;
    z-index: 2;
}

.feature-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    flex-shrink: 0;
    border-radius: 32px;
    border: 0; /* remove outer border to avoid double edge with screenshot */
    object-fit: contain; /* show full screenshot without cropping */
    z-index: 3;
    transition: opacity 0.5s ease;
}

.features-grid {
    display: flex;
    gap: 24px;
    max-width: 1200px;
    width: 100%;
}

.feature-card {
    flex: 1;
    padding: 24px;
    border-radius: 16px;
    border: 1.5px solid rgba(255, 255, 255, 0.24);
    background: rgba(104, 92, 71, 0.20);
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* About Section */
.about-section {
    padding: 120px 56px 160px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 70px;
    position: relative;
    overflow: hidden;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 485px;
    left: -590px;
    width: 1232px;
    height: 1144px;
    border-radius: 750px;
    background: radial-gradient(70.71% 70.71% at 50% 50%, rgba(255, 142, 3, 0.20) 0%, rgba(255, 154, 3, 0.00) 55%, rgba(255, 142, 3, 0.00) 100%);
    opacity: 0.7;
    z-index: -1;
}

.about-section::after {
    content: '';
    position: absolute;
    top: 0;
    right: -500px;
    width: 721px;
    height: 1500px;
    border-radius: 750px;
    background: radial-gradient(70.71% 70.71% at 50% 50%, rgba(255, 142, 3, 0.20) 0%, rgba(255, 154, 3, 0.00) 55%, rgba(255, 142, 3, 0.00) 100%);
    transform: rotate(-30deg);
    opacity: 0.7;
    z-index: -1;
}

.workflow-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1328px;
    width: 100%;
}

.workflow-card {
    padding: 32px 24px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    background: rgba(71, 89, 104, 0.20);
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.workflow-card:nth-child(4),
.workflow-card:nth-child(5) {
    grid-column: span 2;
}

.workflow-title {
    color: #fff;
    font-family: 'Neue Haas Grotesk Display Pro', sans-serif;
    font-size: 28px;
    font-weight: 500;
    line-height: 95%;
}

.workflow-description {
    color: #F3F6FF;
    font-family: 'Neue Haas Grotesk Display Pro', sans-serif;
    font-size: 20px;
    font-weight: 400;
    line-height: 120%;
    letter-spacing: 0.2px;
    opacity: 0.6;
}

.workflow-image {
    height: 316px;
    border-radius: 24px;
    background: #060A09;
    overflow: hidden;
    position: relative;
}

.workflow-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
    border: 1px solid #fff;
}

/* Interface Components */
.qualification-interface,
.email-interface {
    padding: 21px 20px 15px;
    color: #fff;
    font-family: 'Segoe UI', sans-serif;
}

.interface-header h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    letter-spacing: -0.4px;
}

.interface-header p {
    font-size: 10px;
    color: #CDCDCD;
    margin-bottom: 20px;
}

.interface-tabs {
    display: flex;
    gap: 4px;
    margin-bottom: 20px;
    padding: 8px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.20);
    background: rgba(255, 255, 255, 0.12);
}

.tab {
    flex: 1;
    padding: 4px 8px;
    text-align: center;
    font-size: 10px;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.tab.active {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
}

.tab:not(.active) {
    color: #737373;
}

.template-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.template-card {
    padding: 8px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.20);
    background: rgba(255, 255, 255, 0.12);
}

.template-card h5 {
    font-size: 11px;
    font-weight: 400;
    margin-bottom: 4px;
    color: #fff;
}

.template-card p {
    font-size: 11px;
    color: #737373;
}

.tone-selector {
    display: flex;
    gap: 4px;
    margin-bottom: 20px;
    padding: 8px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.20);
    background: rgba(255, 255, 255, 0.12);
}

.tone-option {
    flex: 1;
    padding: 4px 8px;
    text-align: center;
    font-size: 10px;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
}

.tone-option.active {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

.tone-option:not(.active) {
    color: #737373;
}

.form-field {
    margin-bottom: 16px;
}

.form-field label {
    display: block;
    font-size: 11px;
    color: #fff;
    margin-bottom: 4px;
}

.form-field input,
.form-field textarea {
    width: 100%;
    padding: 8px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.20);
    background: rgba(255, 255, 255, 0.05);
    color: #737373;
    font-size: 11px;
    font-family: 'Segoe UI', sans-serif;
}

.form-field textarea {
    height: 80px;
    resize: vertical;
}

.integration-diagram {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    gap: 20px;
}

.integration-source,
.integration-targets {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.integration-source h5,
.target-group h5 {
    color: #fff;
    font-size: 11px;
    text-align: center;
    margin-bottom: 8px;
}

.source-icons,
.target-icons {
    display: flex;
    gap: 8px;
    align-items: center;
}

.source-icon,
.target-icon {
    width: 33px;
    height: 33px;
    border-radius: 7px;
    background: rgba(255, 255, 255, 0.13);
    backdrop-filter: blur(29px);
}

.integration-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.zorro-logo {
    padding: 18px;
    background: #121212;
    border: 2px solid rgba(253, 253, 253, 0.40);
    border-radius: 15px;
    color: #FFC889;
    font-family: Montserrat, sans-serif;
    font-size: 24px;
    font-weight: 700;
}

.processing-units {
    display: flex;
    gap: 12px;
}

.unit {
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.13);
    border-radius: 11px;
    color: #fff;
    font-size: 11px;
    font-weight: 500;
}

.more-count {
    color: #fff;
    font-size: 11px;
    margin-left: 8px;
}

/* Stats Section */
.stats-section {
    padding: 120px 56px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 70px;
    position: relative;
}

.stats-grid {
    display: flex;
    gap: 64px;
    align-items: center;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.stat-number {
    color: #fff;
    text-align: center;
    font-family: 'Neue Haas Grotesk Display Pro', sans-serif;
    font-size: 48px;
    font-weight: 400;
    line-height: 120%;
    letter-spacing: -1.44px;
}

.stat-label {
    color: #fff;
    text-align: center;
    font-family: 'Neue Haas Grotesk Display Pro', sans-serif;
    font-size: 32px;
    font-weight: 400;
    line-height: 120%;
    letter-spacing: -0.96px;
}

/* Solutions Section */
.solutions-section {
    padding: 80px 56px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 160px;
    position: relative;
    overflow: hidden;
}

/* previous local glow removed in favor of unified heading glow above */

.solutions-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1314px;
    gap: 64px;
}

.solutions-text {
    width: 380px;
    display: flex;
    flex-direction: column;
    gap: 52px;
}

.solutions-subtitle {
    color: #F3F6FF;
    font-family: 'Neue Montreal', sans-serif;
    font-size: 48px;
    font-weight: 400;
    line-height: 110%;
    letter-spacing: -1.44px;
}

.solutions-description {
    color: #F3F6FF;
    font-family: 'Neue Montreal', sans-serif;
    font-size: 24px;
    font-weight: 400;
    line-height: 120%;
    letter-spacing: -0.48px;
}

.solutions-features {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.check-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.feature-item span {
    color: #F3F6FF;
    font-family: 'Neue Montreal', sans-serif;
    font-size: 24px;
    font-weight: 400;
    line-height: 120%;
    letter-spacing: -0.48px;
}

.solutions-navigation {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-btn {
    width: 64px;
    height: 64px;
    padding: 20px;
    border-radius: 12px;
    border: 1.5px solid #F3F6FF;
    background: transparent;
    color: #F3F6FF;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-btn.disabled {
    border-color: #899099;
    color: #899099;
    cursor: not-allowed;
}

.nav-btn:not(.disabled):hover {
    background: #F3F6FF;
    color: #080707;
}

.nav-counter {
    color: #F3F6FF;
    font-family: 'Neue Montreal', sans-serif;
    font-size: 18px;
    font-weight: 500;
    line-height: 110%;
    letter-spacing: -0.18px;
    text-transform: uppercase;
}

.nav-counter .muted {
    color: #899099;
}

.solutions-visual {
    position: relative;
}

.solutions-visual img {
    width: 330px;
    height: 447px;
}

/* Integrations Section */
.integrations-section {
    padding: 120px 56px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
    background: #080707;
}

.integrations-grid {
    width: 100%;
    max-width: 1200px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.integration-card {
    padding: 28px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(16,16,16,0.9);
}

.integration-heading {
    font-family: 'Neue Haas Grotesk Display Pro', sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 16px;
}

.logo-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.logo-chip {
    padding: 10px 14px;
    border-radius: 12px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    color: #fff;
    font-family: 'Neue Montreal', sans-serif;
    font-size: 14px;
}

@media (min-width: 900px) {
    .integrations-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 768px) {
    .integrations-section { padding: 80px 24px; }
    .integrations-grid { grid-template-columns: 1fr; }
}

/* Intelligence Section */
.intelligence-section {
    padding: 120px 56px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 70px;
    position: relative;
}

.intelligence-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 64px;
    max-width: 818px;
}

.intelligence-description {
    text-align: center;
    font-family: 'Neue Haas Grotesk Display Pro', sans-serif;
    font-size: 32px;
    font-weight: 400;
    line-height: 120%;
    letter-spacing: -0.96px;
}

.primary-text {
    color: #fff;
}

.muted-text {
    color: #899099;
}

.founder-info {
    display: flex;
    align-items: center;
    gap: 24px;
}

.founder-avatar {
    width: 63px;
    height: 63px;
    background: rgba(243, 246, 255, 0.23);
    border-radius: 50%;
    position: relative;
}

.founder-avatar::before {
    content: '';
    position: absolute;
    top: 11px;
    left: 21px;
    width: 21px;
    height: 21px;
    background: #D9D9D9;
    border-radius: 6px;
}

.founder-avatar::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 8px;
    width: 47px;
    height: 27px;
    background: #D9D9D9;
    border-radius: 6px;
}

.founder-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.founder-name {
    color: #F3F6FF;
    font-family: 'Neue Montreal', sans-serif;
    font-size: 18px;
    font-weight: 500;
    line-height: 120%;
}

.founder-title {
    color: #899099;
    font-family: 'Neue Montreal', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 120%;
    letter-spacing: -0.16px;
}

/* FAQ Section */
.faq-section {
    padding: 120px 24px 160px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    position: relative;
    overflow: hidden;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    max-width: 980px;
    margin: 0 auto;
}

.faq-item {
    padding: 20px 28px;
    border-radius: 16px;
    background: rgba(16,16,16,0.9);
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.04);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #F3F6FF;
    font-family: 'Neue Montreal', sans-serif;
    font-size: 22px;
    font-weight: 400;
    line-height: 120%;
    letter-spacing: -0.48px;
    cursor: pointer;
}

.faq-icon {
    width: 24px;
    height: 24px;
    color: #F3F6FF;
    transition: transform 0.3s ease;
}

.faq-answer {
    color: rgba(243,246,255,0.8);
    font-family: 'Neue Montreal', sans-serif;
    font-size: 16px;
    line-height: 150%;
    margin-top: 12px;
    transition: max-height 300ms ease;
}

/* Open state styles */
.faq-item.active {
    background: rgba(18,18,18,0.95);
    border-color: rgba(255, 226, 150, 0.22);
    box-shadow: 0 6px 26px rgba(0,0,0,0.35), inset 0 0 0 1px rgba(255,255,255,0.06);
}

.faq-item.active .faq-question { color: #ffffff; }

/* Section background glow */
.faq-section::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    width: 1400px;
    height: 700px;
    background: radial-gradient(55% 45% at 50% 40%, rgba(255,163,3,0.22) 0%, rgba(255,163,3,0.10) 35%, rgba(255,163,3,0) 70%);
    filter: blur(30px);
    z-index: 0;
    pointer-events: none;
}

.faq-section .section-title { position: relative; z-index: 1; }
.faq-list { position: relative; z-index: 1; }

/* Origination Section */
.origination-section {
    padding: 120px 56px;
    position: relative;
    overflow: hidden;
}

.origination-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
}

.gradient-radial-left {
    position: absolute;
    top: 50%;
    left: -200px;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(70.71% 70.71% at 50% 50%, rgba(255, 163, 3, 0.15) 0%, rgba(255, 163, 3, 0.00) 55%, rgba(255, 163, 3, 0.00) 100%);
    opacity: 0.6;
}

.gradient-radial-right {
    position: absolute;
    top: 20%;
    right: -300px;
    width: 800px;
    height: 800px;
    border-radius: 50%;
    background: radial-gradient(70.71% 70.71% at 50% 50%, rgba(255, 163, 3, 0.10) 0%, rgba(255, 163, 3, 0.00) 55%, rgba(255, 163, 3, 0.00) 100%);
    opacity: 0.4;
}

.floating-svg {
    position: absolute;
    top: 10%;
    right: 10%;
    width: 300px;
    height: 200px;
    opacity: 0.3;
}

.origination-header {
    text-align: center;
    margin-bottom: 80px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.origination-title {
    font-family: 'Neue Haas Grotesk Display Pro', sans-serif;
    font-size: 64px;
    font-weight: 600;
    line-height: 90%;
    color: #fff;
    margin-bottom: 24px;
}

.origination-description {
    font-family: 'Neue Haas Grotesk Display Pro', sans-serif;
    font-size: 20px;
    font-weight: 400;
    line-height: 135%;
    color: rgba(243, 246, 255, 0.7);
}

.origination-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.origination-card {
    padding: 32px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.origination-card-wide { grid-column: span 2; }

.origination-card:hover {
    border-color: rgba(255, 178, 0, 0.3);
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-2px);
}

.card-title {
    font-family: 'Neue Haas Grotesk Display Pro', sans-serif;
    font-size: 24px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 16px;
}

.card-description {
    font-family: 'Neue Montreal', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 135%;
    color: rgba(243, 246, 255, 0.7);
    margin-bottom: 24px;
}

.card-image-container {
    height: 316px;
    border-radius: 24px;
    background: #060A09;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.image-placeholder {
    color: rgba(255, 255, 255, 0.3);
    font-size: 14px;
}

/* Example image framing inside origination cards to match design */
.card-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 16px;
    border: 0;
}

/* Wider cards share same image height but full width */
.origination-card-wide .card-image-container {
    height: 326px;
}

/* Footer */
.footer {
    display: flex;
    padding: 48px 56px;
    justify-content: space-between;
    align-items: center;
    background: #080707;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: auto;
}

.footer-logo {
    font-family: Arial, sans-serif;
    font-size: 31px;
    font-weight: 700;
    color: #fff;
}

.footer-text {
    color: rgba(243, 246, 255, 0.6);
    font-family: 'Neue Montreal', sans-serif;
    font-size: 14px;
    font-weight: 400;
}

/* Footer layout refinements */
.footer .footer-container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.footer-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-link {
    color: rgba(243, 246, 255, 0.72);
    text-decoration: none;
    font-family: 'Neue Montreal', sans-serif;
    font-size: 14px;
    transition: color 0.2s ease;
}

.footer-link:hover { color: #FFD279; }

.footer-separator { color: rgba(243, 246, 255, 0.25); }

/* Responsive Design */
@media (max-width: 1200px) {
    .hero-content {
        width: 90%;
    }

    .hero-title {
        font-size: 60px;
        width: 100%;
    }

    .hero-description {
        width: 100%;
        max-width: 600px;
    }

    .features-grid {
        flex-direction: column;
    }

    .features-section-interactive {
        width: 100%;
        max-width: 1200px;
        min-height: auto;
        height: auto;
        padding: 80px 32px;
    }

    .features-interactive-content {
        flex-direction: column;
        height: auto;
        gap: 32px;
    }

    .features-list {
        width: 100%;
        max-width: 600px;
    }

    .feature-image-container {
        width: 100%;
        max-width: 600px;
        height: 400px;
    }

    .feature-image {
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: contain;
        left: 0;
        transform: none;
    }

    .feature-image-background {
        display: flex;
        align-items: center;
        justify-content: center;
    }

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

    .workflow-card:nth-child(4),
    .workflow-card:nth-child(5) {
        grid-column: span 1;
    }

    .solutions-content {
        flex-direction: column;
        text-align: center;
    }

    .solutions-text {
        width: 100%;
        max-width: 600px;
    }

    .stats-grid {
        flex-direction: column;
        gap: 32px;
    }
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 24px;
        padding: 16px 20px;
    }

    .nav-menu {
        gap: 20px;
    }

    .nav-link {
        font-size: 16px;
    }

    .hero-section {
        padding: 160px 20px 64px;
    }

    .hero-title {
        font-size: 48px;
        line-height: 95%;
    }

    .hero-description {
        font-size: 18px;
    }

    .hero-cta {
        width: 200px;
        padding: 18px 28px;
        font-size: 16px;
    }

    .tagline-line {
        width: 60px;
    }

    .tagline-text {
        font-size: 16px;
    }

    .hero-description {
        font-size: 18px;
    }

    .section-title {
        font-size: 48px;
        width: 100%;
    }

    .section-description {
        font-size: 18px;
        width: 100%;
    }

    .features-section-interactive {
        padding: 60px 24px;
        margin-top: 80px;
    }

    .features-header {
        margin-bottom: 40px;
    }

    .features-interactive-content {
        gap: 24px;
    }

    .feature-card-interactive {
        padding: 20px;
        min-height: 120px;
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
    }

    .feature-card-interactive:active {
        transform: scale(0.98);
    }

    .feature-icon {
        width: 40px;
        height: 40px;
        padding: 10px;
    }

    .feature-title,
    .workflow-title {
        font-size: 22px;
        line-height: 110%;
    }

    .feature-description {
        font-size: 16px;
        line-height: 130%;
    }

    .about-section {
        padding: 80px 24px 120px;
    }

    .feature-image-container {
        height: 280px;
        border-radius: 24px;
    }

    .feature-image {
        border-radius: 24px;
        border: 0;
    }

    .radial-gradient {
        left: -600px;
        top: -500px;
        width: 1800px;
        height: 1200px;
    }

    .solutions-subtitle {
        font-size: 32px;
    }

    .product-demo {
        width: 90%;
        height: auto;
        position: static;
        transform: none;
        margin: 40px auto;
    }

    .demo-interface {
        flex-direction: column;
        height: auto;
    }

    .demo-sidebar {
        width: 100%;
        height: auto;
    }

    .grid-background {
        display: none;
    }
}

@media (max-width: 480px) {
    .header-container {
        gap: 16px;
    }

    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-description {
        font-size: 16px;
    }

    .section-title {
        font-size: 36px;
        letter-spacing: -1px;
    }

    .section-description {
        font-size: 16px;
    }

    .features-section-interactive {
        padding: 40px 16px;
        margin-top: 60px;
    }

    .features-header {
        margin-bottom: 32px;
    }

    .feature-card-interactive {
        padding: 16px;
        gap: 16px;
        min-height: 100px;
    }

    .feature-content {
        gap: 16px;
    }

    .feature-icon {
        width: 36px;
        height: 36px;
        padding: 8px;
    }

    .feature-title {
        font-size: 20px;
    }

    .feature-description {
        font-size: 14px;
    }

    .feature-image-container {
        height: 220px;
        border-radius: 16px;
    }

    .feature-image {
        border-radius: 16px;
    }

    .hero-cta {
        width: 100%;
        max-width: 200px;
    }

    .feature-card,
    .workflow-card {
        padding: 20px;
    }

    .faq-question {
        font-size: 18px;
    }

    .footer {
        flex-direction: column;
        gap: 16px;
        text-align: center;
        padding: 32px 24px;
        margin-top: 80px;
    }
    .footer .footer-container { flex-direction: column; align-items: center; gap: 12px; }
    .footer-right { align-items: center; gap: 6px; }
}

/* Design refinements to better match the visual reference */

/* Gold gradient container behind the dark panel for the outreach card */
.workflow-card:nth-child(4) {
    background: linear-gradient(135deg, rgba(255, 193, 63, 0.18) 0%, rgba(255, 171, 0, 0.06) 100%);
    border-color: rgba(255, 230, 150, 0.35);
}

.workflow-card:nth-child(4) .email-interface {
    background: #0B0B0B;
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 16px;
}

/* Mobile fixes: keep demo chat anchored within the demo on small screens */
@media (max-width: 768px) {
    .demo-chat {
        position: static;
        right: auto;
        bottom: auto;
        margin: 16px 0 0;
        align-self: stretch;
    }
    .chat-message {
        max-width: 100%;
    }
    .product-demo {
        margin: 16px auto 0;
    }
}

/* Design-alignment overrides */
:root { --content-width: 1120px; }

.main-container { padding-top: 88px; }

/* Hero: left-align, demo below heading, content width */
@media (min-width: 1024px) {
	.hero-section {
		height: auto;
		padding: 160px 0 64px;
	}
	.hero-content {
		width: var(--content-width);
		text-align: left;
		gap: 52px;
	}
	.hero-title {
		width: auto;
		font-size: 88px;
		line-height: 0.95;
		letter-spacing: -0.02em;
	}
	.hero-description { width: 720px; }
	.product-demo {
		position: static;
		transform: none;
		margin: 32px auto 0;
		width: var(--content-width);
		height: auto;
	}
	.demo-interface { height: 460px; }
}

/* Features: compact cards with subtle gold border */
.features-section { padding: 120px 0 80px; }
.features-section .section-title { width: var(--content-width); }
.features-section .section-description { width: var(--content-width); }
.features-grid { width: var(--content-width); margin: 0 auto; }
.feature-card {
	background: linear-gradient(180deg, rgba(16,16,16,1) 0%, rgba(14,14,14,1) 100%);
	border: 1px solid rgba(255, 226, 150, 0.18);
	box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06);
}
.feature-icon { border-color: rgba(255,255,255,0.2); }

/* Workflow grid container width */
.about-section { padding: 120px 0; }
.workflow-grid { width: var(--content-width); margin: 0 auto; }
.workflow-card {
	background: linear-gradient(180deg, rgba(16,16,16,1) 0%, rgba(14,14,14,1) 100%);
	border: 1px solid rgba(255,255,255,0.10);
}

/* Show all sections for proper layout */
.stats-section, .solutions-section, .intelligence-section, .faq-section { display: block; }

/* Stats Section */
.stats-section {
    padding: 120px 56px;
    text-align: center;
    background: #080707;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
    max-width: 1200px;
    margin: 0 auto;
    margin-top: 64px;
}

.stats-subtitle {
    grid-column: 1 / -1;
    font-family: 'Neue Montreal', sans-serif;
    font-size: 16px;
    color: rgba(243, 246, 255, 0.6);
    text-align: center;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.stat-number {
    font-family: 'Neue Haas Grotesk Display Pro', sans-serif;
    font-size: 48px;
    font-weight: 600;
    color: #FFB303;
    line-height: 90%;
}

.stat-label {
    font-family: 'Neue Montreal', sans-serif;
    font-size: 18px;
    font-weight: 400;
    color: rgba(243, 246, 255, 0.7);
    line-height: 135%;
}

/* Stats design refinements to match reference */
.stats-section {
    position: relative;
    overflow: visible;
}

/* Soft gold radial behind heading */
.stats-section::before { content: none; }

/* Subtle grid overlay faded to center */
.stats-section::after { content: none; }

.stats-section .section-title {
    position: relative;
    z-index: 1;
    width: auto;
    max-width: 1200px;
    margin: 0 auto;
    text-transform: uppercase;
    font-family: 'Neue Haas Grotesk Display Pro', sans-serif;
    font-size: 88px;
    font-weight: 700;
    line-height: 95%;
    letter-spacing: -1.5px;
    background: linear-gradient(281deg, #2C3947 2.03%, #F8F8FF 40.42%, #F8F8FF 65.38%, #1B2228 102.26%);
    -webkit-background-clip: text;
            background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stats-grid { z-index: 1; position: relative; }

/* Solutions Section */
.solutions-section {
    padding: 120px 56px;
    background: #080707;
}

.solutions-content {
    display: flex;
    align-items: center;
    gap: 80px;
    max-width: 1200px;
    margin: 0 auto;
}

.solutions-text {
    flex: 1;
    max-width: 500px;
}

.solutions-subtitle {
    font-family: 'Neue Haas Grotesk Display Pro', sans-serif;
    font-size: 36px;
    font-weight: 600;
    color: #fff;
    line-height: 110%;
    margin-bottom: 24px;
}

.solutions-description {
    font-family: 'Neue Montreal', sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 135%;
    color: rgba(243, 246, 255, 0.7);
    margin-bottom: 32px;
}

.solutions-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 32px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Neue Montreal', sans-serif;
    font-size: 16px;
    color: rgba(243, 246, 255, 0.8);
}

.solutions-navigation {
    display: flex;
    align-items: center;
    gap: 16px;
}

.nav-btn {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-btn:hover {
    border-color: rgba(255, 178, 0, 0.3);
    background: rgba(255, 255, 255, 0.1);
}

.nav-btn.disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.nav-counter {
    font-family: 'Neue Montreal', sans-serif;
    font-size: 14px;
    color: rgba(243, 246, 255, 0.6);
}

.solutions-visual {
    flex: 1;
    display: flex;
    justify-content: center;
}

.solutions-visual img {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
}

/* --- Fixes for "Why Zorro replaces 5+ tools" section --- */
/* Show only the active slide and keep layout tidy */
.solutions-slide { display: none; }
.solutions-slide.active { display: block; }

/* Improve readable widths and spacing */
.solutions-text { max-width: 560px; }
.solutions-navigation { margin-top: 8px; }

/* Enlarge the right-hand visual to match layout scale */
.solutions-visual img { width: 520px; height: auto; }

@media (max-width: 1200px) {
    .solutions-visual img { width: 420px; }
}

@media (max-width: 768px) {
    .solutions-slide.active { display: block; }
    .solutions-visual img { width: 100%; }
}

/* Ensure the CTA under the solutions section is centered and not fixed */
.solutions-cta { align-self: center; margin-top: 12px; }

/* Intelligence Section */
.intelligence-section {
    padding: 120px 56px;
    background: #080707;
}

.intelligence-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.intelligence-description {
    font-family: 'Neue Haas Grotesk Display Pro', sans-serif;
    font-size: 24px;
    font-weight: 400;
    line-height: 135%;
    color: rgba(243, 246, 255, 0.8);
    margin-bottom: 48px;
}

.primary-text {
    color: #fff;
    font-weight: 600;
}

.muted-text {
    color: rgba(243, 246, 255, 0.6);
}

.founder-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.founder-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #FFB303;
}

.founder-details {
    text-align: left;
}

.founder-name {
    font-family: 'Neue Montreal', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #fff;
}

.founder-title {
    font-family: 'Neue Montreal', sans-serif;
    font-size: 14px;
    color: rgba(243, 246, 255, 0.6);
}

/* FAQ Section */
.faq-section {
    padding: 120px 24px 160px;
    background: #080707;
}

.faq-list {
    max-width: 980px;
    margin: 0 auto;
    margin-top: 64px;
}

.faq-item {
    border-bottom: none;
    padding: 20px 28px;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-family: 'Neue Montreal', sans-serif;
    font-size: 22px;
    font-weight: 500;
    color: #fff;
    transition: color 0.3s ease;
}

.faq-question:hover { color: #FFB303; }

.faq-icon { transition: transform 0.3s ease; }

/* Utility framing for UI screenshots */
.ui-shot {
	border-radius: 16px;
	box-shadow: 0 8px 40px rgba(0,0,0,0.6);
	border: 1px solid rgba(255,255,255,0.08);
	background: #0b0b0b;
}

.hero-image.ui-shot { width: 280px; height: auto; opacity: 0.85; }

/* Section spacing polish */
.features-section .section-title,
.features-section .section-description,
.about-section .section-title,
.about-section .section-description {
	margin-left: calc((100% - var(--content-width)) / 2);
	margin-right: calc((100% - var(--content-width)) / 2);
}

/* Header refinements to match preview */
.header {
	display: block;
	padding: 16px 24px;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1000;
	background: linear-gradient(180deg, rgba(8,7,7,0.85) 0%, rgba(8,7,7,0.6) 60%, rgba(8,7,7,0) 100%);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid rgba(255,255,255,0.06);
}

.header-inner {
	max-width: 1160px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}

.logo {
	font-family: Arial, sans-serif;
	font-size: 28px;
	font-weight: 800;
	letter-spacing: 0.5px;
}

.nav-menu { gap: 28px; }
.nav-link {
	color: rgba(255,255,255,0.9);
	font-size: 14px;
	letter-spacing: 0.2px;
}
.nav-link:hover { color: #FFD279; }

.header .btn-primary {
	padding: 12px 18px;
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 0 0 1px rgba(255,255,255,0.3) inset, 0 8px 24px rgba(0,0,0,0.35);
}

@media (max-width: 768px) {
	.header-inner { gap: 12px; }
	.nav-menu { display: none; }
}

/* --- Responsive fixes for oversized headings --- */
/* Ensure the origination and stats section titles scale on small screens */
.origination-title {
    font-size: clamp(32px, 8vw, 64px);
    text-wrap: balance;
}

.stats-section .section-title {
    font-size: clamp(36px, 12vw, 88px);
    line-height: 95%;
    text-wrap: balance;
}

/* --- Responsive grid transforms: 3x2 -> 2x? -> 1x? --- */
@media (max-width: 1024px) {
    .origination-grid { grid-template-columns: repeat(2, 1fr); }
    .origination-card-wide { grid-column: span 2; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
    .origination-grid { grid-template-columns: 1fr; }
    .origination-card-wide { grid-column: span 1; }
    .stats-grid { grid-template-columns: 1fr; }
}

/* Strong mobile overrides to ensure headings shrink on small devices */
@media (max-width: 768px) {
    .origination-header { padding: 0 16px; }
    .origination-title { font-size: 36px; line-height: 100%; }
    .stats-section .section-title { font-size: 44px; line-height: 100%; }
}

@media (max-width: 480px) {
    .origination-title { font-size: 32px; }
    .stats-section .section-title { font-size: 36px; }
}
