/* === CORPORATE GHOST — AI Haunting as a Service === */

:root {
  --ghost: #e8e8f0;
  --phantom: #1a1a2e;
  --specter: #16213e;
  --wraith: #0f3460;
  --apparition: #533483;
  --glow: #b8b8ff;
  --blood: #c0392b;
  --fog: rgba(184, 184, 255, 0.06);
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--phantom);
  color: var(--ghost);
  min-height: 100vh;
  overflow-x: hidden;
}

/* Ghostly fog overlay */
body::before {
  content: '';
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(83, 52, 131, 0.15), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* Navigation */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  background: rgba(26, 26, 46, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(184, 184, 255, 0.1);
  padding: 16px 32px;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

nav .logo {
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-decoration: none;
  color: var(--glow);
}

nav .logo span {
  color: var(--apparition);
}

nav .nav-links {
  display: flex;
  gap: 24px;
}

nav .nav-links a {
  color: rgba(232, 232, 240, 0.6);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  transition: color 0.2s;
}

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

/* Hero */
.hero {
  padding: 160px 32px 100px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.hero .tagline {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--apparition);
  margin-bottom: 20px;
  font-weight: 600;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.hero h1 .highlight {
  background: linear-gradient(135deg, var(--glow), var(--apparition));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.15rem;
  color: rgba(232, 232, 240, 0.6);
  max-width: 580px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.cta-row {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-primary {
  display: inline-block;
  background: linear-gradient(135deg, var(--apparition), var(--wraith));
  color: #fff;
  padding: 14px 32px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.15s, box-shadow 0.2s;
  border: 1px solid rgba(183, 183, 255, 0.2);
}

.cta-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(83, 52, 131, 0.4);
}

.cta-secondary {
  display: inline-block;
  background: transparent;
  color: rgba(232, 232, 240, 0.7);
  padding: 14px 32px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  border: 1px solid rgba(184, 184, 255, 0.15);
  transition: border-color 0.2s, color 0.2s;
}

.cta-secondary:hover {
  border-color: rgba(184, 184, 255, 0.4);
  color: var(--glow);
}

/* Terminal demo */
.terminal {
  max-width: 700px;
  margin: 40px auto 0;
  background: rgba(15, 52, 96, 0.3);
  border: 1px solid rgba(184, 184, 255, 0.1);
  border-radius: 10px;
  overflow: hidden;
  font-family: 'SF Mono', 'Fira Code', monospace;
  font-size: 0.82rem;
}

.terminal-header {
  background: rgba(83, 52, 131, 0.3);
  padding: 10px 16px;
  display: flex;
  gap: 8px;
  align-items: center;
}

.terminal-header .dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  background: rgba(184, 184, 255, 0.3);
}

.terminal-header .dot.red { background: #c0392b; }
.terminal-header .dot.yellow { background: #f39c12; }
.terminal-header .dot.green { background: #27ae60; }

.terminal-body {
  padding: 20px;
  line-height: 1.8;
  color: rgba(184, 184, 255, 0.8);
}

.terminal-body .prompt { color: var(--apparition); }
.terminal-body .cmd { color: var(--glow); }
.terminal-body .output { color: rgba(232, 232, 240, 0.5); }
.terminal-body .accent { color: #e74c3c; }

/* Sections */
.section {
  padding: 80px 32px;
  position: relative;
  z-index: 1;
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title h2 {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.section-title p {
  color: rgba(232, 232, 240, 0.5);
  font-size: 1rem;
}

/* Pricing cards */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--fog);
  border: 1px solid rgba(184, 184, 255, 0.08);
  border-radius: 14px;
  padding: 36px 28px;
  transition: border-color 0.3s, transform 0.2s;
}

.pricing-card:hover {
  border-color: rgba(184, 184, 255, 0.25);
  transform: translateY(-3px);
}

.pricing-card.featured {
  border-color: var(--apparition);
  background: rgba(83, 52, 131, 0.15);
}

.pricing-card .plan-name {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--apparition);
  font-weight: 700;
  margin-bottom: 8px;
}

.pricing-card .plan-price {
  font-size: 2.8rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 4px;
}

.pricing-card .plan-price .currency {
  font-size: 1.2rem;
  vertical-align: top;
  opacity: 0.5;
}

.pricing-card .plan-calls {
  font-size: 0.85rem;
  color: rgba(232, 232, 240, 0.5);
  margin-bottom: 16px;
}

.pricing-card .plan-desc {
  font-size: 0.9rem;
  color: rgba(232, 232, 240, 0.55);
  line-height: 1.6;
  margin-bottom: 24px;
}

.pricing-card ul {
  list-style: none;
  margin-bottom: 28px;
}

.pricing-card li {
  font-size: 0.85rem;
  padding: 6px 0;
  color: rgba(232, 232, 240, 0.65);
  border-bottom: 1px solid rgba(184, 184, 255, 0.05);
}

.pricing-card li::before {
  content: '👻 ';
}

/* Persona cards */
.persona-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
}

.persona-card {
  background: var(--fog);
  border: 1px solid rgba(184, 184, 255, 0.08);
  border-radius: 12px;
  padding: 28px 24px;
  transition: border-color 0.3s;
}

.persona-card:hover {
  border-color: rgba(184, 184, 255, 0.25);
}

.persona-card .emoji {
  font-size: 2rem;
  margin-bottom: 12px;
}

.persona-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.persona-card .voice {
  font-size: 0.75rem;
  color: var(--apparition);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}

.persona-card p {
  font-size: 0.85rem;
  color: rgba(232, 232, 240, 0.55);
  line-height: 1.6;
}

/* Booking form */
.book-form {
  max-width: 600px;
  margin: 0 auto;
}

.book-form label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(232, 232, 240, 0.5);
  margin-bottom: 6px;
  margin-top: 20px;
}

.book-form input,
.book-form select,
.book-form textarea {
  width: 100%;
  background: rgba(15, 52, 96, 0.3);
  border: 1px solid rgba(184, 184, 255, 0.12);
  border-radius: 8px;
  padding: 12px 16px;
  color: var(--ghost);
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color 0.2s;
}

.book-form input:focus,
.book-form select:focus,
.book-form textarea:focus {
  outline: none;
  border-color: var(--apparition);
}

.book-form textarea {
  min-height: 100px;
  resize: vertical;
}

.book-form button[type="submit"] {
  @extend .cta-primary;
  margin-top: 28px;
  background: linear-gradient(135deg, var(--apparition), var(--wraith));
  color: #fff;
  padding: 14px 32px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid rgba(183, 183, 255, 0.2);
  cursor: pointer;
  width: 100%;
  transition: transform 0.15s, box-shadow 0.2s;
}

.book-form button[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(83, 52, 131, 0.4);
}

/* Stats */
.stats-row {
  display: flex;
  gap: 40px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 60px 0;
}

.stat {
  text-align: center;
}

.stat .number {
  font-size: 2.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--glow), var(--apparition));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat .label {
  font-size: 0.8rem;
  color: rgba(232, 232, 240, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 4px;
}

/* Manifesto */
.manifesto {
  max-width: 700px;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.9;
  color: rgba(232, 232, 240, 0.7);
}

.manifesto h3 {
  font-size: 1.3rem;
  color: var(--glow);
  margin: 40px 0 16px;
}

.manifesto blockquote {
  border-left: 3px solid var(--apparition);
  padding: 16px 24px;
  margin: 24px 0;
  font-style: italic;
  color: rgba(184, 184, 255, 0.6);
  background: var(--fog);
  border-radius: 0 8px 8px 0;
}

/* Footer */
footer {
  text-align: center;
  padding: 60px 32px;
  border-top: 1px solid rgba(184, 184, 255, 0.08);
  color: rgba(232, 232, 240, 0.3);
  font-size: 0.8rem;
  position: relative;
  z-index: 1;
}

footer .footer-links {
  margin-bottom: 16px;
}

footer .footer-links a {
  color: rgba(232, 232, 240, 0.4);
  text-decoration: none;
  margin: 0 12px;
  font-size: 0.8rem;
}

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

/* Disclaimers */
.disclaimer {
  max-width: 700px;
  margin: 60px auto 0;
  padding: 24px;
  background: rgba(192, 57, 43, 0.08);
  border: 1px solid rgba(192, 57, 43, 0.2);
  border-radius: 10px;
  font-size: 0.8rem;
  color: rgba(232, 232, 240, 0.5);
  line-height: 1.6;
}

.disclaimer strong {
  color: #e74c3c;
}

/* Responsive */
@media (max-width: 768px) {
  nav { padding: 12px 16px; }
  nav .nav-links { gap: 12px; }
  nav .nav-links a { font-size: 0.75rem; }
  .hero { padding: 120px 20px 60px; }
  .hero h1 { font-size: 2.2rem; }
  .section { padding: 60px 16px; }
  .stats-row { gap: 24px; }
}