/* =============================================
   Agent One Landing Page
   Layered on top of signup.css -- overrides body
   layout and adds landing-specific sections.
   ============================================= */

/* Clean light theme */
:root {
  --bg: #ffffff;
  --bg-secondary: #f7f8fa;
  --bg-card: #ffffff;
  --bg-card-hover: #f5f3ff;
  --bg-card-selected: #ede9fe;
  --text: #1a1a2e;
  --text-secondary: #5c5f72;
  --text-muted: #636970;
  --accent: #7c6aef;
  --accent-hover: #6b58e0;
  --accent-light: #f0edff;
  --border: #e8e8ee;
  --border-selected: #7c6aef;
  --shadow: 0 4px 24px rgba(0,0,0,0.06);
}

/* Override signup.css body layout for full-page scroll */
body {
  display: block;
  padding: 0;
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ===== NAV ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 1.5rem;
  transition: background 0.3s, backdrop-filter 0.3s, box-shadow 0.3s;
}

.nav-scrolled {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--border);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}

.nav-brand {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-links a {
  font-size: 0.85rem;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.15s;
}

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

.nav-cta {
  background: var(--accent);
  color: white !important;
  padding: 0.45rem 1rem;
  border-radius: 8px;
  font-weight: 600;
  transition: background 0.15s !important;
}

.nav-cta:hover {
  background: var(--accent-hover);
}

/* Hide middle nav links on small screens */
@media (max-width: 600px) {
  .nav-links a:not(.nav-cta) {
    display: none;
  }
}

/* ===== HERO ===== */
.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10rem 2rem 6rem;
  text-align: center;
}

.hero-inner {
  max-width: 860px;
}

.hero-badge {
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--accent);
  background: var(--accent-light);
  padding: 0.35rem 0.9rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
  letter-spacing: 0.01em;
}

.hero h1 {
  font-size: 4.5rem;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.035em;
  margin-bottom: 1.5rem;
  color: var(--text);
}

.hero-sub {
  font-size: 1.25rem;
  line-height: 1.65;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-cta {
  display: inline-block;
  padding: 1rem 2.5rem;
  font-size: 1.15rem;
  font-weight: 600;
  color: white;
  background: var(--accent);
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.15s, transform 0.15s;
}

.hero-cta:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

.hero-note {
  margin-top: 0.75rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

@media (max-width: 600px) {
  .hero h1 {
    font-size: 2rem;
  }
  .hero-sub {
    font-size: 1rem;
  }
}

/* ===== PITCH BAR ===== */
.pitch {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 0 1.5rem;
}

.pitch-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  padding: 1.75rem 0;
}

.pitch-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.25rem;
  flex: 1;
}

.pitch-number {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
}

.pitch-label {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.pitch-divider {
  width: 1px;
  height: 32px;
  background: var(--border);
  flex-shrink: 0;
}

@media (max-width: 480px) {
  .pitch-inner {
    gap: 1.5rem;
  }
  .pitch-number {
    font-size: 1.25rem;
  }
  .pitch-label {
    font-size: 0.75rem;
  }
}

/* ===== SECTIONS ===== */
.section {
  padding: 5rem 1.5rem;
}

.section-alt {
  background: var(--bg-secondary);
}

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.section-title {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  text-align: center;
  margin-bottom: 0.75rem;
  color: var(--text);
}

.section-sub {
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--text-secondary);
  text-align: center;
  max-width: 520px;
  margin: 0 auto 3rem;
}

@media (max-width: 600px) {
  .section {
    padding: 3.5rem 1.25rem;
  }
  .section-title {
    font-size: 1.5rem;
  }
  .section-sub {
    font-size: 0.95rem;
    margin-bottom: 2rem;
  }
}

/* ===== HOW IT WORKS ===== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.step-card {
  padding: 1.75rem;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--bg-card);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--accent-light);
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.step-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.step-card p {
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--text-secondary);
}

@media (max-width: 700px) {
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

/* ===== FEATURES ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.feature-card {
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--bg-card);
  transition: border-color 0.2s;
}

.feature-card:hover {
  border-color: var(--accent);
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--accent-light);
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.feature-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: var(--text);
}

.feature-card p {
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--text-secondary);
}

@media (max-width: 600px) {
  .features-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .feature-card {
    text-align: center;
  }

  .feature-card .feature-icon {
    margin-left: auto;
    margin-right: auto;
  }
}

/* ===== PRICING ===== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto 1.5rem;
  align-items: stretch;
}

@media (max-width: 700px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }
}

.pricing-card {
  padding: 2.5rem 2rem;
  border: 2px solid var(--border);
  border-radius: 16px;
  background: var(--bg-card);
  text-align: center;
  display: flex;
  flex-direction: column;
}

.pricing-card-highlight {
  border-color: var(--accent);
}

.pricing-header {
  margin-bottom: 2rem;
}

.pricing-name {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}

.pricing-amount {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.25rem;
}

.pricing-dollar {
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
}

.pricing-period {
  font-size: 1.1rem;
  color: var(--text-muted);
}

.pricing-features {
  list-style: none;
  text-align: left;
  margin: 0 0 2rem;
  padding: 0;
  flex: 1 1 0%;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.55rem 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border);
}

.pricing-features li:last-child {
  border-bottom: none;
}

.pricing-features svg {
  color: var(--accent);
  flex-shrink: 0;
}

.pricing-cta {
  display: block;
  width: 100%;
  padding: 0.9rem;
  margin-top: auto;
  font-size: 1.05rem;
  font-weight: 600;
  color: white;
  background: var(--accent);
  border-radius: 10px;
  text-decoration: none;
  text-align: center;
  transition: background 0.15s;
}

.pricing-cta:hover {
  background: var(--accent-hover);
}

.launch-badge {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  color: #b45309;
  background: #fef3c7;
  border: 1px solid #fde68a;
  padding: 0.35rem 0.9rem;
  border-radius: 100px;
  margin-bottom: 1.25rem;
  letter-spacing: 0.01em;
}

.pricing-note {
  margin-top: 1rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
}

.pricing-footnote {
  margin-top: 0.5rem;
  font-size: 0.7rem;
  color: var(--text-muted);
  text-align: center;
  opacity: 0.7;
}

/* ===== FAQ ===== */
.faq-list {
  max-width: 600px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item summary {
  padding: 1.1rem 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: transform 0.2s;
}

.faq-item[open] summary::after {
  content: '-';
}

.faq-item p {
  padding: 0 0 1.1rem;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

/* ===== PERSONALITY SHOWCASE ===== */
.personality-showcase {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  max-width: 800px;
  margin: 0 auto;
}

.showcase-card {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 1.1rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg-card);
  transition: border-color 0.2s;
}

.showcase-emoji {
  font-size: 1.5rem;
  margin-bottom: 0.25rem;
}

.showcase-card strong {
  font-size: 0.9rem;
  color: var(--text);
}

.showcase-card span:last-child {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

@media (max-width: 600px) {
  .personality-showcase {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 380px) {
  .personality-showcase {
    grid-template-columns: 1fr;
  }
}

/* ===== SIGNUP TEMPLATE CARDS ===== */
.signup-template-card {
  padding: 0.6rem 0.75rem;
  border: 2px solid var(--border);
  border-radius: 8px;
  background: var(--bg);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
  text-align: left;
}

.signup-template-card:hover {
  border-color: var(--accent);
}

.signup-template-card.selected {
  border-color: var(--accent);
  background: var(--accent-light);
}

.signup-template-card .tmpl-emoji {
  font-size: 1.25rem;
}

.signup-template-card .tmpl-name {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text);
}

.signup-template-card .tmpl-desc {
  font-size: 0.7rem;
  color: var(--text-secondary);
  line-height: 1.3;
}

/* Screen reader only */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ===== NEWSLETTER ===== */
.newsletter-box {
  max-width: 480px;
  margin: 0 auto;
  text-align: center;
}

.newsletter-form {
  display: flex;
  gap: 0.5rem;
  max-width: 420px;
  margin: 1.5rem auto 0;
}

.newsletter-form input[type="email"] {
  flex: 1;
  height: 2.75rem;
  padding: 0 1rem;
  font-size: 16px;
  line-height: 1;
  font-family: inherit;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg);
  color: var(--text);
  -webkit-appearance: none;
  appearance: none;
  transition: border-color 0.15s;
}

.newsletter-form input[type="email"]:focus {
  border-color: var(--accent);
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.newsletter-form .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: 2.75rem;
  white-space: nowrap;
  padding: 0 1.25rem;
  margin-top: 0;
  font-size: 0.9rem;
  line-height: 1;
  border: 1px solid transparent;
  border-radius: 8px;
}

.newsletter-form .btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.newsletter-msg {
  margin-top: 0.75rem;
  font-size: 0.85rem;
  min-height: 1.25em;
}

.newsletter-success {
  color: #15803d;
}

.newsletter-error {
  color: #b91c1c;
}

@media (max-width: 600px) {
  .newsletter-box {
    padding: 2rem 1.25rem;
  }

  .newsletter-form {
    flex-direction: column;
    gap: 0.75rem;
  }

  .newsletter-form input[type="email"] {
    width: 100%;
    height: 3rem;
    padding: 0.75rem 1rem;
    font-size: 16px;
    border: 2px solid var(--border);
    border-radius: 8px;
    background: var(--bg);
    color: var(--text);
    -webkit-appearance: none;
    appearance: none;
  }

  .newsletter-form .btn {
    width: 100%;
    height: 3rem;
  }
}

/* ===== SIGNUP SECTION ===== */
#signup .signup-container {
  max-width: 480px;
  margin: 0 auto;
  padding: 0;
}

/* Reset signup.css .container styles within landing page context */
#signup .signup-container .container {
  max-width: 100%;
  padding: 0;
}

/* ===== FOOTER ===== */
.footer {
  border-top: 1px solid var(--border);
  padding: 2rem 1.5rem;
}

.footer-inner {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-brand {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  font-size: 0.8rem;
  color: var(--text-secondary);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--text);
}

.footer-legal {
  font-size: 0.75rem;
  color: var(--text-muted);
}

@media (max-width: 600px) {
  .footer-inner {
    flex-direction: column;
    text-align: center;
    gap: 0.75rem;
  }
}

/* ===== MOBILE CENTERING (480px and below) ===== */
@media (max-width: 480px) {
  .section {
    padding: 3rem 1.25rem;
  }

  /* Center step cards */
  .step-card {
    text-align: center;
  }

  .step-card .step-number {
    margin-left: auto;
    margin-right: auto;
  }

  /* Center feature cards */
  .feature-card {
    text-align: center;
  }

  .feature-card .feature-icon {
    margin-left: auto;
    margin-right: auto;
  }

  /* Pricing card mobile padding */
  .pricing-card {
    padding: 2rem 1.25rem;
  }

  /* FAQ centering */
  .faq-list {
    padding: 0;
  }

  /* Signup section centering */
  #signup .signup-container {
    padding: 0 0.5rem;
  }

  #signup .signup-container .step h2,
  #signup .signup-container .step h3,
  #signup .signup-container .step .subtitle {
    text-align: center;
  }

  #signup .signup-container .connect-card {
    text-align: center;
  }

  /* Hero tighter spacing on small phones */
  .hero {
    padding: 5rem 1.25rem 3rem;
  }

  .hero h1 {
    font-size: 1.75rem;
  }

  .hero-badge {
    font-size: 0.7rem;
    padding: 0.3rem 0.75rem;
  }

  /* Footer breathing room */
  .footer {
    padding: 2rem 1.25rem;
  }
}

/* ===== SCROLL OFFSET FOR FIXED NAV ===== */
#how-it-works,
#features,
#personalities,
#pricing,
#faq,
#newsletter,
#signup {
  scroll-margin-top: 72px;
}

/* ===== ACCESSIBILITY ===== */
.skip-link {
  position: absolute;
  left: -9999px;
  z-index: 999;
  background: var(--accent);
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  font-size: 0.9rem;
}
.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* Force light theme even for users with dark OS preference */
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #ffffff;
    --bg-secondary: #f7f8fa;
    --bg-card: #ffffff;
    --bg-card-hover: #f5f3ff;
    --bg-card-selected: #ede9fe;
    --text: #1a1a2e;
    --text-secondary: #5c5f72;
    --text-muted: #636970;
    --accent: #7c6aef;
    --accent-hover: #6b58e0;
    --accent-light: #f0edff;
    --border: #e8e8ee;
    --border-selected: #7c6aef;
    --shadow: 0 4px 24px rgba(0,0,0,0.06);
  }
}

/* =============================================
   Chat Simulator Demo (embedded on landing)
   ============================================= */

.demo-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.demo-tabs {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.demo-tab {
  background: var(--bg-card);
  color: var(--text-secondary);
  border: 2px solid var(--border);
  padding: 0.5rem 1.25rem;
  border-radius: 2rem;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.demo-tab:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.demo-tab.active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

/* Phone frame */
.demo-phone {
  width: 340px;
  height: 580px;
  background: #17212b;
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
  border: 2px solid #2b3945;
}

/* Header */
.demo-header {
  background: #1f2936;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid #2b3945;
}
.demo-back { color: #6ab3f3; font-size: 1.2rem; }
.demo-avatar {
  width: 36px; height: 36px;
  background: #7c6aef;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; font-weight: 700; color: #fff;
}
.demo-header-info { flex: 1; }
.demo-name { color: #fff; font-weight: 600; font-size: 0.9rem; }
.demo-status { color: #6ab3f3; font-size: 0.7rem; }

/* Chat area */
.demo-chat {
  flex: 1;
  overflow-y: auto;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: #0e1621;
}

.demo-msg {
  max-width: 82%;
  padding: 8px 12px;
  border-radius: 12px;
  font-size: 0.82rem;
  line-height: 1.45;
  word-wrap: break-word;
  opacity: 0;
  transform: translateY(8px);
  animation: demoMsgIn 0.3s ease forwards;
}
@keyframes demoMsgIn {
  to { opacity: 1; transform: translateY(0); }
}

.demo-msg-user {
  background: #2b5278;
  color: #fff;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}
.demo-msg-bot {
  background: #1f2936;
  color: #e4e6eb;
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}
.demo-msg-time {
  font-size: 0.6rem;
  color: #6b7d8e;
  margin-top: 2px;
  text-align: right;
}
.demo-msg-user .demo-msg-time { color: #7eb8e0; }
.demo-msg-group-name {
  font-size: 0.72rem;
  font-weight: 600;
  margin-bottom: 2px;
}

/* System message (context banner, no bubble) */
.demo-msg-system {
  background: none;
  color: #6b7d8e;
  align-self: center;
  text-align: center;
  font-size: 0.72rem;
  max-width: 100%;
  padding: 4px 0;
}

/* CTA link shown after demo completes */
.demo-cta {
  display: block;
  text-align: center;
  margin: 16px auto 8px;
  padding: 10px 24px;
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
  background: #7c6aef;
  border-radius: 20px;
  text-decoration: none;
  max-width: 200px;
}
.demo-cta:hover {
  background: #6b58e0;
}

/* Typing indicator */
.demo-typing {
  align-self: flex-start;
  padding: 10px 16px;
  background: #1f2936;
  border-radius: 12px;
  display: none;
}
.demo-typing span {
  display: inline-block;
  width: 5px; height: 5px;
  background: #6b7d8e;
  border-radius: 50%;
  margin: 0 1.5px;
  animation: demoTypingDot 1.2s infinite;
}
.demo-typing span:nth-child(2) { animation-delay: 0.2s; }
.demo-typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes demoTypingDot {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30% { transform: translateY(-4px); opacity: 1; }
}

/* Input bar */
.demo-input-bar {
  background: #1f2936;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-top: 1px solid #2b3945;
}
.demo-input-field {
  flex: 1;
  background: #17212b;
  border: 1px solid #2b3945;
  border-radius: 20px;
  padding: 7px 14px;
  color: #6b7d8e;
  font-size: 0.8rem;
}
.demo-send-btn {
  width: 32px; height: 32px;
  background: #7c6aef;
  border: none; border-radius: 50%;
  color: #fff; font-size: 0.9rem;
  display: flex; align-items: center; justify-content: center;
}

/* Replay button */
.demo-replay {
  background: none;
  border: 1px solid var(--border);
  color: var(--text-secondary);
  padding: 0.4rem 1rem;
  border-radius: 2rem;
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.2s;
}
.demo-replay:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* Responsive */
@media (max-width: 420px) {
  .demo-phone {
    width: 100%;
    max-width: 340px;
    height: 520px;
  }
}
