/* ==== TEMA SHIELD HOSTING (Indigo/Slate/Amber) ==== */

:root {
  /* Nuante de fundal mai neutre (Slate) pentru un look "Corporate Security" */
  --bg-main: #f8fafc;        /* slate-50 */
  --bg-alt: #f1f5f9;         /* slate-100 */
  --bg-card: #ffffff;
  
  /* Culoarea principală: INDIGO în loc de Blue */
  --primary: #4338ca;        /* indigo-700 - sugerează premium & securitate */
  --primary-soft: #6366f1;   /* indigo-500 */
  
  /* Accent: AMBER pentru a se potrivi cu logo-ul fulger */
  --accent: #d97706;         /* amber-600 */
  --accent-light: #fef3c7;   /* amber-100 */
  
  --text-main: #0f172a;      /* slate-900 */
  --text-muted: #475569;     /* slate-600 */
  --border-soft: #cbd5e1;    /* slate-300 */
  --danger: #ef4444;
}

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

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; /* Preferință pentru Inter dacă e instalat */
  /* Gradient mai subtil, spre gri-indigo */
  background: radial-gradient(circle at top center, #e0e7ff 0%, var(--bg-main) 50%, #e2e8f0 100%);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
}
a:hover {
  text-decoration: underline;
  color: #312e81; /* indigo-900 */
}

/* Focus vizibil */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--primary-soft);
  outline-offset: 2px;
}

/* Layout */

.page-wrap {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

.section {
  padding: 3.5rem 1.25rem; /* Spatiere puțin mai mare */
}
.section.alt {
  /* Gradient diagonal Indigo subtil */
  background: linear-gradient(135deg, #f8fafc 0%, #eff6ff 100%);
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}
.section-inner,
.nav-inner,
.top-bar-inner,
.footer-inner,
.cookie-inner {
  max-width: 1140px; /* Puțin mai lat pentru un aer modern */
  margin: 0 auto;
}

/* Header & nav */

header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-soft);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
}

.top-bar {
  border-bottom: 1px solid #e2e8f0;
  font-size: 0.75rem;
  color: var(--text-muted);
  background: #f1f5f9;
  font-weight: 500;
}
.top-bar-inner {
  padding: 0.5rem 1.25rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}
.badge-google {
  padding: 0.15rem 0.6rem;
  border-radius: 4px; /* Mai pătrățos */
  border: 1px solid #dbeafe;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: #eff6ff;
  color: var(--primary);
}

.nav {
  padding: 0.7rem 1.25rem;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.brand-logo-wrap {
  width: 38px;
  height: 38px;
  border-radius: 8px; /* Formă mai de "scut" (squircle) */
  /* Gradient Indigo închis */
  background: linear-gradient(135deg, #4338ca 0%, #312e81 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(67, 56, 202, 0.25);
}
/* Logo-ul SVG din HTML va fi centrat aici */

.brand-title {
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
  color: #1e293b;
}
.brand-sub {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  font-weight: 600;
}
.nav-links {
  display: flex;
  gap: 1.5rem;
  font-size: 0.9rem;
  font-weight: 500;
}
.nav-links a {
  color: #64748b;
  padding: 0.4rem 0;
  transition: color 0.2s;
}
.nav-links a:hover {
  color: var(--primary);
  text-decoration: none;
}

/* Hero */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: center;
}

.hero-kicker {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent); /* Amber */
  font-weight: 700;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.hero-kicker::before {
  content: "";
  display: inline-block;
  width: 20px;
  height: 2px;
  background: var(--accent);
}

.hero h1 {
  font-size: clamp(2.2rem, 3.5vw + 1rem, 3rem);
  line-height: 1.1;
  margin: 0 0 1.2rem;
  color: #1e293b;
  letter-spacing: -0.03em;
}
.hero h1 span {
  color: var(--primary);
  background: linear-gradient(120deg, var(--primary) 0%, #818cf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-lead {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 38rem;
  margin-bottom: 1.8rem;
}
.hero-list {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.8rem 1.5rem;
  font-size: 0.9rem;
  color: #334155;
}
.hero-list li {
  display: flex;
  align-items: flex-start;
}
.hero-list li::before {
  content: "🛡"; /* Emoji scut sau check */
  margin-right: 0.5rem;
  font-size: 0.9rem;
  color: var(--primary);
}

/* Imagine hero */
.hero-image {
  border-radius: 8px; /* Mai colturos */
  overflow: hidden;
  border: 1px solid #cbd5e1;
  background: #fff;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}
.hero-image img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* Carduri */

.grid {
  display: grid;
  gap: 1.5rem;
}
.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.card {
  background: var(--bg-card);
  border-radius: 8px; /* Mai sharp pentru look tehnic */
  border: 1px solid #e2e8f0;
  padding: 1.75rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
}
.card:hover {
  transform: translateY(-3px);
  border-color: var(--primary-soft);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}
/* Bară decorativă sus la hover sau default */
.card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--primary);
  opacity: 0;
  transition: opacity 0.2s;
}
.card:hover::after {
  opacity: 1;
}

.card-header {
  display: flex;
  justify-content: space-between;
  gap: 0.6rem;
  align-items: flex-start;
  margin-bottom: 0.5rem;
}
.card-title {
  font-weight: 700;
  font-size: 1.1rem;
  color: #1e293b;
  margin-bottom: 0.2rem;
}
.card-chip {
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  font-size: 0.65rem;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.05em;
  background: #f1f5f9;
  color: #64748b;
}
.badge-best {
  background: var(--accent-light);
  color: #92400e; /* Dark Amber */
}

.card-price {
  font-size: 1.5rem;
  font-weight: 800;
  margin: 1rem 0 0.5rem;
  color: var(--primary);
  letter-spacing: -0.03em;
}
.card-price span {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

.card-desc {
  font-size: 0.9rem;
  color: #64748b;
  margin-bottom: 1.2rem;
  line-height: 1.5;
}

.card-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  font-size: 0.9rem;
  color: #475569;
}
.card-list li {
  margin-bottom: 0.5rem;
  padding-left: 1.2rem;
  position: relative;
}
.card-list li::before {
  content: "•";
  color: var(--accent);
  font-weight: bold;
  position: absolute;
  left: 0;
  top: -1px;
  font-size: 1.2rem;
}

.card-footer {
  margin-top: auto;
  padding-top: 1.2rem;
  border-top: 1px solid #f1f5f9;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
.tagline {
  font-size: 0.75rem;
  color: #94a3b8;
  text-align: center;
}

/* Review Cards specifice */
.review-quote {
  font-style: italic;
  font-size: 1.05rem;
  color: #334155;
  border-left: 3px solid var(--accent);
  padding-left: 1rem;
  margin-bottom: 1rem;
}
.review-author {
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--text-main);
}

/* Titluri secțiuni */
.section-header {
  margin-bottom: 2.5rem;
}
.section-kicker {
  color: var(--primary);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.section-title {
  font-size: 2rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
}

/* Butoane */

.btn-primary,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 6px; /* Mai puțin rotund */
  font-size: 0.9rem;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 6px -1px rgba(67, 56, 202, 0.3);
}
.btn-primary:hover {
  background: #3730a3; /* indigo-800 */
  transform: translateY(-1px);
  box-shadow: 0 10px 15px -3px rgba(67, 56, 202, 0.4);
  text-decoration: none;
}

.btn-ghost {
  background: #fff;
  border-color: #cbd5e1;
  color: #334155;
}
.btn-ghost:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: #f8fafc;
  text-decoration: none;
}

/* Footer & Cookie */

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0; 
  right: 0;
  z-index: 50;
  background: #fff;
  border-top: 2px solid var(--accent);
  box-shadow: 0 -10px 25px -5px rgba(0, 0, 0, 0.1);
  padding: 1.25rem;
  display: none;
}
.cookie-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

footer {
  background: #1e293b; /* Dark Slate Footer */
  color: #94a3b8;
  padding: 3rem 1.25rem 2rem;
  font-size: 0.85rem;
  margin-top: auto;
}
footer .footer-title {
  color: #f8fafc; /* Albicios */
  font-size: 1rem;
  margin-bottom: 0.8rem;
}
footer a {
  color: #cbd5e1;
}
footer a:hover {
  color: #fff;
}
footer .legal {
  border-top: 1px solid #334155;
  margin-top: 2rem;
  padding-top: 1.5rem;
  color: #64748b;
}

/* Responsive */

@media (max-width: 768px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: left;
  }
  .top-bar-inner,
  .nav-inner {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.8rem;
  }
  .nav-links {
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
  }
  .section-title {
    font-size: 1.75rem;
  }
}
/* =========================================================
   A11Y FIX (Lighthouse): contrast mai bun + mici îmbunătățiri
   Pune blocul acesta la FINAL în css/styles.css
   ========================================================= */

/* Link-uri meniu: mai închise pe alb */
.nav-links a {
  color: #334155; /* slate-700 (mai bun contrast) */
}
.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--primary);
}

/* Subtitluri / descrieri: evităm slate-500 pe font mic */
.card-desc,
.section-sub,
.tagline {
  color: var(--text-muted); /* #475569 */
}

/* Chip-urile (badge) erau prea light pe font foarte mic */
.card-chip {
  background: #e2e8f0;
  color: #334155;
  border: 1px solid #cbd5e1;
}

/* Footer: ridicăm contrastul textelor mici */
footer {
  color: #cbd5e1;
}
footer .footer-meta {
  color: #cbd5e1;
}
footer .legal {
  color: #94a3b8;
}
footer a {
  color: #e2e8f0;
}

/* Link brand (logo+titlu) clickabil și cu focus vizibil */
.brand-link {
  color: inherit;
  text-decoration: none;
  border-radius: 10px;
}
.brand-link:hover {
  text-decoration: none;
}
.brand-link:focus-visible {
  outline: 2px solid var(--primary-soft);
  outline-offset: 4px;
}
