/* SalonTime landing — same design language as app: white, black, orange, grey, rounded cards + marketing pop */

:root {
  --bg: #ffffff;
  --text: #111111;
  --text-muted: #6b7280;
  --accent: #f97316;
  --accent-hover: #ea580c;
  --accent-glow: rgba(249, 115, 22, 0.35);
  --accent-soft: rgba(249, 115, 22, 0.12);
  --border: #e5e7eb;
  --card-bg: #f9fafb;
  --radius: 16px;
  --radius-sm: 12px;
  --radius-pill: 9999px;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -2px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
  --shadow-accent: 0 8px 24px -4px var(--accent-glow), 0 4px 8px -2px rgba(249, 115, 22, 0.2);
  --font: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
  cursor: pointer;
  border: 2px solid transparent;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, #e85d04 100%);
  color: #fff;
  box-shadow: var(--shadow-accent);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--accent-hover) 0%, #d54d02 100%);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px -4px var(--accent-glow), 0 6px 12px -2px rgba(249, 115, 22, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(249, 115, 22, 0.15);
}

.btn-lg {
  padding: 14px 28px;
  font-size: 16px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 24px;
}

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

.lang-select {
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  outline: none;
}

.lang-select:hover {
  border-color: var(--accent);
}

.header-coming-soon {
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
  border: 1px solid rgba(249, 115, 22, 0.2);
}

.logo {
  font-weight: 700;
  font-size: 20px;
  color: var(--text);
  text-decoration: none;
  transition: color 0.2s ease;
}

.logo:hover {
  color: var(--accent);
}

.nav {
  display: flex;
  gap: 32px;
}

.nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
}

.nav a:hover {
  color: var(--accent);
}

@media (max-width: 768px) {
  .nav {
    display: none;
  }
}

/* Hero */
.hero {
  padding: 80px 0 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: -20% 0 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, var(--accent-soft) 0%, transparent 55%);
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 1;
}

@media (prefers-reduced-motion: no-preference) {
  .hero-title {
    animation: heroFadeIn 0.7s ease-out;
  }
  .hero-subtitle {
    animation: heroFadeIn 0.7s ease-out 0.15s both;
  }
  .hero-coming-soon {
    animation: heroFadeIn 0.7s ease-out 0.25s both;
  }
  .hero-badges {
    animation: heroFadeIn 0.7s ease-out 0.35s both;
  }
  .hero-actions {
    animation: heroFadeIn 0.7s ease-out 0.45s both;
  }
}

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

.hero-title {
  font-size: clamp(38px, 6.5vw, 56px);
  font-weight: 700;
  line-height: 1.12;
  margin-bottom: 18px;
  letter-spacing: -0.02em;
}

.hero-title-line {
  display: block;
  color: var(--text);
}

.hero-title-accent {
  display: block;
  color: var(--accent);
  text-shadow: 0 0 40px var(--accent-glow);
}

.hero-subtitle {
  max-width: 560px;
  margin: 0 auto 28px;
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.6;
}

.hero-coming-soon {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  margin-bottom: 20px;
  border: 1px solid rgba(249, 115, 22, 0.25);
}

.hero-badges {
  display: flex;
  gap: 12px;
  justify-content: center;
  align-items: center;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  background: var(--card-bg);
  border: 1px solid var(--border);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.store-badge:hover {
  border-color: rgba(249, 115, 22, 0.4);
  box-shadow: var(--shadow);
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Showcase sections */
.showcase {
  padding: 80px 0;
}

.showcase-alt {
  background: var(--card-bg);
}

.showcase-header {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 48px;
}

.showcase-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  background: var(--accent-soft);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 12px;
  border: 1px solid rgba(249, 115, 22, 0.2);
}

.showcase-title {
  font-size: clamp(24px, 4vw, 30px);
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.showcase-desc {
  font-size: 16px;
  color: var(--text-muted);
}

.phone-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
}

@media (prefers-reduced-motion: no-preference) {
  .phone-wrap .iphone-14 {
    animation: phoneFloat 4s ease-in-out infinite;
  }
}

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

/* iPhone 14 Pro–style frame: accurate proportions, Dynamic Island, thin bezel
   Device ~71.5×146.7mm, screen 390×844 pt → frame scale matches */
.iphone-14 {
  --phone-width: 280px;
  --bezel: 3px;
  --screen-radius: 40px;
  width: var(--phone-width);
  padding: var(--bezel);
  background: #000;
  border-radius: 46px;
  box-shadow:
    0 0 0 2px #2c2c2e,
    0 0 0 4px #1c1c1e,
    0 24px 48px rgba(0,0,0,0.35),
    0 0 0 1px rgba(0,0,0,0.05);
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.phone-wrap:hover .iphone-14 {
  box-shadow:
    0 0 0 2px #2c2c2e,
    0 0 0 4px #1c1c1e,
    0 32px 56px rgba(0,0,0,0.4),
    0 0 0 1px rgba(0,0,0,0.05);
}

/* Side Buttons */
.iphone-14::before,
.iphone-14::after {
  content: '';
  position: absolute;
  background: #1c1c1e;
  border-radius: 2px;
}

/* Silent & Volume */
.iphone-14::before {
  left: -3px;
  top: 80px;
  width: 3px;
  height: 24px;
  box-shadow: 0 40px 0 #1c1c1e, 0 80px 0 #1c1c1e; /* Volume up/down */
}

/* Side Button (Power) */
.iphone-14::after {
  right: -3px;
  top: 140px;
  width: 3px;
  height: 50px;
}

.iphone-14-screen {
  width: 100%;
  aspect-ratio: 390 / 844;
  border-radius: var(--screen-radius);
  overflow: hidden;
  background: #000;
  position: relative;
  border: 1px solid rgba(255,255,255,0.1);
}

.screen-glass {
  position: absolute;
  inset: 0;
  background: linear-gradient(125deg, rgba(255,255,255,0.1) 0%, transparent 40%, rgba(255,255,255,0.05) 60%, transparent 100%);
  pointer-events: none;
  z-index: 3;
}

.screen-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  border-radius: inherit;
}

@media (max-width: 640px) {
  .iphone-14 {
    --phone-width: 260px;
    --bezel: 2px;
    --screen-radius: 38px;
    border-radius: 42px;
  }
}

/* Features */
.features {
  padding: 80px 0 100px;
  background: var(--bg);
}

.features-title {
  text-align: center;
  font-size: clamp(26px, 4vw, 30px);
  font-weight: 700;
  margin-bottom: 40px;
  letter-spacing: -0.02em;
  color: var(--text);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid var(--border);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(249, 115, 22, 0.1);
  border-color: rgba(249, 115, 22, 0.35);
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-soft) 0%, rgba(249, 115, 22, 0.08) 100%);
  border: 1px solid rgba(249, 115, 22, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 16px;
  transition: background 0.25s ease, transform 0.25s ease;
}

.feature-card:hover .feature-icon {
  background: linear-gradient(135deg, var(--accent-soft) 0%, rgba(249, 115, 22, 0.18) 100%);
  transform: scale(1.05);
}

.feature-card h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 14px;
  color: var(--text-muted);
}

/* CTA */
.cta {
  padding: 88px 0;
  background: linear-gradient(180deg, var(--card-bg) 0%, #f3f4f6 100%);
  border-top: 1px solid var(--border);
  position: relative;
}

.cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 50% at 50% 100%, var(--accent-soft) 0%, transparent 60%);
  pointer-events: none;
}

.cta-inner {
  text-align: center;
  position: relative;
  z-index: 1;
}

.cta-title {
  font-size: clamp(26px, 4vw, 32px);
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.cta-subtitle {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 28px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.cta-actions .btn-primary {
  padding: 16px 32px;
  font-size: 17px;
}

.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Footer */
.site-footer {
  padding: 32px 0;
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-copy {
  font-size: 14px;
  color: var(--text-muted);
}

@media (max-width: 640px) {
  .hero {
    padding: 48px 0 64px;
  }
  .showcase,
  .features,
  .cta {
    padding: 48px 0 64px;
  }
  .header-coming-soon {
    display: none;
  }
}
