/* ============================================================
   produc3d.ro — Aurora UI + Glassmorphism + Bento asimetric
   Rewrite complet, 100% compatibil cu view-urile existente.
   Paletă devERP — albastru #2563eb (rebranded 2026-04).
   ============================================================ */

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

:root {
    /* Brand blue (devERP) */
    --color-primary:       #2563eb;
    --color-primary-light: #3b82f6;
    --color-primary-dark:  #1d4ed8;
    --color-secondary:     #60a5fa;
    --color-accent:        #22d3ee;
    --color-accent-green:  #10b981;
    --color-accent-pink:   #38bdf8;

    /* Brand scale */
    --brand-50:  #eff6ff;
    --brand-100: #dbeafe;
    --brand-200: #bfdbfe;
    --brand-300: #93c5fd;
    --brand-400: #60a5fa;
    --brand-500: #3b82f6;
    --brand-600: #2563eb;
    --brand-700: #1d4ed8;
    --brand-800: #1e40af;
    --brand-900: #1e3a8a;

    /* Surfaces */
    --bg-body:      #fbfaff;
    --bg-surface:   #eff6ff;
    --bg-card:      #ffffff;
    --bg-card-hover:#f8f7fd;
    --bg-hero:      linear-gradient(135deg, #1d4ed8 0%, #2563eb 35%, #3b82f6 65%, #60a5fa 100%);

    /* Glass tokens */
    --glass-bg:        rgba(255, 255, 255, 0.62);
    --glass-bg-strong: rgba(255, 255, 255, 0.78);
    --glass-border:    rgba(255, 255, 255, 0.88);
    --glass-stroke:    rgba(37, 99, 235, 0.10);
    --glass-shadow:
        0 1px 0 rgba(255,255,255,0.9) inset,
        0 0 0 1px rgba(37, 99, 235,0.06),
        0 1px 2px rgba(15, 23, 42,0.04),
        0 8px 24px -8px rgba(37, 99, 235,0.12),
        0 24px 48px -16px rgba(15, 23, 42,0.08);
    --glass-shadow-hover:
        0 1px 0 rgba(255,255,255,1) inset,
        0 0 0 1px rgba(37, 99, 235,0.14),
        0 2px 4px rgba(15, 23, 42,0.04),
        0 12px 32px -8px rgba(37, 99, 235,0.18),
        0 32px 64px -20px rgba(15, 23, 42,0.14);

    /* Borders (legacy) */
    --border-color:   #e2e8f0;
    --border-hover:   #93c5fd;
    --border-subtle:  rgba(37, 99, 235,0.08);

    /* Text */
    --text-primary:   #0f172a;
    --text-secondary: #475569;
    --text-muted:     #64748b; /* WCAG AA (4.6:1 pe alb) — anterior #94a3b8 era 3.2:1 (fail) */

    /* Radii */
    --radius-sm:  8px;
    --radius-md:  14px;
    --radius-lg:  20px;
    --radius-xl:  26px;
    --radius-2xl: 32px;
    --radius-hero: 36px;

    /* Shadows (legacy + new) */
    --shadow-card:        0 2px 12px rgba(15, 23, 42,0.05);
    --shadow-card-hover:
        0 1px 0 rgba(255,255,255,1) inset,
        0 0 0 1px rgba(37, 99, 235,0.12),
        0 12px 32px -8px rgba(37, 99, 235,0.16),
        0 24px 48px -16px rgba(15, 23, 42,0.12);

    /* Type */
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
    --font-display: 'Inter', system-ui, sans-serif;
    --font-serif: 'Instrument Serif', Georgia, 'Times New Roman', serif;

    /* Motion */
    --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --transition:  220ms var(--ease-out);

    --container: 1240px;
}

/* ============================================================
   BASE
   ============================================================ */
html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--font-sans);
    font-feature-settings: "ss01", "cv11", "calt";
    background: var(--bg-body);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}
a { color: var(--color-primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--color-primary-dark); }

/* Screen-reader-only — vizibil pentru screen readers, ascuns vizual (pentru semantic HTML) */
.sr-only {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Skip-to-content link — vizibil doar la focus (Tab) pentru tastatură / screen readers */
.skip-link {
    position: absolute;
    top: -100px;
    left: 1rem;
    z-index: 9999;
    padding: 10px 18px;
    background: #2563eb;
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 8px;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
    transition: top 0.2s ease;
}
.skip-link:focus {
    top: 1rem;
    color: #fff;
    outline: 2px solid #fff;
    outline-offset: 2px;
}
img { max-width: 100%; height: auto; display: block; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 1.5rem; }
.text-gradient {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light) 60%, var(--color-accent));
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: transparent;
}
.text-muted { color: var(--text-muted); }
.required { color: #ef4444; }

/* ============================================================
   AURORA UI — Background atmosphere (fixed, full-page)
   ============================================================ */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -2;
    background:
        radial-gradient(ellipse 70vw 55vh at 12% 15%, rgba(96, 165, 250,0.28), transparent 60%),
        radial-gradient(ellipse 65vw 50vh at 88% 12%, rgba(147, 197, 253,0.22), transparent 60%),
        radial-gradient(ellipse 75vw 55vh at 78% 70%, rgba(37, 99, 235,0.20),  transparent 60%),
        radial-gradient(ellipse 60vw 45vh at 15% 92%, rgba(191, 219, 254,0.25), transparent 60%);
    pointer-events: none;
}
/* Grain eliminat complet — body::after — era extrem de costisitor cu mix-blend-mode */

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
    display: inline-flex; align-items: center; gap: 0.5rem;
    padding: 0.85rem 1.6rem;
    border-radius: 99px;
    font-family: inherit;
    font-weight: 600; font-size: 0.92rem;
    border: none; cursor: pointer;
    text-decoration: none; white-space: nowrap;
    transition: all var(--transition);
    position: relative;
}
.btn svg { transition: transform var(--transition) var(--ease-spring); }
.btn:hover svg { transform: translateX(3px); }

.btn--primary {
    background: linear-gradient(180deg, var(--brand-500), var(--brand-700));
    color: #fff;
    box-shadow:
        0 1px 0 rgba(255,255,255,0.3) inset,
        0 0 0 1px rgba(37, 99, 235,0.5),
        0 1px 2px rgba(15, 23, 42,0.1),
        0 8px 24px -8px rgba(37, 99, 235,0.5),
        0 16px 32px -12px rgba(37, 99, 235,0.4);
}
.btn--primary:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow:
        0 1px 0 rgba(255,255,255,0.4) inset,
        0 0 0 1px rgba(37, 99, 235,0.6),
        0 2px 4px rgba(15, 23, 42,0.12),
        0 12px 32px -8px rgba(37, 99, 235,0.6),
        0 24px 48px -16px rgba(37, 99, 235,0.5);
}

.btn--outline {
    background: rgba(255,255,255,0.88);
    color: var(--text-primary);
    box-shadow:
        0 1px 0 rgba(255,255,255,0.9) inset,
        0 0 0 1px rgba(37, 99, 235,0.12),
        0 4px 12px -4px rgba(15, 23, 42,0.08);
}
.btn--outline:hover {
    color: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow:
        0 1px 0 rgba(255,255,255,1) inset,
        0 0 0 1px rgba(37, 99, 235,0.28),
        0 8px 20px -6px rgba(37, 99, 235,0.2);
}

.btn--white {
    background: #fff; color: var(--color-primary); border: none;
    box-shadow:
        0 1px 0 rgba(255,255,255,0.9) inset,
        0 0 0 1px rgba(255,255,255,0.6),
        0 8px 24px -6px rgba(0,0,0,0.25),
        0 16px 32px -12px rgba(0,0,0,0.2);
}
.btn--white:hover {
    transform: translateY(-2px);
    color: var(--color-primary-dark);
    box-shadow:
        0 1px 0 rgba(255,255,255,1) inset,
        0 0 0 1px rgba(255,255,255,0.8),
        0 12px 32px -6px rgba(0,0,0,0.3),
        0 24px 48px -16px rgba(0,0,0,0.25);
}
.btn--white-outline {
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.35);
    color: #fff;
}
.btn--white-outline:hover {
    background: rgba(255,255,255,0.16);
    border-color: rgba(255,255,255,0.6);
    color: #fff;
}
.btn--sm { padding: 0.55rem 1.1rem; font-size: 0.82rem; }
.btn--lg { padding: 1rem 1.9rem; font-size: 0.98rem; }
.btn--full { width: 100%; justify-content: center; }

/* ============================================================
   HEADER — Solid bar cu gradient accent border (V5)
   ============================================================ */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    display: flex;
    justify-content: center;
    pointer-events: auto;
    background: #fff;
    border: none;
    transition: box-shadow 0.25s ease;
}
.site-header::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 3px;
    background: linear-gradient(90deg, #2563eb 0%, #06b6d4 50%, #8b5cf6 100%);
    pointer-events: none;
}
.site-header.scrolled { box-shadow: 0 2px 12px rgba(15,23,42,.06); }
.header-inner {
    width: 100%;
    max-width: var(--container);
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
    padding: 0 1.5rem;
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
}
.site-header.scrolled .header-inner {
    background: transparent;
}
.site-logo {
    display: flex; align-items: center; gap: 0.55rem;
    font-size: 1.15rem; font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}
.site-logo:hover { color: var(--text-primary); }
.site-logo svg { color: var(--color-primary); }
.site-logo small { font-weight: 400; color: var(--text-muted); font-size: 0.78em; }
.site-logo {
    position: relative;
    z-index: 5;
}
.site-logo img {
    height: 50px;
    width: auto;
    max-width: 220px;
    object-fit: contain;
    display: block;
}
@media (max-width: 768px) {
    .header-inner { height: 60px; padding: 0 1rem; }
    .site-logo img { height: 38px; max-width: 170px; }
}

/* Nav */
.main-nav {
    display: flex;
    gap: 0.15rem;
    position: relative;
}
.nav-pill {
    position: absolute; top: 0; left: 0;
    height: 100%; border-radius: 99px;
    background: rgba(37, 99, 235,0.1);
    box-shadow: 0 2px 12px rgba(37, 99, 235,0.08), inset 0 1px 0 rgba(255,255,255,0.7);
    pointer-events: none; z-index: 0;
    opacity: 0;
    transition:
        transform 420ms var(--ease-spring),
        width 380ms var(--ease-spring),
        opacity 200ms ease;
    will-change: transform, width;
}
.nav-pill.visible { opacity: 1; }
.nav-pill.no-transition { transition: none; }

.nav-link {
    position: relative; z-index: 1;
    padding: 0.55rem 1rem; border-radius: 99px;
    color: var(--text-secondary);
    font-weight: 500; font-size: 0.88rem;
    transform-style: preserve-3d;
    transition:
        color 250ms var(--ease-out),
        transform 180ms var(--ease-spring),
        background 180ms ease;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
}
.nav-link:hover { color: var(--color-primary); }
.nav-link.active { color: var(--color-primary); font-weight: 600; background: rgba(37, 99, 235,0.08); }
.nav-link:active { transform: scale(0.97); transition-duration: 60ms; }
.nav-link.tilt-left  { transform: perspective(600px) rotateY(-2deg) translateZ(2px); }
.nav-link.tilt-right { transform: perspective(600px) rotateY(2deg) translateZ(2px); }
.nav-link.tilt-up    { transform: perspective(600px) rotateX(2deg) translateZ(2px); }
.nav-link.tilt-down  { transform: perspective(600px) rotateX(-2deg) translateZ(2px); }
.nav-link:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 2px; }

.header-cta { display: none; }
@media (min-width: 880px) { .header-cta { display: inline-flex; } }

/* Header CTA — gradient albastru→cyan distinctiv (V5) */
.header-cta.btn--premium {
    background: linear-gradient(90deg, #2563eb 0%, #06b6d4 100%);
    box-shadow:
        0 8px 22px -8px rgba(6, 182, 212, 0.55),
        inset 0 1px 0 rgba(255,255,255,.3);
}
.header-cta.btn--premium:hover {
    box-shadow:
        0 14px 32px -10px rgba(6, 182, 212, 0.65),
        inset 0 1px 0 rgba(255,255,255,.4);
}

.hamburger { display: none; background: none; border: none; cursor: pointer; padding: 0.5rem; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--text-primary); margin: 5px 0; transition: all 0.3s; border-radius: 2px; }
@media (max-width: 879px) {
    .hamburger { display: block; }
    .nav-pill { display: none; }
    .main-nav {
        position: fixed; top: 64px; left: 1rem; right: 1rem; bottom: 1rem;
        flex-direction: column;
        background: var(--glass-bg-strong);
        backdrop-filter: blur(14px) saturate(160%);
        -webkit-backdrop-filter: blur(14px) saturate(160%);
        border: 1px solid var(--glass-border);
        border-radius: var(--radius-2xl);
        box-shadow: var(--glass-shadow);
        padding: 2rem; gap: 0.5rem;
        transform: translateY(-20px); opacity: 0; pointer-events: none;
        transition: transform 0.35s var(--ease-spring), opacity 0.3s ease;
        perspective: none;
    }
    .main-nav.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
    .nav-link { font-size: 1.05rem; padding: 0.75rem 1rem; }
    .nav-link:active { transform: scale(0.97); }
    .hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
    .hamburger.active span:nth-child(2) { opacity: 0; }
    .hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
}

/* ============================================================
   VIEW TRANSITIONS
   ============================================================ */
@view-transition { navigation: auto; }
main#main-content { view-transition-name: page-content; }
.site-header { view-transition-name: site-header; }
.site-logo { view-transition-name: site-logo; }
::view-transition-old(site-header),
::view-transition-new(site-header) { animation: none; }
::view-transition-old(site-logo),
::view-transition-new(site-logo) { animation: none; }
::view-transition-old(page-content) {
    animation: vt-slide-out 280ms cubic-bezier(0.4, 0, 0.2, 1) both;
}
::view-transition-new(page-content) {
    animation: vt-slide-in 280ms cubic-bezier(0.0, 0, 0.2, 1) 80ms both;
}
@keyframes vt-slide-out { from { opacity: 1; transform: translateY(0); } to { opacity: 0; transform: translateY(-12px); } }
@keyframes vt-slide-in  { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) {
    .nav-link, .nav-pill { transition-duration: 0.01s !important; }
    ::view-transition-old(page-content),
    ::view-transition-new(page-content) { animation-duration: 0.01s !important; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
    position: relative;
    padding: 5.5rem 0 1.25rem;
}
.hero-card {
    position: relative;
    background: var(--bg-hero);
    border-radius: var(--radius-hero);
    overflow: hidden;
    min-height: 380px;
    display: grid; grid-template-columns: 1.15fr 1fr;
    align-items: center;
    box-shadow:
        0 1px 0 rgba(255,255,255,0.2) inset,
        0 20px 60px -20px rgba(37, 99, 235,0.45),
        0 40px 80px -30px rgba(15, 23, 42,0.25);
}
.hero-card::before {
    content: ''; position: absolute; inset: 0;
    background:
        radial-gradient(ellipse 60% 80% at 100% 0%,  rgba(255,255,255,0.18), transparent 60%),
        radial-gradient(ellipse 50% 60% at 0% 100%,  rgba(34,211,238,0.18),  transparent 60%),
        radial-gradient(ellipse 80% 50% at 50% 50%,  rgba(244,114,182,0.10), transparent 70%);
    pointer-events: none;
}
/* grain eliminat pentru performanță */
.hero-content {
    position: relative; z-index: 2;
    padding: 2.5rem 1.75rem 2.5rem 3rem;
    color: #fff;
}
.hero-title {
    font-family: var(--font-display);
    font-size: clamp(1.7rem, 3.6vw, 2.5rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.025em;
    margin-bottom: 0.85rem;
    color: #fff;
    text-wrap: balance;
}
.hero-subtitle {
    font-size: clamp(0.9rem, 1.4vw, 1rem);
    color: rgba(255,255,255,0.85);
    max-width: 46ch;
    line-height: 1.55;
    margin-bottom: 1.25rem;
}
.hero-actions {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
}
.hero-visual {
    position: relative; z-index: 2;
    height: 100%;
    min-height: 260px;
    display: flex; align-items: center; justify-content: center;
    padding: 1.25rem;
}

/* Float cards — glass, subtle rotation, staggered float */
.hero-float-grid {
    display: grid;
    grid-template-columns: repeat(3, 64px);
    grid-auto-rows: 64px;
    gap: 0.65rem;
    z-index: 1;
    transform: rotate(-4deg);
}
.hero-float-card {
    width: 64px; height: 64px;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(12px) saturate(160%);
    -webkit-backdrop-filter: blur(12px) saturate(160%);
    border: 1px solid rgba(255,255,255,0.95);
    border-radius: var(--radius-md);
    display: flex; align-items: center; justify-content: center;
    color: var(--color-primary);
    box-shadow:
        0 1px 0 rgba(255,255,255,1) inset,
        0 4px 12px -2px rgba(15, 23, 42,0.15),
        0 12px 32px -8px rgba(15, 23, 42,0.2),
        0 24px 48px -16px rgba(15, 23, 42,0.15);
    animation: float-card 5s ease-in-out infinite;
    will-change: transform;
}
.hero-float-card:nth-child(1) { animation-delay: 0s;    transform: rotate(-2deg); }
.hero-float-card:nth-child(2) { animation-delay: 0.3s;  transform: rotate(1deg);  }
.hero-float-card:nth-child(3) { animation-delay: 0.6s;  transform: rotate(-1deg); }
.hero-float-card:nth-child(4) { animation-delay: 0.9s;  transform: rotate(2deg);  }
.hero-float-card:nth-child(5) { animation-delay: 1.2s;  transform: rotate(-1deg); }
.hero-float-card:nth-child(6) { animation-delay: 1.5s;  transform: rotate(1deg);  }
.hero-float-card:nth-child(7) { animation-delay: 1.8s;  transform: rotate(-2deg); }
.hero-float-card:nth-child(8) { animation-delay: 2.1s;  transform: rotate(1deg);  }
.hero-float-card:nth-child(9) { animation-delay: 2.4s;  transform: rotate(-1deg); }

@keyframes float-card {
    0%, 100% { transform: translateY(0) rotate(var(--r, 0deg)); }
    50%      { transform: translateY(-8px) rotate(var(--r, 0deg)); }
}
.hero-float-card:nth-child(1) { --r: -2deg; }
.hero-float-card:nth-child(2) { --r:  1deg; }
.hero-float-card:nth-child(3) { --r: -1deg; }
.hero-float-card:nth-child(4) { --r:  2deg; }
.hero-float-card:nth-child(5) { --r: -1deg; }
.hero-float-card:nth-child(6) { --r:  1deg; }
.hero-float-card:nth-child(7) { --r: -2deg; }
.hero-float-card:nth-child(8) { --r:  1deg; }
.hero-float-card:nth-child(9) { --r: -1deg; }

@media (max-width: 900px) {
    .hero { padding: 5rem 0 1rem; }
    .hero-card { grid-template-columns: 1fr; min-height: auto; }
    .hero-content { padding: 2rem 1.5rem 1.25rem; }
    .hero-visual { min-height: 200px; padding: 1rem; }
    .hero-float-grid { grid-template-columns: repeat(3, 56px); grid-auto-rows: 56px; gap: 0.55rem; }
    .hero-float-card { width: 56px; height: 56px; }
}

/* Hero stats — glass pills */
.hero-stats {
    display: flex; gap: 0.6rem;
    justify-content: center;
    flex-wrap: wrap;
    padding: 1.5rem 0 0;
}
.hero-stat {
    display: flex; align-items: center; gap: 0.7rem;
    padding: 0.65rem 1.1rem;
    background: var(--glass-bg-strong);
    backdrop-filter: blur(12px) saturate(160%);
    -webkit-backdrop-filter: blur(12px) saturate(160%);
    border: 1px solid var(--glass-border);
    border-radius: 99px;
    box-shadow: var(--glass-shadow);
}
.hero-stat-num {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, var(--brand-700), var(--brand-500));
    -webkit-background-clip: text; background-clip: text;
    color: transparent;
    line-height: 1;
}
.hero-stat-label {
    font-size: 0.72rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.06em;
}

/* ============================================================
   TRUST SECTION
   ============================================================ */
.trust-section {
    padding: 2.5rem 0 0;
    border-bottom: 1px solid var(--border-subtle);
}
.trust-label {
    text-align: center;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 1.25rem;
}
.trust-logos {
    display: flex; align-items: center; justify-content: center;
    gap: 2.5rem; flex-wrap: wrap;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-subtle);
}
.trust-logo-item {
    display: flex; align-items: center; gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.85rem; font-weight: 600;
    letter-spacing: 0.01em;
    opacity: 0.65;
    transition: opacity 0.3s, color 0.3s;
}
.trust-logo-item:hover { opacity: 1; color: var(--color-primary); }
.trust-logo-item svg { flex-shrink: 0; }

.trust-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    padding: 2rem 0 2.5rem;
}
.trust-feature {
    display: flex; align-items: flex-start; gap: 0.85rem;
    padding: 1rem;
    background: rgba(255,255,255,0.75);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    box-shadow: 0 1px 0 rgba(255,255,255,0.9) inset, 0 4px 12px -4px rgba(37, 99, 235,0.08);
    transition: all var(--transition);
}
.trust-feature:hover {
    transform: translateY(-2px);
    box-shadow: 0 1px 0 rgba(255,255,255,1) inset, 0 8px 20px -6px rgba(37, 99, 235,0.18);
}
.trust-feature-icon {
    width: 40px; height: 40px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, rgba(37, 99, 235,0.14), rgba(96, 165, 250,0.08));
    border: 1px solid rgba(37, 99, 235,0.15);
    color: var(--color-primary);
    box-shadow: 0 1px 0 rgba(255,255,255,0.8) inset;
}
.trust-feature h4 { font-size: 0.9rem; font-weight: 700; color: var(--text-primary); margin-bottom: 0.15rem; letter-spacing: -0.005em; }
.trust-feature p  { font-size: 0.78rem; color: var(--text-muted); line-height: 1.5; }

/* ============================================================
   SECTIONS
   ============================================================ */
.section { padding: 2.5rem 0; position: relative; }
.section--alt {
    background: linear-gradient(180deg, transparent, rgba(245,243,255,0.5), transparent);
}

/* Delimitator subtil între secțiuni consecutive (linie gradient pură) */
.section + .section::before {
    content: '';
    position: absolute;
    top: 0; left: 50%;
    transform: translateX(-50%);
    width: min(70%, 560px);
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(37, 99, 235, 0.25) 50%, transparent 100%);
    pointer-events: none;
    z-index: 1;
}

@media (max-width: 768px) {
    .section { padding: 1.75rem 0; }
    .section + .section::before { width: min(80%, 320px); }
}
.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.4rem, 2.8vw, 1.9rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    text-align: center;
    margin: 0 auto 0.5rem;
    max-width: 28ch;
    color: var(--text-primary);
    text-wrap: balance;
}
.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    max-width: 56ch;
    margin: 0 auto 1.75rem;
    font-size: 0.92rem;
    line-height: 1.5;
}
.section-cta { text-align: center; margin-top: 1.5rem; }

/* Eyebrow pill (section-label) */
.section-label {
    display: flex; align-items: center; justify-content: center; gap: 0.5rem;
    width: fit-content;
    margin: 0 auto 1.25rem;
    padding: 0.4rem 0.95rem;
    background: rgba(255,255,255,0.82);
    border: 1px solid var(--glass-border);
    box-shadow: 0 0 0 1px var(--glass-stroke), 0 4px 12px -4px rgba(37, 99, 235,0.15);
    border-radius: 99px;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.section-label::before {
    content: '';
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235,0.15);
}

/* ============================================================
   BENTO GRID — Asymmetric with featured card
   ============================================================ */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: minmax(220px, auto);
    gap: 1.25rem;
}
@media (max-width: 960px) { .bento-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .bento-grid { grid-template-columns: 1fr; } }

.bento-card {
    position: relative;
    padding: 1.75rem;
    background: var(--glass-bg);
    backdrop-filter: blur(14px) saturate(160%);
    -webkit-backdrop-filter: blur(14px) saturate(160%);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--glass-shadow);
    overflow: hidden;
    opacity: 0;
    transform: translateY(16px);
    transition:
        opacity 0.6s var(--ease-out),
        transform 0.6s var(--ease-out),
        box-shadow 0.4s var(--ease-out),
        background 0.4s ease;
    display: flex;
    flex-direction: column;
}
.bento-card.visible { opacity: 1; transform: translateY(0); }

.bento-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--glass-shadow-hover);
    background: var(--glass-bg-strong);
}

/* Featured — spans 2 cols / 2 rows (the first card) */
.bento-card:first-child {
    grid-column: span 2;
    grid-row: span 2;
    padding: 2.25rem;
    background: rgba(237, 233, 254, 0.55);
}
.bento-card:first-child::after {
    content: '';
    position: absolute;
    inset: -50% -20% auto auto;
    width: 80%; height: 80%;
    background: radial-gradient(ellipse, rgba(37, 99, 235,0.18), transparent 60%);
    pointer-events: none;
    z-index: 0;
}
.bento-card:first-child > * { position: relative; z-index: 1; }
.bento-card:first-child h3 {
    font-family: var(--font-display);
    font-size: 1.7rem;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 0.75rem;
}
.bento-card:first-child p {
    font-size: 1rem;
    line-height: 1.65;
    max-width: 42ch;
}

/* 4th card span 2 wide */
.bento-card:nth-child(4) {
    grid-column: span 2;
}

@media (max-width: 960px) {
    .bento-card:first-child { grid-column: span 2; grid-row: auto; }
    .bento-card:nth-child(4) { grid-column: span 2; }
}
@media (max-width: 540px) {
    .bento-card:first-child,
    .bento-card:nth-child(4) { grid-column: span 1; }
}

.bento-card-icon {
    width: 48px; height: 48px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, rgba(37, 99, 235,0.14), rgba(96, 165, 250,0.08));
    border: 1px solid rgba(37, 99, 235,0.15);
    color: var(--color-primary);
    margin-bottom: 1.1rem;
    box-shadow:
        0 1px 0 rgba(255,255,255,0.8) inset,
        0 4px 12px -4px rgba(37, 99, 235,0.2);
    transition: transform var(--transition) var(--ease-spring);
}
.bento-card:hover .bento-card-icon {
    transform: scale(1.08) rotate(-3deg);
}

.bento-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.4rem;
    letter-spacing: -0.01em;
}
.bento-card p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.6;
    flex: 1;
}

.bento-card-tags {
    display: flex; flex-wrap: wrap; gap: 0.35rem;
    margin-top: 1rem;
}
.bento-card-tags span {
    padding: 0.25rem 0.65rem;
    background: rgba(37, 99, 235,0.08);
    border: 1px solid rgba(37, 99, 235,0.15);
    border-radius: 99px;
    font-size: 0.68rem;
    font-weight: 600;
    color: var(--color-primary);
    transition: all 0.25s ease;
}
.bento-card:first-child .bento-card-tags span {
    background: rgba(255,255,255,0.75);
    backdrop-filter: blur(8px);
    padding: 0.35rem 0.8rem;
    font-size: 0.72rem;
    box-shadow: 0 2px 8px -2px rgba(37, 99, 235,0.15);
}
.bento-card:hover .bento-card-tags span {
    background: rgba(37, 99, 235,0.12);
}

/* ============================================================
   FEATURE BLOCKS — 2 col with mesh visual
   ============================================================ */
.feature-block {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 2.5rem;
    align-items: center;
    padding: 0.5rem 0;
}
.feature-block--reverse { direction: rtl; }
.feature-block--reverse > * { direction: ltr; }
@media (max-width: 880px) {
    .feature-block { grid-template-columns: 1fr; gap: 1.5rem; padding: 0.5rem 0; }
    .feature-block--reverse { direction: ltr; }
}

.feature-block-label {
    display: inline-flex; align-items: center; gap: 0.4rem;
    padding: 0.25rem 0.75rem;
    background: rgba(255,255,255,0.82);
    border: 1px solid var(--glass-border);
    box-shadow: 0 0 0 1px var(--glass-stroke), 0 4px 12px -4px rgba(37, 99, 235,0.15);
    border-radius: 99px;
    font-size: 0.66rem; font-weight: 600;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1.25rem;
}
.feature-block-label::before {
    content: '';
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235,0.15);
}
.feature-block-title {
    font-family: var(--font-display);
    font-size: clamp(1.3rem, 2.4vw, 1.7rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
    margin-top: 0.5rem;
    color: var(--text-primary);
    text-wrap: balance;
}
.feature-block-desc {
    color: var(--text-secondary);
    font-size: 0.86rem;
    line-height: 1.5;
    margin-bottom: 0.85rem;
    max-width: 56ch;
}
.feature-block-points {
    display: grid; gap: 0.35rem;
    margin-bottom: 1rem;
    list-style: none;
    padding: 0;
}
.feature-block-points li {
    display: flex; align-items: center; gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.82rem;
    line-height: 1.4;
}
.feature-block-points li svg {
    flex-shrink: 0; margin-top: 0;
    width: 14px; height: 14px;
    color: var(--color-accent-green);
}

/* Visual — gradient mesh + glass mock */
.feature-block-visual {
    position: relative;
    aspect-ratio: 4/3;
    max-height: 360px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    background: linear-gradient(135deg, var(--brand-50), #fff);
    border: 1px solid rgba(255,255,255,0.95);
    box-shadow: var(--glass-shadow);
    display: flex; align-items: center; justify-content: center;
}
.feature-block-visual::before {
    content: '';
    position: absolute; inset: 0;
    background:
        radial-gradient(ellipse 70% 60% at 20% 30%, rgba(37, 99, 235,0.20), transparent 60%),
        radial-gradient(ellipse 60% 70% at 80% 70%, rgba(96, 165, 250,0.15), transparent 60%);
}
/* ::after grain eliminat */
.feature-block-visual-icon {
    position: relative; z-index: 1;
    color: var(--color-primary);
    opacity: 0.55;
    filter: drop-shadow(0 8px 24px rgba(37, 99, 235,0.3));
}

.feature-mini-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}
.feature-mini-card {
    padding: 1rem 1.1rem;
    background: rgba(255,255,255,0.75);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm);
    box-shadow:
        0 1px 0 rgba(255,255,255,0.9) inset,
        0 4px 12px -4px rgba(37, 99, 235,0.08);
    transition: all var(--transition);
}
.feature-mini-card:hover {
    transform: translateY(-2px);
    box-shadow:
        0 1px 0 rgba(255,255,255,1) inset,
        0 0 0 1px rgba(37, 99, 235,0.18),
        0 8px 20px -6px rgba(37, 99, 235,0.18);
}
.feature-mini-card h4 {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
    letter-spacing: -0.005em;
}
.feature-mini-card p {
    font-size: 0.78rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* ============================================================
   SERVICES PAGE cards
   ============================================================ */
.services-types-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.875rem;
}
@media (max-width: 768px) { .services-types-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .services-types-grid { grid-template-columns: 1fr; } }

.service-type-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px) saturate(160%);
    -webkit-backdrop-filter: blur(12px) saturate(160%);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    padding: 1rem 1.15rem;
    box-shadow: var(--glass-shadow);
    transition: all var(--transition);
    position: relative; overflow: hidden;
    opacity: 0;
    transform: translateY(16px);
    display: flex; flex-direction: column;
}
.service-type-card.visible { opacity: 1; transform: translateY(0); }
.service-type-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--glass-shadow-hover);
}
.service-type-card-head {
    display: flex; align-items: center;
    gap: 0.65rem;
    margin-bottom: 0.55rem;
}
.service-type-icon {
    width: 34px; height: 34px;
    flex: 0 0 34px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(37, 99, 235,0.14), rgba(96, 165, 250,0.08));
    border: 1px solid rgba(37, 99, 235,0.15);
    color: var(--color-primary);
    box-shadow: 0 1px 0 rgba(255,255,255,0.8) inset, 0 3px 8px -4px rgba(37, 99, 235,0.2);
    transition: transform 0.3s var(--ease-spring);
}
.service-type-card:hover .service-type-icon { transform: scale(1.08) rotate(-3deg); }
.service-type-card h3 {
    font-size: 0.98rem; font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    letter-spacing: -0.01em;
    flex: 1;
    line-height: 1.25;
}
.service-type-card p {
    font-size: 0.83rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
    flex: 1;
}
.service-type-price {
    flex-shrink: 0;
    font-size: 0.78rem; font-weight: 700;
    color: var(--color-accent-green);
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.18);
    padding: 0.18rem 0.5rem;
    border-radius: 999px;
    white-space: nowrap;
    letter-spacing: -0.005em;
}

/* Tech stack grid */
.tech-stack-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}
@media (max-width: 768px) { .tech-stack-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .tech-stack-grid { grid-template-columns: 1fr; } }

.tech-stack-item {
    display: flex; align-items: flex-start; gap: 0.85rem;
    padding: 1.25rem;
    background: rgba(255,255,255,0.75);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    box-shadow: 0 1px 0 rgba(255,255,255,0.9) inset, 0 4px 12px -4px rgba(37, 99, 235,0.08);
    transition: all var(--transition);
}
.tech-stack-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 1px 0 rgba(255,255,255,1) inset, 0 8px 20px -6px rgba(37, 99, 235,0.18);
}
.tech-stack-icon {
    width: 40px; height: 40px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, rgba(37, 99, 235,0.14), rgba(96, 165, 250,0.08));
    border: 1px solid rgba(37, 99, 235,0.15);
    color: var(--color-primary);
}
.tech-stack-item h4 { font-size: 0.9rem; font-weight: 700; color: var(--text-primary); margin-bottom: 0.15rem; }
.tech-stack-item p  { font-size: 0.78rem; color: var(--text-muted); line-height: 1.45; }

/* ============================================================
   PROCESS — Glass timeline
   ============================================================ */
.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    position: relative;
}
@media (max-width: 900px) { .process-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .process-grid { grid-template-columns: 1fr; } }

/* Connector dashed line */
@media (min-width: 901px) {
    .process-grid::before {
        content: '';
        position: absolute;
        top: 2.65rem;
        left: 12.5%; right: 12.5%;
        height: 1px;
        background: linear-gradient(90deg, transparent, rgba(37, 99, 235,0.25) 15%, rgba(37, 99, 235,0.25) 85%, transparent);
        z-index: 0;
    }
}

.process-card {
    position: relative;
    padding: 2rem 1.5rem;
    background: var(--glass-bg);
    backdrop-filter: blur(12px) saturate(160%);
    -webkit-backdrop-filter: blur(12px) saturate(160%);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--glass-shadow);
    text-align: center;
    transition: all var(--transition);
}
.process-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--glass-shadow-hover);
}

/* Animated arrow between cards — always visible, pulses on hover */
@media (min-width: 901px) {
    .process-grid::before { display: none; } /* remove dashed connector */

    .process-card:not(:last-child)::after {
        content: '';
        position: absolute;
        top: 2.6rem;
        right: -1.6rem;
        width: 3.2rem;
        height: 20px;
        background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 20' fill='none' stroke='%237c3aed' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><line x1='4' y1='10' x2='36' y2='10' stroke-dasharray='2 5'/><polyline points='32,3 42,10 32,17'/></svg>");
        background-repeat: no-repeat;
        background-position: center;
        background-size: contain;
        opacity: 0.35;
        transition: opacity 0.3s ease;
        pointer-events: none;
        z-index: 5;
    }
    /* Hover on ANY card → all arrows pulse brightly */
    .process-grid:hover .process-card:not(:last-child)::after {
        opacity: 1;
        animation: process-arrow-pulse 1.2s ease-in-out infinite;
    }
    /* Stagger the animation so it creates a flowing wave */
    .process-grid:hover .process-card:nth-child(2)::after { animation-delay: 0.2s; }
    .process-grid:hover .process-card:nth-child(3)::after { animation-delay: 0.4s; }
}

@keyframes process-arrow-pulse {
    0%, 100% { transform: translateX(0);  opacity: 0.55; }
    50%      { transform: translateX(6px); opacity: 1; }
}

.process-card:not(:last-child)::before { display: none; }

.process-card-num {
    display: inline-flex; align-items: center; justify-content: center;
    width: 52px; height: 52px; border-radius: 50%;
    background: linear-gradient(180deg, var(--brand-500), var(--brand-700));
    color: #fff;
    font-family: var(--font-display);
    font-weight: 800; font-size: 1.2rem;
    margin-bottom: 1.1rem;
    box-shadow:
        0 1px 0 rgba(255,255,255,0.4) inset,
        0 0 0 6px rgba(37, 99, 235,0.08),
        0 8px 20px -4px rgba(37, 99, 235,0.45);
    position: relative;
    z-index: 1;
}
.process-card h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}
.process-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ============================================================
   FILTER BAR
   ============================================================ */
.filter-bar {
    display: inline-flex;
    position: relative;
    gap: 0.5rem;
    margin: 0 auto 2rem;
    padding: 0;
}
.filter-bar-indicator, .filter-bar-ghost { display: none; }

.filter-chip {
    position: relative; z-index: 2;
    padding: 0.65rem 1.5rem;
    border-radius: 99px;
    background: rgba(255,255,255,0.82);
    border: 1px solid var(--glass-border);
    box-shadow: 0 1px 0 rgba(255,255,255,0.9) inset, 0 2px 8px -2px rgba(37, 99, 235,0.06);
    color: var(--text-secondary);
    font-size: 0.84rem; font-weight: 600;
    cursor: pointer; text-decoration: none;
    white-space: nowrap;
    font-family: inherit;
    transition: all 0.25s ease;
    -webkit-tap-highlight-color: transparent;
}
.filter-chip:hover {
    color: var(--color-primary);
    background: var(--glass-bg-strong);
    box-shadow: 0 1px 0 rgba(255,255,255,1) inset, 0 0 0 1px rgba(37, 99, 235,0.2), 0 6px 16px -4px rgba(37, 99, 235,0.15);
}
.filter-chip:active { transform: scale(0.97); transition-duration: 60ms; }
.filter-chip.active {
    background: linear-gradient(180deg, var(--brand-500), var(--brand-700));
    color: #fff;
    border-color: transparent;
    box-shadow:
        0 1px 0 rgba(255,255,255,0.3) inset,
        0 4px 14px rgba(37, 99, 235,0.35);
}
.filter-chip small {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 1.2em; height: 1.2em; padding: 0 0.3em;
    font-size: 0.7em; font-weight: 700;
    background: rgba(0,0,0,0.08);
    border-radius: 99px;
    margin-left: 0.35em; line-height: 1;
    transition: all 250ms ease;
}
.filter-chip:hover small { color: var(--color-primary); background: rgba(37, 99, 235,0.1); }
.filter-chip.active small { background: rgba(255,255,255,0.25); color: #fff; }

.filter-chip .chip-ripple {
    position: absolute; border-radius: 50%;
    background: rgba(37, 99, 235,0.15);
    transform: scale(0); opacity: 1;
    animation: chip-ripple 450ms ease-out forwards;
    pointer-events: none; z-index: -1;
}
@keyframes chip-ripple { to { transform: scale(2.5); opacity: 0; } }

@media (max-width: 540px) {
    .filter-bar { flex-wrap: wrap; justify-content: center; }
    .filter-chip { padding: 0.55rem 1.1rem; font-size: 0.78rem; }
}
@media (prefers-reduced-motion: reduce) {
    .filter-chip { transition-duration: 0.01s !important; }
}

/* ============================================================
   PRODUCTS GRID
   ============================================================ */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.25rem;
}
.products-grid--full {
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}

/* Products page header */
.products-page-header {
    padding: 8rem 0 2rem;
    text-align: center;
    background: transparent;
}
.products-page-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    letter-spacing: -0.025em;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}
.products-page-subtitle {
    font-size: 1.05rem;
    color: var(--text-secondary);
    margin-bottom: 0;
}
.products-page-content { padding: 0 0 4rem; }

.products-filters-row {
    text-align: center;
    padding-bottom: 1.25rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--border-subtle);
}
.products-meta-row {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 1.5rem;
}
.products-count {
    font-size: 0.82rem; color: var(--text-muted); font-weight: 500;
}
.sort-bar { position: relative; }

.custom-dropdown { position: relative; }
.custom-dropdown-toggle {
    display: inline-flex; align-items: center; gap: 0.4rem;
    padding: 0.5rem 0.85rem;
    background: rgba(255,255,255,0.82);
    border: 1px solid var(--glass-border);
    box-shadow: 0 1px 0 rgba(255,255,255,0.9) inset, 0 2px 8px -2px rgba(37, 99, 235,0.08);
    border-radius: 99px; cursor: pointer;
    font-size: 0.8rem; font-weight: 500; color: var(--text-secondary);
    font-family: inherit;
    transition: all 0.2s;
}
.custom-dropdown-toggle:hover { box-shadow: 0 1px 0 rgba(255,255,255,1) inset, 0 0 0 1px rgba(37, 99, 235,0.2), 0 4px 12px -2px rgba(37, 99, 235,0.12); }
.custom-dropdown.open .custom-dropdown-toggle {
    box-shadow: 0 1px 0 rgba(255,255,255,1) inset, 0 0 0 2px rgba(37, 99, 235,0.2), 0 4px 12px -2px rgba(37, 99, 235,0.15);
}
.custom-dropdown-chevron { transition: transform 0.25s ease; color: var(--text-muted); }
.custom-dropdown.open .custom-dropdown-chevron { transform: rotate(180deg); }
.custom-dropdown-label { color: var(--text-primary); }

.custom-dropdown-menu {
    position: absolute; top: calc(100% + 0.5rem); right: 0;
    min-width: 180px;
    background: #fff;
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    box-shadow: var(--glass-shadow);
    padding: 0.35rem;
    z-index: 50;
    opacity: 0; visibility: hidden;
    transform: translateY(-6px) scale(0.97);
    transition: opacity 0.2s ease, transform 0.25s var(--ease-spring), visibility 0.2s;
}
.custom-dropdown.open .custom-dropdown-menu {
    opacity: 1; visibility: visible;
    transform: translateY(0) scale(1);
}
.custom-dropdown-item {
    display: block; padding: 0.55rem 0.9rem;
    font-size: 0.82rem; color: var(--text-secondary);
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: background 0.15s, color 0.15s;
}
.custom-dropdown-item:hover { background: rgba(37, 99, 235,0.08); color: var(--color-primary); }
.custom-dropdown-item.active { background: rgba(37, 99, 235,0.1); color: var(--color-primary); font-weight: 600; }

.sort-select {
    background: rgba(255,255,255,0.82); color: var(--text-secondary);
    border: 1px solid var(--glass-border);
    padding: 0.5rem 2rem 0.5rem 0.85rem;
    border-radius: 99px; font-size: 0.8rem; font-weight: 500;
    font-family: inherit; cursor: pointer; appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%239490a8' stroke-width='2.5' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 0.7rem center;
}
.sort-select:focus { outline: none; box-shadow: 0 0 0 2px rgba(37, 99, 235,0.2); }
.sort-select option { background: #fff; color: var(--text-primary); }

.products-toolbar {
    display: flex; justify-content: space-between;
    align-items: center; flex-wrap: wrap; gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--border-subtle);
}
.products-toolbar .filter-bar { margin-bottom: 0; flex: 1; justify-content: flex-start; }

.page-header { padding-bottom: 2rem; padding-top: 8rem; }
.page-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    letter-spacing: -0.025em;
    text-align: center;
    margin-bottom: 0.5rem;
}
.page-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.05rem;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-section { }
.testimonials-carousel { position: relative; padding: 0; }
.testimonials-viewport {
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to right,
        transparent 0%,
        rgba(0,0,0,0.05) 2%,
        rgba(0,0,0,0.4) 6%,
        #000 12%,
        #000 88%,
        rgba(0,0,0,0.4) 94%,
        rgba(0,0,0,0.05) 98%,
        transparent 100%);
            mask-image: linear-gradient(to right,
        transparent 0%,
        rgba(0,0,0,0.05) 2%,
        rgba(0,0,0,0.4) 6%,
        #000 12%,
        #000 88%,
        rgba(0,0,0,0.4) 94%,
        rgba(0,0,0,0.05) 98%,
        transparent 100%);
}
.testimonials-track { display: flex; gap: 1.5rem; transition: transform 0.5s ease; }
.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1.5px solid rgba(37, 99, 235, 0.18);
    background: rgba(255, 255, 255, 0.95);
    color: #2563eb;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.08), 0 1px 2px rgba(15, 23, 42, 0.04);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: all 0.2s;
    padding: 0;
}
.carousel-arrow:hover {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: #fff;
    border-color: transparent;
    transform: translateY(-50%) scale(1.06);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.32), 0 2px 6px rgba(37, 99, 235, 0.18);
}
.carousel-arrow:active { transform: translateY(-50%) scale(0.96); }
.carousel-arrow:focus-visible {
    outline: none;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.18), 0 4px 16px rgba(15, 23, 42, 0.08);
}
.carousel-arrow--prev { left: -8px; }
.carousel-arrow--next { right: -8px; }
@media (max-width: 700px) {
    .carousel-arrow { width: 38px; height: 38px; }
    .carousel-arrow--prev { left: 4px; }
    .carousel-arrow--next { right: 4px; }
}
.testimonial-card {
    min-width: 360px;
    flex: 0 0 360px;
    padding: 1.85rem;
    background: var(--glass-bg);
    backdrop-filter: blur(12px) saturate(160%);
    -webkit-backdrop-filter: blur(12px) saturate(160%);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--glass-shadow);
    transition: all var(--transition);
}
.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--glass-shadow-hover);
}
.testimonial-stars { display: flex; gap: 2px; margin-bottom: 1rem; }
.testimonial-stars svg { color: #f59e0b; }
.testimonial-text {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1.25rem;
    font-style: italic;
}
.testimonial-author { display: flex; align-items: center; gap: 0.85rem; }
.testimonial-avatar {
    width: 44px; height: 44px; border-radius: 50%; overflow: hidden;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; color: #fff; font-size: 1.1rem;
    box-shadow: 0 4px 12px -2px rgba(37, 99, 235,0.35);
}
.testimonial-avatar img { width: 100%; height: 100%; object-fit: cover; }
.testimonial-name    { display: block; font-size: 0.92rem; color: var(--text-primary); font-weight: 700; }
.testimonial-company { display: block; font-size: 0.8rem; color: var(--text-muted); }

.carousel-dots { display: flex; gap: 6px; justify-content: center; margin-top: 1.5rem; }
.carousel-dots .dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: rgba(37, 99, 235,0.2);
    cursor: pointer; transition: all 0.3s; border: none;
}
.carousel-dots .dot.active {
    background: var(--color-primary);
    width: 24px; border-radius: 4px;
    box-shadow: 0 2px 8px -2px rgba(37, 99, 235,0.5);
}

/* ============================================================
   CTA — Gradient card
   ============================================================ */
.cta-section { padding: 1rem 0 1.5rem; }
.cta-box {
    position: relative;
    background: var(--bg-hero);
    border-radius: 16px;
    padding: 1.25rem 1.5rem;
    text-align: center;
    overflow: hidden;
    color: #fff;
    box-shadow:
        0 1px 0 rgba(255,255,255,0.2) inset,
        0 20px 60px -20px rgba(37, 99, 235,0.45),
        0 40px 80px -30px rgba(15, 23, 42,0.25);
}
.cta-box::before {
    content: ''; position: absolute; inset: 0;
    background:
        radial-gradient(ellipse 60% 80% at 100% 0%, rgba(255,255,255,0.18), transparent 60%),
        radial-gradient(ellipse 50% 60% at 0% 100%, rgba(34,211,238,0.2), transparent 60%);
    pointer-events: none;
}
/* grain eliminat pentru performanță */
.cta-glow {
    position: absolute; top: -120px; left: 50%; transform: translateX(-50%);
    width: 500px; height: 300px;
    background: radial-gradient(circle, rgba(255,255,255,0.12), transparent 70%);
    pointer-events: none;
}
.cta-title {
    position: relative;
    font-family: var(--font-display);
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.015em;
    margin-bottom: 0.25rem;
    color: #fff;
    text-wrap: balance;
}
.cta-text {
    position: relative;
    color: rgba(255,255,255,0.88);
    margin: 0 auto 0.75rem;
    max-width: 60ch;
    font-size: 0.82rem;
    line-height: 1.4;
}
.cta-actions {
    position: relative;
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    flex-wrap: wrap;
}
.cta-actions .btn { padding: 0.55rem 1.1rem !important; font-size: 0.85rem !important; }
.cta-actions .btn--white { background: #fff; color: var(--color-primary); }
.cta-actions .btn--white:hover { box-shadow: 0 8px 22px -6px rgba(0,0,0,0.3); }
.cta-actions .btn--white-outline { border-color: rgba(255,255,255,0.4); color: #fff; background: rgba(255,255,255,0.08); }
.cta-actions .btn--white-outline:hover { background: rgba(255,255,255,0.16); border-color: #fff; color: #fff; }

/* ============================================================
   PRODUCT DETAIL
   ============================================================ */
.breadcrumb {
    display: flex; align-items: center; gap: 0.5rem;
    margin-bottom: 2rem;
    padding-top: 7rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}
.breadcrumb a { color: var(--text-secondary); }
.breadcrumb a:hover { color: var(--color-primary); }
.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}
@media (max-width: 768px) { .product-detail-grid { grid-template-columns: 1fr; } }

.gallery-main {
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: rgba(255,255,255,0.8);
    aspect-ratio: 16/10;
    display: flex; align-items: center; justify-content: center;
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
}
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-placeholder { color: var(--text-muted); }
.gallery-thumbs { display: flex; gap: 0.5rem; margin-top: 0.75rem; overflow-x: auto; }
.gallery-thumb {
    width: 72px; height: 48px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 2px solid transparent;
    cursor: pointer; background: none; padding: 0; flex-shrink: 0;
    transition: border-color 0.2s;
}
.gallery-thumb.active, .gallery-thumb:hover { border-color: var(--color-primary); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }

.product-info-category {
    display: inline-block; font-size: 0.78rem; font-weight: 700;
    color: var(--color-primary); text-transform: uppercase;
    letter-spacing: 0.06em; margin-bottom: 0.5rem;
}
.product-info-title {
    font-family: var(--font-display);
    font-size: 2.1rem; font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
    line-height: 1.15;
}
.product-info-price {
    display: flex; align-items: baseline; gap: 0.75rem;
    margin-bottom: 1.25rem;
}
.price-old { text-decoration: line-through; color: var(--text-muted); font-size: 1.1rem; }
.price-current {
    font-family: var(--font-display);
    font-size: 1.7rem; font-weight: 800;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, var(--color-accent-green), #059669);
    -webkit-background-clip: text; background-clip: text;
    color: transparent;
}
.product-info-desc { color: var(--text-secondary); line-height: 1.7; margin-bottom: 1.5rem; }
.product-info-section { margin-bottom: 1.5rem; }
.product-info-section h3 {
    font-size: 0.78rem; text-transform: uppercase;
    letter-spacing: 0.06em; color: var(--text-muted);
    margin-bottom: 0.75rem; font-weight: 700;
}
.tech-tags-lg { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.features-list { list-style: none; display: grid; gap: 0.5rem; }
.features-list li {
    display: flex; align-items: flex-start; gap: 0.5rem;
    font-size: 0.9rem; color: var(--text-secondary);
}
.features-list li svg { flex-shrink: 0; margin-top: 3px; color: var(--color-accent-green); }
.product-info-actions {
    display: flex; flex-direction: column;
    gap: 0.75rem; margin-top: 2rem;
}
.product-full-desc { margin-bottom: 3rem; }
.product-full-desc h2 { font-size: 1.4rem; margin-bottom: 1rem; letter-spacing: -0.015em; }
.rich-content { color: var(--text-secondary); line-height: 1.8; }
.rich-content p { margin-bottom: 1rem; }
.rich-content h2, .rich-content h3 { color: var(--text-primary); margin: 1.5rem 0 0.75rem; letter-spacing: -0.015em; }
.similar-section { padding-top: 2rem; border-top: 1px solid var(--border-subtle); }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
}
@media (max-width: 768px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-form { display: grid; gap: 1.25rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 480px) { .form-row { grid-template-columns: 1fr; } }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group label {
    font-size: 0.85rem; font-weight: 600;
    color: var(--text-secondary);
}
.form-group input,
.form-group textarea,
.form-group select {
    background: #ffffff;
    border: 1.5px solid #cbd5e1;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 0 0 0 rgba(37, 99, 235, 0);
    border-radius: var(--radius-sm);
    padding: 0.85rem 1rem;
    color: var(--text-primary);
    font-size: 0.92rem;
    font-family: inherit;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.form-group input:hover,
.form-group textarea:hover,
.form-group select:hover {
    border-color: #94a3b8;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15), 0 1px 2px rgba(15, 23, 42, 0.04);
}
.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #94a3b8;
}
.form-group textarea { resize: vertical; min-height: 120px; }

.contact-info-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px) saturate(160%);
    -webkit-backdrop-filter: blur(12px) saturate(160%);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--glass-shadow);
    padding: 2rem;
}
.contact-info-card h3 { margin-bottom: 1.5rem; font-size: 1.1rem; letter-spacing: -0.015em; }
.contact-info-item {
    display: flex; align-items: flex-start; gap: 0.85rem;
    margin-bottom: 1.25rem;
}
.contact-info-item small {
    display: block; color: var(--text-muted);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 600;
}
.contact-info-item a,
.contact-info-item span {
    color: var(--text-primary);
    font-size: 0.92rem;
}

.alert {
    padding: 1rem 1.1rem;
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
    font-size: 0.9rem;
}
.alert--success {
    background: rgba(16,185,129,0.1);
    border: 1px solid rgba(16,185,129,0.25);
    color: #047857;
}
.alert--error {
    background: rgba(239,68,68,0.1);
    border: 1px solid rgba(239,68,68,0.25);
    color: #b91c1c;
}

/* ============================================================
   FOOTER — Gradient mesh subtil (V7)
   ============================================================ */
.site-footer {
    margin-top: 4rem;
    padding: 4rem 0 2rem;
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 50%, #082f49 100%);
    color: rgba(255,255,255,0.6);
    position: relative;
    overflow: hidden;
    border-top: none;
}
.site-footer::before {
    content: '';
    position: absolute; inset: 0;
    background:
        radial-gradient(ellipse 50% 40% at 25% 30%, rgba(59, 130, 246, 0.22), transparent 60%),
        radial-gradient(ellipse 45% 35% at 78% 75%, rgba(139, 92, 246, 0.20), transparent 60%);
    pointer-events: none;
}
.site-footer .container { position: relative; }
.site-footer a { color: rgba(255,255,255,0.6); }
.site-footer a:hover { color: #fff; }

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1.3fr;
    gap: 2.5rem;
    margin-bottom: 3rem;
}
@media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-links h4 {
    font-size: 0.82rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.footer-links a {
    display: block;
    color: rgba(255,255,255,0.55);
    font-size: 0.88rem;
    margin-bottom: 0.55rem;
    transition: color 0.2s;
}
.footer-links a:hover { color: #fff; }

.footer-newsletter { margin-top: 1.25rem; }
.footer-newsletter h5 {
    font-size: 0.88rem; font-weight: 700;
    color: #fff; margin-bottom: 0.5rem;
}
.footer-newsletter-form { display: flex; gap: 0; }
.footer-newsletter-form input {
    flex: 1;
    padding: 0.65rem 0.85rem;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.15);
    border-right: none;
    border-radius: var(--radius-sm) 0 0 var(--radius-sm);
    color: #fff;
    font-size: 0.85rem;
    font-family: inherit;
}
.footer-newsletter-form input::placeholder { color: rgba(255,255,255,0.35); }
.footer-newsletter-form input:focus {
    outline: none;
    border-color: var(--color-primary);
    background: rgba(255,255,255,0.1);
}
.footer-newsletter-btn {
    padding: 0.65rem 1.1rem;
    background: linear-gradient(180deg, var(--brand-500), var(--brand-700));
    color: #fff;
    border: none;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-size: 0.72rem; font-weight: 700;
    cursor: pointer;
    letter-spacing: 0.04em;
    white-space: nowrap;
    transition: filter 0.2s;
}
.footer-newsletter-btn:hover { filter: brightness(1.15); }

.footer-socials-row {
    display: flex;
    gap: 0.6rem;
    justify-content: center;
    padding: 1.75rem 0;
    border-top: 1px solid rgba(255,255,255,0.08);
}
.footer-social-circle {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,0.65);
    transition: all 0.25s var(--ease-out);
}
.footer-social-circle:hover {
    background: rgba(37, 99, 235,0.3);
    border-color: rgba(37, 99, 235,0.5);
    color: #fff;
    transform: translateY(-2px);
}
.footer-bottom { padding-top: 1rem; text-align: center; }
.footer-bottom p {
    color: rgba(255,255,255,0.4);
    font-size: 0.78rem;
    line-height: 1.6;
}
.footer-bottom a { color: rgba(255,255,255,0.5); text-decoration: underline; }
.footer-bottom a:hover { color: #fff; }

/* ============================================================
   PRICING
   ============================================================ */
.pricing-hero-section { padding-top: 2rem; }
.pricing-hero-section .section-subtitle { margin-bottom: 2.5rem; }

.billing-toggle-wrap { text-align: center; margin-bottom: 0.5rem; }
.billing-toggle {
    display: inline-flex;
    position: relative;
    padding: 0.3rem;
    background: rgba(255,255,255,0.8);
    border: 1px solid var(--glass-border);
    box-shadow: 0 1px 0 rgba(255,255,255,0.9) inset, 0 4px 12px -4px rgba(37, 99, 235,0.1);
    border-radius: 99px;
    margin: 0 auto 2rem;
}
.billing-toggle--hidden { display: none !important; }
.billing-btn {
    position: relative; z-index: 2;
    padding: 0.5rem 1.2rem;
    border-radius: 99px;
    background: transparent; border: none;
    color: var(--text-muted);
    font-size: 0.8rem; font-weight: 500;
    cursor: pointer;
    transition: all 0.25s var(--ease-out);
    font-family: inherit;
    display: inline-flex; align-items: center; gap: 0.4rem;
    white-space: nowrap;
}
.billing-btn:hover { color: var(--text-primary); }
.billing-btn.active {
    color: var(--color-primary);
    font-weight: 700;
    background: #fff;
    box-shadow:
        0 1px 0 rgba(255,255,255,0.9) inset,
        0 0 0 1px rgba(37, 99, 235,0.15),
        0 4px 12px -2px rgba(37, 99, 235,0.2);
}
.billing-badge {
    display: inline-block;
    padding: 0.12rem 0.4rem;
    background: var(--color-accent-green);
    color: #fff;
    border-radius: 99px;
    font-size: 0.58rem;
    font-weight: 700;
}
.pricing-old-price {
    display: block;
    font-size: 0.82rem;
    color: var(--text-muted);
    text-decoration: line-through;
    min-height: 1.2em;
    margin-bottom: 1rem;
}

.pricing-tabs-wrap { text-align: center; margin-bottom: 2rem; }
.pricing-tabs {
    display: inline-flex;
    gap: 0.5rem;
    padding: 0;
    margin: 0 auto;
}
.pricing-tab {
    padding: 0.65rem 1.5rem;
    border-radius: 99px;
    background: #fff;
    border: 1px solid rgba(37, 99, 235, 0.18);
    box-shadow: 0 1px 0 rgba(255,255,255,1) inset, 0 2px 8px -2px rgba(15, 23, 42, 0.08);
    color: #1e293b;
    font-size: 0.86rem; font-weight: 600;
    cursor: pointer; font-family: inherit;
    transition: all 0.25s var(--ease-out);
    white-space: nowrap;
}
.pricing-tab:hover {
    color: var(--color-primary);
    transform: translateY(-1px);
    box-shadow: 0 1px 0 rgba(255,255,255,1) inset, 0 0 0 1px rgba(37, 99, 235,0.2), 0 6px 16px -4px rgba(37, 99, 235,0.18);
}
.pricing-tab.active {
    background: linear-gradient(180deg, var(--brand-500), var(--brand-700));
    color: #fff;
    border-color: transparent;
    box-shadow:
        0 1px 0 rgba(255,255,255,0.3) inset,
        0 4px 14px rgba(37, 99, 235,0.35);
}
@media (max-width: 540px) {
    .pricing-tabs { flex-wrap: wrap; justify-content: center; }
    .pricing-tab { padding: 0.55rem 1.1rem; font-size: 0.78rem; }
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: 1fr;
    gap: 1.25rem;
    align-items: stretch;
    padding-top: 1rem;
}
@media (max-width: 1024px) { .pricing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px)  { .pricing-grid { grid-template-columns: minmax(0, 1fr); } }
.pricing-grid--hidden { display: none; }

.pricing-card {
    position: relative;
    padding: 2rem 1.75rem;
    background: var(--glass-bg);
    backdrop-filter: blur(12px) saturate(160%);
    -webkit-backdrop-filter: blur(12px) saturate(160%);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--glass-shadow);
    transition: all var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
    min-width: 0;
    min-height: 0;
    align-self: stretch;
    overflow-wrap: anywhere;
    word-break: break-word;
}
.pricing-card > * { min-width: 0; max-width: 100%; }
.pricing-card-name,
.pricing-card-desc { overflow-wrap: anywhere; }
.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--glass-shadow-hover);
}
.pricing-card--popular {
    background: linear-gradient(180deg, rgba(255,255,255,0.88), rgba(245,243,255,0.88));
    border-color: rgba(37, 99, 235,0.3);
    box-shadow:
        0 1px 0 rgba(255,255,255,0.95) inset,
        0 0 0 1px rgba(37, 99, 235,0.22),
        0 12px 32px -8px rgba(37, 99, 235,0.28),
        0 32px 64px -16px rgba(15, 23, 42,0.18);
    transform: translateY(-10px);
}
.pricing-card--popular:hover { transform: translateY(-14px); }

.pricing-popular-badge {
    position: absolute;
    top: -13px; left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(180deg, var(--brand-500), var(--brand-700));
    color: #fff;
    padding: 0.35rem 1rem;
    border-radius: 99px;
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    white-space: nowrap;
    box-shadow:
        0 1px 0 rgba(255,255,255,0.4) inset,
        0 4px 12px -2px rgba(37, 99, 235,0.4);
}

/* Badge reducere per pachet (afișat doar când perioada activă are valoare setată) */
.pricing-card-discount {
    display: none;
    position: absolute;
    top: 14px; right: 14px;
    padding: 4px 9px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #fff;
    font-size: 0.68rem;
    font-weight: 800;
    border-radius: 6px;
    letter-spacing: 0.02em;
    box-shadow:
        0 1px 0 rgba(255,255,255,0.2) inset,
        0 3px 8px -2px rgba(16, 185, 129, 0.45);
    z-index: 2;
}
.pricing-card-discount.is-visible {
    display: inline-flex;
    align-items: center;
}
.pricing-card-name {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
    letter-spacing: -0.015em;
}
.pricing-card-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.5;
}
.pricing-card-price {
    display: flex; align-items: baseline;
    gap: 0.25rem;
    margin-bottom: 0.15rem;
}
.pricing-amount {
    font-family: var(--font-display);
    font-size: 2.6rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, var(--brand-700), var(--brand-500));
    -webkit-background-clip: text; background-clip: text;
    color: transparent;
}
.pricing-currency {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-primary);
}
.pricing-amount-text {
    font-family: var(--font-display);
    font-size: 1.55rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, var(--brand-700), var(--brand-500));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.pricing-term {
    display: block;
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}
.pricing-card .btn { width: 100%; justify-content: center; margin-bottom: 1.5rem; }
/* CTA pinned to bottom of card → uniform card height + aligned buttons across the row */
.pricing-card .pricing-cta { margin-top: auto; margin-bottom: 0; }

/* ───────── 3 niveluri de CTA pentru pricing cards ─────────
   TIER 1: Cumpără online (acțiune directă, comitment maxim) — gradient solid
   TIER 2: Solicită Ofertă (preț fix, doar discuție) — soft fill cu border
   TIER 3: Contactează-ne (custom, no price) — outline transparent
*/

.pricing-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    width: 100%;
    padding: 0.85rem 1.5rem;
    border-radius: 999px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    margin-bottom: 1.5rem;
    transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
    border: 1.5px solid transparent;
    cursor: pointer;
    line-height: 1.2;
}
.pricing-cta svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}
.pricing-cta:hover {
    transform: translateY(-2px);
}

/* TIER 1 — Cumpără online: gradient blue strong */
.pricing-cta--buy {
    background: linear-gradient(135deg, var(--color-primary, #2563eb), var(--color-secondary, #60a5fa));
    color: #fff;
    box-shadow: 0 6px 18px rgba(37, 99, 235, 0.32), 0 2px 4px rgba(37, 99, 235, 0.18);
}
.pricing-cta--buy:hover {
    box-shadow: 0 10px 24px rgba(37, 99, 235, 0.4), 0 4px 6px rgba(37, 99, 235, 0.22);
    color: #fff;
}

/* TIER 2 — Solicită Ofertă: soft blue fill */
.pricing-cta--offer {
    background: rgba(37, 99, 235, 0.10);
    color: var(--color-primary, #2563eb);
    border-color: rgba(37, 99, 235, 0.22);
}
.pricing-cta--offer:hover {
    background: rgba(37, 99, 235, 0.16);
    border-color: rgba(37, 99, 235, 0.4);
    color: var(--color-primary, #2563eb);
}

/* TIER 3 — Contactează-ne: outline neutru */
.pricing-cta--contact {
    background: transparent;
    color: var(--text-primary, #0f172a);
    border-color: rgba(15, 23, 42, 0.18);
}
.pricing-cta--contact:hover {
    background: rgba(15, 23, 42, 0.04);
    border-color: rgba(15, 23, 42, 0.32);
    color: var(--text-primary, #0f172a);
}

/* ============================================================
   CHECKOUT — pagină comandă
   ============================================================ */
.checkout-section {
    padding: 6.5rem 0 4rem 0;
    min-height: 80vh;
}
@media (max-width: 768px) {
    .checkout-section { padding-top: 5.5rem; padding-bottom: 3rem; }
}
.checkout-container { max-width: 1100px; }

/* ─── Topbar: back link + progress ─── */
.checkout-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}
.checkout-back {
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.7rem 0.35rem 0.5rem;
    border-radius: 8px;
    transition: color 0.15s, background 0.15s;
    line-height: 1;
}
.checkout-back:hover {
    color: var(--color-primary);
    background: rgba(37, 99, 235, 0.06);
}
.checkout-back svg { transition: transform 0.15s; flex-shrink: 0; }
.checkout-back:hover svg { transform: translateX(-2px); }

.checkout-progress {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.78rem;
    color: var(--text-muted);
    font-weight: 500;
}
.checkout-progress-dot {
    width: 5px; height: 5px;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.2);
    transition: background 0.2s;
}
.checkout-progress-dot.is-active {
    background: var(--color-primary);
}
.checkout-progress-text {
    margin-left: 0.35rem;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.005em;
}

/* ─── Header titlu ─── */
.checkout-head {
    margin: 0 0 1.5rem 0;
}
.checkout-head h1 {
    font-size: clamp(1.4rem, 2.4vw, 1.75rem);
    font-weight: 700;
    letter-spacing: -0.025em;
    margin: 0 0 0.5rem 0;
    color: var(--text-primary);
    line-height: 1.2;
}

/* ─── Meta row: pachet · preț · perioadă ─── */
.checkout-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.65rem;
    color: var(--text-muted);
    font-size: 0.88rem;
}
.checkout-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    line-height: 1;
}
.checkout-meta-item svg {
    color: rgba(15, 23, 42, 0.4);
    flex-shrink: 0;
}
.checkout-meta-item strong {
    color: var(--text-primary);
    font-weight: 600;
}
.checkout-meta-sep {
    width: 4px; height: 4px;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.15);
}
@media (max-width: 540px) {
    .checkout-meta { font-size: 0.82rem; gap: 0.5rem; }
}

/* ─── Trust badges mini (lângă submit) ─── */
.checkout-trust-mini {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.85rem;
    margin-top: 1rem;
    padding-top: 0.85rem;
    border-top: 1px dashed rgba(15, 23, 42, 0.08);
}
.checkout-trust-mini span {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.72rem;
    color: var(--text-muted);
    white-space: nowrap;
}
.checkout-trust-mini svg {
    color: #10b981;
    flex-shrink: 0;
}
@media (max-width: 540px) {
    .checkout-trust-mini { gap: 0.5rem; }
    .checkout-trust-mini span { font-size: 0.68rem; }
}

.checkout-alert {
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.25);
    color: #dc2626;
    padding: 0.85rem 1rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.checkout-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 1.75rem;
    align-items: start;
}
@media (max-width: 900px) {
    .checkout-grid { grid-template-columns: 1fr; }
}

/* Formular */
.checkout-form {
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04), 0 8px 24px rgba(15, 23, 42, 0.04);
}
.checkout-section-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 1.25rem 0;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}
.checkout-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}
@media (max-width: 540px) {
    .checkout-row { grid-template-columns: 1fr; }
}
.checkout-field {
    display: block;
    margin-bottom: 1rem;
}
.checkout-row .checkout-field { margin-bottom: 0; }
.checkout-label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.4rem;
    letter-spacing: -0.005em;
}
.checkout-optional {
    color: var(--text-muted);
    font-weight: 400;
    font-size: 0.78rem;
}
.checkout-input {
    display: block;
    width: 100%;
    padding: 0.7rem 0.95rem;
    background: #fafbfc;
    border: 1.5px solid rgba(15, 23, 42, 0.08);
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 0.95rem;
    font-family: inherit;
    transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
}
.checkout-input:hover { background: #fff; }
.checkout-input:focus {
    outline: none;
    background: #fff;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}
.checkout-input::placeholder { color: rgba(15, 23, 42, 0.35); }

.checkout-recurring {
    display: flex;
    gap: 0.8rem;
    align-items: flex-start;
    background: rgba(34, 211, 238, 0.06);
    border: 1px solid rgba(34, 211, 238, 0.22);
    padding: 1rem 1.1rem;
    border-radius: 12px;
    margin: 1.25rem 0;
    cursor: pointer;
    transition: background 0.15s;
}
.checkout-recurring:hover { background: rgba(34, 211, 238, 0.10); }
.checkout-recurring input[type="checkbox"] {
    width: 20px; height: 20px;
    margin-top: 2px;
    flex-shrink: 0;
    accent-color: var(--color-primary);
}
.checkout-recurring strong {
    display: block;
    font-size: 0.92rem;
    color: var(--text-primary);
    font-weight: 700;
    margin-bottom: 0.15rem;
}
.checkout-recurring small {
    display: block;
    color: var(--text-muted);
    font-size: 0.82rem;
    line-height: 1.45;
}

.checkout-terms {
    display: flex;
    gap: 0.6rem;
    align-items: flex-start;
    margin: 1.25rem 0;
    font-size: 0.85rem;
    color: var(--text-muted);
    cursor: pointer;
    line-height: 1.5;
}
.checkout-terms input[type="checkbox"] {
    margin-top: 3px;
    accent-color: var(--color-primary);
    flex-shrink: 0;
}
.checkout-terms a { color: var(--color-primary); }
.checkout-terms a:hover { text-decoration: underline; }

.checkout-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    width: 100%;
    padding: 1rem 1.5rem;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: #fff;
    border: none;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    margin-top: 0.5rem;
    box-shadow: 0 8px 22px rgba(37, 99, 235, 0.3), 0 2px 4px rgba(37, 99, 235, 0.18);
    transition: transform 0.15s, box-shadow 0.2s;
    font-family: inherit;
}
.checkout-submit svg { width: 20px; height: 20px; flex-shrink: 0; }
.checkout-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(37, 99, 235, 0.38), 0 4px 6px rgba(37, 99, 235, 0.22);
}
.checkout-submit:active { transform: translateY(0); }

.checkout-secure {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.8rem;
    margin: 1rem 0 0 0;
}

/* Sumar comandă */
.checkout-summary {
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04), 0 8px 24px rgba(15, 23, 42, 0.04);
    position: sticky;
    top: 1.5rem;
}
.checkout-summary h3 {
    margin: 0 0 1rem 0;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.checkout-summary-pkg {
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
    margin-bottom: 1rem;
}
.checkout-summary-pkg strong {
    display: block;
    font-size: 1.05rem;
    color: var(--text-primary);
    font-weight: 700;
    margin-bottom: 0.3rem;
}
.checkout-summary-pkg p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.5;
}
.checkout-summary-list {
    margin: 0 0 1rem 0;
    padding: 0;
    display: grid;
    gap: 0.5rem;
}
.checkout-summary-list dt {
    display: inline-block;
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 500;
}
.checkout-summary-list dd {
    margin: 0;
    display: inline-block;
    float: right;
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.9rem;
}
.checkout-summary-total {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding-top: 1rem;
    border-top: 2px solid rgba(15, 23, 42, 0.08);
    margin-top: 1rem;
}
.checkout-summary-total span {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
}
.checkout-summary-total strong {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-primary);
    letter-spacing: -0.02em;
}
.checkout-summary-note {
    margin: 1rem 0 0 0;
    font-size: 0.75rem;
    color: var(--text-muted);
    text-align: center;
}

/* Echivalent RON sub total */
.checkout-summary-ron {
    text-align: right;
    margin-top: 0.4rem;
    padding: 0.6rem 0.8rem;
    background: linear-gradient(135deg, rgba(34, 211, 238, 0.06), rgba(37, 99, 235, 0.04));
    border-radius: 8px;
    border: 1px solid rgba(34, 211, 238, 0.18);
}
.checkout-ron-approx {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-primary);
    letter-spacing: -0.01em;
}
.checkout-summary-ron small {
    display: block;
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-top: 0.2rem;
    line-height: 1.4;
}

/* Payment result page */
.payment-result {
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 24px;
    padding: 3rem 2rem;
    text-align: center;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04), 0 8px 24px rgba(15, 23, 42, 0.06);
}
.payment-result-icon {
    width: 80px; height: 80px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 1.5rem auto;
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
}
.payment-result--success .payment-result-icon { background: linear-gradient(135deg, #10b981, #34d399); box-shadow: 0 8px 24px rgba(16, 185, 129, 0.35); }
.payment-result--pending .payment-result-icon { background: linear-gradient(135deg, #f59e0b, #fbbf24); box-shadow: 0 8px 24px rgba(245, 158, 11, 0.35); font-size: 2rem; }
.payment-result--failed  .payment-result-icon { background: linear-gradient(135deg, #ef4444, #f87171); box-shadow: 0 8px 24px rgba(239, 68, 68, 0.35); }
.payment-result--canceled .payment-result-icon { background: linear-gradient(135deg, #6b7280, #9ca3af); box-shadow: 0 8px 24px rgba(107, 114, 128, 0.25); }
.payment-result h1 {
    font-size: 1.75rem;
    font-weight: 800;
    margin: 0 0 0.75rem 0;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}
.payment-result-msg {
    color: var(--text-muted);
    margin: 0 0 1.5rem 0;
    line-height: 1.6;
}
.payment-result-details {
    background: #fafbfc;
    border: 1px solid rgba(15, 23, 42, 0.06);
    border-radius: 12px;
    padding: 1rem 1.25rem;
    margin: 1.5rem 0;
    text-align: left;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.5rem 1rem;
}
.payment-result-details dt { color: var(--text-muted); font-size: 0.85rem; font-weight: 500; }
.payment-result-details dd { margin: 0; color: var(--text-primary); font-size: 0.9rem; font-weight: 600; font-family: ui-monospace, monospace; word-break: break-all; }
.payment-result-actions {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    margin-top: 1.5rem;
}
.pricing-features {
    margin-bottom: 1.25rem;
    list-style: none;
    display: grid;
    gap: 0.55rem;
    flex: 1;
}
.pricing-features li {
    display: flex; align-items: flex-start; gap: 0.55rem;
    font-size: 0.86rem;
    color: var(--text-secondary);
    line-height: 1.5;
}
.pricing-features li svg {
    flex-shrink: 0; margin-top: 2px;
    color: var(--color-accent-green);
}

/* Compare table */
.compare-section { margin-top: 4rem; }
.compare-section--hidden { display: none; }
.compare-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    text-align: center;
    margin-bottom: 2rem;
    color: var(--text-primary);
}
.compare-category {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.compare-table-wrap { overflow-x: auto; margin-bottom: 2rem; }
.compare-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.88rem;
    background: rgba(255,255,255,0.85);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--glass-shadow);
}
.compare-table thead th {
    background: rgba(37, 99, 235,0.06);
    padding: 0.95rem 1rem;
    font-weight: 700;
    text-align: center;
    color: var(--text-primary);
    border-bottom: 2px solid rgba(37, 99, 235,0.15);
    font-size: 0.88rem;
    white-space: nowrap;
}
.compare-table thead th:first-child { text-align: left; min-width: 240px; }
.compare-table tbody td {
    padding: 0.75rem 1rem;
    text-align: center;
    border-bottom: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    vertical-align: middle;
}
.compare-table tbody td:first-child {
    text-align: left;
    font-weight: 500;
    color: var(--text-primary);
}
.compare-table tbody tr:last-child td { border-bottom: none; }
.compare-table tbody tr:hover { background: rgba(37, 99, 235,0.03); }
.compare-group td {
    background: rgba(37, 99, 235,0.05);
    font-weight: 700;
    color: var(--text-primary);
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 0.65rem 1rem;
}
.cmp-yes { color: var(--color-accent-green); font-weight: 700; font-size: 1.1rem; }
.cmp-no  { color: var(--text-muted); }
.compare-feature-col { min-width: 240px; }

/* ============================================================
   MISC
   ============================================================ */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-muted);
}
.empty-state svg { margin-bottom: 1rem; }
.empty-state h3 { color: var(--text-secondary); margin-bottom: 0.5rem; }
.page-content { max-width: 800px; margin: 0 auto; }

/* ============================================================
   PERFORMANCE — disable expensive effects on mobile/low-end
   ============================================================ */
@media (max-width: 768px) {
    .bento-card, .process-card, .pricing-card, .testimonial-card,
    .trust-feature, .service-type-card, .contact-info-card,
    .header-inner, .hero-stat, .filter-chip, .pricing-tab,
    .main-nav {
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        background: rgba(255,255,255,0.92) !important;
    }
    body::before {
        background:
            radial-gradient(ellipse 90vw 50vh at 50% 10%, rgba(96, 165, 250,0.22), transparent 65%),
            radial-gradient(ellipse 80vw 45vh at 50% 90%, rgba(37, 99, 235,0.15), transparent 65%);
    }
}

/* Lazy paint: sections below fold */
.section { content-visibility: auto; contain-intrinsic-size: 1px 600px; }
.site-footer { content-visibility: auto; contain-intrinsic-size: 1px 400px; }

@media (prefers-reduced-motion: reduce) {
    .hero-float-card { animation: none !important; }
    * { transition-duration: 0.01s !important; }
}

/* ═══════════════════════════════════════════════
   FOOTER — Modern 2-col redesign (definitive)
   ═══════════════════════════════════════════════ */
.page-header { padding-top: 6rem !important; padding-bottom: 1rem !important; }
.page-header + .section { padding-top: 1.5rem !important; }

.site-footer {
    margin-top: 3rem;
    padding: 2.5rem 0 1.25rem;
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 50%, #082f49 100%);
    color: rgba(255,255,255,0.6);
    position: relative;
    overflow: hidden;
    border-top: none;
}
.site-footer::before {
    content: '';
    position: absolute; inset: 0;
    background:
        radial-gradient(ellipse 50% 40% at 25% 30%, rgba(59, 130, 246, 0.22), transparent 60%),
        radial-gradient(ellipse 45% 35% at 78% 75%, rgba(139, 92, 246, 0.20), transparent 60%);
    pointer-events: none;
}
.site-footer .container {
    position: relative;
    z-index: 1;
    /* Full-width: footer-ul se întinde până la marginile ecranului, păstrând doar un padding lateral */
    max-width: none;
    padding-left: clamp(1.5rem, 4vw, 4rem);
    padding-right: clamp(1.5rem, 4vw, 4rem);
}
.site-footer a { color: rgba(255,255,255,0.6); text-decoration: none; transition: color 0.2s; }
.site-footer a:hover { color: #fff; }

/* Main: brand + 5 nav-cols pe acelasi rand */
.footer-main {
    display: grid;
    grid-template-columns: 1.4fr 5fr;
    gap: 2rem;
    padding-bottom: 0.5rem;
    margin-bottom: 0;
    align-items: start;
}
.footer-brand { max-width: none; }
@media (max-width: 1100px) {
    .footer-main { grid-template-columns: 1fr; gap: 1.75rem; }
}

.footer-brand { max-width: 340px; }
.footer-logo {
    display: inline-flex; align-items: center; gap: 0.5rem;
    font-family: 'Nunito', sans-serif;
    font-size: 1.1rem; font-weight: 800;
    color: #fff !important;
    margin-bottom: 0.55rem;
}
.footer-logo svg { width: 22px; height: 22px; color: #60a5fa; flex-shrink: 0; }
.footer-logo--has-image { gap: 0; margin-bottom: 0.85rem; }
.footer-logo--has-image img {
    height: 72px;
    width: auto;
    max-width: 260px;
    object-fit: contain;
    display: block;
    background: transparent;
    /* Multi-layer halo: strălucire albă + acccent cyan/blue */
    filter:
        brightness(1.35)
        contrast(1.1)
        drop-shadow(0 0 1px rgba(255, 255, 255, 0.95))
        drop-shadow(0 0 6px rgba(255, 255, 255, 0.7))
        drop-shadow(0 0 14px rgba(96, 165, 250, 0.55))
        drop-shadow(0 0 28px rgba(34, 211, 238, 0.35))
        drop-shadow(0 0 48px rgba(96, 165, 250, 0.18));
    transition: transform 0.3s, filter 0.3s;
}
.footer-logo--has-image:hover img {
    transform: translateY(-2px) scale(1.03);
    filter:
        brightness(1.5)
        contrast(1.15)
        drop-shadow(0 0 2px rgba(255, 255, 255, 1))
        drop-shadow(0 0 10px rgba(255, 255, 255, 0.85))
        drop-shadow(0 0 20px rgba(96, 165, 250, 0.7))
        drop-shadow(0 0 36px rgba(34, 211, 238, 0.5))
        drop-shadow(0 0 60px rgba(96, 165, 250, 0.25));
}
@media (max-width: 600px) {
    .footer-logo--has-image img { height: 56px; max-width: 220px; }
}
.footer-slogan {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #60a5fa;
    margin: -0.2rem 0 0.55rem 0;
    line-height: 1.5;
}
.footer-tagline {
    font-size: 0.78rem;
    line-height: 1.55;
    color: rgba(255,255,255,0.55);
    margin-bottom: 0.85rem;
}
.footer-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}
.footer-trust-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.6rem;
    background: rgba(255,255,255,0.04);
    border-radius: 6px;
    border: 1px solid rgba(255,255,255,0.1);
    transition: all 0.2s;
    position: relative;
    transform-origin: center;
}
.footer-trust-badge:hover {
    transform: translateY(-3px) scale(1.22);
    background: #fff;
    border-color: rgba(37, 99, 235,0.5);
    box-shadow: 0 8px 20px rgba(0,0,0,0.4);
    z-index: 10;
}
.footer-trust-badge img {
    height: 28px;
    width: auto;
    display: block;
    filter: drop-shadow(0 0 1px rgba(255,255,255,0.85)) drop-shadow(0 0 3px rgba(255,255,255,0.45));
    transition: filter 0.2s;
}
.footer-trust-badge:hover img {
    filter: none;
}

/* Nav columns — distribuție dinamică egală indiferent de câte coloane sunt (4 logged-out / 5 logged-in) */
.footer-nav-cols {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
}
.footer-nav-cols > .footer-col {
    flex: 1 1 140px;
    min-width: 0;
}
/* Separator vertical subtil cu gradient fade — DOAR între coloana brand și prima nav col */
.footer-main { position: relative; }
.footer-main > .footer-brand {
    position: relative;
    padding-right: 1.25rem;
}
.footer-main > .footer-brand::after {
    content: "";
    position: absolute;
    top: 8%;
    bottom: 14%;
    right: -1rem;
    width: 1px;
    background: linear-gradient(180deg,
        transparent 0%,
        rgba(255,255,255,0.10) 18%,
        rgba(255,255,255,0.10) 82%,
        transparent 100%);
    pointer-events: none;
}
@media (max-width: 1100px) {
    .footer-nav-cols { gap: 1.5rem; }
    .footer-nav-cols > .footer-col { flex: 1 1 calc(33.333% - 1rem); }
    /* Ascunde separator-ul brand→nav când layout-ul devine vertical */
    .footer-main > .footer-brand::after { display: none; }
    .footer-main > .footer-brand { padding-right: 0; }
}
@media (max-width: 760px)  { .footer-nav-cols > .footer-col { flex: 1 1 calc(50% - 0.625rem); } }
@media (max-width: 480px)  { .footer-nav-cols { gap: 1.25rem; } .footer-nav-cols > .footer-col { flex: 1 1 100%; } }
.footer-col h4 {
    font-size: 0.7rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-family: 'Nunito', sans-serif;
}
.footer-col a,
.footer-col .footer-address {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: rgba(255,255,255,0.55);
    font-size: 0.78rem;
    padding: 0.2rem 0;
    text-decoration: none;
}
.footer-col a:hover { color: #fff; }
.footer-col a svg,
.footer-col .footer-address svg { flex-shrink: 0; opacity: 0.7; width: 12px; height: 12px; }

/* ============================================================
   Homepage redesign — sections
   ============================================================ */

/* Section header (eyebrow + title + subtitle) */
.hp-section-head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 2.5rem auto;
}
.hp-section-eyebrow {
    display: inline-block;
    background: rgba(37, 99, 235, 0.08);
    color: var(--color-primary);
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}
.hp-section-head h2 {
    font-size: clamp(1.75rem, 3.2vw, 2.4rem);
    font-weight: 800;
    color: var(--text-primary);
    margin: 0 0 0.85rem 0;
    letter-spacing: -0.025em;
    line-height: 1.15;
}
.hp-section-head p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

/* ── STATS BAR (după hero) ── */
.hp-stats {
    padding: 2.5rem 0 1.5rem 0;
}
.hp-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    padding: 1.75rem 2rem;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(37, 99, 235, 0.1);
    border-radius: 18px;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset, 0 12px 32px -12px rgba(37, 99, 235, 0.08);
}
.hp-stat {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    padding-left: 1.25rem;
    border-left: 2px solid rgba(37, 99, 235, 0.18);
}
.hp-stat:first-child { border-left: none; padding-left: 0; }
.hp-stat-num {
    font-size: 1.75rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--color-primary), #60a5fa);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: -0.02em;
    line-height: 1;
}
.hp-stat-label {
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 500;
}
@media (max-width: 760px) {
    .hp-stats-grid { grid-template-columns: repeat(2, 1fr); padding: 1.5rem; gap: 1.25rem; }
    .hp-stat:nth-child(odd) { border-left: none; padding-left: 0; }
    .hp-stat:nth-child(even) { padding-left: 1rem; }
    .hp-stat-num { font-size: 1.4rem; }
}

/* ── SERVICES (3 carduri compacte) ── */
.hp-services {
    padding: 4rem 0;
}
.hp-svc-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.hp-svc {
    position: relative;
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.06);
    border-radius: 20px;
    padding: 2rem 1.75rem;
    text-decoration: none;
    transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
    overflow: hidden;
}
.hp-svc::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.04), rgba(34, 211, 238, 0.02));
    opacity: 0;
    transition: opacity 0.25s;
    pointer-events: none;
}
.hp-svc:hover {
    transform: translateY(-4px);
    border-color: rgba(37, 99, 235, 0.22);
    box-shadow: 0 16px 40px -8px rgba(37, 99, 235, 0.18);
    color: var(--text-primary);
}
.hp-svc:hover::before { opacity: 1; }
.hp-svc > * { position: relative; }
.hp-svc-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(34, 211, 238, 0.08));
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    transition: transform 0.25s;
}
.hp-svc:hover .hp-svc-icon { transform: scale(1.05) rotate(-2deg); }
.hp-svc h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 0.6rem 0;
    letter-spacing: -0.015em;
}
.hp-svc p {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.6;
    margin: 0 0 1.5rem 0;
    flex: 1;
}
.hp-svc-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--color-primary);
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: auto;
    transition: gap 0.2s;
}
.hp-svc:hover .hp-svc-link { gap: 0.6rem; }
.hp-svc-link svg { transition: transform 0.2s; }

/* Card "Popular" (eCommerce) */
.hp-svc--featured {
    border-color: rgba(37, 99, 235, 0.25);
    background: linear-gradient(180deg, rgba(37, 99, 235, 0.04) 0%, #fff 100%);
}
.hp-svc-badge {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    background: linear-gradient(135deg, #2563eb, #06b6d4);
    color: #fff;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

@media (max-width: 860px) {
    .hp-svc-grid { grid-template-columns: 1fr; gap: 1rem; }
    .hp-services { padding: 3rem 0; }
}

/* ── WHY US (6 puncte de diferențiere) ── */
.hp-why {
    padding: 4rem 0;
    background:
        radial-gradient(circle at 0% 0%, rgba(37, 99, 235, 0.04) 0, transparent 40%),
        radial-gradient(circle at 100% 100%, rgba(34, 211, 238, 0.04) 0, transparent 50%);
}
.hp-why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem 2rem;
}
.hp-why-item {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(15, 23, 42, 0.05);
    border-radius: 16px;
    transition: transform 0.2s, border-color 0.2s, background 0.2s;
}
.hp-why-item:hover {
    transform: translateY(-2px);
    border-color: rgba(37, 99, 235, 0.18);
    background: #fff;
}
.hp-why-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(37, 99, 235, 0.1);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
}
.hp-why-item h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 0.35rem 0;
    letter-spacing: -0.01em;
}
.hp-why-item p {
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.55;
    margin: 0;
}
@media (max-width: 1024px) {
    .hp-why-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .hp-why-grid { grid-template-columns: 1fr; }
    .hp-why { padding: 3rem 0; }
}

/* Header actions wrapper — grupează lang switcher + login/account button */
.header-actions {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Header — Login icon (cand NU e logat) */
.header-login-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    margin-left: 4px;
    background: transparent;
    border: 0;
    border-radius: 8px;
    color: #475569;
    text-decoration: none;
    transition: background 0.18s, color 0.18s, transform 0.18s;
    box-shadow: none;
}
.header-login-icon:hover {
    background: rgba(15, 23, 42, 0.05);
    color: var(--color-primary, #2563eb);
    transform: translateY(-1px);
}
.header-login-icon svg { display: block; }

/* ============================================================
   Header — Customer Account button (cand e logat)
   ============================================================ */
.header-account {
    position: relative;
    margin-left: 0.5rem;
}
.header-account-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.7rem 0.4rem 0.4rem;
    background: #fff;
    border: 1.5px solid #e5e7eb;
    border-radius: 999px;
    color: #0f172a;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
    box-shadow: 0 1px 2px rgba(0,0,0,.04), 0 2px 8px rgba(0,0,0,.04);
}
.header-account-btn:hover {
    border-color: var(--color-primary, #2563eb);
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.15);
    color: #0f172a;
}
.header-account-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2563eb, #06b6d4);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.78rem;
    flex-shrink: 0;
}
.header-account-label { font-size: 0.85rem; }
.header-account-btn svg { color: #8b85a0; transition: transform 0.2s; }
.header-account.open .header-account-btn svg { transform: rotate(180deg); }
.header-account.open .header-account-btn { border-color: var(--color-primary, #2563eb); }

.header-account-menu {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    min-width: 220px;
    background: #fff;
    border: 1.5px solid #e5e7eb;
    border-radius: 14px;
    padding: 0.4rem;
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.18), 0 4px 16px rgba(15, 23, 42, 0.08);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.2s, visibility 0.2s, transform 0.2s;
    z-index: 1000;
}
.header-account.open .header-account-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.header-account-menu a {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.55rem 0.75rem;
    color: #0f172a;
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 500;
    border-radius: 8px;
    transition: background 0.15s, color 0.15s;
}
.header-account-menu a:hover {
    background: rgba(37, 99, 235, 0.06);
    color: var(--color-primary, #2563eb);
}
.header-account-menu a svg { color: #8b85a0; flex-shrink: 0; transition: color 0.15s; }
.header-account-menu a:hover svg { color: var(--color-primary, #2563eb); }
.header-account-logout {
    border-top: 1px solid #f0eef5;
    margin-top: 0.25rem;
    padding-top: 0.65rem !important;
    color: #dc2626 !important;
}
.header-account-logout svg { color: #dc2626 !important; }

@media (max-width: 768px) {
    .header-account-label { display: none; }
    .header-account-btn { padding: 0.35rem 0.5rem 0.35rem 0.35rem; }
}

/* ============================================================
   Portal — Sub-nav (segmented control + clean CTA)
   ============================================================ */
.portal-subnav {
    padding: 7rem 0 0 0;
    background: transparent;
}
.portal-subnav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
    flex-wrap: wrap;
}
.portal-subnav-tabs {
    display: inline-flex;
    background: rgba(15, 23, 42, 0.04);
    border-radius: 12px;
    padding: 0.3rem;
    gap: 0.15rem;
    overflow-x: auto;
    scrollbar-width: none;
    max-width: 100%;
}
.portal-subnav-tabs::-webkit-scrollbar { display: none; }
.portal-subnav-tabs a {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.5rem 0.95rem;
    border-radius: 9px;
    color: var(--text-muted);
    font-size: 0.86rem;
    font-weight: 500;
    text-decoration: none !important;
    transition: color 0.15s, background 0.15s, box-shadow 0.15s;
    white-space: nowrap;
    background: transparent;
    border: none;
}
.portal-subnav-tabs a:hover {
    color: var(--text-primary);
}
.portal-subnav-tabs a.is-active {
    background: #fff;
    color: var(--text-primary);
    font-weight: 600;
    box-shadow: 0 1px 2px rgba(15,23,42,.06), 0 2px 6px rgba(15,23,42,.05);
}
.portal-subnav-tabs a svg { color: currentColor; flex-shrink: 0; opacity: 0.7; }
.portal-subnav-tabs a.is-active svg { opacity: 1; color: var(--color-primary); }

.portal-subnav-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.55rem 1.1rem;
    background: var(--color-primary);
    color: #fff;
    border-radius: 9px;
    text-decoration: none;
    font-size: 0.86rem;
    font-weight: 600;
    box-shadow: 0 1px 2px rgba(37,99,235,.18), 0 4px 10px rgba(37,99,235,.18);
    transition: background 0.15s, transform 0.15s, box-shadow 0.15s;
    white-space: nowrap;
}
.portal-subnav-cta:hover {
    background: #1d4ed8;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(37,99,235,.22), 0 6px 16px rgba(37,99,235,.28);
}
.portal-subnav-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    margin-left: 4px;
    background: #ef4444;
    color: #fff;
    border-radius: 9px;
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
}
.portal-toast {
    margin-top: 1rem;
    padding: 0.85rem 1.25rem;
    border-radius: 10px;
    font-weight: 500;
}
.portal-toast--success { background: rgba(34, 197, 94, 0.1); color: #16a34a; border: 1px solid rgba(34, 197, 94, 0.25); }
.portal-toast--error { background: rgba(239, 68, 68, 0.1); color: #dc2626; border: 1px solid rgba(239, 68, 68, 0.25); }

@media (max-width: 700px) {
    .portal-subnav-inner { flex-direction: column; align-items: stretch; }
    .portal-subnav-tabs { justify-content: center; }
    .portal-subnav-cta { justify-content: center; }
}
@media (max-width: 540px) {
    .portal-subnav-tabs a { font-size: 0.8rem; padding: 0.45rem 0.65rem; }
    .portal-subnav-tabs a span { display: inline; }
}

/* ============================================================
   Portal — Customer self-service area
   ============================================================ */
.portal-section { padding: 2rem 0 4rem 0; min-height: 60vh; }
.portal-container { max-width: 1100px; }

.portal-back {
    display: inline-block;
    color: var(--text-muted);
    font-size: 0.85rem;
    text-decoration: none;
    margin-bottom: 1.25rem;
    transition: color 0.15s;
}
.portal-back:hover { color: var(--color-primary); }

.portal-head {
    margin-bottom: 2rem;
}
.portal-eyebrow {
    display: inline-block;
    background: rgba(37, 99, 235, 0.08);
    color: var(--color-primary);
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}
.portal-head h1 {
    font-size: clamp(1.5rem, 2.6vw, 2rem);
    font-weight: 800;
    color: var(--text-primary);
    margin: 0 0 0.5rem 0;
    letter-spacing: -0.025em;
}
.portal-head p { color: var(--text-muted); margin: 0; }

/* Stats row */
.portal-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}
.portal-stat {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 1.25rem 1.5rem;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.06);
    border-radius: 16px;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}
.portal-stat-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(37, 99, 235, 0.1);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.portal-stat strong {
    display: block;
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1;
    margin-bottom: 0.25rem;
}
.portal-stat span {
    font-size: 0.82rem;
    color: var(--text-muted);
}
@media (max-width: 700px) { .portal-stats { grid-template-columns: 1fr; } }

/* Quick nav cards */
.portal-nav {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.85rem;
    margin-bottom: 2rem;
}
.portal-nav-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.55rem;
    padding: 1.25rem 1rem;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.06), rgba(34, 211, 238, 0.04));
    border: 1px solid rgba(37, 99, 235, 0.18);
    border-radius: 14px;
    color: var(--text-primary);
    text-decoration: none;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
    font-size: 0.88rem;
    font-weight: 600;
}
.portal-nav-card:hover {
    transform: translateY(-2px);
    color: var(--color-primary);
    border-color: rgba(37, 99, 235, 0.45);
    box-shadow: 0 8px 22px rgba(37, 99, 235, 0.15);
}
.portal-nav-card svg { color: var(--color-primary); }
@media (max-width: 700px) { .portal-nav { grid-template-columns: repeat(2, 1fr); } }

/* Block (recent items) */
.portal-block {
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.06);
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 1.25rem;
}
.portal-block h2 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 1rem 0;
}
.portal-list { display: grid; gap: 0.75rem; }
.portal-list-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 0.85rem 1rem;
    background: #fafbfc;
    border-radius: 10px;
}
.portal-list-item strong { display: block; color: var(--text-primary); font-weight: 600; }
.portal-list-item span { display: block; color: var(--text-muted); font-size: 0.82rem; margin-top: 0.15rem; }
.portal-list-amount {
    text-align: right;
    font-weight: 700;
    color: var(--text-primary);
    white-space: nowrap;
}
.portal-list-badge {
    display: inline-block;
    margin-top: 0.4rem;
    padding: 0.2rem 0.55rem;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.portal-list-badge--paid, .portal-list-badge--active { background: rgba(34, 197, 94, 0.12); color: #16a34a; }
.portal-list-badge--pending { background: rgba(234, 179, 8, 0.12); color: #ca8a04; }
.portal-list-badge--failed { background: rgba(239, 68, 68, 0.12); color: #dc2626; }
.portal-list-badge--canceled, .portal-list-badge--expired, .portal-list-badge--suspended { background: rgba(107, 114, 128, 0.15); color: #6b7280; }
.portal-list-more {
    display: inline-block;
    margin-top: 1rem;
    color: var(--color-primary);
    font-weight: 600;
    font-size: 0.88rem;
    text-decoration: none;
}

/* Tables */
.portal-table-wrap {
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.06);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}
.portal-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.portal-table thead th {
    text-align: left;
    padding: 0.75rem 1rem;
    background: #fafbfc;
    color: var(--text-muted);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}
.portal-table tbody td {
    padding: 0.85rem 1rem;
    border-bottom: 1px solid rgba(15, 23, 42, 0.04);
    color: var(--text-primary);
    vertical-align: middle;
}
.portal-table tbody tr:last-child td { border-bottom: none; }
.portal-table tbody tr:hover { background: #fafbfc; }
.portal-muted { color: var(--text-muted); font-size: 0.85rem; }

/* Empty state */
.portal-empty {
    text-align: center;
    padding: 3rem 2rem;
    background: #fafbfc;
    border-radius: 16px;
    border: 1px dashed rgba(15, 23, 42, 0.1);
}
.portal-empty p { color: var(--text-muted); margin: 0 0 1.25rem 0; }
.portal-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, var(--color-primary), #3b82f6);
    color: #fff;
    text-decoration: none;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.25);
    transition: transform 0.2s;
}
.portal-btn:hover { transform: translateY(-2px); color: #fff; }
.portal-btn--ghost {
    background: transparent;
    color: var(--text-muted);
    border: 1px solid rgba(15, 23, 42, 0.12);
    box-shadow: none;
}
.portal-btn--ghost:hover { color: var(--text-primary); border-color: rgba(15, 23, 42, 0.25); }

/* ============================================================
   Tickets — Modern compact toolbar (single line filter + search)
   ============================================================ */
.t-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 0.25rem 0;
    flex-wrap: wrap;
}
.t-filters {
    display: inline-flex;
    background: rgba(15, 23, 42, 0.04);
    border-radius: 10px;
    padding: 0.25rem;
    gap: 0.15rem;
}
.t-filter {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.85rem;
    border-radius: 7px;
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none !important;
    transition: background 0.15s, color 0.15s;
    white-space: nowrap;
}
.t-filter:hover { color: var(--text-primary); }
.t-filter.is-active {
    background: #fff;
    color: var(--text-primary);
    font-weight: 600;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
}
.t-filter-count {
    background: rgba(15, 23, 42, 0.08);
    color: var(--text-muted);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.05rem 0.4rem;
    border-radius: 999px;
    min-width: 20px;
    text-align: center;
}
.t-filter.is-active .t-filter-count {
    background: var(--color-primary);
    color: #fff;
}
.t-search {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.5rem 0.9rem;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.1);
    border-radius: 10px;
    width: 280px;
    max-width: 100%;
    transition: border-color 0.15s, box-shadow 0.15s;
}
.t-search:focus-within {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(37,99,235,.1);
}
.t-search svg { color: var(--text-muted); flex-shrink: 0; }
.t-search input {
    flex: 1;
    border: none;
    background: transparent;
    font-family: inherit;
    font-size: 0.85rem;
    color: var(--text-primary);
    outline: none;
    min-width: 0;
}
.t-search-clear {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1;
    text-decoration: none;
    padding: 0 0.2rem;
}
.t-search-clear:hover { color: #dc2626; }

/* Empty state — compact, single row */
.t-empty {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background: #fff;
    border: 1px dashed rgba(15, 23, 42, 0.12);
    border-radius: 12px;
}
.t-empty-ico {
    width: 44px;
    height: 44px;
    padding: 8px;
    border-radius: 10px;
    background: rgba(37, 99, 235, 0.08);
    color: var(--color-primary);
    flex-shrink: 0;
    box-sizing: border-box;
}
.t-empty-text {
    flex: 1;
    min-width: 0;
}
.t-empty-text strong {
    display: block;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 0.15rem;
}
.t-empty-text span {
    color: var(--text-muted);
    font-size: 0.85rem;
}
.t-empty-actions { flex-shrink: 0; }
.t-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1rem;
    background: var(--color-primary);
    color: #fff;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.15s, transform 0.15s;
}
.t-btn:hover {
    background: #1d4ed8;
    color: #fff;
    transform: translateY(-1px);
}
.t-btn--ghost {
    background: transparent;
    color: var(--text-muted);
    border: 1px solid rgba(15, 23, 42, 0.12);
}
.t-btn--ghost:hover { color: var(--text-primary); background: rgba(15,23,42,.04); }

@media (max-width: 700px) {
    .t-toolbar { flex-direction: column; align-items: stretch; }
    .t-filters { overflow-x: auto; scrollbar-width: none; }
    .t-filters::-webkit-scrollbar { display: none; }
    .t-search { width: 100%; }
    .t-empty { flex-direction: column; text-align: center; }
}

/* Header compact (alternative la portal-head) */
.portal-head-compact {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}
.portal-head-compact h1 {
    margin: 0 0 0.25rem 0;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    line-height: 1.2;
}
.portal-count-pill {
    background: rgba(15, 23, 42, 0.06);
    color: var(--text-muted);
    font-size: 0.78rem;
    font-weight: 700;
    padding: 0.15rem 0.55rem;
    border-radius: 999px;
    letter-spacing: 0;
}
.portal-head-meta {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.4rem;
}
.portal-head-meta strong { color: var(--text-primary); }
.portal-meta-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    display: inline-block;
}
.portal-meta-sep { color: rgba(15, 23, 42, 0.2); margin: 0 0.15rem; }

/* Page transitions — fade-in la încărcare */
.portal-fade-in {
    animation: portalFadeIn 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
@keyframes portalFadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Toolbar (filter tabs + search) */
.portal-toolbar-card {
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.06);
    border-radius: 14px;
    padding: 0.6rem 0.8rem;
    margin-bottom: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
}
.portal-status-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.2rem;
}
.portal-status-tab {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.85rem;
    border-radius: 8px;
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.15s, color 0.15s;
    white-space: nowrap;
}
.portal-status-tab:hover { background: rgba(37,99,235,.06); color: var(--text-primary); }
.portal-status-tab.is-active { background: rgba(37,99,235,.1); color: var(--color-primary); font-weight: 600; }
.portal-status-tab-count {
    background: rgba(15, 23, 42, 0.08);
    padding: 0.05rem 0.4rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
}
.portal-status-tab.is-active .portal-status-tab-count {
    background: var(--color-primary);
    color: #fff;
}

.portal-search-form {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.4rem 0.85rem;
    background: #fafbfc;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 999px;
    flex: 1;
    min-width: 220px;
    max-width: 340px;
    transition: border-color 0.15s, box-shadow 0.15s;
}
.portal-search-form:focus-within {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(37,99,235,.12);
}
.portal-search-form svg { color: var(--text-muted); flex-shrink: 0; }
.portal-search-form input {
    flex: 1;
    border: none;
    background: transparent;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 0.88rem;
    outline: none;
    min-width: 0;
}
.portal-search-clear {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1;
    text-decoration: none;
    padding: 0 0.25rem;
}
.portal-search-clear:hover { color: #dc2626; }

/* Empty state (refined) */
.portal-empty-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(37,99,235,.1), rgba(34,211,238,.06));
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem auto;
}
.portal-empty h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 0.5rem 0;
}
.portal-empty-actions {
    display: flex;
    gap: 0.6rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1.25rem;
}

/* Table row clickable */
.portal-table-row { cursor: pointer; }
.portal-table-row.is-unread strong { font-weight: 700; }
.portal-table-row.is-unread::before {
    /* not used unless we add ::before slot in cells */
}

/* Forms */
.portal-form-card {
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.06);
    border-radius: 16px;
    padding: 1.75rem;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
    display: grid;
    gap: 1rem;
    margin-bottom: 1.25rem;
}
.portal-form-title {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
}
.portal-form-hint {
    margin: -0.5rem 0 0.5rem 0;
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
}
/* Profile — tab card cu nav orizontal + panels (no scroll) */
.profile-tabs-card {
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.06);
    border-radius: 18px;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04), 0 12px 32px -10px rgba(15, 23, 42, 0.08);
    overflow: hidden;
}
.profile-tabs-nav {
    display: flex;
    gap: 0.25rem;
    padding: 0.5rem;
    background: linear-gradient(180deg, #fafbfc 0%, #fff 100%);
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
    overflow-x: auto;
    scrollbar-width: none;
}
.profile-tabs-nav::-webkit-scrollbar { display: none; }
.profile-tab {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.65rem 1rem;
    background: transparent;
    border: none;
    border-radius: 10px;
    color: var(--text-muted);
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.15s, color 0.15s;
    white-space: nowrap;
    flex-shrink: 0;
}
.profile-tab:hover {
    background: rgba(37, 99, 235, 0.06);
    color: var(--text-primary);
}
.profile-tab.is-active {
    background: var(--color-primary);
    color: #fff;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}
.profile-tab svg { color: currentColor; flex-shrink: 0; }

.profile-tabs-body {
    padding: 1.75rem;
    position: relative;
}
.profile-tab-panel {
    display: none;
    flex-direction: column;
    gap: 1rem;
    animation: profilePanelFade 0.25s ease-out;
}
.profile-tab-panel.is-active {
    display: flex;
}
@keyframes profilePanelFade {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}
.profile-panel-head {
    margin-bottom: 0.25rem;
}
.profile-panel-head h3 {
    margin: 0 0 0.25rem 0;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary);
}
.profile-panel-head p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.55;
}
@media (max-width: 540px) {
    .profile-tab span { display: none; }
    .profile-tab { padding: 0.65rem 0.75rem; }
    .profile-tabs-body { padding: 1.25rem; }
}

.portal-readonly { background: #fafbfc; }
.portal-readonly-list {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 0.5rem 1rem;
    margin: 0;
}
.portal-readonly-list dt { color: var(--text-muted); font-size: 0.85rem; }
.portal-readonly-list dd { margin: 0; color: var(--text-primary); font-weight: 600; }
@media (max-width: 540px) {
    .portal-readonly-list { grid-template-columns: 1fr; gap: 0.25rem 0; }
    .portal-readonly-list dt { margin-top: 0.5rem; }
}
.portal-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
.portal-form-field { display: block; }
.portal-form-label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.4rem;
}
.portal-form-input {
    display: block;
    width: 100%;
    padding: 0.7rem 0.95rem;
    background: #fafbfc;
    border: 1.5px solid rgba(15, 23, 42, 0.08);
    border-radius: 10px;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 0.95rem;
    transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
    box-sizing: border-box;
}
.portal-form-input:hover { background: #fff; }
.portal-form-input:focus {
    outline: none;
    background: #fff;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(37,99,235,.12);
}
textarea.portal-form-input { resize: vertical; min-height: 120px; line-height: 1.6; }
.portal-form-actions {
    display: flex;
    gap: 0.6rem;
    justify-content: flex-end;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 0.5rem;
}
@media (max-width: 540px) { .portal-form-row { grid-template-columns: 1fr; } }

/* Ticket show: 2-col layout (conversation + sidebar meta) */
.portal-ticket-grid {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 1.25rem;
    align-items: start;
}
@media (max-width: 880px) {
    .portal-ticket-grid { grid-template-columns: 1fr; }
}
.portal-conv-list {
    display: grid;
    gap: 0.85rem;
    margin-bottom: 1.25rem;
}
.portal-msg {
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.06);
    border-radius: 14px;
    padding: 1rem 1.25rem;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
}
.portal-msg--customer {
    background: linear-gradient(135deg, rgba(37,99,235,.04), rgba(34,211,238,.02));
    border-color: rgba(37,99,235,.18);
}
.portal-msg--system {
    background: rgba(15,23,42,.02);
    border-style: dashed;
}
.portal-msg header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.6rem;
    font-size: 0.82rem;
}
.portal-msg-author { font-weight: 700; color: var(--text-primary); }
.portal-msg-body {
    color: var(--text-primary);
    font-size: 0.95rem;
    line-height: 1.6;
    word-wrap: break-word;
}
.portal-msg-attach {
    margin-top: 0.75rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}
.portal-msg-attach a {
    background: rgba(15,23,42,.05);
    padding: 0.35rem 0.65rem;
    border-radius: 8px;
    font-size: 0.82rem;
    color: var(--color-primary);
    text-decoration: none;
}
.portal-msg-attach a:hover { background: rgba(37,99,235,.1); }

.portal-reply { margin-top: 1.25rem; }
.portal-reply-title {
    margin: 0 0 0.5rem 0;
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
}

/* Sidebar meta card */
.portal-meta-card {
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.06);
    border-radius: 14px;
    padding: 1.25rem;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
    position: sticky;
    top: 1rem;
}
.portal-meta-card h3 {
    margin: 0 0 0.85rem 0;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.portal-meta-card dl {
    margin: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.6rem;
}
.portal-meta-card dt {
    font-size: 0.72rem;
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.portal-meta-card dd {
    margin: 0 0 0.25rem 0;
    color: var(--text-primary);
    font-size: 0.88rem;
    font-weight: 600;
}

/* Profile card */
.portal-profile-card {
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.06);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}
.portal-profile-card dl {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 0.65rem 1.25rem;
    margin: 0 0 1.5rem 0;
}
.portal-profile-card dt { color: var(--text-muted); font-size: 0.85rem; }
.portal-profile-card dd { margin: 0; color: var(--text-primary); font-weight: 600; }
.portal-profile-actions { padding-top: 1rem; border-top: 1px solid rgba(15, 23, 42, 0.06); }

/* ============================================================
   Legal documents (Politica de Retur, Termeni, etc.)
   ============================================================ */
.legal-doc {
    max-width: 760px;
    margin: 0 auto;
    color: var(--text-primary);
    line-height: 1.7;
    font-size: 0.95rem;
}
.legal-doc h2 {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.02em;
    margin: 2.5rem 0 1rem 0;
    padding-bottom: 0.4rem;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    scroll-margin-top: 100px;
}
.legal-doc h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 1.75rem 0 0.6rem 0;
    letter-spacing: -0.01em;
}
.legal-doc p { margin: 0 0 1rem 0; }
.legal-doc ul { padding-left: 1.5rem; margin: 0 0 1rem 0; }
.legal-doc li { margin-bottom: 0.35rem; }
.legal-doc strong { color: var(--text-primary); font-weight: 700; }
.legal-doc a {
    color: var(--color-primary);
    text-decoration: underline;
    text-underline-offset: 2px;
}
.legal-doc a:hover { color: #1d4ed8; }

.legal-summary {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.05), rgba(34, 211, 238, 0.03));
    border: 1px solid rgba(37, 99, 235, 0.18);
    border-radius: 14px;
    padding: 1.5rem 1.75rem;
    margin: 1.5rem 0 2.5rem 0;
}
.legal-summary > strong {
    display: inline-block;
    background: var(--color-primary);
    color: #fff;
    padding: 0.25rem 0.7rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 0.85rem;
}
.legal-summary ul { margin: 0; padding-left: 1.25rem; }
.legal-summary li { font-size: 0.92rem; line-height: 1.55; margin-bottom: 0.55rem; }
.legal-summary li:last-child { margin-bottom: 0; }

.legal-table {
    overflow-x: auto;
    margin: 1.25rem 0;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 12px;
}
.legal-table table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.88rem;
}
.legal-table thead th {
    background: #fafbfc;
    text-align: left;
    padding: 0.85rem 1rem;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-muted);
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    white-space: nowrap;
}
.legal-table tbody td {
    padding: 0.85rem 1rem;
    border-bottom: 1px solid rgba(15, 23, 42, 0.05);
    vertical-align: top;
    line-height: 1.55;
}
.legal-table tbody tr:last-child td { border-bottom: none; }

.legal-meta {
    margin-top: 3rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
    color: var(--text-muted);
    font-size: 0.82rem;
    text-align: center;
}

@media (max-width: 600px) {
    .legal-doc { font-size: 0.92rem; }
    .legal-doc h2 { font-size: 1.2rem; }
    .legal-summary { padding: 1.25rem; }
    .legal-table table { font-size: 0.82rem; }
    .legal-table thead th, .legal-table tbody td { padding: 0.6rem 0.75rem; }
}

/* ============================================================
   Existing customer card on /contact
   ============================================================ */
.contact-existing-customer {
    padding: 0 0 2rem 0;
}
.cec-card {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.5rem 1.75rem;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.06), rgba(34, 211, 238, 0.04));
    border: 1px solid rgba(37, 99, 235, 0.18);
    border-radius: 16px;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}
.cec-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(37, 99, 235, 0.12);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.cec-text { flex: 1; min-width: 0; }
.cec-text strong {
    display: block;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.2rem;
}
.cec-text p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.55;
}
.cec-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    color: #fff;
    text-decoration: none;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.9rem;
    flex-shrink: 0;
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.3);
    transition: transform 0.2s, box-shadow 0.2s;
    white-space: nowrap;
}
.cec-btn:hover {
    transform: translateY(-2px);
    color: #fff;
    box-shadow: 0 10px 22px rgba(37, 99, 235, 0.4);
}
.cec-btn svg { transition: transform 0.2s; flex-shrink: 0; }
.cec-btn:hover svg { transform: translateX(3px); }

@media (max-width: 700px) {
    .cec-card { flex-direction: column; align-items: flex-start; padding: 1.25rem; gap: 1rem; }
    .cec-btn { width: 100%; justify-content: center; }
}

/* ============================================================
   Floating support button (vizibil pe mobil)
   ============================================================ */
.fab-support {
    position: fixed;
    bottom: 1.25rem;
    right: 1.25rem;
    z-index: 9997;
    display: none;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    color: #fff;
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.4), 0 2px 6px rgba(0, 0, 0, 0.18);
    transition: transform 0.2s, box-shadow 0.2s;
    text-decoration: none;
}
.fab-support:hover, .fab-support:focus {
    transform: translateY(-3px) scale(1.05);
    color: #fff;
    box-shadow: 0 14px 32px rgba(37, 99, 235, 0.5), 0 4px 8px rgba(0, 0, 0, 0.22);
}
.fab-support::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid rgba(37, 99, 235, 0.3);
    animation: fabPulse 2.5s ease-out infinite;
}
@keyframes fabPulse {
    0%   { transform: scale(1);   opacity: 1; }
    100% { transform: scale(1.4); opacity: 0; }
}
@media (max-width: 768px) {
    .fab-support { display: inline-flex; }
}

/* ============================================================
   WinMENTOR Cloud Banner CTA
   ============================================================ */
.winmentor-banner {
    padding: 3rem 0;
}
.winmentor-banner-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 2rem;
    background:
        radial-gradient(circle at 0% 0%, rgba(37, 99, 235, 0.06) 0, transparent 40%),
        radial-gradient(circle at 100% 100%, rgba(34, 211, 238, 0.05) 0, transparent 50%),
        #fff;
    border: 1px solid rgba(15, 23, 42, 0.06);
    border-radius: 24px;
    padding: 2.5rem 2.5rem;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04), 0 16px 40px -8px rgba(15, 23, 42, 0.08);
    position: relative;
    overflow: hidden;
}
.winmentor-banner-content { min-width: 0; }
.winmentor-banner-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(37, 99, 235, 0.08);
    color: var(--color-primary);
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    margin-bottom: 0.85rem;
}
.winmentor-banner-title {
    font-size: clamp(1.5rem, 2.6vw, 1.95rem);
    font-weight: 800;
    color: var(--text-primary);
    margin: 0 0 0.5rem 0;
    letter-spacing: -0.025em;
    line-height: 1.15;
}
.winmentor-banner-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0 0 1.25rem 0;
    max-width: 560px;
}

/* CTA column: button + logo dedesubt */
.winmentor-banner-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}
.winmentor-banner-logo {
    height: 56px;
    width: auto;
    max-width: 220px;
    display: block;
    object-fit: contain;
}
@media (max-width: 860px) {
    .winmentor-banner-cta { align-items: flex-start; }
}
@media (max-width: 540px) {
    .winmentor-banner-logo { height: 48px; max-width: 180px; }
}

/* Buton mare albastru — replică screenshot */
.winmentor-banner-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 1.05rem 2rem;
    background: linear-gradient(135deg, #2563eb 0%, #3b82f6 50%, #60a5fa 100%);
    color: #fff;
    font-size: 1.05rem;
    font-weight: 700;
    border-radius: 999px;
    text-decoration: none;
    box-shadow:
        0 8px 24px rgba(37, 99, 235, 0.35),
        0 2px 6px rgba(37, 99, 235, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    white-space: nowrap;
    flex-shrink: 0;
    letter-spacing: -0.005em;
}
.winmentor-banner-btn:hover {
    transform: translateY(-2px);
    color: #fff;
    box-shadow:
        0 14px 32px rgba(37, 99, 235, 0.45),
        0 4px 8px rgba(37, 99, 235, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
.winmentor-banner-btn:active { transform: translateY(0); }
.winmentor-banner-btn svg { transition: transform 0.2s; flex-shrink: 0; }
.winmentor-banner-btn:hover svg { transform: translateX(3px); }

@media (max-width: 860px) {
    .winmentor-banner-inner {
        grid-template-columns: 1fr;
        padding: 2rem 1.5rem;
        text-align: left;
    }
    .winmentor-banner-btn {
        justify-content: center;
        padding: 0.95rem 1.5rem;
        font-size: 0.95rem;
    }
}
@media (max-width: 540px) {
    .winmentor-banner { padding: 2rem 0; }
    .winmentor-banner-inner { padding: 1.75rem 1.25rem; border-radius: 18px; }
}

/* ============================================================
   Service Cards — Link2Pay style (split white/blue)
   ============================================================ */
.srv-stack {
    display: grid;
    gap: 1.5rem;
}
.srv-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04), 0 16px 40px -8px rgba(15, 23, 42, 0.08);
    border: 1px solid rgba(15, 23, 42, 0.04);
    min-height: 380px;
}
@media (max-width: 860px) {
    .srv-card { grid-template-columns: 1fr; min-height: 0; }
}

/* ── Left side: white hero ── */
.srv-card-hero {
    padding: 2.5rem 2.25rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    background: #fff;
    position: relative;
}
.srv-card-eyebrow {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 0.25rem;
    letter-spacing: -0.005em;
}
.srv-card-title {
    font-size: clamp(1.4rem, 2.4vw, 1.85rem);
    font-weight: 800;
    color: var(--text-primary);
    margin: 0 0 1.5rem 0;
    line-height: 1.1;
    letter-spacing: -0.025em;
}
.srv-card-illustration {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0.5rem 0 1.5rem 0;
    min-height: 160px;
}
.srv-card-illustration svg {
    width: 140px;
    height: 140px;
    color: var(--color-primary);
    filter: drop-shadow(0 8px 20px rgba(37, 99, 235, 0.18));
}
.srv-card-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.65;
    margin: 0;
}

/* ── Right side: blue gradient benefits ── */
.srv-card-benefits {
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 50%, #3b82f6 100%);
    padding: 2.5rem 2.25rem;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.srv-card-benefits::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 100% 0%, rgba(255, 255, 255, 0.08) 0, transparent 50%),
        radial-gradient(circle at 0% 100%, rgba(34, 211, 238, 0.12) 0, transparent 50%);
    pointer-events: none;
}
.srv-card-benefits > * { position: relative; }
.srv-card-benefits-label {
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
}
.srv-card-benefits ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 1.25rem;
}
.srv-card-benefits li {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.srv-card-benefits li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}
.srv-check {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    color: #67e8f9;
    margin-top: 2px;
}
.srv-card-benefits li strong {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.3rem;
    letter-spacing: -0.01em;
    line-height: 1.3;
}
.srv-card-benefits li p {
    margin: 0;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.55;
}

@media (max-width: 860px) {
    .srv-card-hero { padding: 2rem 1.5rem; }
    .srv-card-illustration { min-height: 120px; }
    .srv-card-illustration svg { width: 110px; height: 110px; }
    .srv-card-benefits { padding: 2rem 1.5rem; }
    .srv-card-benefits ul { gap: 1rem; }
    .srv-card-benefits li { padding-bottom: 1rem; }
}
@media (max-width: 540px) {
    .srv-stack { gap: 1rem; }
    .srv-card { border-radius: 18px; }
    .srv-card-hero, .srv-card-benefits { padding: 1.75rem 1.25rem; }
    .srv-card-illustration svg { width: 90px; height: 90px; }
}

/* Payment methods + trust badges row */
.footer-payments {
    margin: 0.75rem 0 0.25rem 0;
    padding: 1.25rem 0 0.75rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem 2.5rem;
    flex-wrap: wrap;
}
.footer-payments-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    flex-wrap: wrap;
    margin-bottom: 0;
    position: relative;
}
/* Separator vertical elegant între logo-uri și trust badges (doar pe linii largi) */
.footer-payments-inner::after {
    content: "";
    position: absolute;
    right: -1.25rem;
    top: 18%;
    bottom: 18%;
    width: 1px;
    background: linear-gradient(180deg,
        transparent 0%,
        rgba(255,255,255,0.14) 50%,
        transparent 100%);
}
@media (max-width: 1100px) {
    .footer-payments-inner::after { display: none; }
}
.footer-payments-card {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 92px;
    min-width: 200px;
    padding: 10px 22px;
    background: transparent;
    border: none;
    border-radius: 12px;
    box-shadow: none;
    transition: transform 0.25s, filter 0.25s;
    text-decoration: none;
    line-height: 0;
}
.footer-payments-card:hover {
    transform: translateY(-2px) scale(1.02);
}
.footer-payments-card img {
    max-height: 72px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    display: block;
    /* Outline alb tight (stacked drop-shadows) — face textul închis citibil pe fundal dark.
       Fundalul cardului RĂMÂNE transparent. */
    filter:
        brightness(1.12)
        drop-shadow(0.6px 0 0 rgba(255, 255, 255, 0.75))
        drop-shadow(-0.6px 0 0 rgba(255, 255, 255, 0.75))
        drop-shadow(0 0.6px 0 rgba(255, 255, 255, 0.75))
        drop-shadow(0 -0.6px 0 rgba(255, 255, 255, 0.75))
        drop-shadow(0 0 1.2px rgba(255, 255, 255, 0.3));
    transition: filter 0.25s, transform 0.25s;
}
.footer-payments-card:hover img {
    filter:
        brightness(1.18)
        drop-shadow(0.6px 0 0 rgba(255, 255, 255, 0.9))
        drop-shadow(-0.6px 0 0 rgba(255, 255, 255, 0.9))
        drop-shadow(0 0.6px 0 rgba(255, 255, 255, 0.9))
        drop-shadow(0 -0.6px 0 rgba(255, 255, 255, 0.9))
        drop-shadow(0 0 6px rgba(96, 165, 250, 0.25));
}
.footer-payments-trust {
    display: grid;
    grid-template-columns: repeat(2, auto);
    align-items: center;
    gap: 0.5rem 1.5rem;
    font-size: 0.78rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.62);
}
.ftrust-item {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    line-height: 1;
    transition: color 0.18s;
}
.ftrust-item:hover { color: rgba(255, 255, 255, 0.92); }
.ftrust-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px; height: 26px;
    border-radius: 7px;
    background: rgba(34, 197, 94, 0.10);
    border: 1px solid rgba(34, 197, 94, 0.22);
    color: rgb(74, 222, 128);
    flex-shrink: 0;
    transition: background 0.18s, border-color 0.18s, transform 0.18s;
}
.ftrust-item:hover .ftrust-icon {
    background: rgba(34, 197, 94, 0.18);
    border-color: rgba(34, 197, 94, 0.4);
    transform: translateY(-1px);
}
.ftrust-label {
    letter-spacing: -0.005em;
    white-space: nowrap;
}
/* Separator-ele verticale nu sunt necesare în 2x2 grid layout */
.ftrust-sep { display: none; }

@media (max-width: 1100px) {
    /* Pe ecrane mai înguste, trust se duce sub logo-uri și redevine fâșie orizontală */
    .footer-payments-trust {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.85rem;
    }
    .ftrust-sep {
        display: block;
        width: 1px;
        height: 14px;
        background: rgba(255, 255, 255, 0.12);
        flex-shrink: 0;
    }
}
@media (max-width: 540px) {
    .footer-payments-trust { gap: 0.55rem; }
    .ftrust-icon { width: 22px; height: 22px; }
    .ftrust-icon svg { width: 12px; height: 12px; }
    .ftrust-sep { display: none; }
}
@media (max-width: 768px) {
    .footer-payments { margin: 1.5rem 0 1rem 0; padding: 1.25rem 0 1rem 0; }
    .footer-payments-inner { gap: 0.85rem; }
    .footer-payments-card { height: 76px; min-width: 160px; padding: 10px 16px; }
    .footer-payments-card img { max-height: 56px; }
    .footer-payments-trust { font-size: 0.7rem; }
}
@media (max-width: 540px) {
    .footer-payments-inner { gap: 0.6rem; }
    .footer-payments-card {
        height: 66px;
        min-width: 0;
        flex: 1 1 calc(50% - 0.3rem);
        padding: 8px 12px;
    }
    .footer-payments-card img { max-height: 48px; }
}

/* Bottom */
.footer-badges {
    display: flex;
    justify-content: center;
    gap: 0.65rem;
    margin-bottom: 0.85rem;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.footer-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.4rem 0.75rem;
    border-radius: 8px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(37, 99, 235,0.28);
    transition: all 0.2s;
    text-decoration: none;
}
.footer-badge:hover {
    background: rgba(37, 99, 235,0.14);
    border-color: rgba(37, 99, 235,0.55);
    transform: translateY(-2px);
}
.footer-badge svg { width: 18px; height: 18px; color: #60a5fa; flex-shrink: 0; }
.footer-badge span { display: flex; flex-direction: column; line-height: 1; }
.footer-badge strong {
    font-size: 0.7rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: 0.03em;
}
.footer-badge em {
    font-size: 0.56rem;
    font-weight: 600;
    font-style: normal;
    color: rgba(255,255,255,0.55);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-top: 2px;
}
.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    column-gap: 0.85rem;
    row-gap: 0.4rem;
    font-size: 0.68rem;
    color: rgba(255,255,255,0.45);
    text-align: center;
    line-height: 1.6;
    padding-top: 0;
}
.footer-bottom .footer-legal-company,
.footer-bottom .footer-copy {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
}
.footer-bottom .footer-legal-company::after {
    content: "·";
    margin-left: 0.85rem;
    color: rgba(255,255,255,0.25);
}
.footer-copy { font-weight: 600; }
@media (max-width: 600px) {
    .footer-bottom { flex-direction: column; }
    .footer-bottom .footer-legal-company::after { display: none; }
}
.footer-laws { font-size: 0.62rem; color: rgba(255,255,255,0.35); }

/* Safety: constrain any stray SVG in footer */
.site-footer svg { max-width: 100%; }


/* ============================================================
   GLOBAL FLIP + FUGITIVE ARROW ANIMATION
   Se aplică oricărui .btn care conține .btn-flip / .btn-arrow
   (hero, home cards, header, CTA section, product cards, pricing)
   ============================================================ */
.btn { overflow: hidden; }

.btn .btn-flip {
    display: inline-flex; flex-direction: column;
    height: 1.2em; overflow: hidden; line-height: 1.2em;
    vertical-align: middle;
}
.btn .btn-flip > span {
    display: block; height: 1.2em;
    transition: transform .45s cubic-bezier(.22,1,.36,1);
}
.btn:hover .btn-flip > span { transform: translateY(-100%); }

/* Săgeata fugitivă — doar când .btn-arrow e prezentă */
.btn .btn-arrow {
    flex-shrink: 0;
    transition:
        transform .35s cubic-bezier(.55, 0, .1, 1),
        opacity .15s ease .3s;
}
.btn:hover .btn-arrow {
    transform: translateX(80px);
    opacity: 0;
}

/* Override: regula existentă .btn:hover svg { transform: translateX(3px); }
   nu mai e dorită pe .btn-arrow. O dezactivăm explicit. */
.btn:hover svg.btn-arrow { transform: translateX(80px); }

@media (prefers-reduced-motion: reduce) {
    .btn .btn-flip > span,
    .btn .btn-arrow {
        transition: none !important;
    }
    .btn:hover .btn-flip > span { transform: none; }
    .btn:hover .btn-arrow,
    .btn:hover svg.btn-arrow { transform: none; opacity: 1; }
}

/* ============================================================
   BTN PREMIUM — header CTA cu halo, shine, edge-lights, ripple
   ============================================================ */
.btn--premium {
    position: relative;
    display: inline-flex; align-items: center; justify-content: center;
    padding: 0.6rem 1.3rem;
    font-family: inherit; font-size: 0.82rem; font-weight: 700;
    color: #fff; text-decoration: none; white-space: nowrap;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    border: none; border-radius: 999px; cursor: pointer;
    overflow: hidden;
    isolation: isolate;
    box-shadow:
        0 10px 24px -8px rgba(37, 99, 235,.5),
        inset 0 1px 0 rgba(255,255,255,.3);
    transition: transform .35s cubic-bezier(.22,1,.36,1), box-shadow .35s;
}
.btn--premium.btn--sm { padding: 0.55rem 1.15rem; font-size: 0.82rem; }
.btn--premium.btn--lg { padding: 1rem 1.9rem; font-size: 0.98rem; }

.btn--premium .btn-premium-label {
    position: relative; z-index: 2;
    display: inline-block;
    transition: letter-spacing .4s ease;
}
.btn--premium:hover .btn-premium-label { letter-spacing: .5px; }

/* Halo pulsant */
.btn--premium::before {
    content: '';
    position: absolute; inset: -2px;
    border-radius: inherit;
    background: linear-gradient(135deg, #60a5fa, #0ea5e9);
    opacity: 0; z-index: -2;
    filter: blur(12px);
    animation: btnPremiumPulse 2.8s ease-in-out infinite;
    pointer-events: none;
}
@keyframes btnPremiumPulse {
    0%, 100% { opacity: .25; transform: scale(1); }
    50%      { opacity: .55; transform: scale(1.04); }
}

/* Shine sweep */
.btn--premium::after {
    content: '';
    position: absolute;
    top: 0; left: -60%;
    width: 40%; height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255,255,255,.4), transparent);
    transform: skewX(-20deg);
    animation: btnPremiumShine 4s ease-in-out infinite;
    pointer-events: none;
    z-index: 1;
}
@keyframes btnPremiumShine {
    0%, 70%  { left: -60%; }
    100%     { left: 140%; }
}

.btn--premium:hover {
    transform: translateY(-3px);
    box-shadow:
        0 18px 36px -10px rgba(37, 99, 235,.6),
        inset 0 1px 0 rgba(255,255,255,.4);
    color: #fff;
}
.btn--premium:hover::before { animation-duration: 1.4s; }

/* Edge lights (tur la click) */
.btn--premium .btn-premium-edge {
    position: absolute;
    display: block;
    z-index: 1;
    pointer-events: none;
    filter: drop-shadow(0 0 6px rgba(255,255,255,.9));
}
.btn--premium .btn-premium-edge:nth-of-type(1) {
    top: 0; left: -100%; width: 100%; height: 3px;
    background: linear-gradient(90deg, transparent, #fff 50%, #0ea5e9);
    border-radius: 3px;
}
.btn--premium .btn-premium-edge:nth-of-type(2) {
    top: -100%; right: 0; width: 3px; height: 100%;
    background: linear-gradient(180deg, transparent, #fff 50%, #0ea5e9);
    border-radius: 3px;
}
.btn--premium .btn-premium-edge:nth-of-type(3) {
    bottom: 0; right: -100%; width: 100%; height: 3px;
    background: linear-gradient(270deg, transparent, #fff 50%, #0ea5e9);
    border-radius: 3px;
}
.btn--premium .btn-premium-edge:nth-of-type(4) {
    bottom: -100%; left: 0; width: 3px; height: 100%;
    background: linear-gradient(360deg, transparent, #fff 50%, #0ea5e9);
    border-radius: 3px;
}
.btn--premium.is-clicked .btn-premium-edge:nth-of-type(1) { animation: btnPremiumSlideTop   .9s cubic-bezier(.5,0,.5,1) forwards; }
.btn--premium.is-clicked .btn-premium-edge:nth-of-type(2) { animation: btnPremiumSlideRight .9s cubic-bezier(.5,0,.5,1) forwards .2s; }
.btn--premium.is-clicked .btn-premium-edge:nth-of-type(3) { animation: btnPremiumSlideBot   .9s cubic-bezier(.5,0,.5,1) forwards .4s; }
.btn--premium.is-clicked .btn-premium-edge:nth-of-type(4) { animation: btnPremiumSlideLeft  .9s cubic-bezier(.5,0,.5,1) forwards .6s; }
@keyframes btnPremiumSlideTop   { from { left: -100%; }   to { left: 100%; } }
@keyframes btnPremiumSlideRight { from { top: -100%; }    to { top: 100%; } }
@keyframes btnPremiumSlideBot   { from { right: -100%; }  to { right: 100%; } }
@keyframes btnPremiumSlideLeft  { from { bottom: -100%; } to { bottom: 100%; } }

.btn--premium.is-clicked { animation: btnPremiumFlash 1.5s ease-out .4s; }
@keyframes btnPremiumFlash {
    0%   { box-shadow: 0 10px 24px -8px rgba(37, 99, 235,.5), inset 0 1px 0 rgba(255,255,255,.3); }
    50%  { box-shadow: 0 0 40px 8px rgba(236,72,153,.6), 0 0 80px 16px rgba(139,92,246,.4), inset 0 1px 0 rgba(255,255,255,.6); }
    100% { box-shadow: 0 10px 24px -8px rgba(37, 99, 235,.5), inset 0 1px 0 rgba(255,255,255,.3); }
}

/* Ripple */
.btn--premium .btn-premium-ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255,255,255,.5);
    transform: scale(0);
    animation: btnPremiumRipple .7s ease-out forwards;
    pointer-events: none;
    z-index: 0;
}
@keyframes btnPremiumRipple { to { transform: scale(4); opacity: 0; } }

.btn--premium:active { transform: translateY(-1px) scale(.97); }

@media (prefers-reduced-motion: reduce) {
    .btn--premium,
    .btn--premium::before,
    .btn--premium::after,
    .btn--premium .btn-premium-edge,
    .btn--premium.is-clicked,
    .btn--premium .btn-premium-ripple {
        animation: none !important;
    }
}

/* Divider gradient sub eyebrow */
.section-divider {
    width: 120px;
    height: 2px;
    margin: 24px auto;
    background: linear-gradient(90deg,
        transparent 0%,
        #3b82f6 30%,
        #0ea5e9 70%,
        transparent 100%);
    border-radius: 2px;
}

/* ============================================================
   FF-ICON ANIMATED SVG ICONS — Build / Unbuild on hover
   ============================================================ */
.ff-card .ff-icon { cursor: pointer; overflow: visible; transition: transform .35s cubic-bezier(.34,1.56,.64,1); }
.ff-card:hover .ff-icon { transform: scale(1.08); }
.ff-icon svg { width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 8px 16px color-mix(in srgb, var(--color, #2563eb) 25%, transparent)); transition: filter .3s; }
.ff-card:hover .ff-icon svg { filter: drop-shadow(0 14px 22px color-mix(in srgb, var(--color, #2563eb) 45%, transparent)); }

.ff-icon .primary { stroke: var(--color); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ff-icon.pending .primary, .ff-icon.unbuild .primary { stroke-dasharray: 200; stroke-dashoffset: 200; }
.ff-icon .accent  { fill: var(--color); opacity: .18; stroke: none; }
.ff-icon.pending .accent, .ff-icon.unbuild .accent { opacity: 0; transform: scale(.3); }
.ff-icon .dot     { fill: var(--color); }
.ff-icon.pending .dot, .ff-icon.unbuild .dot { opacity: 0; transform: scale(0); }

.ff-icon.c-code     { --color: #2563eb; }
.ff-icon.c-mobile   { --color: #0ea5e9; }
.ff-icon.c-seo      { --color: #10b981; }
.ff-icon.c-security { --color: #ef4444; }
.ff-icon.c-admin    { --color: #f59e0b; }
.ff-icon.c-support  { --color: #0ea5e9; }

.ff-icon .acc-rect, .ff-icon .acc-phone, .ff-icon .acc-frame { transform-origin: center; transform-box: fill-box; }
.ff-icon .acc-bars { transform-origin: bottom; transform-box: fill-box; }
.ff-icon .acc-shield { transform-origin: top; transform-box: fill-box; }
.ff-icon .acc-arc { transform-origin: center bottom; transform-box: fill-box; }
.ff-icon .earL, .ff-icon .earR { transform-origin: center; transform-box: fill-box; }
.ff-icon.pending .earL, .ff-icon.pending .earR, .ff-icon.unbuild .earL, .ff-icon.unbuild .earR { opacity: 0; transform: scale(0); }
.ff-icon .bar1, .ff-icon .bar2, .ff-icon .bar3, .ff-icon .bar4 { transform-origin: bottom; transform-box: fill-box; }
.ff-icon.pending .bar1, .ff-icon.pending .bar2, .ff-icon.pending .bar3, .ff-icon.pending .bar4, .ff-icon.unbuild .bar1, .ff-icon.unbuild .bar2, .ff-icon.unbuild .bar3, .ff-icon.unbuild .bar4 { opacity: 0; transform: scaleY(0); }
.ff-icon .wave { opacity: .5; }
.ff-icon.pending .wave, .ff-icon.unbuild .wave { opacity: 0; }

/* COD */
.c-code.build .acc-rect  { animation: ffScaleIn .3s .05s forwards; }
.c-code.build .frame     { animation: ffDrawIn .4s .1s forwards; }
.c-code.build .topline   { animation: ffDrawIn .25s .35s forwards; }
.c-code.build .d1        { animation: ffDotIn .2s .45s forwards; }
.c-code.build .d2        { animation: ffDotIn .2s .52s forwards; }
.c-code.build .d3        { animation: ffDotIn .2s .59s forwards; }
.c-code.build .bracket   { animation: ffDrawIn .3s .65s forwards; }
.c-code.build .line      { animation: ffDrawIn .25s .85s forwards; }
.c-code.unbuild .line    { animation: ffDrawOut .15s forwards; }
.c-code.unbuild .bracket { animation: ffDrawOut .2s .08s forwards; }
.c-code.unbuild .d3      { animation: ffDotOut .12s .2s forwards; }
.c-code.unbuild .d2      { animation: ffDotOut .12s .26s forwards; }
.c-code.unbuild .d1      { animation: ffDotOut .12s .32s forwards; }
.c-code.unbuild .topline { animation: ffDrawOut .15s .4s forwards; }
.c-code.unbuild .frame   { animation: ffDrawOut .3s .48s forwards; }
.c-code.unbuild .acc-rect{ animation: ffScaleOut .25s .55s forwards; }

/* MOBILE */
.c-mobile.build .acc-phone { animation: ffScaleIn .3s .05s forwards; }
.c-mobile.build .phone     { animation: ffDrawIn .4s .15s forwards; }
.c-mobile.build .notch     { animation: ffDrawIn .2s .5s forwards; }
.c-mobile.build .home      { animation: ffDotIn .2s .6s forwards; }
.c-mobile.build .wave      { animation: ffWave 1.6s .8s infinite; }
.c-mobile.build .wave:nth-of-type(6) { animation-delay: .9s; }
.c-mobile.build .wave:nth-of-type(7) { animation-delay: .8s; }
.c-mobile.build .wave:nth-of-type(8) { animation-delay: 1s; }
.c-mobile.unbuild .wave    { animation: ffFadeOut .15s forwards; }
.c-mobile.unbuild .home    { animation: ffDotOut .12s .1s forwards; }
.c-mobile.unbuild .notch   { animation: ffDrawOut .15s .18s forwards; }
.c-mobile.unbuild .phone   { animation: ffDrawOut .3s .28s forwards; }
.c-mobile.unbuild .acc-phone { animation: ffScaleOut .25s .45s forwards; }
@keyframes ffWave { 0% { opacity: 0; transform: scaleX(.6); } 40% { opacity: .6; } 100% { opacity: 0; transform: scaleX(1.2); } }

/* SEO */
.c-seo.build .acc-bars { animation: ffRiseUp .35s .05s forwards; }
.c-seo.build .trend    { animation: ffDrawIn .45s .25s forwards; }
.c-seo.build .p1       { animation: ffDotIn .2s .45s forwards; }
.c-seo.build .p2       { animation: ffDotIn .2s .55s forwards; }
.c-seo.build .p3       { animation: ffDotIn .2s .65s forwards; }
.c-seo.build .arrow    { animation: ffDrawIn .25s .75s forwards; }
.c-seo.build .base     { animation: ffDrawIn .25s .9s forwards; }
.c-seo.unbuild .base   { animation: ffDrawOut .15s forwards; }
.c-seo.unbuild .arrow  { animation: ffDrawOut .15s .1s forwards; }
.c-seo.unbuild .p3     { animation: ffDotOut .12s .2s forwards; }
.c-seo.unbuild .p2     { animation: ffDotOut .12s .26s forwards; }
.c-seo.unbuild .p1     { animation: ffDotOut .12s .32s forwards; }
.c-seo.unbuild .trend  { animation: ffDrawOut .3s .4s forwards; }
.c-seo.unbuild .acc-bars { animation: ffRiseDown .25s .55s forwards; }
@keyframes ffRiseUp   { from { transform: scaleY(0); opacity: 0; } to { transform: scaleY(1); opacity: .18; } }
@keyframes ffRiseDown { from { transform: scaleY(1); opacity: .18; } to { transform: scaleY(0); opacity: 0; } }

/* SECURITY */
.c-security.build .acc-shield { animation: ffDropIn .35s .05s forwards; }
.c-security.build .shield     { animation: ffDrawIn .5s .15s forwards; }
.c-security.build .check      { animation: ffDrawIn .35s .6s forwards; }
.c-security.unbuild .check    { animation: ffDrawOut .2s forwards; }
.c-security.unbuild .shield   { animation: ffDrawOut .35s .15s forwards; }
.c-security.unbuild .acc-shield { animation: ffDropOut .25s .4s forwards; }
@keyframes ffDropIn  { from { transform: translateY(-20px) scaleY(.5); opacity: 0; } to { transform: translateY(0) scaleY(1); opacity: .18; } }
@keyframes ffDropOut { from { transform: translateY(0) scaleY(1); opacity: .18; } to { transform: translateY(-20px) scaleY(.5); opacity: 0; } }

/* ADMIN */
.c-admin.build .acc-frame { animation: ffScaleIn .3s .05s forwards; }
.c-admin.build .frame     { animation: ffDrawIn .4s .1s forwards; }
.c-admin.build .header    { animation: ffDrawIn .25s .45s forwards; }
.c-admin.build .d1        { animation: ffDotIn .2s .55s forwards; }
.c-admin.build .d2        { animation: ffDotIn .2s .62s forwards; }
.c-admin.build .bar1      { animation: ffGrowBar .25s .7s forwards; }
.c-admin.build .bar2      { animation: ffGrowBar .25s .8s forwards; }
.c-admin.build .bar3      { animation: ffGrowBar .25s .9s forwards; }
.c-admin.build .bar4      { animation: ffGrowBar .25s 1s forwards; }
.c-admin.unbuild .bar4    { animation: ffShrinkBar .15s forwards; }
.c-admin.unbuild .bar3    { animation: ffShrinkBar .15s .05s forwards; }
.c-admin.unbuild .bar2    { animation: ffShrinkBar .15s .1s forwards; }
.c-admin.unbuild .bar1    { animation: ffShrinkBar .15s .15s forwards; }
.c-admin.unbuild .d2      { animation: ffDotOut .12s .25s forwards; }
.c-admin.unbuild .d1      { animation: ffDotOut .12s .31s forwards; }
.c-admin.unbuild .header  { animation: ffDrawOut .15s .38s forwards; }
.c-admin.unbuild .frame   { animation: ffDrawOut .3s .46s forwards; }
.c-admin.unbuild .acc-frame { animation: ffScaleOut .25s .55s forwards; }
@keyframes ffGrowBar   { from { transform: scaleY(0); opacity: 0; } to { transform: scaleY(1); opacity: 1; } }
@keyframes ffShrinkBar { from { transform: scaleY(1); opacity: 1; } to { transform: scaleY(0); opacity: 0; } }

/* SUPPORT */
.c-support.build .acc-arc { animation: ffArcIn .35s .05s forwards; }
.c-support.build .arc     { animation: ffDrawIn .45s .2s forwards; }
.c-support.build .earL    { animation: ffEarIn .25s .55s forwards; }
.c-support.build .earR    { animation: ffEarIn .25s .65s forwards; }
.c-support.build .mic     { animation: ffDrawIn .3s .8s forwards; }
.c-support.build .micDot  { animation: ffDotIn .2s 1s forwards; }
.c-support.unbuild .micDot { animation: ffDotOut .12s forwards; }
.c-support.unbuild .mic   { animation: ffDrawOut .2s .1s forwards; }
.c-support.unbuild .earR  { animation: ffEarOut .15s .25s forwards; }
.c-support.unbuild .earL  { animation: ffEarOut .15s .33s forwards; }
.c-support.unbuild .arc   { animation: ffDrawOut .3s .42s forwards; }
.c-support.unbuild .acc-arc { animation: ffArcOut .25s .58s forwards; }
@keyframes ffArcIn   { from { transform: scale(.3) rotate(-20deg); opacity: 0; } to { transform: scale(1) rotate(0); opacity: .18; } }
@keyframes ffArcOut  { from { transform: scale(1) rotate(0); opacity: .18; } to { transform: scale(.3) rotate(-20deg); opacity: 0; } }
@keyframes ffEarIn   { from { transform: scale(0); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@keyframes ffEarOut  { from { transform: scale(1); opacity: 1; } to { transform: scale(0); opacity: 0; } }

/* Generic */
@keyframes ffDrawIn   { to { stroke-dashoffset: 0; } }
@keyframes ffDrawOut  { from { stroke-dashoffset: 0; } to { stroke-dashoffset: 200; } }
@keyframes ffScaleIn  { to { transform: scale(1); opacity: .18; } }
@keyframes ffScaleOut { from { transform: scale(1); opacity: .18; } to { transform: scale(.3); opacity: 0; } }
@keyframes ffDotIn    { to { opacity: 1; transform: scale(1); } }
@keyframes ffDotOut   { from { opacity: 1; transform: scale(1); } to { opacity: 0; transform: scale(0); } }
@keyframes ffFadeOut  { from { opacity: .6; } to { opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
    .ff-icon *, .ff-card:hover .ff-icon * { animation: none !important; stroke-dashoffset: 0 !important; opacity: 1 !important; transform: none !important; }
}

/* FF — icons only, fără carduri (scoped #features) */
#features .ff-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3.5rem 1.5rem; }
@media (max-width: 900px) { #features .ff-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { #features .ff-grid { grid-template-columns: 1fr; } }
#features .ff-card {
    background: none !important; border: none !important; box-shadow: none !important;
    padding: 0 !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important;
    text-align: center;
}
#features .ff-card::before, #features .ff-card::after { display: none !important; content: none !important; }
#features .ff-card .ff-icon {
    width: 72px; height: 72px; margin: 0 auto 1.25rem;
    display: grid; place-items: center;
    background: none !important; border: none !important; box-shadow: none !important; border-radius: 0 !important;
}
#features .ff-card .ff-icon svg { width: 64px; height: 64px; }
#features .ff-card h3 {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-secondary);
    letter-spacing: 0.02em;
    text-transform: uppercase;
    transition: color .3s ease, letter-spacing .3s ease;
}
#features .ff-card:hover h3 {
    color: var(--color, #2563eb);
    letter-spacing: 0.05em;
}
#features .ff-card:nth-child(1):hover h3 { color: #2563eb; }
#features .ff-card:nth-child(2):hover h3 { color: #0ea5e9; }
#features .ff-card:nth-child(3):hover h3 { color: #10b981; }
#features .ff-card:nth-child(4):hover h3 { color: #ef4444; }
#features .ff-card:nth-child(5):hover h3 { color: #f59e0b; }
#features .ff-card:nth-child(6):hover h3 { color: #0ea5e9; }

/* Footer legal company line */
.footer-legal-company {
    font-size: 0.62rem; color: rgba(255,255,255,0.42); line-height: 1.5;
    text-align: center; letter-spacing: 0.01em; margin: 0.1rem 0; padding: 0 1rem;
}
.footer-legal-company strong { color: rgba(255,255,255,0.72); font-weight: 500; }
.footer-legal-company .sep { color: rgba(255,255,255,0.18); margin: 0 0.35rem; user-select: none; }

/* Override când e plasat în coloana brand (sub tagline) */
.footer-brand .footer-legal-company {
    text-align: left;
    padding: 0;
    margin: 0.25rem 0 0;
    font-size: 0.7rem;
    line-height: 1.55;
}

/* Pricing differentiator badge */
.pricing-differentiator {
    display: inline-flex; align-items: center; gap: 8px;
    margin: 0.5rem auto 1.5rem; padding: 8px 16px;
    background: linear-gradient(135deg, rgba(99,102,241,0.12), rgba(139,92,246,0.12));
    border: 1px solid rgba(37, 99, 235,0.25);
    border-radius: 999px;
    font-size: 0.82rem; color: var(--text); font-weight: 500;
    position: relative; left: 50%; transform: translateX(-50%);
}
.pricing-differentiator svg { width: 16px; height: 16px; color: #2563eb; flex-shrink: 0; }
.pricing-differentiator strong { color: #2563eb; font-weight: 700; }
.pricing-differentiator--hidden { display: none !important; }

/* Varianta sub carduri — mai discretă, centrată, ca footer-reassurance */
.pricing-differentiator--below {
    margin: 1.5rem auto 0;
    background: rgba(99,102,241,0.06);
    border-color: rgba(37, 99, 235, 0.18);
    box-shadow: 0 1px 2px rgba(37, 99, 235, 0.05);
}

/* Pricing footnotes */
.pricing-footnotes {
    text-align: center; margin-top: 2rem;
    font-size: 0.78rem; color: var(--text-muted); line-height: 1.6;
}
.pricing-footnotes p { margin: 0.25rem 0; }
.pricing-footnotes strong { color: var(--text); font-weight: 700; margin-right: 2px; }
.pricing-footnotes a { color: var(--text); text-decoration: underline; }

/* ============================================================
   LOGO BACKDROP BLUR — un duplicat blured al logo-ului în spate
   urmărește forma exactă (linii + scris), nu un dreptunghi.
   URL-ul e injectat din PHP via custom property --logo-bg-url
   (vezi header.php). Funcționează cu orice logo setat în admin.
   ============================================================ */

.site-logo--has-image {
    isolation: isolate;
}

.site-logo--has-image::before {
    content: '';
    position: absolute;
    inset: -4px;
    background-image: var(--logo-bg-url);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    filter: blur(8px) saturate(140%);
    opacity: 0.45;
    z-index: -1;
    pointer-events: none;
}

/* Pe mobile blur mai subtil (logo mai mic) */
@media (max-width: 768px) {
    .site-logo--has-image::before {
        filter: blur(6px) saturate(140%);
        opacity: 0.4;
    }
}

@media (prefers-reduced-motion: reduce) {
    /* Fără mișcare aici, dar respectăm pattern-ul */
}

/* ============================================================
   PROCESS FLOW (pflow-*) — partajat home + servicii
   ============================================================ */
.pflow-wrap {
    display: flex; align-items: center; gap: 8px; flex-wrap: nowrap;
    padding: 12px 0;
}
.pflow-step {
    position: relative;
    flex: 1; min-width: 0;
    background: #fff;
    border-radius: 16px;
    padding: 18px 14px 16px;
    text-align: center;
    box-shadow: 0 3px 14px rgba(37, 99, 235,0.07);
    border: 1px solid rgba(37, 99, 235,0.1);
    opacity: 0;
    transform: translateY(24px);
}
.pflow-wrap.animate-in .pflow-step {
    animation: pflowCardIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    animation-delay: calc(var(--i) * 0.15s);
}
@keyframes pflowCardIn { to { opacity: 1; transform: translateY(0); } }
.pflow-step::before {
    content: '';
    position: absolute; inset: -2px;
    border-radius: 22px;
    border: 2px solid transparent;
    pointer-events: none;
    opacity: 0;
}
.pflow-wrap.animate-in .pflow-step:not(:first-child)::before {
    animation: pflowNeonFrame 8s ease-in-out infinite;
    animation-delay: calc(2.6s + (var(--i) - 1) * 2.2s);
}
@keyframes pflowNeonFrame {
    0%   { opacity: 0; border-color: transparent; box-shadow: none; }
    2%   { opacity: 1; border-color: #2563eb;
           box-shadow: 0 0 8px #2563eb, 0 0 16px #93c5fd, 0 0 24px #93c5fd, inset 0 0 12px rgba(37, 99, 235, 0.3); }
    13%  { opacity: 1; border-color: #2563eb;
           box-shadow: 0 0 6px #2563eb, 0 0 12px #93c5fd, 0 0 18px #93c5fd; }
    15%  { opacity: 0; border-color: transparent; box-shadow: none; }
    100% { opacity: 0; border-color: transparent; box-shadow: none; }
}
.pflow-step h3 { margin: 8px 0 4px; font-size: 0.92rem; color: #1a1333; line-height: 1.25; }
.pflow-step p  { margin: 0; font-size: 0.78rem; line-height: 1.45; color: #6b6480; }
.pflow-num {
    position: relative;
    width: 44px; height: 44px; margin: 0 auto;
    border-radius: 50%;
    background: linear-gradient(135deg, #2563eb, #1e40af);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 3px 12px rgba(37, 99, 235,0.32);
    transform: scale(0);
}
.pflow-num svg { width: 20px; height: 20px; }
.pflow-num-badge {
    position: absolute;
    top: -3px; right: -3px;
    min-width: 19px; height: 19px;
    padding: 0 4px;
    background: #fff; color: #2563eb;
    border-radius: 99px;
    font-size: 10px; font-weight: 700;
    line-height: 19px; text-align: center;
    box-shadow: 0 2px 4px rgba(15, 23, 42, 0.18), 0 0 0 1.5px #fff;
    letter-spacing: 0.02em;
}
.pflow-wrap.animate-in .pflow-num {
    animation: pflowNumPop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    animation-delay: calc(var(--i) * 0.15s + 0.2s);
}
@keyframes pflowNumPop { to { transform: scale(1); } }
.pflow-arrow { width: 60px; height: 20px; flex-shrink: 0; opacity: 1; }
.pflow-arrow svg { width: 100%; height: 100%; overflow: visible; }
.pflow-arrow .pflow-track {
    fill: none;
    stroke: #2563eb;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-dasharray: 20 60;
    stroke-dashoffset: 80;
    filter: drop-shadow(0 0 4px #2563eb) drop-shadow(0 0 8px #93c5fd) drop-shadow(0 0 12px #93c5fd);
    opacity: 0;
}
.pflow-wrap.animate-in .pflow-arrow .pflow-track {
    animation: pflowNeonFlow 8s linear infinite;
    animation-delay: calc(1.6s + var(--i) * 2.2s);
}
@keyframes pflowNeonFlow {
    0%    { opacity: 0; stroke-dashoffset: 80; }
    1%    { opacity: 1; }
    11%   { opacity: 1; stroke-dashoffset: -80; }
    12.5% { opacity: 0; stroke-dashoffset: -80; }
    100%  { opacity: 0; stroke-dashoffset: 80; }
}
.pflow-arrow .pflow-tip {
    fill: none;
    stroke: #93c5fd;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.pflow-arrow .pflow-comet { opacity: 0; }
@media (max-width: 900px) {
    .pflow-wrap { flex-direction: column; }
    .pflow-arrow { transform: rotate(90deg); width: 40px; }
}
@media (prefers-reduced-motion: reduce) {
    .pflow-wrap * { animation: none !important; opacity: 1 !important; transform: none !important; }
}
