@font-face {
  font-family: "Space Grotesk";
  src: url(../fonts/SpaceGrotesk-VariableFont_wght.ttf);
  font-display: swap;
}
:root {
  --primary: #1e3c72;
  --primary-light: #2a5298;
  --accent: #f39c12;
  --text-dark: #1e2a3a;
  --text-light: #4a5a6a;
  --bg-light: #f8faff;
  --white: #ffffff;
  --shadow: 0 10px 30px rgba(0,0,0,0.05);
  --border-radius: 16px;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-heading: 'Space Grotesk', 'Inter', sans-serif;
}

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

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

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

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 40px;
  font-weight: 600;
  font-family: var(--font-heading);
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 12px rgba(30,60,114,0.2);
}

.btn i {
  font-size: 0.9em;
  transition: transform 0.2s;
}

.btn:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(30,60,114,0.3);
}

.btn:hover i {
  transform: translateX(4px);
}

.btn-primary {
  background: linear-gradient(145deg, var(--primary), var(--primary-light));
}

.btn-large {
  padding: 16px 36px;
  font-size: 1.2rem;
}

.btn-block {
  display: flex;
  justify-content: center;
  width: 100%;
}

.site-header {
  background: var(--white);
  padding: 16px 32px;
  box-shadow: var(--shadow);
}

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

.logo a {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo img {
  border-radius: 12px;
}

.logo span {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.4rem;
  color: var(--primary);
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo-line1 {
  font-size: 1.2rem;
}

.logo-line2 {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--text-light);
}

.header-notice {
  background: var(--bg-light);
  padding: 8px 16px;
  border-radius: 40px;
  font-size: 0.85rem;
  color: var(--text-light);
  border: 1px solid rgba(0,0,0,0.05);
}

main {
  flex: 1;
  max-width: 1280px;
  margin: 40px auto;
  padding: 0 24px;
  width: 100%;
}

.hero {
  margin-bottom: 40px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  background: var(--white);
  border-radius: var(--border-radius);
  padding: 32px;
  box-shadow: var(--shadow);
}

.breadcrumb {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 16px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 2.8rem);
  line-height: 1.2;
  margin-bottom: 16px;
}

.hero-title .highlight {
  background: linear-gradient(120deg, #ffe6b3 0%, #ffe6b3 70%);
  background-size: 100% 30%;
  background-repeat: no-repeat;
  background-position: 0 85%;
}

.hero-author {
  font-weight: 500;
  margin-bottom: 8px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  background: #eef2f6;
  border-radius: 40px;
  padding: 6px 16px;
  font-size: 0.85rem;
  margin-bottom: 20px;
}

.green-dot {
  width: 10px;
  height: 10px;
  background: #2ecc71;
  border-radius: 50%;
  margin-right: 8px;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% { opacity: 0.7; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.2); }
  100% { opacity: 0.7; transform: scale(1); }
}

.hero-lead {
  font-size: 1.1rem;
  margin-bottom: 28px;
  color: var(--text-dark);
}

.hero-image img {
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  object-fit: cover;
  width: 100%;
  height: auto;
  aspect-ratio: 3/2;
}

.content-wrapper {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
  margin-top: 20px;
}

.main-column {
  min-width: 0;
}

.story-article {
  background: var(--white);
  border-radius: var(--border-radius);
  padding: 32px;
  box-shadow: var(--shadow);
  margin-bottom: 32px;
}

.story-article p {
  margin-bottom: 1.5rem;
  color: var(--text-dark);
}

.dropcap::first-letter {
  font-size: 3.5em;
  float: left;
  line-height: 0.8;
  margin-right: 10px;
  color: var(--primary);
  font-weight: 700;
}

.story-article h2 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  margin: 2rem 0 1rem;
  color: var(--primary);
}

.article-img {
  border-radius: var(--border-radius);
  margin: 24px 0;
  width: 100%;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.testimonial-card {
  background: linear-gradient(145deg, #f1f5f9, #ffffff);
  border-radius: var(--border-radius);
  padding: 24px;
  margin: 32px 0;
  border-left: 4px solid var(--accent);
}

.testimonial-stars {
  color: #f1c40f;
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.testimonial-text {
  font-style: italic;
  font-size: 1.1rem;
}

.testimonial-author {
  font-weight: 600;
  margin-top: 12px;
}

.expert-quote {
  background: var(--primary);
  color: white;
  padding: 24px;
  border-radius: var(--border-radius);
  margin: 32px 0;
  position: relative;
}

.expert-quote i {
  font-size: 2rem;
  opacity: 0.5;
  margin-bottom: 12px;
  color: white;
}

.expert-quote p {
  font-size: 1.2rem;
  margin-bottom: 8px;
  color: white;
}

.expert-quote span {
  font-weight: 300;
  opacity: 0.9;
  color: white;
}

.features-section,
.testimonials-section,
.form-section {
  background: var(--white);
  border-radius: var(--border-radius);
  padding: 32px;
  box-shadow: var(--shadow);
  margin-bottom: 32px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2rem;
  margin-bottom: 32px;
  position: relative;
}

.section-title span {
  color: var(--primary);
  position: relative;
}

.section-title span::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0;
  width: 100%;
  height: 6px;
  background: var(--accent);
  opacity: 0.3;
  z-index: -1;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.feature-item {
  text-align: center;
  padding: 20px;
  background: var(--bg-light);
  border-radius: 20px;
  transition: transform 0.2s;
}

.feature-item:hover {
  transform: translateY(-5px);
}

.feature-item i {
  font-size: 2.2rem;
  color: var(--primary);
  margin-bottom: 16px;
}

.feature-item h3 {
  font-family: var(--font-heading);
  margin-bottom: 8px;
  font-size: 1.2rem;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial {
  background: var(--bg-light);
  padding: 24px;
  border-radius: 20px;
}

.testimonial .stars {
  color: #f1c40f;
  margin-bottom: 12px;
}

.testimonial p {
  margin-bottom: 16px;
  font-style: italic;
}

.testimonial .name {
  font-weight: 600;
  color: var(--primary);
}

.form-container {
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 6px;
  font-weight: 500;
}

.form-group input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #ddd;
  border-radius: 40px;
  font-family: inherit;
  font-size: 1rem;
  transition: border 0.2s;
}

.form-group input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(30,60,114,0.1);
}

.checkbox-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.checkbox-group input {
  width: 20px;
  height: 20px;
}

.form-note {
  text-align: center;
  margin-top: 16px;
  font-size: 0.9rem;
  color: var(--text-light);
}

.sidebar {
  position: relative;
}

.sticky-sidebar {
  position: sticky;
  top: 24px;
}

.product-card {
  background: var(--white);
  border-radius: var(--border-radius);
  padding: 28px 20px;
  box-shadow: var(--shadow);
  text-align: center;
  border: 1px solid rgba(0,0,0,0.05);
}

.product-badge {
  background: var(--accent);
  color: white;
  display: inline-block;
  padding: 4px 16px;
  border-radius: 40px;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 12px;
}

.product-rating {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 16px;
}

.product-title {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 16px;
}

.product-image {
  margin: 0 auto 20px;
  max-width: 200px;
  border-radius: 20px;
}

.product-features {
  list-style: none;
  text-align: left;
  margin-bottom: 24px;
}

.product-features li {
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.product-features i {
  color: var(--primary);
  width: 20px;
}

.product-price {
  margin-bottom: 20px;
}

.old-price {
  text-decoration: line-through;
  color: var(--text-light);
  margin-right: 8px;
}

.current-price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
}

.discount {
  background: #e74c3c;
  color: white;
  padding: 2px 8px;
  border-radius: 40px;
  font-size: 0.8rem;
  margin-left: 8px;
}

.shipping-info {
  margin: 16px 0 8px;
  font-size: 0.9rem;
}

.stock-warning {
  color: #e67e22;
  font-weight: 500;
  font-size: 0.9rem;
}

.site-footer {
  background: var(--primary);
  color: rgba(255,255,255,0.9);
  padding: 40px 32px 20px;
  margin-top: auto;
}

.footer-content {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  margin-bottom: 32px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-logo img {
  border-radius: 12px;
  background: white;
  padding: 4px;
}

.footer-logo span {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
}

.footer-contact p {
  margin-bottom: 4px;
  font-size: 0.95rem;
}

.footer-legal {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-legal a {
  color: rgba(255,255,255,0.9);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.footer-legal a:hover {
  color: white;
}

.footer-disclaimer {
  max-width: 1280px;
  margin: 0 auto 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.2);
  font-size: 0.9rem;
  line-height: 1.5;
  color: rgba(255,255,255,0.7);
}

.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  text-align: center;
  font-size: 0.9rem;
  opacity: 0.8;
}

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

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px;
  background: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

.legal-content h1 {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  margin-bottom: 24px;
  color: var(--primary);
}

.legal-content h2 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  margin: 2rem 0 1rem;
  color: var(--primary);
}

.legal-content h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  margin: 1.5rem 0 1rem;
  color: var(--primary);
}

.legal-content p {
  margin-bottom: 1.2rem;
  line-height: 1.6;
}

.legal-content ul {
  margin: 1rem 0 1.5rem 1.5rem;
}

.legal-content li {
  margin-bottom: 0.5rem;
}

@media (max-width: 1024px) {
  .content-wrapper {
    grid-template-columns: 1fr;
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hero-grid {
    grid-template-columns: 1fr;
    padding: 20px;
  }
  .header-container {
    flex-direction: column;
    align-items: flex-start;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  .footer-content {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  main {
    padding: 0 16px;
  }
  .btn {
    padding: 10px 20px;
  }
  .section-title {
    font-size: 1.6rem;
  }
}
.legal-content {
  word-break: break-word;
}