/**
 * ADGO Enterprise — B2B partnership sale page (/enterprise)
 */

.enterprise-page {
    --enterprise-border: rgb(255 255 255 / 0.08);
    --enterprise-surface: var(--color-background-muted);
}

/* Scroll reveal (progressive enhancement — see enterprise-page.js) */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    .reveal-on-scroll {
        transition: none;
        opacity: 1;
        transform: none;
    }
}

/* Hero */
.enterprise-hero {
    isolation: isolate;
}

.enterprise-hero-glow {
    position: absolute;
    top: -20%;
    right: -10%;
    width: min(60vw, 900px);
    height: min(60vw, 900px);
    background: radial-gradient(circle, rgb(0 242 255 / 0.12) 0%, transparent 65%);
    pointer-events: none;
    z-index: 0;
}

.enterprise-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    font-family: var(--font-mono, monospace);
    font-size: 13px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: var(--color-brand);
    border: 1px solid rgb(0 242 255 / 0.3);
    background: rgb(0 242 255 / 0.06);
    padding: 8px 16px;
}

.enterprise-text-link:hover {
    color: var(--color-brand);
}

/* Photo plate */
.enterprise-plate {
    --enterprise-image-inset: clamp(10px, 1.5vw, 20px);
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background:
        radial-gradient(circle at 30% 20%, rgb(0 242 255 / 0.08) 0%, transparent 55%),
        linear-gradient(155deg, var(--color-background-muted) 0%, var(--color-background) 100%);
    background-color: var(--color-background-muted);
}

.enterprise-plate__image {
    position: absolute;
    inset: var(--enterprise-image-inset);
    width: calc(100% - (var(--enterprise-image-inset) * 2));
    height: calc(100% - (var(--enterprise-image-inset) * 2));
    object-fit: contain;
}

.enterprise-plate::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgb(255 255 255 / 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgb(255 255 255 / 0.04) 1px, transparent 1px);
    background-size: 28px 28px;
    pointer-events: none;
    z-index: 1;
}

.enterprise-plate__corner {
    position: absolute;
    width: 18px;
    height: 18px;
    border: 1px solid rgb(0 242 255 / 0.5);
    pointer-events: none;
    z-index: 2;
}

.enterprise-plate__corner--tl { top: 12px; left: 12px; border-right: none; border-bottom: none; }
.enterprise-plate__corner--tr { top: 12px; right: 12px; border-left: none; border-bottom: none; }
.enterprise-plate__corner--bl { bottom: 12px; left: 12px; border-right: none; border-top: none; }
.enterprise-plate__corner--br { bottom: 12px; right: 12px; border-left: none; border-top: none; }

.enterprise-plate__icon {
    position: relative;
    z-index: 1;
    width: clamp(32px, 8%, 56px);
    height: clamp(32px, 8%, 56px);
    color: var(--color-foreground);
    opacity: 0.35;
}

.enterprise-plate__tag {
    position: absolute;
    left: 16px;
    bottom: 14px;
    font-family: var(--font-mono, monospace);
    font-size: 11px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--color-brand);
}

.enterprise-plate__caption {
    position: absolute;
    right: 16px;
    bottom: 14px;
    max-width: 55%;
    font-family: var(--font-mono, monospace);
    font-size: 11px;
    text-align: right;
    color: var(--color-foreground-muted);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Stats strip */
.enterprise-stats-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background: var(--enterprise-border);
}

@media (min-width: 768px) {
    .enterprise-stats-row {
        grid-template-columns: repeat(4, 1fr);
    }
}

.enterprise-stats-row__item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 32px 16px;
    background: var(--color-background-muted);
    text-align: center;
}

.enterprise-stats-row__value {
    font-family: var(--font-mono, monospace);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    line-height: 1;
    color: var(--color-foreground);
}

.enterprise-stats-row__suffix {
    font-size: 0.5em;
    margin-left: 4px;
    color: var(--color-brand);
}

.enterprise-stats-row__label {
    font-size: 13px;
    color: var(--color-foreground-muted);
}

/* Industries marquee */
.enterprise-industries {
    padding: 32px 0 48px;
    overflow: hidden;
}

.enterprise-industries__label {
    margin: 0 auto 20px;
    width: fit-content;
    font-family: var(--font-mono, monospace);
    font-size: 12px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--color-foreground-muted);
    text-align: center;
}

.enterprise-marquee {
    position: relative;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.enterprise-marquee__track {
    display: flex;
    align-items: center;
    width: max-content;
    animation: enterprise-marquee 30s linear infinite;
}

.enterprise-marquee__item {
    padding: 0 20px;
    font-family: var(--font-mono, monospace);
    font-size: 14px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: var(--color-foreground-muted);
    white-space: nowrap;
}

.enterprise-marquee__dot {
    font-size: 8px;
    color: var(--color-brand);
}

@keyframes enterprise-marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
    .enterprise-marquee__track {
        animation: none;
    }
}

/* How it works */
.enterprise-process-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

@media (min-width: 768px) {
    .enterprise-process-row {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }
}

.enterprise-process-step {
    position: relative;
    padding: 32px 24px;
    background: var(--color-background-muted);
    border: 1px solid var(--enterprise-border);
}

.enterprise-process-step__number {
    display: block;
    margin-bottom: 16px;
    font-family: var(--font-mono, monospace);
    font-size: 14px;
    font-weight: 700;
    color: var(--color-brand);
}

.enterprise-process-step__title {
    margin-bottom: 8px;
    font-size: 20px;
    font-weight: 500;
    color: var(--color-foreground);
}

.enterprise-process-step__desc {
    font-size: 14px;
    line-height: 1.6;
    color: var(--color-foreground-muted);
}

/* Why cards */
.enterprise-why-card {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 32px;
    background: var(--color-background-muted);
    border: 1px solid var(--enterprise-border);
    transition: border-color 0.3s ease;
}

.enterprise-why-card:hover {
    border-color: rgb(0 242 255 / 0.4);
}

.enterprise-why-card__icon {
    width: 32px;
    height: 32px;
    color: var(--color-brand);
}

.enterprise-why-card__tag {
    width: fit-content;
    font-family: var(--font-mono, monospace);
    font-size: 12px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--color-brand);
    border: 1px solid rgb(0 242 255 / 0.3);
    padding: 4px 12px;
}

.enterprise-why-card__title {
    font-size: 20px;
    font-weight: 500;
    color: var(--color-foreground);
}

.enterprise-why-card__desc {
    font-size: 15px;
    line-height: 1.6;
    color: var(--color-foreground-muted);
}

/* Models */
.enterprise-models-tag {
    display: inline-block;
    font-family: var(--font-mono, monospace);
    font-size: 13px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--color-brand);
}

.enterprise-model-card {
    position: relative;
    overflow: hidden;
    background: var(--color-background);
    border: 1px solid var(--enterprise-border);
    transition: border-color 0.4s ease;
}

.enterprise-model-card:hover {
    border-color: rgb(0 242 255 / 0.4);
}

.enterprise-model-card__letter {
    position: absolute;
    top: -0.35em;
    right: 0.1em;
    font-family: var(--font-mono, monospace);
    font-weight: 800;
    font-size: clamp(10rem, 22vw, 18rem);
    line-height: 1;
    color: var(--color-foreground);
    opacity: 0.035;
    pointer-events: none;
    user-select: none;
    transition: opacity 0.4s ease, color 0.4s ease;
}

.enterprise-model-card:hover .enterprise-model-card__letter {
    opacity: 0.07;
    color: var(--color-brand);
}

.enterprise-model-card__inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 40px 32px;
}

@media (min-width: 1024px) {
    .enterprise-model-card__inner {
        padding: 56px;
    }
}

.enterprise-model-card__head {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.enterprise-model-card__badge {
    font-family: var(--font-mono, monospace);
    font-size: 13px;
    font-weight: 700;
    color: #000;
    background: var(--color-brand);
    padding: 4px 12px;
}

.enterprise-model-card__category {
    font-family: var(--font-mono, monospace);
    font-size: 12px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--color-foreground-muted);
    border: 1px solid var(--enterprise-border);
    padding: 4px 12px;
}

.enterprise-model-card__title {
    font-family: var(--font-mono, monospace);
    font-size: clamp(1.75rem, 3vw, 2.75rem);
    line-height: 1.1;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    color: var(--color-foreground);
}

.enterprise-model-card__quote {
    max-width: 44em;
    border-left: 3px solid var(--color-brand);
    padding-left: 20px;
    font-size: 18px;
    font-weight: 300;
    line-height: 1.5;
    color: var(--color-foreground);
}

.enterprise-model-card__audience {
    max-width: 44em;
    font-size: 15px;
    line-height: 1.6;
    color: var(--color-foreground-muted);
}

.enterprise-model-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.enterprise-model-card__tags span {
    font-size: 13px;
    font-weight: 500;
    color: var(--color-foreground-muted);
    background: var(--color-background-muted);
    border: 1px solid var(--enterprise-border);
    padding: 6px 12px;
}

.enterprise-model-card__reason {
    max-width: 56em;
    font-size: 15px;
    line-height: 1.7;
    color: var(--color-foreground-muted);
}

.enterprise-model-card__features {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-top: 8px;
    border-top: 1px solid var(--enterprise-border);
}

.enterprise-model-card__feature {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 16px;
    background: var(--color-background-muted);
}

.enterprise-model-card__feature.is-highlight {
    background: rgb(0 242 255 / 0.06);
    border: 1px solid rgb(0 242 255 / 0.3);
}

.enterprise-model-card__feature-index {
    font-family: var(--font-mono, monospace);
    font-size: 13px;
    color: var(--color-brand);
    flex-shrink: 0;
}

.enterprise-model-card__feature h4 {
    font-size: 16px;
    font-weight: 500;
    color: var(--color-foreground);
    margin-bottom: 4px;
}

.enterprise-model-card__feature p {
    font-size: 14px;
    line-height: 1.5;
    color: var(--color-foreground-muted);
}

.enterprise-model-card__cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    margin-top: 8px;
    font-family: var(--font-mono, monospace);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: var(--color-brand);
    border-bottom: 1px solid rgb(0 242 255 / 0.4);
    padding-bottom: 4px;
    transition: color 0.3s ease, border-color 0.3s ease, gap 0.3s ease;
}

.enterprise-model-card__cta:hover {
    color: var(--color-foreground);
    border-color: var(--color-foreground);
    gap: 12px;
}

.enterprise-model-card__cta:focus-visible {
    outline: 2px solid var(--color-brand);
    outline-offset: 4px;
}

/* Contact */
.enterprise-contact-panel {
    background: var(--color-background-muted);
    border: 1px solid var(--enterprise-border);
    padding: 40px 24px;
}

@media (min-width: 1024px) {
    .enterprise-contact-panel {
        padding: 80px;
    }
}

.enterprise-contact-badge {
    display: inline-flex;
    width: fit-content;
    font-family: var(--font-mono, monospace);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: var(--color-brand);
    border: 1px solid rgb(0 242 255 / 0.3);
    background: rgb(0 242 255 / 0.06);
    padding: 8px 16px;
}

.enterprise-contact-bullet {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.enterprise-contact-bullet__icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--color-brand);
}

.enterprise-contact-bullet__title {
    display: block;
    margin-bottom: 4px;
    font-weight: 500;
    color: var(--color-foreground);
}

.enterprise-contact-bullet__desc {
    display: block;
    font-size: 14px;
    line-height: 1.5;
    color: var(--color-foreground-muted);
}

.enterprise-contact-card {
    display: flex;
    flex-direction: column;
    gap: 24px;
    background: var(--color-background);
    border: 1px solid var(--enterprise-border);
    padding: 32px;
}

.enterprise-contact-note {
    font-size: 13px;
    color: var(--color-foreground-muted);
    text-align: center;
}

.enterprise-contact-channels {
    display: flex;
    flex-direction: column;
    gap: 1px;
    background: var(--enterprise-border);
}

.enterprise-contact-channel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 4px;
    background: var(--color-background);
    font-size: 14px;
    color: var(--color-foreground-muted);
    transition: color 0.3s ease;
}

.enterprise-contact-channel:hover {
    color: var(--color-brand);
}

.enterprise-contact-channel__value {
    color: var(--color-foreground);
    font-family: var(--font-mono, monospace);
    font-size: 13px;
}
