/* ============================================================
   NUQLEUS LANDING PAGE - STYLES
   ============================================================ */

/* ---------- CSS Variables ---------- */
:root {
  --dark-bg: #13081a;
  --dark-card: #130c17;
  --border-dark: #262626;
  --text-light: #eee;
  --text-muted-light: #b4b4b4;
  --purple-accent: #b38cff;
  --purple-bg: rgba(105, 56, 239, 0.12);
  --purple-border: rgba(105, 56, 239, 0.2);
  --text-dark: #202020;
  --text-muted-dark: #8f8f8f;
  --white: #ffffff;
  --black: #000000;
  --radius-btn: 12px;
  --radius-card: 24px;
  --radius-section: 32px;
  --radius-row: 20px;
  --radius-footer: 50px;
  --max-width: 1400px;
  --font-heading: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Inter', sans-serif;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--white);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

ul {
  list-style: none;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 40px;
}

/* ---------- Utility ---------- */
.gradient-text-dark {
  background: linear-gradient(180deg, #202020 0%, #8f8f8f 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-text-light {
  background: linear-gradient(180deg, #eee 0%, #8f8f8f 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: var(--radius-btn);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: transform 0.2s, opacity 0.2s;
  border: none;
}

.btn:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.btn-white {
  background: var(--white);
  color: var(--black);
}

.btn-dark {
  background: var(--text-dark);
  color: var(--white);
}

.btn-sm {
  padding: 10px 24px;
  font-size: 14px;
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  max-width: 100%;
  border-radius: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: background 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
}

.navbar.scrolled .navbar-links a {
  color: var(--text-dark);
}

.navbar.scrolled .logo-text {
  color: var(--text-dark);
}

.navbar.scrolled .navbar-cta {
  background: var(--text-dark);
  color: var(--white);
}

.navbar.scrolled .hamburger span {
  background: var(--text-dark);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 28px;
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
}

.logo-text {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 22px;
  color: var(--white);
  letter-spacing: -0.5px;
  transition: color 0.3s;
}

.navbar-links {
  display: flex;
  gap: 40px;
}

.navbar-links a {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  transition: color 0.2s;
}

.navbar-links a:hover {
  color: var(--white);
}

.navbar.scrolled .navbar-links a:hover {
  color: var(--black);
}

.navbar-cta {
  font-size: 15px !important;
  padding: 10px 24px !important;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s, background 0.3s;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Hero slides (video backgrounds) */
.hero-slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.hero-slide.active {
  opacity: 1;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.3) 60%, rgba(0, 0, 0, 0.5) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-width);
  width: 100%;
  padding: 120px 40px 80px;
  gap: 60px;
}

.hero-left {
  flex: 1;
  max-width: 620px;
}

.hero-heading {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 70px;
  line-height: 1.05;
  letter-spacing: -2.1px;
  color: var(--white);
  margin-bottom: 24px;
}

.hero-sub {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 19px;
  line-height: 1.6;
  color: rgba(238, 238, 238, 0.85);
  margin-bottom: 36px;
  max-width: 520px;
}

.hero-sub strong {
  font-weight: 700;
}

/* Hero chat panels */
.hero-right {
  flex: 0 0 auto;
  width: 420px;
  position: relative;
  align-self: flex-start;
  margin-top: 40px;
}

.hero-chat {
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: none;
  flex-direction: column;
  /* Initial: invisible, shifted right */
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.hero-chat.active {
  display: flex;
}

.hero-chat.slide-in {
  opacity: 1;
  transform: translateX(0);
}

.hero-chat-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.hc-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero-chat-header strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 700;
  color: #eee;
}

.hc-sub {
  display: block;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 2px;
}

/* Chat body - expandable via grid trick */
.hero-chat-body-wrap {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.5s ease-out;
}

.hero-chat-body-wrap.expanded {
  grid-template-rows: 1fr;
}

.hero-chat-body-wrap > .hero-chat-body {
  overflow: hidden;
}

.hero-chat-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 16px;
  max-height: 420px;
  overflow-y: auto;
}

.hero-chat-body::-webkit-scrollbar { display: none; }

/* Messages hidden by default */
.hero-chat-body .hc-msg {
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.4s ease-out;
}

.hero-chat-body .hc-msg.visible {
  opacity: 1;
  transform: translateY(0);
}

/* AI content reveal animation */
.hc-ai-reveal {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows 0.5s ease-out, opacity 0.5s ease-out;
}

.hc-ai-reveal.revealed {
  grid-template-rows: 1fr;
  opacity: 1;
}

.hc-ai-reveal > div { overflow: hidden; }

/* Thinking indicator */
.hc-thinking {
  display: none;
  align-items: center;
  gap: 10px;
}

.hc-thinking.visible {
  display: flex;
}

.hc-thinking-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  flex-shrink: 0;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.hc-thinking-text {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
}

/* Action pills animation */
.hc-pills, .hc-file {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s ease-out, transform 0.4s ease-out;
}

.hc-pills.show-actions, .hc-file.show-actions {
  opacity: 1;
  transform: translateY(0);
}

/* User messages */
.hc-msg.hc-user {
  align-self: flex-end;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 10px 16px;
  max-width: 80%;
}

.hc-msg.hc-user p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.9);
}

/* AI messages */
.hc-msg.hc-ai {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.hc-ai-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 2px;
}

.hc-ai-content {
  flex: 1;
}

.hc-ai-content p {
  margin: 0 0 8px;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.8);
}

.hc-ai-content p:last-child {
  margin-bottom: 0;
}

.hc-ai-content strong {
  color: rgba(255, 255, 255, 0.95);
}

/* Action pills */
.hc-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.hc-pills span {
  padding: 6px 16px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.8);
  cursor: pointer;
  transition: background 0.2s;
}

.hc-pills span:hover {
  background: rgba(255, 255, 255, 0.12);
}

/* File attachment */
.hc-file {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 8px;
}

/* Hero dots */
.hero-dots {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 3;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.5);
  background: transparent;
  cursor: pointer;
  transition: background 0.3s, border-color 0.3s;
  padding: 0;
}

.dot.active {
  background: var(--white);
  border-color: var(--white);
}

.section-heading {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 76px;
  line-height: 1.08;
  letter-spacing: -2.3px;
  margin-bottom: 32px;
}

.future-section .btn {
  margin-bottom: 60px;
}

.vr-image-wrap {
  max-width: 800px;
  margin: 0 auto 60px;
}

.vr-image {
  width: 100%;
}

.human-image-wrap {
  max-width: 1200px;
  margin: 0 auto;
  border-radius: 0 0 var(--radius-section) var(--radius-section);
  overflow: hidden;
}

.human-image {
  width: 100%;
}

/* ============================================================
   SUPERPOWER SECTION (DARK)
   ============================================================ */
.superpower-section {
  position: relative;
  background: var(--dark-bg);
  padding: 120px 0;
  border-radius: var(--radius-section);
  margin: 100px 20px 0;
  overflow: hidden;
}

.superpower-bg-blobs {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.blob {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  filter: blur(160px);
  opacity: 0.35;
}

.blob-tl {
  top: -200px;
  left: -150px;
  background: #6938ef;
}

.blob-tr {
  top: -100px;
  right: -200px;
  background: #b38cff;
}

.blob-bl {
  bottom: -200px;
  left: 30%;
  background: #6938ef;
}

.superpower-header {
  text-align: center;
  margin-bottom: 80px;
  position: relative;
  z-index: 1;
}

.qlaire-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 12px;
}

.qlaire-label {
  display: block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 18px;
  color: var(--purple-accent);
  margin-bottom: 24px;
}

.superpower-header .section-heading {
  margin-bottom: 32px;
}

/* ---------- Feature Cards ---------- */
.feature-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 60px;
  position: relative;
  z-index: 1;
}

.feature-card {
  background: var(--dark-card);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-card);
  padding: 32px 28px;
  min-height: 434px;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(10px);
}

.feature-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.2px;
  color: var(--purple-accent);
  text-transform: uppercase;
  background: var(--purple-bg);
  border: 1px solid var(--purple-border);
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 16px;
  width: fit-content;
}

.feature-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 25.7px;
  color: var(--text-light);
  margin-bottom: 24px;
  line-height: 1.25;
}

/* Chat mockups */
.chat-mockup {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.chat-msg {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.chat-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

.chat-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ai-avatar {
  background: var(--purple-bg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.ai-avatar img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.chat-bubble {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 12px 16px;
  flex: 1;
}

.ai-bubble {
  background: rgba(105, 56, 239, 0.08);
  border-color: rgba(105, 56, 239, 0.15);
}

.chat-name {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted-light);
  margin-bottom: 6px;
}

.chat-bubble p,
.chat-bubble ul {
  font-size: 13px;
  line-height: 1.55;
  color: rgba(238, 238, 238, 0.75);
}

.chat-bubble ul {
  padding-left: 16px;
  list-style: disc;
}

.chat-bubble ul li {
  margin-bottom: 4px;
}

.badge-send {
  display: inline-block;
  margin-top: 10px;
  font-size: 11px;
  font-weight: 700;
  color: var(--white);
  background: rgba(105, 56, 239, 0.5);
  padding: 5px 12px;
  border-radius: 8px;
}

/* Task list mockup */
.task-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.task-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: rgba(238, 238, 238, 0.7);
}

.task-check {
  width: 20px;
  height: 20px;
  border: 2px solid var(--border-dark);
  border-radius: 6px;
  flex-shrink: 0;
  position: relative;
}

.task-check.checked {
  background: var(--purple-accent);
  border-color: var(--purple-accent);
}

.task-check.checked::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 6px;
  width: 5px;
  height: 9px;
  border: solid var(--white);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* ---------- Qlaire Voice ---------- */
.qlaire-voice {
  display: flex;
  gap: 40px;
  background: var(--dark-card);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-card);
  padding: 48px;
  margin-bottom: 60px;
  position: relative;
  z-index: 1;
}

.qlaire-voice-left {
  flex: 1;
}

.qlaire-voice-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  color: var(--purple-accent);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 16px;
}

.qlaire-voice-icon {
  width: 28px;
  height: 28px;
}

.qlaire-voice-heading {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 36px;
  color: var(--text-light);
  line-height: 1.15;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.qlaire-voice-desc {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-muted-light);
  margin-bottom: 20px;
}

.qlaire-voice-stat {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 15px;
  color: var(--purple-accent);
  margin-bottom: 24px;
}

.qlaire-voice-right {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.audio-wave-card {
  width: 100%;
  border: 1.5px solid #5398d9;
  border-radius: 16px;
  padding: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(83, 152, 217, 0.04);
}

.audio-wave-img {
  width: 100%;
  max-height: 120px;
  object-fit: contain;
}

/* ---------- Superpower Grid ---------- */
.superpower-grid {
  display: flex;
  align-items: stretch;
  gap: 0;
  position: relative;
  z-index: 1;
}

.superpower-grid-item {
  flex: 1;
  text-align: center;
  padding: 40px 32px;
}

.superpower-grid-divider {
  width: 1px;
  background: var(--border-dark);
  align-self: stretch;
}

.grid-item-img {
  max-width: 200px;
  max-height: 80px;
  margin: 0 auto 20px;
  object-fit: contain;
}

.superpower-grid-item h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 22px;
  color: var(--text-light);
  margin-bottom: 8px;
}

.superpower-grid-item p {
  font-size: 15px;
  color: var(--text-muted-light);
  line-height: 1.5;
}

/* ============================================================
   BANDWIDTH SECTION (ACCORDION)
   ============================================================ */
.bandwidth-section {
  padding: 120px 0;
  background: var(--white);
}

.section-sub {
  font-size: 19px;
  line-height: 1.6;
  color: var(--text-muted-dark);
  max-width: 640px;
  margin: 0 auto 60px;
  text-align: center;
}

.bandwidth-section .section-heading,
.how-section .section-heading,
.designed-section .section-heading {
  text-align: center;
}

/* Accordion cards shared styles */
.accordion-cards {
  display: flex;
  gap: 8px;
  height: 520px;
}

.accordion-card {
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
  cursor: pointer;
  background: #1a1a1a;
  flex: 0 0 130px;
  transition: flex 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.accordion-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.accordion-card.expanded {
  flex: 1 1 549px;
}

.accordion-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.75) 100%);
  z-index: 1;
}

.accordion-expanded-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 40px 32px;
  z-index: 2;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s 0.15s, transform 0.3s 0.15s;
}

.accordion-card.expanded .accordion-expanded-content {
  opacity: 1;
  transform: translateY(0);
}

.accordion-expanded-content h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 32px;
  color: var(--white);
  margin-bottom: 12px;
}

.accordion-bold {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 16px;
  color: var(--white);
  margin-bottom: 8px;
}

.accordion-expanded-content p:last-child {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.55;
}

.accordion-collapsed-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity 0.2s;
}

.accordion-card.expanded .accordion-collapsed-content {
  opacity: 0;
  pointer-events: none;
}

.accordion-collapsed-content span {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 18px;
  color: var(--white);
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transform: rotate(180deg);
  letter-spacing: 1px;
}

/* ============================================================
   HOW IT WORKS SECTION
   ============================================================ */
.how-section {
  padding: 120px 0;
  background: var(--white);
}

.step-cards {
  display: flex;
  gap: 8px;
  height: 520px;
}

.step-card {
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
  cursor: pointer;
  background-size: cover;
  background-position: center;
  flex: 0 0 130px;
  transition: flex 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.step-card.expanded {
  flex: 1 1 600px;
}

.step-expanded-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 40px 36px;
  z-index: 2;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s 0.15s, transform 0.3s 0.15s;
}

.step-card.expanded .step-expanded-content {
  opacity: 1;
  transform: translateY(0);
}

.step-expanded-content h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 32px;
  color: var(--white);
  margin-bottom: 12px;
}

.step-expanded-content p.accordion-bold {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 16px;
  color: var(--white);
  margin-bottom: 8px;
}

.step-expanded-content p:last-child {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.55;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 22px;
  color: var(--white);
  margin-bottom: 16px;
}

.step-collapsed-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  opacity: 1;
  transition: opacity 0.2s;
}

.step-card.expanded .step-collapsed-content {
  opacity: 0;
  pointer-events: none;
}

.step-collapsed-content span:last-child {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 18px;
  color: var(--white);
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transform: rotate(180deg);
  letter-spacing: 1px;
}

/* ============================================================
   DESIGNED SECTION
   ============================================================ */
.designed-section {
  padding: 120px 0;
  background: var(--white);
}

.feature-rows {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.feature-row {
  display: flex;
  border-radius: var(--radius-row);
  overflow: hidden;
  background: #eee;
}

.feature-row-text {
  flex: 1;
  padding: 48px 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.feature-row-text h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 40px;
  line-height: 1.12;
  letter-spacing: -1px;
  margin-bottom: 16px;
}

.feature-row-text p {
  font-size: 19px;
  line-height: 1.6;
  color: var(--text-muted-dark);
}

.feature-row-img {
  flex: 1;
  min-height: 360px;
}

.feature-row-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer-section {
  padding: 40px 20px;
}

.footer-inner {
  position: relative;
  border-radius: var(--radius-footer);
  overflow: hidden;
  min-height: 600px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.footer-bg-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.footer-bg-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(19, 8, 26, 0.5);
}

.footer-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 60px 40px;
}

.footer-logo-wrap {
  margin-bottom: 32px;
}

.footer-logo {
  width: 80px;
  height: 80px;
  margin: 0 auto;
  filter: drop-shadow(0 0 40px rgba(179, 140, 255, 0.5));
}

.footer-heading {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 56px;
  line-height: 1.1;
  letter-spacing: -1.5px;
  color: var(--white);
  margin-bottom: 36px;
  max-width: 700px;
  animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.85; }
}

.footer-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 48px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
}

.footer-socials {
  display: flex;
  gap: 20px;
}

.footer-socials a {
  opacity: 0.6;
  transition: opacity 0.2s;
}

.footer-socials a:hover {
  opacity: 1;
}

/* ============================================================
   MOBILE RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .section-heading {
    font-size: 56px;
  }

  .hero-heading {
    font-size: 52px;
  }

  .feature-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-cards .feature-card:last-child {
    grid-column: 1 / -1;
    max-width: 50%;
    margin: 0 auto;
  }

  .qlaire-voice {
    flex-direction: column;
  }

  .accordion-cards,
  .step-cards {
    height: 450px;
  }

  .feature-row-text h3 {
    font-size: 32px;
  }

  .footer-heading {
    font-size: 44px;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }

  .navbar {
    width: calc(100% - 32px);
    top: 12px;
  }

  .navbar-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(19, 8, 26, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 0 0 16px 16px;
    padding: 20px 28px;
    gap: 16px;
  }

  .navbar.scrolled .navbar-links {
    background: rgba(255, 255, 255, 0.95);
  }

  .navbar-links.open {
    display: flex;
  }

  .navbar-cta {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  /* Hero */
  .hero-content {
    flex-direction: column;
    padding: 140px 20px 80px;
    gap: 40px;
  }

  .hero-heading {
    font-size: 40px;
    letter-spacing: -1.2px;
  }

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

  .hero-right {
    width: 100%;
  }

  /* Sections */
  .section-heading {
    font-size: 38px;
    letter-spacing: -1px;
  }

  .section-sub {
    font-size: 16px;
  }

  .future-section {
    padding: 80px 0 0;
  }

  .superpower-section {
    padding: 80px 0;
    margin: 0 12px;
    border-radius: var(--radius-card);
  }

  /* Feature cards */
  .feature-cards {
    grid-template-columns: 1fr;
  }

  .feature-cards .feature-card:last-child {
    max-width: 100%;
  }

  .feature-card {
    min-height: auto;
    padding: 24px 20px;
  }

  /* Qlaire voice */
  .qlaire-voice {
    flex-direction: column;
    padding: 28px;
  }

  .qlaire-voice-heading {
    font-size: 28px;
  }

  /* Superpower grid */
  .superpower-grid {
    flex-direction: column;
  }

  .superpower-grid-divider {
    width: 100%;
    height: 1px;
  }

  /* Accordion */
  .accordion-cards,
  .step-cards {
    flex-direction: column;
    height: auto;
  }

  .accordion-card,
  .step-card {
    flex: none !important;
    height: 80px;
    transition: height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .accordion-card.expanded,
  .step-card.expanded {
    height: 400px;
  }

  .accordion-collapsed-content span,
  .step-collapsed-content span:last-child {
    writing-mode: horizontal-tb;
    transform: none;
  }

  .step-collapsed-content {
    flex-direction: row;
    justify-content: flex-start;
    padding: 0 24px;
  }

  .step-collapsed-content .step-number {
    width: 36px;
    height: 36px;
    font-size: 16px;
    margin-bottom: 0;
  }

  /* Feature rows */
  .feature-row {
    flex-direction: column-reverse;
  }

  .feature-row-text {
    padding: 28px 24px;
  }

  .feature-row-text h3 {
    font-size: 28px;
  }

  .feature-row-text p {
    font-size: 16px;
  }

  .feature-row-img {
    min-height: 220px;
  }

  /* Footer */
  .footer-heading {
    font-size: 32px;
  }

  .footer-bar {
    flex-direction: column;
    gap: 16px;
    text-align: center;
    padding: 20px;
  }

  .bandwidth-section,
  .how-section,
  .designed-section {
    padding: 80px 0;
  }
}

@media (max-width: 480px) {
  .section-heading {
    font-size: 30px;
  }

  .hero-heading {
    font-size: 34px;
  }

  .navbar-inner {
    padding: 12px 16px;
  }

  .footer-heading {
    font-size: 26px;
  }

  .footer-logo {
    width: 60px;
    height: 60px;
  }
}

/* ============================================================
   WAITLIST MODAL
   ============================================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  background: var(--white);
  border-radius: 20px;
  padding: 48px 40px;
  width: 440px;
  max-width: 90vw;
  position: relative;
  text-align: center;
  transform: translateY(20px) scale(0.97);
  transition: transform 0.3s ease;
}

.modal-overlay.open .modal-card {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  font-size: 28px;
  color: #999;
  cursor: pointer;
  line-height: 1;
}

.modal-close:hover {
  color: #333;
}

.modal-logo {
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  filter: invert(1);
}

.modal-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 24px;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.modal-sub {
  font-size: 15px;
  color: var(--text-muted-dark);
  margin-bottom: 28px;
  line-height: 1.5;
}

.form-group {
  text-align: left;
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.form-group input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #ddd;
  border-radius: 10px;
  font-size: 15px;
  font-family: var(--font-body);
  outline: none;
  transition: border-color 0.2s;
}

.form-group input:focus {
  border-color: #6938ef;
}

.modal-submit {
  width: 100%;
  margin-top: 8px;
  padding: 14px;
  font-size: 16px;
}

/* Success state */
.modal-success {
  display: none;
}

.modal-success.show {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.modal-success h3 {
  font-family: var(--font-heading);
  font-size: 22px;
  color: var(--text-dark);
}

.modal-success p {
  font-size: 15px;
  color: var(--text-muted-dark);
}
