/* Gatecom AI — page-specific overrides on top of ../css/styles.css */

.ai-eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.85rem;
    color: var(--gc-orange);
    margin-bottom: 14px;
    font-weight: 700;
}

.ai-hero .hero-title {
    line-height: 1.05;
}

.ai-subhead {
    text-align: center;
    margin: 70px auto 36px;
    max-width: 720px;
}

.ai-subhead:first-of-type {
    margin-top: 0;
}

.ai-subhead h3 {
    font-size: 1.6rem;
    color: #ffffff;
    margin-bottom: 8px;
}

.ai-subhead p {
    color: rgba(255, 255, 255, 0.7);
}

.ai-card-price {
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--gc-orange);
    font-weight: 700;
    font-size: 1.05rem;
}

.ai-featured .service-card {
    border-color: rgba(255, 107, 26, 0.25);
}

.ai-custom-note {
    margin-top: 50px;
    padding: 24px 28px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px dashed rgba(255, 255, 255, 0.18);
    border-radius: var(--border-radius);
    display: flex;
    flex-wrap: wrap;
    gap: 10px 24px;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: rgba(255, 255, 255, 0.85);
}

.ai-custom-note strong {
    color: #ffffff;
}

/* Process */

.ai-process {
    background: var(--gc-navy-deep);
}

.ai-process-steps {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 28px;
    counter-reset: step;
}

.ai-process-steps li {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 32px 28px;
    position: relative;
}

.ai-step-num {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--gc-orange);
    letter-spacing: 0.2em;
    margin-bottom: 18px;
}

.ai-process-steps h3 {
    color: #ffffff;
    font-size: 1.25rem;
    margin-bottom: 10px;
}

.ai-process-steps p {
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.6;
}

/* Pricing tiers */

.ai-pricing {
    background: var(--gradient-dark);
}

.ai-tiers {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
    max-width: 1100px;
    margin: 0 auto;
}

.ai-tier {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 36px 30px;
    position: relative;
    transition: transform var(--transition-normal), border-color var(--transition-normal);
}

.ai-tier:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 107, 26, 0.4);
}

.ai-tier-featured {
    border-color: var(--gc-orange);
    box-shadow: 0 10px 40px -10px rgba(255, 107, 26, 0.25);
}

.ai-tier-featured:hover {
    border-color: var(--gc-orange);
}

.ai-tier-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gc-orange);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    padding: 5px 14px;
    border-radius: 999px;
}

.ai-tier h3 {
    color: #ffffff;
    font-size: 1.6rem;
    margin-bottom: 4px;
}

.ai-tier-position {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.9rem;
    margin-bottom: 24px;
}

.ai-tier-price {
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
}

.ai-tier-price span {
    color: #ffffff;
    font-size: 2.4rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-right: 4px;
}

.ai-tier-hours {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.95rem;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.ai-tier-implied {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
}

.ai-tier-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ai-tier-features li {
    padding: 9px 0 9px 28px;
    position: relative;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
}

.ai-tier-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--gc-orange);
    font-weight: 700;
}

.ai-tier-features li.ai-disabled {
    color: rgba(255, 255, 255, 0.35);
}

.ai-tier-features li.ai-disabled::before {
    content: '—';
    color: rgba(255, 255, 255, 0.25);
}

.ai-pricing-note {
    margin: 50px auto 0;
    max-width: 720px;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.ai-pricing-note strong {
    color: #ffffff;
}

/* Calculator */

.ai-calculator-section {
    background: var(--gc-navy-deep);
}

.ai-calc {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px;
    max-width: 1100px;
    margin: 0 auto;
}

.ai-calc-col h3 {
    color: #ffffff;
    font-size: 1.2rem;
    margin-bottom: 18px;
}

.ai-calc-group {
    border: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--border-radius);
    padding: 18px 20px;
    margin-bottom: 22px;
}

.ai-calc-group legend {
    padding: 0 8px;
    color: var(--gc-orange);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.ai-calc-option {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 6px;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.9);
    border-radius: var(--border-radius-sm);
    transition: background var(--transition-fast);
}

.ai-calc-option:hover {
    background: rgba(255, 255, 255, 0.04);
}

.ai-calc-option input {
    accent-color: var(--gc-orange);
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.ai-calc-label {
    flex: 1;
    font-size: 0.97rem;
}

.ai-calc-note {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
}

.ai-calc-price-tag {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    white-space: nowrap;
}

.ai-calc-summary {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 107, 26, 0.25);
    border-radius: var(--border-radius);
    padding: 28px;
    margin-top: 8px;
}

.ai-calc-list {
    margin: 14px 0 20px;
    padding: 14px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    min-height: 60px;
}

.ai-calc-empty {
    color: rgba(255, 255, 255, 0.45);
    font-style: italic;
    margin: 0;
}

.ai-calc-line {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 6px 0;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
}

.ai-calc-line-discounted {
    color: var(--gc-orange);
}

.ai-calc-line del {
    color: rgba(255, 255, 255, 0.4);
    margin-right: 8px;
}

.ai-calc-totals {
    margin-top: 4px;
}

.ai-calc-total-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 10px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.85);
}

.ai-calc-total-row strong {
    color: #ffffff;
    font-size: 1.4rem;
    font-weight: 800;
}

.ai-calc-disclaimer {
    margin-top: 18px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
}

.ai-calc-cta {
    width: 100%;
    margin: 22px 0 0;
}

/* Demo gallery */

.ai-demos {
    background: var(--gradient-dark);
}

.ai-demo-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 32px;
}

.ai-demo-tab {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    color: rgba(255, 255, 255, 0.75);
    padding: 10px 22px;
    border-radius: 999px;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
    transition: background var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast);
}

.ai-demo-tab:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}

.ai-demo-tab[aria-selected="true"] {
    background: var(--gc-orange);
    border-color: var(--gc-orange);
    color: #ffffff;
}

.ai-demo-stage {
    max-width: 1080px;
    margin: 0 auto;
}

.ai-demo-window {
    background: var(--gc-cloud);
    color: var(--gc-ink);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 30px 80px -20px rgba(6, 8, 41, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.ai-demo-chrome {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #E6E8F1;
    padding: 12px 16px;
    border-bottom: 1px solid #D4D7E5;
}

.ai-demo-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    flex-shrink: 0;
}

.ai-demo-url {
    margin-left: 14px;
    background: #ffffff;
    border: 1px solid #D4D7E5;
    border-radius: 6px;
    padding: 4px 14px;
    font-family: 'SF Mono', Consolas, monospace;
    font-size: 0.82rem;
    color: #4A4F6F;
    max-width: 360px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ai-demo-content {
    padding: 28px;
}

.ai-demo-content[hidden] {
    display: none;
}

.ai-demo-kpis {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.ai-kpi {
    background: #ffffff;
    border: 1px solid #E2E4ED;
    border-radius: 10px;
    padding: 18px 16px;
}

.ai-kpi-value {
    font-size: 1.7rem;
    font-weight: 800;
    color: var(--gc-navy);
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin-bottom: 6px;
}

.ai-kpi-label {
    font-size: 0.85rem;
    color: #5A607F;
    margin-bottom: 8px;
}

.ai-kpi-delta {
    font-size: 0.8rem;
    color: #8A90B8;
}

.ai-kpi-delta.ai-up {
    color: #2C9B5D;
}

.ai-kpi-delta.ai-warn {
    color: var(--gc-orange-deep);
}

.ai-demo-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 16px;
}

.ai-demo-panel {
    background: #ffffff;
    border: 1px solid #E2E4ED;
    border-radius: 10px;
    padding: 18px 18px;
}

.ai-demo-panel h4 {
    font-size: 0.85rem;
    color: #5A607F;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 14px;
    font-weight: 700;
}

/* Bar chart */

.ai-chart {
    display: flex;
    align-items: flex-end;
    gap: 12px;
    height: 160px;
    padding-top: 16px;
}

.ai-bar {
    flex: 1;
    background: linear-gradient(180deg, rgba(10, 14, 63, 0.85) 0%, rgba(10, 14, 63, 1) 100%);
    border-radius: 6px 6px 0 0;
    height: var(--h);
    position: relative;
    min-height: 24px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    color: #ffffff;
    font-size: 0.75rem;
    padding-top: 6px;
}

.ai-bar.ai-bar-active {
    background: linear-gradient(180deg, var(--gc-orange) 0%, var(--gc-orange-deep) 100%);
}

.ai-bar span {
    font-weight: 700;
}

.ai-bar label {
    position: absolute;
    bottom: -22px;
    left: 0;
    right: 0;
    text-align: center;
    color: #5A607F;
    font-size: 0.75rem;
}

/* Task list */

.ai-task-list,
.ai-msg-list,
.ai-source-list,
.ai-fields {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ai-task-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 0;
    border-bottom: 1px solid #F0F2F8;
    font-size: 0.92rem;
    color: var(--gc-ink);
}

.ai-task-list li:last-child {
    border-bottom: none;
}

.ai-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #C6CADC;
    flex-shrink: 0;
}

.ai-dot-ok { background: #2C9B5D; }
.ai-dot-warn { background: var(--gc-orange); }

/* Message list */

.ai-msg-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #F0F2F8;
    font-size: 0.92rem;
}

.ai-msg-list li:last-child {
    border-bottom: none;
}

.ai-msg-from {
    color: var(--gc-ink);
    font-weight: 500;
}

.ai-tag {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 4px 10px;
    border-radius: 999px;
    white-space: nowrap;
}

.ai-tag-draft {
    background: rgba(255, 107, 26, 0.12);
    color: var(--gc-orange-deep);
}

.ai-tag-done {
    background: rgba(44, 155, 93, 0.12);
    color: #2C9B5D;
}

.ai-tag-action {
    background: var(--gc-orange);
    color: #ffffff;
}

/* Source breakdown bars */

.ai-source-list li {
    margin-bottom: 14px;
}

.ai-source-list li:last-child {
    margin-bottom: 0;
}

.ai-source-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.88rem;
    color: var(--gc-ink);
    margin-bottom: 6px;
}

.ai-source-bar {
    height: 8px;
    background: #F0F2F8;
    border-radius: 999px;
    overflow: hidden;
}

.ai-source-bar i {
    display: block;
    height: 100%;
    background: var(--gc-orange);
    border-radius: 999px;
}

/* Pipeline */

.ai-pipeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.ai-pipe-col {
    background: #ffffff;
    border: 1px solid #E2E4ED;
    border-radius: 10px;
    padding: 18px 14px;
    text-align: center;
}

.ai-pipe-head {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #5A607F;
    font-weight: 700;
    margin-bottom: 14px;
}

.ai-pipe-count {
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--gc-navy);
    line-height: 1;
    margin-bottom: 6px;
}

.ai-pipe-sub {
    font-size: 0.82rem;
    color: #8A90B8;
}

.ai-pipe-win {
    background: var(--gc-navy);
    border-color: var(--gc-navy);
}

.ai-pipe-win .ai-pipe-head { color: rgba(255, 255, 255, 0.7); }
.ai-pipe-win .ai-pipe-count { color: var(--gc-orange); }
.ai-pipe-win .ai-pipe-sub { color: rgba(255, 255, 255, 0.55); }

/* Salesops catalog + offer */

.ai-catalog {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.92rem;
}

.ai-catalog li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px solid #F0F2F8;
    color: var(--gc-ink);
}

.ai-catalog li:last-child {
    border-bottom: none;
}

.ai-catalog li.ai-cat-divider {
    border: none;
    height: 8px;
    padding: 0;
    margin: 4px 0;
    background: linear-gradient(90deg, transparent, #E2E4ED, transparent);
}

.ai-cat-price {
    color: #5A607F;
    font-weight: 600;
    white-space: nowrap;
    font-size: 0.85rem;
}

.ai-offer-panel {
    background: linear-gradient(180deg, #ffffff 0%, #FAFBFE 100%);
    border-color: rgba(255, 107, 26, 0.35);
    box-shadow: 0 8px 24px -10px rgba(255, 107, 26, 0.18);
}

.ai-offer-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
}

.ai-offer-head h4 {
    text-transform: none;
    letter-spacing: -0.01em;
    font-size: 1rem;
    color: var(--gc-navy);
    margin: 0;
}

.ai-offer-customer {
    color: #5A607F;
    font-size: 0.85rem;
    margin-bottom: 16px;
}

.ai-offer-lines {
    list-style: none;
    padding: 0;
    margin: 0 0 14px;
    border-top: 1px solid #F0F2F8;
}

.ai-offer-lines li {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #F0F2F8;
    font-size: 0.92rem;
}

.ai-offer-line {
    color: var(--gc-ink);
    font-weight: 500;
}

.ai-offer-line small {
    color: var(--gc-orange-deep);
    font-weight: 600;
    margin-left: 4px;
}

.ai-offer-price {
    color: var(--gc-navy);
    font-weight: 700;
    white-space: nowrap;
}

.ai-offer-totals {
    padding: 10px 0 6px;
    border-top: 2px solid var(--gc-navy);
}

.ai-offer-total-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 6px 0;
    font-size: 0.95rem;
    color: var(--gc-ink);
}

.ai-offer-total-row strong {
    color: var(--gc-navy);
    font-size: 1.15rem;
    font-weight: 800;
}

.ai-offer-meta {
    margin-top: 12px;
    padding: 10px 12px;
    background: rgba(255, 107, 26, 0.08);
    border-left: 3px solid var(--gc-orange);
    color: var(--gc-ink);
    font-size: 0.82rem;
    border-radius: 4px;
}

/* Extracted fields */

.ai-fields {
    display: grid;
    grid-template-columns: max-content 1fr;
    gap: 10px 18px;
    font-size: 0.92rem;
}

.ai-fields dt {
    color: #5A607F;
    text-transform: uppercase;
    font-size: 0.78rem;
    letter-spacing: 0.06em;
    font-weight: 700;
}

.ai-fields dd {
    color: var(--gc-ink);
    margin: 0;
    font-weight: 600;
}

.ai-demo-footnote {
    padding: 14px 28px 22px;
    text-align: right;
    font-size: 0.78rem;
    color: #8A90B8;
    font-style: italic;
}

@media (max-width: 720px) {
    .ai-demo-kpis {
        grid-template-columns: repeat(2, 1fr);
    }

    .ai-demo-grid {
        grid-template-columns: 1fr;
    }

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

    .ai-demo-url {
        max-width: 180px;
    }
}

/* Contact card */

.ai-contact-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 40px 30px;
    text-align: center;
    max-width: 340px;
    margin: 0 auto;
    transition: border-color var(--transition-normal), transform var(--transition-normal);
}

.ai-contact-card:hover {
    border-color: rgba(255, 107, 26, 0.4);
    transform: translateY(-4px);
}

.ai-contact-card h3 {
    color: #ffffff;
    font-size: 1.3rem;
    margin-bottom: 8px;
}

/* Responsive */

@media (max-width: 900px) {
    .ai-calc {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .ai-calc-option {
        flex-wrap: wrap;
    }

    .ai-calc-price-tag {
        width: 100%;
        padding-left: 32px;
    }
}
