:root {
  --white: #ffffff;
  --black: #000000;

  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;

  --green-500: #00c951;

  --blue-500: #3b82f6;
  --blue-100: #dbeafe;

  --orange-600: #d95300;
  --yellow-400: #ffc20e;

  --bg-gradient-light: linear-gradient(135deg, #fafbfc 0%, #f7f9fb 100%);

  --section-vertical: 3.5rem;
  --section-header-bottom: 1.75rem;
  --section-subtitle-top: 0.5rem;

  --hero: #3b82f6;
  --hero-text: var(--white);
  --footer: #001436;
  --accent-neutral: #baa898;
  --accent-color: #eee0cb;
  --accent-bright: #d19c1d;
  --footer-text: var(--white);
  --footer-text-muted: var(--white, 80%) --footer-link: var(--yellow-400);
}

body {
  font-family:
    system-ui,
    -apple-system,
    sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.6;
  color: var(--gray-800);
  box-sizing: border-box;
}

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

/* Nav */
.nav {
  display: flex;
  position: sticky;
  top: 0;
  height: 96px;
  background: var(--white);
  /* padding: 0.25rem 0; */
  border-bottom: 1px solid var(--gray-200);
  z-index: 100;
}

.nav-container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav .logo {
  color: var(--black);
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: 700;
  transition: color 0.2s ease;
}

.nav .logo:hover {
  color: var(--gray-700);
}

.nav-button {
  font-size: 0.85rem;
  background: var(--white);
  color: var(--black);
  padding: 0.75rem 2rem;
  text-decoration: none;
  border: 1px solid var(--black);
  border-radius: 0.375rem;
  display: inline-block;
  margin: 1.5rem 0;
  font-weight: 600;
  transition: background-color 0.2s ease;
}

.nav-button:hover {
  background: var(--black);
  color: var(--white);
  cursor: pointer;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  position: relative;
  z-index: 10;
  width: 100%;
}

/* Sections and headings */
section {
  padding: var(--section-vertical) 0;
}

.section-header {
  font-size: 2rem;
  font-weight: 800;
  color: var(--black);
  text-align: center;
  margin: 0 0 var(--section-header-bottom) 0;
  line-height: 1.15;
}

.section-subtitle {
  width: 100%;
  text-align: center;
  font-size: 1.125rem;
  color: var(--gray-600);
  font-weight: 400;
  line-height: 1.5;
  margin-top: var(--section-subtitle-top);
  margin-bottom: calc(var(--section-header-bottom) / 2);
}

/* Hero */
.hero {
  background-color: var(--hero);
  min-height: calc(100vh - 96px);
  padding: 2.5rem 0;
  display: flex;
  align-items: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
}

.hero-title {
  margin: 0 0 1.5rem 0;
  font-size: 3.25rem;
  line-height: 1.2;
  font-weight: 800;
  color: var(--hero-text);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  margin-bottom: 1.5rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 9999px;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  color: white;
  font-weight: 500;
}

.hero-proof {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.875rem;
}

.hero-proof strong {
  font-weight: 700;
  color: var(--hero-text);
}

.hero-description {
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
  color: var(--hero-text);
}

.hero-graphic {
  justify-self: end;
}

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

.cta-buttons {
  display: flex;
  gap: 1rem;
  margin-top: 0.75rem;
  align-items: center;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: white;
  color: var(--hero);
  padding: 0.875rem 1.5rem;
  border-radius: 0.5rem;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
}

.cta-button:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: translateY(-1px);
}

.cta-button-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: white;
  padding: 0.875rem 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 0.5rem;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.2s;
  cursor: pointer;
}

/* Features grid + cards */
.features-grid {
  display: grid;
  gap: 3rem;
  grid-template-columns: repeat(3, 1fr);
}

.feature-card {
  border: none;
  padding: 1.5rem;
  height: 100%;
}

.feature-card-header {
  margin-bottom: 1rem;
}

.icon-container {
  width: 3rem;
  height: 3rem;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--blue-100);
  background-color: var(--accent-color);
}

.icon {
  color: var(--footer);
  font-size: 1.5rem;
}

.feature-card-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0 0 0.5rem 0;
  color: #1f2937;
  line-height: 1.4;
}

.feature-card-content {
  flex: 1;
}

.feature-card-description {
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
  color: #6b7280;
}

/* FAQ / Tabs */
.faq-section {
  padding: 5rem 1rem;
}

.faq-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.faq-tabs {
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
}

.faq-content {
  display: none;
}

.faq-content.active {
  display: block;
}

.tab-button {
  background-color: var(--bg-gradient-light);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  padding: 0.5rem 1rem;
  margin: 0 0.5rem;
  cursor: pointer;
  font-weight: 600;
}

.tab-button.active {
  background-color: var(--blue-100);
}

/* Accordion */
.accordion {
  width: 100%;
  display: block;
  margin-bottom: 2rem;
}

.accordion-item {
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  background: var(--bg-gradient-light);
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.03);
}

.accordion-item + .accordion-item {
  margin-top: 1rem;
}

.accordion-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--gray-800);
  user-select: none;
  transition: background 150ms ease;
}

/* remove default accordion */
.accordion-trigger::-webkit-details-marker {
  display: none;
}
.accordion-trigger::marker {
  font-size: 0;
}

/* chevron (pseudo-element) */
.accordion-trigger::after {
  content: "";
  width: 1rem;
  height: 1rem;
  display: inline-block;
  background-image: linear-gradient(currentColor, currentColor);
  mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23000" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="6 9 12 15 18 9"/></svg>')
    no-repeat center;
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23000" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="6 9 12 15 18 9"/></svg>')
    no-repeat center;
  transition: transform 180ms ease;
  color: var(--gray-500);
  transform: rotate(0deg);
  margin-left: 1rem;
}

.accordion-item[open] > .accordion-trigger::after {
  transform: rotate(180deg);
  color: var(--blue-500);
}

.accordion-panel {
  padding: 0 1.5rem 1.25rem;
  color: var(--gray-600);
  font-size: 0.95rem;
  line-height: 1.6;
}

.accordion-panel a {
  color: var(--blue-500);
  text-decoration: underline;
}

.faq-contact {
  display: inline-block;
  color: var(--blue-500);
  font-weight: 600;
  text-decoration: none;
  margin-top: 0.5rem;
}

/* Common features - packages explanation  */
.common-features {
  display: flex;
  gap: 3rem;
  max-width: 800px;
  margin: 3rem auto;
  padding: 2rem;
  border-radius: 0.5rem;
}

.common-features h3 {
  color: var(--black);
  margin-bottom: 1rem;
  font-size: 1.25rem;
  font-weight: 700;
  margin-top: 0;
}

.common-features ul {
  text-align: left;
  display: inline-block;
  color: var(--gray-700);
  line-height: 1.8;
  margin-bottom: 1rem;
  list-style: none;
  padding: 0;
  margin-top: 4px;
}

.common-features li {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.ph-check-circle {
  font-size: 1.5rem;
  margin-right: 1rem;
  color: var(--green-500);
}

/* Packages */
.packages-container {
  display: grid;
  grid-template-columns: repeat(4, minmax(280px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
  max-width: 1200px;
  margin: 0 auto;
}

.package-card {
  border: 2px solid var(--gray-300);
  padding: 1.5rem;
  border-radius: 0.3rem;
  background: var(--white);
  position: relative;
  transition: transform 0.2s ease;
}

.package-card:hover {
  transform: translateY(-2px);
}

.package-card.featured {
  border-color: #343f3e;
  background: var(--bg-gradient-light);
}

.package-card.featured::before {
  content: "Cel mai popular";
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: #343f3e;
  color: var(--white);
  padding: 0.25rem 0.75rem;
  border-radius: 1rem;
  font-size: 0.75rem;
  font-weight: 600;
}

.package-card-container {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.package-card-container i {
  font-size: 2rem;
  color: var(--black);
}

.package-title {
  color: var(--black);
  margin: 0;
  font-weight: 700;
  font-size: 1.25rem;
}

.package-price {
  font-size: 1.5rem;
  color: var(--black);
  font-weight: 700;
  margin: 0.25rem 0 0 0;
}

.package-price-note {
  font-size: 1.125rem;
  color: var(--blue-500);
  font-weight: 600;
  margin: 0.25rem 0 0 0;
  border-bottom: 2px solid var(--blue-500);
  display: inline-block;
  margin-top: 0.5rem;
  padding-bottom: 2px;
}

.package-description {
  color: var(--gray-700);
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.package-features {
  line-height: 1.8;
  color: var(--gray-700);
  margin-bottom: 1rem;
  padding-left: 1rem;
}

.package-features li {
  margin-bottom: 0.5rem;
}

/* Footer */
.footer {
  background: var(--footer);
  color: var(--footer-text);
  margin-top: 4rem;
  padding: 4rem 0;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.footer-column {
  color: var(--footer-text);
}

.footer-column-title {
  font-weight: 700;
  color: var(--footer-text);
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.footer-column-text {
  color: var(--footer-text-muted);
  margin-bottom: 0.75rem;
}

.footer-column-list {
  list-style: none;
  padding: 0;
  color: var(--footer-text-muted);
  margin-bottom: 0.75rem;
}

.footer-column-list li {
  margin-bottom: 0.5rem;
}

.footer-subtle {
  color: var(--gray-500);
  margin-top: 0.8rem;
  font-size: 0.85rem;
}

.footer-link {
  color: var(--footer-link);
  text-decoration: underline;
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: var(--yellow-400);
}

/* Legal */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
  line-height: 1.6;
}

.legal-content h1 {
  color: var(--gray-900);
  border-bottom: 2px solid #eee;
  padding-bottom: 0.5rem;
}

.legal-content h2 {
  color: var(--gray-800);
  margin-top: 2rem;
}

.legal-content h3 {
  color: var(--gray-700);
}

.last-updated {
  font-style: italic;
  color: var(--gray-900);
  margin-bottom: 2rem;
}

/* Responsive */
@media (max-width: 768px) {
  :root {
    --section-vertical: 2rem;
    --section-header-bottom: 1rem;
    --section-subtitle-top: 0.35rem;
  }

  .hero {
    padding-bottom: 2rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .common-features {
    flex-direction: column;
    gap: 0;
  }

  .packages-container {
    grid-template-columns: 1fr;
  }

  .package-card {
    padding: 1.25rem;
  }

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

  .hero-content {
    align-items: center;
  }

  .hero-graphic {
    justify-self: center;
  }

  .hero-title {
    font-size: 2.25rem;
  }

  .cta-buttons {
    justify-content: center;
    flex-direction: column;
    gap: 0.75rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}
