/* ── Baby Sling Marketing Website ── */
:root {
  --bg: #0f0f1a;
  --bg-card: #1a1a2e;
  --bg-alt: #141428;
  --bg-hover: #252540;
  --text: #e0e0e0;
  --text-dim: #888;
  --accent: #7C6FD6;
  --purple: #9575CD;
  --green: #4CAF50;
  --teal: #4DD0E1;
  --yellow: #FFD700;
  --border: #333;
  --radius: 12px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── Navigation ── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(15, 15, 26, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text) !important;
  text-decoration: none !important;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-links a {
  color: var(--text-dim);
  font-size: 0.9rem;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); text-decoration: none; }

.btn-nav {
  background: var(--accent) !important;
  color: #fff !important;
  padding: 0.4rem 1rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.85rem !important;
  transition: opacity 0.2s;
}
.btn-nav:hover { opacity: 0.85; text-decoration: none !important; }

.lang-toggle {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 0.3rem 0.5rem;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 600;
  min-width: 36px;
  transition: background 0.2s;
}
.lang-toggle:hover { background: var(--bg-hover); }

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  margin: 5px 0;
  transition: 0.3s;
}

/* ── Hero ── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6rem 1.5rem 3rem;
  gap: 4rem;
  max-width: 1100px;
  margin: 0 auto;
}

.hero-content {
  flex: 1;
  max-width: 520px;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  background: linear-gradient(135deg, var(--accent), var(--purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-dim);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

.hero-free {
  font-size: 0.9rem;
  color: var(--green);
  font-weight: 600;
}

.hero-visual {
  flex: 0 0 auto;
}

.watch-frame {
  width: 280px;
  height: 280px;
  background: #000;
  border-radius: 50%;
  border: 8px solid #2a2a3a;
  box-shadow: 0 0 60px rgba(124, 111, 214, 0.2), inset 0 0 30px rgba(0,0,0,0.5);
  overflow: hidden;
}

.watch-face {
  width: 100%;
  height: 100%;
}

/* ── Buttons ── */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.2s;
  text-decoration: none !important;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--accent);
  color: #fff !important;
}
.btn-primary:hover { opacity: 0.85; }

.btn-secondary {
  background: transparent;
  color: var(--accent) !important;
  border: 2px solid var(--accent);
}
.btn-secondary:hover { background: rgba(124, 111, 214, 0.1); }

.btn-large {
  padding: 1rem 2.5rem;
  font-size: 1.15rem;
}

/* ── Sections ── */
.section {
  padding: 5rem 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.section-alt {
  background: var(--bg-alt);
  max-width: none;
}
.section-alt > * {
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 0.75rem;
}

.section-subtitle {
  text-align: center;
  color: var(--text-dim);
  margin-bottom: 3rem;
  font-size: 1.05rem;
}

/* ── Features Grid ── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: border-color 0.2s, transform 0.2s;
}
.feature-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.feature-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.feature-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.feature-card p {
  color: var(--text-dim);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ── How It Works Steps ── */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.step {
  text-align: center;
}

.step-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.step h3 {
  margin-bottom: 0.5rem;
  font-size: 1.05rem;
}

.step p {
  color: var(--text-dim);
  font-size: 0.9rem;
}

/* ── Live Sync ── */
.live-sync-content {
  display: flex;
  gap: 3rem;
  align-items: center;
  margin-top: 3rem;
}

.live-sync-text {
  flex: 1;
}

.live-sync-text p {
  color: var(--text-dim);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.live-sync-features {
  list-style: none;
  margin-bottom: 2rem;
}

.live-sync-features li {
  padding: 0.4rem 0;
  color: var(--text);
  font-size: 0.95rem;
}

.live-sync-features li::before {
  content: "\2713 ";
  color: var(--green);
  font-weight: 700;
}

.live-sync-visual {
  flex: 0 0 360px;
}

.webapp-mockup {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.mockup-bar {
  background: #222;
  padding: 0.5rem 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.dot.red { background: #ff5f57; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #28ca41; }

.mockup-url {
  margin-left: 0.5rem;
  color: var(--text-dim);
  font-size: 0.75rem;
  font-family: monospace;
}

.mockup-body {
  padding: 1.5rem;
}

.mockup-stat {
  display: flex;
  justify-content: space-between;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--border);
}

.mockup-label {
  color: var(--text-dim);
  font-size: 0.9rem;
}

.mockup-value {
  font-weight: 700;
  font-size: 0.95rem;
}
.mockup-value.purple { color: var(--purple); }
.mockup-value.teal { color: var(--teal); }
.mockup-value.green { color: var(--green); }

.mockup-chart {
  margin-top: 1rem;
  padding: 0.5rem 0;
}

/* ── Devices ── */
.device-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.device-group {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.device-group h3 {
  color: var(--accent);
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.device-group p {
  color: var(--text-dim);
  font-size: 0.85rem;
  line-height: 1.8;
}

/* ── CTA ── */
.cta {
  text-align: center;
  padding: 6rem 1.5rem;
}

.cta h2 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.cta p {
  color: var(--text-dim);
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

/* ── Footer ── */
footer {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding: 3rem 1.5rem 1.5rem;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 2rem;
}

.footer-col h4 {
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
}

.footer-col p {
  color: var(--text-dim);
  font-size: 0.85rem;
  line-height: 1.6;
}

.footer-col a {
  display: block;
  color: var(--text-dim);
  font-size: 0.85rem;
  padding: 0.25rem 0;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--accent); text-decoration: none; }

.footer-bottom {
  max-width: 1100px;
  margin: 2rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* ── Legal Pages ── */
.legal-page {
  max-width: 800px;
  margin: 0 auto;
  padding: 6rem 1.5rem 3rem;
}

.legal-page h1 {
  font-size: 2rem;
  margin-bottom: 2rem;
}

.legal-page h2 {
  font-size: 1.3rem;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  color: var(--accent);
}

.legal-page h3 {
  font-size: 1.1rem;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.legal-page p, .legal-page li {
  color: var(--text-dim);
  margin-bottom: 0.75rem;
  line-height: 1.7;
}

.legal-page ul {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.legal-page a {
  word-break: break-word;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding-top: 5rem;
    gap: 2rem;
  }
  .hero h1 { font-size: 2.2rem; }
  .hero-buttons { justify-content: center; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .device-grid { grid-template-columns: 1fr; }
  .live-sync-content { flex-direction: column; }
  .live-sync-visual { flex: 0 0 auto; width: 100%; max-width: 360px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(15, 15, 26, 0.98);
    padding: 1rem 1.5rem;
    gap: 0.75rem;
    border-bottom: 1px solid var(--border);
  }
  .hamburger { display: block; }
  .hero h1 { font-size: 1.8rem; }
  .hero-subtitle { font-size: 1rem; }
  .hero-buttons { flex-direction: column; align-items: center; }
  .watch-frame { width: 220px; height: 220px; }
  .features-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
}
