/* Base */
* {
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 5rem 0;
}

.section--alt {
    background: #f8fafc;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.section-header .subtitle {
    color: #f97316;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.75rem;
    font-size: .9rem;
}

.section-header h2 {
    color: #000555;
    font-size: 2.2rem;
    margin-bottom: .75rem;
}

.section-header p {
    color: #64748b;
}

/* Hero */
.hero.hero--helpdesk {
    background: radial-gradient(1200px 400px at 0% 0%, rgba(249, 115, 22, .10), transparent 60%),
        linear-gradient(135deg, #000777 0%, #000555 100%);
    color: #fff;
    padding: 6rem 0 4rem;
    position: relative;
    overflow: hidden;
}

.hero.hero--helpdesk .hero-content {
    max-width: 860px;
    position: relative;
    z-index: 2;
}

.hero .breadcrumb {
    color: rgba(255, 255, 255, .8);
    margin-bottom: 1rem;
    font-size: .9rem;
}

.hero .breadcrumb a {
    color: #f97316;
    text-decoration: none;
}

.hero h1 {
    font-size: 3.4rem;
    line-height: 1.1;
    margin-bottom: 1rem;
}

.hero .subtitle {
    color: #f97316;
    font-weight: 600;
    margin-bottom: .5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: .9rem;
}

.hero p {
    font-size: 1.15rem;
    opacity: .95;
    margin-bottom: 1.25rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: .5rem;
}

.hero-badges {
    display: flex;
    gap: .75rem;
    flex-wrap: wrap;
    margin-top: 1.25rem;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: rgba(255, 255, 255, .1);
    color: #fff;
    padding: .6rem .85rem;
    border-radius: 999px;
    font-size: .86rem;
    border: 1px solid rgba(255, 255, 255, .25);
}

/* Buttons */
.btn-primary,
.btn-secondary,
.btn-white,
.btn-outline {
    padding: 1rem 1.9rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    transition: all .3s ease;
    display: inline-block;
}

.btn-primary {
    background: #f97316;
    color: #fff;
}

.btn-primary:hover {
    background: #ea580c;
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, .35);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, .1);
    border-color: rgba(255, 255, 255, .55);
}

.btn-white {
    background: #fff;
    color: #f97316;
}

.btn-white:hover {
    background: #f8fafc;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.btn-outline:hover {
    background: #fff;
    color: #f97316;
}

/* Expanded “depthy” cards */
:root {
    --card-bg: #ffffff;
    --card-brd: #e2e8f0;
    --card-shadow: 0 10px 30px rgba(0, 0, 0, .08);
    --card-shadow-lg: 0 25px 60px rgba(0, 0, 0, .12);
    --accent: #f97316;
}

/* Feature pills */
.pill-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.pill {
    position: relative;
    background: var(--card-bg);
    border: 1px solid var(--card-brd);
    border-radius: 16px;
    padding: 1.85rem;
    box-shadow: var(--card-shadow);
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .6s ease, transform .6s ease, box-shadow .3s ease, transform .3s ease;
}

.pill::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 16px;
    pointer-events: none;
    background: radial-gradient(600px 120px at 10% 0%, rgba(249, 115, 22, .08), transparent 60%);
}

.pill h3 {
    color: #000555;
    margin-bottom: .6rem;
    font-size: 1.2rem;
}

.pill p {
    color: #64748b;
}

.pill:hover {
    transform: translateY(-4px);
    box-shadow: var(--card-shadow-lg);
}

/* KPI band */
.kpi-band {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
}

.kpi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.kpi-card {
    position: relative;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 1.6rem;
    box-shadow: var(--card-shadow);
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .6s ease, transform .6s ease, box-shadow .3s ease;
}

.kpi-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), #fb923c);
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
}

.kpi-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--card-shadow-lg);
}

.kpi-value {
    font-size: 2rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1;
    margin-bottom: .35rem;
}

.kpi-value span {
    font-weight: 600;
    opacity: .6;
}

.kpi-label {
    color: #475569;
}

/* Channels (chat removed) */
.channel-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.channel-card {
    position: relative;
    background: var(--card-bg);
    border: 1px solid var(--card-brd);
    border-radius: 18px;
    padding: 2rem;
    box-shadow: var(--card-shadow);
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .6s ease, transform .6s ease, box-shadow .3s ease;
    min-height: 260px;
}

.channel-card__topline {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    border-radius: 18px 18px 0 0;
    background: linear-gradient(90deg, #f97316, #fb923c);
}

.channel-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--card-shadow-lg);
}

.channel-icon {
    font-size: 2rem;
    margin: .25rem 0 .75rem;
}

.channel-card h3 {
    color: #000555;
    margin-bottom: .35rem;
    font-size: 1.25rem;
}

.channel-card ul {
    color: #475569;
    padding-left: 1.1rem;
}

.channel-card li {
    margin: .4rem 0;
    list-style: disc;
}

/* Tabs */
.service-tabs {
    display: flex;
    justify-content: center;
    gap: .5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    border-bottom: 1px solid #e2e8f0;
}

.tab-button {
    background: none;
    border: none;
    padding: 1rem 1.4rem;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 700;
    color: #64748b;
    border-bottom: 3px solid transparent;
    transition: all .25s ease;
    border-radius: 8px 8px 0 0;
}

.tab-button:hover {
    color: #f97316;
    border-bottom-color: rgba(249, 115, 22, .5);
    background: rgba(249, 115, 22, .06);
}

.tab-button.active {
    color: #f97316;
    border-bottom-color: #f97316;
    background: rgba(249, 115, 22, .1);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* Services grid — expanded cards */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
}

.services-grid--expanded {
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
}

.service-item {
    position: relative;
    background: var(--card-bg);
    border: 1px solid var(--card-brd);
    border-radius: 18px;
    padding: 2rem;
    box-shadow: var(--card-shadow);
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .6s ease, transform .6s ease, box-shadow .3s ease;
    min-height: 220px;
}

.service-item--xl {
    padding: 2.2rem;
    min-height: 240px;
}

.service-item::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 18px;
    pointer-events: none;
    background: radial-gradient(600px 120px at 10% 0%, rgba(249, 115, 22, .06), transparent 60%);
}

.service-item:hover {
    transform: translateY(-6px);
    box-shadow: var(--card-shadow-lg);
}

.service-item h4 {
    color: #000555;
    margin-bottom: .55rem;
    font-size: 1.2rem;
}

.service-item p {
    color: #64748b;
    font-size: .98rem;
}

/* SLA Table */
.sla-wrapper {
    overflow-x: auto;
}

.sla-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
}

.sla-table th,
.sla-table td {
    padding: 1rem 1.1rem;
    text-align: left;
    border-bottom: 1px solid #eef2f7;
    vertical-align: top;
}

.sla-table thead th {
    background: #f8fafc;
    color: #000555;
    font-weight: 800;
}

/* Priority chips */
.prio {
    font-weight: 800;
    padding: .18rem .6rem;
    border-radius: 999px;
    font-size: .86rem;
    white-space: nowrap;
}

.prio.p1 {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.prio.p2 {
    background: #ffedd5;
    color: #9a3412;
    border: 1px solid #fed7aa;
}

.prio.p3 {
    background: #e0e7ff;
    color: #3730a3;
    border: 1px solid #c7d2fe;
}

.prio.p4 {
    background: #e2e8f0;
    color: #334155;
    border: 1px solid #cbd5e1;
}

.sla-note {
    color: #64748b;
    font-size: .92rem;
    margin-top: .6rem;
}

/* Comparison */
.compare-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
}

.compare-card {
    position: relative;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--card-shadow);
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .6s ease, transform .6s ease, box-shadow .3s ease;
}

.compare-card--highlight {
    border-color: rgba(249, 115, 22, .35);
    box-shadow: 0 12px 36px rgba(249, 115, 22, .15);
}

.compare-card h3 {
    color: #000555;
    margin-bottom: .5rem;
}

.compare-card ul {
    color: #475569;
    padding-left: 1.1rem;
}

.compare-card li {
    margin: .35rem 0;
    list-style: disc;
}

/* Escalation */
.escalation {
    margin-bottom: 1.5rem;
}

.escalation h4 {
    color: #000555;
    margin-bottom: .5rem;
}

.ladder {
    counter-reset: step;
    list-style: none;
    padding-left: 0;
}

.ladder li {
    counter-increment: step;
    position: relative;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 1rem 1.25rem 1rem 3.25rem;
    margin: .6rem 0;
    color: #475569;
    box-shadow: var(--card-shadow);
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .6s ease, transform .6s ease, box-shadow .3s ease;
}

.ladder li::before {
    content: counter(step);
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #f97316, #fb923c);
    color: #fff;
    font-weight: 800;
}

/* CTA */
.cta-section {
    background: linear-gradient(135deg, #f97316 0%, #fb923c 100%);
    color: #fff;
    text-align: center;
    padding: 5rem 0;
}

.cta-section h2 {
    font-size: 2.2rem;
    margin-bottom: .75rem;
}

.cta-section p {
    font-size: 1.15rem;
    opacity: .95;
    margin-bottom: 1.25rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Reveal animation */
.pill.reveal,
.channel-card.reveal,
.service-item.reveal,
.model-card.reveal,
.security-item.reveal,
.onboard-steps li.reveal,
.kpi-card.reveal,
.compare-card.reveal,
.ladder li.reveal {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
    body {
        padding-top: 95px;
    }

    .hero h1 {
        font-size: 2.45rem;
    }

    .btn-primary,
    .btn-secondary,
    .btn-white,
    .btn-outline {
        padding: .9rem 1.2rem;
        border-radius: 10px;
    }
}