/* ============================================
   TYMO BEAUTY - Complete Stylesheet
   ============================================ */

:root {
  --primary: #d4a0a0;
  --primary-dark: #b88484;
  --secondary: #2d2d2d;
  --accent: #e8c4c4;
  --bg-light: #faf6f5;
  --bg-white: #ffffff;
  --text-dark: #1a1a1a;
  --text-gray: #6b6b6b;
  --text-light: #767676;
  --gold: #c9a96e;
  --gold-light: #f0e0c0;
  --border: #e8e0dd;
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-hover: 0 8px 30px rgba(0,0,0,0.15);
  --transition: all 0.3s ease;
  --radius: 12px;
  --radius-lg: 20px;
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-heading: 'Playfair Display', Georgia, serif;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-main);
  color: var(--text-dark);
  background: var(--bg-white);
  line-height: 1.6;
  overflow-x: hidden;
}
/* Focus visible for keyboard navigation */
:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
:focus:not(:focus-visible) { outline: none; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }
h4 { font-size: 1.3rem; }
.section-title {
  text-align: center;
  margin-bottom: 50px;
}
.section-title h2 { position: relative; display: inline-block; }
.section-title h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--primary);
  margin: 15px auto 0;
}
.section-title p {
  color: var(--text-gray);
  font-size: 1.05rem;
  margin-top: 12px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
  font-family: var(--font-main);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.btn-primary {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 160, 160, 0.4);
}
.btn-secondary {
  background: transparent;
  color: var(--text-dark);
  border-color: var(--text-dark);
}
.btn-secondary:hover {
  background: var(--text-dark);
  color: #fff;
  transform: translateY(-2px);
}
.btn-gold {
  background: var(--gold);
  color: #fff;
  border-color: var(--gold);
}
.btn-gold:hover {
  background: #b89550;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(201, 169, 110, 0.4);
}
.btn-white {
  background: #fff;
  color: var(--text-dark);
  border-color: #fff;
}
.btn-white:hover {
  background: var(--bg-light);
  transform: translateY(-2px);
}

/* ===== HEADER ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  max-width: 1200px;
  margin: 0 auto;
}
.logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 8px;
}
.logo span { color: var(--primary); }
.logo-img { height: 36px; width: auto; }

.header-right {
  display: flex;
  align-items: center;
  gap: 15px;
}
.country-selector {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.85rem;
  background: var(--bg-white);
  transition: var(--transition);
  position: relative;
}
.country-selector:hover { border-color: var(--primary); }
.country-selector .flag-icon {
  width: 20px;
  height: 14px;
  border-radius: 2px;
  object-fit: cover;
}
.country-selector .country-name { font-weight: 500; }

/* Country Dropdown */
.country-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-hover);
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: var(--transition);
  z-index: 100;
  overflow: hidden;
}
.country-selector.active .country-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.country-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  cursor: pointer;
  transition: background 0.2s;
  font-size: 0.9rem;
}
.country-option:hover { background: var(--bg-light); }
.country-option .flag-emoji { font-size: 1.3rem; }
.country-option.active { background: var(--accent); color: #fff; }

/* ===== HERO SECTION ===== */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  background: linear-gradient(135deg, #faf6f5 0%, #f0e4e0 50%, #e8d5d0 100%);
  padding: 120px 20px 80px;
  overflow: hidden;
}
.hero-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(212,160,160,0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.hero-section::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(201,169,110,0.1) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.hero-content {
  flex: 1;
  max-width: 600px;
  position: relative;
  z-index: 2;
}
.hero-badge {
  display: inline-block;
  background: rgba(212,160,160,0.15);
  color: var(--primary-dark);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 20px;
}
.hero-content h1 {
  margin-bottom: 20px;
  color: var(--text-dark);
}
.hero-content h1 .highlight { color: var(--primary); }
.hero-content p {
  font-size: 1.1rem;
  color: var(--text-gray);
  margin-bottom: 35px;
  max-width: 500px;
  line-height: 1.8;
}
.hero-buttons { display: flex; gap: 15px; flex-wrap: wrap; }
.hero-image {
  flex: 1;
  max-width: 500px;
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-image .img-placeholder {
  width: 100%;
  max-width: 450px;
  aspect-ratio: 3/4;
  background: linear-gradient(135deg, #d4a0a0 0%, #e8c4c4 50%, #f0e0c0 100%);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-hover);
}
.hero-image .img-placeholder svg {
  width: 120px;
  height: 120px;
  opacity: 0.3;
  color: #fff;
}
.hero-image .img-placeholder .placeholder-text {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.8);
  font-size: 0.85rem;
  font-weight: 500;
  text-align: center;
  background: rgba(0,0,0,0.15);
  padding: 6px 16px;
  border-radius: 20px;
}
.hero-image .img-tag {
  position: absolute;
  top: 20px;
  right: -10px;
  background: var(--gold);
  color: #fff;
  padding: 8px 20px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.85rem;
  box-shadow: 0 4px 15px rgba(201,169,110,0.3);
}

@media (max-width: 900px) {
  .hero-section { flex-direction: column; text-align: center; padding-top: 100px; min-height: auto; gap: 40px; }
  .hero-content p { margin-left: auto; margin-right: auto; }
  .hero-buttons { justify-content: center; }
  .hero-image { max-width: 350px; }
}

/* ===== TRUST BAR ===== */
.trust-bar {
  background: var(--secondary);
  padding: 20px 0;
  color: rgba(255,255,255,0.8);
}
.trust-bar-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 500;
}
.trust-item svg { width: 20px; height: 20px; color: var(--gold); }

/* ===== TRUSTPILOT SECTION ===== */
.trustpilot-section {
  padding: 60px 0;
  background: var(--bg-light);
}
.trustpilot-header {
  text-align: center;
  margin-bottom: 30px;
}
.trustpilot-stars {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin: 10px 0;
}
.trustpilot-stars svg { width: 28px; height: 28px; color: #00b67a; }
.trustpilot-score { font-size: 1.2rem; font-weight: 700; color: var(--text-dark); }
.trustpilot-reviews {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}
.review-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}
.review-card .review-stars { display: flex; gap: 3px; margin-bottom: 12px; }
.review-card .review-stars svg { width: 18px; height: 18px; color: #00b67a; }
.review-card .review-text { font-size: 0.9rem; color: var(--text-gray); line-height: 1.6; margin-bottom: 12px; }
.review-card .review-author { font-weight: 600; font-size: 0.85rem; }
.review-card .review-date { color: var(--text-light); font-size: 0.8rem; }

/* ===== FEATURES SECTION ===== */
.features-section {
  padding: 80px 0;
  background: #fff;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}
.feature-card {
  text-align: center;
  padding: 40px 24px;
  border-radius: var(--radius);
  transition: var(--transition);
  border: 1px solid var(--border);
}
.feature-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-5px);
}
.feature-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--primary) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.feature-icon svg { width: 32px; height: 32px; color: #fff; }
.feature-card h3 { margin-bottom: 12px; }
.feature-card p { color: var(--text-gray); font-size: 0.95rem; line-height: 1.7; }

/* ===== PRODUCT GRID ===== */
.products-section {
  padding: 80px 0;
  background: var(--bg-light);
}
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
}
.product-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  cursor: pointer;
  position: relative;
}
.product-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-5px);
}
.product-card .product-img {
  width: 100%;
  aspect-ratio: 1/1;
  background: linear-gradient(135deg, #f0e4e0 0%, #e8d5d0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.product-card .product-img svg {
  width: 80px;
  height: 80px;
  opacity: 0.25;
  color: var(--primary-dark);
}
.product-card .product-img .placeholder-tag {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0,0,0,0.5);
  color: rgba(255,255,255,0.7);
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 0.7rem;
}
.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--gold);
  color: #fff;
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  z-index: 2;
}
.product-info { padding: 20px; }
.product-info h3 { font-family: var(--font-main); font-weight: 600; font-size: 1rem; margin-bottom: 6px; }
.product-info .rating { display: flex; align-items: center; gap: 6px; margin-bottom: 8px; }
.product-info .rating svg { width: 16px; height: 16px; color: #f4c150; }
.product-info .rating span { color: var(--text-light); font-size: 0.8rem; }
.product-info .price { font-weight: 700; font-size: 1.2rem; color: var(--primary-dark); }
.product-info .price .original { color: var(--text-light); text-decoration: line-through; font-size: 0.9rem; font-weight: 400; margin-left: 6px; }
.product-card .btn {
  margin: 0 20px 20px;
  width: calc(100% - 40px);
  justify-content: center;
}

/* ===== BENEFITS / WHY CHOOSE ===== */
.benefits-section {
  padding: 80px 0;
  background: #fff;
}
.benefits-wrapper {
  display: flex;
  align-items: center;
  gap: 60px;
}
.benefits-image {
  flex: 1;
  max-width: 500px;
}
.benefits-image .img-placeholder {
  width: 100%;
  aspect-ratio: 4/5;
  background: linear-gradient(135deg, #e8d5d0 0%, #d4a0a0 50%, #c9a96e 100%);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.benefits-image .img-placeholder svg { width: 100px; height: 100px; opacity: 0.2; color: #fff; }
.benefits-content { flex: 1; }
.benefits-content h2 { margin-bottom: 25px; }
.benefit-item {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
  align-items: flex-start;
}
.benefit-item .benefit-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.benefit-item .benefit-icon svg { width: 22px; height: 22px; color: var(--primary-dark); }
.benefit-item h4 { font-family: var(--font-main); font-weight: 600; font-size: 1rem; margin-bottom: 4px; }
.benefit-item p { color: var(--text-gray); font-size: 0.9rem; line-height: 1.7; }

@media (max-width: 800px) {
  .benefits-wrapper { flex-direction: column; }
  .benefits-image { max-width: 100%; }
}

/* ===== AMAZON SECTION ===== */
.amazon-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #232f3e 0%, #1a2533 100%);
  color: #fff;
  text-align: center;
}
.amazon-section h2 { color: #fff; }
.amazon-section h2::after { background: var(--gold); }
.amazon-section .section-title p { color: rgba(255,255,255,0.7); }
.amazon-store-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 40px;
  background: #ff9900;
  color: #232f3e;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.05rem;
  transition: var(--transition);
  margin-top: 30px;
}
.amazon-store-link:hover {
  background: #ffb830;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255,153,0,0.3);
}
.amazon-store-link svg { width: 24px; height: 24px; }
.amazon-products {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  margin-top: 40px;
}
.amazon-product {
  background: rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 20px;
  cursor: pointer;
  transition: var(--transition);
}
.amazon-product:hover { background: rgba(255,255,255,0.15); transform: translateY(-3px); }
.amazon-product .product-img-sm {
  width: 100%;
  aspect-ratio: 1/1;
  background: rgba(255,255,255,0.05);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}
.amazon-product .product-img-sm svg { width: 50px; height: 50px; color: rgba(255,255,255,0.2); }
.amazon-product h4 { font-family: var(--font-main); font-size: 0.9rem; color: rgba(255,255,255,0.9); }
.amazon-product .price-tag { color: var(--gold); font-weight: 600; margin-top: 6px; }

/* ===== TESTIMONIALS ===== */
.testimonials-section {
  padding: 80px 0;
  background: var(--bg-light);
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
}
.testimonial-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
  position: relative;
}
.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 15px;
  left: 20px;
  font-size: 4rem;
  font-family: var(--font-heading);
  color: var(--accent);
  line-height: 1;
  opacity: 0.5;
}
.testimonial-card .rating { display: flex; gap: 3px; margin-bottom: 15px; }
.testimonial-card .rating svg { width: 18px; height: 18px; color: #f4c150; }
.testimonial-card blockquote { font-style: italic; color: var(--text-gray); margin-bottom: 15px; line-height: 1.7; }
.testimonial-card .author { font-weight: 600; font-size: 0.9rem; }
.testimonial-card .author-title { color: var(--text-light); font-size: 0.8rem; }

/* ===== FAQ SECTION ===== */
.faq-section {
  padding: 80px 0;
  background: #fff;
}
.faq-list { max-width: 700px; margin: 0 auto; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-question {
  width: 100%;
  padding: 18px 24px;
  background: none;
  border: none;
  text-align: left;
  font-family: var(--font-main);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-dark);
  transition: background 0.2s;
}
.faq-question:hover { background: var(--bg-light); }
.faq-question svg {
  width: 20px;
  height: 20px;
  transition: transform 0.3s;
  flex-shrink: 0;
}
.faq-item.active .faq-question svg { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}
.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 24px 18px;
}
.faq-answer p { color: var(--text-gray); font-size: 0.95rem; line-height: 1.7; }

/* ===== CTA BANNER ===== */
.cta-section {
  padding: 80px 20px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 50%, #a06060 100%);
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 50%, rgba(255,255,255,0.1) 0%, transparent 50%);
  pointer-events: none;
}
.cta-section h2 { color: #fff; margin-bottom: 15px; }
.cta-section h2::after { background: var(--gold); }
.cta-section p { color: rgba(255,255,255,0.85); font-size: 1.05rem; margin-bottom: 30px; max-width: 600px; margin-left: auto; margin-right: auto; }

/* ===== BLOG PREVIEW ===== */
.blog-section {
  padding: 80px 0;
  background: var(--bg-light);
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}
.blog-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.blog-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-5px);
}
.blog-card .blog-img {
  width: 100%;
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--accent) 0%, var(--primary) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.blog-card .blog-img svg { width: 50px; height: 50px; color: rgba(255,255,255,0.3); }
.blog-card .blog-info { padding: 20px; }
.blog-card .blog-category { color: var(--primary); font-weight: 600; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px; }
.blog-card h3 { font-family: var(--font-main); font-weight: 600; font-size: 1rem; margin-bottom: 8px; }
.blog-card p { color: var(--text-gray); font-size: 0.88rem; line-height: 1.6; margin-bottom: 12px; }
.blog-card .read-more { color: var(--primary); font-weight: 600; font-size: 0.88rem; display: flex; align-items: center; gap: 6px; }
.blog-card .read-more svg { width: 16px; height: 16px; transition: transform 0.2s; }
.blog-card:hover .read-more svg { transform: translateX(4px); }

/* ===== FOOTER ===== */
.site-footer {
  background: var(--secondary);
  color: rgba(255,255,255,0.7);
  padding: 60px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand .logo { color: #fff; margin-bottom: 15px; }
.footer-brand p { font-size: 0.88rem; line-height: 1.7; max-width: 300px; }
.footer-social { display: flex; gap: 12px; margin-top: 20px; }
.footer-social a {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.footer-social a:hover { border-color: var(--primary); background: var(--primary); }
.footer-social a svg { width: 16px; height: 16px; color: #fff; }
.footer-col h4 { color: #fff; font-family: var(--font-main); font-weight: 600; font-size: 0.95rem; margin-bottom: 20px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: 0.88rem; transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--primary); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  font-size: 0.82rem;
}
.footer-bottom a:hover { color: var(--primary); }

@media (max-width: 700px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
}
@media (max-width: 500px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ===== COUNTRY MODAL ===== */
.country-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.5);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
}
.country-modal.active { display: flex; }
.country-modal-content {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 40px;
  max-width: 500px;
  width: 90%;
  text-align: center;
  animation: modalIn 0.3s ease;
}
@keyframes modalIn {
  from { transform: scale(0.9) translateY(20px); opacity: 0; }
  to { transform: scale(1) translateY(0); opacity: 1; }
}
.country-modal-content h2 { margin-bottom: 8px; }
.country-modal-content p { color: var(--text-gray); margin-bottom: 25px; }
.country-options-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.country-option-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  background: none;
  cursor: pointer;
  font-family: var(--font-main);
  font-weight: 500;
  font-size: 0.95rem;
  transition: var(--transition);
  color: var(--text-dark);
}
.country-option-btn:hover {
  border-color: var(--primary);
  background: var(--bg-light);
}
.country-option-btn .flag-emoji { font-size: 1.5rem; }
.country-option-btn.selected {
  border-color: var(--primary);
  background: var(--bg-light);
}
.modal-close {
  margin-top: 20px;
  color: var(--text-gray);
  font-size: 0.85rem;
  cursor: pointer;
  background: none;
  border: none;
  font-family: var(--font-main);
}

/* ===== NEWSLETTER FORM ===== */
.newsletter-form {
  display: flex;
  gap: 10px;
  max-width: 450px;
  margin: 25px auto 0;
}
.newsletter-form input {
  flex: 1;
  padding: 14px 20px;
  border: 2px solid var(--border);
  border-radius: 50px;
  font-family: var(--font-main);
  font-size: 0.9rem;
  outline: none;
  transition: var(--transition);
}
.newsletter-form input:focus { border-color: var(--primary); }
.newsletter-form .btn { flex-shrink: 0; }

@media (max-width: 500px) {
  .newsletter-form { flex-direction: column; }
}

/* ===== ANNOUNCEMENT BAR ===== */
.announcement-bar {
  background: var(--secondary);
  color: #fff;
  text-align: center;
  padding: 8px 20px;
  font-size: 0.82rem;
  font-weight: 500;
}
.announcement-bar a { color: var(--gold); text-decoration: underline; }

/* ===== ARTICLE PAGE STYLES ===== */
.article-page { padding-top: 80px; }
.article-hero {
  background: linear-gradient(135deg, #faf6f5 0%, #f0e4e0 100%);
  padding: 60px 20px;
  text-align: center;
}
.article-hero h1 { max-width: 800px; margin: 0 auto 15px; }
.article-hero .meta { color: var(--text-gray); font-size: 0.9rem; display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; }
.article-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}
.article-content { max-width: 780px; }
.article-content h2 { font-size: 1.8rem; margin: 40px 0 20px; }
.article-content h3 { font-family: var(--font-main); font-weight: 600; font-size: 1.2rem; margin: 30px 0 15px; }
.article-content p { margin-bottom: 16px; color: var(--text-gray); line-height: 1.8; }
.article-content ul, .article-content ol { margin-bottom: 16px; padding-left: 24px; color: var(--text-gray); line-height: 1.8; }
.article-content li { margin-bottom: 8px; }
.article-content .article-img {
  margin: 30px 0;
  border-radius: var(--radius);
  overflow: hidden;
}
.article-content .article-img .img-placeholder {
  width: 100%;
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--accent) 0%, var(--primary) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.article-content .article-img .img-placeholder svg { width: 60px; height: 60px; color: rgba(255,255,255,0.3); }
.article-content .article-img figcaption { text-align: center; padding: 8px; font-size: 0.82rem; color: var(--text-light); background: var(--bg-light); }

.article-sidebar { position: relative; }
.article-sidebar .sidebar-sticky { position: sticky; top: 100px; }
.sidebar-widget {
  background: var(--bg-light);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 20px;
}
.sidebar-widget h4 { font-family: var(--font-main); font-weight: 600; font-size: 0.95rem; margin-bottom: 15px; }
.sidebar-widget ul li { margin-bottom: 8px; }
.sidebar-widget ul li a { font-size: 0.88rem; color: var(--text-gray); transition: color 0.2s; display: flex; align-items: center; gap: 6px; }
.sidebar-widget ul li a:hover { color: var(--primary); }
.sidebar-widget ul li a::before { content: '›'; color: var(--primary); font-weight: 700; }

/* Floating CTA Button (Article Sidebar) */
.floating-cta {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  color: #fff;
}
.floating-cta h4 { color: #fff; font-family: var(--font-heading); font-size: 1.1rem; margin-bottom: 8px; }
.floating-cta p { color: rgba(255,255,255,0.85); font-size: 0.85rem; margin-bottom: 16px; line-height: 1.5; }
.floating-cta .btn-white { font-size: 0.85rem; padding: 10px 24px; }
.floating-cta .btn-white:hover { box-shadow: 0 4px 15px rgba(255,255,255,0.3); }

/* Mobile Floating CTA */
.mobile-cta-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #fff;
  padding: 12px 16px;
  box-shadow: 0 -4px 15px rgba(0,0,0,0.1);
  z-index: 500;
  gap: 10px;
  align-items: center;
}
.mobile-cta-bar .btn { flex: 1; justify-content: center; font-size: 0.85rem; padding: 12px 20px; }

@media (max-width: 800px) {
  .article-layout { grid-template-columns: 1fr; }
  .article-sidebar { display: none; }
  .mobile-cta-bar { display: flex; }
  .article-content { max-width: 100%; }
}

/* ===== TABLE OF CONTENTS ===== */
.toc { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; margin-bottom: 30px; }
.toc h3 { font-family: var(--font-main); font-weight: 600; font-size: 1rem; margin-bottom: 12px; }
.toc ol { padding-left: 20px; }
.toc ol li { margin-bottom: 6px; }
.toc ol li a { font-size: 0.9rem; color: var(--primary); }
.toc ol li a:hover { text-decoration: underline; }

/* ===== BREADCRUMBS ===== */
.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-gray);
  padding: 15px 0;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
.breadcrumbs a { color: var(--primary); }
.breadcrumbs a:hover { text-decoration: underline; }
.breadcrumbs span { color: var(--text-light); }

/* ===== PAGE HEADER (for static pages) ===== */
.page-header {
  background: linear-gradient(135deg, #faf6f5 0%, #f0e4e0 100%);
  padding: 120px 20px 60px;
  text-align: center;
}
.page-header h1 { margin-bottom: 10px; }
.page-header p { color: var(--text-gray); font-size: 1.05rem; }

/* ===== PRIVACY POLICY ===== */
.privacy-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px 80px;
}
.privacy-content h2 { margin: 40px 0 15px; }
.privacy-content p { margin-bottom: 16px; color: var(--text-gray); line-height: 1.8; }
.privacy-content ul { padding-left: 24px; margin-bottom: 16px; color: var(--text-gray); line-height: 1.8; }
.privacy-content li { margin-bottom: 6px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .country-options-grid { grid-template-columns: 1fr; }
  .trust-bar-inner { gap: 20px; }
  .header-inner { padding: 10px 15px; }
  .logo { font-size: 1.2rem; }
}

/* ===== ANIMATIONS ===== */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== IMAGE PLACEHOLDER HELPER ===== */
.img-placeholder[data-src] { cursor: pointer; }
.img-placeholder img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ===== SKIP LINK ===== */
.skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  background: var(--primary);
  color: #fff;
  padding: 8px;
  z-index: 10000;
  transition: top 0.3s;
}
.skip-link:focus { top: 0; }
