/* Loader pentru autentificare */
/* Loader pentru autentificare */
.auth-loader {
  display: none;
  text-align: center;
  margin: 1em 0;
}
.auth-loader .loader {
  display: inline-block;
  width: 32px;
  height: 32px;
  border: 4px solid #eee;
  border-top: 4px solid #0b0f19;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.auth-msg {
  display: none;
  margin: 1em 0;
  font-weight: bold;
  text-align: center;
}
/* NETseo.gr — Core Styles */
:root {
  --bg: #0b0f19;
  --card: #101629;
  --muted: #8691b3;
  /* Lighter body text for dark mode (better contrast) */
  --text: #cfd6e5;
  --brand: #7c5cff;
  --accent: #21d4fd;
  --ring: 0 0 0 3px rgba(124, 92, 255, 0.35);
  --radius: 18px;
  --heading: #d3d9ee;
}
/* Light mode design tokens (surface + text) */
body.light-mode {
  --bg: #f5f7fb;
  --card: #ffffff;
  --muted: #5a6478;
  /* Dark (near black) text in light mode */
  --text: #0f172a;
  --heading: #0f172a;
  --brand: #6a3dff;
  --accent: #0ea5e9;
  /* New page gradient variable for easy future tweaks */
  --page-gradient: linear-gradient(135deg,#ffffff 0%,#f3f7fd 38%,#e9f2fb 62%,#e5eef9 85%);
  color: var(--text);
  /* Enhanced light mode background using soft multi‑stop gradient & subtle accent glows */
  background:
    radial-gradient(900px 620px at 85% -10%, rgba(106,61,255,0.16), transparent 65%),
    radial-gradient(700px 520px at 12% 4%, rgba(14,165,233,0.14), transparent 60%),
    var(--page-gradient);
}
/* Preserve dark hero/header/footer in light mode */
body.light-mode header,
body.light-mode .hero,
body.light-mode footer {
  background: #0b0f19 !important;
  color: #d3d9ee;
}
body.light-mode .hero h1 { color:#fff; }
body.light-mode .hero p { color:#8691b3; }
/* Section typography in light mode */
body.light-mode h1,
body.light-mode h2,
body.light-mode h3,
body.light-mode h4,
body.light-mode h5,
body.light-mode h6 { color: var(--heading); }
/* Cards & plans */
body.light-mode .card,
body.light-mode .plan,
body.light-mode .stack,
body.light-mode .mock,
body.light-mode .faq-item {
  background: linear-gradient(180deg,#ffffff,#f3f6fa);
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 14px -4px rgba(15,23,42,0.12);
}
body.light-mode .card::after { background: linear-gradient(120deg,rgba(106,61,255,0.35),rgba(14,165,233,0.25)); }
body.light-mode .plan.featured { border:1px solid rgba(106,61,255,0.55); box-shadow:0 8px 30px -6px rgba(106,61,255,0.35); }
/* Icons */
body.light-mode .icon { background: linear-gradient(135deg,rgba(106,61,255,0.12),rgba(14,165,233,0.1)); border:1px solid #dbe3ef; color:#4b5563; }
/* Buttons keep gradient */
body.light-mode .btn.secondary { border-color:#cbd5e1; color:#334155; }
body.light-mode .btn.secondary:hover { background:#edf2f7 !important; }
/* Light mode: dark text on primary buttons */
/* Chips */
body.light-mode .chip { border-color:#d0d9e4; background:#ffffffcc; color:#4b5668; }
/* Inputs */
body.light-mode input,
body.light-mode textarea,
body.light-mode select,
body.light-mode #search-input { background:#ffffff; border:1px solid #cbd5e1; color:#334155; }
body.light-mode input:focus,
body.light-mode textarea:focus,
body.light-mode select:focus,
body.light-mode #search-input:focus { border-color:transparent; }
/* Divider */
body.light-mode .divider::before,
body.light-mode section h1::after,
body.light-mode section h2::after,
body.light-mode section h3::after { background: linear-gradient(90deg,rgba(15,23,42,0),rgba(15,23,42,0.25),rgba(15,23,42,0)); }
/* Pricing badge text adjust */
body.light-mode .badge { color:#fff; }
/* Search overlay remains dark for contrast */
body.light-mode #search-overlay .search-dialog { background:#0f1524; border:1px solid rgba(255,255,255,0.12); }
/* Footer text muted override inside preserved dark footer */
body.light-mode footer { color:#8691b3; }
/* Ensure service detail pages inside light mode (non-hero) switch to light surfaces */
body.light-mode .service-detail { background:transparent; }
body.light-mode .service-detail h1,
body.light-mode .service-detail h2,
body.light-mode .service-detail h3 { color:#0f172a; }
body.light-mode .service-detail p,
body.light-mode .service-detail li { color:#445066; }
/* Light mode overrides: Service FAQ readability */
body.light-mode .service-faq h2 { color:#0f172a; }
body.light-mode .faq-item { background:linear-gradient(180deg,#ffffff,#f3f6fa); border:1px solid #e2e8f0; }
body.light-mode .faq-item summary { color:#0f172a; }
body.light-mode .faq-item[open] summary { color: var(--brand); }
body.light-mode .faq-answer { color:#445066; }
* {
  box-sizing: border-box;
}
/* Global table styling (saturated gradient headers) */
table { border-collapse: collapse; }
table th, table td { padding: .6rem .7rem; text-align:left; border-bottom:1px solid rgba(255,255,255,0.08); font-size:.78rem; }
table thead th { font-weight:600; letter-spacing:.4px; font-size:.7rem; text-transform:uppercase; }
/* Dark mode gradient header */
table.gradient-table thead th { background: linear-gradient(90deg, rgba(124,92,255,0.25), rgba(33,212,253,0.20)); color:#fff; position:sticky; top:0; backdrop-filter:blur(6px) saturate(140%); }
table.gradient-table tbody tr { background: linear-gradient(90deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02)); }
table.gradient-table tbody tr:nth-child(even) { background: linear-gradient(90deg, rgba(255,255,255,0.07), rgba(255,255,255,0.025)); }
table.gradient-table tbody tr:hover { background: linear-gradient(90deg, rgba(124,92,255,0.20), rgba(33,212,253,0.18)); }
/* Light mode variant */
body.light-mode table.gradient-table thead th { background: linear-gradient(90deg, rgba(106,61,255,0.35), rgba(14,165,233,0.30)); color:#fff; border-bottom:1px solid rgba(255,255,255,0.6); }
body.light-mode table.gradient-table tbody tr { background: linear-gradient(90deg, rgba(255,255,255,0.85), rgba(255,255,255,0.75)); }
body.light-mode table.gradient-table tbody tr:nth-child(even) { background: linear-gradient(90deg, rgba(255,255,255,0.92), rgba(255,255,255,0.80)); }
body.light-mode table.gradient-table tbody tr:hover { background: linear-gradient(90deg, rgba(106,61,255,0.20), rgba(14,165,233,0.18)); }
/* Subtle elevation */
.table-wrapper { border:1px solid rgba(255,255,255,0.12); border-radius:14px; overflow:auto; background:linear-gradient(180deg,rgba(255,255,255,0.08),rgba(255,255,255,0.03)); box-shadow:0 4px 18px -6px rgba(0,0,0,0.45); }
body.light-mode .table-wrapper { border:1px solid #d7e0ea; background:linear-gradient(180deg,#ffffff,#f3f6fa); box-shadow:0 8px 26px -8px rgba(15,23,42,0.18); }
/* Sort indicators */
table.gradient-table th.sorted-asc, table.sortable th.sorted-asc { position:relative; }
table.gradient-table th.sorted-desc, table.sortable th.sorted-desc { position:relative; }
table.gradient-table th.sorted-asc::after, table.sortable th.sorted-asc::after { content:'▲'; font-size:.55rem; position:absolute; right:.4rem; top:50%; transform:translateY(-50%); opacity:.85; }
table.gradient-table th.sorted-desc::after, table.sortable th.sorted-desc::after { content:'▼'; font-size:.55rem; position:absolute; right:.4rem; top:50%; transform:translateY(-50%); opacity:.85; }
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Ubuntu,
    Cantarell, Noto Sans, Helvetica Neue, Arial;
  color: var(--text);
  /* Refined dark mesh gradient background */
  background:
    /* brand violet glow top-right */ radial-gradient(
      1200px 800px at 85% -10%,
      rgba(124, 92, 255, 0.2),
      transparent 60%
    ),
    /* cyan glow top-left */
      radial-gradient(
        900px 700px at 0% 10%,
        rgba(33, 212, 253, 0.16),
        transparent 55%
      ),
    /* warm accent bottom-right */
      radial-gradient(
        700px 520px at 65% 95%,
        rgba(255, 176, 96, 0.08),
        transparent 60%
      ),
    /* subtle vertical shading */
      linear-gradient(
        180deg,
        rgba(0, 0, 0, 0) 0%,
        rgba(0, 0, 0, 0.08) 70%,
        rgba(0, 0, 0, 0.12) 100%
      ),
    var(--bg);
}
a {
  color: inherit;
  text-decoration: none;
}
.muted {
  color: var(--muted);
}
/* Headings */
h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--heading);
  margin-top: 0;
}
/* Slightly smaller than before, responsive */
h1 {
  font-size: clamp(32px, 5.4vw, 54px);
  line-height: 1.08;
}
h2 {
  font-size: clamp(26px, 3.6vw, 34px);
  line-height: 1.14;
}
h3 {
  font-size: clamp(20px, 2.6vw, 26px);
  line-height: 1.18;
}
h4 {
  font-size: clamp(18px, 2.2vw, 22px);
  line-height: 1.22;
}
h5 {
  font-size: 1rem;
  line-height: 1.3;
}
h6 {
  font-size: 0.95rem;
  line-height: 1.35;
}
/* Title divider between heading and description */
section h1::after,
section h2::after,
section h3::after {
  content: '';
  display: block;
  width: 140px;
  height: 1px;
  margin: 10px auto 8px auto; /* centered by default now */
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0),
    rgba(255, 255, 255, 0.22),
    rgba(255, 255, 255, 0)
  );
  border-radius: 2px;
  opacity: 0.9;
}
/* Center headings for top-level page sections (excluding hero which already centers) */
section > h1:first-child,
section.container > h1,
section.container > header > h1 { text-align:center; }
section > h1:first-child + p.muted,
section.container > h1 + p.muted { text-align:center; margin-left:auto; margin-right:auto; }
/* Adjust service detail heading */
.service-detail > h1 { text-align:center; }
.service-detail > p.lead { text-align:center; max-width:800px; margin-left:auto; margin-right:auto; }
/* Light mode color continuity already handled by variables */
/* Centered divider for hero */
.hero h1::after {
  content: '';
  display: block;
  width: 160px;
  height: 1px;
  margin: 12px auto 10px;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0),
    rgba(255, 255, 255, 0.22),
    rgba(255, 255, 255, 0)
  );
  border-radius: 2px;
  opacity: 0.9;
}
/* spacing utils */
.mb-12 {
  margin-bottom: 12px;
}
.mb-16 {
  margin-bottom: 16px;
}
.mb-22 {
  margin-bottom: 22px;
}
.mt-8 {
  margin-top: 8px;
}
.mt-10 {
  margin-top: 10px;
}
.mt-16 {
  margin-top: 16px;
}
.row {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}
.highlight {
  background: linear-gradient(90deg, var(--accent), var(--brand));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.page-hero-image {
  width: 100%;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
  display: block;
}
.container {
  width: min(1120px, 92vw);
  margin-inline: auto;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: linear-gradient(135deg, #a259ff 0%, #6a11cb 100%);
  color: #fff;
  padding: 0.9rem 1.1rem;
  border-radius: 14px;
  font-weight: 600;
  letter-spacing: 0.2px;
  box-shadow: 0 8px 28px rgba(106, 17, 203, 0.35);
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}
/* Services section button lighter/brighter */
/* Services section: special light button variant only here */
.servicii-section .btn:not(.secondary) {
  background:#CBE0FA !important;
  color:#0f1524 !important;
  border:1px solid #b2cde6 !important;
  box-shadow:0 4px 16px -4px rgba(15,23,42,0.25),0 2px 4px rgba(15,23,42,0.18) !important;
  text-shadow:none !important;
}
.servicii-section .btn:not(.secondary):hover {
  background:#b7d5f7 !important;
  box-shadow:0 0 0 6px rgba(203,224,250,0.35),0 10px 32px -6px rgba(15,23,42,0.35) !important;
}
.servicii-section .btn:not(.secondary):active {transform:translateY(0);filter:brightness(.96);} 
body.light-mode .servicii-section .btn:not(.secondary){box-shadow:0 4px 14px -4px rgba(15,23,42,0.22) !important;}
.btn:focus-visible {
  outline: none;
  box-shadow: var(--ring);
}
.btn.secondary {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: none;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 0 8px rgba(106, 17, 203, 0.22),
    0 18px 48px rgba(106, 17, 203, 0.55);
}
.btn.secondary:hover {
  border-color: rgba(255, 255, 255, 0.24);
  opacity: 0.95;
}
.btn.service-btn {
  position: relative;
}

/* Subtle refinements for the Hero primary button */
.hero .btn:not(.secondary) {
  border: 1px solid rgba(255, 255, 255, 0.18);
}
.hero .btn:not(.secondary):hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(124, 92, 255, 0.5);
}

.nav .menu .btn,
#mobile .btn,
.nav .menu .btn {
  background: linear-gradient(135deg, #a259ff 0%, #6a11cb 100%) !important;
  color: #fff !important;
  box-shadow: 0 8px 28px rgba(106, 17, 203, 0.35) !important;
}
#mobile .btn:hover,
.nav .menu .btn:hover {
  box-shadow: 0 0 0 8px rgba(106, 17, 203, 0.22),
    0 18px 48px rgba(106, 17, 203, 0.55) !important;
}
/* Removed orange background for nav/menu/mobile buttons so all .btn are white with gradient border */
.chip {
  display: inline-flex;
  gap: 0.5rem;
  align-items: center;
  padding: 0.35rem 0.6rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.84rem;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  background: rgba(255, 255, 255, 0.04);
}

/* Header */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 15, 25, 0.6);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
/* Under construction banner */
.site-status-banner {position:relative;width:100%;display:flex;align-items:center;justify-content:center;gap:.9rem;padding:10px 16px;background:#212C3C;border-bottom:1px solid rgba(255,255,255,0.08);box-shadow:0 4px 18px -4px rgba(0,0,0,0.45);font-size:.75rem;line-height:1.2;letter-spacing:.9px;text-transform:uppercase;font-weight:600;color:#e6ecf5;overflow:hidden;animation:bannerSlide .45s ease;}
.site-status-banner::before{display:none;}
.site-status-banner .banner-msg{display:inline-flex;align-items:center;gap:.55rem;letter-spacing:.6px;font-weight:600;color:#ffffff;background:none;-webkit-background-clip:initial;background-clip:initial;}
.site-status-banner .close-banner{position:absolute;right:0;top:0;background:#212C3C;color:#d7dfeb;border-left:1px solid rgba(255,255,255,0.08);width:46px;height:100%;display:grid;place-items:center;cursor:pointer;font-size:.9rem;font-weight:600;letter-spacing:.5px;line-height:1;transition:background .25s, color .25s, box-shadow .25s, filter .25s;}
.site-status-banner .close-banner:hover{background:#273547;color:#fff;} 
.site-status-banner .close-banner:active{filter:brightness(.85);} 
.site-status-banner.closing{animation:bannerHide .35s ease forwards;}
@keyframes bannerSlide{from{transform:translateY(-100%);opacity:0;}to{transform:translateY(0);opacity:1;}}
@keyframes bannerHide{to{transform:translateY(-100%);opacity:0;}}
/* Mega Menu Styles */
.dropdown {
  position: relative;
}
.dropdown-toggle {
  cursor: pointer;
}
.dropdown-menu.mega-menu {
  position: absolute;
  left: 0;
  top: 100%;
  min-width: 480px;
  background: rgba(11, 15, 25, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  padding: 28px 32px 22px 32px;
  display: none;
  z-index: 100;
  gap: 32px;
  display: flex;
  flex-direction: row;
}
.mega-menu-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.mega-menu-col a {
  color: var(--text);
  font-weight: 500;
  padding: 8px 0;
  border-radius: 8px;
  transition: background 0.18s, color 0.18s;
}
.mega-menu-col a:hover {
  background: rgba(124, 92, 255, 0.08);
  color: var(--brand);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.3px;
}
.logo-badge {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: conic-gradient(from 160deg, var(--accent), var(--brand));
  display: grid;
  place-items: center;
  box-shadow: 0 10px 30px rgba(124, 92, 255, 0.35);
}
.logo-badge svg {
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.25));
}
.menu {
  display: flex;
  gap: 1.2rem;
  align-items: center;
}
.menu a {
  color: var(--muted);
  transition: color 0.2s ease, opacity 0.2s ease;
}
.menu a:hover {
  color: #fff;
}
.menu a {
  position: relative;
}
.menu a.menu-link + .menu-divider {
  display: none;
  height: 1px;
  width: 100%;
  background: linear-gradient(90deg, var(--brand), var(--accent));
  border-radius: 2px;
  margin: 0 auto;
  margin-top: 2px;
  transition: opacity 0.2s;
  opacity: 0.5;
  position: absolute;
  left: 0;
  bottom: -4px;
}
.menu a.menu-link:hover + .menu-divider {
  display: block;
}

/* Mobile */
.burger {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: transparent;
  color: var(--text);
}
/* Hard hide safeguard for desktop in case other styles override */
@media (min-width: 921px) {
  .burger {
    display: none !important;
  }
}
/* Hide mobile menu on desktop */
@media (min-width: 921px) {
  #mobile {
    display: none;
  }
}

@media (max-width: 920px) {
  .menu {
    display: none;
  }
  .burger {
    display: inline-grid;
    place-items: center;
  }
  #mobile {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: min(86vw, 360px);
    background: var(--bg);
    padding: 76px 20px 20px; /* top padding ~ header height */
    border-right: 1px solid rgba(255, 255, 255, 0.06);
    color: var(--text);
    opacity: 0;
    transform: translateX(-102%);
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 2000;
    height: 100vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    box-shadow: 8px 0 24px rgba(0, 0, 0, 0.45);
  }
  #mobile.open {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
  }
  #mobile a {
    display: block;
    padding: 14px 10px;
    border-radius: 12px;
    color: var(--text);
    border: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 12px;
    transition: background-color 0.2s ease, border-color 0.2s ease;
  }
  #mobile a:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.14);
  }
  #mobile .container {
    width: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
  }
  #mobile .mobile-social {
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
  }
}

/* Section dividers (full-width gradient lines) */
.section-sep {
  height: 1px;
  width: 100%;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0),
    rgba(255, 255, 255, 0.22),
    rgba(255, 255, 255, 0)
  );
  border: 0;
  opacity: 0.9;
}

/* Hero */
.hero {
  padding: 86px 0 60px;
  text-align: center;
}
.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(34px, 5.8vw, 54px);
  line-height: 1.05;
  margin: 12px 0 12px;
}
.hero p {
  max-width: 780px;
  margin-inline: auto;
  color: var(--muted);
  font-size: 1.06rem;
}
.hero-cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 22px;
  flex-wrap: wrap;
}

/* Trust row */
.trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  align-items: center;
  opacity: 0.85;
  margin-top: 38px;
}
.trust img {
  height: 28px;
  width: 28px; /* fixed dims to reduce CLS */
  filter: grayscale(1) contrast(1.1) opacity(0.8);
}

/* Sections */
section {
  padding: 70px 0;
}
.grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 22px;
}
.divider {
  display: grid;
  place-items: center;
  margin: 0 0 22px;
/* Breadcrumbs inline with separators */
nav.breadcrumbs { margin:0 0 1.2rem; font-size:.7rem; letter-spacing:.5px; }
nav.breadcrumbs ul { list-style:none; padding:0; margin:0; display:flex; flex-wrap:nowrap; align-items:center; gap:0; white-space:nowrap; }
nav.breadcrumbs li { display:inline-flex; align-items:center; color:var(--muted); font-weight:500; text-transform:none; }
nav.breadcrumbs li a { color:var(--muted); text-decoration:none; position:relative; }
nav.breadcrumbs li a:hover { color:#fff; }
nav.breadcrumbs li.current span { color:#fff; font-weight:600; }
nav.breadcrumbs li + li::before { content:'>'; margin:0; padding:0; opacity:.55; color:var(--muted); font-weight:400; }
/* Light mode adjustments */
body.light-mode nav.breadcrumbs li, body.light-mode nav.breadcrumbs li a { color:#5a6478; }
body.light-mode nav.breadcrumbs li a:hover { color:#0f172a; }
body.light-mode nav.breadcrumbs li.current span { color:#0f172a; }
body.light-mode nav.breadcrumbs li + li::before { color:#5a6478; }
/* --- Breadcrumb final inline enforcement (avoid vertical stack) --- */
nav.breadcrumbs ul {display:inline-flex !important; flex-direction:row !important; flex-wrap:nowrap !important; align-items:center !important;}
nav.breadcrumbs li {display:inline-flex !important; padding:0 !important; margin:0 !important;}
nav.breadcrumbs li a, nav.breadcrumbs li span {display:inline-block !important;}
nav.breadcrumbs li + li {margin-left:.15rem !important;}
nav.breadcrumbs li + li::before {content:'>' !important; margin-right:.18rem;}
@media (max-width:480px){ nav.breadcrumbs {font-size:.62rem;} }
  position: relative;
  font-size: 1.4rem;
  letter-spacing: 0.3px;
  color: var(--text);
}
.divider::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0),
    rgba(255, 255, 255, 0.22),
    rgba(255, 255, 255, 0)
  );
}
.divider > span {
  background: var(--bg);
  padding: 0 12px;
  position: relative;
}
.card {
  grid-column: span 4;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.06),
    rgba(255, 255, 255, 0.02)
  );
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 22px;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.25s ease, border-color 0.2s ease;
}
.card::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(
    120deg,
    rgba(124, 92, 255, 0.35),
    rgba(33, 212, 253, 0.25)
  );
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.3);
  border-color: rgba(255, 255, 255, 0.18);
}
.card h3 {
  margin: 8px 0 6px;
}
.card p {
  color: var(--muted);
}
.icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(
    135deg,
    rgba(124, 92, 255, 0.15),
    rgba(33, 212, 253, 0.12)
  );
  border: 1px solid rgba(255, 255, 255, 0.1);
  /* Ensure inline SVG uses a visible stroke color */
  color: #fff;
}
.icon img {
  width: 20px;
  height: 20px;
  display: block;
}
/* Make sure SVGs pick up the parent color for strokes */
.icon svg {
  width: 20px;
  height: 20px;
  color: inherit;
}
/* Homepage icon background (lighter, accent glow) */
#why .icon,
#portofoliu .icon,
#servicii .icon,
#process .icon,
#performance .icon {
  background: linear-gradient(135deg,rgba(124,92,255,0.28),rgba(33,212,253,0.24)) !important;
  border: 1px solid rgba(255,255,255,0.18);
  backdrop-filter: blur(4px) saturate(140%);
}
body.light-mode #why .icon,
body.light-mode #portofoliu .icon,
body.light-mode #servicii .icon,
body.light-mode #process .icon,
body.light-mode #performance .icon {
  background: linear-gradient(135deg,rgba(106,61,255,0.20),rgba(14,165,233,0.18)) !important;
  border: 1px solid #d0d9e4;
  color:#293447;
}
@media (max-width: 980px) {
  .card {
    grid-column: span 6;
  }
}
@media (max-width: 680px) {
  .card {
    grid-column: 1/-1;
  }
}

/* Showcase */
.showcase {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 22px;
  align-items: stretch;
}
.mock {
  background: radial-gradient(
      500px 300px at 10% 0%,
      rgba(33, 212, 253, 0.08),
      transparent 70%
    ),
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.06),
      rgba(255, 255, 255, 0.02)
    );
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 0;
  overflow: hidden;
  position: relative;
  min-height: 320px;
}
.mock img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.mock .glass {
  position: absolute;
  right: 12px;
  bottom: 12px;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  background: rgba(11, 15, 25, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 10px 14px;
  color: var(--muted);
}
.stack {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.06),
    rgba(255, 255, 255, 0.02)
  );
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 20px;
}
.stack ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.stack li {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 10px 12px;
  color: var(--muted);
}
@media (max-width: 980px) {
  .showcase {
    grid-template-columns: 1fr;
  }
}

/* Pricing */
.pricing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.plan {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.06),
    rgba(255, 255, 255, 0.02)
  );
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 22px;
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.25s ease, border-color 0.2s ease;
}
.plan h4 {
  margin: 10px 0 4px;
}
.price {
  font-size: 2rem;
  font-weight: 800;
}
.plan ul {
  margin: 12px 0 0;
  padding: 0 0 0 18px;
  color: var(--muted);
}
.plan:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.3);
  border-color: rgba(255, 255, 255, 0.18);
}
.plan.featured {
  border: 1px solid rgba(124, 92, 255, 0.55);
  box-shadow: 0 10px 40px rgba(124, 92, 255, 0.25);
}
.badge {
  position: absolute;
  top: 14px;
  right: 14px;
  font-size: 0.76rem;
  padding: 0.25rem 0.45rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--brand));
  color: #0b0f19;
  font-weight: 700;
}
@media (max-width: 980px) {
  .pricing {
    grid-template-columns: 1fr;
  }
}

/* Pricing section: use menu-like muted text; keep price bright */
#preturi {
  color: var(--text);
}
#preturi p,
#preturi li,
#preturi .muted,
#preturi .plan,
#preturi .plan ul {
  color: var(--text) !important;
}
#preturi .plan h4 {
  color: var(--heading) !important;
}
#preturi .price {
  color: #fff !important;
}
/* Light mode: use dark heading color for prices instead of white */
body.light-mode #preturi .price {
  color: #0f172a !important;
}

/* Section titles: Services, Portfolio, Pricing to white */
/* Section titles: Services, Portfolio, Pricing to white */
#servicii h2,
#servicii h2 span,
#portofoliu h2,
#portofoliu h2 span,
#preturi h2,
#preturi h2 span,
#why h2,
#why h2 span,
#process h2,
#process h2 span,
#performance h2,
#performance h2 span,
#audit h2,
#audit h2 span,
#contact h2,
#contact h2 span {
  color: var(--heading) !important; /* darker than pure white */
}


/* Service detail pages */
.service-detail {
  color: #fff;
  max-width: 1120px;
  margin: 0 auto;
  padding: 50px 0 70px;
}
.service-detail h1,
.service-detail h2,
.service-detail h3 {
  color: #fff;
}
.service-detail .lead {
  color: #d3d9ee;
  font-size: 1.06rem;
  margin-top: 0;
}
.service-detail p,
.service-detail li {
  color: var(--muted);
  line-height: 1.5;
  font-size: 0.95rem;
}
.service-detail .grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  align-items: start;
}
@media (max-width: 720px) {
  .service-detail .grid {
    grid-template-columns: 1fr;
  }
}
.service-detail .card {
  grid-column: auto;
}
.service-detail .card ul {
  margin: 12px 0 0;
  padding: 0 0 0 18px;
  color: var(--muted);
}

/* Service FAQ */
.service-faq {
  max-width: 1120px;
  margin: 40px auto 0;
  padding-top: 10px;
}
.service-faq h2 {
  color: #fff;
  margin: 0 0 18px;
}
.faq-list {
  display: grid;
  gap: 14px;
}
.faq-item {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 12px 16px;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  color: #fff;
  display: flex;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item[open] {
  border-color: rgba(124, 92, 255, 0.4);
  box-shadow: 0 4px 18px -4px rgba(0, 0, 0, 0.4);
}
.faq-item[open] summary {
  color: var(--brand);
}
.faq-answer {
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.5;
  font-size: 0.95rem;
}
/* FAQ toggle indicators (+ / −) */
.faq-item summary { position:relative; padding-right:28px; }
.faq-item summary::after {
  content:'+';
  position:absolute;
  top:50%;
  right:6px;
  transform:translateY(-50%);
  font-weight:600;
  font-size:1rem;
  line-height:1;
  color:var(--muted);
  transition: color .25s ease, transform .25s ease;
}
.faq-item[open] summary::after {
  content:'−'; /* real minus sign for optical alignment */
  color: var(--brand);
}
body.light-mode .faq-item summary::after { color:#64748b; }
body.light-mode .faq-item[open] summary::after { color: var(--brand); }

/* Servicii section: centered cards; text muted */
#servicii .grid {
  display: grid;
  justify-content: center;
  grid-template-columns: repeat(3, minmax(280px, 1fr));
  gap: 32px;
}
#servicii .card {
  /* override global span to allow proper 3-col layout */
  grid-column: auto;
  display: flex;
  flex-direction: column;
}
#servicii .card p {
  flex-grow: 1;
}
#servicii .card .btn {
  margin-top: 12px;
}
#servicii .card h3 {
  color: var(--heading);
}
#servicii .card p {
  color: var(--text);
}
#servicii .btn {
  color: #fff !important;
}
/* Light mode: make service section button text dark (override white from ID rule) */
body.light-mode #servicii .btn:not(.secondary) {
  color: #0f172a !important;
}
/* Make service section primary buttons appear as text-only links (no background) */
.servicii-section .btn:not(.secondary) {
  background: none !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  color: var(--heading) !important;
  font-weight: 600;
  letter-spacing: .2px;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
}
.servicii-section .btn:not(.secondary):hover {
  text-decoration: underline;
  transform: none !important;
}
.servicii-section .btn:not(.secondary):focus-visible {
  outline: none;
  box-shadow: none !important;
  text-decoration: underline;
}
body.light-mode .servicii-section .btn:not(.secondary) { color:#0f172a !important; }
@media (max-width: 980px) {
  #servicii .grid {
    grid-template-columns: repeat(2, minmax(280px, 1fr));
  }
}
@media (max-width: 680px) {
  #servicii .grid {
    grid-template-columns: 1fr;
  }
}
/* Testimonials */
.quote {
  #servicii .grid {
    grid-template-columns: 1fr;
  }
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 16px;
  align-items: center;
}
.avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.18);
  background: url('https://i.pravatar.cc/128') center/cover;
}
/* Unified testimonial blocks (used on About pages) */
.testimonial {
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  padding: 1.2em 1.5em;
  max-width: 340px;
  flex: 1 1 260px;
  font-style: italic;
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: var(--text);
  transition: background .3s ease, border-color .3s ease, color .3s ease;
}
.testimonial span { font-weight:600; display:block; margin-top:.5em; font-style:normal; }
body.light-mode .testimonial {
  background: linear-gradient(180deg,#ffffff,#f3f6fa);
  border:1px solid #e2e8f0;
  color:#445066;
  box-shadow: 0 4px 14px -4px rgba(15,23,42,0.12);
}
body.light-mode .testimonial span { color:#0f172a; }

/* Testimonial avatar images */
.testimonial .t-avatar {
  width:64px;
  height:64px;
  border-radius:50%;
  object-fit:cover;
  border:2px solid rgba(255,255,255,0.18);
  box-shadow:0 4px 10px -2px rgba(0,0,0,0.35);
  margin-bottom:.75em;
  background:#222;
  transition:transform .35s ease, box-shadow .35s ease;
}
.testimonial .t-avatar.t-initial {
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:600;
  font-size:1.05rem;
  letter-spacing:.5px;
  background:linear-gradient(135deg,#6366f1,#0ea5e9);
  color:#fff;
}
.testimonial:hover .t-avatar { transform:translateY(-3px); box-shadow:0 6px 16px -4px rgba(0,0,0,0.45); }
body.light-mode .testimonial .t-avatar { border:2px solid #e2e8f0; box-shadow:0 4px 10px -2px rgba(15,23,42,0.25); }
body.light-mode .testimonial:hover .t-avatar { box-shadow:0 6px 16px -4px rgba(15,23,42,0.35); }

/* Contact */
form {
  display: grid;
  gap: 12px;
}
/* Form status feedback */
#form-status {
  font-size:.85rem;
  font-weight:600;
  line-height:1.4;
  margin-top:4px;
  min-height:40px;
  display:flex;
  align-items:flex-start;
  position:relative;
  scroll-margin-top:120px; /* ensures it sits nicely below sticky header */
}
#form-status.success { animation: statusPulse 1.4s ease 1; }
#form-status.error { animation: statusShake .55s cubic-bezier(.36,.07,.19,.97) 1; }
@keyframes statusPulse { 0%{box-shadow:0 0 0 0 rgba(34,197,94,0.0);} 30%{box-shadow:0 0 0 6px rgba(34,197,94,0.18);} 60%{box-shadow:0 0 0 3px rgba(34,197,94,0.10);} 100%{box-shadow:0 0 0 0 rgba(34,197,94,0);} }
@keyframes statusShake { 0%,100%{transform:translateX(0);} 15%{transform:translateX(-6px);} 30%{transform:translateX(5px);} 45%{transform:translateX(-4px);} 60%{transform:translateX(3px);} 75%{transform:translateX(-2px);} 90%{transform:translateX(1px);} }
fieldset {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 12px;
}
legend {
  color: #fff;
  font-weight: 600;
  padding: 0 6px;
}
.service-option {
  display: flex;
  align-items: center;
  gap: 8px;
}
/* Honeypot input (hidden from users, visible to bots without CSS) */
.hp-field {
  position: absolute !important;
  left: -10000px !important;
  opacity: 0 !important;
  height: 0 !important;
  width: 0 !important;
  pointer-events: none !important;
}
input,
textarea,
select {
  width: 100%;
  background: #0e1427;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text);
  border-radius: 12px;
  padding: 12px 14px;
  font: inherit;
}
input:focus,
textarea:focus,
select:focus {
  outline: none;
  box-shadow: var(--ring);
  border-color: transparent;
}
/* Light mode: lighter inputs (override dark contact form background) */
body.light-mode input,
body.light-mode textarea,
body.light-mode select {
  background:#ffffff;
  border:1px solid #cbd5e1;
  color:#334155;
}
body.light-mode input:focus,
body.light-mode textarea:focus,
body.light-mode select:focus {
  border-color:transparent;
}
/* Contact form stronger override (ensure not overridden by later generic input styles) */
body.light-mode #contact input,
body.light-mode #contact textarea,
body.light-mode #contact select {
  background:#ffffff !important;
  border:1px solid #cbd5e1 !important;
  color:#334155 !important;
}
body.light-mode #contact input:focus,
body.light-mode #contact textarea:focus,
body.light-mode #contact select:focus { box-shadow:var(--ring); border-color:transparent !important; }
body.light-mode #contact fieldset { background:#ffffff; border:1px solid #cbd5e1; }

/* Footer */
footer {
  padding: 60px 0 70px;
  color: var(--muted);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  align-items: start;
}
@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
.footer-wrap {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 24px;
  align-items: start;
}
.footer-wrap.footer-dividers > *:not(:first-child) {
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  padding-left: 24px;
}
@media (max-width: 900px) {
  .footer-wrap.footer-dividers > *:not(:first-child) {
    border-left: none;
    padding-left: 0;
  }
}
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.social {
  display: flex;
  gap: 10px;
}
.social a {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.footer-col h5 {
  margin: 0 0 10px;
  color: #fff;
}
.footer-col a {
  display: block;
  padding: 6px 0;
}
@media (max-width: 900px) {
  .footer-wrap {
    grid-template-columns: 1fr;
  }
}

/* Utils */
.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.skip-link:focus {
  left: 10px;
  top: 10px;
  width: auto;
  height: auto;
  background: #fff;
  color: #000;
  padding: 8px 10px;
  border-radius: 8px;
}

/* Animations */
.fade-up {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.6s ease-out forwards;
}

.fade-up.delay-1 {
  animation-delay: 0.2s;
}

.fade-up.delay-2 {
  animation-delay: 0.4s;
}

.fade-up.delay-3 {
  animation-delay: 0.6s;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Gallery styles */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.gallery img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery img:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

/* Search Overlay */
.search-overlay {
  position: fixed;
  inset: 0;
  background: rgba(11, 15, 25, 0.8);
  -webkit-backdrop-filter: blur(10px) saturate(140%);
  backdrop-filter: blur(10px) saturate(140%);
  z-index: 3000;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 8vh 20px 40px;
}
.search-overlay.open {
  display: flex;
}
.search-dialog {
  width: min(860px, 100%);
  background: #0f1524;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  box-shadow: 0 40px 120px -20px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(255, 255, 255, 0.05);
  padding: 18px 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.search-bar {
  display: flex;
  align-items: center;
  gap: 10px;
}
.search-bar .icon {
  font-size: 1.1rem;
  opacity: 0.85;
}
#search-input {
  background: #0e1427;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  padding: 12px 14px;
  flex: 1;
  font: inherit;
  color: var(--heading);
}
#search-input:focus {
  outline: none;
  box-shadow: var(--ring);
  border-color: transparent;
}
.search-results {
  max-height: 380px;
  overflow-y: auto;
  display: grid;
  gap: 8px;
  padding-right: 4px;
}
.search-item {
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.search-item:hover,
.search-item.active {
  border-color: rgba(124, 92, 255, 0.5);
  background: rgba(124, 92, 255, 0.12);
}
.search-item .title {
  font-weight: 600;
  color: #fff;
}
.search-item .excerpt {
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.3;
}
.search-hints {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.7rem;
  opacity: 0.65;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.search-hints span {
  background: rgba(255, 255, 255, 0.06);
  padding: 6px 8px;
  border-radius: 8px;
}

/* Authentication Popup */
#auth-overlay {
  position: fixed;
  inset: 0;
  background: rgba(11, 15, 25, 0.72);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
#auth-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.auth-popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(100%, 400px);
  background: var(--bg);
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  padding: 28px 26px 30px;
  z-index: 999;
  display: none;
  box-shadow: 0 22px 70px -10px rgba(0, 0, 0, 0.65),
    0 0 0 1px rgba(255, 255, 255, 0.05);
}
.auth-popup h2 {
  margin: 0 0 16px;
  font-size: 1.3rem;
  font-weight: 600;
}
.auth-popup form {
  display: grid;
  gap: 14px;
  margin: 0;
}
.auth-popup label span {
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  margin-bottom: 4px;
  color: var(--muted);
}
.auth-popup input[type='text'],
.auth-popup input[type='password'],
.auth-popup input[type='email'] {
  background: #0e1427; /* dark input */
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  padding: 11px 13px;
  font: inherit;
  transition: box-shadow 0.2s, border-color 0.2s, background 0.3s;
}
.auth-popup input::placeholder {
  color: var(--muted);
  opacity: 0.85;
}
.auth-popup button[type='submit'],
.auth-popup .auth-action {
  background: linear-gradient(135deg, var(--brand), #4f46e5);
  color: #fff;
  border: none;
  cursor: pointer;
  font-weight: 600;
  padding: 0.85rem 1rem;
  border-radius: 14px;
  font-family: inherit;
  letter-spacing: 0.3px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}
.auth-popup button[type='submit']:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(124, 92, 255, 0.45);
}
.auth-popup a {
  color: var(--accent);
}
.auth-popup a:hover {
  text-decoration: underline;
}
.auth-popup .close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  cursor: pointer;
  color: var(--text);
}
.auth-popup .close-btn:hover {
  background: rgba(255, 255, 255, 0.12);
}
.auth-msg {
  min-height: 18px;
  font-size: 0.8rem;
}
/* End Authentication Popup */

/* Bootstrap theme overrides (dark) */
/* Buttons */
.btn-primary {
  background: linear-gradient(135deg, #a259ff 0%, #6a11cb 100%) !important;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  box-shadow: 0 8px 28px rgba(106, 17, 203, 0.35) !important;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 0 8px rgba(106, 17, 203, 0.22),
    0 18px 48px rgba(106, 17, 203, 0.55) !important;
}
.btn-outline-light {
  background: transparent !important;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  box-shadow: none !important;
}
.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.04) !important;
  border-color: rgba(255, 255, 255, 0.24) !important;
}
.btn:focus-visible {
  outline: none !important;
  box-shadow: var(--ring) !important;
}

/* Forms */
.form-label {
  color: var(--text);
}
.form-control,
.form-select,
.form-control:focus,
.form-select:focus {
  background-color: #0e1427 !important;
  color: var(--text) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 12px !important;
  box-shadow: none !important;
}
.form-control:focus,
.form-select:focus {
  box-shadow: var(--ring) !important;
  border-color: transparent !important;
  background-color: #0f1630 !important;
}
.form-control::placeholder {
  color: var(--muted);
  opacity: 0.9;
}

/* Keep service title hover accent, inherit base color */
.card h3 a:hover {
  color: var(--brand) !important;
}

/* Content readability in sections (About pages etc.) */
section.container p,
section.container li,
section.container blockquote,
.lead {
  color: var(--text) !important;
}

/* Use default heading sizes (no global trim) */

/* ==== Darken cards globally (all pages) ==== */
/* Base (dark mode) – slightly darker surfaces for better depth */
.card,
.plan,
.stack,
.mock,
.testimonial,
.faq-item {
  background: linear-gradient(180deg,#0f1524,#0d1422) !important;
  border-color: rgba(255,255,255,0.08) !important;
}
.plan.featured { border-color: rgba(124,92,255,0.5) !important; }
.card:hover,
.plan:hover { border-color: rgba(255,255,255,0.16) !important; }

/* Light mode – make cards a touch darker than plain white for separation */
body.light-mode .card,
body.light-mode .plan,
body.light-mode .stack,
body.light-mode .mock,
body.light-mode .testimonial,
body.light-mode .faq-item {
  background: linear-gradient(180deg,#f1f5fa,#e8eef4) !important;
  border: 1px solid #d4dde7 !important;
}
body.light-mode .plan.featured { border-color: rgba(106,61,255,0.55) !important; }
body.light-mode .card::after { background: linear-gradient(120deg,rgba(106,61,255,0.28),rgba(14,165,233,0.2)) !important; }

/* Global buttons retain original gradient; only services section overridden above */
