/* ============================================
   AI GTM's — Digital Twin Demos
   Rebuilt from original Wix design
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@300;400;500;600;700&family=Cormorant+Garamond:wght@300;400;500&display=swap');

:root {
  --bg: #000000;
  --bg-card: #18181b;
  --bg-card-2: #0f0f12;
  --text: #ffffff;
  --text-muted: #b8b8c0;
  --text-dim: #8a8a94;
  --accent: #7c4dff;
  --accent-bright: #a78bfa;
  --gold: #c9a978;
  --border: rgba(255, 255, 255, 0.12);
  --border-bright: rgba(255, 255, 255, 0.25);
  --gradient-purple: linear-gradient(135deg, #4c1d95 0%, #7c3aed 50%, #c026d3 100%);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Manrope', -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  font-weight: 300;
  line-height: 1.5;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 48px;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 8px 16px;
  border: 1px solid var(--gold);
  border-radius: 8px;
}

.logo-icon {
  width: 28px; height: 28px;
  display: flex; align-items: center; justify-content: center;
}

.logo-text {
  color: var(--gold);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2px;
  text-align: center;
  line-height: 1.3;
}

.logo-text .sub {
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 1.5px;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 24px;
  background: rgba(20, 20, 25, 0.6);
  border: 1px solid var(--border);
  border-radius: 999px;
}

.nav-links a {
  padding: 8px 18px;
  font-size: 15px;
  font-weight: 400;
  color: var(--text-muted);
  border-radius: 999px;
  transition: color 0.2s;
}

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

.login-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  color: var(--text);
  font-size: 15px;
}

.avatar {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, #444, #222);
  display: flex; align-items: center; justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 32px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-radius: 999px;
  border: 1px solid var(--text);
  background: transparent;
  color: var(--text);
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn:hover {
  background: var(--text);
  color: var(--bg);
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--text);
  color: var(--bg);
}
.btn-primary:hover {
  background: transparent;
  color: var(--text);
}

.btn-accent {
  border-color: var(--accent);
  color: var(--accent-bright);
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 160px 80px 100px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(ellipse at 75% 50%, rgba(192, 38, 211, 0.35), transparent 50%),
              radial-gradient(ellipse at 100% 70%, rgba(255, 200, 100, 0.15), transparent 40%),
              radial-gradient(ellipse at 30% 80%, rgba(124, 58, 237, 0.25), transparent 55%),
              #000;
}

.hero-wave {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.85;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1400px;
}

.hero h1 {
  font-family: 'Manrope', sans-serif;
  font-weight: 300;
  font-size: clamp(48px, 7vw, 104px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 48px;
}

.hero p.lead {
  font-size: clamp(20px, 2.2vw, 32px);
  font-weight: 300;
  line-height: 1.45;
  color: var(--text);
  max-width: 1100px;
  margin-bottom: 80px;
}

.hero p.sub {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.email-form {
  display: flex;
  gap: 16px;
  max-width: 640px;
  align-items: flex-end;
}

.email-form .field {
  flex: 1;
  border-bottom: 1px solid var(--border-bright);
  padding-bottom: 8px;
}

.email-form label {
  display: block;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.email-form input {
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text);
  font-family: inherit;
  font-size: 16px;
  padding: 4px 0;
}

/* ============================================
   SECTION — features / cards
   ============================================ */
.section {
  padding: 120px 80px;
  position: relative;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 80px;
  gap: 40px;
  flex-wrap: wrap;
}

.section h2 {
  font-weight: 300;
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1.15;
  letter-spacing: -0.01em;
  max-width: 1200px;
}

.early-bird-pill {
  padding: 14px 32px;
  border: 1px solid var(--text);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.2s;
}
.early-bird-pill:hover {
  background: var(--text);
  color: var(--bg);
}

.divider-line {
  height: 1px;
  background: var(--border);
  flex: 1;
  margin-right: 24px;
}

/* Card grid */
.cards {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.cards-row-2 {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 16px;
}

.card {
  position: relative;
  background: var(--bg-card);
  border-radius: 24px;
  padding: 48px;
  min-height: 480px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255,255,255,0.04);
}

.card-letter {
  font-size: 56px;
  font-weight: 200;
  color: var(--text);
  margin-bottom: 40px;
  line-height: 1;
}

.card h3 {
  font-size: 24px;
  font-weight: 400;
  margin-bottom: 20px;
  line-height: 1.3;
}

.card p {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
}

.card-icon {
  margin-top: auto;
  width: 48px; height: 48px;
  background: var(--accent);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: white;
  align-self: flex-start;
}

.card-large {
  background: linear-gradient(135deg, #0a0a0d 0%, #1a0d2e 100%);
  position: relative;
}

.card-large::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 60%, rgba(124, 58, 237, 0.3), transparent 60%),
              radial-gradient(ellipse at 100% 100%, rgba(192, 38, 211, 0.25), transparent 50%);
  pointer-events: none;
}

.card-large > * { position: relative; z-index: 1; }

.card-wave-bg {
  position: absolute;
  inset: 0;
  opacity: 0.4;
  pointer-events: none;
}

/* ============================================
   DEMOS SECTION
   ============================================ */
.demos-section {
  position: relative;
  padding: 160px 80px;
  overflow: hidden;
}

.demos-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 50%, rgba(220, 38, 38, 0.2), transparent 50%),
              radial-gradient(ellipse at 30% 50%, rgba(124, 58, 237, 0.25), transparent 60%),
              #000;
  z-index: 0;
}

.demos-content {
  position: relative;
  z-index: 2;
  max-width: 1400px;
}

.demos-section h2 {
  font-weight: 300;
  font-size: clamp(28px, 3.5vw, 48px);
  line-height: 1.2;
  margin-bottom: 64px;
  max-width: 1300px;
}

.demos-section h3 {
  font-weight: 300;
  font-size: clamp(24px, 2.8vw, 40px);
  line-height: 1.3;
  margin-bottom: 56px;
  color: var(--text);
  max-width: 1300px;
}

/* ============================================
   PRICING
   ============================================ */
.pricing-hero {
  padding: 160px 80px 60px;
}

.pricing-hero h1 {
  font-weight: 300;
  font-size: clamp(40px, 5.5vw, 72px);
  letter-spacing: -0.01em;
  margin-bottom: 16px;
}

.pricing-hero p {
  font-size: 18px;
  color: var(--text-muted);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding: 60px 80px 120px;
  position: relative;
}

.price-card {
  background: var(--bg-card);
  border-radius: 28px;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(255,255,255,0.04);
  display: flex;
  flex-direction: column;
}

.price-card.popular {
  background: var(--bg-card-2);
}

.popular-tag {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: #2a2a30;
  padding: 6px 20px;
  font-size: 14px;
  border-radius: 6px;
  color: var(--text-muted);
}

.price-header {
  padding: 56px 40px 40px;
  text-align: center;
  background: var(--bg-card);
  position: relative;
}

.price-card.popular .price-header {
  background: #000;
}

.price-card.popular .price-header::after {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 200px; height: 100px;
  background: radial-gradient(ellipse at center, rgba(124, 58, 237, 0.4), transparent 70%);
  pointer-events: none;
}

.price-tier {
  font-size: 24px;
  font-weight: 400;
  letter-spacing: 4px;
  margin-bottom: 32px;
  color: var(--text-muted);
}

.price-amount {
  font-size: 96px;
  font-weight: 200;
  line-height: 1;
  margin-bottom: 4px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 4px;
}

.price-amount .dollar {
  font-size: 24px;
  margin-top: 16px;
}

.price-period {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.price-desc {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 28px;
  min-height: 80px;
}

.price-plan {
  font-size: 14px;
  color: var(--text-dim);
  margin-bottom: 20px;
}

.price-cta {
  width: 100%;
  padding: 16px;
  background: transparent;
  border: 1px solid var(--text);
  color: var(--text);
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s;
}
.price-card.popular .price-cta {
  border-color: var(--accent);
  color: var(--accent-bright);
}
.price-cta:hover {
  background: var(--text);
  color: var(--bg);
}
.price-card.popular .price-cta:hover {
  background: var(--accent);
  color: var(--text);
  border-color: var(--accent);
}

.price-features {
  padding: 40px;
  background: #2a2a30;
  flex: 1;
  list-style: none;
}

.price-features li {
  padding: 12px 0;
  font-size: 15px;
  color: var(--text);
  line-height: 1.5;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  padding: 100px 80px 60px;
  border-top: 1px solid var(--border);
  background: #000;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 2fr;
  gap: 60px;
  align-items: flex-start;
  margin-bottom: 80px;
}

.footer h4 {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 28px;
}

.footer ul {
  list-style: none;
}

.footer ul li {
  margin-bottom: 14px;
}

.footer ul a {
  color: var(--text-muted);
  font-size: 15px;
  transition: color 0.2s;
}
.footer ul a:hover { color: var(--text); }
.footer ul a.active { color: var(--accent-bright); }

.footer-form {
  display: flex;
  align-items: flex-end;
  gap: 24px;
}

.footer-form .field {
  flex: 1;
  border-bottom: 1px solid var(--border-bright);
  padding-bottom: 8px;
}

.footer-form label {
  display: block;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.footer-form input {
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text);
  font-family: inherit;
  font-size: 16px;
  padding: 4px 0;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 40px;
}

.social {
  display: flex;
  gap: 16px;
}

.social a {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  color: var(--text);
}

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

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .nav { padding: 20px 24px; }
  .hero, .section, .demos-section, .pricing-hero, .pricing-grid, .footer { padding-left: 32px; padding-right: 32px; }
  .cards, .cards-row-2 { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .nav { padding: 16px; flex-wrap: wrap; gap: 12px; }
  .nav-links { display: none; }
  .hero { padding: 140px 20px 80px; }
  .section, .demos-section { padding: 80px 20px; }
  .pricing-hero, .pricing-grid, .footer { padding-left: 20px; padding-right: 20px; }
  .card { padding: 32px; min-height: auto; }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-bottom { flex-direction: column; gap: 20px; }
  .email-form { flex-direction: column; align-items: stretch; }
}
