:root {
  --bg: #ffffff;
  --bg-alt: rgb(245, 246, 249);
  --text: #1a1a1a;
  --text-secondary: #666666;
  --text-tertiary: #888888;
  --border: #e2e2e7;
  --accent: rgb(109, 40, 217);
  --accent-hover: rgb(88, 28, 180);
  --gradient: linear-gradient(135deg, var(--accent) 0%, #a855f7 100%);
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}

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

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
}

.brand-icon {
  width: 28px;
  height: 28px;
  border-radius: 7px;
}

.brand-icon-sm {
  width: 22px;
  height: 22px;
  border-radius: 6px;
}

.brand-text {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.4px;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand-text-sm {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-secondary);
}

/* BUTTONS */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient);
  color: #fff;
  border: none;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.15s;
  box-shadow: 0 8px 20px rgba(109, 40, 217, 0.25);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(109, 40, 217, 0.32);
}

.btn-small {
  padding: 9px 18px;
  font-size: 13px;
}

.btn-large {
  padding: 15px 34px;
  font-size: 16px;
}

/* HERO */
.hero {
  padding: 90px 0 80px;
  text-align: center;
  background:
    radial-gradient(circle at 15% 20%, rgba(109, 40, 217, 0.10), transparent 45%),
    radial-gradient(circle at 85% 30%, rgba(168, 85, 247, 0.10), transparent 45%);
}

.hero h1 {
  font-size: 52px;
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.1;
  margin: 0 0 22px;
  text-wrap: balance;
}

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

.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;
}

.waitlist-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.waitlist-input {
  width: 280px;
  height: 52px;
  padding: 0 18px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 15px;
  font-family: inherit;
  color: var(--text);
  background: #fff;
}

.waitlist-input:focus {
  outline: none;
  border-color: var(--accent);
}

.waitlist-form .btn-large {
  border: none;
}

.waitlist-message {
  font-size: 14.5px;
  font-weight: 600;
  margin: 4px 0 0;
}

.waitlist-message.success {
  color: var(--accent);
}

.waitlist-message.error {
  color: #c0392b;
}

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

.section-title {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.8px;
  text-align: center;
  margin: 0 0 48px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.feature-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 24px;
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.feature-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 8px;
  letter-spacing: -0.3px;
}

.feature-card p {
  font-size: 14.5px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

/* SHOWCASE */
.showcase {
  padding: 80px 0 90px;
}

.phone-row {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.phone-frame {
  margin: 0;
  width: 220px;
  border: 7px solid var(--text);
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 20px 44px rgba(20, 18, 31, 0.16);
  flex-shrink: 0;
}

.phone-frame img {
  width: 100%;
  display: block;
}

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

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

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

/* RESPONSIVE */
@media (max-width: 860px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .hero {
    padding: 60px 0 56px;
  }

  .hero h1 {
    font-size: 34px;
    letter-spacing: -1px;
  }

  .hero-desc {
    font-size: 16px;
  }

  .section-title {
    font-size: 26px;
  }

  .phone-frame {
    width: 160px;
    border-width: 5px;
    border-radius: 22px;
  }

  .phone-row {
    gap: 14px;
  }
}
