@font-face {
  font-family: "Outfit";
  src: url(../fonts/Outfit-VariableFont_wght.ttf);
  font-display: swap;
}
:root {
  --primary: #2a51ad;
  --primary-dark: #1e3a7a;
  --secondary: #ebf6fc;
  --accent: #ff6b35;
  --text-dark: #1e293b;
  --text-light: #64748b;
  --bg-light: #ffffff;
  --bg-off: #f8fafc;
  --border-light: #e2e8f0;
  --shadow-sm: 0 4px 6px -2px rgba(0,0,0,0.05);
  --shadow-md: 0 10px 25px -5px rgba(0,0,0,0.1);
  --font-primary: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --radius: 16px;
  --radius-sm: 8px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-primary);
  color: var(--text-dark);
  background: var(--bg-light);
  line-height: 1.5;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

h1, h2, h3 {
  font-weight: 700;
  line-height: 1.2;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); margin-bottom: 0.5rem; }
h3 { font-size: 1.5rem; }

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

.btn-primary, .btn-secondary, .btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-weight: 600;
  border-radius: 40px;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
  font-size: 1.1rem;
}

.btn-primary {
  background: var(--primary);
  color: white;
  box-shadow: 0 8px 20px rgba(42,81,173,0.3);
}
.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

.btn-secondary {
  background: white;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-secondary:hover {
  background: var(--secondary);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  color: white;
}

.site-header {
  background: var(--primary);
  color: white;
  padding: 10px 0;
  position: sticky;
  top: 0;
  z-index: 10;
  box-shadow: var(--shadow-md);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.logo a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: white;
}

.logo img {
  width: 50px;
  height: 50px;
}

.logo-line1, .logo-line2 {
  display: block;
  font-weight: 700;
  line-height: 1.2;
}
.logo-line1 { font-size: 1.4rem; }
.logo-line2 { font-size: 1rem; opacity: 0.9; }

.header-notice {
  font-size: 0.9rem;
  background: rgba(255,255,255,0.15);
  padding: 6px 15px;
  border-radius: 30px;
}

.hero-section {
  padding: 40px 0;
  background: linear-gradient(145deg, #f0f9ff 0%, #ffffff 100%);
}

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

.hero-content .rating-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  font-size: 1rem;
}
.rating-badge i {
  font-size: 1.2rem;
}

.hero-title span {
  color: var(--primary);
  border-bottom: 3px solid var(--accent);
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-light);
  margin: 20px 0;
}

.hero-features {
  list-style: none;
  margin: 25px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.hero-features li {
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero-features i {
  color: var(--primary);
}

.doctor-quote {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-top: 30px;
  background: white;
  padding: 20px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border-left: 5px solid var(--primary);
}

.hero-image {
  position: relative;
}
.hero-image img {
  border-radius: 20px;
  box-shadow: var(--shadow-md);
}
.guarantee-badge {
  position: absolute;
  bottom: -10px;
  right: -10px;
  background: var(--primary);
  color: white;
  padding: 12px 20px;
  border-radius: 40px;
  font-weight: 600;
  box-shadow: var(--shadow-md);
}

.problem-section {
  padding: 60px 0;
  background: var(--bg-off);
}
.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
.problem-content p {
  font-size: 1.1rem;
  margin: 20px 0;
}

.how-it-works {
  padding: 60px 0;
}
.section-header {
  text-align: center;
  margin-bottom: 50px;
}
.overline {
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--primary);
  font-weight: 600;
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 30px;
}
.step-card {
  background: white;
  padding: 30px 20px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  text-align: center;
}
.step-icon {
  width: 60px;
  height: 60px;
  background: var(--secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--primary);
  font-size: 1.8rem;
}
.step-card img {
  margin-top: 20px;
  width: 100%;
  max-width: 200px;
  margin-left: auto;
  margin-right: auto;
}

.comparison-order-section {
  padding: 60px 0;
  background: var(--secondary);
}
.comparison-block {
  margin-bottom: 60px;
}
.comparison-table {
  max-width: 700px;
  margin: 30px auto;
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.table-header, .table-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  padding: 15px 20px;
}
.table-header {
  background: var(--primary);
  color: white;
  font-weight: 600;
}
.table-row {
  border-bottom: 1px solid var(--border-light);
}
.table-row i {
  margin-right: 6px;
}
.fa-check-circle { color: #10b981; }
.fa-times-circle { color: #ef4444; }

.order-block {
  padding-top: 20px;
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 30px;
  margin: 40px 0;
}
.pricing-card {
  background: white;
  border-radius: var(--radius);
  padding: 30px 20px;
  text-align: center;
  box-shadow: var(--shadow-md);
  position: relative;
  transition: transform 0.2s;
}
.pricing-card:hover { transform: translateY(-5px); }
.popular-tag {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: white;
  padding: 5px 20px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 0.9rem;
}
.product-placeholder {
  width: 180px;
  height: 140px;
  background: #e2e8f0;
  margin: 20px auto;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  color: var(--primary);
}
.price {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
}
.old-price {
  font-size: 1.2rem;
  color: var(--text-light);
  text-decoration: line-through;
  margin-right: 10px;
}
.savings {
  color: #10b981;
  font-weight: 600;
  margin: 5px 0 15px;
}
.guarantee-note {
  margin-top: 15px;
  font-size: 0.9rem;
}
.order-note {
  text-align: center;
  margin-top: 20px;
}

.testimonials-section {
  padding: 60px 0;
  background: var(--bg-off);
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 25px;
}
.testimonial-card {
  background: white;
  padding: 25px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}
.testimonial-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}
.stars { color: #fbbf24; letter-spacing: 2px; }
.verified {
  display: inline-block;
  margin-top: 15px;
  font-size: 0.9rem;
  color: var(--text-light);
}
.verified i { color: #10b981; }

.guarantee-form-section {
  padding: 60px 0;
  background: var(--primary);
  color: white;
}
.guarantee-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.order-form-block {
  background: white;
  padding: 30px;
  border-radius: var(--radius);
  color: var(--text-dark);
  box-shadow: var(--shadow-md);
}
.inline-order-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 20px;
}
.inline-order-form input {
  padding: 14px 16px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 1rem;
}
.agree-check {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
}
.guarantee-content ul {
  list-style: none;
  margin: 20px 0;
}
.guarantee-content li {
  margin: 10px 0;
}
.guarantee-content i { margin-right: 10px; }

.faq-section {
  padding: 60px 0;
}
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}
.faq-item {
  background: white;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
}
.faq-question {
  padding: 18px 20px;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  cursor: pointer;
  background: #f9f9f9;
  border-radius: var(--radius-sm);
}
.faq-answer {
  padding: 0 20px 18px;
  display: none;
  color: var(--text-light);
}
.faq-item.active .faq-answer { display: block; }
.faq-item.active .faq-question i { transform: rotate(45deg); }

.site-footer {
  background: #0f172a;
  color: #cbd5e1;
  padding: 50px 0 20px;
  margin-top: auto;
}
.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.footer-logo {
  margin-bottom: 30px;
}
.footer-logo a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: white;
}
.footer-contact p {
  margin: 5px 0;
}
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
  margin: 25px 0;
}
.footer-legal a {
  color: #cbd5e1;
  text-decoration: underline;
}
.footer-legal a:hover {
  color: white;
}
.footer-disclaimer {
  margin: 30px 0;
  font-size: 0.9rem;
  border-top: 1px solid #334155;
  padding-top: 30px;
}
.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #334155;
}

.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: var(--primary);
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
  z-index: 99;
}
.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.legal-page {
  padding: 60px 0;
}
.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px;
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.legal-content h1 { font-size: 2rem; margin-bottom: 1.5rem; }
.legal-content h2 { font-size: 1.6rem; margin: 1.5rem 0 1rem; }
.legal-content h3 { font-size: 1.3rem; margin: 1rem 0; }
.legal-content p { margin-bottom: 1rem; line-height: 1.6; }
.legal-content ul { margin-left: 1.5rem; margin-bottom: 1rem; }

@media (max-width: 768px) {
  .hero-grid, .problem-grid, .guarantee-form-grid {
    grid-template-columns: 1fr;
  }
  .steps-grid, .testimonials-grid, .pricing-grid {
    grid-template-columns: 1fr;
  }
  .faq-grid { grid-template-columns: 1fr; }
  .header-container { flex-direction: column; gap: 10px; }
  .hero-features { grid-template-columns: 1fr; }
  .footer-legal { justify-content: center; }
}

.thanks-page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
.thanks-main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}
.thanks-container {
  background: white;
  max-width: 600px;
  width: 100%;
  padding: 50px 30px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  text-align: center;
}
.thanks-logo {
  margin-bottom: 30px;
}
.thanks-logo img {
  width: 80px;
  height: 80px;
  margin: 0 auto;
}
.thanks-content h2 {
  color: var(--primary);
  margin-bottom: 20px;
}
.thanks-content p {
  margin-bottom: 15px;
  font-size: 1.1rem;
}