/* ========================================
   OnlineTeam.AI.ai — Dark Tech SaaS Theme
   ======================================== */

/* --- CSS Custom Properties --- */
:root {
    --bg: #0a0f1a;
    --bg-surface: #111827;
    --bg-surface-hover: #1a2332;
    --border: #1e293b;
    --border-light: #2d3a4d;
    --accent: #20808D;
    --cyan: #00e5ff;
    --text: #f1f5f9;
    --text-muted: #94a3b8;
    --text-dim: #64748b;
    --emerald: #10b981;
    --gold: #f59e0b;
    --gold-dim: #d97706;
    --gradient: linear-gradient(135deg, #20808D, #00e5ff);
    --gradient-subtle: linear-gradient(135deg, rgba(32,128,141,0.15), rgba(0,229,255,0.08));
    --font-heading: 'Syne', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    --shadow-glow: 0 0 40px rgba(0, 229, 255, 0.15);
    --shadow-glow-accent: 0 0 40px rgba(32, 128, 141, 0.25);
    --radius: 12px;
    --radius-lg: 20px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text);
    line-height: 1.65;
    overflow-x: hidden;
    position: relative;
}

a { color: var(--accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--cyan); }

img { max-width: 100%; display: block; }

/* --- Background Effects --- */
.bg-grid {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(30, 41, 59, 0.3) 1px, transparent 1px),
        linear-gradient(90deg, rgba(30, 41, 59, 0.3) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black 20%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black 20%, transparent 70%);
}

.bg-orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(100px);
    pointer-events: none;
    z-index: 0;
    opacity: 0.4;
}
.bg-orb--1 {
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(32,128,141,0.35), transparent 70%);
    top: -200px; left: -100px;
    animation: orbFloat1 20s ease-in-out infinite;
}
.bg-orb--2 {
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(0,229,255,0.2), transparent 70%);
    top: 40%; right: -150px;
    animation: orbFloat2 25s ease-in-out infinite;
}
.bg-orb--3 {
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(16,185,129,0.15), transparent 70%);
    bottom: 10%; left: 20%;
    animation: orbFloat3 22s ease-in-out infinite;
}

@keyframes orbFloat1 {
    0%, 100% { transform: translate(0, 0); }
    33% { transform: translate(80px, 60px); }
    66% { transform: translate(-40px, 100px); }
}
@keyframes orbFloat2 {
    0%, 100% { transform: translate(0, 0); }
    33% { transform: translate(-60px, -80px); }
    66% { transform: translate(40px, -40px); }
}
@keyframes orbFloat3 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(60px, -60px); }
}

/* --- Container --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

/* --- Reveal Animations --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}
/* Hero reveals should animate in immediately on load */
.hero .reveal {
    animation: heroReveal 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
.hero .reveal:nth-child(1) { animation-delay: 0.1s; }
.hero .reveal:nth-child(2) { animation-delay: 0.25s; }
.hero .reveal:nth-child(3) { animation-delay: 0.4s; }
.hero .reveal:nth-child(4) { animation-delay: 0.55s; }
.hero .reveal:nth-child(5) { animation-delay: 0.7s; }
@keyframes heroReveal {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- Typography --- */
.text-gradient {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-header { text-align: center; margin-bottom: 64px; }
.section-label {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 16px;
    padding: 6px 16px;
    border: 1px solid rgba(32,128,141,0.3);
    border-radius: 100px;
    background: rgba(32,128,141,0.08);
}
.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
}
.section-sub {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-top: 16px;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.01em;
    padding: 14px 28px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.btn--primary {
    background: var(--gradient);
    color: #fff;
    box-shadow: 0 4px 20px rgba(32,128,141,0.3);
}
.btn--primary:hover {
    box-shadow: 0 6px 30px rgba(0,229,255,0.35);
    transform: translateY(-2px);
    color: #fff;
}

.btn--ghost {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border-light);
}
.btn--ghost:hover {
    border-color: var(--accent);
    color: var(--cyan);
    background: rgba(32,128,141,0.08);
}

.btn--outline {
    background: transparent;
    color: var(--accent);
    border: 1px solid var(--accent);
}
.btn--outline:hover {
    background: rgba(32,128,141,0.1);
    color: var(--cyan);
    border-color: var(--cyan);
}

.btn--gold {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #0a0f1a;
}
.btn--gold:hover {
    box-shadow: 0 6px 30px rgba(245,158,11,0.35);
    transform: translateY(-2px);
    color: #0a0f1a;
}

.btn--glow::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 12px;
    background: var(--gradient);
    z-index: -1;
    filter: blur(12px);
    opacity: 0.4;
    transition: opacity var(--transition);
}
.btn--glow:hover::before { opacity: 0.7; }

.btn--sm { padding: 10px 20px; font-size: 0.85rem; }
.btn--lg { padding: 16px 36px; font-size: 1.05rem; }
.btn--block { width: 100%; }

/* ========================================
   NAVIGATION
   ======================================== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 16px 0;
    transition: all var(--transition);
    background: transparent;
}
.nav--scrolled {
    background: rgba(10, 15, 26, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(30, 41, 59, 0.5);
    padding: 10px 0;
}

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

.nav__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.2rem;
    white-space: nowrap;
    color: var(--text);
    text-decoration: none;
    flex-shrink: 0;
}
.nav__logo:hover { color: var(--text); }
.nav__logo-icon { display: flex; align-items: center; }
.nav__logo-text { display: inline; white-space: nowrap; }
.nav__logo-highlight { color: var(--cyan); display: inline; }

.nav__links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav__link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
    padding: 8px 14px;
    border-radius: 8px;
    transition: all var(--transition);
}
.nav__link:hover {
    color: var(--text);
    background: rgba(255,255,255,0.05);
}

.nav__cta { flex-shrink: 0; }

.nav__burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 110;
}
.nav__burger span {
    width: 24px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: all var(--transition);
}
.nav__burger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav__burger.active span:nth-child(2) { opacity: 0; }
.nav__burger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.nav__mobile {
    display: none;
    flex-direction: column;
    padding: 20px 24px 24px;
    background: rgba(10, 15, 26, 0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}
.nav__mobile.active { display: flex; }
.nav__mobile-link {
    padding: 14px 0;
    color: var(--text-muted);
    font-size: 1.05rem;
    font-weight: 500;
    border-bottom: 1px solid rgba(30, 41, 59, 0.3);
}
.nav__mobile-link:hover { color: var(--text); }

@media (max-width: 900px) {
    .nav__links, .nav__cta { display: none; }
    .nav__burger { display: flex; }
}

/* ========================================
   HERO
   ======================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 60px;
    position: relative;
    overflow: hidden;
}

.hero__canvas {
    position: absolute;
    inset: 0;
    z-index: 0;
}

/* Animated mesh background */
.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 80vw;
    height: 80vw;
    max-width: 900px;
    max-height: 900px;
    background: conic-gradient(from 180deg at 50% 50%, rgba(32,128,141,0.25), rgba(0,229,255,0.1), rgba(16,185,129,0.08), rgba(32,128,141,0.25));
    border-radius: 50%;
    filter: blur(80px);
    animation: heroMesh 15s ease-in-out infinite;
    z-index: 0;
}
.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -20%;
    width: 60vw;
    height: 60vw;
    max-width: 700px;
    max-height: 700px;
    background: conic-gradient(from 0deg at 50% 50%, rgba(0,229,255,0.1), rgba(32,128,141,0.2), transparent, rgba(0,229,255,0.1));
    border-radius: 50%;
    filter: blur(80px);
    animation: heroMesh2 18s ease-in-out infinite;
    z-index: 0;
}

@keyframes heroMesh {
    0%, 100% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(30deg) scale(1.1); }
}
@keyframes heroMesh2 {
    0%, 100% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(-20deg) scale(1.05); }
}

.hero__content {
    position: relative;
    z-index: 2;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--cyan);
    padding: 8px 18px;
    border: 1px solid rgba(0,229,255,0.2);
    border-radius: 100px;
    background: rgba(0,229,255,0.06);
    margin-bottom: 28px;
    letter-spacing: 0.04em;
}
.hero__badge-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--emerald);
    animation: pulse 2s ease-in-out infinite;
    box-shadow: 0 0 8px rgba(16,185,129,0.5);
}
@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
}

.hero__title {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 4.5vw, 3.2rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
    max-width: 900px;
}

.hero__sub {
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    color: var(--text-muted);
    max-width: 680px;
    margin-bottom: 40px;
    line-height: 1.7;
}

.hero__actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.hero__trust {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}
.hero__trust-label {
    font-size: 0.82rem;
    color: var(--text-dim);
    font-weight: 500;
}
.hero__trust-logos { display: flex; gap: 8px; flex-wrap: wrap; }
.trust-logo {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-dim);
    padding: 5px 12px;
    border: 1px solid rgba(30, 41, 59, 0.5);
    border-radius: 6px;
    background: rgba(17, 24, 39, 0.5);
    transition: all var(--transition);
}
.trust-logo:hover {
    border-color: var(--accent);
    color: var(--text-muted);
}

.hero__scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}
.hero__scroll-line {
    width: 1px;
    height: 50px;
    background: linear-gradient(to bottom, var(--accent), transparent);
    animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
    0% { opacity: 0; transform: scaleY(0); transform-origin: top; }
    50% { opacity: 1; transform: scaleY(1); transform-origin: top; }
    100% { opacity: 0; transform: scaleY(1); transform-origin: bottom; }
}

/* ========================================
   TRUST BAR
   ======================================== */
.trust-bar {
    padding: 48px 0;
    border-top: 1px solid rgba(30, 41, 59, 0.3);
    border-bottom: 1px solid rgba(30, 41, 59, 0.3);
    background: rgba(17, 24, 39, 0.3);
    position: relative;
    z-index: 1;
    overflow: hidden;
}
.trust-bar__label {
    text-align: center;
    font-size: 0.82rem;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 600;
    margin-bottom: 24px;
}
.trust-bar__track {
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}
.trust-bar__slide {
    display: flex;
    gap: 40px;
    animation: scrollLogos 30s linear infinite;
    width: max-content;
}
.trust-bar__item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-dim);
    white-space: nowrap;
    flex-shrink: 0;
    transition: color var(--transition);
}
.trust-bar__item:hover { color: var(--text-muted); }
.trust-bar__item svg { opacity: 0.5; flex-shrink: 0; }

@keyframes scrollLogos {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ========================================
   HOW IT WORKS (STEPS)
   ======================================== */
.steps {
    padding: 72px 0;
    position: relative;
    z-index: 1;
}

.steps__grid {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
}

.steps__card {
    flex: 1;
    max-width: 320px;
    text-align: center;
    padding: 40px 28px;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: all var(--transition);
    position: relative;
}
.steps__card:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-glow-accent);
    transform: translateY(-4px);
}

.steps__number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.3;
    margin-bottom: 12px;
}

.steps__icon {
    margin: 0 auto 20px;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: rgba(32,128,141,0.1);
    border: 1px solid rgba(32,128,141,0.2);
}

.steps__card-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.steps__card-text {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.6;
}

.steps__connector {
    display: flex;
    align-items: center;
    padding-top: 80px;
    flex-shrink: 0;
}

@media (max-width: 800px) {
    .steps__grid { flex-direction: column; align-items: center; gap: 16px; }
    .steps__connector { padding-top: 0; transform: rotate(90deg); }
    .steps__card { max-width: 100%; }
}

/* ========================================
   SERVICES
   ======================================== */
.services {
    padding: 72px 0;
    position: relative;
    z-index: 1;
}

.services__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.services__card {
    padding: 36px 28px;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}
.services__card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient);
    opacity: 0;
    transition: opacity var(--transition);
}
.services__card:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-glow-accent);
    transform: translateY(-4px);
    background: var(--bg-surface-hover);
}
.services__card:hover::before { opacity: 1; }

.services__card-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: rgba(32,128,141,0.1);
    border: 1px solid rgba(32,128,141,0.2);
    margin-bottom: 20px;
}

.services__card-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.services__card-text {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.65;
}

/* Services card list (new 5-category design) */
.services__card-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.services__card-list li {
    font-size: 0.875rem;
    color: var(--cyan);
    line-height: 1.4;
    display: flex;
    align-items: center;
    gap: 6px;
}

.services__item--premium {
    color: var(--cyan) !important;
    font-weight: 500;
}

.services__premium-badge {
    font-size: 0.75rem;
    margin-right: 4px;
    display: inline-block;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    background: rgba(0, 229, 255, 0.1);
    border: 1px solid rgba(0, 229, 255, 0.25);
    border-radius: 3px;
    padding: 2px;
}

/* Services legend */
.services__legend {
    text-align: center;
    margin-top: 28px;
    font-size: 0.82rem;
    color: var(--text-dim);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

/* 5-column service grid */
.services__grid--5col {
    grid-template-columns: repeat(5, 1fr);
}

@media (max-width: 1200px) {
    .services__grid--5col { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
    .services__grid { grid-template-columns: repeat(2, 1fr); }
    .services__grid--5col { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .services__grid { grid-template-columns: 1fr; }
    .services__grid--5col { grid-template-columns: 1fr; }
}

/* ========================================
   WHY US
   ======================================== */
.why {
    padding: 72px 0;
    position: relative;
    z-index: 1;
}

.why__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.why__stat {
    text-align: center;
    padding: 40px 20px;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: all var(--transition);
}
.why__stat:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-glow-accent);
    transform: translateY(-4px);
}

.why__stat-number {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.why__stat-line {
    width: 40px;
    height: 2px;
    background: var(--gradient);
    margin: 16px auto;
    border-radius: 1px;
}

.why__stat-text {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
}

@media (max-width: 800px) {
    .why__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 500px) {
    .why__grid { grid-template-columns: 1fr; }
}

/* ========================================
   PRICING
   ======================================== */
.pricing {
    padding: 72px 0;
    position: relative;
    z-index: 1;
}

.pricing__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: start;
}

/* 2-card pricing layout */
.pricing__grid--2col {
    grid-template-columns: repeat(2, minmax(0, 480px));
    justify-content: center;
    gap: 32px;
}

.pricing__card {
    padding: 40px 32px;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: all var(--transition);
    position: relative;
}
.pricing__card:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
}

/* Featured card */
.pricing__card--featured {
    border-color: var(--accent);
    background: linear-gradient(180deg, rgba(32,128,141,0.08) 0%, var(--bg-surface) 100%);
    box-shadow: 0 0 60px rgba(32,128,141,0.15), 0 0 120px rgba(0,229,255,0.05);
    transform: scale(1.04);
    z-index: 2;
}
.pricing__card--featured:hover {
    transform: scale(1.04) translateY(-4px);
    box-shadow: 0 0 80px rgba(32,128,141,0.25), 0 0 160px rgba(0,229,255,0.08);
}

.pricing__card-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 20px;
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    background: var(--gradient);
    color: #fff;
    border-radius: 100px;
    white-space: nowrap;
}

/* Premium card */
.pricing__card--premium {
    border-color: rgba(245,158,11,0.25);
}
.pricing__card--premium:hover {
    border-color: var(--gold);
    box-shadow: 0 0 40px rgba(245,158,11,0.15);
}

.pricing__card-header { margin-bottom: 24px; }
.pricing__card-name {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 6px;
}
.pricing__card-desc {
    color: var(--text-dim);
    font-size: 0.88rem;
}

.pricing__card-price {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-bottom: 28px;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--border);
}
.pricing__amount {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1;
}
.pricing__card--featured .pricing__amount {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.pricing__card--premium .pricing__amount {
    color: var(--gold);
}
.pricing__currency {
    color: var(--text-dim);
    font-size: 0.9rem;
}

.pricing__features {
    list-style: none;
    margin-bottom: 32px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.pricing__features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.4;
}
.pricing__features li svg { flex-shrink: 0; margin-top: 2px; }

/* Pricing footer */
.pricing__footer {
    margin-top: 56px;
    text-align: center;
    padding: 36px;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}
.pricing__footer h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 20px;
}
.pricing__footer-items {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px 40px;
}
.pricing__footer-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

@media (max-width: 900px) {
    .pricing__grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
    .pricing__grid--2col { grid-template-columns: 1fr; max-width: 480px; }
    .pricing__card--featured { transform: none; }
    .pricing__card--featured:hover { transform: translateY(-4px); }
}

/* ========================================
   REGISTRATION
   ======================================== */
.registration {
    padding: 72px 0;
    position: relative;
    z-index: 1;
}

.registration__form-wrap {
    max-width: 640px;
    margin: 0 auto;
    padding: 48px;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    position: relative;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 16px;
}
.form-row .form-group { margin-bottom: 0; }

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
}

.form-group input,
.form-group select,
.form-group textarea {
    font-family: var(--font-body);
    font-size: 0.95rem;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: rgba(10, 15, 26, 0.6);
    color: var(--text);
    transition: all var(--transition);
    outline: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-dim);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(32,128,141,0.15);
}
.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' fill='none' stroke='%2394a3b8' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
}
.form-group select option {
    background: var(--bg-surface);
    color: var(--text);
}

.form-note {
    text-align: center;
    font-size: 0.82rem;
    color: var(--text-dim);
    margin-top: 16px;
}

.registration__success {
    text-align: center;
    padding: 32px 0;
    animation: fadeInUp 0.5s ease-out;
}
.registration__success-icon {
    margin-bottom: 20px;
    animation: successPop 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.registration__success h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--emerald);
    margin-bottom: 12px;
}
.registration__success p {
    color: var(--text-muted);
    max-width: 400px;
    margin: 0 auto;
    line-height: 1.6;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes successPop {
    0% { transform: scale(0); }
    60% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

@media (max-width: 600px) {
    .form-row { grid-template-columns: 1fr; }
    .registration__form-wrap { padding: 28px 20px; }
}

/* ========================================
   FAQ
   ======================================== */
.faq {
    padding: 64px 0;
    position: relative;
    z-index: 1;
}

.faq__list {
    max-width: 760px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.faq__item {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--bg-surface);
    overflow: hidden;
    transition: border-color var(--transition);
}
.faq__item:hover { border-color: rgba(32,128,141,0.3); }
.faq__item.active { border-color: var(--accent); }

.faq__question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 24px;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
    text-align: left;
    transition: color var(--transition);
}
.faq__question:hover { color: var(--cyan); }

.faq__chevron {
    flex-shrink: 0;
    color: var(--text-dim);
    transition: transform var(--transition), color var(--transition);
}
.faq__item.active .faq__chevron {
    transform: rotate(180deg);
    color: var(--cyan);
}

.faq__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.faq__answer p {
    padding: 0 24px 20px;
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.7;
}
.faq__item.active .faq__answer {
    max-height: 300px;
}

/* ========================================
   CONTACT
   ======================================== */
.contact {
    padding: 72px 0;
    position: relative;
    z-index: 1;
}

.contact__grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 48px;
    align-items: start;
}

.contact__info {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.contact__info-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.contact__info-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: rgba(32,128,141,0.1);
    border: 1px solid rgba(32,128,141,0.2);
    flex-shrink: 0;
}

.contact__info-item h4 {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 4px;
}
.contact__info-item a {
    font-size: 1rem;
    font-weight: 500;
}

.contact__socials {
    display: flex;
    gap: 12px;
    margin-top: 8px;
}
.contact__social {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    color: var(--text-dim);
    transition: all var(--transition);
}
.contact__social:hover {
    color: var(--cyan);
    border-color: var(--accent);
    background: rgba(32,128,141,0.08);
}

.contact__form {
    padding: 36px;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}

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

/* ========================================
   FOOTER
   ======================================== */
.footer {
    padding: 80px 0 0;
    border-top: 1px solid var(--border);
    background: rgba(10, 15, 26, 0.8);
    position: relative;
    z-index: 1;
}

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

.footer__brand { max-width: 320px; }
.footer__brand .nav__logo { margin-bottom: 16px; }
.footer__desc {
    color: var(--text-dim);
    font-size: 0.88rem;
    line-height: 1.6;
}

.footer__nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.footer__nav h4 {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 4px;
}
.footer__nav a {
    color: var(--text-dim);
    font-size: 0.88rem;
    transition: color var(--transition);
}
.footer__nav a:hover { color: var(--text); }

.footer__bottom {
    padding: 24px 0;
    border-top: 1px solid var(--border);
    text-align: center;
}
.footer__bottom p {
    color: var(--text-dim);
    font-size: 0.82rem;
}

@media (max-width: 768px) {
    .footer__grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
    .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
    .footer__grid { grid-template-columns: 1fr; }
}

/* ========================================
   FLOATING PARTICLES (Hero)
   ======================================== */
.particle {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
}

/* ========================================
   COOKIE BANNER
   ======================================== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10000;
    background: rgba(17, 24, 39, 0.97);
    backdrop-filter: blur(20px);
    border-top: 1px solid var(--border);
    padding: 1.5rem 2rem;
    animation: slideUp 0.4s ease;
}
@keyframes slideUp {
    from { transform: translateY(100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}
.cookie-banner__content {
    max-width: 1200px;
    margin: 0 auto;
}
.cookie-banner__text {
    margin-bottom: 1rem;
}
.cookie-banner__text strong {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--text);
}
.cookie-banner__text p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 0.3rem;
}
.cookie-banner__text a {
    color: var(--primary);
    text-decoration: underline;
}
.cookie-banner__actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}
.cookie-btn {
    padding: 0.6rem 1.4rem;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.2s;
}
.cookie-btn--accept {
    background: var(--primary);
    color: #fff;
}
.cookie-btn--accept:hover {
    background: var(--secondary);
    color: var(--bg);
}
.cookie-btn--necessary {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border);
}
.cookie-btn--necessary:hover {
    border-color: var(--primary);
    color: var(--primary);
}
.cookie-btn--settings {
    background: transparent;
    color: var(--text-muted);
    font-weight: 400;
    text-decoration: underline;
    padding: 0.6rem 0.5rem;
}
.cookie-btn--save {
    background: var(--cta);
    color: #fff;
    margin-top: 0.5rem;
}
.cookie-settings {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}
.cookie-toggle {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: var(--text);
    font-size: 0.9rem;
    cursor: pointer;
    flex-wrap: wrap;
}
.cookie-toggle input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
    cursor: pointer;
}
.cookie-toggle span {
    font-weight: 600;
}
.cookie-toggle small {
    color: var(--text-muted);
    font-size: 0.8rem;
    width: 100%;
    padding-left: 2.5rem;
    margin-top: -0.4rem;
}

/* GDPR MODAL */
.gdpr-modal {
    position: fixed;
    inset: 0;
    z-index: 10001;
    background: rgba(0,0,0,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}
.gdpr-modal__content {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2.5rem;
    max-width: 600px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    color: var(--text);
}
.gdpr-modal__close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.8rem;
    cursor: pointer;
    line-height: 1;
}
.gdpr-modal__close:hover {
    color: var(--text);
}
.gdpr-modal__content h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--primary);
}
.gdpr-modal__content h4 {
    font-size: 1.1rem;
    margin: 1rem 0 0.5rem;
    color: var(--text);
}
.gdpr-modal__content ul {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}
.gdpr-modal__content li {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}
.gdpr-modal__content p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 0.75rem;
}
.gdpr-modal__content a {
    color: var(--primary);
}

@media (max-width: 768px) {
    .cookie-banner { padding: 1rem; }
    .cookie-banner__actions { flex-direction: column; }
    .cookie-btn { width: 100%; text-align: center; }
}

/* ========================================
   LEGAL PAGES
   ======================================== */
.legal-page {
    padding: 80px 0 60px;
    position: relative;
    z-index: 1;
    min-height: 100vh;
}

.legal-page__container {
    max-width: 820px;
    margin: 0 auto;
    padding: 0 24px;
}

.legal-page__back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
    padding: 10px 18px;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: var(--bg-surface);
    transition: all var(--transition);
    margin-bottom: 32px;
}
.legal-page__back:hover {
    color: var(--cyan);
    border-color: var(--accent);
    background: rgba(32,128,141,0.08);
}
.legal-page__back--bottom {
    margin-top: 48px;
    margin-bottom: 0;
}

.legal-page__article {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 48px 48px 56px;
}

.legal-page__header {
    text-align: center;
    margin-bottom: 48px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--border);
}

.legal-page__title {
    font-family: var(--font-heading);
    font-size: clamp(1.6rem, 3.5vw, 2.2rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-top: 16px;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.legal-page__meta {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-top: 16px;
    font-size: 0.85rem;
    color: var(--text-dim);
    font-weight: 500;
}

.legal-section {
    margin-bottom: 40px;
}

.legal-page__article h2 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 20px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
    letter-spacing: -0.01em;
}

.legal-section:first-of-type h2 {
    border-top: none;
    padding-top: 0;
}

.legal-page__article h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text);
    margin-top: 24px;
    margin-bottom: 12px;
}

.legal-page__article h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--accent);
    margin-top: 20px;
    margin-bottom: 10px;
}

.legal-page__article p {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.75;
    margin-bottom: 12px;
}

.legal-page__article ul,
.legal-page__article ol {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.75;
    margin-bottom: 16px;
    padding-left: 24px;
}

.legal-page__article li {
    margin-bottom: 6px;
}

.legal-page__article strong {
    color: var(--text);
    font-weight: 600;
}

.legal-page__article a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 2px;
}
.legal-page__article a:hover {
    color: var(--cyan);
}

.legal-table-wrap {
    overflow-x: auto;
    margin: 16px 0 20px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.legal-page__article table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.88rem;
}

.legal-page__article thead th {
    background: rgba(32,128,141,0.1);
    color: var(--text);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    text-align: left;
    padding: 12px 16px;
    border-bottom: 1px solid var(--border);
}

.legal-page__article tbody td {
    color: var(--text-muted);
    padding: 10px 16px;
    border-bottom: 1px solid rgba(30, 41, 59, 0.3);
}

.legal-page__article tbody tr:last-child td {
    border-bottom: none;
}

.legal-page__article tbody tr:hover {
    background: rgba(32,128,141,0.04);
}

.legal-page__effective {
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
    text-align: center;
}

.legal-page__effective p {
    color: var(--text-dim);
    font-size: 0.88rem;
}

@media (max-width: 600px) {
    .legal-page__article {
        padding: 28px 20px 36px;
    }
    .legal-page__meta {
        flex-direction: column;
        gap: 4px;
    }
    .legal-page__article h2 {
        font-size: 1.2rem;
    }
}

/* REFERENCES SECTION */
.references {
    padding: 72px 0;
    border-top: 1px solid rgba(255,255,255,0.06);
}
.references__grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin-top: 48px;
}
.references__item {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    padding: 18px 32px;
    font-family: 'Syne', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: rgba(255,255,255,0.85);
    letter-spacing: 0.02em;
    transition: all 0.3s ease;
}
.references__item:hover {
    border-color: var(--accent);
    background: rgba(32, 128, 141, 0.08);
    color: #fff;
    transform: translateY(-2px);
}
.references__note {
    text-align: center;
    margin-top: 36px;
    color: rgba(255,255,255,0.5);
    font-size: 0.95rem;
}
.references__note a {
    color: var(--cyan);
}

/* FOOTER COMPANY & POWERED */
.footer__company {
    margin-bottom: 8px;
}
.footer__company p {
    color: rgba(255,255,255,0.4);
    font-size: 0.85rem;
}
.footer__powered {
    margin-top: 20px;
    display: flex;
    justify-content: center;
}
.footer__powered-link {
    display: inline-flex;
    align-items: center;
    padding: 10px 24px;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 999px;
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
    background: rgba(255,255,255,0.02);
}
.footer__powered-link:hover {
    border-color: var(--accent);
    color: rgba(255,255,255,0.8);
    background: rgba(32, 128, 141, 0.06);
}
.footer__powered-brand {
    color: var(--cyan);
    font-weight: 600;
    margin-left: 6px;
}
.footer__bottom {
    text-align: center;
}

@media (max-width: 600px) {
    .references__grid {
        gap: 10px;
    }
    .references__item {
        padding: 14px 20px;
        font-size: 0.9rem;
    }
}

/* ========================================
   UPGRADE: OnlineTeam.AI 10/10 Additions
   ======================================== */

/* --- Hero: Typing Animation --- */
.hero__typing-wrapper {
    display: inline-flex;
    align-items: center;
    gap: 2px;
}

.hero__typing {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    min-width: 16ch;
    display: inline-block;
}

.hero__cursor {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 300;
    animation: cursorBlink 1s step-end infinite;
    display: inline-block;
}

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

/* --- Hero: Gradient Glow Orb --- */
.hero__glow-orb {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(ellipse at center, rgba(0, 229, 255, 0.08) 0%, rgba(32, 128, 141, 0.06) 40%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -60%);
    pointer-events: none;
    animation: orbPulse 6s ease-in-out infinite;
    z-index: 0;
    filter: blur(20px);
}

@keyframes orbPulse {
    0%, 100% { transform: translate(-50%, -60%) scale(1); opacity: 0.7; }
    50% { transform: translate(-50%, -60%) scale(1.15); opacity: 1; }
}

/* Ensure hero content is above the orb */
.hero__content > *:not(.hero__glow-orb) {
    position: relative;
    z-index: 1;
}

/* --- Hero: Animated gradient bg --- */
@keyframes heroGradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hero {
    background: linear-gradient(-45deg, #0a0f1a, #0d1520, #0a1a1f, #0a0f1a);
    background-size: 400% 400%;
    animation: heroGradientShift 15s ease infinite;
}

/* --- METRICS BAR --- */
.metrics {
    padding: 4.5rem 0;
    background: linear-gradient(135deg, rgba(32, 128, 141, 0.06), rgba(0, 229, 255, 0.04));
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.metrics::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 0%, rgba(0, 229, 255, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.metrics__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}

.metrics__item {
    text-align: center;
    padding: 2rem 1.5rem;
    position: relative;
}

.metrics__item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 20%;
    height: 60%;
    width: 1px;
    background: linear-gradient(to bottom, transparent, var(--border-light), transparent);
}

.metrics__number {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.metrics__number--text {
    /* Static text version - no counter needed */
}

.metrics__label {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.25rem;
}

.metrics__sub {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.metrics__item.reveal.visible .metrics__number {
    animation: metricPop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes metricPop {
    0% { transform: scale(0.8); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

/* --- STEPS: Gradient Number Circles & Hover Glow --- */
/* Override: Gradient circle background for step numbers */
.steps__card .steps__number {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(32,128,141,0.2), rgba(0,229,255,0.12)) !important;
    border: 1.5px solid rgba(0,229,255,0.3);
    color: var(--cyan);
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: unset !important;
    background-clip: unset !important;
    box-shadow: 0 0 12px rgba(0,229,255,0.1), inset 0 1px 0 rgba(255,255,255,0.05);
    transition: box-shadow var(--transition), transform var(--transition);
}

.steps__card:hover .steps__number {
    box-shadow: 0 0 20px rgba(0,229,255,0.25), inset 0 1px 0 rgba(255,255,255,0.08);
    transform: scale(1.05);
}

/* Steps card hover glow */
.steps__card {
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition) !important;
}

.steps__card:hover {
    transform: translateY(-4px) scale(1.02) !important;
    box-shadow: 0 12px 40px rgba(0,229,255,0.15), 0 0 0 1px rgba(0,229,255,0.2) !important;
    border-color: rgba(0,229,255,0.3) !important;
}

/* Connector pulse animation */
.steps__connector svg line {
    stroke-dasharray: 4 4;
    animation: connectorPulse 2s linear infinite;
}

@keyframes connectorPulse {
    0% { stroke-dashoffset: 0; }
    100% { stroke-dashoffset: -16; }
}

/* --- COMPARISON TABLE --- */
.comparison {
    padding: 4.5rem 0;
    position: relative;
}

.comparison__wrap {
    max-width: 900px;
    margin: 0 auto;
}

.comparison__table-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: var(--radius-lg);
    box-shadow: 0 8px 40px rgba(0,0,0,0.4);
}

.comparison__table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-surface);
    border-radius: var(--radius-lg);
    overflow: hidden;
    min-width: 560px;
}

.comparison__th {
    padding: 1.25rem 1.5rem;
    text-align: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    background: rgba(255,255,255,0.03);
    border-bottom: 1px solid var(--border);
    white-space: nowrap;
}

.comparison__th--feature {
    text-align: left;
    width: 30%;
    background: transparent;
}

.comparison__th--us {
    background: linear-gradient(135deg, rgba(32,128,141,0.2), rgba(0,229,255,0.1));
    border-left: 2px solid var(--accent);
    border-right: 2px solid var(--accent);
    color: var(--cyan);
    position: relative;
}

.comparison__th-badge {
    display: block;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--emerald);
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.25);
    border-radius: 100px;
    padding: 0.15rem 0.6rem;
    margin-bottom: 0.4rem;
    display: inline-block;
}

.comparison__th-name {
    display: block;
}

.comparison__th--them {
    color: var(--text-muted);
}

.comparison__row {
    border-bottom: 1px solid var(--border);
    transition: background var(--transition);
}

.comparison__row:hover {
    background: rgba(255,255,255,0.02);
}

.comparison__row--alt {
    background: rgba(255,255,255,0.015);
}

.comparison__row--alt:hover {
    background: rgba(255,255,255,0.035);
}

.comparison__row:last-child {
    border-bottom: none;
}

.comparison__feature {
    padding: 1rem 1.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text);
}

.comparison__us,
.comparison__them {
    padding: 1rem 1.5rem;
    text-align: center;
    font-size: 0.875rem;
}

.comparison__us {
    border-left: 2px solid rgba(32,128,141,0.3);
    border-right: 2px solid rgba(32,128,141,0.3);
    color: var(--text);
    font-weight: 500;
}

.comparison__them {
    color: var(--text-muted);
}

.comparison__check,
.comparison__cross {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    margin-right: 6px;
    flex-shrink: 0;
    vertical-align: middle;
}

.comparison__check {
    background: rgba(16, 185, 129, 0.12);
}

.comparison__cross {
    background: rgba(239, 68, 68, 0.1);
}

/* --- TRUST STRIP --- */
.trust-strip {
    padding: 3rem 0;
    background: linear-gradient(135deg, rgba(32,128,141,0.04), rgba(0,229,255,0.03));
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.trust-strip__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.trust-strip__item {
    display: flex;
    align-items: center;
    gap: 0.875rem;
}

.trust-strip__icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius);
    background: rgba(0, 229, 255, 0.06);
    border: 1px solid rgba(0, 229, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background var(--transition), box-shadow var(--transition);
}

.trust-strip__item:hover .trust-strip__icon {
    background: rgba(0, 229, 255, 0.1);
    box-shadow: 0 0 12px rgba(0, 229, 255, 0.1);
}

.trust-strip__text strong {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.1rem;
    line-height: 1.3;
}

.trust-strip__text span {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* --- PREMIUM CARD: Enhanced glowing border animation --- */
.pricing__card--premium {
    position: relative;
    overflow: hidden;
}

.pricing__card--premium::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: calc(var(--radius-lg) + 2px);
    background: linear-gradient(135deg, var(--gold), var(--accent), var(--cyan), var(--gold));
    background-size: 300% 300%;
    animation: premiumBorderSpin 4s linear infinite;
    z-index: 0;
    opacity: 0.8;
}

.pricing__card--premium::after {
    content: '';
    position: absolute;
    inset: 2px;
    border-radius: var(--radius-lg);
    background: var(--bg-surface);
    z-index: 1;
}

.pricing__card--premium > * {
    position: relative;
    z-index: 2;
}

@keyframes premiumBorderSpin {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Enhanced hover on all interactive cards */
.services__card {
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition) !important;
}

.services__card:hover {
    transform: translateY(-4px) scale(1.02) !important;
    box-shadow: 0 12px 40px rgba(0,229,255,0.12), 0 0 0 1px rgba(0,229,255,0.15) !important;
    border-color: rgba(0,229,255,0.25) !important;
}

.why__stat {
    transition: transform var(--transition), box-shadow var(--transition) !important;
}

.why__stat:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 30px rgba(0,229,255,0.1) !important;
}

.faq__item {
    transition: border-color var(--transition) !important;
}

.faq__item:hover {
    border-color: rgba(0,229,255,0.2) !important;
}

.references__item {
    transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition) !important;
}

.references__item:hover {
    transform: translateY(-2px) !important;
    border-color: rgba(0,229,255,0.3) !important;
    box-shadow: 0 4px 20px rgba(0,229,255,0.1) !important;
}

/* Standard pricing card hover */
.pricing__card:not(.pricing__card--premium) {
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition) !important;
}

.pricing__card:not(.pricing__card--premium):hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 12px 40px rgba(32,128,141,0.15), 0 0 0 1px rgba(32,128,141,0.2) !important;
    border-color: rgba(32,128,141,0.3) !important;
}

/* --- MOBILE RESPONSIVENESS for new sections --- */
@media (max-width: 768px) {
    .metrics__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0;
    }

    .metrics__item:nth-child(2n)::after {
        display: none;
    }

    .metrics__item:nth-child(1),
    .metrics__item:nth-child(2) {
        border-bottom: 1px solid var(--border);
    }

    .trust-strip__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }

    .comparison__table-scroll {
        border-radius: var(--radius);
    }

    .comparison__feature,
    .comparison__us,
    .comparison__them {
        padding: 0.875rem 1rem;
        font-size: 0.8rem;
    }

    .comparison__th {
        padding: 1rem;
        font-size: 0.8rem;
    }

    .hero__glow-orb {
        width: 300px;
        height: 300px;
    }

    .hero__typing {
        min-width: auto;
    }
}

@media (max-width: 480px) {
    .metrics__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .trust-strip__grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .metrics__number {
        font-size: 2rem;
    }
}

/* Mobile: hero cursor hidden on very small screens to avoid overflow */
@media (max-width: 375px) {
    .hero__typing {
        min-width: auto;
    }
    .hero__typing-wrapper {
        display: block;
    }
}


/* ===== NEW SERVICES GRID ===== */
.svc-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 48px;
}
.svc-grid .svc-card:nth-child(4),
.svc-grid .svc-card:nth-child(5) {
    /* Center the bottom 2 cards */
}
.svc-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    padding: 28px 24px;
    transition: all 0.3s ease;
}
.svc-card:hover {
    border-color: var(--accent);
    background: rgba(32, 128, 141, 0.06);
    transform: translateY(-3px);
    box-shadow: 0 8px 32px rgba(0, 229, 255, 0.08);
}
.svc-card__header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
}
.svc-card__icon-wrap {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(0, 229, 255, 0.08);
    border: 1px solid rgba(0, 229, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cyan);
    flex-shrink: 0;
}
.svc-card__title {
    font-family: 'Syne', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 18px 0;
}
.svc-card__header + .svc-card__list { margin-top: 0; }
.svc-card__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.svc-card__list li {
    font-size: 0.95rem;
    color: var(--cyan);
    display: flex;
    align-items: center;
    gap: 8px;
    line-height: 1.3;
}
.svc-check {
    color: var(--accent);
    font-weight: 700;
    font-size: 0.9rem;
    flex-shrink: 0;
}
.svc-diamond {
    font-size: 0.8rem;
    flex-shrink: 0;
}
@media (max-width: 900px) {
    .svc-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .svc-grid { grid-template-columns: 1fr; }
    .svc-card { padding: 22px 18px; }
}

/* ===== TEAM SECTION ===== */
.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 48px;
}
.team-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
}
.team-card:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 229, 255, 0.1);
}
.team-card--accent {
    border-color: var(--accent);
    background: rgba(32, 128, 141, 0.08);
}
.team-card--human {
    border-color: var(--emerald);
    background: rgba(16, 185, 129, 0.06);
}
.team-card__badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 4px 12px;
    border-radius: 999px;
    background: rgba(0, 229, 255, 0.1);
    color: var(--cyan);
    margin-bottom: 16px;
}
.badge--human {
    background: rgba(16, 185, 129, 0.12);
    color: var(--emerald);
}
.team-card__icon {
    margin: 0 auto 16px;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.team-card__title {
    font-family: 'Syne', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 10px 0;
}
.team-card__desc {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.55);
    line-height: 1.5;
    margin: 0 0 16px 0;
}
.team-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
}
.team-card__tags span {
    font-size: 0.72rem;
    padding: 3px 10px;
    border-radius: 999px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.5);
}
.team-card--human .team-card__tags span {
    border-color: rgba(16, 185, 129, 0.2);
    color: rgba(16, 185, 129, 0.7);
}

/* Team flow diagram */
.team-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 40px;
    padding: 24px;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 16px;
}
.team-flow__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}
.team-flow__label {
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--cyan);
}
.team-flow__item--human .team-flow__label {
    color: var(--emerald);
}
.team-flow__desc {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.4);
}
.team-flow__arrow {
    color: var(--accent);
    font-size: 1.3rem;
    opacity: 0.5;
}

@media (max-width: 900px) {
    .team-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .team-grid { grid-template-columns: 1fr; }
    .team-flow { flex-wrap: wrap; gap: 8px; }
    .team-flow__arrow { font-size: 1rem; }
}

/* ===== 10/10 POLISH ===== */

/* Services: center bottom 2 cards */
.svc-grid {
    justify-items: center;
}
.svc-grid .svc-card {
    width: 100%;
    border: 1px solid rgba(0, 229, 255, 0.1);
}
.svc-grid .svc-card:hover {
    border-color: rgba(0, 229, 255, 0.35);
}

/* Center the last row (2 cards) */
@media (min-width: 901px) {
    .svc-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
    }
    /* When 5 items: last 2 should center */
    .svc-grid .svc-card:nth-child(4) {
        grid-column: 1 / 2;
        margin-left: auto;
        max-width: 100%;
    }
    .svc-grid .svc-card:nth-child(5) {
        grid-column: 3 / 4;
        margin-right: auto;
        max-width: 100%;
    }
    /* Actually, better: use flexbox for centering */
    .svc-grid {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }
    .svc-grid .svc-card {
        width: calc(33.333% - 14px);
        max-width: 360px;
    }
    .svc-grid .svc-card:nth-child(4),
    .svc-grid .svc-card:nth-child(5) {
        width: calc(33.333% - 14px);
    }
}

/* Team cards: make accent and human cards visually pop more */
.team-card {
    border: 1px solid rgba(0, 229, 255, 0.1);
}
.team-card--accent {
    border-color: var(--cyan) !important;
    box-shadow: 0 0 24px rgba(0, 229, 255, 0.1), inset 0 1px 0 rgba(0, 229, 255, 0.15);
    background: rgba(0, 229, 255, 0.04);
}
.team-card--human {
    border-color: var(--emerald) !important;
    box-shadow: 0 0 24px rgba(16, 185, 129, 0.1), inset 0 1px 0 rgba(16, 185, 129, 0.15);
    background: rgba(16, 185, 129, 0.04);
}
.team-card--human .team-card__title {
    color: var(--emerald);
}

/* Bigger team icons */
.team-card__icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: rgba(0, 229, 255, 0.06);
    border: 1px solid rgba(0, 229, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
}
.team-card--human .team-card__icon {
    background: rgba(16, 185, 129, 0.06);
    border-color: rgba(16, 185, 129, 0.15);
}

/* Services card icon bigger & more prominent */
.svc-card__icon-wrap {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(0, 229, 255, 0.1);
    border: 1px solid rgba(0, 229, 255, 0.2);
}

/* Premium pricing card extra glow */
.pricing__card--premium,
.pricing__card--featured {
    border: 2px solid var(--cyan) !important;
    box-shadow: 0 0 40px rgba(0, 229, 255, 0.12), 0 0 80px rgba(0, 229, 255, 0.05);
}

/* Comparison table: more contrast on our column */
.comparison__col--ours {
    background: rgba(0, 229, 255, 0.04);
}

/* Reference badges: subtle border glow */
.references__item {
    border: 1px solid rgba(0, 229, 255, 0.12);
}
.references__item:hover {
    border-color: rgba(0, 229, 255, 0.4);
    box-shadow: 0 4px 20px rgba(0, 229, 255, 0.1);
}

/* Metrics numbers: bigger impact */
.metrics__number {
    font-size: clamp(2.5rem, 6vw, 4rem);
}

/* Trust strip: subtle glow on icons */
.trust-strip__icon {
    box-shadow: 0 0 16px rgba(0, 229, 255, 0.08);
}

/* FAQ items: cleaner hover */
.faq__item {
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 12px;
    margin-bottom: 8px;
    transition: border-color 0.3s ease;
}
.faq__item:hover {
    border-color: rgba(0, 229, 255, 0.2);
}

/* Smooth page-wide transitions */
section {
    transition: opacity 0.3s ease;
}

/* Hero glow orb: ensure visibility */
.hero__glow-orb {
    opacity: 0.6 !important;
    width: 500px !important;
    height: 500px !important;
}

/* Flow diagram: bigger arrows, more spacing */
.team-flow {
    gap: 20px;
    padding: 28px 32px;
    border: 1px solid rgba(0, 229, 255, 0.1);
}
.team-flow__label {
    font-size: 1rem;
}
.team-flow__arrow {
    font-size: 1.5rem;
    color: var(--cyan);
    opacity: 0.7;
}

/* ===== LANGUAGE SWITCHER ===== */
.lang-switch {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: 16px;
}
.lang-switch__item {
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.78rem;
    font-weight: 600;
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}
.lang-switch__item:hover {
    color: var(--cyan);
    border-color: rgba(0, 229, 255, 0.2);
}
.lang-switch__item--active {
    color: var(--cyan);
    background: rgba(0, 229, 255, 0.1);
    border-color: rgba(0, 229, 255, 0.2);
}

/* ===== RTL SUPPORT ===== */
[dir="rtl"] {
    text-align: right;
}
[dir="rtl"] .nav__container,
[dir="rtl"] .hero__actions,
[dir="rtl"] .svc-card__header,
[dir="rtl"] .team-flow {
    direction: rtl;
}
[dir="rtl"] .svc-card__list li,
[dir="rtl"] .pricing__features li {
    direction: rtl;
    text-align: right;
}
[dir="rtl"] .lang-switch {
    margin-left: 0;
    margin-right: 16px;
}
[dir="rtl"] .nav__logo {
    margin-right: 0;
}
[dir="rtl"] .footer__grid {
    direction: rtl;
}
[dir="rtl"] body {
    font-family: 'Noto Sans Arabic', 'Plus Jakarta Sans', sans-serif;
}
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3, [dir="rtl"] h4,
[dir="rtl"] .svc-card__title, [dir="rtl"] .team-card__title,
[dir="rtl"] .pricing__card-name, [dir="rtl"] .section-title {
    font-family: 'Noto Sans Arabic', 'Syne', sans-serif;
}
[dir="rtl"] .trust-bar__slide {
    animation-direction: reverse;
}
[dir="rtl"] .section-header {
    text-align: center;
}
[dir="rtl"] .comparison__table {
    direction: rtl;
}

@media (max-width: 768px) {
    .lang-switch {
        margin-left: 8px;
    }
    .lang-switch__item {
        padding: 3px 8px;
        font-size: 0.72rem;
    }
}

/* Nav links: prevent wrapping */
.nav__link, .nav__cta {
    white-space: nowrap;
}

/* ===== MOBILE FIXES ===== */
@media (max-width: 768px) {
    /* Hero: center text, smaller font */
    .hero__title {
        font-size: clamp(1.6rem, 6vw, 2.2rem) !important;
        text-align: center;
        max-width: 100%;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    .hero__title br {
        display: inline;
    }
    .hero__typing-wrapper {
        display: block;
        margin-top: 8px;
    }
    .hero__typing {
        font-size: clamp(1rem, 4.5vw, 1.4rem) !important;
    }
    .hero__sub {
        text-align: center;
        font-size: 0.9rem !important;
        max-width: 100% !important;
        padding: 0 20px;
    }
    .hero__actions {
        justify-content: center;
        flex-wrap: wrap;
        padding: 0 20px;
    }
    .section-sub {
        max-width: 100% !important;
        padding: 0 16px;
        font-size: 0.95rem !important;
    }
    .section-title {
        padding: 0 12px;
    }
    .comparison__table-scroll {
        font-size: 0.85rem;
    }
    .pricing__title {
        font-size: clamp(1.4rem, 6vw, 2rem) !important;
        padding: 0 12px;
    }
    .hero .section-label,
    .hero__trust {
        text-align: center;
        display: flex;
        justify-content: center;
    }
    
    /* Section headers: always center on mobile */
    .section-header {
        text-align: center !important;
    }
    .section-title {
        font-size: clamp(1.6rem, 7vw, 2.2rem) !important;
    }
    
    /* Metrics: ensure no overflow */
    .metrics {
        overflow: hidden;
    }
    .metrics__grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 16px !important;
        padding: 0 8px;
    }
    .metrics__number {
        font-size: clamp(2rem, 10vw, 3rem) !important;
    }
    
    /* Services cards: center content */
    .svc-card {
        text-align: left;
    }
    
    /* Team flow: vertical on mobile */
    .team-flow {
        flex-direction: column !important;
        gap: 8px !important;
        padding: 20px !important;
    }
    .team-flow__arrow {
        transform: rotate(90deg);
        font-size: 1.2rem !important;
    }
    
    /* References: center grid */
    .references__grid {
        justify-content: center !important;
    }
    .references__item {
        padding: 14px 20px !important;
        font-size: 0.88rem !important;
    }
    
    /* Pricing cards: full width */
    .pricing__grid, .pricing__grid--2col {
        grid-template-columns: 1fr !important;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
    
    /* Footer: reduce gap before footer */
    .footer {
        padding-top: 40px !important;
    }
    .footer__grid {
        grid-template-columns: 1fr !important;
        gap: 32px !important;
        text-align: center;
    }
    .footer__brand {
        text-align: center;
    }
    .footer__nav {
        text-align: center;
    }
    .footer__nav a {
        display: block;
        padding: 4px 0;
    }
    .contact__socials {
        justify-content: center;
    }
    
    /* Comparison table: smaller text */
    .comparison__table {
        font-size: 0.85rem;
    }
    
    /* Trust strip: 2 columns on mobile */
    .trust-strip__grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 12px !important;
    }
    
    /* Cookie banner: tighter */
    .cookie-banner__content {
        padding: 16px !important;
    }
    
    /* Registration form */
    .form-row {
        grid-template-columns: 1fr !important;
    }
    
    /* Hero badge center */
    .hero__badge {
        display: flex;
        justify-content: center;
    }
}

/* Small phones */
@media (max-width: 400px) {
    .hero__title {
        font-size: 1.6rem !important;
    }
    .metrics__grid {
        grid-template-columns: 1fr 1fr !important;
    }
    .references__grid {
        grid-template-columns: 1fr !important;
    }
}

/* Pricing amount: prevent line break on mobile */
@media (max-width: 768px) {
    .pricing__amount {
        font-size: clamp(2rem, 10vw, 2.8rem) !important;
        white-space: nowrap;
    }
    .pricing__currency {
        font-size: 0.85rem;
        white-space: nowrap;
    }
    .pricing__card-price {
        flex-wrap: nowrap;
        align-items: baseline;
    }
}

/* Typing text: slightly smaller to prevent wrapping */
.hero__typing-wrapper {
    font-size: 0.85em;
    display: block;
    white-space: nowrap;
}

/* Services: center everything */
.svc-grid {
    display: flex !important;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}
.svc-grid .svc-card {
    flex: 0 0 calc(33.333% - 14px);
    max-width: 360px;
    text-align: center;
}
.svc-card__header {
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.svc-card__list {
    display: inline-flex !important;
    flex-direction: column;
    align-items: flex-start;
}
.svc-card__icon-wrap {
    margin: 0 auto 12px;
}
.svc-card__title {
    text-align: center;
}

/* Section titles: reduce size to avoid wrapping */
.section-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem) !important;
}

@media (max-width: 1100px) {
    .svc-grid .svc-card {
        flex: 0 0 calc(50% - 12px);
    }
}
@media (max-width: 700px) {
    .svc-grid .svc-card {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* Gold star for premium items */
.svc-diamond, .services__premium-badge {
    color: #d4a843 !important;
    font-size: 0.85rem;
}
.svc-card__list li .svc-diamond {
    color: #d4a843 !important;
}
.services__legend .svc-diamond,
.services__legend {
    color: rgba(255,255,255,0.5);
}

/* Registration heading: fit on one line */
.registration .section-title {
    font-size: clamp(1.5rem, 3.5vw, 2.4rem) !important;
    white-space: nowrap;
}
@media (max-width: 600px) {
    .registration .section-title {
        white-space: normal !important;
        font-size: clamp(1.4rem, 6vw, 1.8rem) !important;
    }
}

/* FIX: Center bottom row of service cards */
.svc-grid {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 20px !important;
}
.svc-grid .svc-card {
    flex: 0 0 calc(33.333% - 14px) !important;
    max-width: 380px !important;
}
@media (max-width: 1100px) {
    .svc-grid .svc-card {
        flex: 0 0 calc(50% - 12px) !important;
    }
}
@media (max-width: 700px) {
    .svc-grid .svc-card {
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }
}

/* FIX: Gold star ★ for premium items */
.svc-card__list li {
    color: var(--cyan);
}
.svc-card__list li .svc-check {
    color: var(--cyan);
}
.svc-card__list li .svc-diamond {
    color: #d4a843 !important;
    filter: none;
}
/* Also target ★ character directly */
.svc-card__list li:has(.svc-diamond) {
    color: #d4a843;
}

/* ===== FORCE FIX: GOLD STARS + CENTER ===== */

/* Gold color for ALL star characters in service lists */
.svc-card__list li .svc-diamond,
.svc-card .svc-diamond,
span.svc-diamond {
    color: #d4a843 !important;
    font-size: 1rem !important;
}

/* Also make the text after the star gold */
.svc-card__list li:nth-child(n) {
    color: var(--cyan);
}

/* Force center the entire svc-grid and cards */
section.services .svc-grid,
.svc-grid {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    align-items: stretch !important;
    gap: 20px !important;
}

/* All cards same width, centered */
section.services .svc-grid .svc-card,
.svc-grid > .svc-card {
    flex: 0 1 320px !important;
    max-width: 360px !important;
    text-align: center !important;
}

/* Center the icon and title inside cards */
section.services .svc-card .svc-card__icon-wrap,
.svc-card .svc-card__icon-wrap {
    margin-left: auto !important;
    margin-right: auto !important;
}
section.services .svc-card .svc-card__title,
.svc-card .svc-card__title {
    text-align: center !important;
}

/* Center the list but keep items left-aligned internally */
section.services .svc-card .svc-card__list,
.svc-card .svc-card__list {
    display: inline-flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    text-align: left !important;
    margin: 0 auto !important;
}

/* Legend centered */
.services__legend {
    text-align: center !important;
}
.services__legend .svc-diamond,
.services__legend span.svc-diamond {
    color: #d4a843 !important;
}

@media (max-width: 700px) {
    section.services .svc-grid .svc-card,
    .svc-grid > .svc-card {
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }
}

/* GOLD STAR: definitive fix */
.svc-star {
    color: #d4a843 !important;
    font-size: 1rem;
    font-style: normal;
}
/* Star list items: gold text */
.svc-card__list li:has(.svc-star) {
    color: #d4a843 !important;
}

/* ===== DEFINITIVE LIST CENTERING ===== */
/* Remove inline-flex, use simple centered block */
section.services .svc-card .svc-card__list,
.svc-card .svc-card__list,
.svc-card__list {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 10px !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
}
section.services .svc-card .svc-card__list li,
.svc-card .svc-card__list li,
.svc-card__list li {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    text-align: center !important;
}

/* ===== MOBILE FIXES v2 ===== */
@media (max-width: 768px) {

    /* 1. FOOTER: center everything */
    .footer__grid {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        gap: 32px !important;
    }
    .footer__brand,
    .footer__nav,
    .footer__bottom,
    .footer__company,
    .footer__powered {
        text-align: center !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }
    .footer__nav a {
        display: block !important;
        text-align: center !important;
    }
    .contact__socials {
        justify-content: center !important;
    }

    /* 2. METRICS: single column on mobile */
    .metrics__grid,
    .metrics .metrics__grid {
        grid-template-columns: 1fr !important;
        gap: 32px !important;
    }

    /* 3. TRUST STRIP: single column on mobile */
    .trust-strip__grid,
    .trust-strip .trust-strip__grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    .trust-strip__item {
        text-align: center !important;
        justify-content: center !important;
        flex-direction: column !important;
        align-items: center !important;
    }

    /* 4. Section titles: smaller to prevent wrapping */
    .steps .section-title,
    .services .section-title {
        font-size: clamp(1.3rem, 5.5vw, 1.7rem) !important;
        white-space: normal !important;
    }

    /* 5. COMPARISON TABLE: fit on screen, smaller font */
    .comparison__table-scroll {
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch;
    }
    .comparison__table {
        font-size: 0.75rem !important;
        min-width: 100% !important;
    }
    .comparison__table th,
    .comparison__table td {
        padding: 8px 6px !important;
        font-size: 0.72rem !important;
    }
    .comparison__th-name {
        font-size: 0.8rem !important;
    }
    .comparison__table .comparison__check,
    .comparison__table .comparison__x {
        font-size: 0.9rem !important;
    }
    /* Make table columns narrower */
    .comparison__table td:first-child,
    .comparison__table th:first-child {
        min-width: 70px !important;
        max-width: 80px !important;
    }
    .comparison__table td:nth-child(2),
    .comparison__table th:nth-child(2),
    .comparison__table td:nth-child(3),
    .comparison__table th:nth-child(3) {
        min-width: 110px !important;
    }
}

/* Contact info: center on mobile */
@media (max-width: 768px) {
    .contact__info {
        text-align: center !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }
    .contact__info-item {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
    }
    .contact__info-item div {
        text-align: center !important;
    }
    .contact__grid {
        text-align: center !important;
    }
    
    /* 3. Even smaller section titles for team and services */
    .steps .section-title,
    .services .section-title {
        font-size: 1.3rem !important;
        line-height: 1.3 !important;
    }
}
