/* Ebony AI Speaker — standalone landing page
   Colors: Matte black, gold (#C9A84C), purple (#8B5CF6) */

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

html { scroll-behavior: smooth; }

body {
  background: #0a0a0a;
  color: #F5F0E8;
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ─── NAVBAR ─────────────────────────────────────────── */
.ebony-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px 6vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201, 168, 76, 0.15);
}

.ebony-nav-logo {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #C9A84C;
  letter-spacing: 0.05em;
  text-decoration: none;
}

.ebony-nav-tagline {
  font-size: 12px;
  color: rgba(245, 240, 232, 0.45);
  letter-spacing: 0.08em;
}

/* ─── HERO ────────────────────────────────────────────── */
.ebony-hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 120px 6vw 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.ebony-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 50% 30%, rgba(139, 92, 246, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 50% 80%, rgba(201, 168, 76, 0.08) 0%, transparent 55%);
  pointer-events: none;
}

.ebony-hero-content { position: relative; z-index: 1; max-width: 760px; }

.ebony-badge {
  display: inline-block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #8B5CF6;
  border: 1px solid rgba(139, 92, 246, 0.4);
  padding: 6px 16px;
  border-radius: 2px;
  margin-bottom: 32px;
}

.ebony-headline {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(36px, 7vw, 72px);
  font-weight: 700;
  line-height: 1.05;
  color: #F5F0E8;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.ebony-headline em {
  font-style: normal;
  color: #C9A84C;
}

.ebony-subhead {
  font-size: clamp(18px, 2.5vw, 24px);
  color: rgba(245, 240, 232, 0.65);
  margin-bottom: 48px;
  font-weight: 400;
}

.ebony-hero-img {
  width: 100%;
  max-width: 420px;
  border-radius: 16px;
  margin: 48px auto 0;
  display: block;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.7), 0 0 60px rgba(139, 92, 246, 0.15);
}

.ebony-caption {
  font-size: clamp(16px, 2vw, 20px);
  color: #8B5CF6;
  font-style: italic;
  margin-top: 32px;
}

/* ─── EMAIL CAPTURE ───────────────────────────────────── */
.ebony-signup-section {
  padding: 100px 6vw;
  background: linear-gradient(180deg, #0a0a0a 0%, #111010 100%);
  text-align: center;
  position: relative;
}

.ebony-signup-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201, 168, 76, 0.25), transparent);
}

.ebony-signup-heading {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(24px, 4vw, 40px);
  font-weight: 700;
  color: #F5F0E8;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.ebony-signup-sub {
  font-size: 16px;
  color: rgba(245, 240, 232, 0.55);
  margin-bottom: 40px;
}

.ebony-form {
  display: flex;
  gap: 0;
  max-width: 500px;
  margin: 0 auto;
  border: 1px solid rgba(201, 168, 76, 0.3);
  border-radius: 8px;
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.ebony-form:focus-within {
  border-color: rgba(201, 168, 76, 0.7);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.2);
}

.ebony-form input {
  flex: 1;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.05);
  border: none;
  color: #F5F0E8;
  font-size: 16px;
  font-family: 'DM Sans', sans-serif;
  outline: none;
  min-width: 0;
}

.ebony-form input::placeholder { color: rgba(245, 240, 232, 0.35); }

.ebony-form button {
  padding: 16px 28px;
  background: #8B5CF6;
  color: #fff;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 15px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s, transform 0.1s;
}

.ebony-form button:hover { background: #7C3AED; transform: scale(1.02); }
.ebony-form button:active { transform: scale(0.98); }

.ebony-confirm {
  display: none;
  margin-top: 24px;
  font-size: 18px;
  color: #C9A84C;
  font-style: italic;
}

.ebony-confirm.show { display: block; }

.ebony-error {
  display: none;
  margin-top: 12px;
  font-size: 14px;
  color: #EF4444;
}

.ebony-error.show { display: block; }

/* ─── FEATURES ────────────────────────────────────────── */
.ebony-features {
  padding: 100px 6vw;
  background: #111010;
}

.ebony-section-label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #C9A84C;
  text-align: center;
  margin-bottom: 64px;
  opacity: 0.7;
}

.ebony-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

.ebony-feature-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(201, 168, 76, 0.12);
  border-radius: 12px;
  padding: 32px 24px;
  text-align: center;
  transition: border-color 0.2s, transform 0.2s;
}

.ebony-feature-card:hover {
  border-color: rgba(201, 168, 76, 0.35);
  transform: translateY(-4px);
}

.ebony-feature-icon {
  font-size: 36px;
  margin-bottom: 16px;
  display: block;
}

.ebony-feature-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #F5F0E8;
  margin-bottom: 8px;
}

.ebony-feature-desc {
  font-size: 13px;
  color: rgba(245, 240, 232, 0.5);
  line-height: 1.6;
}

/* ─── SOCIAL PROOF BAR ────────────────────────────────── */
.ebony-social-bar {
  padding: 64px 6vw;
  text-align: center;
  background: linear-gradient(180deg, #111010 0%, #0a0a0a 100%);
  border-top: 1px solid rgba(139, 92, 246, 0.12);
  border-bottom: 1px solid rgba(139, 92, 246, 0.12);
}

.ebony-social-quote {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(22px, 4vw, 36px);
  font-weight: 700;
  color: #F5F0E8;
  letter-spacing: -0.01em;
}

.ebony-social-quote span { color: #8B5CF6; }

/* ─── ABOUT ───────────────────────────────────────────── */
.ebony-about {
  padding: 100px 6vw;
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.ebony-about-headline {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(22px, 3.5vw, 34px);
  font-weight: 700;
  color: #F5F0E8;
  margin-bottom: 32px;
  letter-spacing: -0.01em;
}

.ebony-about-body {
  font-size: 17px;
  color: rgba(245, 240, 232, 0.6);
  line-height: 1.8;
  margin-bottom: 40px;
}

.ebony-about-signature {
  font-size: 14px;
  color: #C9A84C;
  font-style: italic;
}

/* ─── LIFESTYLE ───────────────────────────────────────── */
.ebony-lifestyle {
  padding: 80px 6vw 100px;
  text-align: center;
}

.ebony-lifestyle-img {
  width: 100%;
  max-width: 640px;
  border-radius: 16px;
  display: block;
  margin: 0 auto;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
}

/* ─── FOOTER ───────────────────────────────────────────── */
.ebony-footer {
  padding: 48px 6vw;
  border-top: 1px solid rgba(201, 168, 76, 0.12);
  text-align: center;
  background: #0a0a0a;
}

.ebony-footer-brand {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #C9A84C;
  margin-bottom: 8px;
}

.ebony-footer-tagline {
  font-size: 13px;
  color: rgba(245, 240, 232, 0.4);
  margin-bottom: 24px;
}

.ebony-footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
}

.ebony-footer-links a {
  font-size: 13px;
  color: rgba(245, 240, 232, 0.35);
  text-decoration: none;
  transition: color 0.2s;
}

.ebony-footer-links a:hover { color: #8B5CF6; }

.ebony-footer-copy {
  margin-top: 32px;
  font-size: 11px;
  color: rgba(245, 240, 232, 0.2);
}

/* ─── CTA GROUP ────────────────────────────────────────── */
.ebony-cta-group {
  margin: 40px 0 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.ebony-meet-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 40px;
  background: transparent;
  color: #C9A84C;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.01em;
  border: 1.5px solid rgba(201, 168, 76, 0.5);
  border-radius: 12px;
  cursor: pointer;
  min-width: 220px;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s, background 0.2s, transform 0.15s;
}

.ebony-meet-btn:hover {
  border-color: #C9A84C;
  background: rgba(201, 168, 76, 0.08);
  transform: translateY(-2px);
}

.ebony-meet-btn:active { transform: scale(0.97); }

.ebony-install-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 18px 48px;
  background: linear-gradient(135deg, #8B5CF6 0%, #C9A84C 100%);
  color: #fff;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.01em;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  min-width: 260px;
  box-shadow: 0 8px 32px rgba(139, 92, 246, 0.4), 0 2px 8px rgba(0,0,0,0.4);
  transition: transform 0.15s, box-shadow 0.15s;
  position: relative;
  overflow: hidden;
}

.ebony-install-btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 40%, rgba(255,255,255,0.12) 60%, transparent 80%);
  transform: translateX(-100%);
  transition: transform 0.5s ease;
}

.ebony-install-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(139, 92, 246, 0.5); }
.ebony-install-btn:hover::after { transform: translateX(100%); }
.ebony-install-btn:active { transform: scale(0.97); }

.ebony-install-fallback {
  font-size: 13px;
  color: rgba(245, 240, 232, 0.45);
  line-height: 1.5;
}

.ebony-install-fallback strong { color: rgba(245, 240, 232, 0.75); font-weight: 600; }

/* ─── INTRO ────────────────────────────────────────────── */
.ebony-intro {
  padding: 80px 6vw;
  text-align: center;
  background: #0a0a0a;
}

.ebony-intro-text {
  max-width: 560px;
  margin: 0 auto;
  font-size: clamp(17px, 2.2vw, 21px);
  color: rgba(245, 240, 232, 0.6);
  line-height: 1.75;
  font-style: italic;
}

/* ─── VOICE / SASS PREVIEW ─────────────────────────────── */
.ebony-voice-section {
  padding: 100px 6vw;
  background: #111010;
  text-align: center;
}

.ebony-voice-heading {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(22px, 3.5vw, 34px);
  font-weight: 700;
  color: #F5F0E8;
  margin: 16px auto 56px;
  letter-spacing: -0.01em;
  max-width: 480px;
}

.ebony-sass-quotes {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 580px;
  margin: 0 auto;
}

.ebony-sass-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: 12px;
  padding: 28px 32px;
  text-align: left;
  transition: border-color 0.25s, transform 0.25s;
}

.ebony-sass-card:hover {
  border-color: rgba(139, 92, 246, 0.45);
  transform: translateY(-2px);
}

.ebony-sass-level {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #C9A84C;
  margin-bottom: 12px;
  opacity: 0.75;
}

.ebony-sass-quote {
  font-size: clamp(16px, 2.2vw, 20px);
  color: rgba(245, 240, 232, 0.88);
  font-style: italic;
  line-height: 1.6;
}

/* ─── PWA INSTALL SECTION ─────────────────────────────── */
.ebony-install-section {
  padding: 100px 6vw;
  background: linear-gradient(180deg, #111010 0%, #0a0a0a 100%);
  text-align: center;
  border-top: 1px solid rgba(139, 92, 246, 0.1);
}

.ebony-install-heading {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(24px, 4vw, 38px);
  font-weight: 700;
  color: #F5F0E8;
  margin: 16px auto;
  letter-spacing: -0.02em;
}

.ebony-install-sub {
  font-size: 16px;
  color: rgba(245, 240, 232, 0.5);
  margin-bottom: 40px;
  max-width: 440px;
  margin-left: auto;
  margin-right: auto;
}

/* ─── FOOTER ───────────────────────────────────────────── */
.ebony-footer {
  padding: 64px 6vw;
  border-top: 1px solid rgba(201, 168, 76, 0.12);
  text-align: center;
  background: #0a0a0a;
}

.ebony-footer-tagline {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(14px, 2vw, 18px);
  font-weight: 600;
  color: #C9A84C;
  margin-bottom: 16px;
  letter-spacing: 0.04em;
}

.ebony-footer-copy {
  font-size: 12px;
  color: rgba(245, 240, 232, 0.25);
}

/* ─── RESPONSIVE ──────────────────────────────────────── */
@media (min-width: 640px) {
  .ebony-form {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .ebony-form input[name="name"] { width: 40%; }
  .ebony-form input[name="email"] { width: 40%; flex: 1; }
  .ebony-form button { width: auto; border-radius: 0 8px 8px 0; }
  .ebony-sass-quotes { flex-direction: row; flex-wrap: wrap; }
  .ebony-sass-quotes .ebony-sass-card { flex: 1 1 calc(50% - 10px); }
  .ebony-sass-quotes .ebony-sass-card:last-child { flex-basis: 100%; }
}

@media (max-width: 640px) {
  .ebony-form input { width: 100%; }
  .ebony-form button { width: 100%; border-radius: 0 0 8px 8px; }
  .ebony-hero { padding: 100px 5vw 60px; }
  .ebony-features-grid { grid-template-columns: 1fr 1fr; }
  .ebony-social-quote { font-size: 22px; }
}

@media (max-width: 400px) {
  .ebony-features-grid { grid-template-columns: 1fr; }
  .ebony-install-btn,
  .ebony-meet-btn { width: 100%; min-width: unset; font-size: 16px; padding: 16px 24px; }
}

/* Hero entrance animations */
@keyframes ebony-fade-up {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

.ebony-hero-content > * {
  animation: ebony-fade-up 0.55s ease both;
}

.ebony-hero-content > *:nth-child(1) { animation-delay: 0.05s; }
.ebony-hero-content > *:nth-child(2) { animation-delay: 0.15s; }
.ebony-hero-content > *:nth-child(3) { animation-delay: 0.25s; }
.ebony-hero-content > *:nth-child(4) { animation-delay: 0.35s; }
.ebony-hero-content > *:nth-child(5) { animation-delay: 0.45s; }
.ebony-hero-content > *:nth-child(6) { animation-delay: 0.55s; }