/* ============================================
   GLSS — Premium Salon Intelligence Platform
   ============================================ */

:root {
  /* Palette — warm neutrals + champagne gold */
  --bg:         #FAF8F5;
  --bg-warm:    #F5F0EB;
  --bg-dark:    #1A1714;
  --bg-card:    #FFFFFF;
  --text:       #1A1714;
  --text-soft:  #6B6158;
  --text-muted: #A39888;
  --gold:       #C9A96E;
  --gold-light: #E8D5B0;
  --gold-dark:  #A68B52;
  --border:     #E8E2DA;
  --white:      #FFFFFF;

  /* Type */
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans:  'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Spacing */
  --section-py: clamp(80px, 10vw, 140px);
  --container:  1200px;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ---- Container ---- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 48px);
}

/* ---- Typography ---- */
.section-label {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
}
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
}
.section-subtitle {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: var(--text-soft);
  max-width: 640px;
  margin-bottom: 3.5rem;
  line-height: 1.8;
}
.section { padding: var(--section-py) 0; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  border: none;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 6px;
}
.btn-primary {
  background: var(--gold);
  color: var(--white);
  padding: 16px 40px;
}
.btn-primary:hover {
  background: var(--gold-dark);
  transform: translateY(-1px);
  box-shadow: 0 8px 30px rgba(201, 169, 110, 0.3);
}
.btn-full { width: 100%; }

/* ---- Navigation ---- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px 0;
  transition: all 0.4s ease;
}
.nav.scrolled {
  background: rgba(250, 248, 245, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 14px 0;
  box-shadow: 0 1px 0 var(--border);
}
.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 48px);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.nav-logo {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--text);
}
.nav-cta {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold-dark);
  padding: 10px 24px;
  border: 1.5px solid var(--gold);
  border-radius: 6px;
  transition: all 0.3s ease;
}
.nav-cta:hover {
  background: var(--gold);
  color: var(--white);
}

/* ---- Hero ---- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 0 80px;
  overflow: hidden;
}
.hero-bg-pattern {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 20% 80%, rgba(201,169,110,0.08) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 80% 20%, rgba(201,169,110,0.06) 0%, transparent 60%);
  pointer-events: none;
}
.hero-content { position: relative; max-width: 800px; }
.hero-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--gold-light);
  padding: 8px 20px;
  border-radius: 100px;
  margin-bottom: 2.5rem;
}
.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 500;
  line-height: 1.15;
  margin-bottom: 1.75rem;
  letter-spacing: -0.02em;
}
.hero-title em {
  font-style: italic;
  color: var(--gold-dark);
}
.hero-sub {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: var(--text-soft);
  line-height: 1.8;
  max-width: 600px;
  margin: 0 auto 2.5rem;
}
.hero-scroll-hint {
  margin-top: 4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  animation: gentleBounce 3s ease-in-out infinite;
}
@keyframes gentleBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

/* ---- Problem ---- */
.section-problem {
  background: var(--bg-warm);
}
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.problem-card {
  padding: 40px 32px;
  border-radius: 12px;
  background: var(--bg);
  border: 1px solid var(--border);
  transition: all 0.4s ease;
}
.problem-card:hover {
  border-color: var(--gold-light);
  box-shadow: 0 12px 40px rgba(26, 23, 20, 0.06);
  transform: translateY(-4px);
}
.problem-icon {
  width: 48px;
  height: 48px;
  color: var(--gold);
  margin-bottom: 1.5rem;
}
.problem-card h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 0.75rem;
}
.problem-card p {
  font-size: 0.95rem;
  color: var(--text-soft);
  line-height: 1.7;
}

/* ---- Solution ---- */
.solution-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.solution-card {
  padding: 40px 32px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}
.solution-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  opacity: 0;
  transition: opacity 0.4s ease;
}
.solution-card:hover {
  border-color: var(--gold-light);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(26, 23, 20, 0.06);
}
.solution-card:hover::before { opacity: 1; }
.solution-card-icon {
  width: 56px;
  height: 56px;
  color: var(--gold);
  margin-bottom: 1.5rem;
}
.solution-card h3 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 500;
  margin-bottom: 0.75rem;
}
.solution-card p {
  font-size: 0.92rem;
  color: var(--text-soft);
  line-height: 1.7;
}

/* ---- How It Works ---- */
.section-how {
  background: var(--bg-dark);
  color: var(--white);
}
.section-how .section-label { color: var(--gold-light); }
.section-how .section-subtitle { color: rgba(255,255,255,0.55); }
.steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 700px;
}
.step {
  display: flex;
  gap: 32px;
  position: relative;
  padding-bottom: 48px;
}
.step:last-child { padding-bottom: 0; }
.step-number {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--gold);
  min-width: 64px;
  line-height: 1;
  padding-top: 4px;
}
.step-content h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 0.75rem;
}
.step-content p {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
}
.step-line {
  position: absolute;
  left: 31px;
  top: 48px;
  bottom: 0;
  width: 1px;
  background: linear-gradient(180deg, var(--gold) 0%, transparent 100%);
}

/* ---- Boutique ---- */
.section-boutique {
  background: var(--bg-warm);
  overflow: hidden;
}
.boutique-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.boutique-text .section-title { text-align: left; }
.boutique-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 2.5rem;
}
.boutique-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--text-soft);
}
.boutique-check {
  width: 20px;
  height: 20px;
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 2px;
}
.boutique-stat {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}
.boutique-stat-number {
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 600;
  color: var(--gold);
  line-height: 1;
}
.boutique-stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Phone mockup */
.boutique-visual {
  display: flex;
  justify-content: center;
}
.boutique-phone {
  width: 300px;
  background: var(--bg-dark);
  border-radius: 36px;
  padding: 12px;
  box-shadow:
    0 40px 80px rgba(26, 23, 20, 0.15),
    0 0 0 1px rgba(255,255,255,0.08) inset;
  position: relative;
}
.boutique-phone-notch {
  width: 120px;
  height: 28px;
  background: var(--bg-dark);
  border-radius: 0 0 16px 16px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.boutique-phone-screen {
  background: var(--bg);
  border-radius: 26px;
  padding: 20px 16px 28px;
  margin-top: -14px;
  min-height: 480px;
}
.phone-header {
  text-align: center;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 20px;
}
.phone-greeting {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 4px;
}
.phone-date {
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}
.phone-section-label {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 16px 0 10px;
}
.phone-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px;
  margin-bottom: 10px;
  position: relative;
}
.phone-card-badge {
  display: inline-block;
  font-size: 0.55rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--bg-warm);
  color: var(--text-muted);
  padding: 3px 8px;
  border-radius: 4px;
  margin-bottom: 8px;
}
.phone-card-badge.accent {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--white);
}
.phone-card-title {
  font-family: var(--font-serif);
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 2px;
}
.phone-card-desc {
  font-size: 0.7rem;
  color: var(--text-muted);
}
.phone-card-price {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gold-dark);
}
.phone-card-bundle { text-align: center; }
.phone-card-prices {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 8px;
}
.phone-card-original {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-decoration: line-through;
}
.phone-card-sale {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--gold-dark);
}

/* ---- Social Proof ---- */
.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 4rem;
}
.proof-card {
  text-align: center;
  padding: 48px 32px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  transition: all 0.4s ease;
}
.proof-card:hover {
  border-color: var(--gold-light);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(26, 23, 20, 0.06);
}
.proof-metric {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 0.75rem;
  line-height: 1;
}
.proof-label {
  font-size: 0.9rem;
  color: var(--text-soft);
  line-height: 1.6;
}
.proof-quote {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}
.proof-quote blockquote p {
  font-family: var(--font-serif);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-style: italic;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 1.25rem;
}
.proof-quote cite {
  font-style: normal;
  font-size: 0.85rem;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

/* ---- For Salon Owners ---- */
.section-owners {
  background: var(--bg-warm);
}
.owners-content {
  max-width: 640px;
  margin-bottom: 3rem;
}
.owners-content p {
  font-size: 1.05rem;
  color: var(--text-soft);
  margin-bottom: 1.25rem;
  line-height: 1.8;
}
.owners-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.owners-feature {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.owners-feature-icon {
  width: 40px;
  height: 40px;
  color: var(--gold);
  flex-shrink: 0;
}
.owners-feature h4 {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 500;
  margin-bottom: 0.4rem;
}
.owners-feature p {
  font-size: 0.88rem;
  color: var(--text-soft);
  line-height: 1.6;
}

/* ---- CTA ---- */
.section-cta {
  background: var(--bg-dark);
  color: var(--white);
  text-align: center;
}
.cta-inner { max-width: 560px; margin: 0 auto; }
.cta-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 500;
  margin-bottom: 1.25rem;
}
.cta-sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.8;
  margin-bottom: 2.5rem;
}
.cta-form {
  text-align: left;
}
.cta-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.cta-field label {
  display: block;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 6px;
}
.cta-field input,
.cta-field select {
  width: 100%;
  padding: 14px 16px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 6px;
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 0.92rem;
  transition: all 0.3s ease;
  -webkit-appearance: none;
}
.cta-field input::placeholder { color: rgba(255,255,255,0.25); }
.cta-field input:focus,
.cta-field select:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(255,255,255,0.08);
}
.cta-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='rgba(255,255,255,0.4)' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}
.cta-field select option {
  background: var(--bg-dark);
  color: var(--white);
}
.btn-full { margin-top: 8px; }
.cta-privacy {
  text-align: center;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.3);
  margin-top: 16px;
}
.cta-success {
  padding: 48px 0;
}
.cta-success-icon {
  width: 48px;
  height: 48px;
  color: var(--gold);
  margin: 0 auto 1.5rem;
}
.cta-success h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}
.cta-success p {
  color: rgba(255,255,255,0.55);
  font-size: 0.95rem;
}

/* ---- Footer ---- */
.footer {
  padding: 32px 0;
  border-top: 1px solid var(--border);
  background: var(--bg);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-brand {
  display: flex;
  align-items: baseline;
  gap: 16px;
}
.footer-logo {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.1em;
}
.footer-tagline {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-style: italic;
}
.footer-copy {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ---- Animations ---- */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-delay-1 { transition-delay: 0.15s; }
.fade-delay-2 { transition-delay: 0.3s; }
.fade-delay-3 { transition-delay: 0.45s; }

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .problem-grid,
  .solution-grid,
  .proof-grid,
  .owners-features {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .boutique-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .boutique-visual { order: -1; }
  .boutique-text .section-title,
  .boutique-text .section-subtitle { text-align: center; }
  .boutique-list { align-items: center; }
  .boutique-stat { justify-content: center; }
  .cta-form-row { grid-template-columns: 1fr; }
  .step { gap: 20px; }
  .step-number { font-size: 2rem; min-width: 48px; }
  .footer-inner {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
  .footer-brand { flex-direction: column; align-items: center; gap: 4px; }
}

@media (max-width: 600px) {
  .hero { min-height: 90vh; padding: 100px 0 60px; }
  .hero-badge { margin-bottom: 2rem; }
  .nav-cta { display: none; }
  .boutique-phone { width: 260px; }
  .proof-card { padding: 32px 20px; }
  .owners-feature { flex-direction: column; gap: 8px; }
}

/* ---- Selection ---- */
::selection {
  background: var(--gold-light);
  color: var(--text);
}
