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

:root {
  --navy: #0B1736;
  --blue: #2A5CE6;
  --blue-hover: #1E4FD6;
  --white: #FFFFFF;
  --off-white: #F8F9FA;
  --dark: #0A0A12;
  --gray: #6B7280;
  --gray-light: #E5E7EB;
  --shadow-lg: 0 16px 64px rgba(11, 23, 54, 0.10);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--white);
  color: var(--dark);
  -webkit-font-smoothing: antialiased;
}

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

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

button {
  background: none;
  border: none;
  cursor: pointer;
  font: inherit;
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ============================================================ */
/* LIVE BADGE */
/* ============================================================ */
.live-badge {
  position: fixed;
  top: 80px;
  right: 20px;
  z-index: 99;
  background: var(--blue);
  color: var(--white);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 16px rgba(42, 92, 230, 0.3);
  animation: pulse-badge 2s ease-in-out infinite;
}

@keyframes pulse-badge {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

/* ============================================================ */
/* EXIT POPUP */
/* ============================================================ */
.exit-popup {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.exit-popup.show {
  display: flex;
}

.exit-popup-content {
  background: var(--white);
  border-radius: 16px;
  padding: 40px 48px;
  max-width: 440px;
  width: 100%;
  text-align: center;
  position: relative;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.2);
}

.exit-popup-close {
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: 1.2rem;
  color: var(--gray);
  background: none;
  border: none;
  cursor: pointer;
}

.exit-popup-icon {
  font-size: 3rem;
  margin-bottom: 12px;
}

.exit-popup-content h3 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 8px;
}

.exit-popup-content p {
  font-size: 0.95rem;
  color: var(--gray);
  line-height: 1.6;
  margin-bottom: 24px;
}

.exit-popup-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.exit-popup-actions .btn-primary {
  background: var(--blue);
  color: var(--white);
  padding: 12px 24px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: background 0.2s;
  border: none;
  cursor: pointer;
}

.exit-popup-actions .btn-primary:hover {
  background: var(--blue-hover);
}

.exit-popup-actions .btn-outline {
  background: transparent;
  color: var(--gray);
  padding: 12px 24px;
  border-radius: 6px;
  border: 1.5px solid var(--gray-light);
  font-weight: 500;
  font-size: 0.9rem;
  transition: border-color 0.2s;
  cursor: pointer;
}

.exit-popup-actions .btn-outline:hover {
  border-color: var(--dark);
}

/* ============================================================ */
/* LOADING SCREEN */
/* ============================================================ */
.loader {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

.loader-logo {
  width: 80px;
  height: 80px;
  object-fit: contain;
  border-radius: 16px;
  margin: 0 auto 16px;
  display: block;
}

.loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-content {
  text-align: center;
}

.loader-mark {
  font-size: 2.4rem;
  color: var(--blue);
  margin-bottom: 16px;
}

.loader-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 24px;
}

.loader-bar {
  width: 160px;
  height: 2px;
  background: var(--gray-light);
  border-radius: 2px;
  overflow: hidden;
  margin: 0 auto;
}

.loader-progress {
  width: 0%;
  height: 100%;
  background: var(--blue);
  border-radius: 2px;
  transition: width 0.3s ease;
}

/* ============================================================ */
/* NAV */
/* ============================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px 0;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  transition: padding 0.3s ease;
}

.nav.scrolled {
  padding: 14px 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 1rem;
  color: var(--navy);
}

.brand-mark {
  color: var(--blue);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  color: var(--gray);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}

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

.nav-cta {
  color: var(--white) !important;
  padding: 8px 20px;
  border-radius: 6px;
  font-weight: 600 !important;
  background: transparent;
  border: 1.5px solid var(--gray-light);
  color: var(--dark) !important;
  transition: all 0.2s;
}

.nav-cta:hover {
  border-color: var(--dark);
  background: var(--off-white);
}

.nav-cta.primary {
  background: var(--blue);
  color: var(--white) !important;
  border-color: var(--blue);
}

.nav-cta.primary:hover {
  background: var(--blue-hover);
  border-color: var(--blue-hover);
}

.nav-toggle {
  display: none;
  font-size: 1.4rem;
  color: var(--dark);
  padding: 4px 8px;
}

.brand-mark img {
  width: 45px;
  height: 45px;
  object-fit: cover;
  border-radius: 50%;
}

/* ============================================================ */
/* HERO */
/* ============================================================ */
.hero {
  padding: 140px 0 80px;
  background: var(--white);
  text-align: center;
}

.hero-content {
  max-width: 720px;
  margin: 0 auto;
}

.hero-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--blue);
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(2.8rem, 4.5vw, 4.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.04;
  color: var(--dark);
  margin-bottom: 20px;
}

.hero h1 .highlight {
  color: var(--blue);
}

.hero-lede {
  font-size: 1.15rem;
  color: var(--gray);
  line-height: 1.7;
  max-width: 560px;
  margin: 0 auto 36px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--blue);
  color: var(--white);
  padding: 14px 28px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: background 0.2s;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background: var(--blue-hover);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--dark);
  padding: 14px 24px;
  border-radius: 6px;
  border: 1.5px solid var(--gray-light);
  font-weight: 600;
  font-size: 0.95rem;
  transition: border-color 0.2s, background 0.2s;
  cursor: pointer;
}

.btn-outline:hover {
  border-color: var(--dark);
  background: var(--off-white);
}

.hero-download {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  padding: 16px 24px;
  background: var(--off-white);
  border-radius: 8px;
  margin-bottom: 32px;
  border: 1px solid var(--gray-light);
}

.hero-download-label {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--gray);
}

.btn-apk {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--navy);
  color: var(--white);
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: background 0.2s;
  border: none;
  cursor: pointer;
}

.btn-apk:hover {
  background: var(--dark);
}

.hero-download-meta {
  font-size: 0.75rem;
  color: var(--gray);
}

.hero-meta {
  display: flex;
  gap: 28px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-meta span {
  color: var(--gray);
  font-size: 0.85rem;
  font-weight: 500;
}

.hero-meta span::before {
  content: "— ";
  color: var(--blue);
}

/* ============================================================ */
/* NARRATIVE - SCROLL STORYTELLING */
/* ============================================================ */
.narrative {
  padding: 40px 0 120px;
  background: var(--white);
}

.narrative-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
  align-items: start;
}

.narrative-image {
  position: sticky;
  top: 120px;
}

.image-wrapper {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--gray-light);
  background: var(--white);
  box-shadow: var(--shadow-lg);
  transition: box-shadow 0.4s ease;
}

.image-wrapper img,
.image-wrapper video {
  width: 100%;
  display: block;
}

.image-caption {
  padding: 14px 20px;
  font-size: 0.75rem;
  color: var(--gray);
  border-top: 1px solid var(--gray-light);
  font-weight: 500;
  letter-spacing: 0.02em;
}

.narrative-text {
  display: flex;
  flex-direction: column;
  gap: 120px;
  padding: 40px 0;
}

.narrative-step {
  opacity: 0.3;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.narrative-step.active {
  opacity: 1;
  transform: translateY(0);
}

.step-number {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--blue);
  margin-bottom: 16px;
}

.narrative-step h2 {
  font-size: clamp(1.8rem, 2.5vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.08;
  color: var(--dark);
  margin-bottom: 12px;
}

.narrative-step p {
  font-size: 1.05rem;
  color: var(--gray);
  line-height: 1.7;
  max-width: 420px;
}

/* ============================================================ */
/* WORKFLOW SECTION */
/* ============================================================ */
.workflow {
  padding: 100px 0;
  background: var(--off-white);
  text-align: center;
}

.workflow-header {
  max-width: 720px;
  margin: 0 auto 64px;
}

.section-label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--blue);
  margin-bottom: 16px;
}

.workflow-header h2 {
  font-size: clamp(2.4rem, 3.5vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.08;
  color: var(--dark);
  margin-bottom: 12px;
}

.workflow-sub {
  font-size: 1.05rem;
  color: var(--gray);
  line-height: 1.6;
}

.workflow-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  max-width: 900px;
  margin: 0 auto;
  padding: 32px 24px;
  background: var(--white);
  border-radius: 12px;
  border: 1px solid var(--gray-light);
}

.workflow-step {
  text-align: center;
  padding: 16px 20px;
  min-width: 80px;
}

.wf-number {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 4px;
}

.wf-label {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
}

.wf-desc {
  font-size: 0.75rem;
  color: var(--gray);
  margin-top: 4px;
}

.wf-arrow {
  font-size: 1.2rem;
  color: var(--gray-light);
  font-weight: 300;
}

/* ============================================================ */
/* ROOM DEMO */
/* ============================================================ */
.room-demo-section {
  padding: 100px 0;
  background: var(--white);
}

.room-demo-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px;
}

.room-demo-header h2 {
  font-size: clamp(2.4rem, 3.5vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.08;
  color: var(--dark);
  margin-bottom: 12px;
}

.room-demo-header h2 .highlight {
  color: var(--blue);
}

.room-demo-sub {
  font-size: 1.05rem;
  color: var(--gray);
  line-height: 1.6;
}

.room-demo {
  background: var(--off-white);
  border-radius: 16px;
  padding: 32px;
  border: 1px solid var(--gray-light);
}

.room-stats {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.room-stat {
  text-align: center;
}

.room-stat-number {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--navy);
  display: block;
}

.room-stat-label {
  font-size: 0.75rem;
  color: var(--gray);
  font-weight: 500;
}

.room-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 12px;
  margin-bottom: 16px;
}

.room-card {
  background: var(--white);
  border: 2px solid var(--gray-light);
  border-radius: 8px;
  padding: 12px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
}

.room-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.room-card .room-number {
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--dark);
  display: block;
}

.room-card .room-status {
  font-size: 0.65rem;
  font-weight: 600;
  display: block;
  margin-top: 4px;
}

.room-card .room-status[data-status="clean"] {
  color: #22c55e;
}

.room-card .room-status[data-status="dirty"] {
  color: #f59e0b;
}

.room-card .room-status[data-status="occupied"] {
  color: #3b82f6;
}

.room-card .room-status[data-status="maintenance"] {
  color: #ef4444;
}

.room-card[data-status="clean"] {
  border-color: #22c55e;
  background: #f0fdf4;
}

.room-card[data-status="dirty"] {
  border-color: #f59e0b;
  background: #fffbeb;
}

.room-card[data-status="occupied"] {
  border-color: #3b82f6;
  background: #eff6ff;
}

.room-card[data-status="maintenance"] {
  border-color: #ef4444;
  background: #fef2f2;
}

.room-demo-note {
  text-align: center;
  font-size: 0.8rem;
  color: var(--gray);
  font-weight: 500;
}

/* ============================================================ */
/* BUILT FOR */
/* ============================================================ */
.built-for {
  padding: 100px 0;
  background: var(--off-white);
}

.built-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 64px;
}

.built-header h2 {
  font-size: clamp(2.4rem, 3.5vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.08;
  color: var(--dark);
  margin-bottom: 12px;
}

.built-header h2 .highlight {
  color: var(--blue);
}

.built-sub {
  font-size: 1.05rem;
  color: var(--gray);
  line-height: 1.6;
}

.built-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.built-item {
  background: var(--white);
  padding: 24px;
  border-radius: 12px;
  border: 1px solid var(--gray-light);
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}

.built-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.built-item .built-icon {
  font-size: 2.4rem;
  margin-bottom: 12px;
}

.built-item h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 4px;
}

.built-item p {
  font-size: 0.85rem;
  color: var(--gray);
  line-height: 1.5;
}

/* ============================================================ */
/* FEATURES */
/* ============================================================ */
.features {
  padding: 100px 0;
  background: var(--white);
}

.features-header {
  max-width: 720px;
  margin: 0 auto 64px;
  text-align: center;
}

.features-header h2 {
  font-size: clamp(2.4rem, 3.5vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.08;
  color: var(--dark);
  margin-bottom: 12px;
}

.features-sub {
  font-size: 1.05rem;
  color: var(--gray);
  line-height: 1.6;
}

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

.feature {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.feature-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.feature-text h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 4px;
}

.feature-text p {
  font-size: 0.85rem;
  color: var(--gray);
  line-height: 1.6;
}

/* ============================================================ */
/* TESTIMONIALS */
/* ============================================================ */
.testimonials {
  padding: 100px 0;
  background: var(--off-white);
}

.testimonials-header {
  max-width: 720px;
  margin: 0 auto 64px;
  text-align: center;
}

.testimonials-header h2 {
  font-size: clamp(2.4rem, 3.5vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.08;
  color: var(--dark);
  margin-bottom: 12px;
}

.testimonials-header h2 .highlight {
  color: var(--blue);
}

.testimonials-sub {
  font-size: 1.05rem;
  color: var(--gray);
  line-height: 1.6;
}

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

.testimonial-card {
  background: var(--white);
  padding: 28px 24px;
  border-radius: 12px;
  border: 1px solid var(--gray-light);
}

.testimonial-stars {
  font-size: 1rem;
  color: #f59e0b;
  margin-bottom: 12px;
}

.testimonial-card p {
  font-size: 0.95rem;
  color: var(--dark);
  line-height: 1.6;
  margin-bottom: 16px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
}

.author-info .author-name {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--navy);
}

.author-info .author-role {
  font-size: 0.8rem;
  color: var(--gray);
}

/* ============================================================ */
/* PHILOSOPHY */
/* ============================================================ */
.philosophy {
  padding: 120px 0;
  background: var(--navy);
  color: var(--white);
  text-align: center;
}

.philosophy-content {
  max-width: 800px;
  margin: 0 auto;
}

.philosophy-content .section-label {
  color: var(--blue);
}

.philosophy-content h2 {
  font-size: clamp(2.4rem, 3.5vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.08;
  margin-bottom: 24px;
}

.philosophy-text {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.8;
  max-width: 680px;
  margin: 0 auto 32px;
}

.philosophy-quote {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  font-style: italic;
  padding: 24px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  max-width: 500px;
  margin: 0 auto;
}

/* ============================================================ */
/* PRICING */
/* ============================================================ */
.pricing {
  padding: 100px 0;
  background: var(--off-white);
}

.pricing-header {
  max-width: 720px;
  margin: 0 auto 64px;
  text-align: center;
}

.pricing-header h2 {
  font-size: clamp(2.4rem, 3.5vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.08;
  color: var(--dark);
  margin-bottom: 12px;
}

.pricing-header h2 .highlight {
  color: var(--blue);
}

.pricing-sub {
  font-size: 1.05rem;
  color: var(--gray);
  line-height: 1.6;
}

/* Counters */
.pricing-counters {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 720px;
  margin: 0 auto 48px;
  padding: 24px 32px;
  background: var(--white);
  border-radius: 12px;
  border: 1px solid var(--gray-light);
}

.counter-item {
  text-align: center;
}

.counter-number {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--blue);
}

.counter-label {
  font-size: 0.75rem;
  color: var(--gray);
  font-weight: 500;
}

/* Pricing Cards */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 960px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--white);
  padding: 36px 28px;
  border-radius: 12px;
  border: 1px solid var(--gray-light);
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s, transform 0.2s;
}

.pricing-card:hover {
  box-shadow: 0 8px 32px rgba(11, 23, 54, 0.06);
  transform: translateY(-2px);
}

.pricing-card.featured {
  border-color: var(--blue);
  box-shadow: 0 8px 32px rgba(11, 23, 54, 0.06);
  position: relative;
}

.pricing-badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--blue);
  color: var(--white);
  padding: 4px 16px;
  border-radius: 100px;
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.pricing-plan {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gray);
  margin-bottom: 8px;
}

.pricing-price {
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -0.02em;
}

.pricing-period {
  font-size: 0.85rem;
  color: var(--gray);
  margin-bottom: 24px;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  flex: 1;
}

.pricing-features li {
  padding: 8px 0;
  font-size: 0.9rem;
  color: var(--gray);
  border-bottom: 1px solid var(--gray-light);
}

.pricing-features li:last-child {
  border-bottom: none;
}

.btn-pricing {
  display: inline-block;
  text-align: center;
  padding: 12px 24px;
  border-radius: 6px;
  border: 1.5px solid var(--gray-light);
  background: var(--white);
  color: var(--dark);
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.2s;
  cursor: pointer;
  width: 100%;
}

.btn-pricing:hover {
  border-color: var(--dark);
  background: var(--off-white);
}

.btn-pricing.primary {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}

.btn-pricing.primary:hover {
  background: var(--blue-hover);
  border-color: var(--blue-hover);
}

/* ============================================================ */
/* FAQ */
/* ============================================================ */
.faq {
  padding: 100px 0;
  background: var(--white);
}

.faq-header {
  max-width: 720px;
  margin: 0 auto 64px;
  text-align: center;
}

.faq-header h2 {
  font-size: clamp(2.4rem, 3.5vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.08;
  color: var(--dark);
  margin-bottom: 12px;
}

.faq-header h2 .highlight {
  color: var(--blue);
}

.faq-sub {
  font-size: 1.05rem;
  color: var(--gray);
  line-height: 1.6;
}

.faq-grid {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--gray-light);
  border-radius: 8px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 18px 20px;
  background: var(--white);
  border: none;
  font-size: 1rem;
  font-weight: 600;
  color: var(--dark);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: background 0.2s;
  font-family: inherit;
}

.faq-question:hover {
  background: var(--off-white);
}

.faq-toggle {
  font-size: 1.2rem;
  color: var(--blue);
  transition: transform 0.2s;
}

.faq-item.open .faq-toggle {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 20px 18px;
  font-size: 0.95rem;
  color: var(--gray);
  line-height: 1.6;
  display: none;
}

.faq-item.open .faq-answer {
  display: block;
}

/* ============================================================ */
/* THERYX STUDIO */
/* ============================================================ */
.theryx {
  padding: 100px 0;
  background: var(--white);
  border-top: 1px solid var(--gray-light);
  border-bottom: 1px solid var(--gray-light);
}

.theryx-content {
  display: flex;
  align-items: flex-start;
  gap: 60px;
  max-width: 900px;
  margin: 0 auto;
}

.theryx-text {
  flex: 1;
}

.theryx-text .section-label {
  color: var(--blue);
}

.theryx-text h2 {
  font-size: clamp(1.8rem, 2.5vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.08;
  color: var(--dark);
  margin-bottom: 16px;
}

.theryx-text p {
  font-size: 1.05rem;
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 24px;
}

.theryx-services {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.theryx-services span {
  padding: 6px 16px;
  background: var(--off-white);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--dark);
  border: 1px solid var(--gray-light);
}

.theryx-mark {
  font-size: 4rem;
  color: var(--blue);
  opacity: 0.15;
  flex-shrink: 0;
  margin-top: 8px;
}

/* ============================================================ */
/* DOWNLOAD */
/* ============================================================ */
.download {
  padding: 100px 0;
  background: var(--off-white);
}

.download-content {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 60px;
  align-items: center;
}

.download-text .section-label {
  color: var(--blue);
}

.download-text h2 {
  font-size: clamp(2rem, 3vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.08;
  color: var(--dark);
  margin-bottom: 12px;
}

.download-text h2 .highlight {
  color: var(--blue);
}

.download-text p {
  font-size: 1.05rem;
  color: var(--gray);
  line-height: 1.7;
  max-width: 440px;
  margin-bottom: 24px;
}

.download-meta {
  display: flex;
  gap: 32px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.download-meta span {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gray);
}

.download-meta strong {
  display: block;
  font-size: 1rem;
  color: var(--dark);
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0;
  margin-top: 4px;
}

.btn-download {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--navy);
  color: var(--white);
  padding: 16px 32px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1rem;
  transition: background 0.2s;
  border: none;
  cursor: pointer;
}

.btn-download:hover {
  background: var(--dark);
}

.download-note {
  font-size: 0.8rem;
  color: var(--gray);
  margin-top: 12px;
}

.download-image .phone-mockup {
  width: 220px;
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--gray-light);
  box-shadow: var(--shadow-lg);
  background: var(--white);
}

.download-image .phone-mockup img {
  width: 100%;
  display: block;
}

/* ============================================================ */
/* NEWSLETTER */
/* ============================================================ */
.newsletter {
  padding: 80px 0;
  background: var(--white);
  border-bottom: 1px solid var(--gray-light);
}

.newsletter-content {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.newsletter-text .section-label {
  color: var(--blue);
}

.newsletter-text h2 {
  font-size: clamp(1.8rem, 2.5vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.08;
  color: var(--dark);
  margin-bottom: 8px;
}

.newsletter-text h2 .highlight {
  color: var(--blue);
}

.newsletter-text p {
  font-size: 1rem;
  color: var(--gray);
  line-height: 1.6;
  margin-bottom: 24px;
}

.newsletter-form {
  display: flex;
  gap: 12px;
  max-width: 480px;
  margin: 0 auto;
}

.newsletter-form input {
  flex: 1;
  padding: 14px 18px;
  border: 1.5px solid var(--gray-light);
  border-radius: 6px;
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color 0.2s;
}

.newsletter-form input:focus {
  outline: none;
  border-color: var(--blue);
}

.newsletter-form button {
  padding: 14px 28px;
  white-space: nowrap;
}

.newsletter-note {
  font-size: 0.75rem;
  color: var(--gray);
  margin-top: 12px;
}

/* ============================================================ */
/* FINAL CTA */
/* ============================================================ */
.final-cta {
  padding: 120px 0;
  background: var(--navy);
  text-align: center;
}

.final-content h2 {
  font-size: clamp(2.8rem, 4.5vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.04;
  color: var(--white);
  margin-bottom: 16px;
}

.final-content h2 .highlight {
  color: var(--blue);
}

.final-content p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 36px;
}

.final-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-large {
  padding: 18px 40px;
  font-size: 1.05rem;
}

.final-actions .btn-outline {
  border-color: rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.8);
}

.final-actions .btn-outline:hover {
  border-color: var(--white);
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
}

.final-meta {
  display: flex;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.final-meta span {
  color: rgba(255, 255, 255, 0.35);
  font-size: 0.85rem;
  font-weight: 500;
}

/* ============================================================ */
/* FOOTER */
/* ============================================================ */
footer {
  background: var(--dark);
  color: var(--white);
  padding: 60px 0 32px;
}

footer .brand {
  color: var(--white);
}

footer .brand-mark {
  color: var(--blue);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.9rem;
  margin-top: 8px;
}

.footer-tagline {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.2) !important;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.footer-links {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
}

.footer-col h4 {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 12px;
}

.footer-col a {
  display: block;
  color: rgba(255, 255, 255, 0.35);
  font-size: 0.85rem;
  padding: 4px 0;
  transition: color 0.2s;
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 24px;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.2);
}

.footer-link {
  color: rgba(255, 255, 255, 0.35);
  transition: color 0.2s;
}

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

/* ============================================================ */
/* RESPONSIVE */
/* ============================================================ */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
  }

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

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

  .room-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .theryx-content {
    flex-direction: column;
    gap: 32px;
  }

  .theryx-mark {
    display: none;
  }
}

@media (max-width: 900px) {
  .narrative-container {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 0 20px;
  }

  .narrative-image {
    position: relative;
    top: 0;
    order: 0;
  }

  .narrative-text {
    order: 1;
    gap: 80px;
    padding: 0;
  }

  .narrative-step {
    opacity: 1;
    transform: none;
  }

  .narrative-step p {
    max-width: 100%;
  }

  .nav-links {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .hero {
    padding: 120px 0 60px;
  }

  .hero h1 {
    font-size: 2.4rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .hero-actions .btn-primary,
  .hero-actions .btn-outline {
    width: 100%;
    justify-content: center;
  }

  .hero-meta {
    flex-direction: column;
    align-items: center;
    gap: 4px;
  }

  .download-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .download-image {
    order: -1;
  }

  .pricing-counters {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .footer-inner {
    flex-direction: column;
  }

  .footer-links {
    gap: 32px;
  }

  .workflow-flow {
    flex-direction: column;
    gap: 12px;
    padding: 24px 16px;
  }

  .wf-arrow {
    transform: rotate(90deg);
  }

  .live-badge {
    top: 72px;
    right: 10px;
    font-size: 0.6rem;
    padding: 4px 12px;
  }

  .room-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .newsletter-form {
    flex-direction: column;
  }

  .newsletter-form button {
    width: 100%;
    justify-content: center;
  }
}

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

  .hero h1 {
    font-size: 2rem;
  }

  .hero-lede {
    font-size: 1rem;
  }

  .hero-download {
    flex-direction: column;
    padding: 16px;
  }

  .hero-meta {
    flex-direction: column;
    gap: 4px;
  }

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

  .built-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .built-item {
    padding: 16px;
  }

  .built-item .built-icon {
    font-size: 1.8rem;
  }

  .testimonial-card {
    padding: 20px;
  }

  .narrative-text {
    gap: 50px;
  }

  .narrative-step h2 {
    font-size: 1.6rem;
  }

  .narrative-step p {
    font-size: 0.95rem;
  }

  .pricing-card {
    padding: 24px 20px;
  }

  .pricing-price {
    font-size: 2.2rem;
  }

  .pricing-counters {
    grid-template-columns: 1fr 1fr;
    padding: 16px 20px;
    gap: 12px;
  }

  .counter-number {
    font-size: 1.8rem;
  }

  .room-demo {
    padding: 16px;
  }

  .room-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .room-card {
    padding: 8px;
  }

  .room-card .room-number {
    font-size: 0.75rem;
  }

  .room-card .room-status {
    font-size: 0.55rem;
  }

  .room-stats {
    gap: 12px;
  }

  .room-stat-number {
    font-size: 1.4rem;
  }

  .faq-question {
    font-size: 0.9rem;
    padding: 14px 16px;
  }

  .faq-answer {
    font-size: 0.85rem;
    padding: 0 16px 14px;
  }

  .final-content h2 {
    font-size: 2.2rem;
  }

  .final-actions {
    flex-direction: column;
    width: 100%;
  }

  .final-actions .btn-primary,
  .final-actions .btn-outline {
    width: 100%;
    justify-content: center;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .exit-popup-content {
    padding: 32px 20px;
    margin: 0 16px;
  }

  .exit-popup-content h3 {
    font-size: 1.3rem;
  }

  .exit-popup-actions {
    flex-direction: column;
  }

  .exit-popup-actions .btn-primary,
  .exit-popup-actions .btn-outline {
    width: 100%;
    justify-content: center;
  }

  .download-meta {
    gap: 16px;
  }

  .download-meta span {
    font-size: 0.65rem;
  }

  .theryx-text h2 {
    font-size: 1.6rem;
  }

  .theryx-services {
    gap: 8px;
  }

  .theryx-services span {
    font-size: 0.7rem;
    padding: 4px 12px;
  }

  .philosophy-content h2 {
    font-size: 2rem;
  }

  .philosophy-text {
    font-size: 0.95rem;
  }

  .philosophy-quote {
    font-size: 1.1rem;
  }
}

@media (max-width: 480px) {
  .built-grid {
    grid-template-columns: 1fr 1fr;
  }

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

  .pricing-counters {
    grid-template-columns: 1fr 1fr;
  }

  .exit-popup-content {
    padding: 24px 16px;
  }
}

@media (max-width: 900px) {
  .narrative-container {
    display: flex !important;
    flex-direction: column !important;
    gap: 60px !important;
  }

  .narrative-image {
    position: relative !important;
    top: 0 !important;
    width: 100% !important;
    margin-bottom: 0 !important;
  }

  .narrative-text {
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
    padding: 0 !important;
  }

  .narrative-step {
    opacity: 1 !important;
    transform: none !important;
    padding: 40px 0 !important;
    border-bottom: 1px solid var(--gray-light) !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 20px !important;
  }

  .narrative-step:last-child {
    border-bottom: none !important;
  }

  .narrative-step .step-number {
    font-size: 0.7rem !important;
  }

  .narrative-step h2 {
    font-size: 1.8rem !important;
  }

  .narrative-step p {
    max-width: 100% !important;
    font-size: 1rem !important;
  }

  /* Show image inside each step on mobile */
  .narrative-step .step-image {
    display: block !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    border: 1px solid var(--gray-light) !important;
    margin: 12px 0 !important;
  }

  .narrative-step .step-image img,
  .narrative-step .step-image video {
    width: 100% !important;
    display: block !important;
  }

  /* Hide the sticky image wrapper */
  .narrative-image {
    display: none !important;
  }
}

/* ============================================================ */
/* BACK TO TOP BUTTON */
/* ============================================================ */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 99;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  border: 2px solid var(--white);
  box-shadow: 0 8px 24px rgba(11, 23, 54, 0.25);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--blue);
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 12px 32px rgba(42, 92, 230, 0.3);
}

.back-to-top:active {
  transform: scale(0.92);
}

.back-to-top svg {
  width: 20px;
  height: 20px;
  stroke: var(--white);
  transition: transform 0.3s ease;
}

.back-to-top:hover svg {
  transform: translateY(-2px);
}

/* Mobile */
@media (max-width: 640px) {
  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
  }

  .back-to-top svg {
    width: 18px;
    height: 18px;
  }
}

/* ============================================================ */
/* FOOTER SOCIAL ICONS */
/* ============================================================ */
.footer-social {
  display: flex;
  gap: 20px;
  justify-content: center;
  padding: 24px 0 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  margin-top: 8px;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.5);
  transition: all 0.3s ease;
}

.footer-social a:hover {
  color: var(--white);
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-2px);
}

.footer-social a svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
}

/* Mobile */
@media (max-width: 640px) {
  .footer-social {
    gap: 14px;
    padding: 20px 0 12px;
  }

  .footer-social a {
    width: 36px;
    height: 36px;
  }

  .footer-social a svg {
    width: 16px;
    height: 16px;
  }
}


/* ============================================================
   APK TERMS MODAL
============================================================ */

.apk-terms-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99999;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.apk-terms-modal.active {
  display: flex;
}

.apk-terms-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(6px);
}

.apk-terms-box {
  position: relative;
  z-index: 2;
  width: min(480px, 100%);
  background: #ffffff;
  border-radius: 22px;
  padding: 30px;
  box-shadow: 0 25px 80px rgba(0,0,0,0.3);
  animation: apkTermsIn 0.2s ease-out;
}

@keyframes apkTermsIn {
  from {
    opacity: 0;
    transform: translateY(15px) scale(0.97);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.apk-terms-close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: #f1f1f1;
  font-size: 24px;
  cursor: pointer;
}

.apk-terms-icon {
  font-size: 36px;
  margin-bottom: 8px;
}

.apk-terms-box h2 {
  margin: 0 0 10px;
  font-size: 26px;
}

.apk-terms-box p {
  color: #555;
  line-height: 1.6;
}

.apk-terms-box a {
  color: #2563eb;
  font-weight: 600;
}

.apk-terms-check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 22px 0;
  padding: 15px;
  border-radius: 12px;
  background: #f6f8ff;
  cursor: pointer;
  line-height: 1.5;
}

.apk-terms-check input {
  width: 19px;
  height: 19px;
  margin-top: 2px;
  flex-shrink: 0;
  cursor: pointer;
  accent-color: #2563eb;
}

.apk-confirm-btn {
  width: 100%;
  border: 0;
  border-radius: 12px;
  padding: 15px 20px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  background: #2563eb;
  color: white;
  transition: 0.2s ease;
}

.apk-confirm-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.apk-confirm-btn:not(:disabled):hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 25px rgba(37, 99, 235, 0.3);
}

.apk-terms-note {
  font-size: 12px !important;
  margin-top: 14px;
  color: #777 !important;
}
