/* ============================================================
   SCHOOLINBOX.CSS — InboxAI page · accent: --teal (#00c8a8)
   ============================================================ */

:root {
  --accent: var(--teal);
}

/* ================================================================
   HERO
   ================================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  position: relative;
  overflow: visible;
}

.hero>.container {
  max-width: none;
  width: 100%;
  padding-left: clamp(24px, 3vw, 80px);
  padding-right: clamp(24px, 3vw, 80px);
}

.hero-glow {
  position: absolute;
  top: 50%;
  left: 30%;
  transform: translate(-60%, -50%);
  width: 800px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(0, 200, 168, 0.10) 0%, transparent 68%);
  pointer-events: none;
  z-index: 0;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  gap: 64px;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 1;
  width: 100%;
}

/* ---- Hero Heading ---- */
.hero-heading {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(2.5rem, 10vw, 8.5rem);
  line-height: 0.88;
  letter-spacing: -0.03em;
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  max-width: 100%;
  overflow: visible;
  padding-bottom: 0.12em;
}

.hero-heading .h-solid {
  color: var(--white);
}

.hero-heading .h-outline {
  color: transparent;
  -webkit-text-stroke: 2px var(--teal);
  paint-order: stroke fill;
}

.hero-subline {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 40px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}

/* ================================================================
   DESKTOP HERO OVERRIDES (Side-by-side)
   ================================================================ */
@media (min-width: 960px) {
  .hero-inner {
    display: grid;
    grid-template-columns: 1.4fr 0.6fr;
    gap: 60px;
    align-items: center;
    text-align: left;
  }

  .hero-heading {
    align-items: flex-start;
    font-size: clamp(4.5rem, 7vw, 9.5rem);
  }

  .hero-subline {
    margin-left: 0;
    margin-right: 0;
    max-width: 420px;
  }

  .hero-ctas {
    justify-content: flex-start;
  }
}

/* ================================================================
   INBOX MOCKUP
   Pure CSS inbox UI. JS cycles messages in from bottom.
   ================================================================ */
.inbox-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 1;
}

.inbox-wrap::before {
  content: '';
  position: absolute;
  inset: -60px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(0, 200, 168, 0.06) 0%, transparent 70%);
  z-index: 0;
  pointer-events: none;
}

.inbox-device {
  width: 100%;
  max-width: 300px;
  background: #0c1420;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(0, 200, 168, 0.06),
    0 40px 100px rgba(0, 0, 0, 0.65),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  position: relative;
  z-index: 1;
}

/* App chrome top bar */
.inbox-chrome {
  background: #0a1018;
  padding: 14px 20px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.inbox-chrome-title {
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--teal);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.inbox-badge {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--teal);
  color: var(--void);
  font-size: 0.6rem;
  font-family: var(--font-body);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.inbox-badge.hidden {
  opacity: 0;
  transform: scale(0.6);
  pointer-events: none;
}

/* Tab bar */
.inbox-tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.inbox-tab {
  flex: 1;
  padding: 10px 12px;
  font-size: 0.58rem;
  font-family: var(--font-body);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
  color: var(--muted);
}

.inbox-tab.active {
  color: var(--teal);
  border-bottom: 2px solid var(--teal);
}

/* Messages list — fixed height so cycling messages never shift layout */
.inbox-messages {
  padding: 8px 0;
  height: 320px;
  position: relative;
  overflow: hidden;
}

/* Individual message row */
.inbox-msg {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  position: relative;
  animation: slideUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  opacity: 0;
  transform: translateY(20px);
}

@keyframes slideUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.msg-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--void);
  flex-shrink: 0;
}

.msg-body {
  flex: 1;
  min-width: 0;
}

.msg-name {
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 3px;
}

.msg-preview {
  font-size: 0.64rem;
  font-family: var(--font-body);
  color: var(--muted);
  line-height: 1.4;
  white-space: normal;
  word-break: break-word;
}

.msg-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 5px;
  flex-shrink: 0;
}

.msg-time {
  font-size: 0.56rem;
  font-family: var(--font-body);
  color: var(--muted);
}

.msg-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
}

/* ================================================================
   FEATURES SECTION
   ================================================================ */
.features {
  padding: 130px 0;
}

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

.feature-card {
  padding: 36px 30px 40px;
  position: relative;
}

/* Amber accent corner — bottom left */
.feature-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 30px;
  border-bottom: 2px solid var(--teal);
  border-left: 2px solid var(--teal);
  border-radius: 0 0 0 3px;
  pointer-events: none;
}

.feature-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(0, 200, 168, 0.10);
  border: 1px solid rgba(0, 200, 168, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  color: var(--teal);
  flex-shrink: 0;
}

.feature-title {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}

.feature-desc {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.75;
}

/* ================================================================
   STATS ROW
   Large counters that count up when scrolled into view.
   ================================================================ */
.stats-section {
  padding: 80px 0;
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  text-align: center;
}


.stat-number {
  font-family: var(--font-head);
  font-size: clamp(3rem, 5vw, 4.5rem);
  font-weight: 800;
  color: var(--teal);
  display: block;
  line-height: 1;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}

.stat-label {
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: var(--muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1.5;
}

/* ================================================================
   HOW IT WORKS
   ================================================================ */
.how-section {
  padding: 80px 0 130px;
}

.how-title {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 72px;
  text-align: center;
}

/* ================================================================
   MARQUEE SECTION
   ================================================================ */
.marquee-section {
  padding: 28px 0;
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
  overflow: hidden;
}

.marquee-section .marquee-inner span {
  color: var(--teal);
}

/* ================================================================
   CTA SECTION
   ================================================================ */
.cta-section {
  padding: 150px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(0, 200, 168, 0.07) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.cta-title {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3.8rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 52px;
  position: relative;
  z-index: 1;
  line-height: 1.1;
}

.cta-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  position: relative;
  z-index: 1;
}

/* ================================================================
   RESPONSIVE — inboxai.html
   ================================================================ */

/* ---- Tablet landscape / small desktop (< 1280px) ---- */
@media (max-width: 1279px) {
  .hero-inner {
    gap: 48px;
  }

  .features-grid {
    gap: 16px;
  }

  .stats-grid {
    gap: 28px;
  }
}

/* ---- Tablet portrait (< 960px) — stack hero ---- */
@media (max-width: 959px) {
  .hero {
    padding: 90px 0 80px;
    min-height: auto;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 56px;
    text-align: center;
  }

  /* Heading flex column needs explicit centering — text-align doesn't cascade into flex */
  .hero-heading {
    align-items: center;
    width: 100%;
  }

  .hero-subline {
    max-width: 520px;
    margin: 0 auto 36px;
  }

  .hero-ctas {
    justify-content: center;
  }

  /* Inbox mockup: full-width column, centred inside */
  .inbox-wrap {
    order: -1;
    width: 100%;
    justify-content: center;
    margin: 0 auto;
  }

  .inbox-device {
    width: 100%;
    max-width: 360px;
    margin: 0 auto;
  }

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

  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }

  .features {
    padding: 100px 0;
  }

  .how-section {
    padding: 60px 0 100px;
  }

  .cta-section {
    padding: 100px 0;
  }

  .how-title {
    margin-bottom: 52px;
  }
}

/* ---- Large phones landscape / small tablet (< 768px) ---- */
@media (max-width: 767px) {
  .hero-heading {
    font-size: 10vw;
  }

  .inbox-device {
    width: 100%;
    max-width: 320px;
  }

  .features-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }

  .feature-card {
    padding: 28px 24px 34px;
  }

  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }

  .stat-number {
    font-size: clamp(2.2rem, 6vw, 3.5rem);
  }

  .stat-label {
    font-size: 0.7rem;
  }

  .cta-title {
    margin-bottom: 36px;
  }
}

/* ---- Phones portrait (< 480px) ---- */
@media (max-width: 479px) {
  .hero {
    padding: 80px 0 60px;
  }

  .hero-heading {
    font-size: 10vw;
    gap: 2px;
    align-items: center;
    width: 100%;
  }

  .hero-subline {
    font-size: 0.9rem;
    margin-bottom: 28px;
  }

  .hero-ctas {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .btn-primary,
  .btn-ghost {
    width: 100%;
    max-width: 320px;
    justify-content: center;
  }

  .inbox-device {
    width: 100%;
    max-width: 100%;
    border-radius: 14px;
    margin: 0 auto;
  }

  .inbox-messages {
    height: 260px;
  }

  .inbox-chrome {
    padding: 12px 16px 10px;
  }

  .inbox-chrome-title {
    font-size: 0.75rem;
  }

  .inbox-badge {
    width: 18px;
    height: 18px;
    font-size: 0.55rem;
  }

  .inbox-tab {
    font-size: 0.52rem;
    padding: 8px 8px;
  }

  .inbox-messages {
    min-height: 240px;
  }

  .inbox-msg {
    padding: 10px 14px;
    gap: 10px;
  }

  .msg-avatar {
    width: 28px;
    height: 28px;
    font-size: 0.62rem;
  }

  .msg-name {
    font-size: 0.65rem;
  }

  .msg-preview {
    font-size: 0.58rem;
  }

  .msg-time {
    font-size: 0.5rem;
  }

  .msg-dot {
    width: 6px;
    height: 6px;
  }

  .features {
    padding: 70px 0;
  }

  .stats-section {
    padding: 56px 0;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .stat-number {
    font-size: clamp(3rem, 14vw, 4rem);
  }

  .stat-label {
    font-size: 0.75rem;
  }

  .how-section {
    padding: 50px 0 70px;
  }

  .how-title {
    font-size: 1.6rem;
    margin-bottom: 40px;
  }

  .marquee-section {
    padding: 20px 0;
  }

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

  .cta-title {
    font-size: clamp(1.7rem, 8vw, 2.4rem);
    margin-bottom: 32px;
  }

  .demo-section {
    padding: 0 0 50px;
  }

  .full-features-section {
    padding: 0 0 60px;
  }
}

/* ---- Tiny phones (< 360px) ---- */
@media (max-width: 359px) {
  .hero-heading {
    font-size: 10vw;
    align-items: center;
    width: 100%;
  }

  .inbox-messages {
    height: 220px;
  }

  .inbox-chrome-title {
    font-size: 0.68rem;
  }

  .inbox-msg {
    padding: 8px 12px;
    gap: 8px;
  }

  .msg-avatar {
    width: 24px;
    height: 24px;
    font-size: 0.55rem;
  }

  .stats-grid {
    gap: 28px;
  }
}

/* ---- Large desktop (≥ 1440px) ---- */
@media (min-width: 1440px) {
  .hero-inner {
    gap: 100px;
  }

  .features-grid {
    gap: 28px;
  }

  .feature-card {
    padding: 44px 36px 50px;
  }

  .stats-grid {
    gap: 60px;
  }
}

/* ---- TV / Ultra-wide (≥ 1920px) ---- */
@media (min-width: 1920px) {
  .hero {
    padding: 140px 0 120px;
  }

  .hero-inner {
    gap: 140px;
  }

  .hero-heading {
    font-size: clamp(9rem, 8vw, 13rem);
    gap: 8px;
  }

  .hero-subline {
    font-size: 1.25rem;
    max-width: 520px;
    margin-bottom: 52px;
  }

  .inbox-device {
    width: 420px;
    border-radius: 26px;
  }

  .inbox-chrome {
    padding: 20px 28px 18px;
  }

  .inbox-chrome-title {
    font-size: 1.1rem;
  }

  .inbox-badge {
    width: 28px;
    height: 28px;
    font-size: 0.8rem;
  }



  .inbox-tab {
    font-size: 0.78rem;
    padding: 14px 18px;
  }

  .inbox-messages {
    min-height: 440px;
  }

  .inbox-msg {
    padding: 18px 26px;
    gap: 16px;
  }

  .msg-avatar {
    width: 48px;
    height: 48px;
    font-size: 0.95rem;
  }

  .msg-name {
    font-size: 0.95rem;
    margin-bottom: 5px;
  }

  .msg-preview {
    font-size: 0.84rem;
  }

  .msg-time {
    font-size: 0.75rem;
  }

  .msg-dot {
    width: 9px;
    height: 9px;
  }

  .features {
    padding: 180px 0;
  }

  .features-grid {
    gap: 32px;
  }

  .feature-card {
    padding: 52px 44px 60px;
  }

  .feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    margin-bottom: 28px;
  }

  .feature-title {
    font-size: 1.45rem;
    margin-bottom: 16px;
  }

  .feature-desc {
    font-size: 0.95rem;
  }

  .feature-card::after {
    width: 40px;
    height: 40px;
  }

  .stats-section {
    padding: 120px 0;
  }

  .stats-grid {
    gap: 80px;
  }

  .stat-number {
    font-size: clamp(5rem, 6vw, 7rem);
    margin-bottom: 20px;
  }

  .stat-label {
    font-size: 1rem;
  }

  .how-section {
    padding: 120px 0 180px;
  }

  .how-title {
    font-size: 3.5rem;
    margin-bottom: 100px;
  }

  .marquee-section {
    padding: 44px 0;
  }

  .cta-section {
    padding: 200px 0;
  }

  .cta-title {
    font-size: clamp(3rem, 4vw, 5rem);
    margin-bottom: 72px;
  }

  .cta-glow {
    width: 1000px;
    height: 500px;
  }
}

/* ---- 4K (≥ 2560px) ---- */
@media (min-width: 2560px) {
  .hero-heading {
    font-size: clamp(12rem, 9vw, 18rem);
  }

  .hero-subline {
    font-size: 1.5rem;
    max-width: 680px;
  }

  .inbox-device {
    width: 560px;
  }

  .inbox-msg {
    padding: 24px 32px;
    gap: 20px;
  }

  .msg-avatar {
    width: 60px;
    height: 60px;
    font-size: 1.1rem;
  }

  .msg-name {
    font-size: 1.1rem;
  }

  .msg-preview {
    font-size: 0.95rem;
  }

  .stat-number {
    font-size: clamp(6rem, 7vw, 9rem);
  }

  .stat-label {
    font-size: 1.1rem;
  }

  .feature-title {
    font-size: 1.7rem;
  }

  .feature-desc {
    font-size: 1.05rem;
  }

  .how-title {
    font-size: 4rem;
  }

  .cta-title {
    font-size: 5.5rem;
  }
}

/* ================================================================
   PRODUCT DEMO SECTION
   ================================================================ */

.demo-section {
  padding: 0 0 130px;
}

/* Outer glass card — three columns side by side */
.demo-card {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: stretch;
  gap: 0;
  padding: 2.5rem;
}

/* ── Email column ── */
.demo-email {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 1.5rem;
}

.demo-sender {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1.1rem;
}

.demo-avatar {
  width: 30px;
  height: 30px;
  min-width: 30px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 700;
  color: #fff;
}

.demo-sender-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.demo-email-name {
  font-family: var(--font-body);
  font-size: 0.72rem;
  color: var(--white);
  letter-spacing: 0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.demo-email-sub {
  font-family: var(--font-body);
  font-size: 0.62rem;
  color: var(--white);
  letter-spacing: 0.03em;
}

.demo-email-subject {
  font-family: var(--font-head);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.65rem;
}

.demo-email-body {
  font-family: var(--font-body);
  font-size: 0.72rem;
  color: var(--white);
  line-height: 1.7;
  margin-bottom: 0.5rem;
}

.demo-email-body strong {
  color: var(--white);
}

.demo-email-list {
  list-style: none;
  padding: 0;
  margin: 0 0 0.8rem;
}

.demo-email-list li {
  font-family: var(--font-body);
  font-size: 0.72rem;
  color: var(--white);
  line-height: 1.7;
  padding-left: 1rem;
  position: relative;
}

.demo-email-list li::before {
  content: '·';
  position: absolute;
  left: 0;
  color: var(--teal);
}

.demo-email-date {
  font-family: var(--font-body);
  font-size: 0.62rem;
  color: var(--white);
  margin-top: 0.75rem;
  padding-top: 0.65rem;
  border-top: 1px solid var(--glass-border);
  letter-spacing: 0.03em;
}

/* ── AI connector column ── */
.demo-connector {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 6px;
}

.demo-vline {
  width: 1px;
  flex: 1;
  max-height: 40px;
  background: var(--glass-border);
}

.demo-ai-badge {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 0 24px rgba(0, 200, 168, 0.35);
}

.demo-ai-label {
  font-family: var(--font-body);
  font-size: 0.52rem;
  color: var(--white);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  white-space: nowrap;
  padding: 0 40px;
}

/* ── Extracted tasks column ── */
.demo-tasks {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.55rem;
  padding-left: 0.25rem;
}

.demo-tasks-label {
  font-family: var(--font-body);
  font-size: 0.62rem;
  color: var(--white);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}

.demo-task {
  display: flex;
  align-items: stretch;
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  overflow: hidden;
}

.demo-task-bar {
  width: 3px;
  flex-shrink: 0;
}

.demo-task-content {
  padding: 0.6rem 0.85rem;
  flex: 1;
  min-width: 0;
}

.demo-task-row {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
  margin-bottom: 0.2rem;
}

.demo-task-title {
  font-family: var(--font-head);
  font-size: 0.77rem;
  font-weight: 700;
  color: var(--white);
}

.demo-task-cat {
  font-family: var(--font-body);
  font-size: 0.58rem;
  padding: 0.1rem 0.5rem;
  border-radius: 999px;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.demo-task-date {
  display: block;
  font-family: var(--font-body);
  font-size: 0.62rem;
  color: var(--white);
  letter-spacing: 0.03em;
}

/* Mobile: stack vertically */
@media (max-width: 680px) {
  .demo-card {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    gap: 1rem;
  }

  .demo-connector {
    flex-direction: row;
    padding: 0;
    height: auto;
  }

  .demo-vline {
    height: 1px;
    width: auto;
    max-height: none;
    flex: 1;
  }

  .demo-ai-label {
    display: none;
  }

  .demo-tasks {
    padding-left: 0;
  }
}

/* ================================================================
   EVERYTHING YOU NEED — 6-CARD SECTION
   Cards intentionally reuse .feature-card / .feature-icon /
   .feature-title / .feature-desc for visual consistency.
   ================================================================ */

.full-features-section {
  padding: 0 0 130px;
}

/* Overrides .how-title margin so the subtitle sits beneath it */
.full-features-title {
  margin-bottom: 1rem;
}

.full-features-subtitle {
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: var(--muted);
  text-align: center;
  letter-spacing: 0.04em;
  margin-bottom: 64px;
}

@media (max-width: 959px) {
  .full-features-section {
    padding: 0 0 100px;
  }

  .full-features-subtitle {
    margin-bottom: 44px;
  }
}

@media (max-width: 767px) {
  .full-features-subtitle {
    margin-bottom: 32px;
  }
}
/* ================================================================
   MOBILE ELEMENT CENTERING (≤ 767px)
   Centre layout elements on phone. Text content alignment
   is left intentionally — only structural elements are centred.
   ================================================================ */
@media (max-width: 767px) {
  /* Feature cards — centre icon */
  .feature-icon {
    margin-left: auto;
    margin-right: auto;
  }

  /* Feature card text */
  .feature-title,
  .feature-desc {
    text-align: center;
  }

  /* Demo card — centre the stacked columns */
  .demo-email,
  .demo-tasks {
    text-align: center;
  }

  .demo-sender {
    justify-content: center;
  }

  .demo-tasks-label {
    text-align: center;
  }
}

/* ================================================================
   FAQ SECTION
   ================================================================ */
.faq-section {
  padding: 100px 0 80px;
}

.faq-title {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 52px;
  text-align: center;
}

.faq-list {
  max-width: 720px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--glass-border);
  list-style: none;
}

.faq-item:first-child {
  border-top: 1px solid var(--glass-border);
}

.faq-item summary {
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0;
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: var(--white);
  cursor: pointer;
  letter-spacing: 0.02em;
  line-height: 1.5;
  transition: color 0.2s ease;
}

.faq-q:hover {
  color: var(--accent);
}

.faq-icon {
  font-size: 1.3rem;
  font-weight: 300;
  color: var(--muted);
  flex-shrink: 0;
  transition: transform 0.25s var(--ease), color 0.2s ease;
  line-height: 1;
}

details[open] .faq-q .faq-icon {
  transform: rotate(45deg);
  color: var(--accent);
}

.faq-a {
  padding-bottom: 20px;
}

.faq-a p {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.75;
}

/* ================================================================
   FOOTER
   ================================================================ */
.site-footer {
  padding: 40px 0;
  border-top: 1px solid var(--glass-border);
  position: relative;
  z-index: 2;
}

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

.footer-left {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-logo {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-copy {
  font-family: var(--font-body);
  font-size: 0.7rem;
  color: var(--muted);
  letter-spacing: 0.06em;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.footer-links a {
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

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

@media (max-width: 767px) {
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }

  .footer-links {
    flex-wrap: nowrap;
    width: 100%;
    justify-content: space-between;
    gap: 0;
  }

  .footer-links a {
    font-size: clamp(0.6rem, 2.5vw, 0.72rem);
    white-space: nowrap;
  }
}
