/* ============================================================
   MYSTRIA — Crystal Bracelet Boutique
   Blue-White Pure Aesthetic | Artistic | Animated | Responsive
   ============================================================ */

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

/* ── CSS Variables ── */
:root {
  --blue-50:  #f0f7ff;
  --blue-100: #dbeafe;
  --blue-200: #bfdbfe;
  --blue-300: #93c5fd;
  --blue-400: #60a5fa;
  --blue-500: #3b82f6;
  --blue-600: #2563eb;
  --blue-700: #1d4ed8;
  --blue-800: #1e40af;
  --blue-900: #1e3a8a;
  --blue-950: #172554;

  --white:    #ffffff;
  --off-white:#f8fafc;
  --ice:      #f0f9ff;
  --frost:    #e0f2fe;

  --text-primary:   #1e3a5f;
  --text-secondary: #64748b;
  --text-muted:     #94a3b8;
  --text-light:     #cbd5e1;

  --gold:      #c8a45c;
  --gold-light:#e4c97b;
  --rose:      #e8a0bf;

  --shadow-sm:  0 1px 3px rgba(30,58,95,0.06);
  --shadow-md:  0 4px 16px rgba(30,58,95,0.08);
  --shadow-lg:  0 8px 40px rgba(30,58,95,0.10);
  --shadow-xl:  0 20px 60px rgba(30,58,95,0.12);
  --shadow-glow:0 0 30px rgba(59,130,246,0.15);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --font-display: 'Playfair Display', 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --transition: 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-slow: 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

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

body {
  font-family: var(--font-body);
  color: var(--text-primary);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
  min-height: 100vh;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: color var(--transition); }
ul { list-style: none; }

/* ── Typography ── */
h1, h2, h3, h4, .font-display {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1.15; }
h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); line-height: 1.2; }
h3 { font-size: clamp(1.3rem, 3vw, 1.6rem); line-height: 1.3; }

/* ── Container ── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.nav-logo .logo-img {
  height: 36px;
  width: auto;
  display: block;
}

.nav-logo .logo-text {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--blue-800);
  letter-spacing: 0.02em;
}

/* ── Navbar ── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(59,130,246,0.08);
  transition: all var(--transition);
}

.navbar.scrolled {
  box-shadow: var(--shadow-md);
  background: rgba(255,255,255,0.95);
}

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

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--blue-800);
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-logo .logo-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--blue-400), var(--blue-600));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1rem;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
  position: relative;
  padding: 4px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--blue-500);
  border-radius: 2px;
  transition: width var(--transition);
}

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

.nav-links a:hover::after, .nav-links a.active::after {
  width: 100%;
}

.nav-cta {
  background: linear-gradient(135deg, var(--blue-500), var(--blue-600));
  color: white !important;
  padding: 10px 24px !important;
  border-radius: 50px;
  transition: all var(--transition) !important;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(37,99,235,0.3);
  color: white !important;
}

.nav-cta::after { display: none !important; }

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.menu-toggle span {
  width: 26px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition);
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ── Hero Section ── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(170deg, #f0f7ff 0%, #e8f4fd 25%, #f5f9ff 50%, #eef6ff 75%, #ffffff 100%);
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 80%;
  height: 200%;
  background: radial-gradient(ellipse at center, rgba(147,197,253,0.15) 0%, transparent 70%);
  animation: heroGlow 8s ease-in-out infinite;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 60%;
  height: 150%;
  background: radial-gradient(ellipse at center, rgba(59,130,246,0.08) 0%, transparent 70%);
  animation: heroGlow 10s ease-in-out infinite reverse;
}

@keyframes heroGlow {
  0%, 100% { transform: scale(1) translate(0, 0); opacity: 0.6; }
  50% { transform: scale(1.2) translate(5%, -2%); opacity: 1; }
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
  padding-top: 72px;
}

.hero-content {
  animation: fadeInUp 1s ease-out;
}

.hero-badge {
  display: inline-block;
  padding: 6px 18px;
  background: rgba(59,130,246,0.08);
  border: 1px solid rgba(59,130,246,0.15);
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--blue-600);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.hero h1 {
  color: var(--blue-900);
  margin-bottom: 1.2rem;
  font-weight: 700;
}

.hero h1 .accent {
  background: linear-gradient(135deg, var(--blue-500), var(--blue-700));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  max-width: 460px;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: all var(--transition);
  border: none;
  font-family: var(--font-body);
}

.btn-primary {
  background: linear-gradient(135deg, var(--blue-500), var(--blue-600));
  color: white;
  box-shadow: 0 4px 16px rgba(37,99,235,0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(37,99,235,0.35);
}

.btn-outline {
  background: transparent;
  color: var(--blue-700);
  border: 2px solid var(--blue-300);
}

.btn-outline:hover {
  background: var(--blue-50);
  border-color: var(--blue-500);
  transform: translateY(-2px);
}

.hero-visual {
  position: relative;
  animation: floatIn 1.2s ease-out;
}

.hero-image-wrap {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  aspect-ratio: 3/4;
  max-width: 420px;
  margin: 0 auto;
}

.hero-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-image-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(30,58,95,0.02) 100%);
  z-index: 1;
}

.hero-float-badge {
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  background: white;
  padding: 12px 28px;
  border-radius: 50px;
  box-shadow: var(--shadow-lg);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--blue-700);
  display: flex;
  align-items: center;
  gap: 8px;
  animation: float 3s ease-in-out infinite;
  z-index: 2;
}

.hero-float-badge .dot {
  width: 8px;
  height: 8px;
  background: var(--blue-500);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes floatIn {
  from { opacity: 0; transform: translateY(30px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes float {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-8px); }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.5); opacity: 0.5; }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Section Common ── */
.section {
  padding: 6rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue-500);
  margin-bottom: 0.8rem;
}

.section-header h2 {
  color: var(--blue-900);
  margin-bottom: 1rem;
}

.section-header p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto;
}

.section-alt {
  background: var(--ice);
}

/* ── Featured Products Grid ── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.product-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  cursor: pointer;
  position: relative;
}

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

.product-card-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3/4;
}

.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.product-card:hover .product-card-image img {
  transform: scale(1.06);
}

.product-card-image .image-indicator {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(0,0,0,0.5);
  color: white;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.7rem;
  z-index: 2;
}

.product-card-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  z-index: 2;
}

.tag-new { background: var(--blue-500); color: white; }
.tag-best { background: var(--gold); color: white; }
.tag-hot { background: var(--rose); color: white; }

.product-card-body {
  padding: 1.5rem;
}

.product-card-body h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--text-primary);
  margin-bottom: 0.4rem;
}

.product-card-body .product-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card-body .product-price {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--blue-700);
}

/* ── Brand Essence ── */
.essence-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.essence-card {
  text-align: center;
  padding: 2.5rem 2rem;
  border-radius: var(--radius-lg);
  background: white;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  border: 1px solid transparent;
}

.essence-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--blue-100);
}

.essence-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, var(--blue-50), var(--blue-100));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  transition: transform var(--transition);
}

.essence-card:hover .essence-icon {
  transform: scale(1.1) rotate(-5deg);
}

.essence-card h3 {
  font-family: var(--font-display);
  color: var(--blue-800);
  margin-bottom: 0.6rem;
}

.essence-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* ── CTA Banner ── */
.cta-banner {
  background: linear-gradient(135deg, var(--blue-600), var(--blue-800));
  border-radius: var(--radius-xl);
  padding: 4rem 3rem;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 60%;
  height: 200%;
  background: radial-gradient(ellipse at center, rgba(255,255,255,0.08) 0%, transparent 70%);
}

.cta-banner h2 {
  color: white;
  margin-bottom: 1rem;
  position: relative;
}

.cta-banner p {
  color: rgba(255,255,255,0.85);
  margin-bottom: 2rem;
  font-size: 1.05rem;
  position: relative;
}

.btn-white {
  background: white;
  color: var(--blue-700);
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

/* ── Page Header (inner pages) ── */
.page-header {
  background: linear-gradient(170deg, #f0f7ff 0%, #e8f4fd 50%, #ffffff 100%);
  padding: 8rem 0 4rem;
  text-align: center;
}

.page-header h1 {
  color: var(--blue-900);
  margin-bottom: 0.8rem;
}

.page-header p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  max-width: 560px;
  margin: 0 auto;
}

/* ── About Page ── */
.about-story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-story-image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  position: relative;
}

.about-story-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4/5;
}

.about-story-image::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 2px solid rgba(59,130,246,0.1);
  border-radius: var(--radius-xl);
  pointer-events: none;
}

.about-story-content h2 {
  color: var(--blue-900);
  margin-bottom: 1.5rem;
}

.about-story-content p {
  color: var(--text-secondary);
  margin-bottom: 1.2rem;
  line-height: 1.8;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.value-card {
  text-align: center;
  padding: 2rem 1.5rem;
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}

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

.value-card .value-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.value-card h4 {
  color: var(--blue-800);
  margin-bottom: 0.5rem;
}

.value-card p {
  color: var(--text-secondary);
  font-size: 0.85rem;
}

/* ── Shop Page ── */
.shop-filters {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 10px 24px;
  border-radius: 50px;
  border: 2px solid var(--blue-100);
  background: white;
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
  font-family: var(--font-body);
}

.filter-btn:hover, .filter-btn.active {
  border-color: var(--blue-500);
  color: var(--blue-700);
  background: var(--blue-50);
}

/* ── Product Detail Page ── */
.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

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

.product-gallery-main {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  aspect-ratio: 3/4;
  margin-bottom: 1rem;
}

.product-gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.4s ease;
}

.product-gallery-thumbs {
  display: flex;
  gap: 0.8rem;
}

.product-gallery-thumbs button {
  width: 80px;
  height: 100px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  padding: 0;
  transition: all var(--transition);
}

.product-gallery-thumbs button.active {
  border-color: var(--blue-500);
}

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

.product-info h1 {
  color: var(--blue-900);
  margin-bottom: 0.8rem;
}

.product-info .product-subtitle {
  color: var(--text-secondary);
  font-size: 1rem;
  margin-bottom: 1rem;
  line-height: 1.7;
}

.product-info .product-price-large {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--blue-700);
  margin-bottom: 1.5rem;
}

.product-info .product-divider {
  height: 1px;
  background: var(--blue-100);
  margin: 1.5rem 0;
}

.product-meta {
  margin-top: 1.5rem;
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.product-highlights {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-bottom: 1.5rem;
}

.product-highlights li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.product-highlights li::before {
  content: '✦';
  color: var(--blue-500);
  font-size: 0.8rem;
}

.product-actions {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.quantity-selector {
  display: flex;
  align-items: center;
  border: 2px solid var(--blue-100);
  border-radius: 50px;
  overflow: hidden;
}

.quantity-selector button {
  width: 44px;
  height: 44px;
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: 1.1rem;
  color: var(--text-primary);
  transition: var(--transition);
}

.quantity-selector button:hover {
  background: var(--blue-50);
}

.quantity-selector input {
  width: 48px;
  text-align: center;
  border: none;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  font-family: var(--font-body);
  background: transparent;
}

/* ── Reviews Page ── */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2rem;
}

.review-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--blue-50);
  transition: all var(--transition);
}

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

.review-stars {
  color: var(--gold);
  font-size: 1rem;
  letter-spacing: 2px;
  margin-bottom: 1rem;
}

.review-text {
  color: var(--text-primary);
  font-style: italic;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.review-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-200), var(--blue-400));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
  font-size: 1.1rem;
}

.review-author-info h4 {
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
}

.review-author-info span {
  color: var(--text-muted);
  font-size: 0.8rem;
}

.review-verified {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--blue-500);
  font-size: 0.75rem;
  margin-top: 4px;
}

/* ── Guarantee Page ── */
.guarantee-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.guarantee-card {
  text-align: center;
  padding: 2.5rem 2rem;
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--blue-50);
  transition: all var(--transition);
}

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

.guarantee-card .g-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, var(--blue-50), var(--blue-100));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}

.guarantee-card h3 {
  color: var(--blue-800);
  margin-bottom: 0.8rem;
}

.guarantee-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
}

.guarantee-detail {
  margin-top: 4rem;
}

.guarantee-detail h2 {
  color: var(--blue-900);
  margin-bottom: 2rem;
  text-align: center;
}

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

.faq-item {
  background: white;
  border-radius: var(--radius-md);
  padding: 1.5rem 2rem;
  margin-bottom: 1rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--blue-50);
  cursor: pointer;
  transition: all var(--transition);
}

.faq-item:hover {
  border-color: var(--blue-200);
}

.faq-item h4 {
  color: var(--blue-800);
  font-family: var(--font-body);
  font-size: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-item h4::after {
  content: '+';
  font-size: 1.3rem;
  color: var(--blue-400);
  transition: transform var(--transition);
}

.faq-item.open h4::after {
  content: '−';
  transform: rotate(180deg);
}

.faq-item .faq-answer {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, margin-top 0.4s ease;
}

.faq-item.open .faq-answer {
  max-height: 300px;
  margin-top: 1rem;
}

/* ── Footer ── */
.footer {
  background: var(--blue-950);
  color: rgba(255,255,255,0.7);
  padding: 4rem 0 2rem;
}

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

.footer-brand h3 {
  color: white;
  font-family: var(--font-display);
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.5);
}

.footer-col h4 {
  color: white;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}

.footer-col a {
  display: block;
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
  padding: 4px 0;
  transition: color var(--transition);
}

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

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
  transition: all var(--transition);
  font-size: 0.9rem;
}

.footer-social a:hover {
  background: rgba(255,255,255,0.1);
  color: white;
  border-color: rgba(255,255,255,0.3);
}

/* ── Scroll Animations ── */
.fade-up {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-up.visible {
  /* visible is the default now — just keep smooth transition on load */
}

.fade-in {
  opacity: 0;
  transition: opacity 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
}

/* ── Loading Skeleton / Shimmer ── */
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.skeleton {
  background: linear-gradient(90deg, var(--blue-50) 25%, var(--blue-100) 50%, var(--blue-50) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius-sm);
}

/* ── Back to Top ── */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--blue-600);
  color: white;
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  font-size: 1.2rem;
  z-index: 900;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.back-to-top:hover {
  background: var(--blue-700);
  transform: translateY(-2px);
}

/* ── Notification Toast ── */
.toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--blue-900);
  color: white;
  padding: 14px 28px;
  border-radius: 50px;
  font-size: 0.9rem;
  z-index: 2000;
  opacity: 0;
  transition: all 0.4s ease;
  box-shadow: var(--shadow-xl);
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-subtitle { max-width: 100%; }
  .hero-buttons { justify-content: center; }
  .hero-visual { max-width: 360px; margin: 0 auto; }

  .about-story {
    grid-template-columns: 1fr;
  }

  .about-story-image { max-width: 400px; margin: 0 auto; }

  .product-detail {
    grid-template-columns: 1fr;
  }

  .product-gallery {
    position: static;
    max-width: 500px;
    margin: 0 auto;
  }

  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .essence-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    transform: translateY(-120%);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border-bottom: 1px solid var(--blue-100);
  }

  .nav-links.open {
    transform: translateY(0);
  }

  .menu-toggle { display: flex; }

  .container { padding: 0 1.25rem; }

  .section { padding: 4rem 0; }

  .hero { min-height: auto; padding: 6rem 0 3rem; }

  .products-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .reviews-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }

  .guarantee-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .values-grid {
    grid-template-columns: 1fr;
    max-width: 300px;
    margin: 3rem auto 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .cta-banner {
    padding: 3rem 1.5rem;
  }

  .product-actions {
    flex-direction: column;
  }

  .page-header {
    padding: 6rem 0 3rem;
  }

  .product-detail {
    gap: 2rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 480px) {
  html { font-size: 15px; }
  .navbar .container { height: 64px; }
  .hero .container { padding-top: 64px; }
}
