:root {
    --surface: #131313;
    --surface-dim: #131313;
    --surface-bright: #393939;
    --surface-container-lowest: #0e0e0e;
    --surface-container-low: #1b1b1b;
    --surface-container: #1f1f1f;
    --surface-container-high: #2a2a2a;
    --surface-container-highest: #353535;
    --on-surface: #e2e2e2;
    --on-surface-variant: #e5bcc4;
    --outline: #ac878f;
    --outline-variant: #5c3f45;
    --obsidian-deep: #000000;
    --obsidian-elevated: #0a0a0a;
    --electric-magenta: #ff007a;
    --cyan-performance: #00f0ff;
    --surface-glass: rgba(255, 255, 255, 0.03);
    --border-glow: rgba(255, 0, 122, 0.3);
    --primary: #ffb1c3;
    --primary-container: #ff4b89;
    --secondary: #d3fbff;
    --on-tertiary-fixed-variant: #474646;
    --rounded-sm: 0.125rem;
    --rounded: 0.25rem;
    --rounded-md: 0.375rem;
    --rounded-lg: 0.5rem;
    --rounded-xl: 0.75rem;
    --section-gap: 120px;
    --gutter: 24px;
}

*, *::before, *::after { box-sizing: border-box; }

::selection {
    background: var(--electric-magenta);
    color: #fff;
}

body {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--on-surface);
    background: var(--obsidian-deep);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 { font-family: 'Sora', sans-serif; }

.container { max-width: 1280px; }

.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

/* ── Tech Grid ── */
.tech-grid {
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 40px 40px;
}

/* ── Kinetic Glow ── */
.kinetic-glow {
    background: radial-gradient(circle at 50% 50%, rgba(255,0,122,0.15) 0%, transparent 70%);
}
.kinetic-glow-cyan {
    background: radial-gradient(circle at 50% 50%, rgba(0,240,255,0.08) 0%, transparent 70%);
}

/* ── Glass Card ── */
.glass-card {
    background: var(--surface-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.05);
    box-shadow: 0 4px 24px -1px rgba(0,0,0,0.2);
    transition: border-color 0.5s ease, transform 0.3s ease;
}
.glass-card:hover {
    border-color: rgba(255,0,122,0.2);
}

/* ── Buttons ── */
.btn-magenta {
    background: var(--electric-magenta);
    color: #fff;
    border: none;
    border-radius: 9999px;
    font-family: 'Sora', sans-serif;
    font-weight: 700;
    transition: transform 0.2s ease, box-shadow 0.3s ease;
}
.btn-magenta:hover {
    background: var(--electric-magenta);
    color: #fff;
    transform: scale(1.03);
    box-shadow: 0 0 24px rgba(255,0,122,0.45);
}
.btn-magenta:active {
    transform: scale(0.97);
}

.btn-ghost-cyan {
    background: transparent;
    color: var(--cyan-performance);
    border: 1px solid var(--cyan-performance);
    border-radius: 9999px;
    font-family: 'Sora', sans-serif;
    font-weight: 700;
    transition: background 0.3s ease;
}
.btn-ghost-cyan:hover {
    background: rgba(0,240,255,0.1);
    color: var(--cyan-performance);
}

/* ── Navbar ── */
.navbar-triunno {
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    box-shadow: 0 4px 32px rgba(255,0,122,0.04);
    transition: padding 0.3s ease;
}
.navbar-triunno .nav-link {
    font-family: 'Sora', sans-serif;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--on-surface-variant);
    transition: color 0.2s ease;
}
.navbar-triunno .nav-link:hover,
.navbar-triunno .nav-link.active {
    color: var(--electric-magenta);
}
.navbar-triunno .nav-link.active {
    border-bottom: 2px solid var(--electric-magenta);
    padding-bottom: 4px;
}
.navbar-brand-text {
    font-family: 'Sora', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--on-surface);
    letter-spacing: -0.03em;
}
.navbar-logo {
    height: 32px;
    width: auto;
    display: block;
}
.navbar-triunno.scrolled {
    padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;
}

/* ── Navbar Dropdown ── */
.navbar-triunno .dropdown-toggle::after {
    vertical-align: 0.12em;
    opacity: 0.6;
    transition: transform 0.25s ease;
}
.navbar-triunno .dropdown-menu {
    background: rgba(10, 10, 10, 0.92);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--rounded-lg);
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.6), 0 0 32px rgba(255, 0, 122, 0.05);
    padding: 0.6rem;
    min-width: 260px;
}
.navbar-triunno .dropdown-item {
    display: block;
    font-family: 'Sora', sans-serif;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--on-surface-variant);
    border-radius: var(--rounded-md);
    padding: 0.55rem 0.75rem;
    transition: background 0.2s ease, color 0.2s ease;
}
.navbar-triunno .dropdown-item:hover,
.navbar-triunno .dropdown-item:focus {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
}
.navbar-triunno .dropdown-item-overview {
    color: #fff;
    font-weight: 700;
}
.navbar-triunno .dropdown-divider {
    border-color: rgba(255, 255, 255, 0.08);
    opacity: 1;
    margin: 0.4rem 0.25rem;
}

@media (min-width: 992px) {
    .navbar-triunno .dropdown-menu {
        display: block;
        position: absolute;
        top: 100%;
        margin-top: 0.9rem;
        opacity: 0;
        visibility: hidden;
        transform: translateY(8px);
        transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
    }
    /* ponte invisível para o cursor não "cair" entre o link e o menu */
    .navbar-triunno .nav-item.dropdown::after {
        content: '';
        position: absolute;
        left: 0;
        right: 0;
        height: 1rem;
        bottom: -1rem;
    }
    .navbar-triunno .nav-item.dropdown {
        position: relative;
    }
    .navbar-triunno .nav-item.dropdown:hover > .dropdown-menu,
    .navbar-triunno .nav-item.dropdown:focus-within > .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    .navbar-triunno .nav-item.dropdown:hover > .dropdown-toggle::after {
        transform: rotate(180deg);
    }
}
@media (max-width: 991.98px) {
    .navbar-triunno .dropdown-menu {
        background: rgba(255, 255, 255, 0.03);
        box-shadow: none;
        margin: 0.25rem 0 0.5rem;
    }
}

/* ── Page Hero (sub-páginas) ── */
.page-hero {
    min-height: auto;
    padding-top: 180px;
    padding-bottom: 90px;
}
.page-hero .breadcrumb-triunno {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Sora', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}
.breadcrumb-triunno a {
    color: var(--on-surface-variant);
    text-decoration: none;
    transition: color 0.2s ease;
}
.breadcrumb-triunno a:hover { color: var(--cyan-performance); }
.breadcrumb-triunno .sep { color: rgba(255,255,255,0.25); }
.breadcrumb-triunno .current { color: var(--cyan-performance); }

/* ── Stat Strip (sub-páginas) ── */
.stat-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: var(--rounded-lg);
    overflow: hidden;
}
.stat-strip-item {
    padding: 1.75rem 1.5rem;
    border-right: 1px solid rgba(255, 255, 255, 0.07);
    background: rgba(255, 255, 255, 0.02);
}
.stat-strip-item:last-child { border-right: none; }
.stat-strip-value {
    font-family: 'Sora', sans-serif;
    font-size: clamp(1.6rem, 2.6vw, 2.4rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
    margin: 0 0 0.3rem;
}
.stat-strip-value .accent-cyan { color: var(--cyan-performance); }
.stat-strip-value .accent-magenta { color: var(--electric-magenta); }
.stat-strip-label {
    font-size: 0.8rem;
    color: var(--on-surface-variant);
    margin: 0;
}

/* ── Numbered Process ── */
.process-list {
    counter-reset: process;
    display: flex;
    flex-direction: column;
}
.process-step {
    counter-increment: process;
    display: grid;
    grid-template-columns: 80px 1fr 1.2fr;
    gap: 2rem;
    align-items: start;
    padding: 2.25rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.process-step:first-child { border-top: 1px solid rgba(255, 255, 255, 0.07); }
.process-step::before {
    content: counter(process, decimal-leading-zero);
    font-family: 'Sora', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--electric-magenta);
    line-height: 1.2;
}
.process-step:nth-child(even)::before { color: var(--cyan-performance); }
.process-step h3 {
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: #fff;
    margin: 0;
}
.process-step p {
    font-size: 0.95rem;
    color: var(--on-surface-variant);
    line-height: 1.65;
    margin: 0;
}

/* ── Agent Cards ── */
.agent-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.agent-card {
    position: relative;
    background: rgba(255, 255, 255, 0.022);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: var(--rounded-xl);
    padding: 2rem 1.75rem;
    overflow: hidden;
    transition: border-color 0.4s ease, transform 0.3s ease, background 0.35s ease;
}
.agent-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 240, 255, 0.3);
    background: rgba(0, 240, 255, 0.03);
}
.agent-card.agent-card-magenta:hover {
    border-color: rgba(255, 0, 122, 0.35);
    background: rgba(255, 0, 122, 0.03);
}
.agent-card-status {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-family: 'Sora', sans-serif;
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--cyan-performance);
    background: rgba(0, 240, 255, 0.07);
    border: 1px solid rgba(0, 240, 255, 0.18);
    border-radius: 999px;
    padding: 0.22rem 0.7rem;
    margin-bottom: 1.25rem;
}
.agent-card-magenta .agent-card-status {
    color: var(--electric-magenta);
    background: rgba(255, 0, 122, 0.07);
    border-color: rgba(255, 0, 122, 0.2);
}
.agent-card-status .dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: currentColor;
    animation: pulse-dot 2s infinite;
}
.agent-card-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--rounded-lg);
    background: rgba(0, 240, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}
.agent-card-icon .material-symbols-outlined {
    font-size: 26px;
    color: var(--cyan-performance);
}
.agent-card-magenta .agent-card-icon {
    background: rgba(255, 0, 122, 0.08);
}
.agent-card-magenta .agent-card-icon .material-symbols-outlined {
    color: var(--electric-magenta);
}
.agent-card h3 {
    font-size: 1.1875rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: #fff;
    margin-bottom: 0.6rem;
}
.agent-card p {
    font-size: 0.9375rem;
    color: var(--on-surface-variant);
    line-height: 1.65;
    margin: 0;
}

/* ── Detail Split (seções alternadas) ── */
.detail-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 6vw, 5.5rem);
    align-items: center;
}
.detail-eyebrow {
    font-family: 'Sora', sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--cyan-performance);
    display: block;
    margin-bottom: 1rem;
}
.detail-eyebrow.magenta { color: var(--electric-magenta); }
.detail-split h2 {
    font-size: clamp(1.6rem, 2.5vw, 2.25rem);
    font-weight: 700;
    line-height: 1.18;
    letter-spacing: -0.015em;
    color: #fff;
    margin-bottom: 1.25rem;
}
.detail-split .lead-copy {
    font-size: 1.0625rem;
    color: var(--on-surface-variant);
    line-height: 1.7;
    margin-bottom: 1.75rem;
}
.detail-checks {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
}
.detail-checks li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.93rem;
    color: var(--on-surface);
    line-height: 1.6;
}
.detail-checks .material-symbols-outlined {
    font-size: 19px;
    color: var(--cyan-performance);
    flex-shrink: 0;
    margin-top: 2px;
}
.detail-checks.magenta .material-symbols-outlined { color: var(--electric-magenta); }

/* ── Tech Stack Chips ── */
.stack-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}
.stack-chip {
    font-family: 'Sora', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--on-surface);
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 999px;
    padding: 0.45rem 1rem;
    transition: border-color 0.3s ease, color 0.3s ease;
    cursor: default;
}
.stack-chip:hover {
    border-color: var(--cyan-performance);
    color: var(--cyan-performance);
}

/* ── CTA Banner ── */
.cta-banner {
    position: relative;
    border: 1px solid rgba(255, 0, 122, 0.2);
    border-radius: var(--rounded-xl);
    background:
        radial-gradient(ellipse 70% 120% at 85% 20%, rgba(255, 0, 122, 0.12) 0%, transparent 60%),
        radial-gradient(ellipse 60% 100% at 10% 90%, rgba(0, 240, 255, 0.07) 0%, transparent 60%),
        rgba(255, 255, 255, 0.02);
    padding: clamp(2.5rem, 6vw, 4.5rem);
    text-align: center;
    overflow: hidden;
}
.cta-banner h2 {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: #fff;
    margin-bottom: 1rem;
}
.cta-banner p {
    font-size: 1.0625rem;
    line-height: 1.65;
    color: var(--on-surface-variant);
    max-width: 560px;
    margin: 0 auto 2rem;
}

@media (max-width: 991.98px) {
    .stat-strip { grid-template-columns: repeat(2, 1fr); }
    .stat-strip-item:nth-child(2) { border-right: none; }
    .stat-strip-item:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,0.07); }
    .agent-grid { grid-template-columns: repeat(2, 1fr); }
    .detail-split { grid-template-columns: 1fr; }
    .process-step { grid-template-columns: 56px 1fr; }
    .process-step p { grid-column: 2; }
}
@media (max-width: 767.98px) {
    .page-hero { padding-top: 140px; padding-bottom: 64px; }
    .agent-grid { grid-template-columns: 1fr; }
    .stat-strip { grid-template-columns: 1fr; }
    .stat-strip-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.07); }
    .stat-strip-item:last-child { border-bottom: none; }
}

/* ── Hero ── */
.hero-section {
    min-height: 100vh;
    padding-top: 140px;
    padding-bottom: 80px;
    position: relative;
    overflow: hidden;
}
.hero-section .tech-grid-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}
.hero-section .glow-bg {
    position: absolute;
    top: -20%;
    right: -10%;
    width: 60%;
    height: 60%;
    pointer-events: none;
}
.hero-title {
    font-size: clamp(2.25rem, 4.4vw, 4rem);
    font-weight: 800;
    line-height: 1.07;
    letter-spacing: -0.02em;
    color: #fff;
}
.hero-title .accent {
    color: var(--electric-magenta);
}
.hero-subtitle {
    font-size: 1.0625rem;
    line-height: 1.65;
    color: var(--on-surface-variant);
}
.hero-image-wrap {
    position: relative;
}
.hero-image-wrap .glow-halo {
    position: absolute;
    inset: -16px;
    background: rgba(255,0,122,0.15);
    filter: blur(48px);
    border-radius: 16px;
    opacity: 0.3;
    transition: opacity 0.4s ease;
}
.hero-image-wrap:hover .glow-halo {
    opacity: 0.5;
}
.hero-image-wrap img {
    position: relative;
    border-radius: var(--rounded-xl);
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 24px 64px rgba(0,0,0,0.5);
    width: 100%;
    height: auto;
}
.hero-diag {
    color: var(--cyan-performance);
    font-weight: 700;
    font-size: 0.875rem;
}
.hero-diag-sub {
    color: var(--on-surface-variant);
    font-size: 0.75rem;
}

/* ── Brands ── */
.brands-section {
    border-top: 1px solid rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    background: rgba(0,0,0,0.5);
}
.brands-section .brand-name {
    font-family: 'Sora', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.02em;
    opacity: 0.35;
    transition: opacity 0.5s ease;
    cursor: default;
}
.brands-section .brand-name:hover {
    opacity: 0.8;
}

/* ── Label Caps ── */
.label-caps {
    font-family: 'Sora', sans-serif;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

/* ── Metric Value ── */
.metric-value {
    font-family: 'Sora', sans-serif;
    font-size: clamp(1.5rem, 2.4vw, 2.1rem);
    font-weight: 700;
    line-height: 1.12;
    color: #fff;
}

/* ── Section Headings ── */
.section-heading {
    font-size: clamp(1.85rem, 2.8vw, 2.6rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.018em;
    color: #fff;
}
.section-subheading {
    font-size: 1.0625rem;
    line-height: 1.65;
    color: var(--on-surface-variant);
}

/* ── Results Section ── */
.results-section {
    background: var(--obsidian-elevated);
}
.result-card {
    padding: 3rem 2rem;
    border-radius: var(--rounded-xl);
    text-align: center;
    min-height: 100%;
}
.result-card .icon-wrap {
    margin-bottom: 1rem;
}
.result-card .icon-wrap .material-symbols-outlined {
    font-size: 48px;
}
.result-card .result-label {
    color: var(--on-surface-variant);
}
.result-card-cyan {
    border-bottom: 2px solid var(--cyan-performance) !important;
}
.result-card-cyan .icon-wrap .material-symbols-outlined {
    color: var(--cyan-performance);
}
.result-card-magenta .icon-wrap .material-symbols-outlined {
    color: var(--electric-magenta);
}

/* ── Journey Section ── */
.journey-section {
    position: relative;
    overflow: hidden;
}
.journey-step {
    text-align: center;
    height: 100%;
}
.journey-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    position: relative;
    z-index: 2;
    background: var(--obsidian-deep);
    transition: border-color 0.5s ease;
}
.journey-icon .material-symbols-outlined {
    font-size: 32px;
}
.journey-icon-cyan {
    border-color: rgba(0,240,255,0.2) !important;
}
.journey-icon-cyan:hover {
    border-color: var(--cyan-performance) !important;
}
.journey-icon-cyan .material-symbols-outlined {
    color: var(--cyan-performance);
}
.journey-icon-magenta {
    border-color: rgba(255,0,122,0.2) !important;
}
.journey-icon-magenta:hover {
    border-color: var(--electric-magenta) !important;
}
.journey-icon-magenta .material-symbols-outlined {
    color: var(--electric-magenta);
}
.journey-step h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.5rem;
}
.journey-step p {
    font-size: 0.875rem;
    color: var(--on-surface-variant);
    margin: 0;
}
.journey-cta {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

/* ── Growth Bento ── */
.growth-section {
    background: var(--obsidian-elevated);
}
.bento-phase {
    border-radius: var(--rounded-xl);
    padding: clamp(1.75rem, 2.2vw, 2.25rem);
    position: relative;
    overflow: hidden;
}
.bento-phase .phase-icon-bg {
    position: absolute;
    top: 0;
    right: 0;
    padding: 2rem;
    opacity: 0.08;
    transition: opacity 0.4s ease;
}
.bento-phase:hover .phase-icon-bg {
    opacity: 0.18;
}
.bento-phase .phase-icon-bg .material-symbols-outlined {
    font-size: 120px;
}
.phase-label {
    font-weight: 700;
    margin-bottom: 0.75rem;
    display: block;
}
.phase-label-magenta { color: var(--electric-magenta); }
.phase-label-cyan { color: var(--cyan-performance); }
.bento-phase h3 {
    font-size: clamp(1.2rem, 1.4vw, 1.35rem);
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.01em;
    color: #fff;
    margin-bottom: 0.6rem;
}
.bento-phase p {
    font-size: 0.95rem;
    line-height: 1.65;
    color: var(--on-surface-variant);
    margin: 0;
}
.bento-side-icon {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.bento-side-icon .material-symbols-outlined {
    font-size: 40px;
}
.bento-side-cyan {
    background: rgba(0,240,255,0.1);
}
.bento-side-cyan .material-symbols-outlined {
    color: var(--cyan-performance);
}
.bento-side-magenta {
    background: rgba(255,0,122,0.1);
}
.bento-side-magenta .material-symbols-outlined {
    color: var(--electric-magenta);
}
.bento-right-cyan { border-right: 4px solid var(--cyan-performance) !important; }
.bento-right-magenta { border-right: 4px solid var(--electric-magenta) !important; }

/* ── Services ── */
.service-col {
    padding: 0.25rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    transition: border-color 0.5s ease;
    height: 100%;
}
.service-col:hover {
    border-color: var(--electric-magenta);
}
.row > div:nth-child(even) .service-col:hover {
    border-color: var(--cyan-performance);
}
.service-col .service-tag {
    color: var(--on-surface-variant);
    opacity: 0.5;
}
.service-col h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
}
.service-col p {
    font-size: 0.875rem;
    color: var(--on-surface-variant);
    margin-bottom: 1.5rem;
}
.tech-chip {
    display: inline-block;
    background: var(--surface-glass);
    border: 1px solid rgba(255,255,255,0.05);
    padding: 0.25rem 0.75rem;
    border-radius: var(--rounded);
    font-size: 0.75rem;
    color: var(--on-surface);
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
}

/* ── FAQ ── */
.faq-section {
    background: var(--obsidian-deep);
}
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.faq-item {
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--rounded-lg);
    background: rgba(255,255,255,0.025);
    padding: 1.25rem 1.5rem;
    transition: border-color 0.3s ease, background 0.3s ease;
}
.faq-item[open] {
    border-color: rgba(0,240,255,0.28);
    background: rgba(0,240,255,0.035);
}
.faq-item summary {
    color: #fff;
    cursor: pointer;
    font-family: 'Sora', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    list-style: none;
    padding-right: 2rem;
    position: relative;
}
.faq-item summary::-webkit-details-marker {
    display: none;
}
.faq-item summary::after {
    content: '+';
    color: var(--cyan-performance);
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}
.faq-item[open] summary::after {
    content: '-';
}
.faq-item p {
    color: var(--on-surface-variant);
    line-height: 1.7;
    margin: 1rem 0 0;
}

/* ── Differentiation ── */
.diff-section {
    background: var(--obsidian-elevated);
    position: relative;
    overflow: hidden;
}
.diff-section .bg-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0.04;
}
.diff-card {
    border-radius: 1rem;
    border-color: rgba(255,0,122,0.15) !important;
}
.diff-item {
    display: flex;
    gap: 1.5rem;
}
.diff-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.diff-icon-magenta {
    background: var(--electric-magenta);
}
.diff-icon-magenta .material-symbols-outlined { color: #fff; }
.diff-icon-cyan {
    background: var(--cyan-performance);
}
.diff-icon-cyan .material-symbols-outlined { color: var(--obsidian-deep); }
.diff-item h4 {
    font-size: 1.1875rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: #fff;
    margin-bottom: 0.5rem;
}
.diff-item p {
    font-size: 0.95rem;
    line-height: 1.65;
    color: var(--on-surface-variant);
    margin: 0;
}
.cta-headline {
    font-family: 'Sora', sans-serif;
    font-size: clamp(1.85rem, 3.6vw, 2.85rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: #fff;
}

/* ── Footer ── */
.footer-triunno {
    background: var(--obsidian-deep);
    border-top: 1px solid rgba(255,255,255,0.04);
}
.footer-panel {
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--rounded-xl);
    background: linear-gradient(135deg, rgba(255,255,255,0.045), rgba(255,255,255,0.015));
    padding: clamp(1.5rem, 4vw, 3rem);
}
.footer-brand {
    font-family: 'Sora', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--on-surface);
}
.footer-copy {
    color: var(--on-surface-variant);
    line-height: 1.6;
    max-width: 420px;
}
.footer-title {
    font-family: 'Sora', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--on-surface);
    margin-bottom: 1rem;
}
.footer-status {
    color: var(--on-surface-variant);
    font-size: 0.875rem;
}
.footer-link {
    color: var(--on-surface-variant);
    text-decoration: none;
    transition: color 0.2s ease;
}
.footer-link:hover {
    color: var(--cyan-performance);
}
.footer-social {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--on-surface-variant);
    transition: border-color 0.3s ease, color 0.3s ease;
}
.footer-social:hover {
    border-color: var(--electric-magenta);
    color: var(--electric-magenta);
}
.footer-social .material-symbols-outlined {
    font-size: 18px;
}
.footer-social svg { display: block; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.06);
    color: var(--on-surface-variant);
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.5rem;
    justify-content: space-between;
    margin-top: 2.5rem;
    padding-top: 1.25rem;
    font-size: 0.875rem;
}
.footer-bottom strong {
    color: var(--cyan-performance);
    font-weight: 600;
}

/* ── Scroll Reveal ── */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ── Spacing ── */
.py-section { padding-top: var(--section-gap); padding-bottom: var(--section-gap); }

/* ── Performance Section ── */
.perf-header {
    max-width: 580px;
    margin-bottom: 4rem;
}

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

.perf-card {
    position: relative;
    padding: 2.25rem 2rem 2rem;
    background: rgba(255, 255, 255, 0.022);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-top: 1px solid var(--cyan-performance);
    border-radius: var(--rounded-lg);
    display: flex;
    flex-direction: column;
    transition: background 0.35s ease, transform 0.3s ease, box-shadow 0.35s ease;
}

.perf-card--magenta {
    border-top-color: var(--electric-magenta);
}

.perf-card:hover {
    background: rgba(255, 255, 255, 0.04);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 240, 255, 0.06);
}

.perf-card--magenta:hover {
    box-shadow: 0 12px 40px rgba(255, 0, 122, 0.07);
}

.perf-service-tag {
    color: var(--cyan-performance);
    opacity: 0.75;
    display: block;
    margin-bottom: 1.1rem;
}

.perf-card--magenta .perf-service-tag {
    color: var(--electric-magenta);
}

.perf-card-title {
    font-family: 'Sora', sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.3;
    margin-bottom: 1rem;
}

.perf-card-desc {
    font-size: 0.9rem;
    color: var(--on-surface-variant);
    line-height: 1.75;
    margin-bottom: 0;
    flex-grow: 1;
}

.perf-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 1.75rem;
}

.perf-cta {
    text-align: center;
    margin-top: 4.5rem;
}

/* ── Service Tabs ── */
.service-tabs {
    display: flex;
    gap: 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    margin-bottom: 3.5rem;
    overflow-x: auto;
    scrollbar-width: none;
}
.service-tabs::-webkit-scrollbar { display: none; }

.service-tab-btn {
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    color: var(--on-surface-variant);
    font-family: 'Sora', sans-serif;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.75rem 1.75rem;
    cursor: pointer;
    white-space: nowrap;
    margin-bottom: -1px;
    transition: color 0.25s ease, border-color 0.25s ease;
}
.service-tab-btn:hover {
    color: rgba(255,255,255,0.75);
}
.service-tab-btn.active {
    color: var(--cyan-performance);
    border-bottom-color: var(--cyan-performance);
}
.service-tab-btn.active-magenta {
    color: var(--electric-magenta);
    border-bottom-color: var(--electric-magenta);
}

.service-panel {
    display: none;
}
.service-panel.active {
    display: block;
}

/* ── Hero Photo ─────────────────────────────────────────── */
.hero-photo {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 32px 80px rgba(0,0,0,0.5);
}
.hero-photo img {
    display: block;
    width: 100%;
    aspect-ratio: 5 / 4;
    object-fit: cover;
    filter: saturate(0.85) contrast(1.05);
}
.hero-photo::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.2) 40%, transparent 65%),
        linear-gradient(120deg, rgba(255,0,122,0.1) 0%, transparent 45%, rgba(0,240,255,0.07) 100%);
    pointer-events: none;
}
.hero-photo-kpis {
    position: absolute;
    left: 1.1rem;
    right: 1.1rem;
    bottom: 1.1rem;
    z-index: 2;
    display: flex;
    gap: 0.7rem;
}
.hp-kpi {
    flex: 1;
    background: rgba(8,8,10,0.72);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 12px;
    padding: 0.7rem 0.9rem;
    min-width: 0;
}
.hp-kpi-value {
    display: block;
    font-family: 'Sora', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.25;
    white-space: nowrap;
}
.hp-kpi-label {
    display: block;
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.55);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
@media (max-width: 575.98px) {
    .hp-kpi { padding: 0.55rem 0.65rem; }
    .hp-kpi-value { font-size: 1rem; }
    .hp-kpi-label { font-size: 0.55rem; }
}

/* ── Hero Dashboard Widget ──────────────────────────────── */
.hero-dash {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    padding: 1.75rem;
    box-shadow: 0 24px 60px rgba(0,0,0,0.4), 0 0 50px rgba(0,240,255,0.04);
}

.hdash-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    padding-bottom: 1.25rem;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    margin-bottom: 1.25rem;
}

.hdash-metric {
    padding: 0 1rem;
    border-right: 1px solid rgba(255,255,255,0.07);
}
.hdash-metric:first-child { padding-left: 0; }
.hdash-metric:last-child  { border-right: none; }

.hdash-metric-label {
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: rgba(255,255,255,0.3);
    margin: 0 0 0.35rem;
}
.hdash-metric-value {
    font-family: 'Sora', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 0.2rem;
    line-height: 1;
}
.hdash-metric-delta {
    font-size: 0.68rem;
    margin: 0;
}
.hdash-metric-delta.positive { color: #34d399; }
.hdash-metric-delta.negative { color: #f87171; }

.hdash-chart { margin-bottom: 1rem; }

.hdash-chart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.75rem;
}
.hdash-chart-title {
    font-size: 0.72rem;
    font-weight: 600;
    color: rgba(255,255,255,0.4);
    margin: 0;
}
.hdash-chart-tag {
    font-size: 0.58rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: var(--cyan-performance);
    background: rgba(0,240,255,0.08);
    border: 1px solid rgba(0,240,255,0.18);
    border-radius: 999px;
    padding: 0.18rem 0.65rem;
}

.hdash-chart-svg { width: 100%; display: block; }

.hdash-months {
    display: flex;
    justify-content: space-between;
    margin-top: 0.4rem;
}
.hdash-months span {
    font-size: 0.58rem;
    color: rgba(255,255,255,0.2);
}

.hdash-insight {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    padding: 0.8rem 1rem;
    background: rgba(0,240,255,0.04);
    border: 1px solid rgba(0,240,255,0.1);
    border-radius: 10px;
    margin-top: 1.25rem;
}
.hdash-insight .material-symbols-outlined {
    font-size: 16px;
    color: var(--cyan-performance);
    font-variation-settings: 'FILL' 0, 'wght' 300, 'GRAD' 0, 'opsz' 20;
    flex-shrink: 0;
    margin-top: 1px;
    opacity: 0.8;
}
.hdash-insight p {
    font-size: 0.72rem;
    line-height: 1.55;
    color: rgba(255,255,255,0.45);
    margin: 0;
}

/* ── Triunno AI Section ─────────────────────────────────── */
.trai-section {
    position: relative;
    overflow: hidden;
    background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(0, 240, 255, 0.06) 0%, transparent 70%);
    border-top: 1px solid rgba(0, 240, 255, 0.08);
    border-bottom: 1px solid rgba(0, 240, 255, 0.08);
}

.trai-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 3.5rem;
}

/* Dashboard mockup */
.trai-mockup {
    margin-bottom: 3.5rem;
}

.trai-mock-window {
    background: #0b0c0f;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.07);
    overflow: hidden;
    box-shadow: 0 40px 100px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.04);
    pointer-events: none;
    user-select: none;
    font-family: 'Inter', sans-serif;
}

.trai-mock-topbar {
    background: rgba(255,255,255,0.03);
    border-bottom: 1px solid rgba(255,255,255,0.07);
    padding: 0.6rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.trai-mock-search {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 8px;
    padding: 0.35rem 0.75rem;
    color: rgba(255,255,255,0.3);
    font-size: 0.75rem;
}
.trai-mock-search .material-symbols-outlined {
    font-size: 15px;
    font-variation-settings: 'FILL' 0, 'wght' 300, 'GRAD' 0, 'opsz' 20;
}

.trai-mock-user {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.trai-mock-notif-icon {
    font-size: 18px;
    color: rgba(255,255,255,0.3);
    font-variation-settings: 'FILL' 0, 'wght' 300, 'GRAD' 0, 'opsz' 20;
}
.trai-mock-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--cyan-performance);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6rem;
    font-weight: 700;
    color: #000;
}

.trai-mock-content { padding: 1.25rem 1.5rem 1.5rem; }

.trai-mock-page-header { margin-bottom: 1rem; }
.trai-mock-page-header h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 0.1rem;
}
.trai-mock-page-header p {
    font-size: 0.72rem;
    color: rgba(255,255,255,0.35);
    margin: 0;
}

/* Stats row */
.trai-mock-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
    margin-bottom: 1rem;
}
.trai-mock-stat {
    background: rgba(255,255,255,0.03);
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.07);
    padding: 0.875rem 1rem;
}
.trai-mock-stat-label {
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    color: rgba(255,255,255,0.3);
    margin: 0 0 0.4rem;
}
.trai-mock-stat-value {
    font-size: 1.125rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 0.2rem;
}
.trai-mock-stat-change {
    font-size: 0.65rem;
    margin: 0;
}
.trai-mock-stat-change.negative { color: #f87171; }
.trai-mock-stat-change.positive { color: #34d399; }

/* Main: calendar + quick actions */
.trai-mock-main {
    display: grid;
    grid-template-columns: 1fr 220px;
    gap: 0.875rem;
}

/* Calendar */
.trai-mock-calendar {
    background: rgba(255,255,255,0.03);
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.07);
    padding: 1rem 1.125rem;
}
.trai-mock-cal-header {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    margin-bottom: 0.875rem;
}
.trai-mock-cal-header .material-symbols-outlined {
    font-size: 16px;
    color: var(--cyan-performance);
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 20;
    margin-top: 2px;
    flex-shrink: 0;
    opacity: 0.7;
}
.trai-mock-cal-title {
    font-size: 0.78rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
}
.trai-mock-cal-sub {
    font-size: 0.65rem;
    color: rgba(255,255,255,0.3);
    margin: 0;
}
.trai-mock-cal-controls {
    margin-left: auto;
    display: flex;
    gap: 0.2rem;
    flex-shrink: 0;
}
.trai-mock-cal-tab {
    font-size: 0.65rem;
    padding: 0.18rem 0.55rem;
    border-radius: 6px;
    color: rgba(255,255,255,0.3);
}
.trai-mock-cal-tab.active {
    background: rgba(255,255,255,0.08);
    color: #fff;
    font-weight: 600;
}

.trai-mock-cal-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
}
.trai-mock-cal-label {
    font-size: 0.6rem;
    font-weight: 600;
    color: rgba(255,255,255,0.25);
    text-align: center;
    padding: 0.2rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.trai-mock-cal-day {
    font-size: 0.68rem;
    color: rgba(255,255,255,0.5);
    padding: 0.3rem 0.4rem;
    min-height: 2.2rem;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    position: relative;
}
.trai-mock-cal-muted { opacity: 0; }
.trai-mock-cal-today > span {
    display: inline-flex;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--cyan-performance);
    color: #000;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.62rem;
}
.trai-mock-event-bar {
    display: block;
    font-size: 0.58rem;
    padding: 0.08rem 0.3rem;
    border-radius: 3px;
    margin-top: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.trai-mock-event-bar.pink { background: rgba(0,240,255,0.12); color: var(--cyan-performance); }
.trai-mock-event-bar.rose { background: rgba(255,0,122,0.15); height: 5px; }

.trai-mock-campaigns-footer {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex-wrap: wrap;
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(255,255,255,0.06);
}
.trai-mock-cam-label {
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    color: rgba(255,255,255,0.25);
}
.trai-mock-cam-tag {
    font-size: 0.62rem;
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
}
.trai-mock-cam-tag.pink  { background: rgba(0,240,255,0.1);  color: var(--cyan-performance); }
.trai-mock-cam-tag.rose  { background: rgba(255,0,122,0.12); color: var(--electric-magenta); }
.trai-mock-cam-tag.green { background: rgba(52,211,153,0.12); color: #34d399; }

/* Quick actions */
.trai-mock-quick {
    background: rgba(255,255,255,0.03);
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.07);
    padding: 1rem;
}
.trai-mock-quick-title {
    font-size: 0.72rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 0.75rem;
}
.trai-mock-quick-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
}
.trai-mock-quick-btn {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.65rem 0.6rem;
    border-radius: 8px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.06);
    font-size: 0.68rem;
    font-weight: 500;
    color: rgba(255,255,255,0.6);
}
.trai-mock-quick-btn .material-symbols-outlined {
    font-size: 15px;
    color: var(--cyan-performance);
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 20;
    opacity: 0.7;
    flex-shrink: 0;
}

.trai-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    color: var(--cyan-performance);
    border: 1px solid rgba(0, 240, 255, 0.25);
    border-radius: 999px;
    padding: 0.35rem 0.875rem;
    margin-bottom: 1.75rem;
}

.trai-badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--cyan-performance);
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.3; }
}

.trai-title {
    font-family: 'Sora', sans-serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    letter-spacing: -0.01em;
    color: #fff;
    margin-bottom: 1.25rem;
    line-height: 1.1;
}

.trai-sub {
    font-size: 1.0625rem;
    line-height: 1.75;
    color: var(--on-surface-variant);
    max-width: 620px;
    margin: 0 auto 3.5rem;
}

.trai-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: var(--rounded-lg);
    overflow: hidden;
    margin-bottom: 3rem;
    text-align: left;
}

.trai-feat {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 2rem 1.75rem;
    border-right: 1px solid rgba(255, 255, 255, 0.07);
    transition: background 0.3s ease;
}

.trai-feat:last-child {
    border-right: none;
}

.trai-feat:hover {
    background: rgba(0, 240, 255, 0.03);
}

.trai-feat-icon {
    font-size: 1.25rem;
    color: var(--cyan-performance);
    opacity: 0.7;
    font-variation-settings: 'FILL' 0, 'wght' 300, 'GRAD' 0, 'opsz' 24;
}

.trai-feat-name {
    font-family: 'Sora', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: #fff;
    margin: 0;
}

.trai-feat-desc {
    font-size: 0.845rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.42);
    margin: 0;
}

.trai-cta {
    display: flex;
    justify-content: center;
}

/* ── Clean Services Grid ────────────────────────────────── */
.svc-heading {
    text-align: center;
    max-width: 660px;
    margin: 0 auto 3.25rem;
}

.svc-subheading {
    font-size: 1.0625rem;
    line-height: 1.65;
    color: var(--on-surface-variant);
    margin-top: 1rem;
    margin-bottom: 0;
}

.svc-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    border-left: 1px solid rgba(255, 255, 255, 0.07);
}

.svc-cell {
    border-right: 1px solid rgba(255, 255, 255, 0.07);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    padding: 2.25rem 2rem;
    transition: background 0.3s ease;
}

.svc-cell:hover {
    background: rgba(255, 255, 255, 0.03);
}

.svc-cell-header {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    margin-bottom: 0.875rem;
}

.svc-icon {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.45);
    font-variation-settings: 'FILL' 0, 'wght' 300, 'GRAD' 0, 'opsz' 20;
    flex-shrink: 0;
}

.svc-name {
    font-family: 'Sora', sans-serif;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #ffffff;
    line-height: 1.3;
}

.svc-desc {
    font-size: 0.875rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.42);
    margin: 0;
}

/* ── Mobile ── */
@media (max-width: 991.98px) {
    .perf-grid    { grid-template-columns: repeat(2, 1fr); }
    .svc-grid     { grid-template-columns: repeat(2, 1fr); }
    .trai-features { grid-template-columns: 1fr; }
    .trai-feat    { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.07); }
    .trai-feat:last-child { border-bottom: none; }
}

@media (max-width: 767.98px) {
    .hero-title { font-size: 2rem; }
    .section-heading { font-size: 1.75rem; }
    .cta-headline { font-size: 1.75rem; }
    .py-section { padding-top: 64px; padding-bottom: 64px; }
    .bento-phase { padding: 1.75rem; }
    .bento-side-icon { width: 64px; height: 64px; }
    .bento-side-icon .material-symbols-outlined { font-size: 28px; }
    .perf-grid { grid-template-columns: 1fr; }
    .perf-card { padding: 1.75rem 1.5rem 1.5rem; }
    .perf-cta { margin-top: 3rem; }
    .service-tab-btn { padding: 0.65rem 1.1rem; font-size: 0.75rem; }
    .svc-grid  { grid-template-columns: 1fr; }
    .svc-cell  { padding: 1.75rem 1.5rem; }
    .trai-title { font-size: 2.25rem; }
}

/* ── Cookie Consent ─────────────────────────────────────── */
.cookie-consent {
    position: fixed;
    left: 1.25rem;
    right: 1.25rem;
    bottom: 1.25rem;
    z-index: 1080;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem 1.5rem;
    max-width: 920px;
    margin: 0 auto;
    background: rgba(10, 10, 10, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--rounded-xl);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
    padding: 1.25rem 1.5rem;
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.4s ease, transform 0.4s ease;
    pointer-events: none;
}
.cookie-consent.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}
.cookie-consent-text p {
    margin: 0;
    font-size: 0.85rem;
    line-height: 1.6;
    color: var(--on-surface-variant);
}
.cookie-consent-text a {
    color: var(--cyan-performance);
    text-decoration: underline;
    text-underline-offset: 2px;
}
.cookie-consent-actions {
    display: flex;
    gap: 0.75rem;
    flex-shrink: 0;
}
.cookie-consent-actions .btn {
    font-size: 0.8rem;
    white-space: nowrap;
}
@media (max-width: 575.98px) {
    .cookie-consent { left: 0.75rem; right: 0.75rem; bottom: 0.75rem; padding: 1.1rem 1.25rem; }
    .cookie-consent-actions { width: 100%; }
    .cookie-consent-actions .btn { flex: 1; }
}
