:root {
  /* Colors */
  --color-bg-main: #FAF7F2;
  --color-bg-white: #FFFFFF;
  --color-text-main: #1F1F1F;
  --color-text-muted: #6B6B6B;
  --color-brand: #D8A7A7;
  --color-brand-light: #E9E2F4;
  --color-border: rgba(0, 0, 0, 0.08);
  --color-cta: #1F1F1F;
  --color-cta-text: #FFFFFF;
  --color-cta-hover: #333333;

  /* Typography */
  --font-heading: 'Fraunces', serif;
  --font-body: 'Inter', sans-serif;

  /* Shadows */
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.03);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.02);
  
  /* Borders */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 24px;
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
}

/* Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--color-text-main);
  background-color: var(--color-bg-main);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

ul {
  list-style: none;
}

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* Layout */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(250, 247, 242, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: all var(--transition-normal);
}

.header.scrolled {
  background-color: rgba(250, 247, 242, 0.95);
  border-bottom: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo img {
  height: 32px;
}

.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-text-muted);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--color-text-main);
}

/* Mobile Menu */
.menu-toggle {
  display: none;
  font-size: 1.5rem;
  color: var(--color-text-main);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 100px;
  font-weight: 500;
  font-size: 0.95rem;
  transition: all var(--transition-fast);
  text-align: center;
}

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

.btn-primary:hover {
  background-color: var(--color-cta-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background-color: var(--color-bg-white);
  color: var(--color-text-main);
  border: 1px solid var(--color-border);
}

.btn-secondary:hover {
  border-color: var(--color-text-main);
}

.btn-block {
  width: 100%;
}

/* Badges */
.badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background-color: var(--color-brand-light);
  color: var(--color-text-main);
  margin-bottom: 16px;
}

/* Hero Section */
.hero {
  padding: 160px 0 80px;
  text-align: center;
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.1;
  margin-bottom: 24px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.hero p {
  font-size: 1.125rem;
  color: var(--color-text-muted);
  max-width: 600px;
  margin: 0 auto 40px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  align-items: center;
}

/* Problem Section */
.section-problem {
  padding: 80px 0;
  background-color: var(--color-bg-white);
  text-align: center;
}

.section-problem .container {
  max-width: 800px;
}

.section-problem h2 {
  font-family: var(--font-heading);
  font-size: 2rem;
  margin-bottom: 24px;
}

.section-problem p {
  font-size: 1.125rem;
  color: var(--color-text-muted);
}

/* Featured Product */
.featured-product {
  padding: 80px 0;
}

.product-card-large {
  background-color: var(--color-bg-white);
  border-radius: var(--radius-lg);
  padding: 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
}

.product-image-wrapper {
  border-radius: var(--radius-md);
  overflow: hidden;
  background-color: var(--color-bg-main);
  aspect-ratio: 4/5;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.product-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.5s ease;
}

.product-card-large:hover .product-image-wrapper img {
  transform: scale(1.02);
}

.product-info h3 {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  margin-bottom: 16px;
}

.price-box {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.price {
  font-size: 1.5rem;
  font-weight: 600;
}

.old-price {
  font-size: 1.125rem;
  color: var(--color-text-muted);
  text-decoration: line-through;
}

.product-details {
  margin-bottom: 32px;
}

.product-details h4 {
  font-size: 1rem;
  margin-bottom: 12px;
  font-weight: 600;
}

.product-details ul {
  color: var(--color-text-muted);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.product-details ul li {
  position: relative;
  padding-left: 20px;
}

.product-details ul li::before {
  content: "•";
  color: var(--color-brand);
  position: absolute;
  left: 0;
  font-weight: bold;
}

/* Benefits Section */
.benefits {
  padding: 80px 0;
  background-color: var(--color-bg-white);
}

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

.benefit-card {
  padding: 32px;
  background-color: var(--color-bg-main);
  border-radius: var(--radius-md);
  text-align: center;
  transition: transform var(--transition-normal);
}

.benefit-card:hover {
  transform: translateY(-4px);
}

.benefit-card h4 {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  color: var(--color-text-main);
}

/* Preview Section */
.preview-section {
  padding: 80px 0;
  text-align: center;
}

.preview-section h2 {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  margin-bottom: 48px;
}

.mockup-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-bottom: 32px;
}

.mockup-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.mockup-item img {
  width: 100%;
  height: auto;
  display: block;
}

.preview-note {
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

/* Target Audience Section */
.target-audience {
  padding: 80px 0;
  background-color: var(--color-brand-light);
  text-align: center;
}

.target-audience h2 {
  font-family: var(--font-heading);
  font-size: 2rem;
  margin-bottom: 32px;
}

.audience-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  max-width: 800px;
  margin: 0 auto;
}

.audience-tag {
  background-color: var(--color-bg-white);
  padding: 12px 24px;
  border-radius: 100px;
  font-weight: 500;
  box-shadow: var(--shadow-sm);
}

/* FAQ Section */
.faq {
  padding: 80px 0;
}

.faq h2 {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 48px;
}

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

.faq-item {
  border-bottom: 1px solid var(--color-border);
  padding: 24px 0;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  font-size: 1.125rem;
  font-weight: 600;
  text-align: left;
  color: var(--color-text-main);
}

.faq-answer {
  margin-top: 16px;
  color: var(--color-text-muted);
  display: none;
  line-height: 1.6;
}

.faq-item.active .faq-answer {
  display: block;
}

.faq-icon {
  font-size: 1.5rem;
  font-weight: 300;
  transition: transform var(--transition-normal);
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

/* Store Grid */
.page-header {
  padding: 140px 0 60px;
  text-align: center;
}

.page-header h1 {
  font-family: var(--font-heading);
  font-size: 3rem;
  margin-bottom: 16px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 80px;
}

.product-card {
  background-color: var(--color-bg-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-border);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.product-card .product-image-wrapper {
  aspect-ratio: 1;
  border-radius: 0;
}

.product-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-card h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.product-card .price {
  font-size: 1.125rem;
  margin-bottom: 16px;
}

.product-card .btn {
  margin-top: auto;
}

.product-card.unavailable {
  opacity: 0.7;
}

.product-card.unavailable .badge {
  background-color: var(--color-border);
}

/* Product Detail Page */
.product-detail {
  padding: 120px 0 80px;
}

.product-detail-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
}

.product-gallery {
  position: sticky;
  top: 100px;
}

.product-gallery-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background-color: var(--color-bg-white);
  border: 1px solid var(--color-border);
  aspect-ratio: 4/5;
  margin-bottom: 16px;
}

.product-gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-detail-info h1 {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.product-description {
  margin-bottom: 32px;
  color: var(--color-text-muted);
  font-size: 1.1rem;
}

.technical-details {
  background-color: var(--color-bg-white);
  padding: 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  margin-bottom: 32px;
}

.technical-details h4 {
  margin-bottom: 16px;
  font-family: var(--font-heading);
  font-size: 1.25rem;
}

.technical-details ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

.legal-notice {
  background-color: var(--color-brand-light);
  padding: 16px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  color: var(--color-text-main);
  margin-bottom: 32px;
}

.legal-notice strong {
  display: block;
  margin-bottom: 4px;
}

.cgv-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 24px;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.cgv-checkbox input {
  margin-top: 4px;
}

/* Legal Pages */
.legal-page {
  padding: 140px 0 80px;
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
  background-color: var(--color-bg-white);
  padding: 48px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}

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

.legal-content h2 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin: 32px 0 16px;
}

.legal-content p {
  margin-bottom: 16px;
  color: var(--color-text-muted);
}

.legal-content ul {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 16px;
  color: var(--color-text-muted);
}

/* Footer */
.footer {
  background-color: var(--color-bg-white);
  padding: 64px 0 32px;
  border-top: 1px solid var(--color-border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand {
  max-width: 300px;
}

.footer-brand .logo {
  margin-bottom: 16px;
}

.footer-brand p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

.footer-links h4 {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  margin-bottom: 24px;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: var(--color-text-main);
}

.footer-bottom {
  text-align: center;
  padding-top: 32px;
  border-top: 1px solid var(--color-border);
  color: var(--color-text-muted);
  font-size: 0.85rem;
}

/* Toast Notification */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.toast {
  background-color: var(--color-text-main);
  color: var(--color-bg-white);
  padding: 16px 24px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  font-size: 0.95rem;
  transform: translateY(100px);
  opacity: 0;
  transition: all var(--transition-normal);
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* Mobile Bottom Bar (Product Page) */
.mobile-bottom-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--color-bg-white);
  padding: 16px 24px;
  box-shadow: 0 -4px 10px rgba(0,0,0,0.05);
  z-index: 900;
  border-top: 1px solid var(--color-border);
}

.mobile-bottom-bar .inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mobile-bottom-bar .title {
  font-weight: 600;
  font-size: 0.9rem;
}

.mobile-bottom-bar .price {
  color: var(--color-text-muted);
  font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 992px) {
  .hero h1 {
    font-size: 3rem;
  }
  
  .product-card-large {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 32px;
  }
  
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .product-detail-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .product-gallery {
    position: relative;
    top: 0;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }
  
  .nav-links {
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background-color: var(--color-bg-white);
    flex-direction: column;
    padding: 24px;
    gap: 24px;
    box-shadow: var(--shadow-md);
    transform: translateY(-150%);
    opacity: 0;
    transition: all var(--transition-normal);
    z-index: 999;
  }
  
  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
  }
  
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }
  
  .hero-actions .btn {
    width: 100%;
  }
  
  .mockup-grid {
    grid-template-columns: 1fr;
  }
  
  .product-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .mobile-bottom-bar {
    display: block;
  }
  
  .product-detail {
    padding-bottom: 120px;
  }
}
