/* ==========================================================================
   AiDEV Agency - Modern Design System
   Matches DESIGN NOU Mockups & High-End AI Dev Agency Aesthetic
   ========================================================================== */

/* Self-hosted Plus Jakarta Sans (variable weight 400-800); latin-ext covers Romanian ă ș ț */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../fonts/plus-jakarta-sans-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../fonts/plus-jakarta-sans-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* Spacing scale (use for new components) */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 72px;

  /* Type scale */
  --fs-sm: 0.875rem;
  --fs-base: 1rem;
  --fs-lg: 1.125rem;
  --fs-h3: 1.25rem;
  --fs-h2: clamp(1.75rem, 3vw, 2.5rem);
  --fs-h1: clamp(2rem, 4.5vw, 3.25rem);

  --primary: #e50914;
  --primary-hover: #c70812;
  --primary-light: #fef2f2;
  --primary-border: #fecaca;
  --primary-glow: rgba(229, 9, 20, 0.2);
  
  --dark-bg: #0b0f19;
  --dark-card: #121826;
  --dark-border: #1e293b;
  
  --text-title: #0f172a;
  --text-body: #334155;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  
  --surface-white: #ffffff;
  --surface-subtle: #f8fafc;
  --surface-card: #ffffff;
  --border-light: #e2e8f0;
  --border-card: #edf2f7;
  
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 4px 16px -2px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 12px 32px -4px rgba(15, 23, 42, 0.12);
  --shadow-glow: 0 8px 24px -2px var(--primary-glow);
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;
  
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: var(--text-body);
  background-color: #ffffff;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

ul {
  list-style: none;
}

button, input, select, textarea {
  font-family: inherit;
}

/* Container */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Typography Helpers */
.text-primary { color: var(--primary) !important; }
.text-muted { color: var(--text-muted) !important; }
.fw-bold { font-weight: 700; }
.fw-extrabold { font-weight: 800; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 13px 26px;
  border-radius: var(--radius-full);
  cursor: pointer;
  border: 1px solid transparent;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--primary);
  color: #ffffff;
  box-shadow: 0 4px 14px var(--primary-glow);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--primary-glow);
}

.btn-secondary {
  background-color: transparent;
  color: var(--text-title);
  border-color: var(--border-light);
}

.btn-secondary:hover {
  background-color: var(--surface-subtle);
  border-color: var(--text-title);
  transform: translateY(-2px);
}

.btn-white {
  background-color: #ffffff;
  color: var(--text-title);
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.btn-white:hover {
  background-color: #f8fafc;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.btn-link {
  background: none;
  border: none;
  color: var(--primary);
  padding: 0;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-link:hover {
  color: var(--primary-hover);
  text-decoration: underline;
}

/* Badges */
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background-color: var(--surface-subtle);
  border: 1px solid var(--border-light);
  color: var(--text-title);
}

.badge-pill.primary {
  background-color: var(--primary-light);
  color: var(--primary);
  border-color: var(--primary-border);
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  z-index: 1000;
  transition: var(--transition);
}

.site-header .header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.brand-logo {
  display: flex;
  align-items: center;
}

.brand-logo img, .brand-logo svg {
  height: 44px;
  width: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-body);
  position: relative;
  padding: 6px 0;
}

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

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

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--text-title);
}

/* Mobile Menu Trigger Button in Header */
.btn-mobile-menu {
  display: none;
  align-items: center;
  gap: 8px;
  background: var(--surface-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  padding: 8px 14px;
  cursor: pointer;
  color: var(--text-title);
  font-size: 0.88rem;
  font-weight: 700;
  transition: var(--transition);
  min-height: 42px;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.btn-mobile-menu:hover,
.btn-mobile-menu.is-active {
  background: var(--primary-light);
  border-color: var(--primary-border);
  color: var(--primary);
}

.hamburger-icon {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 18px;
  height: 13px;
  position: relative;
}

.hamburger-icon span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: currentColor;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.btn-mobile-menu.is-active .hamburger-icon span:nth-child(1) {
  transform: translateY(5.5px) rotate(45deg);
}

.btn-mobile-menu.is-active .hamburger-icon span:nth-child(2) {
  opacity: 0;
}

.btn-mobile-menu.is-active .hamburger-icon span:nth-child(3) {
  transform: translateY(-5.5px) rotate(-45deg);
}

.hamburger-text {
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.8rem;
  line-height: 1;
}

/* ==========================================================================
   Mobile Offcanvas Navigation Drawer (Stil Izidoro.ro)
   ========================================================================== */
.mobile-nav-drawer {
  position: fixed;
  inset: 0;
  z-index: 9999;
  visibility: hidden;
  pointer-events: none;
  transition: visibility 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-nav-drawer.open {
  visibility: visible;
  pointer-events: auto;
}

.mobile-drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(11, 15, 25, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-nav-drawer.open .mobile-drawer-backdrop {
  opacity: 1;
}

.mobile-drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 88vw;
  max-width: 360px;
  height: 100%;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: -8px 0 32px rgba(15, 23, 42, 0.2);
  z-index: 2;
  overflow: hidden;
}

.mobile-nav-drawer.open .mobile-drawer-panel {
  transform: translateX(0);
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-light);
  background: #ffffff;
  min-height: 64px;
}

.mobile-drawer-brand img {
  height: 32px;
  width: auto;
}

.mobile-drawer-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--surface-subtle);
  border: 1px solid var(--border-light);
  color: var(--text-title);
  cursor: pointer;
  transition: var(--transition);
}

.mobile-drawer-close:hover {
  background: var(--primary-light);
  color: var(--primary);
  border-color: var(--primary-border);
}

.mobile-drawer-body {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Promo Banner inside Drawer */
.drawer-promo-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, #0b0f19 0%, #1e293b 100%);
  color: #ffffff;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: var(--transition);
}

.drawer-promo-banner:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.drawer-promo-badge {
  background: var(--primary);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 8px;
  border-radius: var(--radius-full);
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.drawer-promo-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.drawer-promo-content strong {
  font-size: 0.88rem;
  color: #ffffff;
  line-height: 1.25;
}

.drawer-promo-content span {
  font-size: 0.76rem;
  color: #94a3b8;
  line-height: 1.3;
}

.drawer-promo-banner svg {
  color: #94a3b8;
  flex-shrink: 0;
}

/* Drawer Section */
.drawer-section {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.drawer-section-title {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  padding: 0 4px;
}

.drawer-nav-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.drawer-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  color: var(--text-title);
  font-size: 0.94rem;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
  background: transparent;
}

.drawer-nav-item:hover,
.drawer-nav-item.active {
  background: var(--surface-subtle);
  color: var(--primary);
}

.drawer-nav-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--surface-subtle);
  color: var(--text-body);
  flex-shrink: 0;
  transition: var(--transition);
}

.drawer-nav-item:hover .drawer-nav-icon {
  background: var(--primary-light);
  color: var(--primary);
}

.drawer-nav-text {
  flex: 1;
}

.drawer-nav-badge {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  background: var(--surface-subtle);
  color: var(--text-muted);
  border: 1px solid var(--border-light);
}

.drawer-nav-badge.highlight {
  background: var(--primary-light);
  color: var(--primary);
  border-color: var(--primary-border);
}

.drawer-nav-item.highlight-contact {
  background: var(--primary-light);
  color: var(--primary);
  border: 1px dashed var(--primary-border);
  margin-top: 6px;
}

.drawer-nav-item.highlight-contact .drawer-nav-icon {
  background: var(--primary);
  color: #ffffff;
}

/* Direct Contact in Drawer */
.drawer-contact-card {
  background: var(--surface-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.drawer-contact-row {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  padding: 6px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.drawer-contact-row:hover {
  background: #ffffff;
}

.drawer-contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  flex-shrink: 0;
}

.drawer-contact-icon.phone {
  background: #eff6ff;
  color: #2563eb;
}

.drawer-contact-icon.email {
  background: #fdf2f8;
  color: #db2777;
}

.drawer-contact-info {
  display: flex;
  flex-direction: column;
}

.drawer-contact-val {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-title);
}

.drawer-contact-lbl {
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* Drawer Footer */
.mobile-drawer-footer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 14px 20px;
  border-top: 1px solid var(--border-light);
  background: #ffffff;
  padding-bottom: calc(14px + env(safe-area-inset-bottom, 0px));
}

.drawer-footer-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  transition: var(--transition);
  text-align: center;
}

.drawer-footer-btn.btn-call {
  background: var(--dark-bg);
  color: #ffffff;
}

.drawer-footer-btn.btn-call:hover {
  background: #1e293b;
}

.drawer-footer-btn.btn-wa {
  background: #25D366;
  color: #ffffff;
}

.drawer-footer-btn.btn-wa:hover {
  background: #1ebe57;
}

/* ==========================================================================
   Floating WhatsApp & Bottom Nav Bar (Stil Izidoro.ro)
   ========================================================================== */
.floating-whatsapp-bubble {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 58px;
  height: 58px;
  background-color: #25D366;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  z-index: 900;
  transition: var(--transition);
}

.floating-whatsapp-bubble:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.55);
  color: #ffffff;
}

.mobile-bottom-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(11, 15, 25, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.28);
  z-index: 998;
  height: calc(62px + env(safe-area-inset-bottom, 0px));
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

.bottom-bar-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.72rem;
  font-weight: 600;
  transition: var(--transition);
  position: relative;
  -webkit-tap-highlight-color: transparent;
  padding: 6px 2px;
}

.bottom-bar-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, color 0.2s ease;
}

.bottom-bar-label {
  line-height: 1;
  letter-spacing: 0.01em;
}

.bottom-bar-item:hover,
.bottom-bar-item.active {
  color: #ffffff;
}

.bottom-bar-item.active .bottom-bar-icon {
  transform: translateY(-2px);
  color: var(--primary);
}

.bottom-bar-item.active .bottom-bar-label {
  color: #ffffff;
  font-weight: 700;
}

.bottom-bar-calc {
  position: relative;
}

.bottom-bar-badge {
  position: absolute;
  top: 4px;
  right: calc(50% - 20px);
  background: var(--primary);
  color: #ffffff;
  font-size: 0.58rem;
  font-weight: 800;
  padding: 1px 4px;
  border-radius: var(--radius-full);
  line-height: 1;
  letter-spacing: 0.04em;
}

.bottom-bar-wa {
  color: #4ade80;
}

.bottom-bar-wa:hover,
.bottom-bar-wa.active {
  color: #25D366;
}

/* Mobile Toast Notification */
.mobile-toast {
  position: fixed;
  bottom: calc(76px + env(safe-area-inset-bottom, 0px));
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--dark-bg);
  color: #ffffff;
  padding: 10px 18px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 99999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.mobile-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.toast-icon {
  background: #22c55e;
  color: #ffffff;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 800;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  padding: 60px 0 40px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff 0%, #fafbfc 100%);
}

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

.hero-content {
  max-width: 620px;
}

.hero-badge-row {
  margin-bottom: 24px;
}

.hero-title {
  font-size: 3.4rem;
  line-height: 1.12;
  font-weight: 800;
  color: var(--text-title);
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.hero-title .highlight-red {
  color: var(--primary);
  display: block;
}

.hero-subtitle {
  font-size: 1.18rem;
  line-height: 1.6;
  color: var(--text-body);
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 32px;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-visual-card {
  position: relative;
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 48px -12px rgba(15, 23, 42, 0.15);
  transition: transform 0.4s ease;
  border: 1px solid var(--border-light);
  background: #ffffff;
}

.hero-visual-card:hover {
  transform: translateY(-6px);
}

.hero-floating-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(15, 23, 42, 0.9);
  color: #ffffff;
  padding: 10px 18px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  font-weight: 600;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-floating-badge .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 10px #22c55e;
}

/* ==========================================================================
   Stats Bar
   ========================================================================== */
.stats-bar {
  padding: 36px 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  background-color: #ffffff;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  gap: 32px;
  text-align: center;
}

.stat-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.stat-item:not(:last-child) {
  border-right: 1px solid var(--border-light);
}

.stat-number {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-title);
  text-align: left;
}

.stat-label small {
  display: block;
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 400;
}

.stat-tagline {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-title);
  letter-spacing: -0.01em;
}

/* ==========================================================================
   Section Header
   ========================================================================== */
.section-header {
  margin-bottom: 48px;
}

.section-header.text-center {
  text-align: center;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.section-header .section-tag {
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: inline-block;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-title);
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.section-title .text-primary {
  color: var(--primary);
}

.section-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-top: 14px;
  line-height: 1.6;
}

/* ==========================================================================
   Services Section
   ========================================================================== */
.services-section {
  padding: 90px 0;
  background-color: var(--surface-subtle);
}

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

.service-card {
  background: var(--surface-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--primary-border);
  box-shadow: var(--shadow-lg);
}

.service-card.ai-highlight {
  border-color: rgba(229, 9, 20, 0.3);
  background: linear-gradient(180deg, #ffffff 0%, #fffcfc 100%);
}

.service-card.ai-highlight::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 30px;
  right: 30px;
  height: 3px;
  background: var(--primary);
  border-radius: 4px;
}

.service-icon-box {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background-color: var(--surface-subtle);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 24px;
  transition: var(--transition);
}

.service-card:hover .service-icon-box {
  background-color: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  transform: scale(1.05);
}

.service-badge {
  position: absolute;
  top: 28px;
  right: 28px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background-color: var(--primary-light);
  color: var(--primary);
  letter-spacing: 0.03em;
}

.service-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-title);
  margin-bottom: 12px;
}

.service-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 24px;
  flex-grow: 1;
}

.service-features {
  margin-bottom: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--border-card);
}

.service-features li {
  font-size: 0.88rem;
  color: var(--text-body);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.service-features li svg {
  color: var(--primary);
  flex-shrink: 0;
}

.service-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  border-top: 1px solid var(--border-card);
}

.service-price {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-title);
}

.service-arrow-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-title);
  background: var(--surface-subtle);
  transition: var(--transition);
}

.service-card:hover .service-arrow-btn {
  background-color: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  transform: translateX(4px);
}

/* Option Banner (from mockups) */
.service-option-banner {
  margin-top: 40px;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 24px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  box-shadow: var(--shadow-sm);
}

.service-option-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.service-option-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--surface-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-title);
  border: 1px solid var(--border-light);
}

.service-option-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-title);
}

.service-option-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Portfolio / Selected Projects
   ========================================================================== */
.portfolio-section {
  padding: 90px 0;
  background-color: #ffffff;
}

.portfolio-header-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 44px;
}

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

.project-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
  background-color: #ffffff;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

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

.project-preview {
  background: #f1f5f9;
  overflow: hidden;
  position: relative;
}

.project-preview img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s ease;
}

.project-card:hover .project-preview img {
  transform: scale(1.02);
}

.project-body {
  padding: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #ffffff;
  border-top: 1px solid var(--border-light);
}

.project-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-title);
  margin-bottom: 4px;
}

.project-category {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.project-arrow-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-title);
  transition: var(--transition);
  background: #ffffff;
}

.project-card:hover .project-arrow-btn {
  background-color: var(--text-title);
  color: #ffffff;
}

/* ==========================================================================
   Interactive AI Project Estimator / Calculator
   ========================================================================== */
.calculator-section {
  padding: 90px 0;
  background: linear-gradient(180deg, var(--surface-subtle) 0%, #ffffff 100%);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.calc-wrapper {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 48px;
  box-shadow: var(--shadow-md);
}

.calc-steps-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
}

.calc-group-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-title);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.calc-group-title .step-num {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--primary);
  color: #ffffff;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}

.calc-options-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-bottom: 32px;
}

.calc-option-btn {
  background: var(--surface-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 16px;
  text-align: left;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.calc-option-btn:hover {
  border-color: var(--primary);
}

.calc-option-btn.active {
  background: var(--primary-light);
  border-color: var(--primary);
  box-shadow: 0 0 0 1px var(--primary);
}

.calc-option-btn .opt-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-title);
  margin-bottom: 4px;
}

.calc-option-btn .opt-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.calc-checkboxes {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-bottom: 24px;
}

.calc-check-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  background: var(--surface-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition);
}

.calc-check-item:hover {
  border-color: var(--text-title);
}

.calc-check-item input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--primary);
  cursor: pointer;
}

.calc-summary-card {
  background: var(--dark-bg);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: sticky;
  top: 100px;
}

.calc-summary-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  background: rgba(229, 9, 20, 0.25);
  color: #ff4d4d;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.calc-estimate-label {
  font-size: 0.9rem;
  color: #94a3b8;
  margin-bottom: 8px;
}

.calc-estimate-price {
  font-size: 2.8rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.calc-estimate-price span {
  font-size: 1rem;
  font-weight: 500;
  color: #94a3b8;
}

.calc-delivery-time {
  font-size: 0.95rem;
  color: #cbd5e1;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.calc-included-list {
  margin-bottom: 30px;
}

.calc-included-list li {
  font-size: 0.88rem;
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.calc-included-list li svg {
  color: #22c55e;
  flex-shrink: 0;
}

/* ==========================================================================
   Pricing & Packages
   ========================================================================== */
.pricing-section {
  padding: 90px 0;
  background-color: #ffffff;
}

.pricing-tabs-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 48px;
}

.pricing-tabs {
  display: inline-flex;
  padding: 6px;
  background-color: var(--surface-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  gap: 6px;
}

.tab-btn {
  padding: 10px 24px;
  border-radius: var(--radius-full);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-muted);
  background: none;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.tab-btn.active {
  background-color: #ffffff;
  color: var(--text-title);
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.pricing-tab-pane {
  display: none;
}

.pricing-tab-pane.active {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.pricing-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 38px 30px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition);
}

.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-border);
}

.pricing-card.featured {
  border-color: var(--primary);
  box-shadow: 0 8px 32px var(--primary-glow);
}

.pricing-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--primary);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: var(--radius-full);
}

.pricing-name {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--text-title);
  margin-bottom: 6px;
}

.pricing-tagline {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 22px;
  min-height: 42px;
}

.pricing-price-box {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-card);
}

.pricing-amount {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--text-title);
  letter-spacing: -0.02em;
  line-height: 1;
}

.pricing-period {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 500;
}

.pricing-features-list {
  margin-bottom: 32px;
  flex-grow: 1;
}

.pricing-features-list li {
  font-size: 0.9rem;
  color: var(--text-body);
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
  line-height: 1.5;
}

.pricing-features-list li svg {
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 3px;
}

/* ==========================================================================
   Red Ribbon CTA Banner (Exact from Mockups)
   ========================================================================== */
.cta-banner-section {
  background: var(--primary);
  color: #ffffff;
  padding: 64px 0;
  position: relative;
  overflow: hidden;
}

.cta-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.cta-banner-title {
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.cta-banner-desc {
  font-size: 1.15rem;
  opacity: 0.95;
  max-width: 650px;
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */
.faq-section {
  padding: 90px 0;
  background-color: var(--surface-subtle);
}

.faq-list {
  max-width: 840px;
  margin: 0 auto;
}

.faq-item {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  margin-bottom: 16px;
  overflow: hidden;
  transition: var(--transition);
}

.faq-item.active {
  border-color: var(--primary-border);
  box-shadow: var(--shadow-sm);
}

.faq-question {
  width: 100%;
  padding: 22px 28px;
  text-align: left;
  background: none;
  border: none;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-title);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
}

.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--surface-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  background: var(--primary-light);
  color: var(--primary);
}

.faq-answer {
  padding: 0 28px 24px 28px;
  font-size: 0.96rem;
  color: var(--text-body);
  line-height: 1.7;
  display: none;
}

.faq-item.active .faq-answer {
  display: block;
}

/* ==========================================================================
   Contact Section & Fast Form
   ========================================================================== */
.contact-section {
  padding: 90px 0;
  background-color: #ffffff;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
}

.contact-info-card {
  background: var(--surface-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 44px;
}

.contact-channel {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 28px;
}

.contact-channel-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: #ffffff;
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
}

.contact-channel-title {
  font-size: 0.85rem;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.contact-channel-val {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-title);
}

.contact-form-wrapper {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 44px;
  box-shadow: var(--shadow-md);
}

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

.form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-title);
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  padding: 13px 18px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  font-size: 0.95rem;
  color: var(--text-title);
  background-color: var(--surface-subtle);
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  background-color: #ffffff;
  box-shadow: 0 0 0 4px var(--primary-glow);
}

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

/* ==========================================================================
   Site Footer
   ========================================================================== */
.site-footer {
  background-color: var(--dark-bg);
  color: #94a3b8;
  padding: 70px 0 30px;
  border-top: 1px solid #1e293b;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand p {
  margin-top: 18px;
  font-size: 0.92rem;
  line-height: 1.6;
  max-width: 320px;
  color: #94a3b8;
}

.footer-col-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 20px;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  font-size: 0.92rem;
  color: #94a3b8;
}

.footer-links a:hover {
  color: #ffffff;
  padding-left: 4px;
}

.footer-bottom {
  padding-top: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.88rem;
  color: #64748b;
}

/* ==========================================================================
   Responsive Breakpoints & Mobile Optimization (Stil Izidoro.ro)
   ========================================================================== */
body.drawer-open {
  overflow: hidden !important;
  touch-action: none;
}

@media (max-width: 1024px) {
  .hero-title { font-size: 2.8rem; }
  .services-grid, .pricing-tab-pane.active { grid-template-columns: repeat(2, 1fr); }
  .calc-steps-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 991px) {
  body {
    padding-bottom: calc(62px + env(safe-area-inset-bottom, 0px));
  }

  .site-header .header-inner {
    height: 68px;
  }

  .brand-logo img, .brand-logo svg {
    height: 38px;
  }

  .main-nav {
    display: none !important;
  }

  .nav-desktop-cta {
    display: none !important;
  }

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

  .mobile-bottom-bar {
    display: flex;
  }

  .floating-whatsapp-bubble {
    display: none !important;
  }
}

@media (max-width: 768px) {
  /* Prevent iOS Safari auto-zoom on input focus */
  input, select, textarea {
    font-size: 16px !important;
  }

  .container {
    padding: 0 18px;
  }

  .hero-section {
    padding: 36px 0 28px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 32px;
  }

  .hero-content {
    margin: 0 auto;
  }

  .hero-title {
    font-size: clamp(2rem, 7.5vw, 2.5rem);
    line-height: 1.2;
  }

  .hero-subtitle {
    font-size: 1rem;
    margin-bottom: 24px;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }

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

  /* Stats: 2x2 grid for mobile */
  .stats-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 14px;
    padding: 20px 16px;
  }

  .stat-item {
    padding: 8px 10px;
  }

  .stat-item:not(:last-child) {
    border-right: none;
    border-bottom: none;
    padding-bottom: 8px;
  }

  .stat-number {
    font-size: 1.85rem;
  }

  .stat-label {
    font-size: 0.82rem;
  }

  /* Pricing tabs horizontal swipe */
  .pricing-tabs-nav {
    display: flex;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 8px;
    padding-bottom: 8px;
    justify-content: flex-start;
    scrollbar-width: none;
  }

  .pricing-tabs-nav::-webkit-scrollbar {
    display: none;
  }

  .pricing-tabs-nav .tab-btn {
    white-space: nowrap;
    flex-shrink: 0;
  }

  .services-grid, .portfolio-grid, .pricing-tab-pane.active {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

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

  .calc-wrapper {
    padding: 20px 16px;
  }

  .calc-type-btn {
    padding: 14px;
  }

  .cta-banner-inner {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  .cta-banner-inner .btn {
    width: 100%;
    justify-content: center;
  }

  .service-option-banner {
    flex-direction: column;
    text-align: center;
  }

  .service-option-left {
    flex-direction: column;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 14px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.95rem;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 10px;
  }

  .stat-number {
    font-size: 1.65rem;
  }

  .btn {
    padding: 12px 18px;
  }
}

/* ==========================================================================
   Multi-page foundation (Phase 1): layout helpers, sub-page hero, legal pages,
   cookie banner, small utility classes replacing former inline styles.
   ========================================================================== */
.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  background: var(--text-title);
  color: #fff;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  z-index: 100000;
}
.skip-link:focus { top: 12px; }

:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 2px;
}

.btn-block { width: 100%; padding: 15px; }
.btn-lg { font-size: 1.05rem; padding: 15px 32px; }
.btn-dashed { border-style: dashed; }
.btn-link-lg { font-size: 1.05rem; }
.section-badge { margin-bottom: 12px; }
.project-result { font-size: 0.84rem; color: #16a34a; font-weight: 700; margin-top: 6px; }
.project-desc { font-size: 0.92rem; color: var(--text-muted); line-height: 1.55; margin-top: 8px; }
.project-live { display: inline-flex; align-items: center; gap: 4px; margin-top: 10px; font-size: 0.86rem; font-weight: 700; color: var(--primary); text-decoration: none; }
.project-live:hover { text-decoration: underline; }
.pricing-note { text-align: center; margin-top: var(--space-6); color: var(--text-muted); }
.pricing-note a { color: var(--primary); font-weight: 600; text-decoration: underline; }

/* Sub-page header */
.page-hero {
  background: var(--surface-subtle);
  border-bottom: 1px solid var(--border-light);
  padding: var(--space-7) 0 var(--space-6);
}
.page-hero-title {
  font-size: var(--fs-h1);
  font-weight: 800;
  line-height: 1.15;
  color: var(--text-title);
  letter-spacing: -0.02em;
  margin-bottom: var(--space-3);
}
.page-hero-lead {
  font-size: var(--fs-lg);
  color: var(--text-muted);
  max-width: 720px;
}
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  font-size: var(--fs-sm);
  color: var(--text-muted);
  margin-bottom: var(--space-4);
}
.breadcrumbs a:hover { color: var(--primary); }
.notfound { text-align: left; }
.notfound .hero-actions { margin-top: var(--space-5); }

/* Footer (replaces inline styles) */
.footer-social { margin-top: 16px; display: flex; gap: 12px; }
.footer-social a { color: #cbd5e1; }
.footer-social a:hover { color: #fff; }
.footer-contact-link { display: flex; align-items: center; gap: 8px; }
.footer-address { color: #64748b; font-size: 0.88rem; margin-top: 10px; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; }
.footer-legal a, .footer-cookie-btn {
  color: #64748b;
  font-size: 0.85rem;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  font-family: inherit;
}
.footer-legal a:hover, .footer-cookie-btn:hover { color: #fff; }

/* Calculator / contact (replaces inline styles) */
.calc-feat-name { font-weight: 700; color: var(--text-title); }
.calc-feat-desc { font-size: 0.82rem; color: var(--text-muted); }
.calc-feat-side { display: flex; align-items: center; gap: 12px; }
.calc-feat-price { font-weight: 700; color: var(--primary); }
.calc-feat-free { color: #16a34a; }
.calc-disclaimer { font-size: 0.8rem; color: var(--text-light); text-align: center; margin-top: 12px; }
.contact-title { font-size: 2.1rem; margin-bottom: 24px; }
.contact-intro { color: var(--text-muted); font-size: 1.02rem; margin-bottom: 36px; }
.contact-channel-plain { font-size: 0.98rem; font-weight: 600; }
.contact-form-title { font-size: 1.5rem; font-weight: 800; color: var(--text-title); margin-bottom: 8px; }
.contact-form-sub { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 24px; }
.form-privacy { font-size: 0.8rem; color: var(--text-light); text-align: center; margin-top: 14px; }
.form-privacy a { text-decoration: underline; }

.alert { padding: 14px 18px; border-radius: 12px; margin-bottom: 20px; font-size: 0.95rem; }
.alert-success { background: #f0fdf4; color: #166534; border: 1px solid #bbf7d0; }
.alert-danger { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }

/* Legal pages */
.legal-section { padding: var(--space-7) 0 var(--space-8); }
.legal-content { max-width: 860px; }
.legal-content h2 { font-size: var(--fs-h3); font-weight: 800; color: var(--text-title); margin: var(--space-6) 0 var(--space-3); }
.legal-content p, .legal-content li { margin-bottom: var(--space-3); }
.legal-content ul { list-style: disc; padding-left: 22px; margin-bottom: var(--space-4); }
.legal-content a, .link-button { color: var(--primary); text-decoration: underline; }
.link-button { background: none; border: 0; padding: 0; font: inherit; cursor: pointer; }
.legal-table { width: 100%; border-collapse: collapse; margin: var(--space-4) 0; font-size: var(--fs-sm); }
.legal-table th, .legal-table td { border: 1px solid var(--border-light); padding: 10px 12px; text-align: left; vertical-align: top; }
.legal-table th { background: var(--surface-subtle); }
.legal-updated { color: var(--text-light); font-size: var(--fs-sm); margin-top: var(--space-6); }
.legal-content code { background: var(--surface-subtle); padding: 2px 6px; border-radius: 4px; }

/* Cookie banner */
.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  max-width: 760px;
  margin: 0 auto;
  background: var(--dark-bg);
  color: #e2e8f0;
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: var(--space-4) var(--space-5);
  display: flex;
  align-items: center;
  gap: var(--space-4);
  z-index: 1100;
  font-size: var(--fs-sm);
}
.cookie-banner[hidden] { display: none; }
.cookie-banner a { color: #fff; text-decoration: underline; }
.cookie-actions { display: flex; gap: var(--space-2); flex-shrink: 0; }
.cookie-actions .btn { padding: 10px 18px; font-size: var(--fs-sm); }
.cookie-actions .btn-secondary { color: #fff; border-color: #475569; }
.cookie-actions .btn-secondary:hover { background: #1e293b; border-color: #fff; }

@media (max-width: 991px) {
  /* keep the banner above the mobile bottom bar */
  .cookie-banner { bottom: 88px; }
}
@media (max-width: 640px) {
  .cookie-banner { flex-direction: column; align-items: stretch; }
  .cookie-actions { justify-content: stretch; }
  .cookie-actions .btn { flex: 1; }
  .page-hero { padding: var(--space-6) 0 var(--space-5); }
  .legal-table { display: block; overflow-x: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* ==========================================================================
   Phase 2: service detail page + testimonials
   ========================================================================== */
.service-detail { padding: var(--space-7) 0 var(--space-8); }
.service-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: var(--space-7);
  align-items: start;
}
.service-detail-main p { margin-bottom: var(--space-4); font-size: var(--fs-lg); line-height: 1.7; }
.service-detail-main .service-detail-lead { font-weight: 600; color: var(--text-title); }
.service-detail-h2 { font-size: var(--fs-h3); font-weight: 800; color: var(--text-title); margin: var(--space-6) 0 var(--space-3); }
.service-features-lg li { font-size: var(--fs-base); margin-bottom: var(--space-3); }
.service-aside { position: sticky; top: 100px; }
.service-aside-card {
  background: var(--surface-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: var(--space-5);
}
.service-badge-static { position: static; display: inline-block; margin-bottom: var(--space-3); }
.service-aside-label { font-size: var(--fs-sm); color: var(--text-muted); }
.service-aside-price { font-size: 1.6rem; font-weight: 800; color: var(--text-title); margin-bottom: var(--space-4); }
.service-aside-secondary { margin-top: var(--space-2); }

.testimonials-section { padding: var(--space-8) 0; background: var(--surface-subtle); }
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: var(--space-5); margin-top: var(--space-6); }
.testimonial-card {
  background: var(--surface-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--space-4);
}
.testimonial-card blockquote { font-size: var(--fs-base); color: var(--text-body); line-height: 1.7; }
.testimonial-card figcaption strong { display: block; color: var(--text-title); }
.testimonial-card figcaption span { font-size: var(--fs-sm); color: var(--text-muted); }

@media (max-width: 991px) {
  .service-detail-grid { grid-template-columns: 1fr; }
  .service-aside { position: static; }
}

/* ==========================================================================
   AiDEV Start (/site-39-lei)
   ========================================================================== */
.start-hero { padding: var(--space-8) 0 var(--space-7); background: var(--surface-subtle); border-bottom: 1px solid var(--border-light); }
.start-hero-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: var(--space-7); align-items: center; }
.start-title { margin-top: var(--space-3); }
.start-hero .hero-actions { margin-top: var(--space-5); }
.start-price-card {
  background: var(--surface-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: var(--space-6);
}
.start-price-label { font-size: var(--fs-sm); color: var(--text-muted); }
.start-price-amount { font-size: 3rem; font-weight: 800; color: var(--text-title); line-height: 1.1; }
.start-price-amount span { font-size: var(--fs-base); font-weight: 600; color: var(--text-muted); }
.start-price-vat { font-size: var(--fs-sm); color: var(--text-muted); margin-bottom: var(--space-4); }

.start-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-5); }
.start-box { background: var(--surface-card); border: 1px solid var(--border-light); border-radius: var(--radius-lg); padding: var(--space-5); }
.start-box-muted { background: var(--surface-subtle); }
.start-box-title { font-size: var(--fs-h3); font-weight: 800; color: var(--text-title); margin-bottom: var(--space-4); }
.start-not li::before { content: "\2715"; color: var(--text-light); margin-right: 8px; }
.start-not li { display: flex; align-items: center; color: var(--text-muted); margin-bottom: var(--space-3); }
.start-box-note { margin-top: var(--space-4); font-size: var(--fs-sm); color: var(--text-muted); }
.start-box-note a { color: var(--primary); text-decoration: underline; }

.start-steps-section { padding: var(--space-8) 0; background: var(--surface-subtle); }
.start-steps { list-style: none; counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-5); margin-top: var(--space-6); }
.start-steps li { counter-increment: step; background: var(--surface-card); border: 1px solid var(--border-light); border-radius: var(--radius-lg); padding: var(--space-5); display: flex; flex-direction: column; gap: var(--space-2); }
.start-steps li::before {
  content: counter(step);
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--primary); color: #fff; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.start-steps strong { color: var(--text-title); }
.start-steps span { color: var(--text-muted); font-size: var(--fs-sm); }

.start-sectors { list-style: none; display: flex; flex-wrap: wrap; gap: var(--space-3); justify-content: center; margin-top: var(--space-5); }
.start-sectors li { border: 1px solid var(--border-light); background: var(--surface-card); border-radius: var(--radius-full); padding: 10px 18px; font-weight: 600; color: var(--text-title); }

.start-conditions { padding: var(--space-7) 0; background: var(--surface-subtle); }
.start-order-wrap { max-width: 820px; }
.start-terms { display: flex; gap: var(--space-3); align-items: flex-start; margin: var(--space-4) 0; font-size: var(--fs-sm); }
.start-terms input { margin-top: 4px; flex-shrink: 0; }
.start-terms a { color: var(--primary); text-decoration: underline; }

.start-promo { background: var(--primary-light); border-top: 1px solid var(--primary-border); border-bottom: 1px solid var(--primary-border); padding: var(--space-6) 0; }
.start-promo-inner { display: flex; align-items: center; justify-content: space-between; gap: var(--space-5); }
.start-promo-title { font-size: var(--fs-h2); font-weight: 800; color: var(--text-title); margin: var(--space-2) 0; letter-spacing: -0.02em; }
.start-promo p { color: var(--text-body); }

@media (max-width: 991px) {
  .start-hero-grid, .start-grid-2 { grid-template-columns: 1fr; }
  .start-steps { grid-template-columns: 1fr 1fr; }
  .start-promo-inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 560px) {
  .start-steps { grid-template-columns: 1fr; }
  .start-price-amount { font-size: 2.4rem; }
}

/* AiDEV Start: annual plan + template demos */
.start-annual { margin: var(--space-3) 0 var(--space-4); padding: var(--space-3) var(--space-4); background: var(--primary-light); border: 1px solid var(--primary-border); border-radius: var(--radius-md); font-size: var(--fs-sm); color: var(--text-title); }
.start-demos { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-4); margin-top: var(--space-5); }
.start-demo-card { display: flex; flex-direction: column; gap: 6px; background: var(--surface-card); border: 1px solid var(--border-light); border-radius: var(--radius-lg); padding: var(--space-5); box-shadow: var(--shadow-sm); }
.start-demo-card:hover { border-color: var(--primary); transform: translateY(-2px); }
.start-demo-card strong { color: var(--text-title); }
.start-demo-card span { color: var(--primary); font-weight: 600; font-size: var(--fs-sm); }
.start-demos-note { text-align: center; font-size: var(--fs-sm); color: var(--text-muted); margin: var(--space-3) 0 var(--space-5); }
@media (max-width: 760px) { .start-demos { grid-template-columns: 1fr; } }

/* ==========================================================================
   AI-first home: hero conversation, industries, process, trust, integrations
   ========================================================================== */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.hero-ai { background: radial-gradient(900px 420px at 85% 0%, rgba(229, 9, 20, 0.07), transparent 60%), linear-gradient(180deg, #ffffff 0%, #fafbfc 100%); }
.hero-trust { display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: var(--fs-sm); color: var(--text-muted); }
.hero-trust li { display: flex; align-items: center; gap: 7px; }
.hero-trust svg { color: #16a34a; flex-shrink: 0; }
.hero-actions button.btn { font-family: inherit; }

.hero-chat {
  width: 100%;
  max-width: 460px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 56px -16px rgba(15, 23, 42, 0.22);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.hero-chat-head, .ai-chat-head, .chat-mock-head {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px;
  background: var(--dark-bg); color: #fff;
}
.hero-chat-avatar, .ai-chat-avatar, .chat-mock-avatar {
  width: 38px; height: 38px; border-radius: 50%; flex-shrink: 0;
  background: var(--primary); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
}
.hero-chat-title, .ai-chat-title, .chat-mock-head > div { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.hero-chat-title strong, .ai-chat-title strong, .chat-mock-head strong { font-size: 0.95rem; }
.hero-chat-title span, .ai-chat-title span, .chat-mock-head span { font-size: 0.75rem; color: #94a3b8; display: flex; align-items: center; gap: 6px; }
.hero-chat-title .dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 8px #22c55e; display: inline-block; }
.hero-chat-tag { font-size: 0.68rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.15); padding: 4px 8px; border-radius: var(--radius-full); }
.hero-chat-body, .chat-mock-body {
  padding: 18px 16px 8px;
  display: flex; flex-direction: column; gap: 10px;
  background: var(--surface-subtle);
  min-height: 290px;
}
.hero-chat-msg, .chat-mock-msg, .ai-chat-msg {
  max-width: 86%;
  padding: 10px 14px;
  border-radius: 16px;
  font-size: 0.92rem;
  line-height: 1.5;
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.from-user { align-self: flex-end; background: var(--text-title); color: #fff; border-bottom-right-radius: 4px; }
.from-bot { align-self: flex-start; background: #fff; color: var(--text-body); border: 1px solid var(--border-light); border-bottom-left-radius: 4px; }
.hero-chat-msg.is-pending { display: none; }
.hero-chat-typing, .ai-chat-typing {
  display: none; align-self: flex-start; gap: 4px; padding: 12px 14px;
  background: #fff; border: 1px solid var(--border-light); border-radius: 16px; border-bottom-left-radius: 4px;
}
.hero-chat-typing.is-on, .ai-chat-typing { display: inline-flex; }
.hero-chat-typing span, .ai-chat-typing span { width: 7px; height: 7px; border-radius: 50%; background: #94a3b8; animation: aidev-bounce 1s infinite ease-in-out; }
.hero-chat-typing span:nth-child(2), .ai-chat-typing span:nth-child(2) { animation-delay: 0.15s; }
.hero-chat-typing span:nth-child(3), .ai-chat-typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes aidev-bounce { 0%, 80%, 100% { transform: translateY(0); opacity: 0.5; } 40% { transform: translateY(-4px); opacity: 1; } }
.hero-chat-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 16px; font-size: 0.78rem; color: var(--text-muted);
  border-top: 1px solid var(--border-light); background: #fff;
}
.hero-chat-foot .btn-link { font-size: 0.85rem; white-space: nowrap; cursor: pointer; font-family: inherit; }

/* Industries */
.solutions-section { padding: 90px 0; background: #fff; }
.solutions-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.solution-card {
  display: flex; flex-direction: column; gap: 10px;
  background: var(--surface-card); border: 1px solid var(--border-light); border-radius: var(--radius-lg);
  padding: 28px 26px; box-shadow: var(--shadow-sm); transition: var(--transition);
}
.solution-card:hover { transform: translateY(-6px); border-color: var(--primary-border); box-shadow: var(--shadow-lg); }
.solution-card .service-icon-box { margin-bottom: 8px; }
.solution-card:hover .service-icon-box { background: var(--primary); color: #fff; border-color: var(--primary); }
.solution-card h3 { font-size: 1.2rem; font-weight: 800; color: var(--text-title); }
.solution-card p { font-size: 0.9rem; color: var(--text-muted); flex: 1; }
.solution-card-link { display: inline-flex; align-items: center; gap: 6px; color: var(--primary); font-weight: 700; font-size: 0.9rem; margin-top: 6px; }

/* Industry page */
.solution-pains { padding: 72px 0; background: var(--surface-subtle); border-bottom: 1px solid var(--border-light); }
.solution-pains-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 48px; align-items: start; }
.solution-pains-list { list-style: none; display: flex; flex-direction: column; gap: 16px; }
.solution-pains-list li { display: flex; gap: 18px; align-items: flex-start; background: #fff; border: 1px solid var(--border-light); border-radius: var(--radius-md); padding: 18px 20px; }
.solution-pains-list p { font-size: 1.02rem; color: var(--text-body); }
.solution-pain-num { font-weight: 800; color: var(--primary); font-size: 1.1rem; flex-shrink: 0; line-height: 1.6; }
.solution-agents { padding: 90px 0; background: #fff; }
.solution-agents-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.solution-agent-card { background: var(--surface-card); border: 1px solid var(--border-light); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-sm); }
.solution-agent-card h3 { font-size: 1.15rem; font-weight: 800; color: var(--text-title); margin-bottom: 8px; }
.solution-agent-card p { color: var(--text-muted); font-size: 0.95rem; }
.solution-agent-card .service-icon-box { margin-bottom: 18px; }
.solution-demo { padding: 90px 0; background: var(--surface-subtle); border-top: 1px solid var(--border-light); border-bottom: 1px solid var(--border-light); }
.solution-demo-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 56px; align-items: center; }
.solution-demo .section-desc { margin-bottom: 20px; }
.solution-outcomes { list-style: none; display: flex; flex-direction: column; gap: 10px; margin: 0 0 28px; padding: 20px 22px; background: #fff; border: 1px solid var(--border-light); border-radius: var(--radius-md); }
.solution-outcomes li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.95rem; color: var(--text-body); }
.solution-outcomes li svg { color: var(--primary); flex-shrink: 0; margin-top: 3px; }
.solution-outcomes-title { font-weight: 800; color: var(--text-title); }
.chat-mock { background: #fff; border: 1px solid var(--border-light); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.chat-mock-body { min-height: 0; padding-bottom: 18px; }
.solution-packages { padding: 72px 0; background: #fff; }
.solution-packages-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.solution-packages-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.solution-packages-list a { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border: 1px solid var(--border-light); border-radius: var(--radius-md); font-weight: 600; color: var(--text-title); background: var(--surface-subtle); }
.solution-packages-list a:hover { border-color: var(--primary); color: var(--primary); }
.solution-packages-list svg { color: var(--primary); flex-shrink: 0; }
.solution-others { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: center; margin-top: 40px; font-size: var(--fs-sm); color: var(--text-muted); }
.solution-chip { border: 1px solid var(--border-light); background: #fff; border-radius: var(--radius-full); padding: 8px 14px; font-weight: 600; color: var(--text-title); font-size: 0.85rem; }
.solution-chip:hover { border-color: var(--primary); color: var(--primary); }

/* Process */
.process-section { padding: 90px 0; background: var(--dark-bg); color: #fff; }
.process-section .section-title { color: #fff; }
.process-section .section-desc { color: #94a3b8; }
.process-steps { list-style: none; counter-reset: pstep; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.process-steps li { counter-increment: pstep; position: relative; background: var(--dark-card); border: 1px solid var(--dark-border); border-radius: var(--radius-lg); padding: 28px 24px 26px; display: flex; flex-direction: column; gap: 10px; }
.process-steps li::before { content: "0" counter(pstep); font-size: 0.8rem; font-weight: 800; letter-spacing: 0.08em; color: var(--primary); }
.process-steps strong { font-size: 1.1rem; color: #fff; }
.process-steps span { color: #94a3b8; font-size: 0.92rem; line-height: 1.6; }

/* Trust + integrations */
.trust-section { padding: 90px 0; background: #fff; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.trust-card { background: var(--surface-card); border: 1px solid var(--border-light); border-radius: var(--radius-lg); padding: 28px 24px; }
.trust-card .service-icon-box { margin-bottom: 18px; }
.trust-card h3 { font-size: 1.1rem; font-weight: 800; color: var(--text-title); margin-bottom: 8px; }
.trust-card p { font-size: 0.92rem; color: var(--text-muted); }
.integrations-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: center; margin-top: 40px; }
.integrations-label { width: 100%; text-align: center; font-size: var(--fs-sm); color: var(--text-muted); margin-bottom: 4px; }
.integration-chip { font-size: 0.82rem; font-weight: 600; color: var(--text-title); background: var(--surface-subtle); border: 1px solid var(--border-light); border-radius: var(--radius-full); padding: 7px 13px; }

.cta-banner-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,0.45); font-family: inherit; }
.btn-outline-light:hover { background: rgba(255,255,255,0.1); border-color: #fff; color: #fff; }

/* Pricing cards: billing unit */
.pricing-period { white-space: nowrap; }

/* ==========================================================================
   AI assistant widget
   ========================================================================== */
.ai-chat-launcher {
  position: fixed; right: 28px; bottom: 28px; z-index: 950;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 20px 14px 16px; border-radius: var(--radius-full);
  background: var(--text-title); color: #fff; border: 1px solid rgba(255,255,255,0.08);
  font: inherit; font-weight: 700; font-size: 0.95rem; cursor: pointer;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.35); transition: var(--transition);
}
.ai-chat-launcher:hover { transform: translateY(-3px); background: var(--primary); box-shadow: 0 12px 32px var(--primary-glow); }
.floating-whatsapp-bubble { bottom: 100px; }
body.ai-chat-open .ai-chat-launcher { opacity: 0; pointer-events: none; }

.ai-chat {
  position: fixed; right: 24px; bottom: 24px; z-index: 1200;
  width: 400px; max-width: calc(100vw - 32px); height: 620px; max-height: calc(100vh - 48px);
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--border-light); border-radius: var(--radius-lg);
  box-shadow: 0 30px 70px -20px rgba(15, 23, 42, 0.4); overflow: hidden;
}
.ai-chat[hidden] { display: none; }
.ai-chat-iconbtn { background: rgba(255,255,255,0.08); border: 0; color: #fff; width: 34px; height: 34px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; flex-shrink: 0; }
.ai-chat-iconbtn:hover { background: rgba(255,255,255,0.18); }
.ai-chat-body { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; background: var(--surface-subtle); }
.ai-chat-msg { max-width: 88%; white-space: normal; word-wrap: break-word; }
.ai-chat-msg a { color: var(--primary); text-decoration: underline; }
.ai-chat-msg.is-error { border-color: #fecaca; background: #fef2f2; color: #991b1b; }
.ai-chat-note { font-size: 0.72rem; color: var(--text-light); align-self: flex-start; padding-left: 6px; }
.ai-chat-suggest { display: flex; flex-wrap: wrap; gap: 8px; padding: 10px 14px 0; background: #fff; border-top: 1px solid var(--border-light); }
.ai-chat-suggest[hidden] { display: none; }
.ai-chat-chip { font: inherit; font-size: 0.8rem; font-weight: 600; color: var(--text-title); background: var(--surface-subtle); border: 1px solid var(--border-light); border-radius: var(--radius-full); padding: 7px 12px; cursor: pointer; }
.ai-chat-chip:hover { border-color: var(--primary); color: var(--primary); }
.ai-chat-form { display: flex; align-items: flex-end; gap: 8px; padding: 12px 14px; background: #fff; }
.ai-chat-form textarea {
  flex: 1; resize: none; min-height: 44px; max-height: 120px;
  padding: 11px 14px; border: 1px solid var(--border-light); border-radius: 14px;
  font: inherit; font-size: 0.95rem; line-height: 1.4; color: var(--text-title); background: var(--surface-subtle);
}
.ai-chat-form textarea:focus { outline: none; border-color: var(--primary); background: #fff; }
.ai-chat-form button { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--primary); color: #fff; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; flex-shrink: 0; }
.ai-chat-form button:disabled { opacity: 0.5; cursor: default; }
.ai-chat-foot { font-size: 0.72rem; color: var(--text-light); padding: 0 14px 12px; background: #fff; }
.ai-chat-foot a { text-decoration: underline; }

.mobile-bottom-bar button.bottom-bar-item { background: none; border: 0; font: inherit; font-size: 0.72rem; font-weight: 600; cursor: pointer; }

/* ==========================================================================
   ROI calculator
   ========================================================================== */
.roi-section { padding: 72px 0; background: #fff; }
.roi-wrapper { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: 36px; background: #fff; border: 1px solid var(--border-light); border-radius: var(--radius-xl); padding: 40px; box-shadow: var(--shadow-md); }
.roi-intro { color: var(--text-muted); font-size: 0.95rem; margin: -6px 0 22px; }
.roi-field { margin-bottom: 20px; }
.roi-field label { display: block; font-weight: 700; color: var(--text-title); font-size: 0.92rem; margin-bottom: 8px; }
.roi-field small { display: block; color: var(--text-light); font-size: 0.8rem; margin-top: 6px; }
.roi-field-row { display: grid; grid-template-columns: minmax(0, 1fr) 120px; gap: 16px; align-items: center; }
.roi-field-row output { font-weight: 800; color: var(--primary); text-align: right; white-space: nowrap; }
.roi-field input[type="range"] { width: 100%; accent-color: var(--primary); cursor: pointer; }
.roi-results { background: var(--dark-bg); color: #fff; border-radius: var(--radius-lg); padding: 28px 26px; display: flex; flex-direction: column; gap: 16px; align-self: start; position: sticky; top: 96px; }
.roi-results .calc-estimate-label { color: #94a3b8; }
.roi-big { font-size: 2.6rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; }
.roi-result-list { display: flex; flex-direction: column; gap: 12px; margin: 0; }
.roi-result-list div { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; border-top: 1px solid var(--dark-border); padding-top: 12px; }
.roi-result-list dt { color: #94a3b8; font-size: 0.85rem; }
.roi-result-list dd { font-weight: 800; white-space: nowrap; color: #4ade80; }
.roi-result-list dd.is-negative { color: #f87171; }
.roi-note { font-size: 0.82rem; color: #94a3b8; }
.roi-results .calc-disclaimer { color: #64748b; }

@media (max-width: 1024px) {
  .solutions-grid, .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 991px) {
  .ai-chat-launcher { display: none; }
  .ai-chat { right: 0; left: 0; bottom: 0; width: 100%; max-width: none; height: 100%; max-height: 100%; border-radius: 0; }
  .solution-pains-grid, .solution-demo-grid, .solution-packages-inner, .roi-wrapper { grid-template-columns: 1fr; }
  .roi-results { position: static; }
  .roi-wrapper { padding: 24px 18px; }
}
@media (max-width: 768px) {
  .hero-trust { justify-content: center; }
  .hero-chat-body, .chat-mock-body { min-height: 0; }
  .solutions-grid, .trust-grid, .process-steps, .solution-agents-grid { grid-template-columns: 1fr; }
  .solutions-section, .solution-agents, .solution-demo, .trust-section, .process-section { padding: 60px 0; }
  .roi-field-row { grid-template-columns: minmax(0, 1fr) 100px; }
  .footer-top-5 { grid-template-columns: 1fr; }
}
@media (min-width: 769px) and (max-width: 1100px) {
  .footer-top-5 { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1101px) {
  .footer-top-5 { grid-template-columns: 1.6fr 1.1fr 1fr 1fr 1fr; }
}

/* Header: 7 nav items need a little less air on narrower desktops */
@media (min-width: 992px) and (max-width: 1240px) {
  .main-nav { gap: 20px; }
  .nav-link { font-size: 0.9rem; white-space: nowrap; }
}
/* ...and below 1100px the "Cont client" button shows only its lock icon, so the menu stays on one line */
@media (min-width: 992px) and (max-width: 1099px) {
  .nav-client-btn span { display: none; }
  .nav-client-btn { padding-left: 14px; padding-right: 14px; }
}

/* ==========================================================================
   AiDEV Start portfolio (/site-39-lei#portofoliu)
   ========================================================================== */
.start-portfolio { padding: var(--space-8) 0; background: var(--surface-subtle); border-top: 1px solid var(--border-light); border-bottom: 1px solid var(--border-light); }
.start-portfolio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-5); }
.start-portfolio-card {
  display: flex; flex-direction: column;
  background: var(--surface-card); border: 1px solid var(--border-light); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-sm); transition: var(--transition); color: inherit;
}
.start-portfolio-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--primary-border); }
.start-portfolio-shot { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #e2e8f0; border-bottom: 1px solid var(--border-light); }
.start-portfolio-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; transition: transform 0.6s ease; }
.start-portfolio-card:hover .start-portfolio-shot img { transform: scale(1.03); }
.start-portfolio-body { display: flex; flex-direction: column; gap: 6px; padding: 20px 22px 22px; }
.start-portfolio-sector { font-size: 0.75rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--primary); }
.start-portfolio-body strong { font-size: 1.15rem; color: var(--text-title); }
.start-portfolio-desc { font-size: 0.92rem; color: var(--text-muted); flex: 1; }
.start-portfolio-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; font-weight: 700; font-size: 0.9rem; color: var(--text-title); }
.start-portfolio-card:hover .start-portfolio-link { color: var(--primary); }
@media (max-width: 991px) { .start-portfolio-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .start-portfolio-grid { grid-template-columns: 1fr; } .start-portfolio { padding: 56px 0; } }

/* ==========================================================================
   /agenti-ai product page
   ========================================================================== */
.agent-hero .hero-visual { display: flex; justify-content: center; }
.agent-builder { width: 100%; max-width: 480px; display: flex; flex-direction: column; gap: 14px; }
.agent-builder-controls {
  background: #fff; border: 1px solid var(--border-light); border-radius: var(--radius-md);
  padding: 16px 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; box-shadow: var(--shadow-sm);
}
.agent-builder-title { grid-column: 1 / -1; font-size: 0.78rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-muted); }
.agent-builder-row { display: flex; flex-direction: column; gap: 6px; font-size: 0.82rem; font-weight: 700; color: var(--text-title); }
.agent-builder-row:nth-of-type(2) { grid-column: 1 / -1; }
.agent-builder-row input {
  font: inherit; font-size: 0.95rem; font-weight: 600; color: var(--text-title);
  padding: 9px 12px; border: 1px solid var(--border-light); border-radius: 10px; background: var(--surface-subtle); width: 100%;
}
.agent-builder-row input:focus { outline: none; border-color: var(--primary); background: #fff; }
.agent-colors { display: flex; gap: 8px; flex-wrap: wrap; }
.agent-color { width: 30px; height: 30px; border-radius: 50%; border: 3px solid #fff; background: var(--c); box-shadow: 0 0 0 1px var(--border-light); cursor: pointer; padding: 0; transition: var(--transition); }
.agent-color.is-active { box-shadow: 0 0 0 2px var(--c); transform: scale(1.1); }
.agent-preview {
  background: #fff; border: 1px solid var(--border-light); border-radius: var(--radius-lg);
  box-shadow: 0 24px 56px -16px rgba(15, 23, 42, 0.22); overflow: hidden; display: flex; flex-direction: column;
}
.agent-preview-head { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: var(--agent); color: #fff; transition: background 0.3s ease; }
.agent-preview-head > div { display: flex; flex-direction: column; min-width: 0; }
.agent-preview-head strong { font-size: 0.95rem; }
.agent-preview-head strong small { font-weight: 500; opacity: 0.8; font-size: 0.8rem; }
.agent-preview-head > div > span { font-size: 0.75rem; opacity: 0.85; display: flex; align-items: center; gap: 6px; }
.agent-preview-head .dot { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 8px #4ade80; display: inline-block; }
.agent-preview-avatar { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,0.2); border: 2px solid rgba(255,255,255,0.6); display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1.05rem; flex-shrink: 0; }
.agent-preview-body { padding: 18px 16px; display: flex; flex-direction: column; gap: 10px; background: var(--surface-subtle); }
.agent-preview .from-user { background: var(--agent); transition: background 0.3s ease; }
.agent-preview-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.agent-preview-chips span { font-size: 0.8rem; font-weight: 600; color: var(--agent); border: 1px solid var(--agent); border-radius: var(--radius-full); padding: 6px 12px; background: #fff; }
.agent-preview-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; font-size: 0.78rem; color: var(--text-muted); border-top: 1px solid var(--border-light); background: #fff; }
.agent-preview-foot .btn-link { font-size: 0.85rem; white-space: nowrap; cursor: pointer; font-family: inherit; color: var(--agent); }

.agent-shift { padding: 90px 0; background: #fff; }
.agent-shift-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.agent-shift-col { border-radius: var(--radius-lg); padding: 30px 28px; border: 1px solid var(--border-light); }
.agent-shift-col h3 { display: flex; align-items: center; gap: 10px; font-size: 1.05rem; font-weight: 800; margin-bottom: 18px; }
.agent-shift-col ul { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.agent-shift-col li { font-size: 0.97rem; line-height: 1.6; padding-left: 18px; position: relative; }
.agent-shift-col li::before { content: ""; position: absolute; left: 0; top: 11px; width: 8px; height: 8px; border-radius: 50%; }
.agent-shift-col.is-before { background: var(--surface-subtle); color: var(--text-muted); }
.agent-shift-col.is-before h3 { color: var(--text-title); }
.agent-shift-col.is-before h3 svg { color: var(--text-light); }
.agent-shift-col.is-before li::before { background: #cbd5e1; }
.agent-shift-col.is-after { background: var(--dark-bg); border-color: var(--dark-border); color: #cbd5e1; }
.agent-shift-col.is-after h3 { color: #fff; }
.agent-shift-col.is-after h3 svg { color: #4ade80; }
.agent-shift-col.is-after li::before { background: var(--primary); }

.agent-benefits { padding: 90px 0; background: var(--surface-subtle); border-top: 1px solid var(--border-light); border-bottom: 1px solid var(--border-light); }
.agent-benefits-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.agent-numbers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin: 48px 0 0; background: #fff; border: 1px solid var(--border-light); border-radius: var(--radius-lg); padding: 28px 24px; }
.agent-numbers div { text-align: center; border-left: 1px solid var(--border-light); padding: 4px 12px; }
.agent-numbers div:first-child { border-left: 0; }
.agent-numbers dt { font-size: 2rem; font-weight: 800; letter-spacing: -0.02em; color: var(--primary); line-height: 1.1; }
.agent-numbers dd { font-size: 0.88rem; color: var(--text-muted); margin-top: 6px; }

.agent-compare { padding: 90px 0; background: #fff; }
.agent-table-wrap { overflow-x: auto; border: 1px solid var(--border-light); border-radius: var(--radius-lg); }
.agent-table { width: 100%; border-collapse: collapse; font-size: 0.93rem; min-width: 640px; }
.agent-table th, .agent-table td { padding: 16px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--border-light); }
.agent-table thead th { background: var(--surface-subtle); font-size: 0.8rem; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; color: var(--text-muted); }
.agent-table tbody th { font-weight: 800; color: var(--text-title); width: 18%; }
.agent-table td { color: var(--text-muted); }
.agent-table .is-hl { background: var(--primary-light); color: var(--text-title); font-weight: 600; }
.agent-table thead .is-hl { color: var(--primary); }
.agent-table tbody tr:last-child th, .agent-table tbody tr:last-child td { border-bottom: 0; }

.agent-features { padding: 90px 0; background: var(--surface-subtle); border-top: 1px solid var(--border-light); }
.agent-features-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.agent-feature { display: flex; gap: 16px; align-items: flex-start; background: #fff; border: 1px solid var(--border-light); border-radius: var(--radius-md); padding: 20px 22px; }
.agent-feature-icon { width: 42px; height: 42px; border-radius: 12px; background: var(--primary-light); color: var(--primary); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.agent-feature h3 { font-size: 1.02rem; font-weight: 800; color: var(--text-title); margin-bottom: 4px; }
.agent-feature p { font-size: 0.92rem; color: var(--text-muted); }

.agent-channels { padding: 90px 0; background: #fff; }
.agent-channels-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.agent-channel { background: var(--surface-card); border: 1px solid var(--border-light); border-radius: var(--radius-lg); padding: 26px 24px; }
.agent-channel .service-icon-box { margin-bottom: 16px; }
.agent-channel h3 { font-size: 1.05rem; font-weight: 800; color: var(--text-title); margin-bottom: 6px; }
.agent-channel p { font-size: 0.9rem; color: var(--text-muted); }

.agent-process { padding: 90px 0; background: var(--dark-bg); color: #fff; }
.agent-process .section-title { color: #fff; }
.agent-process .section-desc { color: #94a3b8; }
.agent-timeline { list-style: none; position: relative; display: flex; flex-direction: column; gap: 0; max-width: 820px; }
.agent-timeline li { display: grid; grid-template-columns: 48px 1fr; gap: 20px; padding-bottom: 32px; position: relative; }
.agent-timeline li::before { content: ""; position: absolute; left: 23px; top: 48px; bottom: 0; width: 2px; background: var(--dark-border); }
.agent-timeline li:last-child::before { display: none; }
.agent-timeline li:last-child { padding-bottom: 0; }
.agent-timeline-num { width: 48px; height: 48px; border-radius: 50%; background: var(--primary); color: #fff; font-weight: 800; font-size: 1.05rem; display: inline-flex; align-items: center; justify-content: center; position: relative; z-index: 1; }
.agent-timeline h3 { font-size: 1.15rem; color: #fff; margin: 10px 0 6px; }
.agent-timeline p { color: #94a3b8; font-size: 0.95rem; line-height: 1.65; }

.agent-industries { padding: 90px 0; background: #fff; }
.agent-industries-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.agent-industry { display: flex; flex-direction: column; gap: 10px; background: var(--surface-subtle); border: 1px solid var(--border-light); border-radius: var(--radius-lg); padding: 22px; transition: var(--transition); color: inherit; }
.agent-industry:hover { transform: translateY(-4px); border-color: var(--primary-border); box-shadow: var(--shadow-lg); background: #fff; }
.agent-industry-head { display: flex; align-items: center; gap: 10px; color: var(--text-title); margin-bottom: 4px; }
.agent-industry-head svg { color: var(--primary); }
.agent-industry-head strong { font-size: 1.05rem; }
.agent-industry .chat-mock-msg { font-size: 0.85rem; max-width: 92%; }
.agent-industry .solution-card-link { margin-top: auto; padding-top: 6px; }

.agent-security { padding: 90px 0; background: var(--surface-subtle); border-top: 1px solid var(--border-light); border-bottom: 1px solid var(--border-light); }
.agent-pricing { padding-top: 90px; }
.agent-pricing .section-header { margin-bottom: 40px; }

@media (max-width: 1024px) {
  .agent-benefits-grid, .agent-industries-grid { grid-template-columns: repeat(2, 1fr); }
  .agent-channels-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .agent-shift-grid, .agent-benefits-grid, .agent-features-grid, .agent-channels-grid, .agent-industries-grid { grid-template-columns: 1fr; }
  .agent-numbers { grid-template-columns: 1fr 1fr; gap: 16px 0; }
  .agent-numbers div:nth-child(3) { border-left: 0; }
  .agent-shift, .agent-benefits, .agent-compare, .agent-features, .agent-channels, .agent-process, .agent-industries, .agent-security { padding: 60px 0; }
  .agent-builder-controls { grid-template-columns: 1fr; }
  .agent-timeline li { grid-template-columns: 40px 1fr; gap: 14px; }
  .agent-timeline-num { width: 40px; height: 40px; }
  .agent-timeline li::before { left: 19px; top: 40px; }
}
