﻿@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Work+Sans:wght@300;400;500;600;700&display=swap');

:root {
  color-scheme: light;
  --primary: #0ea5e9;
  --secondary: #38bdf8;
  --cta: #f97316;
  --bg: #f8fafc;
  --surface: rgba(255, 255, 255, 0.85);
  --text: #0f172a;
  --muted: #64748b;
  --border: rgba(148, 163, 184, 0.1);
  --shadow: 0 20px 50px -12px rgba(15, 23, 42, 0.12);
  --glass: blur(12px) saturate(180%);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Work Sans', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background:
    radial-gradient(1200px 600px at 20% -10%, rgba(14, 165, 233, 0.25), transparent 60%),
    radial-gradient(1000px 500px at 80% 10%, rgba(249, 115, 22, 0.18), transparent 55%),
    linear-gradient(180deg, #f0f9ff 0%, #ffffff 50%, #ecfeff 100%);
}

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

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

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  padding: 0.5rem 1rem;
  background: var(--text);
  color: #ffffff;
  border-radius: 999px;
  transition: top 0.2s ease;
  z-index: 30;
}

.skip-link:focus {
  top: 1rem;
}

.progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  z-index: 40;
  background: transparent;
}

.progress span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--cta));
  transition: width 0.1s ease-out;
}

.container {
  width: min(1200px, 100% - 2rem);
  margin: 0 auto;
}

.floating-nav {
  position: sticky;
  top: 1rem;
  z-index: 20;
  margin: 1rem;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 40px rgba(15, 23, 42, 0.08);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.logo-mark {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: #ffffff;
  padding: 6px;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  font-size: 0.95rem;
  color: var(--muted);
}

.nav-links a {
  cursor: pointer;
  transition: color 0.2s ease;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn-primary {
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 12px 30px rgba(14, 165, 233, 0.35);
}

.btn-primary:hover {
  background: #0284c7;
}

.btn-ghost {
  background: transparent;
  border-color: rgba(15, 23, 42, 0.2);
  color: var(--text);
}

.btn-ghost:hover {
  border-color: rgba(15, 23, 42, 0.5);
}

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

.btn-dark:hover {
  background: #020617;
}

.hero {
  padding: 6rem 0 5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3rem;
  align-items: center;
}

.hero-copy h1 {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(3rem, 8vw, 7rem);
  line-height: 0.95;
  margin: 0 0 1.25rem;
  letter-spacing: -0.05em;
  background: linear-gradient(135deg, var(--text) 0%, var(--primary) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.75rem;
  color: var(--muted);
  margin-bottom: 1rem;
}

.lead {
  font-size: 1.2rem;
  color: var(--muted);
  max-width: 520px;
}

.actions {
  display: flex;
  gap: 1rem;
  margin: 2rem 0 2.5rem;
  flex-wrap: wrap;
}

.brand-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-radius: 1.25rem;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.9);
  width: fit-content;
  margin-bottom: 2rem;
}

.brand-row img {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  padding: 8px;
  background: #ffffff;
}

.brand-name {
  font-weight: 600;
  margin: 0 0 0.25rem;
}

.brand-sub {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.meta-card {
  padding: 1rem 1.25rem;
  border-radius: 1rem;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.8);
}

.meta-title {
  font-weight: 600;
  margin: 0 0 0.35rem;
}

.meta-body {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 520px;
}

.device {
  width: min(360px, 100%);
  border-radius: 32px;
  padding: 1.5rem;
  background: linear-gradient(160deg, #ffffff, #e0f2fe);
  box-shadow: var(--shadow);
  border: 1px solid rgba(14, 165, 233, 0.25);
}

.device-screen {
  border-radius: 24px;
  background: #0f172a;
  overflow: hidden;
  aspect-ratio: 9 / 16;
}

.device-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.device-caption {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--muted);
  text-align: center;
}

.float-card {
  position: absolute;
  padding: 0.6rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--border);
  font-size: 0.85rem;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.12);
}

.float-card-top {
  top: 24px;
  left: 0;
}

.float-card-bottom {
  bottom: 20px;
  right: 0;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(10px);
  opacity: 0.7;
  z-index: -1;
}

.orb-primary {
  width: 180px;
  height: 180px;
  background: rgba(14, 165, 233, 0.5);
  top: -40px;
  right: 10px;
}

.orb-warm {
  width: 140px;
  height: 140px;
  background: rgba(249, 115, 22, 0.45);
  bottom: -30px;
  left: 0;
}

.chapter {
  padding: 5rem 0;
}

.chapter-label {
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-size: 0.7rem;
  color: var(--muted);
  margin-bottom: 1rem;
}

.chapter h2 {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  margin: 0 0 1rem;
  letter-spacing: -0.03em;
}

.body {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 640px;
}

.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3rem;
  align-items: center;
}

.list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1.25rem;
}

.list li {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--border);
}

.icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(14, 165, 233, 0.15);
  color: var(--primary);
  flex: 0 0 auto;
}

.icon svg {
  width: 20px;
  height: 20px;
}

.journey-grid {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.journey-card,
.feature-card,
.capability {
  padding: 1.5rem;
  border-radius: 1.5rem;
  border: 1px solid var(--border);
  background: var(--surface);
  backdrop-filter: var(--glass);
  box-shadow: var(--shadow);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: pointer;
}

.journey-card:hover,
.feature-card:hover,
.capability:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: var(--primary);
  box-shadow: 0 30px 60px -15px rgba(14, 165, 233, 0.2);
}

.journey-card h3,
.feature-card h3,
.capability h3 {
  margin: 0 0 0.5rem;
  font-family: 'Outfit', sans-serif;
}

.workflow-grid {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
}

.workflow-card {
  padding: 1.5rem;
  border-radius: 1.25rem;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.95);
}

.workflow-card h3 {
  margin: 0.75rem 0 0.5rem;
  font-family: 'Outfit', sans-serif;
}

.step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: rgba(14, 165, 233, 0.15);
  color: var(--primary);
  font-weight: 700;
}

.cards {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.showcase-grid {
  margin-top: 3.5rem;
  display: grid;
  grid-template-columns: repeat(15, minmax(0, 1fr));
  gap: 2rem;
  align-items: start;
}

/* Phone Mockup Styling */
.phone-mockup {
  position: relative;
  border-radius: 2.25rem;
  background: #0f172a;
  /* Frame color */
  padding: 0.6rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    0 10px 20px rgba(0, 0, 0, 0.2),
    0 40px 80px -15px rgba(15, 23, 42, 0.3);
  overflow: visible !important;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.6s ease;
  cursor: zoom-in;
}

.phone-mockup:hover {
  transform: translateY(-12px) scale(1.01);
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.2),
    0 60px 100px -20px rgba(14, 165, 233, 0.25);
  border-color: rgba(14, 165, 233, 0.4);
}

.phone-mockup::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg,
      rgba(255, 255, 255, 0.15) 0%,
      rgba(255, 255, 255, 0) 50%);
  pointer-events: none;
  z-index: 5;
  border-radius: inherit;
}

.phone-bezel {
  position: absolute;
  top: 0.9rem;
  left: 50%;
  transform: translateX(-50%);
  width: 33%;
  height: 18px;
  background: #000;
  border-radius: 999px;
  z-index: 10;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.phone-bezel::after {
  content: '';
  position: absolute;
  right: 20%;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  background: #111;
  border-radius: 50%;
  box-shadow: inset 0 0 2px rgba(255, 255, 255, 0.2);
}

.shot {
  margin: 0;
  display: flex;
  flex-direction: column;
}

.shot img {
  width: 100%;
  height: auto;
  border-radius: 1.75rem;
  aspect-ratio: 9 / 19.5;
  /* Modern phone aspect ratio */
  object-fit: cover;
  display: block;
}

.shot figcaption {
  margin-top: 1.25rem;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text);
  text-align: center;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.phone-mockup:hover figcaption {
  opacity: 1;
  color: var(--primary);
}

/* Grid Logic */
.shot-large {
  grid-column: span 5;
}

.shot-medium {
  grid-column: span 4;
  margin-top: 4rem;
  /* Asymmetrical offset */
}

.shot-small {
  grid-column: span 3;
}

@media (max-width: 1200px) {
  .shot-large {
    grid-column: span 6;
  }

  .shot-medium {
    grid-column: span 6;
    margin-top: 0;
  }

  .shot-small {
    grid-column: span 4;
  }
}

.showcase-footer {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: 2rem;
  align-items: center;
}

.qr-card {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.5rem;
  border-radius: 1.5rem;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--border);
}

.qr-card img {
  width: 120px;
  height: 120px;
  border-radius: 16px;
  border: 1px solid rgba(15, 23, 42, 0.12);
}

.qr-title {
  margin: 0 0 0.4rem;
  font-weight: 600;
}

.qr-sub {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.badge-row {
  margin-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.badge-row span {
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(14, 165, 233, 0.3);
  background: rgba(14, 165, 233, 0.1);
  font-size: 0.85rem;
  color: #075985;
}

.capability-list {
  display: grid;
  gap: 1.5rem;
}

.chapter-cta {
  padding-bottom: 6rem;
}

.cta-box {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
  justify-content: space-between;
  padding: 2.5rem;
  border-radius: 2rem;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.15), rgba(249, 115, 22, 0.15));
  border: 1px solid rgba(14, 165, 233, 0.3);
}

.cta-actions {
  display: grid;
  gap: 1rem;
  align-items: start;
}

.cta-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer {
  padding: 3rem 0 4rem;
  border-top: 1px solid rgba(12, 74, 110, 0.12);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
}

.footer-brand {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}

.footer-text,
.footer-contact p {
  margin: 0.25rem 0;
  color: var(--muted);
}

.footer-links {
  display: grid;
  gap: 0.5rem;
  color: var(--muted);
}

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

.chapter-intro {
  --accent: var(--primary);
}

.chapter-problem {
  --accent: #38bdf8;
}

.chapter-journey {
  --accent: #0ea5e9;
}

.chapter-workflow {
  --accent: #0284c7;
}

.chapter-solution {
  --accent: #f97316;
}

.chapter-showcase {
  --accent: #0ea5e9;
}

.chapter-capabilities {
  --accent: #0f172a;
}

.chapter-cta {
  --accent: #f97316;
}

/* .chapter::before {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: var(--accent);
  border-radius: 999px;
  margin-bottom: 1.5rem;
} */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1200px) {
  .showcase-grid {
    grid-template-columns: repeat(12, minmax(0, 1fr))
  }

  .shot-large,
  .shot-medium {
    grid-column: span 6;
  }

  .shot-small {
    grid-column: span 3;
  }
}

@media (max-width: 1024px) {

  .hero-grid,
  .split {
    grid-template-columns: 1fr;
  }

  .hero-meta {
    grid-template-columns: 1fr;
  }

  .journey-grid,
  .cards,
  .workflow-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .nav-links {
    display: none;
  }

  .showcase-footer {
    grid-template-columns: 1fr;
  }

  .shot-small {
    grid-column: span 6;
  }
}

@media (max-width: 768px) {
  .hero {
    padding-top: 4.5rem;
  }

  .floating-nav {
    margin: 0.75rem;
  }

  .nav-inner {
    padding: 0.65rem 1rem;
  }

  .reveal {
    opacity: 0;
    transform: translateY(12px);
  }

  .float-card {
    position: static;
    margin-top: 1rem;
    width: fit-content;
  }
}

@media (max-width: 600px) {
  .container {
    width: calc(100% - 1.5rem);
  }

  .btn {
    width: 100%;
  }

  .actions {
    flex-direction: column;
  }

  .brand-row {
    width: 100%;
  }

  .showcase-grid {
    grid-template-columns: 1fr;
  }

  .shot-large,
  .shot-medium,
  .shot-small {
    grid-column: span 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
  }

  .reveal {
    transition: none;
  }

  .progress span {
    transition: none;
  }
}

/* Modal */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
  display: grid;
  place-items: center;
  pointer-events: none;
  visibility: hidden;
  transition: visibility 0.3s;
}

.modal[aria-hidden='false'] {
  pointer-events: auto;
  visibility: visible;
}

.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal[aria-hidden='false'] .modal-overlay {
  opacity: 1;
}

.modal-content {
  position: relative;
  width: min(400px, 90vw);
  background: var(--surface);
  border-radius: 2rem;
  padding: 2.5rem;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border);
  transform: scale(0.9) translateY(20px);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
}

.modal[aria-hidden='false'] .modal-content {
  transform: scale(1) translateY(0);
  opacity: 1;
}

.modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: rgba(15, 23, 42, 0.05);
  color: var(--muted);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.2s, color 0.2s;
}

.modal-close:hover {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
}

.modal-close svg {
  width: 20px;
  height: 20px;
}

.modal-body {
  text-align: center;
}

.modal-qr {
  margin-bottom: 1.5rem;
  background: #ffffff;
  padding: 1rem;
  border-radius: 1.5rem;
  border: 1px solid var(--border);
  display: inline-block;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}

.modal-qr img {
  width: 200px;
  height: 200px;
  border-radius: 0.5rem;
}

.modal-text h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.5rem;
  margin: 0 0 0.5rem;
}

.modal-text p {
  color: var(--muted);
  margin: 0;
  font-size: 1rem;
}


/* Pro Max Mobile Enhancements */
@media (max-width: 768px) {
  :root {
    --section-spacing: 4rem;
  }

  body {
    padding-bottom: 80px;
    /* Space for sticky bar */
  }

  .hero {
    padding: 4rem 0 3rem;
    text-align: center;
  }

  .hero-copy h1 {
    font-size: clamp(2.5rem, 12vw, 4rem);
    margin-bottom: 1.5rem;
  }

  .hero-copy .lead {
    margin: 0 auto 2rem;
  }

  .actions {
    justify-content: center;
  }

  .brand-row {
    margin: 0 auto 2.5rem;
  }

  .hero-visual {
    min-height: 400px;
    margin-top: 2rem;
  }

  .device {
    width: 280px;
    padding: 1rem;
    animation: float 6s ease-in-out infinite;
  }

  .float-card {
    display: none;
    /* Hide float cards on small mobile to reduce clutter */
  }

  .chapter {
    padding: var(--section-spacing) 0;
  }

  .chapter-label {
    text-align: center;
    display: block;
  }

  .chapter h2 {
    text-align: center;
    font-size: 2rem;
  }

  .body {
    text-align: center;
    margin: 0 auto;
  }

  /* 2-column grid for mobile showcase */
  .showcase-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1.25rem !important;
  }

  .phone-mockup {
    padding: 0.4rem;
    border-radius: 1.5rem;
  }

  .phone-bezel {
    top: 0.75rem;
    height: 12px;
  }

  .shot img {
    border-radius: 1.15rem;
  }

  .shot-large,
  .shot-medium,
  .shot-small {
    grid-column: span 1 !important;
  }

  .shot figcaption {
    font-size: 0.8rem;
    margin-top: 0.75rem;
  }

  /* Mobile Sticky CTA */
  .mobile-cta-bar {
    display: block;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1rem 0;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    border-top: 1px solid var(--border);
    z-index: 100;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.05);
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .mobile-cta-bar.is-visible {
    transform: translateY(0);
  }

  .mobile-cta-bar .btn {
    width: 100%;
    height: 56px;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 1.25rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    box-shadow: 0 15px 30px -5px rgba(14, 165, 233, 0.4);
    border: none;
  }

  /* Refined typography for mobile */
  .chapter-label {
    letter-spacing: 0.3em;
    font-weight: 700;
    color: var(--primary);
    opacity: 0.8;
  }

  .chapter h2 {
    font-size: 1.85rem;
    line-height: 1.3;
    letter-spacing: -0.02em;
  }

  .lead,
  .body {
    font-size: 1rem;
    line-height: 1.6;
    color: #475569;
  }

  /* Modal Bottom Sheet on Mobile */
  .modal-content {
    width: 100% !important;
    margin-bottom: 0;
    border-radius: 2.5rem 2.5rem 0 0 !important;
    position: fixed !important;
    bottom: 0 !important;
    transform: translateY(100%) !important;
    transition: transform 0.4s cubic-bezier(0.32, 0.72, 0, 1) !important;
  }

  .modal[aria-hidden='false'] .modal-content {
    transform: translateY(0) !important;
  }

  .modal-qr img {
    width: 180px;
    height: 180px;
  }
}

@media (min-width: 769px) {
  .mobile-cta-bar {
    display: none;
  }
}


@media (max-width: 600px) {
  .modal-content {
    padding: 2rem 1.5rem;
  }

  .modal-qr img {
    width: 160px;
    height: 160px;
  }

  .showcase-grid {
    grid-template-columns: repeat(1, 1fr) !important;
    gap: 1.25rem !important;
    width: 80%;
    margin-left: auto;
    margin-right: auto;
  }
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0) rotate(0);
  }

  50% {
    transform: translateY(-15px) rotate(1deg);
  }
}

/* Enhancing existing reveal animations */
.reveal {
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn:active {
  transform: scale(0.96);
  transition: transform 0.1s;
}

/* Pro Max Final Polish */
html {
  scroll-behavior: smooth;
}

::selection {
  background: rgba(14, 165, 233, 0.2);
  color: var(--primary);
}

/* Better scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--muted);
}

@media (max-width: 768px) {
  .orb {
    opacity: 0.4;
    scale: 0.8;
  }

  .floating-nav {
    top: 0.5rem;
    margin: 0.5rem;
  }

  .nav-inner {
    border-radius: 1.25rem;
    padding: 0.5rem 0.75rem;
    gap: 0.5rem;
  }

  .logo {
    gap: 0.5rem;
    flex-shrink: 0;
  }

  .logo-mark {
    width: 40px;
    height: 40px;
    padding: 4px;
    flex-shrink: 0;
  }

  .logo span {
    font-size: 1.3rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .nav-inner .btn-primary {
    padding: 0.6rem 0.85rem;
    font-size: 0.9rem;
    height: 34px;
    flex-shrink: 1;
    width: auto;
  }
}

/* Extra tiny mobile polish */
@media (max-width: 380px) {
  .logo span {
    font-size: 0.75rem;
  }

  .nav-inner .btn-primary {
    padding: 0.4rem 0.6rem;
    font-size: 0.75rem;
  }
}

@media (max-width: 340px) {
  .logo span {
    /* display: none; */
    /* Only show icon on extremely small screens to avoid overlap */
  }
}