:root {
  --brand-teal: #1f6f7a;
  --brand-teal-dark: #195760;
  --brand-teal-soft: #3f9492;
  --brand-gold: #d7ab51;
  --brand-cream: #f8fbfb;
  --text-main: #163042;
  --text-soft: #5f7286;
  --border-soft: #dbe5ec;
  --shadow-soft: 0 20px 55px rgba(15, 23, 42, 0.08);
}

html {
  scroll-behavior: smooth;
}

body {
  background:
    radial-gradient(circle at top left, rgba(215, 171, 81, 0.12), transparent 28%),
    radial-gradient(circle at top right, rgba(63, 148, 146, 0.10), transparent 24%),
    linear-gradient(180deg, #f4f8f8 0%, #f8fbfd 100%);
  color: var(--text-main);
}

a {
  color: var(--brand-teal);
  text-decoration: none;
}

a:hover {
  color: var(--brand-teal-dark);
}

.page-shell {
  position: relative;
}

.section-spacing {
  margin-top: 2rem;
}

.hero-card,
.form-card,
.feature-card,
.seo-card {
  border-radius: 30px;
}

.hero-card {
  overflow: hidden;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(10px);
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.7);
}

.hero-content {
  background: linear-gradient(180deg, rgba(255,255,255,0.95), rgba(255,255,255,0.9));
}

.hero-panel {
  background: linear-gradient(150deg, rgba(31, 111, 122, 0.10), rgba(215, 171, 81, 0.10));
}

.hero-panel-card {
  background: rgba(255,255,255,0.88);
  border: 1px solid rgba(219,229,236,0.9);
  border-radius: 26px;
  padding: 1.5rem;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.7);
}

.hero-logo {
  max-width: 300px;
}

.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .55rem 1rem;
  border-radius: 999px;
  background: rgba(31, 111, 122, 0.08);
  border: 1px solid rgba(31, 111, 122, 0.12);
  color: var(--brand-teal);
  font-weight: 700;
  font-size: .9rem;
}

.hero-title {
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.hero-text,
.section-subtitle {
  color: var(--text-soft);
  font-size: 1.05rem;
}

.hero-checks {
  display: grid;
  gap: .75rem;
}

.hero-checks span {
  display: flex;
  align-items: center;
  gap: .6rem;
  color: var(--text-soft);
  font-weight: 500;
}

.hero-checks i,
.quote-box i {
  color: var(--brand-gold);
}

.btn-soft {
  background: rgba(255,255,255,0.8);
  border: 1px solid rgba(31, 111, 122, 0.14);
  color: var(--brand-teal);
}

.btn-soft:hover,
.btn-soft:focus {
  background: rgba(31, 111, 122, 0.06);
  color: var(--brand-teal-dark);
  border-color: rgba(31, 111, 122, 0.24);
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.stat-chip,
.feature-card,
.seo-card,
.option-card,
.signature-card {
  background: rgba(255,255,255,0.96);
  border: 1px solid var(--border-soft);
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.04);
}

.stat-chip {
  border-radius: 20px;
  padding: 1rem 1rem 0.95rem;
}

.stat-chip strong {
  display: block;
  color: var(--brand-teal);
  font-size: 1.45rem;
  line-height: 1;
}

.stat-chip span {
  color: var(--text-soft);
  font-size: .92rem;
}

.quote-box {
  display: flex;
  gap: .9rem;
  align-items: flex-start;
  padding: 1rem 1.05rem;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(215,171,81,0.12), rgba(31,111,122,0.06));
}

.quote-box i {
  font-size: 1.1rem;
  margin-top: .2rem;
}

.section-heading {
  max-width: 720px;
  margin-inline: auto;
}

.section-title {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.feature-card,
.seo-card {
  border-radius: 24px;
  padding: 1.6rem;
  height: 100%;
}

.feature-icon {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(31,111,122,0.12), rgba(215,171,81,0.16));
  color: var(--brand-teal);
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.form-card {
  box-shadow: 0 28px 80px rgba(15, 23, 42, 0.10);
  background: rgba(255,255,255,0.95);
}

.form-sidebar {
  background: linear-gradient(180deg, rgba(31, 111, 122, 0.08), rgba(215,171,81,0.08));
  border-right: 1px solid rgba(219,229,236,0.9);
}

.sidebar-steps {
  display: grid;
  gap: 1rem;
}

.sidebar-step {
  display: flex;
  gap: .9rem;
  align-items: flex-start;
  padding: .95rem 1rem;
  border-radius: 20px;
  background: rgba(255,255,255,0.86);
  border: 1px solid rgba(219,229,236,0.92);
}

.sidebar-step span {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand-teal), var(--brand-teal-soft));
  color: #fff;
  font-weight: 700;
}

.sidebar-step small {
  display: block;
  color: var(--text-soft);
  margin-top: .15rem;
}

.form-section-title {
  font-weight: 800;
  font-size: 1rem;
  margin-bottom: 1rem;
  color: var(--text-main);
}

.form-label {
  font-weight: 600;
  color: #234257;
}

.form-control,
.form-select {
  border-radius: 16px;
  border-color: #d6e1e9;
  min-height: 52px;
  background: #fff;
  padding-inline: 1rem;
}

.form-control[readonly] {
  background: #f8fbfd;
}

.form-control:focus,
.form-select:focus,
.form-check-input:focus {
  border-color: #6eb0b0;
  box-shadow: 0 0 0 .22rem rgba(63, 148, 146, 0.16);
}

.form-check-input:checked {
  background-color: var(--brand-teal);
  border-color: var(--brand-teal);
}

.form-control.is-invalid,
.form-select.is-invalid,
.form-check-input.is-invalid,
.signature-wrapper.is-invalid {
  border-color: #dc3545 !important;
}

.option-card,
.signature-card {
  border-radius: 22px;
  padding: 1.2rem;
}

.signature-wrapper {
  background: linear-gradient(180deg, #fff, #f8fbff);
  border: 1px dashed #bfd0de;
  border-radius: 18px;
  overflow: hidden;
  min-height: 220px;
  position: relative;
}

.signature-wrapper::after {
  content: 'Semnează aici';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  color: rgba(95, 114, 134, 0.32);
  font-weight: 700;
  pointer-events: none;
}

.signature-wrapper.has-signature::after {
  display: none;
}

#signature-pad {
  width: 100%;
  height: 220px;
  display: block;
  touch-action: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand-teal), var(--brand-teal-soft));
  border-color: var(--brand-teal);
  box-shadow: 0 14px 30px rgba(31, 111, 122, 0.22);
}

.btn-primary:hover,
.btn-primary:focus {
  background: linear-gradient(135deg, var(--brand-teal-dark), #2f7d80);
  border-color: var(--brand-teal-dark);
}

.btn-submit-form {
  border-radius: 18px;
}

.consent-list {
  display: grid;
  gap: 1rem;
}

.consent-item {
  padding: 1rem 1rem 1rem 2rem;
  border: 1px solid var(--border-soft);
  border-radius: 18px;
  background: #fcfefe;
  margin-bottom: 0 !important;
}

.faq-item + .faq-item {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-soft);
}

@media (max-width: 1199.98px) {
  .form-sidebar {
    border-right: 0;
    border-bottom: 1px solid rgba(219,229,236,0.9);
  }
}

@media (max-width: 991.98px) {
  .hero-logo {
    max-width: 240px;
  }

  .hero-card,
  .form-card,
  .feature-card,
  .seo-card {
    border-radius: 26px;
  }
}

@media (max-width: 576px) {
  .page-shell {
    padding-top: .5rem;
  }

  .hero-card,
  .form-card,
  .feature-card,
  .seo-card {
    border-radius: 22px;
  }

  .hero-panel-card,
  .option-card,
  .signature-card,
  .feature-card,
  .seo-card {
    padding: 1.1rem;
  }

  .stat-grid {
    gap: .75rem;
  }

  .signature-wrapper,
  #signature-pad {
    min-height: 200px;
    height: 200px;
  }
}
