/* ==========================================================================
   CURLS.LIVE - BESPOKE LUXURY DESIGN SYSTEM (RO LOCALE)
   Primary Accent: Rose Gold Luxe (#E0A96D) & Electric Violet Glow (#8C52FF)
   Background: Deep Pearl & Velvet Amethyst (#0F0C1B -> #1A1329)
   Fonts: Playfair Display (Headings) + Manrope (Body)
   ========================================================================== */

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

:root {
  --bg-dark: #0f0c1b;
  --bg-card: rgba(255, 255, 255, 0.05);
  --bg-card-hover: rgba(255, 255, 255, 0.09);
  --border-glass: rgba(255, 255, 255, 0.12);
  --border-glass-gold: rgba(224, 169, 109, 0.3);
  
  --accent-gold: #e0a96d;
  --accent-gold-light: #f7d0a1;
  --accent-violet: #8c52ff;
  --accent-coral: #ff5e8e;

  --text-main: #f5f5f7;
  --text-muted: #a1a1b5;
  --text-dim: #74748c;

  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;

  --shadow-glow: 0 10px 40px -10px rgba(140, 82, 255, 0.35);
  --shadow-gold: 0 10px 30px -5px rgba(224, 169, 109, 0.25);
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
}

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

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

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

/* Atmospheric Ambient Background */
body::before {
  content: '';
  position: fixed;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  height: 800px;
  background: radial-gradient(circle, rgba(140, 82, 255, 0.18) 0%, rgba(224, 169, 109, 0.08) 40%, rgba(15, 12, 27, 0) 70%);
  pointer-events: none;
  z-index: 0;
}

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

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

/* Typography Utilities */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: #ffffff;
}

.text-gradient-gold {
  background: linear-gradient(135deg, #ffffff 0%, var(--accent-gold-light) 50%, var(--accent-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-violet {
  background: linear-gradient(135deg, #ffffff 0%, #c4b5fd 50%, var(--accent-violet) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

.section-padding {
  padding: 100px 0;
}

/* Badge Tags */
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(224, 169, 109, 0.12);
  border: 1px solid rgba(224, 169, 109, 0.3);
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent-gold);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.badge-pill.violet {
  background: rgba(140, 82, 255, 0.12);
  border-color: rgba(140, 82, 255, 0.3);
  color: #c4b5fd;
}

/* Glassmorphic Container */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.glass-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 36px;
  background: linear-gradient(135deg, var(--accent-gold) 0%, #b88244 100%);
  color: #0d0a17;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-gold);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  min-height: 48px;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 35px rgba(224, 169, 109, 0.4);
  background: linear-gradient(135deg, var(--accent-gold-light) 0%, var(--accent-gold) 100%);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 32px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-glass);
  color: #ffffff;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  min-height: 48px;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

/* ==========================================================================
   HEADER
   ========================================================================== */
.header-top {
  background: rgba(15, 12, 27, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-glass);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: all 0.3s ease;
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.brand-logo svg {
  width: 38px;
  height: 38px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.3s ease;
  position: relative;
}

.nav-link:hover {
  color: #ffffff;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--accent-gold);
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.hamburger-btn {
  display: none;
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 8px;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
}

/* Mobile Nav Overlay */
.mobile-nav-overlay {
  display: none;
  position: fixed;
  top: 84px;
  left: 0;
  width: 100%;
  height: calc(100vh - 84px);
  background: rgba(15, 12, 27, 0.98);
  backdrop-filter: blur(25px);
  z-index: 999;
  padding: 40px 24px;
  flex-direction: column;
  gap: 24px;
  border-top: 1px solid var(--border-glass);
}

.mobile-nav-overlay.active {
  display: flex;
}

.mobile-nav-link {
  font-size: 1.25rem;
  font-weight: 600;
  color: #ffffff;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  padding-top: 160px;
  padding-bottom: 90px;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.hero-content h1 {
  font-size: 3.8rem;
  margin: 20px 0;
  letter-spacing: -1px;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 32px;
  max-width: 560px;
}

.hero-features-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 40px;
}

.hero-feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-main);
}

.hero-feature-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(224, 169, 109, 0.2);
  color: var(--accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  flex-shrink: 0;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* Hero Visual Wrapper */
.hero-visual-container {
  position: relative;
}

.hero-img-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
  border: 1px solid var(--border-glass-gold);
}

.hero-img-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 0.6s ease;
}

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

.floating-badge {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: rgba(15, 12, 27, 0.9);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-glass-gold);
  padding: 16px 24px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: var(--shadow-glow);
  z-index: 10;
}

.floating-badge-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-violet) 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.5rem;
}

.floating-badge-text h5 {
  font-size: 1.1rem;
  font-family: var(--font-body);
  font-weight: 800;
  color: #ffffff;
}

.floating-badge-text p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Trust Bar Below Hero */
.trust-bar {
  margin-top: 60px;
  padding: 24px 32px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 24px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.trust-item svg {
  color: var(--accent-gold);
}

/* ==========================================================================
   BENTO GRID TECH SECTION
   ========================================================================== */
.bento-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px auto;
}

.bento-header h2 {
  font-size: 2.8rem;
  margin: 16px 0;
}

.bento-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  grid-template-rows: auto auto;
  gap: 24px;
}

.bento-card-large {
  grid-column: 1 / 2;
  grid-row: 1 / 3;
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.bento-card-large .bento-img {
  margin-top: 32px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-glass);
}

.bento-card-sm {
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.bento-card-sm h3 {
  font-size: 1.5rem;
  margin: 12px 0;
}

.bento-card-sm p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.tech-tag {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(140, 82, 255, 0.15);
  border: 1px solid rgba(140, 82, 255, 0.3);
  border-radius: 4px;
  color: #c4b5fd;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 12px;
}

/* ==========================================================================
   PRODUCT SHOWCASE PEDESTAL GRID
   ========================================================================== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 50px;
}

.product-card {
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

.product-card.featured {
  border-color: var(--border-glass-gold);
  background: linear-gradient(180deg, rgba(224, 169, 109, 0.08) 0%, rgba(15, 12, 27, 0.6) 100%);
}

.product-badge-corner {
  position: absolute;
  top: 24px;
  right: 24px;
  background: var(--accent-gold);
  color: #0d0a17;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 6px 14px;
  border-radius: 50px;
  text-transform: uppercase;
}

.product-img-wrapper {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 24px;
}

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

.product-card:hover .product-img-wrapper img {
  transform: scale(1.05);
}

.product-info h3 {
  font-size: 1.8rem;
  margin-bottom: 8px;
}

.product-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 20px;
}

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

.price-current {
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent-gold);
}

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

.price-save {
  font-size: 0.85rem;
  color: var(--accent-coral);
  font-weight: 700;
}

/* ==========================================================================
   INTERACTIVE HAIR TYPE ROUTINE SELECTOR
   ========================================================================== */
.hair-routine-box {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 48px;
  margin-top: 40px;
}

.routine-tabs {
  display: flex;
  gap: 16px;
  margin-bottom: 36px;
  border-bottom: 1px solid var(--border-glass);
  padding-bottom: 16px;
  overflow-x: auto;
}

.tab-btn {
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-muted);
  padding: 12px 24px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  flex-shrink: 0;
}

.tab-btn.active {
  background: rgba(224, 169, 109, 0.15);
  border-color: var(--accent-gold);
  color: var(--accent-gold);
}

.routine-content {
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
}

.routine-content.active {
  display: grid;
}

.routine-specs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 24px;
}

.spec-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  padding: 16px;
  border-radius: var(--radius-sm);
}

.spec-box span {
  font-size: 0.8rem;
  color: var(--text-muted);
  display: block;
}

.spec-box strong {
  font-size: 1.1rem;
  color: #ffffff;
}

/* ==========================================================================
   TESTIMONIALS & ACCORDION FAQ
   ========================================================================== */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.review-card {
  padding: 32px;
}

.review-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.review-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent-gold);
}

.review-author h4 {
  font-size: 1.05rem;
  font-family: var(--font-body);
}

.review-stars {
  color: #fbbf24;
  font-size: 0.9rem;
}

.review-body {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* Accordion FAQ */
.faq-container {
  max-width: 840px;
  margin: 40px auto 0 auto;
}

.faq-item {
  margin-bottom: 16px;
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-card);
}

.faq-question {
  width: 100%;
  padding: 24px;
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 700;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-family: var(--font-body);
}

.faq-answer {
  padding: 0 24px 24px 24px;
  color: var(--text-muted);
  font-size: 0.95rem;
  display: none;
  line-height: 1.7;
}

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

.faq-item.active .faq-question svg {
  transform: rotate(180deg);
}

.faq-question svg {
  transition: transform 0.3s ease;
  color: var(--accent-gold);
}

/* ==========================================================================
   GOOGLE ADS LEGAL FOOTER & MODALS (RO LOCALE)
   ========================================================================== */
.footer-main {
  background: #090714;
  border-top: 1px solid var(--border-glass);
  padding: 80px 0 40px 0;
  position: relative;
  z-index: 10;
}

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

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 16px 0;
  max-width: 320px;
}

.footer-title {
  font-size: 1.1rem;
  color: #ffffff;
  font-family: var(--font-body);
  font-weight: 700;
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: color 0.3s ease;
  cursor: pointer;
}

.footer-links a:hover {
  color: var(--accent-gold);
}

.legal-box {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.7;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-glass);
  padding: 20px;
  border-radius: var(--radius-sm);
}

.anpc-badges {
  display: flex;
  gap: 12px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.anpc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border: 1px solid var(--border-glass);
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
}

.anpc-btn:hover {
  border-color: var(--accent-gold);
  color: var(--accent-gold);
}

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

/* Modals for Legal Compliance */
.modal-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(16px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-wrapper.active {
  display: flex;
}

.modal-card {
  background: #141024;
  border: 1px solid var(--border-glass-gold);
  border-radius: var(--radius-lg);
  max-width: 800px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  padding: 40px;
  position: relative;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.8);
  color: var(--text-main);
}

.modal-close-btn {
  position: absolute;
  top: 24px;
  right: 24px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #ffffff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: background 0.3s ease;
}

.modal-close-btn:hover {
  background: rgba(255, 255, 255, 0.25);
}

.modal-card h3 {
  font-size: 1.8rem;
  margin-bottom: 24px;
  color: var(--accent-gold);
}

.modal-card h4 {
  font-size: 1.2rem;
  margin: 20px 0 10px 0;
  color: #ffffff;
}

.modal-card p, .modal-card ul {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 14px;
}

.modal-card ul {
  padding-left: 20px;
}

/* Cookie Notice Toast */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 24px;
  right: 24px;
  max-width: 500px;
  background: rgba(20, 16, 36, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-glass-gold);
  border-radius: var(--radius-md);
  padding: 24px;
  z-index: 1500;
  box-shadow: 0 20px 40px rgba(0,0,0,0.6);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cookie-banner p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.cookie-actions {
  display: flex;
  gap: 12px;
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES (MOBILE QA COMPLIANT)
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .bento-grid {
    grid-template-columns: 1fr;
  }
  .bento-card-large {
    grid-column: 1 / -1;
    grid-row: auto;
  }
  .reviews-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .header-container {
    height: 72px;
  }
  .nav-menu, .header-actions .btn-primary {
    display: none;
  }
  .hamburger-btn {
    display: flex;
  }
  .hero-section {
    padding-top: 120px;
    padding-bottom: 60px;
  }
  .hero-content h1 {
    font-size: 2.6rem;
  }
  .hero-features-list {
    grid-template-columns: 1fr;
  }
  .product-grid {
    grid-template-columns: 1fr;
  }
  .routine-content {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
  .floating-badge {
    position: relative;
    bottom: 0;
    left: 0;
    margin-top: 16px;
    width: 100%;
  }
  /* Strict touch target compliance */
  button, a, .tab-btn, .anpc-btn {
    min-height: 44px;
    min-width: 44px;
  }
}
