/* ═══════════════════════════════════════════════════════════════
   GLAM REPAIRS — Shared Design System
   glamrepairs.com · June 2026
   ═══════════════════════════════════════════════════════════════ */

/* ── VARIABLES ─────────────────────────────────────────────────── */
:root {
  --purple:        #7B5CBF;
  --purple-mid:    #9B7FD4;
  --purple-light:  #EDE8F7;
  --purple-lighter:#F5F1FB;
  --purple-dark:   #5A3F9E;
  --purple-deep:   #3D2A72;
  --cream:         #FDF9F4;
  --cream-dark:    #F0E8DC;
  --dark:          #1A1419;
  --text:          #2D2533;
  --text-mid:      #5A5263;
  --text-light:    #8C839B;
  --white:         #FFFFFF;
  --border:        #E4D9F5;
  --border-light:  #F0EBF9;
  --radius:        16px;
  --radius-sm:     10px;
  --radius-lg:     24px;
  --radius-xl:     32px;
  --shadow:        0 4px 30px rgba(123,92,191,0.10);
  --shadow-md:     0 8px 40px rgba(123,92,191,0.15);
  --shadow-lg:     0 16px 60px rgba(123,92,191,0.20);
}

/* ── RESET ──────────────────────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img  { max-width: 100%; height: auto; display: block; }
a    { text-decoration: none; color: inherit; }
ul   { list-style: none; }
button { cursor: pointer; font-family: 'Inter', sans-serif; }

/* ── TYPOGRAPHY ─────────────────────────────────────────────────── */
h1, h2, h3, h4, h5 {
  font-family: 'Cormorant Garamond', serif;
  line-height: 1.15;
  font-weight: 600;
}
.section-label {
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--purple);
  font-weight: 600;
  margin-bottom: 14px;
  font-family: 'Inter', sans-serif;
}

/* ── BUTTONS ────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.3px;
  transition: all 0.2s ease;
  border: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--purple);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--purple-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(123,92,191,0.35);
}
.btn-outline {
  background: transparent;
  color: var(--purple);
  border: 1.5px solid var(--purple);
}
.btn-outline:hover {
  background: var(--purple-lighter);
  transform: translateY(-1px);
}
.btn-white {
  background: var(--white);
  color: var(--purple);
}
.btn-white:hover {
  background: var(--cream);
  transform: translateY(-1px);
}
.btn-lg {
  padding: 17px 36px;
  font-size: 15px;
}
.btn-sm {
  padding: 10px 20px;
  font-size: 13px;
}

/* ── NAVBAR ─────────────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: 72px;
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  transition: box-shadow 0.3s ease;
}
.navbar.scrolled {
  box-shadow: 0 2px 20px rgba(123,92,191,0.08);
}
.nav-inner {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.nav-brand {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--purple);
  letter-spacing: 0.5px;
  flex-shrink: 0;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-mid);
  letter-spacing: 0.2px;
  transition: color 0.2s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--purple);
  border-radius: 2px;
  transition: width 0.2s;
}
.nav-links a:hover { color: var(--purple); }
.nav-links a:hover::after { width: 100%; }
.nav-links a.active { color: var(--purple); }
.nav-links a.active::after { width: 100%; }
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s;
}
.nav-mobile {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 24px 32px;
  flex-direction: column;
  gap: 20px;
  z-index: 99;
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-mid);
  padding: 8px 0;
  border-bottom: 1px solid var(--border-light);
}

/* ── FOOTER ─────────────────────────────────────────────────────── */
footer {
  background: var(--dark);
  color: rgba(255,255,255,0.75);
  padding: 80px 0 40px;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 64px;
}
.footer-brand .brand-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}
.footer-brand p {
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 24px;
}
.footer-trust {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-trust span {
  font-size: 12.5px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.5;
}
.footer-trust span::before {
  content: '✓';
  color: var(--purple-mid);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}
.footer-col h4 {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  font-weight: 600;
  margin-bottom: 20px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col ul li a {
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  transition: color 0.2s;
}
.footer-col ul li a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { font-size: 13px; color: rgba(255,255,255,0.4); }
.social-links { display: flex; gap: 16px; }
.social-links a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: background 0.2s, transform 0.2s;
  color: rgba(255,255,255,0.6);
}
.social-links a:hover {
  background: var(--purple);
  color: var(--white);
  transform: translateY(-2px);
}

/* ── LAYOUT UTILITIES ───────────────────────────────────────────── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}
.container-sm {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 32px;
}
.section {
  padding: 100px 0;
}
.section-alt {
  background: var(--cream);
}
.text-center { text-align: center; }
.text-purple { color: var(--purple); }

/* ── COMING SOON MODAL ──────────────────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(20,12,36,0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-overlay.hidden { display: none; }
.modal-card {
  background: var(--white);
  border-radius: 28px;
  padding: 60px 52px;
  max-width: 500px;
  width: 100%;
  text-align: center;
  box-shadow: 0 32px 80px rgba(0,0,0,0.3);
  animation: modalIn 0.4s cubic-bezier(0.34,1.56,0.64,1);
}
@keyframes modalIn {
  from { opacity: 0; transform: translateY(32px) scale(0.96); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.modal-brand {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--purple);
  letter-spacing: 1px;
  margin-bottom: 8px;
}
.modal-diamond {
  font-size: 20px;
  color: var(--purple-mid);
  margin-bottom: 20px;
}
.modal-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 42px;
  font-weight: 600;
  color: var(--dark);
  line-height: 1.15;
  margin-bottom: 16px;
}
.modal-sub {
  font-size: 15px;
  color: var(--text-mid);
  line-height: 1.7;
  margin-bottom: 8px;
}
.modal-launch-tag {
  font-size: 11px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--purple);
  font-weight: 600;
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.modal-launch-tag::before,
.modal-launch-tag::after {
  content: '✦';
  font-size: 9px;
}
.modal-form {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}
.modal-form input {
  flex: 1;
  padding: 14px 18px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s;
}
.modal-form input:focus { border-color: var(--purple); }
.modal-form input::placeholder { color: var(--text-light); }
.modal-skip {
  font-size: 13px;
  color: var(--text-light);
  cursor: pointer;
  transition: color 0.2s;
  background: none;
  border: none;
  font-family: 'Inter', sans-serif;
  display: block;
  width: 100%;
}
.modal-skip:hover { color: var(--purple); }

/* ── CARD ───────────────────────────────────────────────────────── */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
}
.card:hover {
  border-color: var(--purple-mid);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
  transition: all 0.25s ease;
}

/* ── BADGE / TAG ────────────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.3px;
}
.badge-purple {
  background: var(--purple-light);
  color: var(--purple-dark);
}
.badge-green {
  background: #EDFAF3;
  color: #1B7A4B;
}
.badge-gold {
  background: #FFF8E6;
  color: #8A6400;
}

/* ── FAQ ACCORDION ──────────────────────────────────────────────── */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color 0.2s;
}
.faq-item.open {
  border-color: var(--purple);
  box-shadow: 0 2px 16px rgba(123,92,191,0.08);
}
.faq-question {
  width: 100%;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: none;
  border: none;
  text-align: left;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  font-family: 'Inter', sans-serif;
}
.faq-question:hover { color: var(--purple); }
.faq-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--purple-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--purple);
  font-size: 18px;
  font-weight: 300;
  transition: all 0.3s ease;
  line-height: 1;
}
.faq-item.open .faq-icon {
  background: var(--purple);
  color: var(--white);
  transform: rotate(45deg);
}
.faq-answer {
  display: none;
  padding: 0 24px 20px;
  font-size: 14.5px;
  color: var(--text-mid);
  line-height: 1.75;
}
.faq-item.open .faq-answer { display: block; }

/* ── FORMS ──────────────────────────────────────────────────────── */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-group label {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text);
}
.form-group input,
.form-group textarea,
.form-group select {
  padding: 13px 16px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-size: 14.5px;
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--white);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-appearance: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(123,92,191,0.1);
}
.form-group textarea { resize: vertical; min-height: 100px; }

/* ── PROGRESS BAR ───────────────────────────────────────────────── */
.progress-bar-track {
  width: 100%;
  height: 4px;
  background: var(--purple-lighter);
  border-radius: 4px;
  overflow: hidden;
}
.progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--purple), var(--purple-mid));
  border-radius: 4px;
  transition: width 0.4s ease;
}

/* ── SECTION HERO ───────────────────────────────────────────────── */
.page-hero {
  padding: 160px 0 100px;
  background: linear-gradient(135deg, var(--purple-deep) 0%, var(--purple) 100%);
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 80% at 50% 0%, rgba(255,255,255,0.06) 0%, transparent 60%);
}
.page-hero h1 {
  font-size: clamp(42px, 6vw, 68px);
  margin-bottom: 20px;
  position: relative;
}
.page-hero p {
  font-size: 18px;
  opacity: 0.8;
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.7;
  position: relative;
}

/* ── GRID UTILITIES ─────────────────────────────────────────────── */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 24px; }
.grid-4 { display: grid; grid-template-columns: 1fr 1fr 1fr 1fr; gap: 24px; }

/* ── RESPONSIVE ─────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .section { padding: 72px 0; }
  .container, .container-sm { padding: 0 20px; }
  .nav-inner { padding: 0 20px; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .modal-card { padding: 44px 28px; }
  .modal-title { font-size: 34px; }
  .modal-form { flex-direction: column; }
  .footer-inner { padding: 0 20px; }
}
@media (max-width: 480px) {
  .btn-lg { padding: 15px 24px; font-size: 14px; }
}
