/* ===== GoPyAI — Shop window (handover-aligned) ===== */
:root {
  --bg: #0d0d0d;
  --surface: #161616;
  --surface-elevated: #1e1e1e;
  --text: #f4f4f5;
  --text-secondary: #a1a1aa;
  --text-muted: #71717a;
  --accent: #3b82f6;
  --accent-hover: #2563eb;
  --success: #22c55e;
  --border: rgba(255, 255, 255, 0.08);
  --radius: 10px;
  --radius-lg: 14px;
  --font-sans: "DM Sans", system-ui, sans-serif;
  --font-display: "Fraunces", Georgia, serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

/* ===== Coming soon (flip data-coming-soon to "false" at launch) ===== */
.coming-soon-view {
  display: none;
  min-height: 100vh;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.25rem;
  text-align: center;
}

body[data-coming-soon="true"] .coming-soon-view {
  display: flex;
}

body[data-coming-soon="true"] .full-site {
  display: none !important;
}

.coming-soon-inner {
  max-width: 420px;
}

.coming-soon-view .logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.02em;
  display: inline-block;
  margin-bottom: 1.5rem;
}

.coming-soon-badge {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 1rem;
}

.coming-soon-title {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 600;
  line-height: 1.25;
  margin: 0 0 0.75rem;
  color: var(--text);
}

.coming-soon-date {
  font-size: 1.05rem;
  color: var(--accent);
  font-weight: 500;
  margin: 0 0 1rem;
}

.coming-soon-note {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0;
}

/* ===== Header ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0.875rem 1.25rem;
  background: rgba(13, 13, 13, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  transition: color 0.15s;
}

.nav a:hover {
  color: var(--text);
}

.nav-cta {
  color: var(--accent) !important;
}

.nav-cta:hover {
  color: var(--accent-hover) !important;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.menu-toggle span {
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.35rem;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius);
  transition: background 0.15s, transform 0.1s;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  border: none;
}

.btn-primary:hover {
  background: var(--accent-hover);
}

.btn-secondary {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  background: var(--surface-elevated);
}

.btn-large {
  padding: 0.9rem 1.75rem;
  font-size: 1rem;
}

/* ===== Hero ===== */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 5rem 1.25rem 4rem;
  max-width: 720px;
  margin: 0 auto;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 0.75rem;
  letter-spacing: -0.03em;
}

.hero-tagline {
  font-size: 1.2rem;
  color: var(--success);
  font-weight: 500;
  margin: 0 0 1.25rem;
}

.hero-one-liner {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin: 0 0 1.75rem;
}

.hero-one-liner strong {
  color: var(--text);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

/* ===== Sections ===== */
section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 3.5rem 1.25rem;
}

.section-label {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 0.5rem;
}

.section-intro {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin: 0 0 1.5rem;
  max-width: 56ch;
}

.section-intro strong {
  color: var(--text);
}

/* ===== Value prop (bento-style grid) ===== */
.value-prop {
  padding-top: 2rem;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1rem;
}

.value-card {
  padding: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: border-color 0.15s;
}

.value-card:hover {
  border-color: rgba(59, 130, 246, 0.25);
}

.value-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
  color: var(--text);
}

.value-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

.value-card strong {
  color: var(--success);
}

/* ===== Problem / Solution ===== */
.problem-solution {
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  margin: 0 auto 2rem;
  max-width: 1100px;
}

.problem-solution-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  padding: 2rem 1.5rem;
}

.problem .section-label,
.solution .section-label {
  margin-bottom: 0.35rem;
}

.problem p,
.solution p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* ===== How it works ===== */
.how-it-works {
  padding-top: 1rem;
}

.flow-steps {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.flow-step {
  padding: 1.25rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  position: relative;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--bg);
  background: var(--accent);
  border-radius: 50%;
  margin-bottom: 0.6rem;
}

.flow-step h3 {
  font-size: 0.95rem;
  font-weight: 600;
  margin: 0 0 0.25rem;
}

.flow-step p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.how-cta {
  margin-top: 1.5rem;
}

/* ===== Trust / Proof ===== */
.trust {
  padding-top: 1rem;
}

.proof-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  max-width: 520px;
}

.proof-list li {
  padding: 0.6rem 0;
  font-size: 1rem;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border);
  line-height: 1.5;
}

.proof-list li:last-child {
  border-bottom: none;
}

.proof-list strong {
  color: var(--text);
}

/* ===== CTA ===== */
.cta {
  text-align: center;
  padding: 4rem 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  margin: 0 auto 2rem;
  max-width: 1100px;
}

.cta h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
}

.cta > p {
  color: var(--text-secondary);
  margin: 0 0 1.25rem;
  font-size: 1rem;
}

.cta-meta {
  margin-top: 1rem !important;
  font-size: 0.85rem;
  color: var(--text-muted) !important;
}

/* ===== Footer ===== */
.site-footer {
  padding: 2.5rem 1.25rem;
  border-top: 1px solid var(--border);
  text-align: center;
}

.footer-inner {
  max-width: 600px;
  margin: 0 auto;
}

.site-footer .logo {
  display: inline-block;
  margin-bottom: 0.35rem;
}

.footer-tagline {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0 0 0.75rem;
}

.footer-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
}

.footer-link:hover {
  color: var(--accent);
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .value-grid {
    grid-template-columns: 1fr;
  }

  .problem-solution-inner {
    grid-template-columns: 1fr;
  }

  .flow-steps {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav {
    display: none;
  }

  .nav.is-open {
    display: flex;
    position: fixed;
    top: 52px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    padding: 0.75rem;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
  }

  .nav.is-open a {
    padding: 0.65rem;
    border-bottom: 1px solid var(--border);
  }

  .nav.is-open a:last-child {
    border-bottom: none;
  }

  .menu-toggle {
    display: flex;
  }

  .flow-steps {
    grid-template-columns: 1fr;
  }

  .hero-cta {
    flex-direction: column;
  }

  .hero-cta .btn {
    width: 100%;
  }

  .problem-solution-inner {
    padding: 1.5rem 1.25rem;
  }
}

@media (max-width: 480px) {
  section {
    padding: 2.5rem 1rem;
  }

  .hero {
    padding: 4.5rem 1rem 3rem;
  }

  .hero-title {
    font-size: 1.75rem;
  }

  .hero-tagline {
    font-size: 1.05rem;
  }
}
