/* ===== CSS RESET & BASE ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-primary: #000000;
    --bg-secondary: #0a0a0a;
    --bg-card: #111111;
    --bg-card-border: #1a1a1a;
    --text-primary: #ffffff;
    --text-secondary: #888888;
    --text-muted: #555555;
    --accent: #ffffff;
    --accent-hover: #e0e0e0;
    --accent-glow: rgba(255, 255, 255, 0.15);
    --green: #22c55e;
    --red: #ef4444;
    --yellow: #eab308;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    --radius-sm: 0;
    --radius-md: 0;
    --radius-lg: 0;
    --radius-xl: 0;
    --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    transition: background var(--transition);
}

.navbar.scrolled {
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-weight: 700;
    font-size: 1.4rem;
}

.logo-icon-svg {
    width: 34px;
    height: 34px;
    flex-shrink: 0;
}

.logo-text {
    color: var(--text-primary);
    letter-spacing: 0.02em;
}

/* Right-side button group */
.nav-right {
    display: flex;
    align-items: center;
}

/* Palantir-style CTA: solid white, sharp corners, dark text */
.nav-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    color: #0a0a0a;
    padding: 0 1.5rem;
    height: 40px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 0;
    transition: all var(--transition);
    white-space: nowrap;
}

.nav-cta:hover {
    background: rgba(255, 255, 255, 0.85);
}

/* Square icon buttons */
.nav-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-left: none;
    border-radius: 0;
    color: #ffffff;
    cursor: pointer;
    transition: background var(--transition);
    flex-shrink: 0;
}

.nav-icon-btn svg {
    width: 16px;
    height: 16px;
}

.nav-icon-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Mobile dropdown nav */
.mobile-nav {
    display: none;
    flex-direction: column;
    background: #000000;
    padding: 0.5rem 0;
    position: absolute;
    top: 70px;
    right: max(1rem, calc((100% - 1200px) / 2));
    width: 200px;
    z-index: 1001;
}

.mobile-nav.active {
    display: flex;
}

.mobile-nav-link {
    color: #ffffff;
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    transition: background var(--transition);
    width: 100%;
    box-sizing: border-box;
}

.mobile-nav-link:last-child {
    border-bottom: none;
}

.mobile-nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}


/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    display: flex;
    align-items: center;
    padding: 16rem 0 0;
    overflow: visible;
}

.hero-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.4;
    pointer-events: none;
}

.hero-glow-left {
    top: -200px;
    left: -200px;
    background: radial-gradient(circle, var(--accent-glow), transparent 70%);
}

.hero-glow-right {
    bottom: -200px;
    right: -200px;
    background: radial-gradient(circle, rgba(74, 144, 255, 0.08), transparent 70%);
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.6s ease-out;
}

.badge-dot {
    width: 6px;
    height: 6px;
    background: var(--green);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.4;
    }
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.6s ease-out 0.1s both;
}

.hero-title .highlight {
    color: var(--text-primary);
}

.hero-subtitle {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 500px;
    margin-bottom: 2rem;
    animation: fadeInUp 0.6s ease-out 0.2s both;
}

.hero-pricing {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    font-family: 'Inter', monospace;
    font-size: 0.95rem;
    margin-bottom: 2rem;
    animation: fadeInUp 0.6s ease-out 0.3s both;
}

.price-old {
    color: var(--text-muted);
    text-decoration: line-through;
}

.price-arrow {
    color: var(--text-muted);
}

.price-new {
    color: var(--green);
    font-weight: 700;
}

.price-badge {
    background: rgba(34, 197, 94, 0.15);
    color: var(--green);
    padding: 0.15rem 0.5rem;
    border-radius: 0;
    font-size: 0.75rem;
    font-weight: 700;
}

.hero-divider {
    width: 100%;
    max-width: 500px;
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.6s ease-out 0.35s both;
}

.hero-stats {
    display: flex;
    gap: 2.5rem;
    animation: fadeInUp 0.6s ease-out 0.4s both;
}

.yc-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    padding: 0.45rem 0.9rem 0.45rem 0.7rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: fadeInUp 0.6s ease-out 0.5s both;
}

.yc-backed-text {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-secondary);
    letter-spacing: 0.02em;
}

.yc-logo-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background: #f26522;
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 800;
    flex-shrink: 0;
}

.yc-name-text {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: 0.01em;
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.stat-label {
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    color: var(--text-muted);
    text-transform: uppercase;
}

.stat-value {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-primary);
}

/* Hero Visual */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

/* ===== ORG CHART ===== */
.org-chart {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding: 1.5rem 0;
}

.org-node {
    background: var(--bg-card);
    border: 1px solid var(--bg-card-border);
    padding: 0.6rem 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.org-name {
    font-weight: 600;
    font-size: 0.8rem;
    color: var(--text-primary);
    white-space: nowrap;
}

.org-badge {
    font-size: 0.55rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    padding: 0.15rem 0.4rem;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    text-transform: uppercase;
}

.org-badge::before {
    content: '';
    width: 5px;
    height: 5px;
    border-radius: 50%;
    display: inline-block;
}

.human-badge {
    background: rgba(34, 197, 94, 0.1);
    color: var(--green);
}

.human-badge::before {
    background: var(--green);
}

.bot-badge {
    background: rgba(245, 158, 11, 0.1);
    color: var(--yellow);
}

.bot-badge::before {
    background: var(--yellow);
}

/* AI Layer tag */
.org-ai-layer {
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #818cf8;
    background: rgba(129, 140, 248, 0.08);
    border: 1px solid rgba(129, 140, 248, 0.25);
    padding: 0.35rem 1.5rem;
    text-align: center;
}

/* CEO Node */
.ceo-node {
    padding: 0.75rem 1.5rem;
    border-color: rgba(255, 255, 255, 0.12);
}

.ceo-node .org-name {
    font-size: 0.95rem;
}

/* Connectors */
.org-connector-down {
    width: 1px;
    height: 20px;
    background: var(--bg-card-border);
}

.org-connector-horizontal {
    width: 65%;
    max-width: 320px;
    height: 1px;
    background: var(--bg-card-border);
    position: relative;
}

.org-connector-horizontal::before {
    content: '';
    position: absolute;
    left: 50%;
    top: -3px;
    width: 7px;
    height: 7px;
    background: #818cf8;
    border-radius: 50%;
    transform: translateX(-50%);
}

.org-connector-up {
    width: 1px;
    height: 16px;
    background: var(--bg-card-border);
    margin: 0 auto;
}

/* Branches */
.org-branches {
    display: flex;
    gap: 0.75rem;
    width: 100%;
    justify-content: center;
}

.org-branch {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    max-width: 160px;
}

.team-node {
    width: 100%;
    justify-content: center;
    padding: 0.5rem 0.6rem;
}

.team-node .org-name {
    font-size: 0.7rem;
}

/* Agent nodes */
.org-agents {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    margin-top: 0.4rem;
    width: 100%;
}

.agent-node {
    padding: 0.35rem 0.6rem;
    justify-content: space-between;
    background: var(--bg-secondary);
    border-color: var(--bg-card-border);
}

.org-agent-name {
    font-size: 0.7rem;
    color: var(--text-secondary);
    font-weight: 500;
}



/* ===== SECTION COMMON ===== */
.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-title {
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    font-weight: 800;
    text-align: center;
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.05rem;
    margin-bottom: 3.5rem;
}

/* ===== FEATURES ===== */
.features {
    padding: 8rem 2rem;
    background: var(--bg-primary);
}

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

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--bg-card-border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: all var(--transition);
}

.feature-card:hover {
    border-color: rgba(74, 144, 255, 0.2);
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.feature-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-sm);
    color: var(--accent);
    margin-bottom: 1.25rem;
}

.feature-icon svg {
    width: 20px;
    height: 20px;
}

.feature-title {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
}

.feature-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

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

.steps-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    position: relative;
}

.step {
    text-align: center;
    padding: 0 1.5rem;
    position: relative;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-sm);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
    background: var(--bg-secondary);
}

.step-connector {
    position: absolute;
    top: 24px;
    left: calc(50% + 30px);
    width: calc(100% - 60px);
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    right: 0;
}

.step:last-child .step-connector {
    display: none;
}

.step-title {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
}

.step-desc {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ===== PRICING / TERMINAL ===== */
.pricing {
    padding: 5rem 2rem 8rem;
    background: var(--bg-primary);
    position: relative;
    z-index: 10;
}

.terminal-window {
    max-width: 700px;
    margin: 0 auto 3rem;
    background: var(--bg-card);
    border: 1px solid var(--bg-card-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.terminal-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.85rem 1.25rem;
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.terminal-dots {
    display: flex;
    gap: 6px;
}

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

.dot.red {
    background: var(--red);
}

.dot.yellow {
    background: var(--yellow);
}

.dot.green {
    background: var(--green);
}

.terminal-title {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-family: 'Inter', monospace;
}

.terminal-body {
    padding: 1.5rem;
    font-family: 'Inter', monospace;
    font-size: 0.85rem;
}

.terminal-line {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.terminal-badge {
    display: inline-block;
    padding: 0.15rem 0.5rem;
    border-radius: 0;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    flex-shrink: 0;
}

.terminal-badge.you {
    background: var(--green);
    color: #000;
}

.terminal-badge.agent {
    background: var(--accent);
    color: #000;
}

.terminal-text {
    color: var(--text-secondary);
}

.terminal-line .terminal-text {
    font-weight: 600;
    color: var(--text-primary);
}

.agent-line .terminal-text {
    color: var(--text-secondary);
    font-weight: 400;
}

.terminal-tree {
    padding-left: 3.5rem;
    margin-bottom: 1rem;
}

.tree-item {
    color: var(--text-muted);
    font-size: 0.8rem;
    padding: 0.2rem 0;
}

.terminal-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.06);
    margin: 1rem 0;
}

.terminal-result {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.result-price {
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
}

.result-amount {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--green);
}

.result-unit {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.result-arrow {
    color: var(--text-muted);
    margin: 0 0.5rem;
}

.result-total {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
}

.result-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.status-dot {
    width: 6px;
    height: 6px;
    background: var(--green);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.status-text {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.pricing-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: fit-content;
    margin: 0 auto;
    background: #ffffff;
    color: #0a0a0a;
    padding: 0.85rem 2rem;
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 0;
    font-size: 0.95rem;
    font-weight: 600;
    transition: all var(--transition);
}

.pricing-cta:hover {
    background: rgba(255, 255, 255, 0.85);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(255, 255, 255, 0.15);
}

.cta-arrow {
    transition: transform var(--transition);
}

.pricing-cta:hover .cta-arrow {
    transform: translateX(4px);
}

/* ===== CONTACT / QUOTE ===== */
.contact {
    padding: 8rem 2rem;
    background: var(--bg-secondary);
}

.quote-card {
    max-width: 700px;
    margin: 0 auto;
    background: var(--bg-card);
    border: 1px solid var(--bg-card-border);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
}

.quote-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.avatar {
    position: relative;
    width: 44px;
    height: 44px;
    background: var(--accent);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.avatar-face {
    display: flex;
    gap: 6px;
}

.avatar-eye {
    display: block;
    width: 6px;
    height: 6px;
    background: #000;
    border-radius: 0;
}

.avatar-status {
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 10px;
    height: 10px;
    background: var(--green);
    border-radius: 50%;
    border: 2px solid var(--bg-card);
}

.quote-intro {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.quote-intro strong {
    color: var(--text-primary);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 0.6rem;
    color: var(--text-primary);
}

.label-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    background: rgba(255, 255, 255, 0.15);
    color: var(--accent);
    border-radius: 0;
    font-size: 0.7rem;
    font-weight: 700;
}

.form-textarea,
.form-input {
    width: 100%;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: 0.85rem 1rem;
    color: var(--text-primary);
    font-family: var(--font);
    font-size: 0.9rem;
    transition: all var(--transition);
    resize: vertical;
}

.form-textarea:focus,
.form-input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(74, 144, 255, 0.1);
}

.form-textarea::placeholder,
.form-input::placeholder {
    color: var(--text-muted);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.submit-btn {
    width: 100%;
    background: #ffffff;
    color: #0a0a0a;
    border: 1px solid rgba(255, 255, 255, 0.9);
    padding: 1rem;
    border-radius: 0;
    font-family: var(--font);
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.submit-btn:hover {
    background: rgba(255, 255, 255, 0.85);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(255, 255, 255, 0.15);
}

.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.btn-arrow {
    transition: transform var(--transition);
}

.submit-btn:hover .btn-arrow {
    transform: translateX(4px);
}

.success-message {
    text-align: center;
    padding: 2rem 0;
}

.success-icon {
    width: 56px;
    height: 56px;
    background: rgba(34, 197, 94, 0.15);
    color: var(--green);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.success-message h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.success-message p {
    color: var(--text-secondary);
}

/* ===== FOOTER ===== */
.footer {
    padding: 3rem 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.85rem;
    transition: color var(--transition);
}

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

.footer-copy {
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== BLUE GLOW EDGES ===== */
.hero::before,
.pricing::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse at 0% 50%, rgba(74, 144, 255, 0.08), transparent 50%),
        radial-gradient(ellipse at 100% 50%, rgba(74, 144, 255, 0.08), transparent 50%);
}

/* ===== LOGO CLOUD SECTION ===== */
.logo-cloud {
    padding: 3rem 0;
    text-align: center;
    overflow: hidden;
}

.logo-cloud-title {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 500;
    letter-spacing: -0.02em;
    line-height: 1.3;
    margin-bottom: 2rem;
    color: #ffffff;
}

.logo-cloud-title .muted {
    color: var(--text-muted);
}

.logo-cloud-title .highlight {
    color: var(--text-primary);
    font-weight: 600;
}

.logo-divider {
    height: 1px;
    background: var(--border-color);
    margin: 2rem auto;
    max-width: 400px;
    -webkit-mask-image: linear-gradient(to right, transparent, black, transparent);
    mask-image: linear-gradient(to right, transparent, black, transparent);
}

.slider-container {
    width: 100%;
    overflow: hidden;
    padding: 1.5rem 0;
    -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.slider-track {
    display: flex;
    align-items: center;
    gap: 4.5rem;
    width: max-content;
    animation: slideRight 45s linear infinite;
}

.slider-track:hover {
    animation-play-state: paused;
}

@keyframes slideRight {
    0% {
        transform: translateX(calc(-50% - 1.5rem));
    }

    100% {
        transform: translateX(0);
    }
}

.slider-logo {
    height: 3rem;
    object-fit: contain;
    pointer-events: none;
    user-select: none;
    filter: grayscale(1) invert(1);
    opacity: 0.6;
    transition: opacity var(--transition);
}

.slider-logo:hover {
    opacity: 1;
}

/* ===== DESKTOP-ONLY HERO FIX ===== */
@media (min-width: 769px) {
    .hero {
        padding-bottom: 10rem;
    }

    .nav-container {
        padding-left: 0;
        padding-right: 0;
    }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-visual {
        max-width: 100%;
        margin: 0 auto;
    }

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

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

    .step-connector {
        display: none;
    }

    .hero-container {
        padding: 0 2rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero {
        padding: 6.5rem 1.5rem 0;
        touch-action: pan-y;
        -webkit-overflow-scrolling: touch;
    }

    /* Remove decorative overlays that block touch scrolling on mobile Safari */
    .hero::before {
        display: none;
    }

    .hero-glow {
        display: none;
    }

    .hero-visual,
    .org-chart,
    .org-chart * {
        touch-action: pan-y;
    }

    .hero-content {
        text-align: center;
    }

    .hero-title {
        font-size: 2.25rem;
    }

    .hero-stats {
        display: none;
    }

    .yc-badge {
        margin-top: 0.75rem;
        justify-content: center;
    }

    .hero-container {
        padding: 0 1.25rem;
    }

    .nav-container {
        padding: 0 1.25rem;
    }

    .section-container {
        padding: 0 1rem;
    }

    .section-title {
        font-size: 1.85rem;
        line-height: 1.2;
        padding: 0 0.5rem;
    }

    /* Pricing title: reduce size + padding so "Cut down labor costs" fits on one line */
    .pricing {
        padding: 1.5rem 1rem 4rem;
    }

    .pricing .section-title {
        font-size: 1.4rem;
        padding: 0;
    }

    .step {
        padding: 0 0.5rem;
    }

    .step-desc {
        font-size: 0.85rem;
    }

    .org-branches {
        gap: 0.5rem;
    }

    .org-branch {
        max-width: 150px;
    }

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

    .steps-row {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .quote-card {
        padding: 1.5rem;
    }

    .quote-header {
        flex-direction: column;
        text-align: center;
    }

    .terminal-result {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .hero-pricing {
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .org-chart {
        padding: 1rem 0;
    }

    .org-branches {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }

    .org-branch {
        max-width: 260px;
        width: 100%;
    }

    .org-agents {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0.3rem;
    }

    .agent-node {
        flex: 1;
        min-width: 0;
    }

    .org-connector-horizontal {
        width: 1px;
        height: 20px;
        max-width: none;
    }

    .org-connector-horizontal::before {
        left: -3px;
        top: 50%;
        transform: translateY(-50%);
    }

    .org-connector-up {
        display: none;
    }

    .footer-links {
        gap: 1rem;
    }

    .nav-logo {
        gap: 0.5rem;
        font-size: 1.2rem;
    }

    .logo-icon-svg {
        width: 26px;
        height: 26px;
    }

    .nav-cta {
        padding: 0 0.8rem;
        font-size: 0.75rem;
        height: 36px;
    }

    .nav-icon-btn {
        width: 36px;
        height: 36px;
    }

    .nav-container {
        padding: 0 1rem;
    }
}