/* ==========================================================================
   HAPYKA WEBSITE V1.0 - MODERN DESIGN SYSTEM
   ========================================================================== */

/* --- CSS Variables & Design Tokens --- */
:root {
  /* Color Palette - Light Mode (Warm Luxury Cream & Teal) */
  --bg-primary: #FAF7F2;
  --bg-secondary: #F3EFE6;
  --bg-surface: #FFFFFF;
  --bg-surface-elevated: #FFFFFF;
  --bg-surface-glass: rgba(255, 255, 255, 0.82);
  --bg-surface-translucent: rgba(255, 255, 255, 0.65);
  
  --brand-teal: #249787;
  --brand-teal-dark: #196D61;
  --brand-teal-light: #E6F6F3;
  --brand-teal-glow: rgba(36, 151, 135, 0.28);
  
  --brand-navy: #0F2338;
  --brand-navy-light: #1E3754;
  
  --brand-gold: #DDA236;
  --brand-gold-soft: #FFF7E8;
  --brand-gold-glow: rgba(221, 162, 54, 0.24);
  
  --brand-coral: #F43F5E;
  --brand-coral-soft: #FFF1F2;
  
  --text-primary: #0F2338;
  --text-secondary: #5A6A7D;
  --text-muted: #8E9EA8;
  --text-on-accent: #FFFFFF;
  
  --border-subtle: rgba(15, 35, 56, 0.08);
  --border-strong: rgba(15, 35, 56, 0.16);
  --border-glow: rgba(36, 151, 135, 0.35);

  --shadow-sm: 0 2px 8px rgba(15, 35, 56, 0.04);
  --shadow-md: 0 8px 24px -4px rgba(15, 35, 56, 0.08);
  --shadow-lg: 0 20px 40px -12px rgba(15, 35, 56, 0.12);
  --shadow-xl: 0 30px 60px -15px rgba(15, 35, 56, 0.16);
  --shadow-glow: 0 0 45px var(--brand-teal-glow);

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 18px;
  --radius-full: 9999px;
  --radius-chip: 6px;
  --radius-btn: 10px;

  --font-persian: 'Vazirmatn', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-latin: 'Outfit', 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-main: var(--font-persian);
  
  --container-max: 1220px;
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Dark Mode Tokens */
[data-theme="dark"] {
  --bg-primary: #0A111D;
  --bg-secondary: #0F1A2C;
  --bg-surface: #142238;
  --bg-surface-elevated: #1B2C47;
  --bg-surface-glass: rgba(20, 34, 56, 0.82);
  --bg-surface-translucent: rgba(20, 34, 56, 0.65);
  
  --brand-teal: #2DD4BF;
  --brand-teal-dark: #14B8A6;
  --brand-teal-light: rgba(45, 212, 191, 0.12);
  --brand-teal-glow: rgba(45, 212, 191, 0.25);
  
  --brand-navy: #F1F5F9;
  --brand-navy-light: #CBD5E1;
  
  --brand-gold: #FBBF24;
  --brand-gold-soft: rgba(251, 191, 36, 0.12);
  --brand-gold-glow: rgba(251, 191, 36, 0.25);
  
  --brand-coral: #FB7185;
  --brand-coral-soft: rgba(251, 113, 133, 0.12);
  
  --text-primary: #F8FAFC;
  --text-secondary: #94A3B8;
  --text-muted: #64748B;
  --text-on-accent: #0A111D;
  
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);
  --border-glow: rgba(45, 212, 191, 0.35);

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 8px 24px -4px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 20px 40px -12px rgba(0, 0, 0, 0.45);
  --shadow-xl: 0 30px 60px -15px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 50px rgba(45, 212, 191, 0.2);
}

/* LTR / English Mode Font Adjustment */
[dir="ltr"] {
  --font-main: var(--font-latin);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.75;
  overflow-x: hidden;
  transition: background-color var(--transition-smooth), color var(--transition-smooth);
}

[dir="ltr"] body {
  line-height: 1.6;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

button, input, select {
  font-family: inherit;
  font-size: inherit;
  border: none;
  background: none;
  cursor: pointer;
}

/* --- Container & Grid --- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* --- Typography Utilities --- */
.gradient-text {
  background: linear-gradient(135deg, var(--brand-teal) 0%, #15803d 45%, var(--brand-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

[data-theme="dark"] .gradient-text {
  background: linear-gradient(135deg, #2DD4BF 0%, #38BDF8 50%, #FBBF24 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-gold {
  background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* --- Ambient Background Glows --- */
.ambient-halo {
  position: fixed;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.45;
  transition: opacity 0.5s ease;
}

.halo-1 {
  top: -100px;
  right: -80px;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, var(--brand-teal-glow), transparent 70%);
}

.halo-2 {
  top: 40%;
  left: -120px;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, var(--brand-gold-glow), transparent 70%);
}

.halo-3 {
  bottom: 10%;
  right: 10%;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(244, 63, 94, 0.15), transparent 70%);
}

/* --- Header / Navigation Bar --- */
.site-header {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 1000;
  padding: 12px 0;
  background: var(--bg-surface-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  transition: padding var(--transition-fast), background var(--transition-fast), box-shadow var(--transition-fast);
}

.site-header.scrolled {
  padding: 8px 0;
  box-shadow: var(--shadow-sm);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand-logo-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--brand-navy);
  text-decoration: none;
  flex-shrink: 0;
}

.brand-logo-img {
  height: 36px;
  width: auto;
  object-fit: contain;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 18px;
  list-style: none;
  margin: 0;
  padding: 0;
  white-space: nowrap;
}

.nav-item {
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-item a {
  display: inline-block;
  white-space: nowrap;
  font-weight: 500;
  color: var(--text-secondary);
  font-size: 0.9rem;
  padding: 6px 10px;
  border-radius: 8px;
  transition: all var(--transition-fast);
  text-decoration: none;
}

.nav-item a:hover {
  color: var(--brand-teal);
  background-color: var(--brand-teal-light);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  transition: all var(--transition-fast);
  cursor: pointer;
}

.icon-btn:hover {
  color: var(--brand-teal);
  border-color: var(--brand-teal);
  transform: translateY(-1px);
}

.lang-toggle-btn {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px 12px;
  border-radius: 8px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
  cursor: pointer;
}

.lang-toggle-btn:hover {
  color: var(--brand-teal);
  border-color: var(--brand-teal);
}

.mobile-menu-toggle {
  display: none;
}

/* --- Buttons System (Minimal, Refined, Standard Tech Styling) --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  font-weight: 600;
  font-size: 0.92rem;
  border-radius: 10px;
  transition: all var(--transition-fast);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  text-align: center;
  white-space: nowrap;
  line-height: 1.4;
  text-decoration: none;
}

.btn-primary {
  background: var(--brand-teal);
  color: #FFFFFF !important;
  border: 1px solid transparent;
  box-shadow: 0 2px 8px rgba(36, 151, 135, 0.22);
}

.btn-primary:hover {
  background: var(--brand-teal-dark);
  transform: translateY(-1.5px);
  box-shadow: 0 4px 12px rgba(36, 151, 135, 0.32);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background: #FFFFFF;
  color: var(--text-primary) !important;
  border: 1px solid var(--border-strong);
  box-shadow: 0 1px 3px rgba(15, 35, 56, 0.04);
}

[data-theme="dark"] .btn-secondary {
  background: var(--bg-surface);
  border-color: var(--border-strong);
  color: var(--text-primary) !important;
}

.btn-secondary:hover {
  border-color: var(--brand-teal);
  color: var(--brand-teal) !important;
  background-color: var(--brand-teal-light);
  transform: translateY(-1.5px);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.06);
}

.btn-secondary:active {
  transform: translateY(0);
}

.btn-gold {
  background: #D97706;
  color: #FFFFFF !important;
  border: 1px solid transparent;
  box-shadow: 0 2px 8px rgba(217, 119, 6, 0.22);
}

.btn-gold:hover {
  background: #B45309;
  transform: translateY(-1.5px);
  box-shadow: 0 4px 12px rgba(217, 119, 6, 0.32);
}

.btn-lg {
  padding: 11px 24px;
  font-size: 0.94rem;
  border-radius: 10px;
}

.btn-sm {
  padding: 7px 16px;
  font-size: 0.84rem;
  border-radius: 8px;
}

.btn-icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-icon-wrapper svg {
  width: 18px;
  height: 18px;
}


/* --- Hero Section --- */
.hero-section {
  position: relative;
  padding: 60px 0 90px 0;
  z-index: 10;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  align-items: center;
  gap: 40px;
}

.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px;
  border-radius: 6px;
  background: var(--brand-teal-light);
  border: 1px solid var(--border-glow);
  color: var(--brand-teal);
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 18px;
}

.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--brand-teal);
  animation: pulseGlow 2s infinite;
}

.hero-title {
  font-size: 2.35rem;
  font-weight: 800;
  line-height: 1.38;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  color: var(--brand-navy);
}

[dir="ltr"] .hero-title {
  font-size: 2.5rem;
  line-height: 1.25;
}

.hero-subtitle {
  font-size: 0.98rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 26px;
  max-width: 540px;
}

[dir="ltr"] .hero-subtitle {
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.store-badges-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 28px;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 13px;
  border-radius: 8px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  box-shadow: 0 1px 3px rgba(15, 35, 56, 0.04);
  color: var(--text-primary);
  font-size: 0.8rem;
  font-weight: 500;
  transition: all var(--transition-fast);
  cursor: pointer;
}

.store-badge:hover {
  transform: translateY(-1.5px);
  border-color: var(--brand-teal);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.06);
}

.store-badge svg {
  width: 17px;
  height: 17px;
}

.hero-trust-metrics {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--border-subtle);
}

.metric-item {
  display: flex;
  flex-direction: column;
}

.metric-number {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--brand-navy);
}

.metric-label {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* --- Hero Phone Mockup Visual --- */
.hero-mockup-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.phone-mockup-frame {
  position: relative;
  width: 320px;
  height: 640px;
  background: #000000;
  border-radius: 46px;
  padding: 12px;
  box-shadow: 0 25px 65px -10px rgba(15, 35, 56, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.15) inset;
  z-index: 5;
  transition: transform var(--transition-smooth);
}

.phone-mockup-frame:hover {
  transform: translateY(-8px) scale(1.02);
}

.phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  background: #FBF7EF;
  border-radius: 36px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.phone-notch {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 110px;
  height: 22px;
  background: #000000;
  border-radius: 14px;
  z-index: 20;
}

.phone-screen-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.35s ease;
}

[data-theme="dark"] .brand-logo-img {
  filter: brightness(0) invert(1);
}

/* Floating interactive cards surrounding the phone */
.floating-card {
  position: absolute;
  padding: 8px 12px;
  background: var(--bg-surface-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 10px;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 4px 14px rgba(15, 35, 56, 0.08);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 10;
  pointer-events: auto;
  cursor: pointer;
  transition: all var(--transition-fast);
  max-width: 210px;
}

.floating-card:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 20px rgba(15, 35, 56, 0.12);
  border-color: var(--brand-teal);
}

.card-top-right {
  top: 12%;
  right: -15px;
}

.card-bottom-left {
  bottom: 10%;
  left: 5px;
}

.card-top-left {
  top: 36%;
  left: 0px;
}

.floating-icon {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.icon-teal {
  background: var(--brand-teal-light);
  color: var(--brand-teal);
}

.icon-gold {
  background: var(--brand-gold-soft);
  color: var(--brand-gold);
}

.icon-coral {
  background: var(--brand-coral-soft);
  color: var(--brand-coral);
}

.floating-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--brand-navy);
}

.floating-sub {
  font-size: 0.72rem;
  color: var(--text-secondary);
}

/* --- Social Proof Bar (Instagram Ad Focused) --- */
.social-proof-bar {
  padding: 30px 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.proof-items-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-around;
  gap: 24px;
}

.proof-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.proof-icon {
  font-size: 1.5rem;
}

.proof-text {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
}

/* --- Problem / Solution (Why Hapyka?) Section --- */
.why-section {
  padding: 100px 0;
  position: relative;
  z-index: 10;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 60px auto;
}

.section-tag {
  display: inline-block;
  font-size: 0.88rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-teal);
  margin-bottom: 14px;
}

.section-title {
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--brand-navy);
  margin-bottom: 18px;
  line-height: 1.35;
}

.section-description {
  font-size: 1.08rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

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

.feature-card {
  position: relative;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--border-glow);
}

.feature-icon-box {
  width: 62px;
  height: 62px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.feature-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--brand-navy);
  margin-bottom: 12px;
}

.feature-desc {
  font-size: 0.98rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 20px;
  flex-grow: 1;
}

.feature-tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--brand-teal);
  background: var(--brand-teal-light);
  padding: 4px 10px;
  border-radius: var(--radius-chip);
  align-self: flex-start;
}

/* --- Interactive Wishlist Simulator Widget --- */
.interactive-demo-section {
  padding: 90px 0;
  background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
  position: relative;
  z-index: 10;
}

.simulator-box {
  background: var(--bg-surface-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 44px;
  box-shadow: var(--shadow-xl);
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 40px;
  align-items: center;
}

.sim-input-area h3 {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--brand-navy);
}

.sim-input-area p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 24px;
}

.quick-wish-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.wish-pill-btn {
  padding: 6px 14px;
  border-radius: 8px;
  background: var(--bg-surface);
  border: 1px solid var(--border-strong);
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
  cursor: pointer;
}

.wish-pill-btn:hover, .wish-pill-btn.active {
  background: var(--brand-teal);
  color: #FFFFFF;
  border-color: var(--brand-teal);
}

.sim-form-group {
  margin-bottom: 18px;
}

.sim-input-field {
  width: 100%;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--border-strong);
  background: var(--bg-surface);
  color: var(--text-primary);
  font-size: 0.95rem;
  transition: all var(--transition-fast);
}

.sim-input-field:focus {
  outline: none;
  border-color: var(--brand-teal);
  box-shadow: 0 0 0 4px var(--brand-teal-glow);
}

.sim-select-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 24px;
}

.sim-select-field {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--border-strong);
  background: var(--bg-surface);
  color: var(--text-primary);
  font-size: 0.9rem;
}

/* Simulated Live Wishlist Card */
.sim-preview-card {
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--border-subtle);
  padding: 24px;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
  transition: all var(--transition-smooth);
}

.sim-preview-card.shimmer-added {
  animation: popIn 0.4s ease-out;
}

.preview-badge-status {
  position: absolute;
  top: 18px;
  left: 18px;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: var(--radius-chip);
}

[dir="ltr"] .preview-badge-status {
  left: auto;
  right: 18px;
}

.status-active {
  background: var(--brand-teal-light);
  color: var(--brand-teal);
}

.status-reserved {
  background: var(--brand-coral-soft);
  color: var(--brand-coral);
}

.preview-gift-img-box {
  width: 100%;
  height: 200px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.preview-gift-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.preview-gift-img-box:hover img {
  transform: scale(1.05);
}

.preview-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--brand-navy);
  margin-bottom: 6px;
}

.preview-price {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--brand-teal);
  margin-bottom: 16px;
}

.preview-actions-bar {
  display: flex;
  gap: 10px;
  align-items: center;
}

.sim-reserve-btn {
  flex: 1;
  padding: 10px;
  background: var(--brand-teal-light);
  color: var(--brand-teal);
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.88rem;
  text-align: center;
  transition: all var(--transition-fast);
}

.sim-reserve-btn:hover {
  background: var(--brand-teal);
  color: #FFFFFF;
}

.sim-chipin-btn {
  flex: 1;
  padding: 10px;
  background: var(--brand-gold-soft);
  color: #B45309;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.88rem;
  text-align: center;
  transition: all var(--transition-fast);
}

.sim-chipin-btn:hover {
  background: #D97706;
  color: #FFFFFF;
}

/* --- App Screen Tour Showcase Section --- */
.showcase-section {
  padding: 100px 0;
  position: relative;
  z-index: 10;
}

.tabs-navigation {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}

.tab-btn {
  padding: 8px 18px;
  border-radius: 8px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
  cursor: pointer;
}

.tab-btn:hover, .tab-btn.active {
  background: var(--brand-teal);
  color: #FFFFFF;
  border-color: var(--brand-teal);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(36, 151, 135, 0.22);
}

.tab-content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.tab-info-card {
  padding: 40px;
  background: var(--bg-surface);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-lg);
}

.tab-info-badge {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--brand-teal);
  background: var(--brand-teal-light);
  padding: 4px 10px;
  border-radius: var(--radius-chip);
  margin-bottom: 16px;
  display: inline-block;
}

.tab-info-title {
  font-size: 2rem;
  font-weight: 900;
  color: var(--brand-navy);
  margin-bottom: 16px;
  line-height: 1.35;
}

.tab-info-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.85;
  margin-bottom: 24px;
}

.tab-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 30px;
}

.tab-bullet-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--text-primary);
  font-weight: 600;
}

.bullet-icon {
  color: var(--brand-teal);
  margin-top: 3px;
  flex-shrink: 0;
}

.tab-device-visual {
  display: flex;
  justify-content: center;
  position: relative;
}

.tab-phone-mockup {
  width: 290px;
  height: 580px;
  background: #000000;
  border-radius: 42px;
  padding: 10px;
  box-shadow: var(--shadow-xl);
}

.tab-phone-screen {
  width: 100%;
  height: 100%;
  border-radius: 32px;
  overflow: hidden;
  background: #FBF7EF;
}

.tab-phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.3s ease;
}

/* --- How It Works 3 Simple Steps --- */
.steps-section {
  padding: 90px 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
}

.step-card {
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  padding: 36px 28px;
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: all var(--transition-smooth);
}

.step-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--brand-teal);
}

.step-number {
  position: absolute;
  top: 20px;
  left: 20px;
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--border-subtle);
  line-height: 1;
}

[dir="ltr"] .step-number {
  left: auto;
  right: 20px;
}

.step-icon-box {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  background: var(--brand-teal-light);
  color: var(--brand-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  font-size: 1.5rem;
}

.step-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--brand-navy);
  margin-bottom: 10px;
}

.step-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

/* --- Download Hub & Platform Matrix --- */
.download-section {
  padding: 100px 0;
  position: relative;
  z-index: 10;
}

.download-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 50px;
}

.download-card {
  background: var(--bg-surface);
  border-radius: var(--radius-xl);
  border: 1.5px solid var(--border-subtle);
  padding: 36px 30px;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all var(--transition-smooth);
  position: relative;
}

.download-card.highlight {
  border-color: var(--brand-teal);
  box-shadow: 0 16px 36px -8px var(--brand-teal-glow);
}

.download-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.card-top-tag {
  position: absolute;
  top: -12px;
  background: var(--brand-coral);
  color: #FFFFFF;
  font-size: 0.76rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-chip);
}

.download-platform-icon {
  width: 68px;
  height: 68px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 20px;
}

.download-card-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--brand-navy);
  margin-bottom: 8px;
}

.download-card-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 24px;
  flex-grow: 1;
}

.download-meta-info {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

/* QR Code Section for Desktop */
.qr-quick-box {
  background: var(--bg-surface-glass);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 720px;
  margin: 0 auto;
}

.qr-code-img {
  width: 100px;
  height: 100px;
  border-radius: var(--radius-sm);
  background: #FFFFFF;
  padding: 6px;
  box-shadow: var(--shadow-sm);
}

.qr-text-info h4 {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--brand-navy);
  margin-bottom: 4px;
}

.qr-text-info p {
  font-size: 0.88rem;
  color: var(--text-secondary);
}

/* --- Testimonials / Social Proof --- */
.testimonials-section {
  padding: 90px 0;
  background: var(--bg-secondary);
}

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

.testimonial-card {
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: all var(--transition-smooth);
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-glow);
}

.test-stars {
  color: #F59E0B;
  font-size: 1.1rem;
  margin-bottom: 16px;
  display: flex;
  gap: 3px;
}

.test-quote {
  font-size: 0.98rem;
  color: var(--text-primary);
  line-height: 1.8;
  margin-bottom: 24px;
  flex-grow: 1;
  font-style: italic;
}

.test-author-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.test-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--brand-teal-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: var(--brand-teal);
  font-size: 1.1rem;
}

.test-name {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--brand-navy);
}

.test-tag {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* --- FAQ Section --- */
.faq-section {
  padding: 100px 0;
  position: relative;
  z-index: 10;
}

.faq-accordion {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--bg-surface);
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition-fast);
}

.faq-item.active {
  border-color: var(--brand-teal);
  box-shadow: var(--shadow-md);
}

.faq-question {
  width: 100%;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: right;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--brand-navy);
  background: none;
  cursor: pointer;
}

[dir="ltr"] .faq-question {
  text-align: left;
}

.faq-toggle-icon {
  font-size: 1.25rem;
  transition: transform var(--transition-smooth);
  color: var(--brand-teal);
}

.faq-item.active .faq-toggle-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), padding 0.3s ease;
  padding: 0 24px;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 24px 20px 24px;
}

.faq-answer p {
  color: var(--text-secondary);
  font-size: 0.96rem;
  line-height: 1.85;
}

/* --- Footer --- */
.site-footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  padding: 70px 0 30px 0;
  position: relative;
  z-index: 10;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-brand p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.8;
  margin-top: 14px;
  max-width: 320px;
}

.footer-column h4 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--brand-navy);
  margin-bottom: 18px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 0.9rem;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

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

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* --- Floating Sticky Conversion Bar on Mobile --- */
.sticky-mobile-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--bg-surface-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--border-subtle);
  padding: 12px 18px;
  box-shadow: 0 -8px 24px rgba(15, 35, 56, 0.12);
  z-index: 990;
  transform: translateY(100%);
  transition: transform var(--transition-smooth);
}

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

.sticky-cta-inner {
  display: flex;
  gap: 10px;
  align-items: center;
}

.sticky-cta-inner .btn {
  flex: 1;
  padding: 12px 16px;
  font-size: 0.92rem;
}

/* --- Modals (iOS Guide & APK Download) --- */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 17, 29, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: var(--bg-surface);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-subtle);
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 36px 30px;
  box-shadow: var(--shadow-xl);
  position: relative;
  transform: scale(0.92);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.open .modal-content {
  transform: scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  left: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-secondary);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: all var(--transition-fast);
}

[dir="ltr"] .modal-close-btn {
  left: auto;
  right: 20px;
}

.modal-close-btn:hover {
  background: var(--brand-coral-soft);
  color: var(--brand-coral);
}

.modal-title {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--brand-navy);
  margin-bottom: 12px;
}

.modal-subtitle {
  font-size: 0.92rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

/* Step illustrations inside iOS modal */
.ios-step-box {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  border-radius: var(--radius-md);
  background: var(--bg-secondary);
  margin-bottom: 14px;
}

.ios-step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--brand-teal);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  flex-shrink: 0;
}

.ios-step-text h5 {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--brand-navy);
  margin-bottom: 2px;
}

.ios-step-text p {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* --- Responsive Media Queries --- */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions, .store-badges-row, .hero-trust-metrics {
    justify-content: center;
  }

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

  .simulator-box, .tab-content-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 992px) {
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--bg-surface);
    padding: 16px 20px;
    box-shadow: var(--shadow-lg);
    border-bottom: 1px solid var(--border-subtle);
    gap: 6px;
    z-index: 999;
  }

  .nav-menu.is-open {
    display: flex !important;
  }

  .nav-item {
    width: 100%;
  }

  .nav-item a {
    display: block;
    width: 100%;
    padding: 10px 14px;
    font-size: 0.92rem;
  }

  .site-header .btn-secondary {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
  }
}

@media (max-width: 768px) {
  .brand-logo-img {
    height: 34px;
  }

  .hero-title {
    font-size: 2.15rem;
    line-height: 1.4;
  }

  [dir="ltr"] .hero-title {
    font-size: 2.3rem;
  }

  .features-grid, .download-cards-grid, .steps-grid, .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .hero-mockup-wrapper {
    flex-direction: column;
    gap: 16px;
  }

  .phone-mockup-frame {
    order: 1;
    width: 290px;
    height: 590px;
  }

  .floating-card {
    order: 2;
    position: static !important;
    margin: 4px auto;
    width: 100%;
    max-width: 290px;
  }

  .card-top-left {
    display: none; /* Hide 3rd floating card on mobile to keep page clean */
  }

  .sticky-mobile-cta {
    display: block;
  }

  .qr-quick-box {
    flex-direction: column;
    text-align: center;
  }

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

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