/* ===== TIM TECH — Stripe-inspired design system ===== */

:root {
    /* Core palette */
    --ink: #0A2540;
    --ink-soft: #425466;
    --ink-light: #697386;
    --accent: #635BFF;
    --accent-2: #00D4FF;
    --accent-3: #7A73FF;
    --surface: #FFFFFF;
    --surface-alt: #F6F9FC;
    --surface-gradient: linear-gradient(180deg, #F6F9FC 0%, #FFFFFF 100%);
    --hero-gradient: linear-gradient(150deg, #E8F0FE 0%, #F6F9FC 35%, #FFFFFF 70%, #EFF6FF 100%);
    --border: #E3E8EE;
    --border-strong: #D6DBE3;
    --success: #00C48C;
    --shadow-sm: 0 2px 5px rgba(60, 66, 87, 0.08), 0 1px 1px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 7px 14px rgba(60, 66, 87, 0.08), 0 3px 6px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 15px 35px rgba(60, 66, 87, 0.1), 0 5px 15px rgba(0, 0, 0, 0.07);
    --radius: 8px;
    --radius-lg: 16px;
    --font-display: 'Inter Tight', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    color: var(--ink);
    background: var(--surface);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* ===== Layout ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.container-narrow {
    max-width: 880px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== Header ===== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid var(--border);
}

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

.logo {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--ink);
    text-decoration: none;
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo img {
    height: 64px;
    width: auto;
    display: block;
}

.footer-brand .logo img {
    height: 80px;
}

.logo-mark {
    width: 28px;
    height: 28px;
    border-radius: 7px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 800;
    font-size: 0.85rem;
}

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

.nav a {
    color: var(--ink-soft);
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 500;
    padding: 8px 14px;
    border-radius: 6px;
    transition: all 0.15s ease;
}

.nav a:hover {
    color: var(--ink);
    background: var(--surface-alt);
}

.nav a.active {
    color: var(--accent);
}

.nav-cta {
    display: flex;
    gap: 12px;
    align-items: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 18px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.15s ease;
    font-family: inherit;
    line-height: 1;
}

.btn-primary {
    background: var(--ink);
    color: white;
}

.btn-primary:hover {
    background: #1a3a5c;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-accent {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-3) 100%);
    color: white;
}

.btn-accent:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 25px rgba(99, 91, 255, 0.35);
}

.btn-ghost {
    background: transparent;
    color: var(--ink);
    border: 1px solid var(--border-strong);
}

.btn-ghost:hover {
    background: var(--surface-alt);
    border-color: var(--ink-light);
}

.btn-lg {
    padding: 14px 26px;
    font-size: 1rem;
}

.btn .arrow {
    transition: transform 0.15s ease;
}

.btn:hover .arrow {
    transform: translateX(3px);
}

/* Mobile menu */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: var(--ink);
}

/* ===== Hero ===== */
.hero {
    background: var(--hero-gradient);
    padding: 96px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -300px;
    right: -200px;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(99, 91, 255, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -400px;
    left: -200px;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.06) 0%, transparent 60%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 780px;
}

/* Hero two-column with visual */
.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 64px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-grid .hero-content {
    max-width: none;
}

.hero-visual {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 4 / 3;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
}

.hero-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-visual::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(99, 91, 255, 0.12) 0%, transparent 50%, rgba(0, 212, 255, 0.12) 100%);
    pointer-events: none;
}

.hero-visual-tag {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(10, 37, 64, 0.88);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    color: white;
    padding: 10px 16px;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    z-index: 2;
}

.hero-visual-tag::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--success);
    box-shadow: 0 0 0 4px rgba(0, 196, 140, 0.3);
    animation: pulse 2s infinite;
}

/* Eyebrow without uppercase override */
.eyebrow.no-upper {
    text-transform: none;
    letter-spacing: 0.02em;
    font-size: 0.85rem;
}

/* Capability card click affordance */
.capability-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 3 / 4;
    background: var(--ink);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    border: none;
    padding: 0;
    font-family: inherit;
    text-align: left;
    width: 100%;
}

.capability-overlay::after {
    content: '→';
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: all 0.2s ease;
}

.capability-card:hover .capability-overlay::after {
    background: white;
    color: var(--ink);
    transform: translateX(2px);
}

/* ===== Use Case Modal ===== */
.modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(10, 37, 64, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.modal-backdrop.open {
    display: flex;
    opacity: 1;
}

.modal {
    background: white;
    border-radius: var(--radius-lg);
    max-width: 680px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
    transform: scale(0.95);
    transition: transform 0.25s ease;
    position: relative;
}

.modal-backdrop.open .modal {
    transform: scale(1);
}

.modal-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    color: var(--ink);
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
    transition: all 0.15s ease;
    z-index: 2;
}

.modal-close:hover {
    background: white;
    transform: rotate(90deg);
}

.modal-body {
    padding: 32px;
}

.modal-eyebrow {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(99, 91, 255, 0.1);
    color: var(--accent);
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 16px;
}

.modal-body h3 {
    font-family: var(--font-display);
    font-size: 1.65rem;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 12px;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.modal-scenario {
    font-size: 1rem;
    color: var(--ink-soft);
    line-height: 1.6;
    margin-bottom: 24px;
}

.modal-section-label {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 12px;
}

.modal-solution {
    background: var(--surface-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    margin-bottom: 24px;
}

.modal-solution p {
    color: var(--ink-soft);
    font-size: 0.95rem;
    line-height: 1.6;
}

.modal-outcomes {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 24px;
}

.modal-outcome {
    text-align: center;
    padding: 16px 12px;
    background: linear-gradient(135deg, #F0F4FF 0%, #F8FAFC 100%);
    border-radius: var(--radius);
}

.modal-outcome .value {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.modal-outcome .label {
    font-size: 0.75rem;
    color: var(--ink-light);
    margin-top: 4px;
    line-height: 1.3;
}

.modal-cta {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

.modal-cta-text {
    font-size: 0.9rem;
    color: var(--ink-soft);
}

@media (max-width: 540px) {
    .modal-body { padding: 24px; }
    .modal-image { height: 180px; }
    .modal-outcomes { grid-template-columns: 1fr 1fr; }
    .modal-cta { flex-direction: column; align-items: stretch; text-align: center; }
}

/* ===== Image showcase blocks for capability sections ===== */
.capability-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.capability-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.capability-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.capability-card:hover img {
    transform: scale(1.08);
}

.capability-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(10, 37, 64, 0.95) 100%);
}

.capability-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px;
    color: white;
    z-index: 2;
}

.capability-overlay h3 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 6px;
    letter-spacing: -0.01em;
}

.capability-overlay p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.4;
}

/* Image accent for section pages */
.image-accent {
    width: 100%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 16 / 9;
    box-shadow: var(--shadow-md);
    margin: 32px 0;
    position: relative;
}

.image-accent img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 968px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    .hero-visual {
        aspect-ratio: 16 / 10;
    }
    .capability-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

@media (max-width: 480px) {
    .capability-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: white;
    border: 1px solid var(--border);
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
}

.eyebrow::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 4px rgba(99, 91, 255, 0.15);
}

.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.035em;
    color: var(--ink);
    margin-bottom: 24px;
}

.hero h1 .gradient-text {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--ink-soft);
    line-height: 1.6;
    margin-bottom: 36px;
    max-width: 640px;
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* ===== Section ===== */
.section {
    padding: 96px 0;
}

.section-alt {
    background: var(--surface-alt);
}

.section-header {
    max-width: 720px;
    margin-bottom: 56px;
}

.section-header.center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.section-label {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 16px;
}

h2.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.875rem, 3.5vw, 2.75rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.025em;
    color: var(--ink);
    margin-bottom: 20px;
}

.section-intro {
    font-size: 1.125rem;
    color: var(--ink-soft);
    line-height: 1.6;
}

/* ===== Cards ===== */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.card-grid.cols-2 {
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
}

.card {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), var(--accent-2));
    opacity: 0;
    transition: opacity 0.2s ease;
}

.card:hover::before {
    opacity: 1;
}

.card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(99, 91, 255, 0.1) 0%, rgba(0, 212, 255, 0.1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 20px;
}

.card h3 {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 12px;
    letter-spacing: -0.015em;
}

.card p {
    color: var(--ink-soft);
    font-size: 0.98rem;
    line-height: 1.65;
    margin-bottom: 20px;
}

.card ul {
    list-style: none;
    padding: 0;
}

.card ul li {
    padding: 10px 0 10px 24px;
    position: relative;
    color: var(--ink-soft);
    font-size: 0.92rem;
    border-top: 1px solid var(--border);
    line-height: 1.55;
}

.card ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 18px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    background-image: linear-gradient(135deg, var(--accent), var(--accent-2)), url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'><path d='M3 6l2 2 4-4' stroke='white' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>");
}

.card ul li::after {
    content: '✓';
    position: absolute;
    left: 0;
    top: 8px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: white;
    font-size: 0.65rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ===== Use Case Cards ===== */
.use-case {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: all 0.2s ease;
}

.use-case:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.industry-tag {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(99, 91, 255, 0.08);
    color: var(--accent);
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
}

.use-case h3 {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 12px;
    letter-spacing: -0.015em;
}

.use-case p {
    color: var(--ink-soft);
    font-size: 0.96rem;
    line-height: 1.6;
    margin-bottom: 24px;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

.result-stat {
    text-align: left;
}

.result-value {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--ink);
    letter-spacing: -0.02em;
    line-height: 1.1;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.result-label {
    font-size: 0.78rem;
    color: var(--ink-light);
    margin-top: 4px;
    line-height: 1.4;
}

/* ===== Dashboard preview ===== */
.dashboard-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.2s ease;
}

.dashboard-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.dashboard-head {
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background: var(--surface-alt);
}

.dashboard-head h3 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    color: var(--ink);
    letter-spacing: -0.01em;
}

.live-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    background: rgba(0, 196, 140, 0.1);
    color: var(--success);
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 600;
}

.live-tag::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--success);
    animation: pulse 2s infinite;
}

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

.dashboard-metrics {
    padding: 20px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.metric {
    padding: 16px;
    background: var(--surface-alt);
    border-radius: var(--radius);
}

.metric-label {
    font-size: 0.74rem;
    color: var(--ink-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 6px;
    font-weight: 500;
}

.metric-value {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--ink);
    letter-spacing: -0.02em;
}

.metric-trend {
    font-size: 0.78rem;
    color: var(--success);
    margin-top: 4px;
    font-weight: 500;
}

/* ===== Process steps ===== */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    position: relative;
}

.process-step {
    text-align: left;
    padding: 28px 24px;
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: all 0.2s ease;
}

.process-step:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.step-num {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--accent), var(--accent-3));
    color: white;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.process-step h3 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}

.process-step p {
    font-size: 0.9rem;
    color: var(--ink-soft);
    line-height: 1.55;
}

/* ===== Insight cards ===== */
.insight-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: all 0.2s ease;
    cursor: pointer;
}

.insight-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}

.insight-date {
    font-size: 0.82rem;
    color: var(--ink-light);
    font-weight: 500;
    margin-bottom: 12px;
}

.insight-card h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 12px;
    letter-spacing: -0.015em;
    line-height: 1.3;
}

.insight-card p {
    color: var(--ink-soft);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag {
    display: inline-block;
    padding: 4px 10px;
    background: var(--surface-alt);
    border: 1px solid var(--border);
    color: var(--ink-soft);
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 500;
}

/* ===== Two column ===== */
.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.content-block p {
    font-size: 1.05rem;
    color: var(--ink-soft);
    line-height: 1.7;
    margin-bottom: 20px;
}

.feature-callout {
    background: linear-gradient(135deg, #F0F4FF 0%, #F8FAFC 100%);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    position: relative;
}

.check-circle {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.feature-callout h3 {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 12px;
    letter-spacing: -0.015em;
}

.feature-callout p {
    color: var(--ink-soft);
    font-size: 0.98rem;
    line-height: 1.65;
}

/* ===== Stats banner ===== */
.stats-banner {
    background: linear-gradient(135deg, var(--ink) 0%, #1a3a5c 100%);
    border-radius: var(--radius-lg);
    padding: 56px 40px;
    color: white;
    position: relative;
    overflow: hidden;
}

.stats-banner::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(99, 91, 255, 0.3) 0%, transparent 60%);
}

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

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 32px;
    margin-top: 32px;
}

.stat-item .stat-value {
    font-family: var(--font-display);
    font-size: 2.75rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--accent-2) 0%, white 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.025em;
    line-height: 1.05;
}

.stat-item .stat-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    margin-top: 6px;
}

/* ===== Industries grid ===== */
.industries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
}

.industry-pill {
    padding: 16px 20px;
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--ink);
    font-weight: 600;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.2s ease;
}

.industry-pill:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.industry-pill::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    flex-shrink: 0;
}

/* ===== Partner logos ===== */
.partner-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 16px;
    align-items: center;
}

.partner-logo {
    padding: 24px 20px;
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    text-align: center;
    font-family: var(--font-display);
    font-weight: 600;
    color: var(--ink-soft);
    transition: all 0.2s ease;
    font-size: 0.95rem;
}

.partner-logo:hover {
    color: var(--ink);
    border-color: var(--ink-light);
    transform: translateY(-2px);
}

/* ===== Credentials ===== */
.credentials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin: 32px 0;
}

.credential-tile {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    border-radius: var(--radius);
    padding: 20px;
    color: white;
}

.credential-tile .ico {
    font-size: 1.4rem;
    margin-bottom: 8px;
}

.credential-tile h4 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.credential-tile p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.75);
}

/* ===== CTA section ===== */
.cta-section {
    background: linear-gradient(135deg, var(--ink) 0%, #1a3a5c 50%, var(--accent) 130%);
    color: white;
    padding: 96px 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

.cta-section-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
}

.cta-section h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.025em;
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 36px;
    line-height: 1.6;
}

.cta-section .btn-accent {
    background: white;
    color: var(--ink);
}

.cta-section .btn-accent:hover {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* ===== Footer ===== */
.site-footer {
    background: #0C0C0C;
    color: rgba(255, 255, 255, 0.7);
    padding: 64px 0 32px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand .logo {
    color: white;
    margin-bottom: 16px;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.93rem;
    line-height: 1.65;
    max-width: 320px;
}

.footer-col h4 {
    font-family: var(--font-display);
    color: white;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 16px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col a {
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    font-size: 0.92rem;
    transition: color 0.15s ease;
}

.footer-col a:hover {
    color: white;
}

.footer-col li.contact-line {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.92rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 24px;
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

/* ===== Page hero (sub-pages) ===== */
.page-hero {
    padding: 80px 0 64px;
    background: var(--hero-gradient);
    border-bottom: 1px solid var(--border);
}

.page-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2.25rem, 4vw, 3.25rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: var(--ink);
    margin-bottom: 20px;
    max-width: 800px;
}

.page-hero p {
    font-size: 1.15rem;
    color: var(--ink-soft);
    max-width: 720px;
    line-height: 1.6;
}

/* ===== Animations ===== */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-up {
    animation: fadeUp 0.6s ease-out;
}

.fade-up-d1 { animation: fadeUp 0.6s 0.1s ease-out backwards; }
.fade-up-d2 { animation: fadeUp 0.6s 0.2s ease-out backwards; }
.fade-up-d3 { animation: fadeUp 0.6s 0.3s ease-out backwards; }

/* ===== Responsive ===== */
@media (max-width: 968px) {
    .two-col { grid-template-columns: 1fr; gap: 40px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .credentials-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .menu-toggle { display: inline-flex; }
    .nav, .nav-cta { display: none; }
    .nav.open {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        border-bottom: 1px solid var(--border);
        padding: 16px 24px;
        gap: 4px;
    }
    .nav.open a {
        padding: 12px 16px;
    }
    .nav.open .btn {
        margin-top: 12px;
        justify-content: center;
    }

    .hero { padding: 64px 0 56px; }
    .section { padding: 64px 0; }
    .cta-section { padding: 64px 24px; }

    .card-grid, .card-grid.cols-2 { grid-template-columns: 1fr; gap: 16px; }
    .results-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; text-align: left; }
    .industries-grid { grid-template-columns: 1fr 1fr; }
    .stats-banner { padding: 40px 28px; }
    .stats-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
    .credentials-grid { grid-template-columns: 1fr 1fr; gap: 12px; }

    .hero-actions { flex-direction: column; align-items: stretch; }
    .hero-actions .btn { justify-content: center; }

    .container, .container-narrow { padding: 0 20px; }
    .header-inner { padding: 14px 20px; gap: 12px; }
}

@media (max-width: 480px) {
    .results-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
    .result-value { font-size: 1.4rem; }
    .credentials-grid { grid-template-columns: 1fr; }
    .industries-grid { grid-template-columns: 1fr; }
    .card { padding: 24px; }
    .use-case, .insight-card { padding: 24px; }
}
