@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&family=Playfair+Display:wght@400;500;600;700&display=swap');

:root {
  --purple-50: #faf5ff;
  --purple-100: #f3e8ff;
  --purple-200: #e9d5ff;
  --purple-300: #d8b4fe;
  --purple-400: #c084fc;
  --purple-500: #a855f7;
  --purple-600: #9333ea;
  --purple-700: #7e22ce;
  --purple-800: #6b21a8;
  --purple-900: #581c87;
  --gray-50: #fafafa;
  --gray-100: #f4f4f5;
  --gray-200: #e4e4e7;
  --gray-300: #d4d4d8;
  --gray-400: #a1a1aa;
  --gray-500: #71717a;
  --gray-600: #52525b;
  --gray-700: #3f3f46;
  --gray-800: #27272a;
  --gray-900: #18181b;
  --white: #ffffff;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 32px rgba(0,0,0,0.1);
  --shadow-xl: 0 20px 50px rgba(0,0,0,0.12);
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 20px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::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(--gray-800);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.25; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }

a { color: var(--purple-600); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--purple-800); }

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

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

/* ─── HEADER ─── */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--gray-200);
  transition: box-shadow var(--transition);
}
.site-header.scrolled { box-shadow: var(--shadow-md); }

.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1200px; margin: 0 auto; padding: 0 24px; height: 72px;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.5rem; font-weight: 700;
  color: var(--purple-700);
  letter-spacing: -0.5px;
  display: flex; align-items: center; gap: 8px;
}
.logo span { color: var(--purple-500); }
.logo-icon {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--purple-500), var(--purple-700));
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 1.1rem; font-weight: 700;
}

nav { display: flex; align-items: center; gap: 4px; }
nav a {
  padding: 8px 16px; border-radius: var(--radius-sm);
  font-size: 0.9rem; font-weight: 500;
  color: var(--gray-600);
  transition: all var(--transition);
}
nav a:hover, nav a.active {
  color: var(--purple-700); background: var(--purple-50);
}

.mobile-toggle {
  display: none; background: none; border: none; cursor: pointer;
  width: 40px; height: 40px;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.mobile-toggle span {
  display: block; width: 22px; height: 2px;
  background: var(--gray-700); border-radius: 2px;
  transition: all var(--transition);
}

/* ─── HERO ─── */
.hero {
  background: linear-gradient(160deg, var(--purple-50) 0%, var(--white) 40%, var(--purple-100) 100%);
  padding: 80px 0 60px;
  position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; top: -200px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(168,85,247,0.08), transparent 70%);
  border-radius: 50%;
}
.hero-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
}
.hero-text h1 { color: var(--gray-900); margin-bottom: 20px; }
.hero-text h1 em { font-style: normal; color: var(--purple-600); }
.hero-text p { font-size: 1.1rem; color: var(--gray-500); margin-bottom: 28px; max-width: 500px; }
.hero-price {
  font-size: 2rem; font-weight: 700; color: var(--purple-700);
  margin-bottom: 24px;
}
.hero-price small { font-size: 0.9rem; color: var(--gray-400); font-weight: 400; }

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; border-radius: 50px;
  font-family: var(--font-body); font-size: 0.95rem; font-weight: 600;
  border: none; cursor: pointer; transition: all var(--transition);
  text-decoration: none;
}
.btn-primary {
  background: linear-gradient(135deg, var(--purple-600), var(--purple-700));
  color: white;
  box-shadow: 0 4px 16px rgba(147,51,234,0.3);
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--purple-700), var(--purple-800));
  box-shadow: 0 6px 24px rgba(147,51,234,0.4);
  transform: translateY(-2px); color: white;
}
.btn-outline {
  background: transparent;
  border: 2px solid var(--purple-300);
  color: var(--purple-700);
}
.btn-outline:hover {
  background: var(--purple-50); border-color: var(--purple-500);
  color: var(--purple-700);
}

/* ─── SECTIONS ─── */
.section { padding: 80px 0; }
.section-alt { background: var(--gray-50); }
.section-purple { background: linear-gradient(135deg, var(--purple-700), var(--purple-900)); color: white; }
.section-header { text-align: center; margin-bottom: 48px; }
.section-header h2 { margin-bottom: 12px; }
.section-header p { color: var(--gray-500); font-size: 1.05rem; max-width: 600px; margin: 0 auto; }
.section-purple .section-header p { color: rgba(255,255,255,0.7); }

/* ─── PRODUCT GALLERY ─── */
.gallery-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.gallery-item {
  border-radius: var(--radius);
  overflow: hidden; background: var(--gray-100);
  aspect-ratio: 1;
  transition: transform var(--transition), box-shadow var(--transition);
}
.gallery-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; }

/* ─── BENEFITS ─── */
.benefits-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 24px;
}
.benefit-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 32px; transition: all var(--transition);
}
.benefit-card:hover {
  border-color: var(--purple-300);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.benefit-icon {
  width: 48px; height: 48px;
  background: var(--purple-100);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; margin-bottom: 16px;
}
.benefit-card h3 { font-size: 1.1rem; margin-bottom: 8px; font-family: var(--font-body); font-weight: 600; }
.benefit-card p { color: var(--gray-500); font-size: 0.9rem; }

/* ─── REVIEWS ─── */
.reviews-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px;
}
.review-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 28px; transition: all var(--transition);
}
.review-card:hover { box-shadow: var(--shadow-md); }
.review-stars { color: #f59e0b; font-size: 0.9rem; margin-bottom: 12px; letter-spacing: 2px; }
.review-text { font-size: 0.95rem; color: var(--gray-600); margin-bottom: 16px; line-height: 1.6; font-style: italic; }
.review-author { font-weight: 600; color: var(--gray-800); font-size: 0.9rem; }
.review-city { color: var(--gray-400); font-size: 0.8rem; }

/* ─── FAQ ─── */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--gray-200); padding: 20px 0;
}
.faq-q {
  display: flex; justify-content: space-between; align-items: center;
  cursor: pointer; font-weight: 600; color: var(--gray-800);
  font-size: 1.02rem;
}
.faq-q::after { content: '+'; font-size: 1.4rem; color: var(--purple-500); transition: transform var(--transition); }
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-a {
  max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.3s ease;
  color: var(--gray-500); font-size: 0.95rem; line-height: 1.7;
}
.faq-item.open .faq-a { max-height: 300px; padding-top: 12px; }

/* ─── ORDER FORM ─── */
.order-form {
  max-width: 560px; margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-200);
}
.order-form h3 { text-align: center; margin-bottom: 24px; }
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block; font-size: 0.85rem; font-weight: 500;
  color: var(--gray-600); margin-bottom: 6px;
}
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 12px 16px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-family: var(--font-body); font-size: 0.95rem;
  transition: border-color var(--transition), box-shadow var(--transition);
  background: var(--white);
}
.form-group input:focus, .form-group textarea:focus {
  outline: none; border-color: var(--purple-400);
  box-shadow: 0 0 0 3px rgba(168,85,247,0.1);
}
.form-group textarea { resize: vertical; min-height: 80px; }
.form-submit { text-align: center; margin-top: 24px; }
.form-submit .btn { width: 100%; justify-content: center; }

/* ─── CONTACT INFO ─── */
.contact-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 32px;
}
.contact-card {
  text-align: center; padding: 32px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--gray-200);
}
.contact-card .icon {
  width: 56px; height: 56px; margin: 0 auto 16px;
  background: var(--purple-100); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
}
.contact-card h4 { margin-bottom: 8px; font-family: var(--font-body); font-weight: 600; }
.contact-card p { color: var(--gray-500); font-size: 0.9rem; }
.contact-card a { color: var(--purple-600); }

/* ─── FOOTER ─── */
.site-footer {
  background: var(--gray-900); color: var(--gray-400);
  padding: 60px 0 0;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px;
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
}
.footer-brand .logo { color: var(--purple-300); margin-bottom: 16px; }
.footer-brand .logo span { color: var(--purple-400); }
.footer-brand .logo-icon { background: linear-gradient(135deg, var(--purple-400), var(--purple-600)); }
.footer-brand p { font-size: 0.9rem; line-height: 1.7; max-width: 300px; }
.footer-col h4 {
  color: var(--gray-200); font-family: var(--font-body);
  font-size: 0.85rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 1px;
  margin-bottom: 16px;
}
.footer-col a {
  display: block; color: var(--gray-400); font-size: 0.9rem;
  padding: 4px 0; transition: color var(--transition);
}
.footer-col a:hover { color: var(--purple-300); }
.footer-bottom {
  border-top: 1px solid var(--gray-800);
  margin-top: 48px; padding: 20px 24px;
  max-width: 1200px; margin-left: auto; margin-right: auto;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.8rem;
}
.footer-bottom a { color: var(--gray-500); }
.footer-bottom a:hover { color: var(--purple-300); }

/* ─── COOKIE BANNER ─── */
.cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0;
  background: var(--gray-900);
  color: var(--gray-300);
  padding: 20px 24px;
  z-index: 9999;
  display: none;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
}
.cookie-banner.show { display: block; }
.cookie-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
}
.cookie-inner p { font-size: 0.85rem; flex: 1; min-width: 200px; }
.cookie-inner p a { color: var(--purple-300); }
.cookie-btns { display: flex; gap: 12px; }
.cookie-btns button {
  padding: 10px 24px; border-radius: 50px; border: none; cursor: pointer;
  font-family: var(--font-body); font-size: 0.85rem; font-weight: 600;
  transition: all var(--transition);
}
.cookie-accept {
  background: var(--purple-600); color: white;
}
.cookie-accept:hover { background: var(--purple-700); }
.cookie-decline {
  background: var(--gray-700); color: var(--gray-300);
}
.cookie-decline:hover { background: var(--gray-600); }

/* ─── PAGE HERO (sub pages) ─── */
.page-hero {
  background: linear-gradient(160deg, var(--purple-700), var(--purple-900));
  padding: 48px 0;
  color: white; text-align: center;
}
.page-hero h1 { color: white; margin-bottom: 8px; }
.page-hero p { color: rgba(255,255,255,0.7); font-size: 1rem; }

/* ─── CONTENT PAGE ─── */
.content-page { padding: 60px 0; }
.content-page .container { max-width: 860px; }
.content-page h2 { margin: 32px 0 16px; color: var(--gray-900); font-size: 1.4rem; }
.content-page h3 { margin: 24px 0 12px; color: var(--gray-800); font-size: 1.15rem; }
.content-page p { margin-bottom: 16px; color: var(--gray-600); }
.content-page ul, .content-page ol { margin: 0 0 16px 24px; color: var(--gray-600); }
.content-page li { margin-bottom: 8px; }

/* ─── SUCCESS PAGE ─── */
.success-box {
  text-align: center; padding: 80px 24px;
  max-width: 560px; margin: 60px auto;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-lg);
}
.success-icon {
  width: 80px; height: 80px; margin: 0 auto 24px;
  background: linear-gradient(135deg, #10b981, #059669);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 2.2rem; color: white;
}
.success-box h1 { font-size: 1.8rem; margin-bottom: 16px; }
.success-box p { color: var(--gray-500); font-size: 1rem; margin-bottom: 24px; }

/* ─── PRODUCT DETAIL ─── */
.product-detail {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start;
}
.product-images { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.product-images .main-img { grid-column: 1 / -1; border-radius: var(--radius); overflow: hidden; background: var(--gray-100); }
.product-images .thumb { border-radius: var(--radius-sm); overflow: hidden; background: var(--gray-100); cursor: pointer; }
.product-info h1 { margin-bottom: 16px; }
.product-info .price { font-size: 2rem; font-weight: 700; color: var(--purple-700); margin-bottom: 20px; }
.product-info .desc { color: var(--gray-500); margin-bottom: 24px; line-height: 1.7; }
.spec-list { list-style: none; padding: 0; margin-bottom: 28px; }
.spec-list li {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 0; border-bottom: 1px solid var(--gray-100);
  font-size: 0.92rem; color: var(--gray-600);
}
.spec-list li::before {
  content: '✓'; display: flex; align-items: center; justify-content: center;
  width: 24px; height: 24px;
  background: var(--purple-100); color: var(--purple-600);
  border-radius: 50%; font-size: 0.7rem; font-weight: 700; flex-shrink: 0;
}

/* ─── TABLE ─── */
.info-table {
  width: 100%; border-collapse: collapse; margin: 24px 0;
}
.info-table th, .info-table td {
  padding: 12px 16px; text-align: left;
  border-bottom: 1px solid var(--gray-200); font-size: 0.92rem;
}
.info-table th { background: var(--purple-50); color: var(--gray-700); font-weight: 600; }
.info-table td { color: var(--gray-600); }

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  .hero-inner, .product-detail { grid-template-columns: 1fr; gap: 32px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  nav { 
    display: none; position: fixed; top: 72px; left: 0; right: 0;
    background: var(--white); flex-direction: column;
    padding: 16px; border-bottom: 1px solid var(--gray-200);
    box-shadow: var(--shadow-lg);
  }
  nav.open { display: flex; }
  .mobile-toggle { display: flex; }
  .hero { padding: 48px 0 32px; }
  .section { padding: 48px 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 8px; }
  .cookie-inner { flex-direction: column; text-align: center; }
  .order-form { padding: 24px; }
  .contact-grid { grid-template-columns: 1fr; }
}
