/* ==========================================================================
   ATOMWEB.RO — 2027 AWWWARDS EDITION DESIGN SYSTEM
   Inspired by Top 10 Awwwards Studios: Lusion, Immersive Garden, Locomotive,
   Obys Agency, Active Theory, Resn, Malvah, OFF+BRAND, Studio 28K
   ========================================================================== */

:root {
    color-scheme: dark;
    /* 2027 Color Tokens */
    --bg-obsidian: #050508;
    --bg-surface: #0b0c12;
    --bg-elevated: rgba(17, 19, 28, 0.72);
    --bg-glass: rgba(255, 255, 255, 0.03);
    --bg-glass-hover: rgba(255, 255, 255, 0.06);

    /* Brand Accents — Evolved from AtomWeb Crimson */
    --accent-primary: #ff2a4b;
    --accent-secondary: #ff6b2b;
    --accent-quantum: #7c3aed;
    --accent-cyan: #00f0ff;
    --accent-emerald: #10b981;

    /* Text Hierarchy */
    --text-primary: #f5f7fa;
    --text-secondary: #9ca3af;
    --text-muted: #5b6375;

    /* Architectural Hairlines */
    --border-subtle: rgba(255, 255, 255, 0.075);
    --border-bright: rgba(255, 255, 255, 0.16);
    --border-crimson: rgba(255, 42, 75, 0.45);

    /* Typography */
    --font-display: 'Syne', sans-serif;
    --font-serif: 'Instrument Serif', serif;
    --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;

    /* Motion Curves (Awwwards signature cubic-bezier) */
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out-quart: cubic-bezier(0.76, 0, 0.24, 1);

    /* Layout */
    --container-max: 1400px;
    --radius-sm: 10px;
    --radius-md: 18px;
    --radius-lg: 26px;
    --radius-pill: 9999px;
}

/* Light Mode Override (Optional 2027 Day/Atelier Mode) */
[data-theme="light"] {
    color-scheme: light;
    --bg-obsidian: #f4f3ef;
    --bg-surface: #eae8e1;
    --bg-elevated: rgba(255, 255, 255, 0.82);
    --bg-glass: rgba(10, 10, 14, 0.035);
    --bg-glass-hover: rgba(10, 10, 14, 0.07);
    --text-primary: #0b0c10;
    --text-secondary: #454a54;
    --text-muted: #767d8c;
    --border-subtle: rgba(10, 10, 14, 0.09);
    --border-bright: rgba(10, 10, 14, 0.2);
}

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

html {
    scroll-behavior: smooth;
    background-color: var(--bg-obsidian);
    color: var(--text-primary);
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.6;
    max-width: 100vw;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    background-color: var(--bg-obsidian);
    color: var(--text-primary);
    max-width: 100vw;
    overflow-x: hidden;
    position: relative;
    transition: background-color 0.5s var(--ease-out-expo), color 0.5s var(--ease-out-expo);
}

::selection {
    background: var(--accent-primary);
    color: #ffffff;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

img, svg, canvas, video {
    display: block;
    max-width: 100%;
}

button, input, select, textarea {
    font: inherit;
    color: inherit;
    background: none;
    border: none;
    outline: none;
}

button {
    cursor: pointer;
}

/* ==========================================================================
   AMBIENT SHADER BACKDROP, NOISE & ARCHITECTURAL SWISS GRID
   ========================================================================== */
.ambient-backdrop {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.ambient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(130px);
    opacity: 0.22;
    transition: opacity 0.6s ease;
}

[data-theme="light"] .ambient-orb {
    opacity: 0.14;
}

.ambient-orb--crimson {
    width: 620px;
    height: 620px;
    background: radial-gradient(circle, var(--accent-primary), transparent 70%);
    top: -180px;
    right: -120px;
    animation: floatOrb 18s ease-in-out infinite alternate;
}

.ambient-orb--quantum {
    width: 540px;
    height: 540px;
    background: radial-gradient(circle, var(--accent-quantum), transparent 70%);
    bottom: 8%;
    left: -160px;
    animation: floatOrb 22s ease-in-out infinite alternate-reverse;
}

.ambient-orb--cyan {
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, var(--accent-cyan), transparent 70%);
    top: 42%;
    left: 45%;
    opacity: 0.1;
    animation: floatOrb 25s ease-in-out infinite alternate;
}

@keyframes floatOrb {
    0% { transform: translate3d(0, 0, 0) scale(1); }
    50% { transform: translate3d(-40px, 35px, 0) scale(1.08); }
    100% { transform: translate3d(30px, -30px, 0) scale(0.95); }
}

.swiss-grid-lines {
    position: fixed;
    inset: 0;
    max-width: var(--container-max);
    margin: 0 auto;
    pointer-events: none;
    z-index: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-left: 1px solid rgba(255, 255, 255, 0.025);
    border-right: 1px solid rgba(255, 255, 255, 0.025);
}

.swiss-grid-lines span {
    border-right: 1px solid rgba(255, 255, 255, 0.025);
}

.swiss-grid-lines span:last-child {
    border-right: none;
}

.noise-overlay {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9990;
    opacity: 0.028;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ==========================================================================
   BESPOKE MAGNETIC CURSOR (AWWWARDS SIGNATURE)
   ========================================================================== */
.cursor-dot,
.cursor-ring {
    display: none !important;
}

/* ==========================================================================
   SCROLL PROGRESS BAR & CONTAINERS
   ========================================================================== */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 2px;
    width: 0%;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary), var(--accent-cyan));
    z-index: 9999;
    box-shadow: 0 0 12px var(--accent-primary);
}

.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 28px;
    position: relative;
    z-index: 2;
}

.section {
    padding: 120px 0;
    position: relative;
    border-bottom: 1px solid var(--border-subtle);
}

/* Section Headers — Swiss Editorial Style */
.section-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-subtle);
}

.meta-index {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent-primary);
}

.meta-index::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-primary);
    box-shadow: 0 0 10px var(--accent-primary);
}

.meta-coord {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 0.08em;
}

.section-heading-row {
    display: grid;
    grid-template-columns: 1.35fr 0.65fr;
    gap: 40px;
    align-items: end;
    margin-bottom: 64px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 4.5vw, 4.1rem);
    font-weight: 800;
    line-height: 1.04;
    letter-spacing: -0.03em;
}

.serif-italic {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 400;
    color: var(--accent-primary);
    letter-spacing: 0;
    padding-right: 0.06em;
}

.section-lead {
    color: var(--text-secondary);
    font-size: 1.04rem;
    line-height: 1.65;
}

/* ==========================================================================
   HEADER & FLOATING LIQUID GLASS NAVIGATION
   ========================================================================== */
.site-header {
    position: fixed;
    top: 18px;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0 24px;
    transition: transform 0.4s var(--ease-out-expo);
}

.nav-shell {
    max-width: var(--container-max);
    margin: 0 auto;
    height: 70px;
    padding: 0 22px;
    border-radius: var(--radius-pill);
    background: var(--bg-elevated);
    backdrop-filter: blur(22px) saturate(160%);
    -webkit-backdrop-filter: blur(22px) saturate(160%);
    border: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.brand-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    min-width: 96px;
}

.brand-logo svg {
    width: 112px;
    height: 50px;
    flex-shrink: 0;
    display: block;
    fill: var(--text-primary);
    transition: transform 0.35s var(--ease-out-expo);
}

.brand-logo:hover svg {
    transform: scale(1.04);
}

.brand-logo svg #path3438 {
    fill: var(--accent-primary);
}

.brand-logo svg .st1,
.brand-logo svg .st2,
.brand-logo svg .st3 {
    fill: var(--text-primary) !important;
    transition: fill 0.25s ease;
}

.brand-badge {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    padding: 3px 8px;
    border-radius: var(--radius-pill);
    background: rgba(255, 42, 75, 0.14);
    border: 1px solid rgba(255, 42, 75, 0.35);
    color: var(--accent-primary);
    letter-spacing: 0.08em;
}

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

.nav-link {
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-secondary);
    padding: 8px 15px;
    border-radius: var(--radius-pill);
    transition: color 0.25s ease, background-color 0.25s ease;
    position: relative;
}

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

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

.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: var(--radius-pill);
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--accent-emerald);
}

.status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent-emerald);
    box-shadow: 0 0 8px var(--accent-emerald);
    animation: pulseLive 2s infinite;
}

@keyframes pulseLive {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.35); opacity: 0.55; }
}

.theme-toggle-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid var(--border-subtle);
    background: var(--bg-glass);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: all 0.25s ease;
}

.theme-toggle-btn:hover {
    color: var(--text-primary);
    border-color: var(--border-bright);
    transform: rotate(15deg);
}

/* Language Switcher Pill (RO | EN) */
.lang-switcher {
    display: inline-flex;
    align-items: center;
    padding: 3px;
    border-radius: var(--radius-pill);
    background: var(--bg-glass);
    border: 1px solid var(--border-bright);
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 700;
}

.lang-btn {
    padding: 5px 10px;
    border-radius: var(--radius-pill);
    color: var(--text-secondary);
    transition: all 0.25s var(--ease-out-expo);
    letter-spacing: 0.06em;
}

.lang-btn.active {
    background: var(--accent-primary);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(255, 42, 75, 0.35);
}

/* Subpage Hero Header */
.page-hero {
    padding: 150px 0 70px;
    border-bottom: 1px solid var(--border-subtle);
    position: relative;
    overflow: hidden;
}

.page-hero-breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 20px;
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    background: var(--bg-glass);
    border: 1px solid var(--border-subtle);
}

.page-hero-breadcrumb a:hover {
    color: var(--accent-primary);
}

.page-hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4.6rem);
    font-weight: 800;
    line-height: 1.02;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
}

.page-hero-sub {
    font-size: 1.12rem;
    color: var(--text-secondary);
    max-width: 720px;
    line-height: 1.7;
}

/* Interactive Tab Panels (for servicii.html & termeni_conditii.html) */
.aww-tabs-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 36px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-subtle);
}

.aww-tab-trigger {
    padding: 12px 22px;
    border-radius: var(--radius-pill);
    background: var(--bg-elevated);
    border: 1px solid var(--border-subtle);
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-secondary);
    transition: all 0.25s var(--ease-out-expo);
}

.aww-tab-trigger:hover {
    color: var(--text-primary);
    border-color: var(--border-bright);
}

.aww-tab-trigger.active {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: #fff;
    border-color: transparent;
    box-shadow: 0 10px 26px rgba(255, 42, 75, 0.35);
}

.aww-tab-panel {
    display: none;
    animation: fadeSlideUp 0.4s var(--ease-out-expo);
}

.aww-tab-panel.active {
    display: block;
}

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

/* Animated Progress Bars for Blog Resolutions */
.res-bar-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 20px;
}

.res-bar-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.res-bar-top {
    display: flex;
    justify-content: space-between;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--text-secondary);
}

.res-bar-track {
    height: 8px;
    border-radius: 99px;
    background: rgba(255, 255, 255, 0.06);
    overflow: hidden;
}

.res-bar-fill {
    height: 100%;
    border-radius: 99px;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
    transition: width 1s var(--ease-out-expo);
}

/* Bullet Checklists */
.check-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin: 18px 0;
}

.check-list li {
    display: block;
    position: relative;
    padding-left: 26px;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.65;
}

.check-list li strong {
    color: var(--text-primary);
    font-weight: 600;
}

.check-list li code {
    font-family: var(--font-mono);
    font-size: 0.85em;
    padding: 2px 6px;
    border-radius: 6px;
    background: rgba(255, 42, 75, 0.12);
    color: var(--accent-primary);
}

.check-list li::before {
    content: "✦";
    position: absolute;
    left: 0;
    top: 1px;
    color: var(--accent-primary);
    font-weight: 700;
}

.mobile-menu-btn {
    display: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--border-subtle);
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 24px;
    border-radius: var(--radius-pill);
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: -0.01em;
    transition: transform 0.3s var(--ease-out-expo), box-shadow 0.3s ease, background 0.3s ease, border-color 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn--primary {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: #ffffff;
    box-shadow: 0 10px 28px rgba(255, 42, 75, 0.32);
}

.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 36px rgba(255, 42, 75, 0.5);
}

.btn--ghost {
    background: var(--bg-glass);
    border: 1px solid var(--border-bright);
    color: var(--text-primary);
    backdrop-filter: blur(12px);
}

.btn--ghost:hover {
    background: var(--bg-glass-hover);
    border-color: var(--accent-primary);
    transform: translateY(-2px);
}

.btn--sm {
    padding: 9px 18px;
    font-size: 0.82rem;
}

/* ==========================================================================
   HERO SECTION — QUANTUM ATOM 3D & KINETIC TYPOGRAPHY
   ========================================================================== */
.hero {
    min-height: 100vh;
    padding: 140px 0 80px;
    display: flex;
    align-items: center;
    position: relative;
    border-bottom: 1px solid var(--border-subtle);
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 48px;
    align-items: center;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 7px 16px;
    border-radius: var(--radius-pill);
    background: var(--bg-glass);
    border: 1px solid var(--border-subtle);
    margin-bottom: 28px;
    font-family: var(--font-mono);
    font-size: 0.76rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-secondary);
}

.hero-eyebrow strong {
    color: var(--accent-primary);
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.7rem, 5.6vw, 5.35rem);
    font-weight: 800;
    line-height: 0.98;
    letter-spacing: -0.035em;
    margin-bottom: 28px;
}

.hero-title .gradient-text {
    background: linear-gradient(120deg, var(--text-primary) 20%, var(--accent-primary) 65%, var(--accent-secondary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-description {
    font-size: clamp(1rem, 1.25vw, 1.16rem);
    color: var(--text-secondary);
    max-width: 610px;
    margin-bottom: 36px;
    line-height: 1.7;
}

.hero-cta-group {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    margin-bottom: 48px;
}

.hero-metrics {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    padding-top: 28px;
    border-top: 1px solid var(--border-subtle);
}

.metric-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.metric-value {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.metric-value span {
    color: var(--accent-primary);
}

.metric-label {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* 3D Interactive Quantum Atom Stage */
.hero-stage {
    position: relative;
    aspect-ratio: 1 / 1;
    max-width: 560px;
    width: 100%;
    margin: 0 auto;
    border-radius: var(--radius-lg);
    background: radial-gradient(circle at 50% 50%, rgba(255, 42, 75, 0.12), rgba(11, 12, 18, 0.4) 70%);
    border: 1px solid var(--border-subtle);
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}

#atomCanvas {
    width: 100%;
    height: 100%;
    cursor: grab;
}

#atomCanvas:active {
    cursor: grabbing;
}

.stage-hud {
    position: absolute;
    inset: 18px;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.stage-hud-top,
.stage-hud-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--text-secondary);
    letter-spacing: 0.08em;
}

.hud-chip {
    background: rgba(5, 5, 8, 0.68);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-subtle);
    padding: 6px 11px;
    border-radius: var(--radius-pill);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.hud-chip--interactive {
    pointer-events: auto;
    cursor: pointer;
    transition: border-color 0.25s ease, color 0.25s ease;
}

.hud-chip--interactive:hover {
    border-color: var(--accent-primary);
    color: var(--text-primary);
}

/* ==========================================================================
   INFINITE KINETIC MARQUEE
   ========================================================================== */
.marquee-band {
    border-bottom: 1px solid var(--border-subtle);
    background: var(--bg-surface);
    padding: 20px 0;
    overflow: hidden;
    position: relative;
    z-index: 2;
}

.marquee-track {
    display: flex;
    width: max-content;
    animation: marqueeScroll 34s linear infinite;
}

.marquee-band:hover .marquee-track {
    animation-play-state: paused;
}

.marquee-item {
    display: inline-flex;
    align-items: center;
    gap: 26px;
    padding: 0 26px;
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-secondary);
    white-space: nowrap;
}

.marquee-item strong {
    color: var(--text-primary);
}

.marquee-sep {
    color: var(--accent-primary);
    font-size: 1.2rem;
}

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

/* ==========================================================================
   SPOTLIGHT BENTO CARDS (MALVAH / RESN / LUSION STYLE)
   ========================================================================== */
.spotlight-card {
    --mouse-x: 50%;
    --mouse-y: 50%;
    position: relative;
    border-radius: var(--radius-md);
    background: var(--bg-elevated);
    border: 1px solid var(--border-subtle);
    padding: 34px;
    overflow: hidden;
    transition: transform 0.35s var(--ease-out-expo), border-color 0.35s ease;
    backdrop-filter: blur(16px);
}

.spotlight-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(
        550px circle at var(--mouse-x) var(--mouse-y),
        rgba(255, 42, 75, 0.13),
        transparent 40%
    );
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
}

.spotlight-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 42, 75, 0.38);
}

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

/* Services Filter Tabs */
.services-tabs {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 6px;
    border-radius: var(--radius-pill);
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    margin-bottom: 42px;
}

.service-tab-btn {
    padding: 10px 22px;
    border-radius: var(--radius-pill);
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-secondary);
    transition: all 0.25s var(--ease-out-expo);
}

.service-tab-btn.active {
    background: var(--accent-primary);
    color: #fff;
    box-shadow: 0 6px 20px rgba(255, 42, 75, 0.35);
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 22px;
}

.bento-col-8 { grid-column: span 8; }
.bento-col-6 { grid-column: span 6; }
.bento-col-4 { grid-column: span 4; }
.bento-col-12 { grid-column: span 12; }

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

.card-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(255, 42, 75, 0.12);
    border: 1px solid rgba(255, 42, 75, 0.28);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-primary);
    font-size: 1.25rem;
}

.card-tag {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    padding: 4px 10px;
    border-radius: var(--radius-pill);
    background: var(--bg-glass);
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
}

.card-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.card-text {
    color: var(--text-secondary);
    font-size: 0.96rem;
    margin-bottom: 22px;
    line-height: 1.65;
}

.feature-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
}

.feature-chip {
    font-family: var(--font-mono);
    font-size: 0.73rem;
    padding: 5px 11px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid var(--border-subtle);
    color: var(--text-primary);
}

/* Comparison Architecture Widget inside Web Design Bento */
.arch-compare {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 22px;
    padding-top: 22px;
    border-top: 1px solid var(--border-subtle);
}

.arch-box {
    padding: 16px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-subtle);
}

.arch-box h4 {
    font-family: var(--font-display);
    font-size: 0.96rem;
    margin-bottom: 6px;
    color: var(--text-primary);
}

.arch-box p {
    font-size: 0.82rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* ==========================================================================
   INTERACTIVE 4-STEP PROCESS ENGINE (01 PLANIFICAM -> 04 LANSAM)
   ========================================================================== */
.process-layout {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 36px;
    align-items: stretch;
}

.process-steps-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.process-step-card {
    padding: 24px 28px;
    border-radius: var(--radius-md);
    background: var(--bg-glass);
    border: 1px solid var(--border-subtle);
    cursor: pointer;
    transition: all 0.3s var(--ease-out-expo);
    display: flex;
    align-items: flex-start;
    gap: 20px;
    text-align: left;
}

.process-step-card:hover,
.process-step-card.active {
    background: var(--bg-elevated);
    border-color: var(--accent-primary);
    transform: translateX(6px);
}

.step-num {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    font-weight: 700;
    padding: 6px 10px;
    border-radius: 8px;
    background: rgba(255, 42, 75, 0.12);
    color: var(--accent-primary);
}

.process-step-card.active .step-num {
    background: var(--accent-primary);
    color: #fff;
}

.step-info h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    margin-bottom: 6px;
}

.step-info p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.process-visualizer {
    border-radius: var(--radius-lg);
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.process-vis-badge {
    font-family: var(--font-mono);
    font-size: 0.76rem;
    color: var(--accent-cyan);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.process-vis-title {
    font-family: var(--font-display);
    font-size: 2rem;
    margin: 14px 0;
}

.process-vis-desc {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 28px;
}

.process-deliverables {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.deliverable-item {
    padding: 14px 16px;
    border-radius: var(--radius-sm);
    background: var(--bg-glass);
    border: 1px solid var(--border-subtle);
    font-size: 0.86rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.deliverable-item span {
    color: var(--accent-primary);
    font-weight: 700;
}

/* ==========================================================================
   EVENIMENTE LIVE 4K — BROADCAST STUDIO HUD
   ========================================================================== */
.broadcast-studio {
    display: grid;
    grid-template-columns: 1.35fr 0.65fr;
    gap: 28px;
    align-items: stretch;
}

.broadcast-monitor {
    border-radius: var(--radius-lg);
    background: #07080d;
    border: 1px solid var(--border-bright);
    overflow: hidden;
    position: relative;
    min-height: 440px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

#liveStreamCanvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.broadcast-overlay-top,
.broadcast-overlay-bottom {
    position: relative;
    z-index: 2;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    background: linear-gradient(180deg, rgba(5, 5, 8, 0.82), transparent);
}

.broadcast-overlay-bottom {
    background: linear-gradient(0deg, rgba(5, 5, 8, 0.9), transparent);
}

.on-air-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    background: rgba(255, 42, 75, 0.2);
    border: 1px solid var(--accent-primary);
    font-family: var(--font-mono);
    font-size: 0.74rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.1em;
}

.cam-switcher {
    display: flex;
    gap: 8px;
}

.cam-btn {
    padding: 7px 14px;
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--border-subtle);
    font-family: var(--font-mono);
    font-size: 0.74rem;
    color: var(--text-secondary);
    transition: all 0.2s ease;
}

.cam-btn.active,
.cam-btn:hover {
    background: var(--accent-primary);
    color: #fff;
    border-color: var(--accent-primary);
}

.stream-tiers {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.stream-tier-card {
    padding: 22px 24px;
    border-radius: var(--radius-md);
    background: var(--bg-elevated);
    border: 1px solid var(--border-subtle);
    transition: border-color 0.25s ease, transform 0.25s ease;
}

.stream-tier-card:hover {
    border-color: var(--accent-primary);
    transform: translateX(-4px);
}

.stream-tier-card h4 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.stream-tier-card p {
    font-size: 0.88rem;
    color: var(--text-secondary);
}

/* ==========================================================================
   PRICING PACKAGES & INTERACTIVE 2027 OFFER CONFIGURATOR
   ========================================================================== */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 56px;
}

.pricing-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 32px 26px;
    border-radius: var(--radius-md);
    background: var(--bg-elevated);
    border: 1px solid var(--border-subtle);
    position: relative;
    transition: transform 0.35s var(--ease-out-expo), border-color 0.35s ease;
}

.pricing-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-bright);
}

.pricing-card.featured {
    background: linear-gradient(180deg, rgba(255, 42, 75, 0.11) 0%, var(--bg-elevated) 55%);
    border-color: var(--accent-primary);
    box-shadow: 0 24px 60px rgba(255, 42, 75, 0.16);
}

.popular-ribbon {
    position: absolute;
    top: 16px;
    right: 16px;
    font-family: var(--font-mono);
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 4px 10px;
    border-radius: var(--radius-pill);
    background: var(--accent-primary);
    color: #fff;
}

.pricing-tier-name {
    font-family: var(--font-display);
    font-size: 1.28rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.pricing-tier-sub {
    font-size: 0.84rem;
    color: var(--text-secondary);
    margin-bottom: 22px;
}

.pricing-amount {
    font-family: var(--font-display);
    font-size: 2.65rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.pricing-amount .currency {
    font-size: 1.3rem;
    color: var(--accent-primary);
}

.pricing-market-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
    flex-wrap: wrap;
}

.pricing-market-old {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--text-muted);
    text-decoration: line-through;
}

.pricing-discount-badge {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: var(--radius-pill);
    background: rgba(16, 185, 129, 0.14);
    border: 1px solid rgba(16, 185, 129, 0.38);
    color: #10b981;
    letter-spacing: 0.04em;
}

.pricing-features {
    display: flex;
    flex-direction: column;
    gap: 11px;
    margin-bottom: 28px;
    padding-top: 20px;
    border-top: 1px solid var(--border-subtle);
}

.pricing-features li {
    display: block;
    position: relative;
    padding-left: 24px;
    font-size: 0.9rem;
    line-height: 1.55;
    color: var(--text-secondary);
}

.pricing-features li::before {
    content: "✦";
    position: absolute;
    left: 0;
    top: 1px;
    color: var(--accent-primary);
    font-size: 0.78rem;
}

/* Custom Offer Configurator ("Oferta creata de tine") */
.configurator-box {
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, rgba(17, 19, 28, 0.92), rgba(25, 16, 28, 0.92));
    border: 1px solid var(--border-bright);
    padding: 42px;
    display: grid;
    grid-template-columns: 1.35fr 0.65fr;
    gap: 36px;
    align-items: center;
}

.config-options-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 24px;
}

.config-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    border-radius: var(--radius-sm);
    background: var(--bg-glass);
    border: 1px solid var(--border-subtle);
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
}

.config-option:hover {
    border-color: var(--border-bright);
}

.config-option.selected {
    background: rgba(255, 42, 75, 0.14);
    border-color: var(--accent-primary);
}

.config-option-left {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.88rem;
    font-weight: 500;
}

.config-check {
    width: 18px;
    height: 18px;
    border-radius: 5px;
    border: 1px solid var(--border-bright);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    color: transparent;
}

.config-option.selected .config-check {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    color: #fff;
}

.config-price-tag {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--accent-primary);
}

.config-summary {
    padding: 32px;
    border-radius: var(--radius-md);
    background: rgba(5, 5, 8, 0.65);
    border: 1px solid var(--border-subtle);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.config-total-price {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1;
}

/* ==========================================================================
   PARTNERS & BLOG INSIGHTS 2027
   ========================================================================== */
.partners-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 80px;
}

.partner-card {
    min-height: 136px;
    height: auto;
    border-radius: var(--radius-md);
    background: #10121b;
    border: 1px solid var(--border-subtle);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 18px 20px;
    transition: all 0.3s ease;
    text-align: center;
    text-decoration: none;
}

.partner-card img {
    max-height: 68px;
    max-width: 100%;
    width: auto;
    object-fit: contain;
    opacity: 0.96;
    transition: all 0.3s ease;
    border-radius: 6px;
}

.partner-card-badge {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: #cbd5e1;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 4px 10px;
    border-radius: 999px;
    line-height: 1.25;
}

.partner-card-badge.app-badge {
    color: #34d399;
    background: rgba(16, 185, 129, 0.14);
    border-color: rgba(16, 185, 129, 0.4);
}

.partner-card:hover {
    border-color: var(--accent-primary);
    background: rgba(255, 255, 255, 0.07);
    transform: translateY(-3px);
}

.partner-card:hover img {
    filter: grayscale(0%) contrast(1) brightness(1);
    opacity: 1;
}

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

.blog-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
}

.blog-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 14px;
}

.blog-meta span.cat {
    color: var(--accent-primary);
}

.blog-link-more {
    margin-top: 18px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--accent-primary);
}

/* ==========================================================================
   CONTACT & CONSULTING CENTER
   ========================================================================== */
.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: 40px;
    width: 100%;
    max-width: 100%;
}

.contact-layout > * {
    min-width: 0;
    max-width: 100%;
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 24px;
    width: 100%;
    max-width: 100%;
}

.contact-Channel {
    padding: 18px 20px;
    border-radius: var(--radius-md);
    background: var(--bg-elevated);
    border: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    gap: 16px;
    transition: border-color 0.25s ease;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
}

.contact-Channel .card-icon {
    flex-shrink: 0;
    margin-bottom: 0;
}

.contact-Channel > div:last-child {
    min-width: 0;
    flex: 1;
}

.contact-Channel:hover {
    border-color: var(--accent-primary);
}

.contact-Channel-label {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    line-height: 1.35;
    overflow-wrap: break-word;
}

.contact-Channel-val {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.3;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.contact-form-card {
    padding: 36px;
    border-radius: var(--radius-lg);
    background: var(--bg-elevated);
    border: 1px solid var(--border-subtle);
    min-width: 0;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    align-items: end;
    width: 100%;
    max-width: 100%;
}

.form-group {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 8px;
    min-width: 0;
    max-width: 100%;
    width: 100%;
}

.form-group.full {
    grid-column: span 2;
}

.form-label {
    font-family: var(--font-mono);
    font-size: 0.74rem;
    line-height: 1.35;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: normal;
}

.form-input,
.form-textarea {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    min-height: 50px;
    padding: 13px 16px;
    border-radius: var(--radius-sm);
    background-color: #10121b;
    border: 1px solid var(--border-subtle);
    color: var(--text-primary);
    font-size: 0.94rem;
    line-height: 1.4;
    transition: border-color 0.25s ease, background-color 0.25s ease;
}

select.form-input {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    background-color: #10121b;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23f5f7fa' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 16px 16px;
    padding-right: 40px;
    cursor: pointer;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

select.form-input option {
    background-color: #10121b;
    color: #f5f7fa;
    padding: 10px 14px;
}

[data-theme="light"] .form-input,
[data-theme="light"] .form-textarea {
    background-color: #ffffff;
    border-color: rgba(10, 10, 14, 0.16);
    color: #0b0c10;
}

[data-theme="light"] select.form-input {
    background-color: #ffffff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%230b0c10' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 16px 16px;
    color: #0b0c10;
}

[data-theme="light"] select.form-input option {
    background-color: #ffffff;
    color: #0b0c10;
}

.form-input:focus,
.form-textarea:focus {
    border-color: var(--accent-primary);
    background-color: #141724;
    outline: none;
}

[data-theme="light"] .form-input:focus,
[data-theme="light"] .form-textarea:focus {
    border-color: var(--accent-primary);
    background-color: #ffffff;
}

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

.form-checkbox-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.85rem;
    line-height: 1.45;
    color: var(--text-secondary);
    cursor: pointer;
}

.form-checkbox-row input {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-top: 2px;
    accent-color: var(--accent-primary);
}

.form-feedback {
    margin-top: 16px;
    padding: 14px 18px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    display: none;
}

.form-feedback.success {
    display: block;
    background: rgba(16, 185, 129, 0.14);
    border: 1px solid rgba(16, 185, 129, 0.4);
    color: var(--accent-emerald);
}

/* ==========================================================================
   FOOTER & OVERSIZED WATERMARK
   ========================================================================== */
.site-footer {
    padding: 80px 0 40px;
    background: var(--bg-surface);
    position: relative;
    overflow: hidden;
    z-index: 2;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 56px;
    border-bottom: 1px solid var(--border-subtle);
}

.footer-col h5 {
    font-family: var(--font-mono);
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-muted);
    margin-bottom: 18px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a,
.footer-links button {
    font-size: 0.92rem;
    color: var(--text-secondary);
    text-align: left;
    transition: color 0.2s ease;
}

.footer-links a:hover,
.footer-links button:hover {
    color: var(--accent-primary);
}

.footer-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.footer-tags span {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    padding: 4px 10px;
    border-radius: 6px;
    background: var(--bg-glass);
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
}

.footer-bottom {
    padding-top: 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 0.84rem;
    color: var(--text-muted);
}

.footer-watermark {
    font-family: var(--font-display);
    font-size: clamp(4.5rem, 15vw, 14rem);
    font-weight: 800;
    line-height: 0.82;
    letter-spacing: -0.05em;
    text-align: center;
    margin-top: 40px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.01));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    user-select: none;
    pointer-events: none;
}

/* ==========================================================================
   MODALS (BLOG READER & TERMENI / GDPR 2027)
   ========================================================================== */
.modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(5, 5, 8, 0.82);
    backdrop-filter: blur(18px);
    z-index: 9995;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s var(--ease-out-expo);
}

.modal-backdrop.open {
    opacity: 1;
    pointer-events: auto;
}

.modal-window {
    width: 100%;
    max-width: 860px;
    max-height: 86vh;
    border-radius: var(--radius-lg);
    background: var(--bg-surface);
    border: 1px solid var(--border-bright);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.65);
}

.modal-header {
    padding: 22px 30px;
    border-bottom: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.modal-header h3 {
    font-family: var(--font-display);
    font-size: 1.35rem;
}

.modal-close {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--border-subtle);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
}

.modal-close:hover {
    border-color: var(--accent-primary);
    color: #fff;
}

.modal-body {
    padding: 30px;
    overflow-y: auto;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.75;
}

.modal-body h4 {
    color: var(--text-primary);
    font-family: var(--font-display);
    font-size: 1.15rem;
    margin: 22px 0 8px;
}

.modal-body ul {
    padding-left: 18px;
    margin: 10px 0;
    list-style: disc;
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 1140px) {
    .hero-grid,
    .section-heading-row,
    .process-layout,
    .broadcast-studio,
    .configurator-box,
    .contact-layout {
        grid-template-columns: 1fr;
    }

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

    .bento-col-8,
    .bento-col-6,
    .bento-col-4 {
        grid-column: span 12;
    }

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

@media (max-width: 820px) {
    .site-header {
        top: 10px;
        padding: 0 12px;
    }

    .nav-shell {
        height: 58px;
        padding: 0 14px;
        gap: 8px;
        border-radius: 18px;
    }

    .brand-logo svg {
        width: 96px;
        height: 43px;
    }

    .brand-badge {
        display: none;
    }

    .nav-actions {
        gap: 8px;
        flex-shrink: 0;
    }

    .nav-links,
    .status-pill {
        display: none;
    }

    .mobile-menu-btn {
        display: inline-flex;
        flex-shrink: 0;
    }

    .nav-links.mobile-open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 66px;
        left: 12px;
        right: 12px;
        padding: 16px;
        gap: 6px;
        border-radius: 18px;
        background: rgba(11, 12, 18, 0.96);
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
        border: 1px solid var(--border-bright);
        box-shadow: 0 24px 60px rgba(0, 0, 0, 0.65);
        z-index: 1005;
    }

    [data-theme="light"] .nav-links.mobile-open {
        background: rgba(244, 243, 239, 0.97);
    }

    .nav-links.mobile-open li {
        width: 100%;
    }

    .nav-links.mobile-open .nav-link {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 12px 16px;
        font-size: 1rem;
        border-radius: 12px;
    }

    .container {
        padding: 0 16px;
    }

    .section {
        padding: 56px 0;
    }

    .section-heading-row {
        gap: 16px;
        margin-bottom: 32px;
    }

    .hero {
        min-height: auto;
        padding: 96px 0 48px;
    }

    .page-hero {
        padding: 100px 0 44px;
    }

    .hero-eyebrow,
    .page-hero-breadcrumb {
        font-size: 0.68rem;
        padding: 6px 12px;
        flex-wrap: wrap;
        max-width: 100%;
        gap: 6px;
        margin-bottom: 18px;
    }

    .hero-title {
        font-size: clamp(2rem, 8vw, 2.75rem);
        line-height: 1.06;
        margin-bottom: 18px;
        overflow-wrap: break-word;
        word-break: break-word;
    }

    .page-hero-title {
        font-size: clamp(1.9rem, 7.5vw, 2.6rem);
        line-height: 1.08;
        overflow-wrap: break-word;
    }

    .section-title {
        font-size: clamp(1.75rem, 6.8vw, 2.4rem);
        line-height: 1.1;
        overflow-wrap: break-word;
    }

    .hero-description,
    .page-hero-sub,
    .section-lead {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 24px;
    }

    .hero-cta-group {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        margin-bottom: 32px;
    }

    .hero-cta-group .btn {
        width: 100%;
        justify-content: center;
    }

    .hero-metrics {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
        padding-top: 20px;
    }

    .metric-value {
        font-size: 1.4rem;
    }

    .hero-stage {
        max-width: 340px;
        aspect-ratio: 1 / 1;
        margin: 0 auto;
    }

    .stage-hud {
        inset: 10px;
    }

    .stage-hud-top,
    .stage-hud-bottom {
        font-size: 0.62rem;
        gap: 6px;
        flex-wrap: wrap;
    }

    .hud-chip {
        padding: 4px 8px;
    }

    .spotlight-card,
    .pricing-card,
    .process-visualizer,
    .configurator-box,
    .config-summary,
    .contact-form-card {
        padding: 22px 18px;
        border-radius: 18px;
    }

    .process-step-card {
        padding: 16px;
        gap: 14px;
    }

    .config-option {
        flex-wrap: wrap;
        gap: 8px;
        padding: 12px 14px;
    }

    .config-total-price,
    .pricing-amount {
        font-size: 2.2rem;
    }

    .broadcast-monitor {
        min-height: 280px;
    }

    .broadcast-overlay-top,
    .broadcast-overlay-bottom {
        padding: 12px 14px;
    }

    .aww-tabs-nav,
    .services-tabs {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        max-width: 100%;
        padding-bottom: 10px;
        scrollbar-width: none;
    }

    .aww-tabs-nav::-webkit-scrollbar,
    .services-tabs::-webkit-scrollbar {
        display: none;
    }

    .aww-tab-trigger,
    .service-tab-btn {
        white-space: nowrap;
        flex-shrink: 0;
        padding: 10px 16px;
        font-size: 0.82rem;
    }

    .form-input,
    .form-textarea,
    select.form-input {
        font-size: 16px;
        padding: 12px 14px;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        box-sizing: border-box;
    }

    select.form-input {
        padding-right: 38px;
    }

    .contact-layout {
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 24px;
    }

    .contact-info-list {
        gap: 12px;
        margin-top: 18px;
    }

    .contact-Channel {
        padding: 14px 15px;
        gap: 12px;
    }

    .contact-Channel .card-icon {
        width: 40px;
        height: 40px;
        border-radius: 11px;
        font-size: 1.05rem;
    }

    .contact-Channel-label {
        font-size: 0.66rem;
    }

    .contact-Channel-val {
        font-size: 0.98rem;
    }

    .contact-form-card {
        padding: 20px 16px;
        border-radius: 18px;
    }

    .modal-backdrop {
        padding: 12px;
    }

    .modal-header,
    .modal-body {
        padding: 18px;
    }

    .site-footer {
        padding: 56px 0 96px;
    }

    .footer-watermark {
        font-size: clamp(2.8rem, 16vw, 6rem);
        margin-top: 24px;
    }

    .arch-compare,
    .pricing-grid,
    .config-options-grid,
    .partners-row,
    .blog-grid,
    .form-grid,
    .process-deliverables,
    .footer-top {
        grid-template-columns: minmax(0, 1fr) !important;
    }

    .form-grid {
        gap: 14px;
    }

    .form-group,
    .form-group.full {
        grid-column: 1 / -1 !important;
        min-width: 0;
        max-width: 100%;
        width: 100%;
    }
}

@media (max-width: 680px) {
    .nav-actions > .btn {
        display: none !important;
    }
}

@media (max-width: 420px) {
    .brand-logo svg {
        width: 88px;
        height: 40px;
    }

    .lang-btn {
        padding: 4px 8px;
        font-size: 0.68rem;
    }

    .theme-toggle-btn,
    .mobile-menu-btn {
        width: 34px;
        height: 34px;
    }
}

/* ==========================================================================
   CASE STUDIES / BEFORE & AFTER METRICS SHOWCASE
   ========================================================================== */
.case-studies-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    margin-top: 32px;
}

.case-study-card {
    padding: 32px 28px;
    border-radius: var(--radius-md);
    background: var(--bg-elevated);
    border: 1px solid var(--border-subtle);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 20px;
    transition: transform 0.35s var(--ease-out-expo), border-color 0.35s ease;
}

.case-study-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-crimson);
}

.case-metrics-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.case-metric-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: var(--radius-pill);
    background: rgba(255, 42, 75, 0.1);
    border: 1px solid rgba(255, 42, 75, 0.3);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent-primary);
}

.case-metric-pill.emerald {
    background: rgba(16, 185, 129, 0.12);
    border-color: rgba(16, 185, 129, 0.35);
    color: #10b981;
}

.case-before-after {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding: 14px 16px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid var(--border-subtle);
}

[data-theme="light"] .case-before-after {
    background: rgba(10, 10, 14, 0.03);
}

.case-ba-col {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.case-ba-label {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
}

.case-ba-val {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.case-ba-col.after .case-ba-label {
    color: #10b981;
}

.case-ba-col.after .case-ba-val {
    color: var(--text-primary);
}

/* ==========================================================================
   FLOATING WHATSAPP & QUICK CALL CONVERSION BAR (2027 EDITION)
   ========================================================================== */
.floating-conversion-bar {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 9990;
    display: flex;
    align-items: center;
    gap: 10px;
}

.wa-float-btn,
.call-float-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    border-radius: var(--radius-pill);
    font-family: var(--font-sans);
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    backdrop-filter: blur(18px) saturate(160%);
    -webkit-backdrop-filter: blur(18px) saturate(160%);
    transition: transform 0.3s var(--ease-out-expo), box-shadow 0.3s ease;
}

.wa-float-btn {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow: 0 12px 32px rgba(16, 185, 129, 0.38);
}

.wa-float-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 16px 40px rgba(16, 185, 129, 0.52);
}

.wa-float-btn svg,
.call-float-btn svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.wa-pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 0 8px #ffffff;
    animation: pulseLive 2s infinite;
}

.call-float-btn {
    background: var(--bg-elevated);
    color: var(--text-primary);
    border: 1px solid var(--border-bright);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

.call-float-btn:hover {
    transform: translateY(-3px);
    border-color: var(--accent-primary);
}

.float-label-mob {
    display: none;
}

@media (max-width: 820px) {
    .case-studies-grid,
    .case-before-after {
        grid-template-columns: minmax(0, 1fr);
    }

    .float-label-desk {
        display: none !important;
    }

    .float-label-mob {
        display: inline !important;
    }

    .floating-conversion-bar {
        left: 10px;
        right: 10px;
        bottom: 10px;
        padding: 5px;
        gap: 6px;
        border-radius: 999px;
        background: rgba(8, 10, 18, 0.94);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border: 1px solid rgba(255, 255, 255, 0.16);
        box-shadow: 0 14px 36px rgba(0, 0, 0, 0.72);
        justify-content: space-between;
    }

    [data-theme="light"] .floating-conversion-bar {
        background: rgba(255, 255, 255, 0.95);
        border-color: rgba(15, 23, 42, 0.14);
        box-shadow: 0 12px 32px rgba(15, 23, 42, 0.18);
    }

    .ai-float-btn,
    .call-float-btn,
    .wa-float-btn {
        flex: 1 1 0;
        min-width: 0;
        height: 40px;
        padding: 0 8px !important;
        gap: 5px !important;
        font-family: var(--font-sans) !important;
        font-size: 0.75rem !important;
        font-weight: 700 !important;
        white-space: nowrap !important;
        justify-content: center;
        align-items: center;
        border-radius: 999px;
        box-shadow: none !important;
    }

    .wa-pulse-dot {
        display: none !important;
    }

    .wa-float-btn svg,
    .call-float-btn svg {
        width: 15px;
        height: 15px;
        flex-shrink: 0;
    }

    .atom-ai-widget {
        left: 10px !important;
        right: 10px !important;
        bottom: 66px !important;
        width: auto !important;
        max-width: none !important;
    }
}

@media (max-width: 390px) {
    .floating-conversion-bar {
        left: 8px;
        right: 8px;
        bottom: 8px;
        padding: 4px;
        gap: 4px;
    }

    .ai-float-btn,
    .call-float-btn,
    .wa-float-btn {
        height: 38px;
        padding: 0 6px !important;
        gap: 4px !important;
        font-size: 0.72rem !important;
    }

    .wa-float-btn svg,
    .call-float-btn svg {
        width: 14px;
        height: 14px;
    }
}

/* ==========================================================================
   CLIENT TESTIMONIALS & GDPR CONSENT MODE V2 BANNER
   ========================================================================== */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    margin-top: 24px;
}

.testimonial-card {
    padding: 28px 24px;
    border-radius: var(--radius-md);
    background: var(--bg-elevated);
    border: 1px solid var(--border-subtle);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 16px;
}

.testimonial-stars {
    color: #f59e0b;
    font-size: 1rem;
    letter-spacing: 2px;
}

.testimonial-quote {
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.65;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding-top: 12px;
    border-top: 1px solid var(--border-subtle);
}

.testimonial-author strong {
    color: var(--text-primary);
    font-size: 0.94rem;
}

.testimonial-author span {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--accent-primary);
}

.cookie-consent-banner {
    position: fixed;
    left: 22px;
    bottom: 22px;
    max-width: 440px;
    z-index: 9995;
    padding: 18px 20px;
    border-radius: var(--radius-md);
    background: var(--bg-elevated);
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    border: 1px solid var(--border-bright);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cookie-consent-text {
    font-size: 0.82rem;
    line-height: 1.5;
    color: var(--text-secondary);
}

.cookie-consent-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cookie-btn-accept,
.cookie-btn-essential {
    padding: 8px 14px;
    border-radius: var(--radius-pill);
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
}

.cookie-btn-accept {
    background: var(--accent-primary);
    color: #ffffff;
    border: none;
}

.cookie-btn-essential {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border-subtle);
}

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

    .cookie-consent-banner {
        left: 14px;
        right: 14px;
        bottom: 74px;
        max-width: none;
    }
}

/* ==========================================================================
   INTERACTIVE FAQ ACCORDION
   ========================================================================== */
.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 24px;
}

.faq-item {
    border-radius: var(--radius-md);
    background: var(--bg-elevated);
    border: 1px solid var(--border-subtle);
    padding: 18px 24px;
    transition: border-color 0.25s ease;
}

.faq-item[open] {
    border-color: var(--border-crimson);
}

.faq-question {
    font-family: var(--font-display);
    font-size: 1.04rem;
    font-weight: 700;
    color: var(--text-primary);
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-question::after {
    content: "+";
    font-family: var(--font-mono);
    font-size: 1.25rem;
    color: var(--accent-primary);
    flex-shrink: 0;
}

.faq-item[open] .faq-question::after {
    content: "−";
}

.faq-answer {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    font-size: 0.93rem;
    line-height: 1.65;
}

.faq-answer strong {
    color: var(--text-primary);
}

/* ==========================================================================
   MOBILE APPS SHOWCASE BADGES (GOOGLE PLAY & IOS APP STORE)
   ========================================================================== */
.case-apps-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 14px 0 16px;
}

.app-store-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    font-family: var(--font-mono);
    font-size: 0.74rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.22s ease;
    line-height: 1.2;
}

.app-store-btn.play {
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.42);
    color: #10b981;
}

.app-store-btn.play:hover {
    background: #10b981;
    color: #04130d;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.25);
}

.app-store-btn.ios-soon {
    background: rgba(255, 255, 255, 0.05);
    border: 1px dashed var(--border-bright);
    color: var(--text-secondary);
    cursor: default;
}

[data-theme="light"] .app-store-btn.play {
    background: rgba(16, 185, 129, 0.1);
    border-color: rgba(5, 150, 105, 0.45);
    color: #047857;
}

[data-theme="light"] .app-store-btn.play:hover {
    background: #059669;
    color: #ffffff;
}

[data-theme="light"] .app-store-btn.ios-soon {
    background: rgba(15, 23, 42, 0.04);
    border-color: rgba(15, 23, 42, 0.22);
    color: #334155;
}

/* ==========================================================================
   ATOMWEB AI CONSULTANT WIDGET (2027 RAG ASSISTANT)
   ========================================================================== */
.ai-float-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 16px;
    border-radius: 999px;
    background: linear-gradient(135deg, #7c3aed, #ff2a5f);
    color: #ffffff;
    font-family: var(--font-mono);
    font-size: 0.76rem;
    font-weight: 700;
    border: 1px solid rgba(255, 255, 255, 0.24);
    cursor: pointer;
    box-shadow: 0 10px 26px rgba(124, 58, 237, 0.35);
    transition: all 0.25s ease;
}

.ai-float-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(255, 42, 95, 0.45);
}

.atom-ai-widget {
    position: fixed;
    right: 22px;
    bottom: 84px;
    width: 365px;
    max-width: calc(100vw - 32px);
    border-radius: 20px;
    background: rgba(11, 13, 22, 0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(124, 58, 237, 0.45);
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.65);
    z-index: 9998;
    display: none;
    flex-direction: column;
    overflow: hidden;
}

.atom-ai-widget.open {
    display: flex;
    animation: aiWidgetSlideUp 0.24s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes aiWidgetSlideUp {
    from { opacity: 0; transform: translateY(14px) scale(0.97); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.atom-ai-header {
    padding: 14px 16px;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.24), rgba(255, 42, 95, 0.18));
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.atom-ai-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    font-weight: 700;
    color: #ffffff;
}

.atom-ai-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #00f5d4;
    box-shadow: 0 0 10px #00f5d4;
}

.atom-ai-close {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 1rem;
    cursor: pointer;
    padding: 2px 6px;
}

.atom-ai-messages {
    padding: 14px;
    max-height: 270px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 0.85rem;
    line-height: 1.5;
}

.atom-ai-msg {
    padding: 10px 13px;
    border-radius: 13px;
    max-width: 92%;
}

.atom-ai-msg.bot {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #e2e8f0;
    align-self: flex-start;
}

.atom-ai-msg.user {
    background: rgba(255, 42, 95, 0.2);
    border: 1px solid rgba(255, 42, 95, 0.45);
    color: #ffffff;
    align-self: flex-end;
}

.atom-ai-chips {
    padding: 0 14px 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.atom-ai-chip {
    background: rgba(124, 58, 237, 0.14);
    border: 1px solid rgba(124, 58, 237, 0.38);
    color: #c4b5fd;
    border-radius: 999px;
    padding: 5px 10px;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    cursor: pointer;
    transition: all 0.18s ease;
}

.atom-ai-chip:hover {
    background: #7c3aed;
    color: #ffffff;
}

.atom-ai-input-row {
    padding: 10px 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    gap: 8px;
    background: rgba(5, 6, 11, 0.8);
}

.atom-ai-input {
    flex: 1;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 10px;
    padding: 8px 11px;
    color: #ffffff;
    font-size: 0.82rem;
    outline: none;
}

.atom-ai-input:focus {
    border-color: #00f5d4;
}

.atom-ai-send {
    background: var(--accent-primary);
    color: #ffffff;
    border: none;
    border-radius: 10px;
    padding: 0 13px;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
}

[data-theme="light"] .atom-ai-widget {
    background: rgba(255, 255, 255, 0.98);
    border-color: rgba(124, 58, 237, 0.35);
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.18);
}

[data-theme="light"] .atom-ai-title {
    color: #0f172a;
}

[data-theme="light"] .atom-ai-msg.bot {
    background: #f1f5f9;
    border-color: #e2e8f0;
    color: #1e293b;
}

[data-theme="light"] .atom-ai-msg.user {
    background: #ff2a5f;
    color: #ffffff;
}

[data-theme="light"] .atom-ai-chip {
    background: rgba(124, 58, 237, 0.08);
    color: #5b21b6;
}

[data-theme="light"] .atom-ai-input-row {
    background: #f8fafc;
    border-top-color: #e2e8f0;
}

[data-theme="light"] .atom-ai-input {
    background: #ffffff;
    border-color: #cbd5e1;
    color: #0f172a;
}

/* ==========================================================================
   LEGAL, GDPR & COMPLIANCE CENTER (TERMENI_CONDITII.HTML — 2027 EDITION)
   ========================================================================== */
.legal-pillars-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 36px;
}

.legal-pillar-card {
    padding: 24px 22px;
    border-radius: var(--radius-md);
    background: var(--bg-elevated);
    border: 1px solid var(--border-subtle);
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.legal-pillar-card:hover {
    transform: translateY(-3px);
    border-color: var(--accent-primary);
}

.legal-pillar-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    align-self: flex-start;
    padding: 4px 10px;
    border-radius: 999px;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 700;
    background: rgba(255, 42, 75, 0.12);
    border: 1px solid rgba(255, 42, 75, 0.32);
    color: var(--accent-primary);
}

.legal-pillar-badge.emerald {
    background: rgba(16, 185, 129, 0.12);
    border-color: rgba(16, 185, 129, 0.35);
    color: #10b981;
}

.legal-pillar-badge.cyan {
    background: rgba(0, 245, 212, 0.12);
    border-color: rgba(0, 245, 212, 0.35);
    color: #00f5d4;
}

.legal-pillar-badge.violet {
    background: rgba(124, 58, 237, 0.15);
    border-color: rgba(124, 58, 237, 0.4);
    color: #c4b5fd;
}

.legal-pillar-title {
    font-family: var(--font-display);
    font-size: 1.08rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.3;
}

.legal-pillar-desc {
    font-size: 0.86rem;
    color: var(--text-secondary);
    line-height: 1.55;
}

.legal-toc-box {
    padding: 22px 24px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid var(--border-subtle);
    margin-bottom: 40px;
}

[data-theme="light"] .legal-toc-box {
    background: rgba(15, 23, 42, 0.03);
}

.legal-toc-title {
    font-family: var(--font-mono);
    font-size: 0.74rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 14px;
}

.legal-toc-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.legal-toc-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 15px;
    border-radius: 999px;
    background: var(--bg-elevated);
    border: 1px solid var(--border-subtle);
    font-family: var(--font-sans);
    font-size: 0.83rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.2s ease;
}

.legal-toc-link span.num {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--accent-primary);
    font-weight: 700;
}

.legal-toc-link:hover {
    border-color: var(--accent-primary);
    color: var(--text-primary);
    transform: translateY(-2px);
}

.legal-chapters-stack {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.legal-chapter-card {
    padding: 34px 36px;
    border-radius: var(--radius-lg);
    background: var(--bg-elevated);
    border: 1px solid var(--border-subtle);
    scroll-margin-top: 96px;
    transition: border-color 0.25s ease;
}

.legal-chapter-card:hover {
    border-color: var(--border-bright);
}

.legal-chapter-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    padding-bottom: 16px;
    margin-bottom: 18px;
    border-bottom: 1px solid var(--border-subtle);
}

.legal-chapter-tag {
    font-family: var(--font-mono);
    font-size: 0.74rem;
    font-weight: 700;
    color: var(--accent-primary);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.legal-chapter-ref {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--text-muted);
    padding: 4px 10px;
    border-radius: 6px;
    background: var(--bg-glass);
    border: 1px solid var(--border-subtle);
}

.legal-subgrid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 18px;
}

.legal-subbox {
    padding: 18px 20px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid var(--border-subtle);
}

[data-theme="light"] .legal-subbox {
    background: rgba(15, 23, 42, 0.03);
}

.legal-subbox h4 {
    font-family: var(--font-display);
    font-size: 0.98rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.legal-subbox p {
    font-size: 0.87rem;
    color: var(--text-secondary);
    line-height: 1.55;
    margin: 0;
}

@media (max-width: 1140px) {
    .legal-pillars-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 820px) {
    .legal-pillars-grid,
    .legal-subgrid {
        grid-template-columns: minmax(0, 1fr);
    }

    .legal-chapter-card {
        padding: 22px 18px;
        border-radius: 18px;
    }

    .legal-toc-box {
        padding: 16px;
    }

    .legal-toc-link {
        width: 100%;
        justify-content: flex-start;
        padding: 10px 14px;
    }
}

/* ==========================================================================
   ATOM-SHIELD™ QUANTUM ORBIT LOCK — HUMAN VERIFICATION (AWWWARDS EDITION)
   Bespoke physics-driven micro-interaction for Contact Form
   ========================================================================== */

.atom-shield {
    position: relative;
    padding: 16px 18px 14px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, rgba(17, 19, 28, 0.85), rgba(11, 12, 18, 0.95));
    border: 1px solid var(--border-subtle);
    box-shadow: 0 16px 40px -10px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    transition: border-color 0.4s var(--ease-out-expo), box-shadow 0.4s var(--ease-out-expo), transform 0.2s ease;
    user-select: none;
    -webkit-user-select: none;
    margin-top: 4px;
}

[data-theme="light"] .atom-shield {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(244, 243, 239, 0.95));
    border-color: rgba(10, 10, 14, 0.12);
    box-shadow: 0 12px 32px -8px rgba(10, 10, 14, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.atom-shield:hover {
    border-color: var(--border-bright);
}

.atom-shield[data-state="dragging"] {
    border-color: rgba(255, 42, 75, 0.5);
    box-shadow: 0 0 24px rgba(255, 42, 75, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.atom-shield[data-state="verified"] {
    border-color: rgba(16, 185, 129, 0.55);
    box-shadow: 0 0 30px rgba(16, 185, 129, 0.2), inset 0 1px 0 rgba(16, 185, 129, 0.15);
}

.atom-shield.shake {
    animation: atomShieldShake 0.55s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
}

@keyframes atomShieldShake {
    10%, 90% { transform: translate3d(-2px, 0, 0); }
    20%, 80% { transform: translate3d(4px, 0, 0); }
    30%, 50%, 70% { transform: translate3d(-5px, 0, 0); }
    40%, 60% { transform: translate3d(5px, 0, 0); }
}

.atom-shield-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
    font-family: var(--font-mono);
}

.atom-shield-brand {
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: var(--text-primary);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
}

.atom-shield-logo {
    color: var(--accent-primary);
    font-size: 0.95rem;
    line-height: 1;
    display: inline-block;
    filter: drop-shadow(0 0 6px rgba(255, 42, 75, 0.6));
    animation: atomLogoSpin 8s linear infinite;
}

@keyframes atomLogoSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.atom-shield-brand em {
    font-style: normal;
    font-size: 0.66rem;
    color: var(--text-muted);
    font-weight: 500;
    letter-spacing: 0.04em;
}

.atom-shield-status {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    padding: 3px 9px;
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    transition: all 0.3s ease;
    white-space: nowrap;
}

[data-theme="light"] .atom-shield-status {
    background: rgba(10, 10, 14, 0.04);
}

.atom-shield[data-state="dragging"] .atom-shield-status {
    color: var(--accent-secondary);
    border-color: rgba(255, 107, 43, 0.4);
    background: rgba(255, 107, 43, 0.1);
}

.atom-shield[data-state="verified"] .atom-shield-status {
    color: var(--accent-emerald);
    border-color: rgba(16, 185, 129, 0.5);
    background: rgba(16, 185, 129, 0.14);
    box-shadow: 0 0 12px rgba(16, 185, 129, 0.3);
}

.atom-shield-stage {
    position: relative;
    width: 100%;
    height: 156px;
    border-radius: var(--radius-sm);
    background: radial-gradient(circle at 42% 50%, rgba(255, 42, 75, 0.06), rgba(124, 58, 237, 0.03) 60%, transparent 80%),
                rgba(5, 5, 8, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.06);
    overflow: hidden;
    box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.4);
}

[data-theme="light"] .atom-shield-stage {
    background: radial-gradient(circle at 42% 50%, rgba(255, 42, 75, 0.07), rgba(124, 58, 237, 0.04) 60%, transparent 80%),
                rgba(235, 233, 226, 0.6);
    border-color: rgba(10, 10, 14, 0.08);
    box-shadow: inset 0 2px 8px rgba(10, 10, 14, 0.05);
}

.atom-shield-canvas {
    width: 100%;
    height: 100%;
    display: block;
    touch-action: none;
    outline: none;
    cursor: grab;
}

.atom-shield-canvas:active {
    cursor: grabbing;
}

.atom-shield-canvas:focus-visible {
    box-shadow: inset 0 0 0 2px var(--accent-primary);
}

.atom-shield-hint {
    font-size: 0.81rem;
    color: var(--text-secondary);
    line-height: 1.48;
    margin-top: 10px;
    margin-bottom: 8px;
    min-height: 1.48em;
    transition: color 0.3s ease;
}

.atom-shield-hint b,
.atom-shield-hint strong {
    color: var(--text-primary);
    font-weight: 600;
}

.atom-shield[data-state="verified"] .atom-shield-hint {
    color: var(--accent-emerald);
}

.atom-shield-foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    font-family: var(--font-mono);
    font-size: 0.68rem;
    color: var(--text-muted);
    padding-top: 6px;
    border-top: 1px dashed rgba(255, 255, 255, 0.06);
}

[data-theme="light"] .atom-shield-foot {
    border-top-color: rgba(10, 10, 14, 0.08);
}

.atom-shield-foot span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    letter-spacing: 0.02em;
}

/* Submit Button Locked State Indicator */
button.btn.is-locked {
    position: relative;
    opacity: 0.88;
    transition: all 0.3s var(--ease-out-expo);
}

button.btn.is-locked::after {
    content: " 🔒";
    font-size: 0.85em;
    margin-left: 6px;
    opacity: 0.8;
}

button.btn:not(.is-locked)::after {
    display: none;
}

@media (max-width: 520px) {
    .atom-shield {
        padding: 14px 14px 12px;
    }

    .atom-shield-stage {
        height: 148px;
    }

    .atom-shield-head {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

    .atom-shield-status {
        align-self: flex-start;
    }

    .atom-shield-foot {
        gap: 6px 10px;
        font-size: 0.64rem;
    }
}




