:root {
    --brand: #E84A5F;
    --brand-hover: #ff6b7a;
    --brand-light: rgba(232, 74, 95, 0.1);
    --brand-glow: rgba(232, 74, 95, 0.4);
    --brand-gradient: linear-gradient(135deg, #E84A5F 0%, #ff8a95 100%);

    --accent-purple: #8b5cf6;
    --accent-blue: #3b82f6;
    --accent-green: #22c55e;
    --accent-cyan: #06b6d4;

    --bg-deep: #0c0c14;
    --bg-primary: #111119;
    --bg-secondary: #17171f;
    --bg-elevated: #1d1d27;
    --bg-card: rgba(30, 30, 42, 0.55);
    --bg-glass: rgba(255, 255, 255, 0.04);

    --text-primary: #ffffff;
    --text-secondary: #a0a0b0;
    --text-muted: #606070;

    --border-subtle: rgba(255, 255, 255, 0.06);
    --border-light: rgba(255, 255, 255, 0.1);
    --border-glow: rgba(232, 74, 95, 0.3);

    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 28px;
    --radius-xl: 36px;
    --radius-full: 9999px;

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.4);
    --shadow-glow: 0 0 60px var(--brand-glow);

    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Rubik', -apple-system, sans-serif;
    background: var(--bg-deep);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    max-width: 100vw;
}

/* Animated Background */
.page-bg {
    position: fixed;
    inset: 0;
    z-index: -1;
    overflow: hidden;
}

.page-bg::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 100%;
    height: 150%;
    background: radial-gradient(ellipse 60% 40% at 70% 30%, rgba(232, 74, 95, 0.15) 0%, transparent 60%);
    animation: float-bg 20s ease-in-out infinite;
}

.page-bg::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -20%;
    width: 80%;
    height: 80%;
    background: radial-gradient(ellipse 50% 50% at 30% 70%, rgba(139, 92, 246, 0.08) 0%, transparent 60%);
    animation: float-bg 25s ease-in-out infinite reverse;
}

@keyframes float-bg {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(30px, -20px) scale(1.05); }
}

/* Floating Orbs */
.orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    pointer-events: none;
    z-index: -1;
}

.orb--1 {
    width: 600px;
    height: 600px;
    background: var(--brand);
    top: -200px;
    right: -200px;
    opacity: 0.12;
    animation: orb-float 30s ease-in-out infinite;
}

.orb--2 {
    width: 400px;
    height: 400px;
    background: var(--accent-purple);
    bottom: 20%;
    left: -100px;
    opacity: 0.08;
    animation: orb-float 25s ease-in-out infinite reverse;
}

.orb--3 {
    width: 300px;
    height: 300px;
    background: var(--accent-cyan);
    top: 60%;
    right: 10%;
    opacity: 0.06;
    animation: orb-float 35s ease-in-out infinite;
}

@keyframes orb-float {
    0%, 100% { transform: translate(0, 0); }
    33% { transform: translate(30px, -40px); }
    66% { transform: translate(-20px, 20px); }
}

/* Grid Pattern Overlay */
.grid-pattern {
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    z-index: -1;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black, transparent);
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
    width: 100%;
    box-sizing: border-box;
}

section {
    padding: 140px 0;
    position: relative;
}

/* ============================================
   POPUP
============================================ */
.popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(5, 5, 7, 0.9);
    backdrop-filter: blur(20px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    animation: fadeIn 0.4s var(--ease-out);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.popup-overlay.hidden {
    display: none;
}

.popup {
    background: linear-gradient(165deg, rgba(33, 33, 45, 0.95), rgba(23, 23, 31, 0.98));
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    padding: 56px 48px;
    max-width: 480px;
    width: 100%;
    text-align: center;
    position: relative;
    animation: popIn 0.5s var(--ease-spring);
    box-shadow:
        var(--shadow-lg),
        0 0 100px rgba(232, 74, 95, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

@keyframes popIn {
    from { opacity: 0; transform: scale(0.9) translateY(30px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

.popup__close {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 44px;
    height: 44px;
    background: var(--bg-glass);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s var(--ease-out);
}

.popup__close:hover {
    background: var(--brand);
    border-color: var(--brand);
    color: #fff;
    transform: rotate(90deg);
}

.popup__icon {
    width: 88px;
    height: 88px;
    background: var(--brand-light);
    border: 1px solid var(--border-glow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 28px;
    animation: pulse-glow 3s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 30px rgba(232, 74, 95, 0.2); }
    50% { box-shadow: 0 0 50px rgba(232, 74, 95, 0.4); }
}

.popup__icon svg {
    width: 40px;
    height: 40px;
    color: var(--brand);
}

.popup__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--brand-gradient);
    border-radius: var(--radius-full);
    font-size: 0.8125rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.05em;
    margin-bottom: 24px;
    box-shadow: 0 4px 20px var(--brand-glow);
}

.popup__title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #fff 0%, #a0a0b0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.popup__text {
    color: var(--text-secondary);
    font-size: 1.0625rem;
    line-height: 1.8;
    margin-bottom: 36px;
}

.popup__text strong {
    color: var(--brand);
    font-weight: 600;
}

.popup__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 40px;
    background: var(--brand-gradient);
    color: #fff;
    border: none;
    border-radius: var(--radius-full);
    font-family: inherit;
    font-size: 1.0625rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s var(--ease-out);
    box-shadow: 0 4px 20px var(--brand-glow);
}

/* Launch popup celebration */
.popup--launch {
    overflow: hidden;
}

.popup__icon--live {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.15), rgba(74, 222, 128, 0.1));
    border-color: rgba(34, 197, 94, 0.3);
    animation: pulse-glow-green 3s ease-in-out infinite;
}

@keyframes pulse-glow-green {
    0%, 100% { box-shadow: 0 0 30px rgba(34, 197, 94, 0.2); }
    50% { box-shadow: 0 0 50px rgba(34, 197, 94, 0.4); }
}

.popup__icon--live svg {
    color: #22c55e;
}

.popup__badge--live {
    background: linear-gradient(135deg, #22c55e, #4ade80);
    box-shadow: 0 4px 20px rgba(34, 197, 94, 0.3);
}

/* Confetti particles */
.popup__confetti {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.popup__particle {
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 2px;
    animation: confetti-fall 3s ease-in-out infinite;
    opacity: 0;
}

.popup__particle:nth-child(1) { background: #E84A5F; left: 10%; animation-delay: 0s; animation-duration: 2.5s; }
.popup__particle:nth-child(2) { background: #4ade80; left: 25%; animation-delay: 0.3s; animation-duration: 3s; }
.popup__particle:nth-child(3) { background: #fbbf24; left: 40%; animation-delay: 0.6s; animation-duration: 2.8s; }
.popup__particle:nth-child(4) { background: #60a5fa; left: 55%; animation-delay: 0.2s; animation-duration: 3.2s; }
.popup__particle:nth-child(5) { background: #c084fc; left: 70%; animation-delay: 0.8s; animation-duration: 2.6s; }
.popup__particle:nth-child(6) { background: #fb923c; left: 85%; animation-delay: 0.4s; animation-duration: 3.1s; }
.popup__particle:nth-child(7) { background: #E84A5F; left: 15%; animation-delay: 1s; animation-duration: 2.7s; width: 6px; height: 6px; }
.popup__particle:nth-child(8) { background: #22c55e; left: 75%; animation-delay: 0.7s; animation-duration: 2.9s; width: 6px; height: 6px; }

@keyframes confetti-fall {
    0% { transform: translateY(-20px) rotate(0deg); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(400px) rotate(720deg); opacity: 0; }
}

.popup__btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 40px var(--brand-glow);
}

/* ============================================
   HEADER
============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.4s var(--ease-out);
}

.header--scrolled {
    padding: 12px 0;
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--border-subtle);
}

.header.menu-open {
    background: rgba(5, 5, 7, 1);
    backdrop-filter: none;
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    transition: transform 0.3s var(--ease-out);
}

.logo:hover {
    transform: scale(1.02);
}

.logo__icon {
    width: 96px;
    height: 96px;
    transition: transform 0.4s var(--ease-out);
    object-fit: contain;
}

.logo:hover .logo__icon {
    transform: rotate(-5deg) scale(1.05);
}

.logo__text {
    font-size: 1.625rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.nav {
    display: flex;
    gap: 8px;
    background: var(--bg-glass);
    border: 1px solid var(--border-subtle);
    padding: 6px;
    border-radius: var(--radius-full);
}

.nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9375rem;
    padding: 10px 20px;
    border-radius: var(--radius-full);
    transition: all 0.3s var(--ease-out);
}

.nav a:hover {
    color: var(--text-primary);
    background: var(--bg-glass);
}

.header__actions {
    display: flex;
    gap: 12px;
}

/* ============================================
   BUTTONS
============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    font-family: inherit;
    font-size: 0.9375rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    text-decoration: none;
    transition: all 0.4s var(--ease-out);
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

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

.btn--primary {
    background: var(--brand-gradient);
    color: #fff;
    box-shadow: 0 4px 20px rgba(232, 74, 95, 0.3);
}

.btn--primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 40px var(--brand-glow);
}

/* Animated shine effect on primary CTA */
.btn--primary::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    bottom: -50%;
    left: -50%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    transform: translateX(-100%) rotate(25deg);
    animation: btn-shine 4s ease-in-out infinite;
}

@keyframes btn-shine {
    0%, 70%, 100% { transform: translateX(-100%) rotate(25deg); }
    80% { transform: translateX(100%) rotate(25deg); }
}

.btn--ghost {
    background: transparent;
    color: var(--text-secondary);
    padding: 14px 20px;
}

.btn--ghost:hover {
    color: var(--text-primary);
    background: var(--bg-glass);
}

.btn--login {
    background: rgba(232, 74, 95, 0.1);
    color: #ff8a95;
    border: 1.5px solid rgba(232, 74, 95, 0.35);
    padding: 10px 22px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn--login:hover {
    background: rgba(232, 74, 95, 0.2);
    border-color: var(--brand);
    color: #fff;
    box-shadow: 0 0 20px rgba(232, 74, 95, 0.25);
}

.btn--outline {
    background: transparent;
    color: var(--text-primary);
    border: 1.5px solid var(--border-light);
}

.btn--outline:hover {
    background: var(--bg-glass);
    border-color: var(--text-muted);
}

.btn--lg {
    padding: 18px 36px;
    font-size: 1rem;
}

.btn svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.btn--whatsapp {
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: #fff;
    padding: 16px 32px;
    font-size: 1rem;
    margin-top: 16px;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
}

.btn--whatsapp:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 40px rgba(37, 211, 102, 0.4);
}

.btn--whatsapp svg {
    width: 24px;
    height: 24px;
}

.btn--remote {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: #fff;
    padding: 16px 32px;
    font-size: 1rem;
    margin-top: 12px;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.3);
}

.btn--remote:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 40px rgba(99, 102, 241, 0.4);
}

.btn--eset {
    background: linear-gradient(135deg, #00aeef, #0077b5);
    color: #fff;
    padding: 16px 32px;
    font-size: 1rem;
    margin-top: 12px;
    box-shadow: 0 4px 20px rgba(0, 174, 239, 0.3);
}

.btn--eset:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 40px rgba(0, 174, 239, 0.4);
}

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

.hero__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.hero__content {
    max-width: 600px;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: var(--bg-glass);
    border: 1px solid var(--border-glow);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--brand);
    margin-bottom: 32px;
    animation: fadeSlideIn 0.8s var(--ease-out) 0.2s both;
}

.hero__badge::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--brand);
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
    box-shadow: 0 0 10px var(--brand);
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
}

@keyframes fadeSlideIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero__title {
    font-size: clamp(3rem, 5.5vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 28px;
    letter-spacing: -0.03em;
    animation: fadeSlideIn 0.8s var(--ease-out) 0.3s both;
}

.hero__title .highlight {
    background: var(--brand-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero__description {
    font-size: 1.25rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 44px;
    max-width: 500px;
    animation: fadeSlideIn 0.8s var(--ease-out) 0.4s both;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    animation: fadeSlideIn 0.8s var(--ease-out) 0.5s both;
}

.hero__visual {
    position: relative;
    animation: fadeSlideIn 1s var(--ease-out) 0.4s both;
}

.hero__card {
    background: linear-gradient(165deg, rgba(33, 33, 45, 0.8), rgba(23, 23, 31, 0.9));
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    padding: 40px;
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.hero__card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
}

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

.hero__stat {
    text-align: center;
    padding: 24px;
    background: var(--bg-glass);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-subtle);
    transition: all 0.4s var(--ease-out);
}

.hero__stat:hover {
    border-color: var(--border-glow);
    transform: translateY(-4px);
}

.hero__stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--brand-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 4px;
}

.hero__stat-label {
    font-size: 0.875rem;
    color: var(--text-muted);
    font-weight: 500;
}

.hero__floating {
    position: absolute;
    background: linear-gradient(165deg, rgba(33, 33, 45, 0.9), rgba(23, 23, 31, 0.95));
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 16px 24px;
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 12px;
    animation: float 6s ease-in-out infinite;
}

.hero__floating--1 {
    top: -20px;
    right: -30px;
    animation-delay: 0s;
}

.hero__floating--2 {
    bottom: -20px;
    left: -30px;
    animation-delay: 2s;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.hero__floating-icon {
    width: 40px;
    height: 40px;
    background: var(--brand-light);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand);
}

.hero__floating-text {
    font-weight: 600;
    font-size: 0.9375rem;
}

.hero__floating-sub {
    font-size: 0.8125rem;
    color: var(--text-muted);
}

/* ============================================
   CLIENTS
============================================ */
.clients {
    padding: 60px 0;
    background: rgba(23, 23, 31, 0.85);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
    overflow: hidden;
    position: relative;
}

.clients::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.04) 0%, transparent 60%, rgba(232, 74, 95, 0.03) 100%);
    pointer-events: none;
}

.clients__label {
    text-align: center;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 32px;
}

.ticker {
    display: flex;
    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);
    direction: ltr;
}

.ticker__track {
    display: flex;
    will-change: transform;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
}

.ticker__item {
    flex-shrink: 0;
    padding: 0 48px;
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--text-muted);
    white-space: nowrap;
    cursor: default;
    transition: color 0.4s var(--ease-out);
    direction: rtl;
}

.ticker__item:hover {
    color: var(--brand);
}

.ticker__item::before {
    content: '';
    width: 10px;
    height: 10px;
    background: var(--brand);
    border-radius: 50%;
    opacity: 0.4;
    transition: opacity 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out), transform 0.4s var(--ease-out);
}

.ticker__item:hover::before {
    opacity: 1;
    box-shadow: 0 0 15px var(--brand);
    transform: scale(1.2);
}

/* Logo items - vertical layout with name below */
.ticker__item--has-logo {
    flex-direction: column;
    gap: 10px;
    padding: 0 40px;
}

.ticker__item--has-logo::before {
    display: none;
}

.ticker__logo {
    width: 72px;
    height: 72px;
    object-fit: contain;
    border-radius: 14px;
    flex-shrink: 0;
    opacity: 0.85;
    filter: grayscale(15%) drop-shadow(0 4px 12px rgba(0, 0, 0, 0.4));
    transition: opacity 0.4s var(--ease-out), filter 0.4s var(--ease-out), transform 0.4s var(--ease-out);
}

.ticker__item:hover .ticker__logo {
    opacity: 1;
    filter: grayscale(0%) drop-shadow(0 6px 20px rgba(232, 74, 95, 0.3));
    transform: scale(1.1);
}

.ticker__item--has-logo {
    cursor: pointer;
}

.ticker__item--more {
    color: var(--brand);
    font-style: normal;
}

.ticker__item--more::before {
    display: none;
}

/* Client Logo Lightbox */
.client-lightbox {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(0, 0, 0, 0.88);
    backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s var(--ease-out), visibility 0.35s;
}

.client-lightbox.is-open {
    opacity: 1;
    visibility: visible;
}

.client-lightbox__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    transform: scale(0.9);
    transition: transform 0.4s var(--ease-spring);
}

.client-lightbox.is-open .client-lightbox__content {
    transform: scale(1);
}

.client-lightbox__img {
    max-width: min(400px, 80vw);
    max-height: 50vh;
    object-fit: contain;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.06);
    padding: 32px;
    box-shadow:
        0 0 40px rgba(232, 74, 95, 0.25),
        0 0 80px rgba(232, 74, 95, 0.15),
        0 0 120px rgba(232, 74, 95, 0.08),
        0 20px 60px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(232, 74, 95, 0.2);
}

.client-lightbox__name {
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    text-align: center;
    direction: rtl;
}

.client-lightbox__close {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s var(--ease-out);
}

.client-lightbox__close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.client-lightbox__close:focus-visible {
    outline: 2px solid var(--brand);
    outline-offset: 2px;
}

.client-lightbox__close svg {
    width: 20px;
    height: 20px;
}

/* ============================================
   SECTION HEADERS
============================================ */
.section-header {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 72px;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--brand);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 20px;
    padding: 8px 16px;
    background: var(--brand-light);
    border-radius: var(--radius-full);
    border: 1px solid var(--border-glow);
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.section-description {
    font-size: 1.1875rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ============================================
   SERVICES
============================================ */
.services {
    background: transparent;
}

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

.service-card {
    display: block;
    text-decoration: none;
    color: inherit;
    background: linear-gradient(165deg, rgba(30, 30, 42, 0.7), rgba(23, 23, 31, 0.8));
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 36px;
    transition: all 0.5s var(--ease-out);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    opacity: 0;
    transform: translateY(60px);
}

.service-card.animated {
    opacity: 1;
    transform: translateY(0);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 3px;
    background: var(--brand-gradient);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.5s var(--ease-out);
}

.service-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, var(--brand-light), transparent 60%);
    opacity: 0;
    transition: opacity 0.5s var(--ease-out);
}

.service-card:hover,
.service-card.animated:hover {
    transform: translateY(-8px);
    border-color: var(--border-light);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.service-card:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.service-card:hover::after {
    opacity: 1;
}

.service-card > * {
    position: relative;
    z-index: 1;
}

/* Card 1 - 3D Tilt Effect with Glow */
.service-card:nth-child(1) {
    transition: all 0.5s var(--ease-out), transform 0.15s ease-out;
}
.service-card:nth-child(1):hover {
    transform: perspective(1000px) rotateX(var(--rotateX, 0deg)) rotateY(var(--rotateY, 0deg)) translateY(-8px);
    box-shadow: 0 20px 40px rgba(232, 74, 95, 0.4), 0 0 30px rgba(232, 74, 95, 0.2);
}

/* Card 2 - Glow Pulse Effect + Icon Pulse */
.service-card:nth-child(2)::after {
    background: radial-gradient(circle at 50% 50%, var(--brand-glow), transparent 70%);
}
.service-card:nth-child(2):hover::after {
    animation: glowPulse 2s ease-in-out infinite;
}
.service-card:nth-child(2):hover .service-card__icon {
    animation: iconPulse 1s ease-in-out infinite;
}
@keyframes glowPulse {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.1); }
}
@keyframes iconPulse {
    0%, 100% { transform: scale(1.1) rotate(-5deg); }
    50% { transform: scale(1.2) rotate(-5deg); }
}

/* Card 3 - Border Color Animation (compatible with all browsers) */
.service-card:nth-child(3) {
    border: 2px solid var(--border-subtle);
    transition: all 0.5s var(--ease-out), border-color 0.5s ease;
}
.service-card:nth-child(3):hover {
    animation: borderColorCycle 2s linear infinite;
}
@keyframes borderColorCycle {
    0%, 100% { border-color: var(--brand); box-shadow: 0 0 20px rgba(232, 74, 95, 0.4); }
    33% { border-color: var(--accent-purple); box-shadow: 0 0 20px rgba(139, 92, 246, 0.4); }
    66% { border-color: var(--accent-cyan); box-shadow: 0 0 20px rgba(6, 182, 212, 0.4); }
}

/* Card 4 - Scale + Float Effect */
.service-card:nth-child(4):hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4), 0 0 40px rgba(232, 74, 95, 0.25);
}
.service-card:nth-child(4):hover .service-card__icon {
    animation: iconBounce 0.6s var(--ease-spring);
}
@keyframes iconBounce {
    0%, 100% { transform: scale(1.1) rotate(-5deg) translateY(0); }
    25% { transform: scale(1.1) rotate(-5deg) translateY(-15px); }
    50% { transform: scale(1.1) rotate(-5deg) translateY(0); }
    75% { transform: scale(1.1) rotate(-5deg) translateY(-8px); }
}

/* Card 5 - Icon Bounce + Glow */
.service-card:nth-child(5):hover {
    box-shadow: 0 20px 40px rgba(232, 74, 95, 0.3), 0 0 30px rgba(139, 92, 246, 0.2);
}
.service-card:nth-child(5):hover .service-card__icon {
    animation: iconBounceUp 0.6s var(--ease-spring);
}
@keyframes iconBounceUp {
    0%, 100% { transform: scale(1.1) rotate(-5deg) translateY(0); }
    50% { transform: scale(1.15) rotate(-5deg) translateY(-12px); }
}

/* Card 6 - 3D Perspective + Enhanced Glow */
.service-card:nth-child(6):hover {
    transform: perspective(1000px) rotateY(-5deg) translateY(-10px);
    box-shadow:
        0 25px 50px rgba(232, 74, 95, 0.35),
        0 15px 30px rgba(0, 0, 0, 0.4),
        0 0 80px rgba(232, 74, 95, 0.25),
        inset 0 0 30px rgba(232, 74, 95, 0.05);
}
.service-card:nth-child(6):hover .service-card__icon {
    animation: iconFloat 2s ease-in-out infinite;
}
@keyframes iconFloat {
    0%, 100% { transform: scale(1.1) rotate(-5deg) translateY(0); }
    50% { transform: scale(1.1) rotate(-5deg) translateY(-6px); }
}

.service-card__icon {
    width: 60px;
    height: 60px;
    background: var(--brand-light);
    border: 1px solid var(--border-glow);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: all 0.4s var(--ease-out);
}

.service-card:hover .service-card__icon {
    background: var(--brand);
    border-color: var(--brand);
    transform: scale(1.1) rotate(-5deg);
}

.service-card__icon svg {
    width: 28px;
    height: 28px;
    color: var(--brand);
    transition: color 0.4s;
}

.service-card:hover .service-card__icon svg {
    color: #fff;
}

.service-card__title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.service-card__description {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ============================================
   PORTAL
============================================ */
.portal {
    background: rgba(23, 23, 31, 0.85);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
    position: relative;
}

.portal::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 70% 50% at 80% 50%, rgba(232, 74, 95, 0.05) 0%, transparent 70%),
                radial-gradient(ellipse 50% 60% at 10% 50%, rgba(139, 92, 246, 0.04) 0%, transparent 70%);
    pointer-events: none;
}

.portal__grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
}

.portal__content {
    text-align: right;
}

.portal__title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.portal__description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 36px;
    line-height: 1.8;
}

.portal__actions {
    display: flex;
    gap: 16px;
    align-items: center;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.portal__cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.portal__cta-secondary {
    font-weight: 600;
}

.portal__trust {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.portal__trust svg {
    color: #22c55e;
    flex-shrink: 0;
}

.portal__mockup {
    background: linear-gradient(165deg, rgba(30, 30, 42, 0.9), rgba(23, 23, 31, 0.95));
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
}

.portal__mockup:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5), 0 0 40px rgba(232, 74, 95, 0.1);
}

.portal__mockup-header {
    background: rgba(0, 0, 0, 0.3);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid var(--border-subtle);
}

.portal__mockup-dots {
    display: flex;
    gap: 8px;
}

.portal__mockup-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.portal__mockup-dot:nth-child(1) { background: #ff5f57; }
.portal__mockup-dot:nth-child(2) { background: #ffbd2e; }
.portal__mockup-dot:nth-child(3) { background: #28c840; }

.portal__mockup-title {
    margin-right: auto;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.portal__mockup-body {
    padding: 28px;
}

.portal__mockup-nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 150px;
}

.portal__mockup-nav-item {
    padding: 12px 16px;
    background: var(--bg-glass);
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    color: var(--text-muted);
    border: 1px solid transparent;
    transition: all 0.3s;
}

.portal__mockup-nav-item.active {
    background: var(--brand);
    color: #fff;
    border-color: var(--brand);
}

.portal__mockup-card {
    background: var(--bg-glass);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 20px;
    margin-bottom: 16px;
}

.portal__mockup-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.portal__mockup-card-title {
    font-size: 0.9375rem;
    font-weight: 600;
}

.portal__mockup-card-badge {
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
}

.portal__mockup-card-badge.progress {
    background: rgba(59, 130, 246, 0.15);
    color: #3b82f6;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.portal__mockup-card-badge.done {
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.portal__mockup-progress {
    height: 6px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
    overflow: hidden;
}

.portal__mockup-progress-fill {
    height: 100%;
    border-radius: 3px;
    transition: width 1s var(--ease-out);
}

.portal__mockup-progress-fill.p75 {
    width: 75%;
    background: var(--brand-gradient);
}

.portal__mockup-progress-fill.p100 {
    width: 100%;
    background: linear-gradient(90deg, #22c55e, #4ade80);
}

.portal__mockup-card-info {
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin-top: 12px;
}

/* ============================================
   ABOUT
============================================ */
.about {
    background: transparent;
}

.about__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
}

.about__title {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 28px;
    line-height: 1.25;
    letter-spacing: -0.02em;
}

.about__description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.85;
    margin-bottom: 32px;
}

.about__quote {
    background: linear-gradient(165deg, rgba(30, 30, 42, 0.7), rgba(23, 23, 31, 0.8));
    border: 1px solid var(--border-subtle);
    border-right: 4px solid var(--brand);
    padding: 24px 28px;
    border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
    margin-bottom: 36px;
    backdrop-filter: blur(10px);
}

.about__quote p {
    font-style: italic;
    color: var(--text-secondary);
    font-size: 1.0625rem;
    line-height: 1.7;
}

.features-list {
    list-style: none;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 0;
    border-bottom: 1px solid var(--border-subtle);
    font-weight: 500;
    font-size: 1.0625rem;
    transition: all 0.3s var(--ease-out);
}

.feature-item:last-child {
    border-bottom: none;
}

.feature-item:hover {
    padding-right: 8px;
}

.feature-item__icon {
    width: 32px;
    height: 32px;
    background: var(--brand);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 15px var(--brand-glow);
}

.feature-item__icon svg {
    width: 16px;
    height: 16px;
    color: #fff;
}

.about__visual {
    position: relative;
}

.about__image {
    width: 100%;
    border-radius: var(--radius-xl);
    object-fit: cover;
    height: 520px;
    box-shadow: var(--shadow-lg);
}

.floating-stat {
    position: absolute;
    background: linear-gradient(165deg, rgba(33, 33, 45, 0.95), rgba(23, 23, 31, 0.98));
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 20px 28px;
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-lg);
    animation: float 5s ease-in-out infinite;
}

.floating-stat--1 {
    bottom: 40px;
    right: -40px;
    animation-delay: 0s;
}

.floating-stat--2 {
    top: 40px;
    left: -40px;
    animation-delay: 2.5s;
}

.floating-stat__number {
    font-size: 2rem;
    font-weight: 800;
    background: var(--brand-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.floating-stat__label {
    font-size: 0.875rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* ============================================
   TESTIMONIALS
============================================ */
.testimonials {
    padding: 100px 0 80px;
    position: relative;
    overflow: hidden;
    background: var(--bg-primary);
}

.testimonials::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 50% at 20% 50%, rgba(232, 74, 95, 0.04) 0%, transparent 70%),
        radial-gradient(ellipse 60% 50% at 80% 50%, rgba(139, 92, 246, 0.04) 0%, transparent 70%);
    pointer-events: none;
}

.testimonials__header {
    text-align: center;
    margin-bottom: 56px;
    position: relative;
    z-index: 1;
}

.testimonials__title {
    font-size: clamp(1.5rem, 3.5vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
}

.testimonials__subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Carousel wrapper */
.testimonials__carousel {
    position: relative;
    z-index: 1;
}

/* Fade edges — direction:ltr ensures translate works left-to-right like clients ticker */
.testimonials__track-wrapper {
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
    direction: ltr;
}

.testimonials__track {
    display: flex;
    will-change: transform;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    cursor: grab;
    padding: 16px 0;
    user-select: none;
    -webkit-user-select: none;
    touch-action: pan-y;
}

.testimonials__track.is-dragging {
    cursor: grabbing;
}

/* Base card */
.testimonials__card {
    flex-shrink: 0;
    width: 340px;
    margin-left: 24px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-subtle);
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    overflow: hidden;
    transition: border-color 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
    position: relative;
    direction: rtl;
}

.testimonials__card:hover {
    border-color: var(--border-glow);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3), 0 0 30px rgba(232, 74, 95, 0.08);
}

/* Image card */
.testimonials__card--image {
    cursor: pointer;
}

.testimonials__card--image .testimonials__image {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
    transition: transform 0.5s var(--ease-out);
}

.testimonials__card--image:hover .testimonials__image {
    transform: scale(1.03);
}

.testimonials__card--image .testimonials__card-footer {
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-top: 1px solid var(--border-subtle);
}

.testimonials__card--image .testimonials__author-name {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-primary);
}

.testimonials__card--image .testimonials__author-title {
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin-top: 2px;
}

/* Expand icon hint */
.testimonials__card--image .testimonials__expand-hint {
    position: absolute;
    top: 12px;
    left: 12px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.3s var(--ease-out), transform 0.3s var(--ease-out);
    pointer-events: none;
}

.testimonials__card--image:hover .testimonials__expand-hint {
    opacity: 1;
    transform: scale(1);
}

.testimonials__expand-hint svg {
    width: 18px;
    height: 18px;
    color: #fff;
}

/* Quote card */
.testimonials__card--quote {
    padding: 32px 28px 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 260px;
}

.testimonials__quote-icon {
    position: absolute;
    top: 16px;
    right: 20px;
    width: 48px;
    height: 48px;
    opacity: 0.08;
    color: var(--brand);
    pointer-events: none;
}

.testimonials__card--quote .testimonials__quote-accent {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 3px;
    background: var(--brand-gradient);
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    opacity: 0;
    transition: opacity 0.4s var(--ease-out);
}

.testimonials__card--quote:hover .testimonials__quote-accent {
    opacity: 1;
}

.testimonials__quote-text {
    font-size: 1.0625rem;
    line-height: 1.75;
    color: var(--text-primary);
    font-weight: 400;
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}

.testimonials__card--quote .testimonials__card-footer {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid var(--border-subtle);
}

.testimonials__author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--brand-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
}

.testimonials__card--quote .testimonials__author-name {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-primary);
}

.testimonials__card--quote .testimonials__author-title {
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin-top: 2px;
}

/* Navigation arrows */
.testimonials__nav {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 40px;
    position: relative;
    z-index: 1;
}

.testimonials__nav-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid var(--border-light);
    background: var(--bg-elevated);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s var(--ease-out);
}

.testimonials__nav-btn:hover {
    border-color: var(--brand);
    color: var(--brand);
    box-shadow: 0 0 20px rgba(232, 74, 95, 0.15);
    transform: translateY(-2px);
}

.testimonials__nav-btn:focus-visible {
    outline: 2px solid var(--brand);
    outline-offset: 2px;
}

.testimonials__nav-btn svg {
    width: 20px;
    height: 20px;
}

/* Lightbox */
.testimonials__lightbox {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(16px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s var(--ease-out), visibility 0.35s;
}

.testimonials__lightbox.is-open {
    opacity: 1;
    visibility: visible;
}

.testimonials__lightbox-img {
    max-width: 90vw;
    max-height: 85vh;
    border-radius: var(--radius-md);
    box-shadow:
        0 0 40px rgba(232, 74, 95, 0.25),
        0 0 80px rgba(232, 74, 95, 0.15),
        0 0 120px rgba(232, 74, 95, 0.08),
        0 20px 60px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(232, 74, 95, 0.2);
    transform: scale(0.92);
    transition: transform 0.4s var(--ease-spring);
    object-fit: contain;
}

.testimonials__lightbox.is-open .testimonials__lightbox-img {
    transform: scale(1);
}

.testimonials__lightbox-close {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s var(--ease-out);
}

.testimonials__lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.testimonials__lightbox-close:focus-visible {
    outline: 2px solid var(--brand);
    outline-offset: 2px;
}

.testimonials__lightbox-close svg {
    width: 20px;
    height: 20px;
}

.testimonials__lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s var(--ease-out);
}

.testimonials__lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-50%) scale(1.1);
}

.testimonials__lightbox-nav:focus-visible {
    outline: 2px solid var(--brand);
    outline-offset: 2px;
}

.testimonials__lightbox-nav svg {
    width: 20px;
    height: 20px;
}

.testimonials__lightbox-nav--prev {
    right: 24px;
}

.testimonials__lightbox-nav--next {
    left: 24px;
}

.testimonials__lightbox-caption {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9375rem;
}

.testimonials__lightbox-caption strong {
    display: block;
    font-weight: 600;
    color: #fff;
    margin-bottom: 4px;
}

/* Responsive */
@media (max-width: 768px) {
    .testimonials {
        padding: 64px 0 48px;
    }

    .testimonials__header {
        margin-bottom: 36px;
        padding: 0 20px;
    }

    .testimonials__card {
        width: 280px;
    }

    .testimonials__card--quote {
        padding: 24px 20px 20px;
        min-height: 220px;
    }

    .testimonials__quote-text {
        font-size: 0.9375rem;
    }

    .testimonials__nav {
        margin-top: 28px;
    }

    .testimonials__lightbox-nav--prev {
        right: 12px;
    }

    .testimonials__lightbox-nav--next {
        left: 12px;
    }
}

@media (max-width: 480px) {
    .testimonials__card {
        width: 260px;
    }

    .testimonials__card--quote {
        min-height: 200px;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .testimonials__track {
        animation: none !important;
    }

    .testimonials__card,
    .testimonials__card--image .testimonials__image,
    .testimonials__lightbox,
    .testimonials__lightbox-img {
        transition-duration: 0.01ms !important;
    }
}

/* ============================================
   NEWSLETTER
============================================ */
.newsletter {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.newsletter::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(232, 74, 95, 0.05) 0%, transparent 50%, rgba(139, 92, 246, 0.05) 100%);
    pointer-events: none;
}

.newsletter__inner {
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
}

.newsletter__title {
    font-size: clamp(1.5rem, 3.5vw, 2.25rem);
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.newsletter__description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 36px;
}

.newsletter__form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter__input {
    flex: 1;
    padding: 16px 24px;
    background: var(--bg-elevated);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-full);
    color: var(--text-primary);
    font-family: inherit;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s var(--ease-out);
    direction: ltr;
    text-align: right;
}

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

.newsletter__input:focus {
    border-color: var(--brand);
    box-shadow: 0 0 20px rgba(232, 74, 95, 0.15);
}

.newsletter__btn {
    padding: 16px 32px;
    background: var(--brand-gradient);
    color: #fff;
    border: none;
    border-radius: var(--radius-full);
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.3s var(--ease-out);
    box-shadow: 0 4px 20px var(--brand-glow);
}

.newsletter__btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--brand-glow);
}

.newsletter__note {
    margin-top: 16px;
    font-size: 0.875rem;
    color: var(--text-muted);
}

@media (max-width: 768px) {
    .newsletter__form > div {
        flex-direction: column;
        width: 100%;
    }

    .newsletter__btn {
        width: 100%;
    }
}

/* ============================================
   CONTACT
============================================ */
.contact {
    background: rgba(23, 23, 31, 0.85);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    border-top: 1px solid var(--border-subtle);
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, rgba(232, 74, 95, 0.05) 0%, transparent 40%, rgba(139, 92, 246, 0.05) 100%);
    pointer-events: none;
}

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

.contact__info h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.25;
    letter-spacing: -0.02em;
}

.contact__info > p {
    color: var(--text-secondary);
    font-size: 1.125rem;
    margin-bottom: 36px;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: var(--bg-glass);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    transition: all 0.4s var(--ease-out);
}

.contact-method:hover {
    border-color: var(--border-light);
    background: rgba(255, 255, 255, 0.05);
}

.contact-method__icon {
    width: 56px;
    height: 56px;
    background: var(--brand-light);
    border: 1px solid var(--border-glow);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand);
    flex-shrink: 0;
}

.contact-method__text {
    font-weight: 600;
    font-size: 1.0625rem;
}

.contact-method__label {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-top: 2px;
}

.contact__form {
    background: linear-gradient(165deg, rgba(30, 30, 42, 0.8), rgba(23, 23, 31, 0.9));
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    padding: 44px;
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-lg);
}

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

.form-group {
    margin-bottom: 24px;
}

.form-label {
    display: block;
    font-size: 0.9375rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-secondary);
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 16px 20px;
    background: var(--bg-glass);
    border: 1.5px solid var(--border-subtle);
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 1rem;
    color: var(--text-primary);
    transition: all 0.3s var(--ease-out);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--brand);
    box-shadow: 0 0 0 4px var(--brand-light);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--text-muted);
}

/* Password visibility toggle */
.password-wrapper {
    position: relative;
}
.password-wrapper .form-input {
    padding-left: 48px;
}
.password-toggle {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-muted);
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
}
.password-toggle:hover {
    color: var(--text-primary);
}
.password-toggle svg {
    width: 20px;
    height: 20px;
}

.form-select {
    cursor: pointer;
}

.form-select option {
    background: var(--bg-elevated);
    color: var(--text-primary);
}

.form-textarea {
    min-height: 140px;
    resize: vertical;
}

/* ============================================
   FOOTER
============================================ */
.footer {
    background: var(--bg-deep);
    padding: 80px 0 0;
    border-top: 1px solid var(--border-subtle);
}

.footer__grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 60px;
}

.footer__brand p {
    color: var(--text-muted);
    margin-top: 20px;
    font-size: 1rem;
    line-height: 1.8;
}

.footer__social {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.footer__social a {
    width: 48px;
    height: 48px;
    background: var(--bg-glass);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: all 0.4s var(--ease-out);
}

.footer__social a:hover {
    background: var(--brand);
    border-color: var(--brand);
    color: #fff;
    transform: translateY(-4px);
}

.footer__address {
    font-size: 0.9375rem;
    color: var(--text-muted);
    margin-top: 16px;
    line-height: 1.7;
}

.footer__address span {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.footer__column h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.footer__column ul {
    list-style: none;
}

.footer__column li {
    margin-bottom: 14px;
}

.footer__column a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9375rem;
    transition: all 0.3s;
    display: inline-block;
}

.footer__column a:hover {
    color: var(--text-primary);
    transform: translateX(-4px);
}

.footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 28px 0;
    border-top: 1px solid var(--border-subtle);
    font-size: 0.875rem;
    color: var(--text-muted);
}

.status-link {
    color: #00e676;
    font-weight: 700;
    text-decoration: none;
    animation: pulse-green 2s ease-in-out infinite;
}

.status-link:hover {
    color: #69f0ae;
}

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

/* ============================================
   ANIMATIONS
============================================ */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s var(--ease-out);
}

.reveal.revealed {
    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; }

/* ============================================
   HAMBURGER & MOBILE MENU
============================================ */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    background: var(--bg-glass);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    cursor: pointer;
    padding: 12px;
    transition: all 0.3s var(--ease-out);
    position: relative;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s var(--ease-out);
}

.hamburger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.hamburger:hover {
    border-color: var(--brand);
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(5, 5, 7, 0.97);
    backdrop-filter: blur(24px);
    z-index: 999;
    padding: 120px 32px 32px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s var(--ease-out);
}

.mobile-menu.open {
    opacity: 1;
    pointer-events: auto;
}

.mobile-menu__nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mobile-menu__nav a {
    display: block;
    padding: 18px 24px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 1.125rem;
    font-weight: 500;
    border-radius: var(--radius-md);
    transition: all 0.3s var(--ease-out);
}

.mobile-menu__nav a:hover {
    background: var(--bg-glass);
    color: var(--text-primary);
}

.mobile-menu__divider {
    height: 1px;
    background: var(--border-subtle);
    margin: 12px 0;
}

.mobile-menu__login {
    display: flex !important;
    align-items: center;
    gap: 12px;
    background: var(--brand-gradient) !important;
    color: #fff !important;
    font-weight: 600 !important;
    border-radius: var(--radius-full) !important;
    justify-content: center;
    padding: 16px 24px !important;
    box-shadow: 0 4px 20px var(--brand-glow);
}

.mobile-menu__login:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 30px var(--brand-glow) !important;
}

.mobile-menu__register {
    text-align: center !important;
    border: 1px solid var(--border-light) !important;
    border-radius: var(--radius-full) !important;
    padding: 14px 24px !important;
    font-weight: 600 !important;
    color: var(--text-primary) !important;
}

.mobile-menu__register:hover {
    border-color: var(--brand) !important;
    background: var(--brand-light) !important;
}

/* ============================================
   RESPONSIVE
============================================ */
@media (max-width: 1024px) {
    .container {
        padding: 0 24px;
    }

    section {
        padding: 100px 0;
    }

    .hero__grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .hero__visual {
        max-width: 500px;
        margin: 0 auto;
    }

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

    .about__grid,
    .contact__grid,
    .portal__grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

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

/* Touch devices - simpler hover effects */
@media (hover: none) {
    .service-card:nth-child(1):hover,
    .service-card:nth-child(4):hover,
    .service-card:nth-child(6):hover {
        transform: translateY(-8px);
    }
    .service-card:nth-child(2):hover .service-card__icon,
    .service-card:nth-child(5):hover .service-card__icon,
    .service-card:nth-child(6):hover .service-card__icon {
        animation: none;
        transform: scale(1.1) rotate(-5deg);
    }
    .service-card:nth-child(3):hover {
        animation: none;
        border-color: var(--brand);
        box-shadow: 0 0 20px rgba(232, 74, 95, 0.4);
    }
}

@media (max-width: 768px) {
    /* מניעת overflow גלובלית */
    *, *::before, *::after {
        max-width: 100%;
        box-sizing: border-box;
    }
    img { height: auto; }

    .header { padding: 12px 0; }
    .header--scrolled { padding: 8px 0; }

    /* פונטים גדולים יותר (לא קטנים!) */
    body { font-size: 1rem; }
    .hero__description { font-size: 1.125rem; }

    section {
        padding: 80px 0;
    }

    .nav {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .mobile-menu {
        display: block;
    }

    .header__cta-desktop {
        display: none;
    }

    .hero__title {
        font-size: 2.5rem;
    }

    .services__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer__grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer__social {
        justify-content: center;
    }

    .footer__column a:hover {
        transform: none;
    }

    .footer__bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .popup {
        padding: 40px 28px;
        max-width: calc(100vw - 32px);
    }

    .portal__content {
        text-align: center;
    }

    .portal__actions {
        justify-content: center;
    }

    .portal__trust {
        justify-content: center;
    }

    .about__quote {
        border-right: none;
        border-top: 4px solid var(--brand);
        border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    }

    .floating-stat--1,
    .floating-stat--2 {
        position: relative;
        top: auto;
        bottom: auto;
        left: auto;
        right: auto;
        display: inline-block;
        margin: 8px;
    }

    .about__visual {
        text-align: center;
    }

    .about__image {
        height: auto;
        max-height: 350px;
        width: 100%;
    }

    .hero__floating {
        display: none;
    }

    .contact__form {
        padding: 32px 24px;
    }

    /* רוחב מלא לכל האלמנטים */
    .hero__visual { width: 100%; max-width: 100%; }
    .portal__mockup { overflow: hidden; }

    /* תיקון ticker למובייל */
    .ticker {
        overflow: hidden;
        width: 100vw;
        margin-left: calc(-50vw + 50%);
        margin-right: calc(-50vw + 50%);
    }

    .clients {
        overflow: hidden;
        width: 100%;
    }

    /* תיקון header למובייל */
    .header__actions {
        gap: 8px;
    }

    .btn--login {
        padding: 8px 16px;
        font-size: 0.875rem;
    }

    .btn--primary {
        padding: 10px 16px;
        font-size: 0.875rem;
    }

    /* תיקון portal mockup למובייל */
    .portal__mockup-body > div {
        flex-direction: column;
    }

    .portal__mockup-nav {
        width: 100%;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 8px;
    }

    .portal__mockup-nav-item {
        flex: 1;
        min-width: calc(50% - 4px);
        text-align: center;
        font-size: 0.75rem;
        padding: 10px 8px;
    }
}

/* Breakpoint 480px - מובייל בינוני */
@media (max-width: 480px) {
    .container { padding: 0 16px; }
    section { padding: 60px 0; }

    /* פונטים גדולים יותר */
    .hero__title { font-size: 2.25rem; }
    .section-title { font-size: 1.75rem; }
    .hero__description { font-size: 1.125rem; }

    /* רוחב מלא */
    .btn--lg { width: 100%; justify-content: center; }
    .hero__actions { flex-direction: column; width: 100%; }
    .hero__actions .btn { width: 100%; }
    .contact-method { flex-direction: column; text-align: center; }

    /* Portal actions stacked on mobile */
    .portal__actions { flex-direction: column; width: 100%; }
    .portal__actions .btn { width: 100%; justify-content: center; }

    /* מניעת overflow */
    .hero__title, .section-title, .about__title, .portal__title, .contact__info h2 {
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    /* כרטיסים */
    .service-card { padding: 24px 20px; }
    .hero__card { padding: 24px; }
    .hero__stat { padding: 16px; }
    .hero__stat-number { font-size: 2rem; }

    /* popup */
    .popup { padding: 32px 20px; margin: 16px; max-width: calc(100vw - 32px); }
    .popup__title { font-size: 1.5rem; }

    /* footer */
    .footer { padding: 60px 0 0; }

    /* תיקון לוגו למובייל */
    .logo__icon { width: 48px; height: 48px; }
    .logo__text { font-size: 1.25rem; }

    /* header קטן יותר במובייל */
    .header__actions {
        gap: 6px;
    }
    .header__actions .btn--login {
        display: none;
    }
}

/* Breakpoint 360px - מובייל קטן */
@media (max-width: 360px) {
    .container { padding: 0 12px; }
    section { padding: 50px 0; }

    /* פונטים */
    .hero__title { font-size: 1.875rem; line-height: 1.2; }
    .section-title { font-size: 1.5rem; }
    .hero__badge { font-size: 0.75rem; padding: 8px 12px; }

    /* כפתורים */
    .btn { padding: 14px 20px; font-size: 0.9375rem; }
    .btn--lg { padding: 16px 24px; }

    /* כרטיסים */
    .service-card { padding: 20px 16px; }
    .service-card__icon { width: 48px; height: 48px; }
    .service-card__title { font-size: 1.125rem; }

    /* טופס */
    .contact__form { padding: 24px 16px; }
    .form-input, .form-select, .form-textarea { padding: 14px 16px; }

    /* popup */
    .popup { padding: 28px 16px; max-width: calc(100vw - 24px); }
    .popup__icon { width: 64px; height: 64px; }

    /* לוגו קטן יותר */
    .logo__icon { width: 40px; height: 40px; }
    .logo__text { font-size: 1.125rem; }

    /* hero stats */
    .hero__stats { grid-template-columns: 1fr 1fr; gap: 12px; }
    .hero__stat-number { font-size: 1.75rem; }
    .hero__stat-label { font-size: 0.75rem; }

    /* ticker items smaller */
    .ticker__item { padding: 0 24px; font-size: 0.9375rem; }
}

/* ============================================
   USERWAY ACCESSIBILITY WIDGET POSITIONING
============================================ */
/* Desktop & Mobile: bottom left */
#userwayAccessibilityIcon,
.uai,
[data-uw-positioning-wrapper],
.userway_p1,
.userway_p2,
.userway_p3,
.userway_p4,
.userway_p5,
.userway_p6,
[data-uw-styling-context] {
    position: fixed !important;
    bottom: 20px !important;
    left: 20px !important;
    top: auto !important;
    right: auto !important;
    z-index: 999999 !important;
}

/* Accessibility Button & Panel */
.a11y-btn {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 999998;
    width: 52px;
    height: 52px;
    background: var(--brand-gradient);
    border: 2px solid rgba(255,255,255,0.15);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 24px var(--brand-glow);
    transition: all 0.3s var(--ease-out);
}

.a11y-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px var(--brand-glow);
}

.a11y-btn svg {
    width: 26px;
    height: 26px;
    fill: #fff;
}

.a11y-panel {
    position: fixed;
    bottom: 82px;
    left: 20px;
    z-index: 999997;
    background: linear-gradient(165deg, rgba(33, 33, 45, 0.97), rgba(23, 23, 31, 0.99));
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 24px;
    width: 280px;
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-lg);
    transform: translateY(10px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s var(--ease-out);
}

.a11y-panel.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.a11y-panel__title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.a11y-panel__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.a11y-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 14px 8px;
    background: var(--bg-glass);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-family: inherit;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-secondary);
    transition: all 0.2s var(--ease-out);
}

.a11y-option:hover {
    border-color: var(--brand);
    color: var(--brand);
    background: var(--brand-light);
}

.a11y-option.active {
    border-color: var(--brand);
    color: var(--brand);
    background: var(--brand-light);
}

.a11y-option svg {
    width: 22px;
    height: 22px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
}

.a11y-panel__link {
    display: block;
    text-align: center;
    margin-top: 14px;
    font-size: 0.8125rem;
    color: var(--text-muted);
    text-decoration: underline;
    transition: color 0.2s;
}

.a11y-panel__link:hover {
    color: var(--brand);
}

/* Accessibility mode classes */
body.a11y-high-contrast {
    filter: contrast(1.4);
}

body.a11y-high-contrast * {
    border-color: #fff !important;
}

body.a11y-highlight-links a {
    outline: 2px solid #ffff00 !important;
    outline-offset: 2px;
    text-decoration: underline !important;
}

body.a11y-grayscale {
    filter: grayscale(1);
}

body.a11y-high-contrast.a11y-grayscale {
    filter: contrast(1.4) grayscale(1);
}

/* Mobile specific - ticker performance */
@media (max-width: 768px) {
    .ticker__item {
        transition: none;
    }
    .ticker__item::before {
        transition: none;
    }
    .ticker__item--has-logo {
        padding: 0 28px;
        gap: 6px;
    }
    .ticker__logo {
        width: 56px;
        height: 56px;
        border-radius: 10px;
        transition: none;
        filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.35));
    }
}
