:root {
  --primary-color: #2563eb;
  --primary-hover: #1d4ed8;
  --secondary-color: #0d9488;
  --text-color: #1e293b;
  --text-light: #64748b;
  --bg-color: #f8fafc;
  --card-bg: #ffffff;
  --border-radius: 8px;
  --box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
  --header-height: auto;
  --accent-light: #f0fdfa;
}

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

html {
  scroll-behavior: smooth;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

body {
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.6;
}

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

/* Header */
.header {
  background-color: var(--card-bg);
  border-bottom: 1px solid #e2e8f0;
  position: sticky;
  top: 0;
  z-index: 1000;
  min-height: 64px;
  display: flex;
  align-items: center;
  padding: 12px 0;
}

.header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  gap: 16px 24px;
  flex-wrap: wrap;
}

.logo {
  font-size: clamp(1.0625rem, 2.5vw, 1.375rem);
  font-weight: 700;
  color: var(--text-color);
  text-decoration: none;
  letter-spacing: -0.02em;
  line-height: 1.2;
  flex-shrink: 0;
  max-width: 100%;
}

.logo-mark {
  color: inherit;
}

.header-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  justify-content: flex-end;
  align-items: center;
  flex: 1 1 auto;
  min-width: min(100%, 280px);
}

.header-nav a {
  text-decoration: none;
  color: var(--text-color);
  font-weight: 500;
  font-size: 0.9375rem;
  white-space: nowrap;
  transition: color 0.2s;
}

.header-nav a:hover {
  color: var(--primary-color);
}

/* Hero Section */
.hero {
  padding: 72px 0;
  background: #fff;
  border-bottom: 1px solid #e2e8f0;
}

.hero .container {
  display: flex;
  gap: 50px;
  align-items: center;
}

.hero-content {
  flex: 1;
}

.hero-badge {
  display: inline-block;
  background-color: var(--secondary-color);
  color: white;
  padding: 6px 12px;
  border-radius: 20px;
  font-weight: bold;
  font-size: 14px;
  margin-bottom: 20px;
  letter-spacing: 1px;
}

.hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  line-height: 1.25;
  margin-bottom: 20px;
  color: var(--text-color);
  font-weight: 700;
}

.subtitle {
  font-size: 20px;
  color: var(--text-light);
  margin-bottom: 24px;
}

.checkout-disclosure {
  font-size: 0.8125rem;
  color: var(--text-light);
  line-height: 1.55;
  max-width: 36rem;
  margin-bottom: 28px;
  padding: 14px 16px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: var(--border-radius);
}

.footer-regulatory {
  font-size: 0.6875rem;
  line-height: 1.55;
  color: #64748b;
  margin-top: 10px;
}

.footer-regulatory p {
  margin: 0;
}

.hero-image {
  flex: 1;
  position: relative;
}

.hero-image img {
  width: 100%;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  display: block;
}

/* Buttons */
.btn-primary {
  display: inline-block;
  background-color: var(--primary-color);
  color: white;
  padding: 14px 28px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  transition: background-color 0.2s;
  box-shadow: none;
  cursor: pointer;
  border: none;
}

.btn-primary:hover {
  background-color: var(--primary-hover);
}

.btn-cta {
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  display: block;
  font-size: 20px;
  padding: 20px;
}

/* Sections */
section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px;
}

.section-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 15px;
  color: var(--text-color);
}

.section-subtitle {
  font-size: 18px;
  color: var(--text-light);
}

/* Product Info */
.product-grid {
  display: flex;
  gap: 50px;
  align-items: flex-start;
}

.product-image {
  flex: 1;
}

.product-image img {
  width: 100%;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.product-info {
  flex: 1;
}

.product-info h2 {
  font-size: 32px;
  margin-bottom: 20px;
}

.product-description, .product-comfort-info p {
  margin-bottom: 20px;
  color: var(--text-light);
}

.feature {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
  background: white;
  padding: 20px 20px 20px 18px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  border-left: 3px solid var(--secondary-color);
}

.feature-icon {
  font-size: 30px;
}

.feature-text strong {
  display: block;
  margin-bottom: 5px;
  font-size: 18px;
}

/* Benefits Grid */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.benefit-item {
  background: white;
  padding: 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  text-align: center;
  transition: transform 0.3s;
}

.benefit-item:hover {
  transform: none;
}

.benefit-icon {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 12px;
  line-height: 1;
}

.benefit-item h3 {
  margin-bottom: 15px;
}

/* Steps */
.application-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.step-item {
  text-align: center;
  background: white;
  padding: 40px 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  position: relative;
}

.step-number {
  width: 50px;
  height: 50px;
  background: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: bold;
  margin: 0 auto 20px;
}

/* FAQ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: white;
  padding: 25px;
  border-radius: var(--border-radius);
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}

.faq-item h3 {
  color: var(--primary-color);
  margin-bottom: 10px;
}

/* Guarantee */
.guarantee {
  background-color: #0f172a;
  color: #f1f5f9;
}

.guarantee .section-title {
  color: white;
}

.guarantee-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.guarantee-item {
  text-align: center;
  padding: 30px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius);
}

.guarantee-icon {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
  opacity: 0.85;
}

.guarantee-item p {
  color: rgba(255, 255, 255, 0.8);
}

/* Legal Pages Styling */
.legal-page {
  padding: 100px 0;
  background: white;
}
.legal-content h1 {
  font-size: 36px;
  margin-bottom: 30px;
  color: var(--text-color);
}
.legal-content h2 {
  font-size: 24px;
  margin: 30px 0 15px;
  color: var(--text-color);
}
.legal-content p, .legal-content ul {
  margin-bottom: 20px;
  color: var(--text-light);
}
.legal-content ul {
  padding-left: 20px;
}

/* Footer */
.footer {
  background-color: #0f172a;
  color: #cbd5e1;
  padding: 0;
  margin-top: 0;
  border-top: 4px solid var(--secondary-color);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.35fr 1fr 0.9fr;
  gap: 32px 40px;
  padding: 48px 0 40px;
}

.footer-legal-card {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid #334155;
  border-radius: var(--border-radius);
  padding: 24px 28px;
}

.footer-legal-card h3 {
  color: #f8fafc;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #475569;
}

.footer-legal-dl {
  display: grid;
  gap: 12px 16px;
}

.footer-legal-dl > div {
  display: grid;
  gap: 4px;
}

.footer-legal-dl dt {
  font-size: 0.75rem;
  color: #94a3b8;
  font-weight: 500;
}

.footer-legal-dl dd {
  font-size: 0.8125rem;
  color: #e2e8f0;
  line-height: 1.5;
  margin: 0;
}

.footer-section-title {
  color: #f8fafc;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.footer-note {
  font-size: 0.8125rem;
  line-height: 1.65;
  color: #94a3b8;
  margin-bottom: 14px;
}

.footer-note:last-child {
  margin-bottom: 0;
}

.footer-legal-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-legal-links li {
  margin-bottom: 10px;
}

.footer-legal-links a {
  color: #cbd5e1;
  text-decoration: none;
  font-size: 0.875rem;
  border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.footer-legal-links a:hover {
  color: #f8fafc;
  border-bottom-color: var(--secondary-color);
}

.footer-email {
  font-size: 0.875rem;
  color: #e2e8f0;
  word-break: break-all;
}

.footer-bottom {
  border-top: 1px solid #334155;
  padding: 20px 0 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-disclaimer {
  font-size: 0.75rem;
  line-height: 1.6;
  color: #64748b;
  max-width: 900px;
}

.footer-copy {
  font-size: 0.75rem;
  color: #64748b;
}

.footer-copy p {
  margin: 0;
}

/* Mobile Breakpoints */
@media (max-width: 768px) {
  .hero .container, .product-grid {
    flex-direction: column;
  }
  .footer-inner {
    grid-template-columns: 1fr;
    padding-top: 32px;
  }
  .header-top {
    flex-direction: column;
    align-items: stretch;
  }
  .header-nav {
    justify-content: flex-start;
    min-width: 0;
  }
  .header-nav a {
    white-space: normal;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
  .footer-inner > :first-child {
    grid-column: 1 / -1;
  }
}
