/* ==========================================================================
   XendSMS Landing Page Stylesheet
   Pixel-Perfect Glassmorphic SaaS Design & 100% Mobile Responsive
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --primary-blue: #0052FF;
  --primary-blue-hover: #0043D6;
  --primary-blue-active: #0036B0;
  --primary-blue-light: #EBF2FE;
  --primary-blue-border: #D2E3FC;
  --primary-blue-glow: rgba(0, 82, 255, 0.16);

  --dark-navy: #0B132B;
  --sidebar-navy: #0D1527;
  --text-main: #0B132B;
  --text-muted: #526077;
  --text-light: #7E8D9F;
  --border-light: #E5EDF7;
  --border-card: #EBF0F8;

  --success-green: #10B981;
  --success-bg: #ECFDF5;
  --warning-amber: #F59E0B;
  --warning-bg: #FFFBEB;
  --danger-red: #EF4444;
  --danger-bg: #FEF2F2;

  --font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-pill: 9999px;

  --shadow-subtle: 0 4px 14px rgba(11, 19, 43, 0.04);
  --shadow-card: 0 16px 36px rgba(11, 19, 43, 0.06), 0 2px 6px rgba(11, 19, 43, 0.02);
  --shadow-hover: 0 22px 50px rgba(0, 82, 255, 0.12);
  --shadow-laptop: 0 35px 80px rgba(11, 23, 56, 0.22);
  --shadow-phone: 0 26px 50px rgba(11, 23, 56, 0.35);
}

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

html, body {
  overflow-x: hidden;
  max-width: 100vw;
  width: 100%;
}

body {
  font-family: var(--font-family);
  color: var(--text-main);
  background-color: #FFFFFF;
  line-height: 1.55;
  position: relative;
  min-height: 100vh;
}

/* Background Atmospheric Glows and Dot Matrix */
.bg-decorations {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  max-width: 100vw;
  height: 900px;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
  contain: paint;
}

.bg-dot-matrix {
  position: absolute;
  top: 40px;
  right: 2%;
  width: min(480px, 90vw);
  height: 520px;
  background-image: radial-gradient(#C5D7F8 1.6px, transparent 1.6px);
  background-size: 20px 20px;
  opacity: 0.85;
  mask-image: radial-gradient(ellipse at 70% 30%, rgba(0,0,0,1) 15%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 30%, rgba(0,0,0,1) 15%, transparent 75%);
}

.bg-radial-blue {
  position: absolute;
  top: 100px;
  right: 0;
  width: min(600px, 95vw);
  height: 550px;
  background: radial-gradient(circle, rgba(0, 82, 255, 0.10) 0%, rgba(135, 185, 255, 0.04) 50%, transparent 75%);
  filter: blur(50px);
}

.bg-radial-left {
  position: absolute;
  top: 150px;
  left: 0;
  width: min(500px, 95vw);
  height: 500px;
  background: radial-gradient(circle, rgba(0, 82, 255, 0.05) 0%, transparent 70%);
  filter: blur(60px);
}

/* Container */
.container {
  width: min(1340px, calc(100% - 48px));
  margin-inline: auto;
  position: relative;
  z-index: 1;
}

/* Base Typography */
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

button, input {
  font-family: inherit;
  font-size: inherit;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
  user-select: none;
}

.btn-primary {
  background-color: var(--primary-blue);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(0, 82, 255, 0.24);
}

.btn-primary:hover {
  background-color: var(--primary-blue-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(0, 82, 255, 0.32);
}

.btn-primary:active {
  background-color: var(--primary-blue-active);
  transform: translateY(0);
}

.btn-outline-primary {
  background-color: #FFFFFF;
  border-color: #D3E0F3;
  color: var(--primary-blue);
  box-shadow: 0 2px 8px rgba(11, 19, 43, 0.04);
}

.btn-outline-primary:hover {
  border-color: var(--primary-blue);
  background-color: var(--primary-blue-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 82, 255, 0.12);
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.header {
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  position: relative;
  z-index: 1000;
}

.brand-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-logo {
  height: 48px;
  width: auto;
  object-fit: contain;
  display: block;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3.2vw, 42px);
  list-style: none;
}

.nav-link {
  color: #1A263D;
  font-weight: 600;
  font-size: 0.96rem;
  padding: 6px 2px;
  position: relative;
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: var(--primary-blue);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--primary-blue);
  border-radius: 2px;
  transition: width 0.2s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.header-cta-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-header {
  padding: 12px 24px;
  font-size: 0.92rem;
  border-radius: 10px;
}

.menu-toggle {
  display: none;
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: 10px;
  width: 44px;
  height: 44px;
  padding: 11px 9px;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  box-shadow: var(--shadow-subtle);
  position: relative;
  z-index: 1002;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.menu-toggle:hover {
  border-color: var(--primary-blue-border);
}

.hamburger-line {
  display: block;
  width: 100%;
  height: 2.2px;
  background-color: var(--dark-navy);
  border-radius: 2px;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease;
  transform-origin: center;
}

/* Morph Hamburger to 'X' Close Icon when Active */
.menu-toggle.active .hamburger-line:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.menu-toggle.active .hamburger-line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.menu-toggle.active .hamburger-line:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* Nav Backdrop Overlay */
.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(11, 19, 43, 0.35);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  pointer-events: none;
}

.nav-backdrop.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  padding: 24px 0 60px;
  display: grid;
  grid-template-columns: minmax(430px, 480px) 1.25fr;
  align-items: center;
  gap: 36px;
  min-height: 580px;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  z-index: 15;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background-color: var(--primary-blue-light);
  border: 1px solid var(--primary-blue-border);
  border-radius: var(--radius-pill);
  color: var(--primary-blue);
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 22px;
  box-shadow: 0 2px 8px rgba(0, 82, 255, 0.08);
}

.badge-icon {
  font-size: 1rem;
}

.hero-title {
  font-size: clamp(3rem, 4.6vw, 4.75rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: var(--dark-navy);
  margin-bottom: 22px;
}

.text-blue {
  color: var(--primary-blue);
  display: block;
}

.hero-lead {
  font-size: 1.08rem;
  line-height: 1.65;
  color: var(--text-muted);
  max-width: 490px;
  margin-bottom: 28px;
}

/* Waitlist Card */
.waitlist-card {
  width: 100%;
  max-width: 480px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(220, 230, 245, 0.9);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  box-shadow: 0 16px 40px rgba(11, 23, 56, 0.08);
}

.waitlist-title {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--dark-navy);
  margin-bottom: 14px;
}

.waitlist-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 12px;
}

.input-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #FFFFFF;
  border: 1px solid #D6E0EE;
  border-radius: var(--radius-md);
  padding: 0 14px;
  height: 48px;
  width: 100%;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.input-wrapper:focus-within {
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(0, 82, 255, 0.15);
}

/* ==========================================================================
   Unified Professional Phone Input & Global Country Picker
   ========================================================================== */
.phone-unified-wrapper {
  padding: 0 14px 0 6px;
  position: relative;
  z-index: 20;
}

.country-picker-container {
  position: relative;
  flex-shrink: 0;
}

.country-picker-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: none;
  outline: none;
  padding: 6px 8px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  color: var(--dark-navy);
  font-size: 0.88rem;
  font-weight: 600;
  transition: background-color 0.18s ease;
  user-select: none;
}

.country-picker-trigger:hover {
  background-color: #F1F5F9;
}

.country-picker-trigger:focus-visible {
  outline: 2px solid var(--primary-blue);
  border-radius: 6px;
}

.country-flag {
  font-size: 1.15rem;
  line-height: 1;
}

.country-dial {
  font-variant-numeric: tabular-nums;
  color: var(--dark-navy);
  font-weight: 700;
  font-size: 0.88rem;
}

.country-chevron {
  color: #7E8D9F;
  transition: transform 0.2s ease;
}

.country-picker-container.open .country-chevron {
  transform: rotate(180deg);
}

.phone-divider {
  width: 1px;
  height: 22px;
  background-color: #E2E8F0;
  margin: 0 10px 0 4px;
  flex-shrink: 0;
}

.phone-icon {
  margin-right: 2px;
}

.phone-input-field {
  flex: 1;
  min-width: 0;
  letter-spacing: 0.02em;
}

/* Searchable Country Dropdown Panel */
.country-dropdown-panel {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  width: 320px;
  max-width: min(340px, calc(100vw - 48px));
  max-height: 330px;
  background: #FFFFFF;
  border: 1px solid #D6E0EE;
  border-radius: var(--radius-md);
  box-shadow: 0 20px 45px rgba(11, 23, 56, 0.18), 0 4px 12px rgba(11, 23, 56, 0.06);
  z-index: 1050;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: dropdownFadeIn 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes dropdownFadeIn {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.country-search-box {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-bottom: 1px solid #EBF0F8;
  background: #F8FAFC;
  flex-shrink: 0;
}

.country-search-box .search-icon {
  color: #7E8D9F;
  flex-shrink: 0;
}

.country-search-input {
  width: 100%;
  border: none;
  outline: none;
  background: transparent;
  font-size: 0.86rem;
  color: var(--dark-navy);
  font-family: inherit;
}

.country-search-input::placeholder {
  color: #94A3B8;
}

.country-search-clear {
  border: none;
  background: #E2E8F0;
  color: #64748B;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  font-size: 13px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
}

.country-search-clear:hover {
  background: #CBD5E1;
}

.country-list {
  overflow-y: auto;
  max-height: 270px;
  padding: 6px 0;
  overscroll-behavior: contain;
}

.country-list::-webkit-scrollbar {
  width: 6px;
}

.country-list::-webkit-scrollbar-track {
  background: transparent;
}

.country-list::-webkit-scrollbar-thumb {
  background: #CBD5E1;
  border-radius: 4px;
}

.country-group-label {
  padding: 8px 14px 4px;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #94A3B8;
  background: #FFFFFF;
  position: sticky;
  top: 0;
  z-index: 2;
}

.country-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 14px;
  cursor: pointer;
  font-size: 0.86rem;
  color: var(--dark-navy);
  transition: background-color 0.15s ease;
  user-select: none;
}

.country-item:hover, .country-item.highlighted {
  background-color: var(--primary-blue-light);
}

.country-item.selected {
  background-color: #EBF2FE;
  font-weight: 700;
  color: var(--primary-blue);
}

.country-item-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.country-item-flag {
  font-size: 1.15rem;
  line-height: 1;
  flex-shrink: 0;
}

.country-item-name {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 180px;
}

.country-item-dial {
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  color: #64748B;
  font-size: 0.82rem;
  flex-shrink: 0;
  margin-left: 8px;
}

.country-item.selected .country-item-dial {
  color: var(--primary-blue);
}

.country-no-results {
  padding: 24px 14px;
  text-align: center;
  color: #94A3B8;
  font-size: 0.85rem;
}

.input-icon {
  color: #7E8D9F;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.waitlist-input {
  width: 100%;
  border: none;
  outline: none;
  background: transparent;
  color: var(--dark-navy);
  font-size: 0.92rem;
}

.waitlist-input::placeholder {
  color: #8E9BAE;
}

.btn-notify {
  width: 100%;
  height: 48px;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.btn-notify:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0, 82, 255, 0.35);
}

.btn-arrow {
  transition: transform 0.2s ease;
}

.btn-notify:hover .btn-arrow {
  transform: translateX(3px);
}

.btn-notify:disabled {
  opacity: 0.75;
  cursor: not-allowed;
  transform: none;
}

.waitlist-meta {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--text-light);
  font-size: 0.82rem;
  font-weight: 500;
}

.waitlist-meta svg {
  color: #8E9BAE;
  flex-shrink: 0;
}

.toast-feedback {
  margin-top: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  min-height: 20px;
  display: none;
}

.toast-feedback.success {
  display: block;
  color: var(--success-green);
}

.toast-feedback.error {
  display: block;
  color: var(--danger-red);
}

/* Inline Success & Referral Card */
.waitlist-success-container {
  text-align: center;
  padding: 8px 4px 4px;
  animation: fadeInSuccess 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeInSuccess {
  from {
    opacity: 0;
    transform: scale(0.96) translateY(6px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.success-badge-icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(0, 82, 255, 0.1);
  color: var(--primary-blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  box-shadow: 0 0 0 6px rgba(0, 82, 255, 0.05);
}

.success-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--dark-navy);
  margin-bottom: 6px;
  line-height: 1.3;
}

.success-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 16px;
}

.highlight-info {
  color: var(--primary-blue);
  font-weight: 700;
  word-break: break-all;
}

.referral-box {
  background: rgba(0, 82, 255, 0.04);
  border: 1px dashed rgba(0, 82, 255, 0.28);
  border-radius: var(--radius-md);
  padding: 14px 12px;
  margin-bottom: 14px;
}

.referral-prompt {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--dark-navy);
  margin-bottom: 10px;
}

.share-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.btn-share {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 40px;
  padding: 0 10px;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.15s ease, filter 0.15s ease, box-shadow 0.15s ease;
}

.btn-share:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
}

.btn-share-whatsapp {
  background: #25D366;
  color: #FFFFFF;
  box-shadow: 0 2px 8px rgba(37, 211, 102, 0.28);
}

.btn-share-x {
  background: #0F1419;
  color: #FFFFFF;
  box-shadow: 0 2px 8px rgba(15, 20, 25, 0.28);
}

.btn-submit-another {
  background: transparent;
  border: none;
  color: var(--text-light);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.2s ease;
  padding: 6px 12px;
}

.btn-submit-another:hover {
  color: var(--primary-blue);
  text-decoration: underline;
}

.agency-credit-link {
  color: #FFFFFF;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px dotted rgba(255, 255, 255, 0.55);
  transition: border-color 0.2s ease, opacity 0.2s ease;
}

.agency-credit-link:hover {
  border-bottom-color: #FFFFFF;
  opacity: 0.9;
}

/* ==========================================================================
   Hero Visual / Pixel-Perfect Vector & HTML Mockup
   ========================================================================== */
.hero-visual {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 0;
  width: 100%;
  max-width: 100%;
  overflow: visible;
  padding: 10px 0 20px;
}

/* Device Switcher Controls (useful on Mobile / Tablet) */
.mockup-controls {
  display: none;
  margin-bottom: 16px;
  z-index: 10;
}

.device-switcher {
  display: inline-flex;
  background: #EEF3FA;
  padding: 4px;
  border-radius: var(--radius-pill);
  gap: 4px;
  border: 1px solid var(--border-light);
}

.switch-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.switch-btn.active {
  background: #FFFFFF;
  color: var(--primary-blue);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* Mockup Stage */
.mockup-stage {
  position: relative;
  width: 100%;
  max-width: 780px;
  min-width: 0;
  overflow: visible;
  padding: 10px 10px 24px 14px;
}

/* ==========================================================================
   MacBook Pro Mockup Frame
   ========================================================================== */
.macbook-device {
  position: relative;
  width: 100%;
  z-index: 1;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.macbook-lid {
  background: #11141A;
  border-radius: 18px 18px 0 0;
  padding: 10px 10px 0;
  box-shadow: var(--shadow-laptop);
  position: relative;
}

.macbook-camera {
  width: 6px;
  height: 6px;
  background: #252830;
  border-radius: 50%;
  margin: 0 auto 7px;
  box-shadow: inset 0 0 2px #000;
}

.macbook-screen {
  background: #FFFFFF;
  border-radius: 6px 6px 0 0;
  overflow: hidden;
  position: relative;
}

/* Dashboard UI Layout */
.dashboard-ui {
  display: grid;
  grid-template-columns: 140px 1fr;
  min-height: 400px;
  background: #F8FAFC;
  font-size: 0.72rem;
}

/* Dashboard Sidebar */
.dash-sidebar {
  background: var(--sidebar-navy);
  color: #A0AEC0;
  padding: 14px 10px;
  display: flex;
  flex-direction: column;
}

.dash-brand {
  margin-bottom: 20px;
  padding: 0 4px;
}

.dash-brand-img {
  height: 22px;
  width: auto;
  object-fit: contain;
  display: block;
}

.dash-nav {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.dash-nav-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border-radius: 6px;
  color: #BAC7D5;
  font-weight: 600;
  font-size: 0.68rem;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.dash-nav-item:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #FFFFFF;
}

.dash-nav-item.active {
  background: var(--primary-blue);
  color: #FFFFFF;
}

.dash-nav-item svg {
  flex-shrink: 0;
}

/* Dashboard Main View */
.dash-main {
  padding: 14px 18px 16px;
  overflow: hidden;
  background: #FFFFFF;
}

/* Dashboard Top Header */
.dash-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid #EDF2F7;
}

.dash-page-title {
  font-size: 1.08rem;
  font-weight: 800;
  color: var(--dark-navy);
}

.dash-header-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.dash-notification-btn {
  position: relative;
  color: #64748B;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.noti-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 6px;
  height: 6px;
  background: var(--danger-red);
  border-radius: 50%;
  border: 1px solid #FFFFFF;
}

.dash-user-profile {
  display: flex;
  align-items: center;
  gap: 6px;
}

.user-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid #E2E8F0;
}

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

.user-info {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.user-name {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--dark-navy);
}

.user-role {
  font-size: 0.58rem;
  color: #718096;
}

.dash-balance-box {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #F8FAFD;
  padding: 4px 8px;
  border-radius: 8px;
  border: 1px solid #E2E8F0;
}

.balance-labels {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  text-align: right;
}

.bal-label {
  font-size: 0.55rem;
  color: #718096;
}

.bal-amount {
  font-size: 0.74rem;
  font-weight: 800;
  color: var(--dark-navy);
}

.btn-topup {
  background: var(--primary-blue);
  color: #FFFFFF;
  border: none;
  border-radius: 6px;
  padding: 4px 9px;
  font-size: 0.64rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s ease;
}

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

.dash-kebab-menu {
  color: #94A3B8;
  cursor: pointer;
}

/* 4 KPI Metrics */
.dash-kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 12px;
}

.kpi-card {
  background: #FFFFFF;
  border: 1px solid #EDF2F7;
  border-radius: 8px;
  padding: 8px 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.kpi-title {
  display: block;
  font-size: 0.62rem;
  color: #64748B;
  margin-bottom: 3px;
  font-weight: 500;
}

.kpi-value {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--dark-navy);
  margin-bottom: 3px;
  letter-spacing: -0.02em;
}

.kpi-status-tag {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 0.58rem;
  font-weight: 700;
  line-height: 1;
}

.kpi-status-tag.success {
  color: var(--success-green);
}

.kpi-status-tag.rate-success {
  color: var(--success-green);
}

.kpi-status-tag.rate-warning {
  color: var(--warning-amber);
}

.kpi-status-tag.rate-danger {
  color: var(--danger-red);
}

.kpi-status-tag small {
  color: #94A3B8;
  font-weight: 500;
}

/* Lower Split Grid */
.dash-lower-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 10px;
}

.dash-card {
  background: #FFFFFF;
  border: 1px solid #EDF2F7;
  border-radius: 10px;
  padding: 10px 12px;
}

.dash-card.recent-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.card-heading {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--dark-navy);
  white-space: nowrap;
}

.card-dropdown {
  font-size: 0.6rem;
  color: #64748B;
  background: #F8FAFD;
  padding: 2px 6px;
  border-radius: 4px;
  border: 1px solid #E2E8F0;
  cursor: pointer;
}

.chevron {
  color: #94A3B8;
  font-size: 0.65rem;
}

/* Chart Canvas */
.chart-container {
  display: flex;
  gap: 6px;
  height: 95px;
}

.y-axis {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  font-size: 0.54rem;
  color: #94A3B8;
  text-align: right;
  padding: 2px 0;
}

.chart-canvas-wrap {
  flex: 1;
  position: relative;
}

.chart-svg {
  width: 100%;
  height: 100%;
  display: block;
}

.chart-point {
  cursor: pointer;
  transition: r 0.2s ease, stroke-width 0.2s ease;
}

.chart-point:hover {
  r: 5;
  stroke-width: 3;
}

.x-axis {
  display: flex;
  justify-content: space-between;
  font-size: 0.54rem;
  color: #94A3B8;
  padding-left: 24px;
  margin-top: 4px;
}

/* Recent Messages List */
.recent-list {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 8px;
}

.recent-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4px 0;
  border-bottom: 1px solid #F8FAFC;
  font-size: 0.6rem;
}

.recent-item:last-child {
  border-bottom: none;
}

.msg-phone {
  font-weight: 600;
  color: var(--dark-navy);
}

.msg-status.delivered {
  background: var(--success-bg);
  color: var(--success-green);
  padding: 1px 5px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.55rem;
}

.msg-time {
  color: #94A3B8;
  font-size: 0.55rem;
}

.btn-view-all {
  width: 100%;
  padding: 6px;
  font-size: 0.64rem;
  border-radius: 6px;
  background: var(--primary-blue);
  color: #FFFFFF;
  white-space: nowrap;
  text-align: center;
}

/* MacBook Chin & Base */
.macbook-chin {
  background: #11141A;
  text-align: center;
  padding: 4px 0 6px;
}

.chin-brand {
  font-size: 0.58rem;
  letter-spacing: 0.04em;
  color: #555A64;
  font-weight: 600;
}

.macbook-base {
  height: 12px;
  width: calc(100% + 24px);
  margin-left: -12px;
  background: linear-gradient(180deg, #D5DAE1 0%, #A4A9B3 50%, #767B85 100%);
  border-radius: 0 0 14px 14px;
  box-shadow: 0 16px 36px rgba(11, 23, 56, 0.18), 0 4px 10px rgba(11, 23, 56, 0.08);
  position: relative;
}

.macbook-notch {
  width: 80px;
  height: 5px;
  background: #50545C;
  border-radius: 0 0 4px 4px;
  margin: 0 auto;
}

/* ==========================================================================
   iPhone Smartphone Mockup
   ========================================================================== */
.iphone-device {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 182px;
  z-index: 10;
  box-shadow: 0 20px 48px rgba(11, 23, 56, 0.28), 0 6px 14px rgba(11, 23, 56, 0.12);
  border-radius: 38px;
  background: #000000;
  padding: 8px;
  border: 1.5px solid #282C35;
  transition: transform 0.3s ease, right 0.3s ease, bottom 0.3s ease;
}

.iphone-bezel {
  border-radius: 30px;
  overflow: hidden;
  background: #FFFFFF;
  position: relative;
  border: 1px solid rgba(0, 0, 0, 0.25);
}

.iphone-dynamic-island {
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 52px;
  height: 13px;
  background: #000000;
  border-radius: 12px;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 6px;
}

.camera-lens {
  width: 5px;
  height: 5px;
  background: #0D1B2A;
  border-radius: 50%;
  border: 1px solid #1E293B;
}

.iphone-screen {
  background: #FFFFFF;
  padding: 6px 12px 10px;
  min-height: 350px;
  display: flex;
  flex-direction: column;
}

.ios-home-indicator {
  width: 65px;
  height: 4px;
  background: #11141A;
  border-radius: 2px;
  margin: 10px auto 2px;
  opacity: 0.85;
}

/* iOS Status Bar */
.ios-status-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2px 8px;
  font-size: 0.52rem;
  font-weight: 700;
  color: #1E293B;
}

.ios-icons {
  display: flex;
  align-items: center;
  gap: 4px;
}

.ios-battery {
  width: 14px;
  height: 7px;
  border: 1px solid #1E293B;
  border-radius: 2px;
  padding: 1px;
  display: flex;
  align-items: center;
}

.ios-battery-fill {
  width: 75%;
  height: 100%;
  background: #1E293B;
  border-radius: 1px;
}

/* iPhone Screen Content */
.phone-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-top: 6px;
}

.phone-brand {
  margin-bottom: 8px;
}

.phone-logo-img {
  height: 22px;
  width: auto;
  object-fit: contain;
}

.phone-headings {
  margin-bottom: 10px;
}

.phone-title {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--dark-navy);
}

.phone-subtitle {
  font-size: 0.52rem;
  color: #64748B;
}

.phone-form {
  width: 100%;
  text-align: left;
}

.phone-field-group {
  margin-bottom: 6px;
}

.phone-label {
  display: block;
  font-size: 0.48rem;
  color: #475569;
  font-weight: 600;
  margin-bottom: 2px;
}

.phone-input {
  width: 100%;
  border: 1px solid #E2E8F0;
  border-radius: 5px;
  padding: 4px 6px;
  font-size: 0.52rem;
  color: #1E293B;
  background: #FAFCFE;
}

.phone-password-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.eye-toggle-btn {
  position: absolute;
  right: 5px;
  background: none;
  border: none;
  color: #94A3B8;
  cursor: pointer;
  display: grid;
  place-items: center;
  padding: 0;
}

.phone-forgot {
  text-align: right;
  margin-bottom: 8px;
}

.phone-forgot a {
  font-size: 0.46rem;
  color: var(--primary-blue);
  font-weight: 600;
}

.btn-phone-signin {
  width: 100%;
  padding: 6px;
  font-size: 0.58rem;
  border-radius: 5px;
  margin-bottom: 6px;
}

.phone-signup-prompt {
  font-size: 0.46rem;
  color: #64748B;
  text-align: center;
}

.phone-signup-prompt a {
  color: var(--primary-blue);
  font-weight: 700;
}

/* ==========================================================================
   Modal Overlay
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(11, 19, 43, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  padding: 20px;
}

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

.modal-content {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 30px;
  max-width: 420px;
  width: 100%;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.2);
  transform: translateY(20px) scale(0.97);
  transition: transform 0.25s ease;
  position: relative;
}

.modal-overlay.active .modal-content {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: #F1F5F9;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
  color: var(--text-muted);
  font-size: 1.2rem;
  transition: background-color 0.2s ease;
}

.modal-close:hover {
  background-color: #E2E8F0;
  color: var(--dark-navy);
}

.modal-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--dark-navy);
  margin-bottom: 8px;
}

.modal-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.topup-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}

.topup-pill {
  padding: 14px 10px;
  text-align: center;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s ease;
  background: #FAFCFF;
}

.topup-pill:hover, .topup-pill.selected {
  border-color: var(--primary-blue);
  background-color: var(--primary-blue-light);
  color: var(--primary-blue);
}

/* ==========================================================================
   Features Section (4 Pillars)
   ========================================================================== */
.features-section {
  padding: 40px 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 36px;
}

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

.feature-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 8px 24px;
  border-right: 1px solid #E8EEF8;
  position: relative;
  transition: transform 0.2s ease;
}

.feature-card:first-child {
  padding-left: 0;
}

.feature-card:last-child {
  border-right: none;
  padding-right: 0;
}

.feature-icon-wrapper {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--primary-blue);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 18px rgba(0, 82, 255, 0.24);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.feature-card:hover .feature-icon-wrapper {
  transform: scale(1.06);
  box-shadow: 0 10px 24px rgba(0, 82, 255, 0.35);
}

.feature-content {
  flex: 1;
}

.feature-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark-navy);
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}

.feature-desc {
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--text-muted);
}

/* ==========================================================================
   Trust / Value Banner
   ========================================================================== */
.trust-section {
  padding: 10px 0 46px;
}

.trust-banner {
  background: linear-gradient(105deg, rgba(240, 246, 255, 0.95) 0%, rgba(255, 255, 255, 0.98) 60%, rgba(242, 247, 255, 0.95) 100%);
  border: 1px solid #D6E4FA;
  border-radius: var(--radius-lg);
  padding: 24px 32px;
  display: flex;
  align-items: center;
  gap: 24px;
  box-shadow: 0 10px 30px rgba(0, 82, 255, 0.04);
}

.trust-badge {
  flex-shrink: 0;
}

.trust-bubble-icon {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #FFFFFF;
  box-shadow: 0 8px 24px rgba(0, 82, 255, 0.12);
  display: grid;
  place-items: center;
  color: var(--primary-blue);
  border: 1px solid rgba(214, 228, 250, 0.6);
}

.trust-copy {
  flex: 1;
}

.trust-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary-blue);
  margin-bottom: 4px;
  letter-spacing: -0.015em;
}

.trust-subtitle {
  font-size: 0.94rem;
  color: var(--text-muted);
}

.trust-cta {
  flex-shrink: 0;
}

.trust-cta .btn {
  padding: 12px 28px;
  font-size: 0.92rem;
  font-weight: 700;
  border-radius: 10px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background: #0052FF;
  color: #FFFFFF;
  padding: 34px 0 24px;
}

.footer-container {
  display: flex;
  flex-direction: column;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr auto 1fr auto 1fr auto 0.8fr;
  align-items: center;
  padding-bottom: 24px;
}

.footer-divider {
  width: 1px;
  height: 38px;
  background-color: rgba(255, 255, 255, 0.25);
}

.footer-col {
  display: flex;
  align-items: center;
}

.footer-col-brand {
  justify-content: flex-start;
}

.footer-logo {
  height: 42px;
  width: auto;
  object-fit: contain;
  display: block;
}

.footer-col-email, .footer-col-web {
  justify-content: center;
}

.footer-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.94rem;
  font-weight: 500;
  color: #FFFFFF;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.footer-contact-link:hover {
  opacity: 0.85;
  transform: translateY(-1px);
}

.footer-col-socials {
  justify-content: flex-end;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 16px;
}

.social-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.social-btn:hover {
  transform: translateY(-2px);
  opacity: 0.85;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 18px;
  text-align: center;
}

.copyright {
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.82);
}

/* ==========================================================================
   Responsive Breakpoints & Mobile Optimization
   ========================================================================== */
.macbook-scaler {
  width: 100%;
  max-width: 650px;
  display: flex;
  justify-content: flex-start;
  overflow: visible;
}

.mobile-only-cta {
  display: none;
}

@media (min-width: 861px) {
  .macbook-device {
    width: 100%;
    max-width: 650px;
  }
}

@media (max-width: 1200px) {
  .hero-section {
    grid-template-columns: minmax(400px, 440px) 1.2fr;
    gap: 24px;
  }
  .macbook-scaler {
    max-width: 580px;
  }
  .macbook-device {
    max-width: 580px;
  }
  .iphone-device {
    width: 165px;
    right: 0;
    bottom: 0;
  }
  .iphone-screen {
    min-height: 320px;
  }
}

@media (max-width: 1024px) {
  .hero-section {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-copy {
    align-items: center;
    text-align: center;
  }
  .hero-lead {
    max-width: 580px;
  }
  .waitlist-card {
    margin: 0 auto;
  }
  .waitlist-meta {
    justify-content: center;
  }
  .hero-visual {
    width: 100%;
    max-width: 680px;
    margin: 0 auto;
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 24px;
  }
  .feature-card:nth-child(2) {
    border-right: none;
    padding-right: 0;
  }
  .feature-card:nth-child(3) {
    padding-left: 0;
  }
  .footer-grid {
    grid-template-columns: 1fr auto 1fr;
    row-gap: 20px;
  }
  .footer-divider:nth-child(4) {
    display: none;
  }
  .footer-col-socials {
    grid-column: 1 / -1;
    justify-content: center;
  }
}

@media (max-width: 860px) {
  .header {
    height: 76px;
  }
  .btn-header {
    display: none;
  }
  .menu-toggle {
    display: flex;
  }
  .nav-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 16px;
    right: 16px;
    background: #FFFFFF;
    border: 1px solid rgba(210, 227, 252, 0.95);
    border-radius: var(--radius-lg);
    box-shadow: 0 24px 55px rgba(11, 23, 56, 0.22), 0 4px 12px rgba(11, 23, 56, 0.08);
    flex-direction: column;
    padding: 20px 24px;
    gap: 14px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1), transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.25s;
    z-index: 1001;
    pointer-events: none;
  }
  .nav-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }
  .nav-link {
    font-size: 1.05rem;
    padding: 8px 0;
    width: 100%;
  }
  .mobile-only-cta {
    display: block;
    color: var(--primary-blue);
    font-weight: 700;
    padding-top: 12px;
    border-top: 1px solid var(--border-light);
  }

  /* Hero Visual & Mockup Stage on Mobile */
  .hero-visual {
    overflow: hidden;
    padding: 0 0 16px;
    max-width: 100%;
  }

  .mockup-stage {
    overflow: hidden;
    max-width: 100%;
    padding: 4px;
  }

  /* Show Device Switcher on Mobile/Tablet */
  .mockup-controls {
    display: flex;
    justify-content: center;
  }

  /* Native Responsive MacBook Frame on Mobile */
  .macbook-device {
    width: 100%;
    max-width: 100%;
    flex-shrink: 1;
  }

  .macbook-base {
    width: 100%;
    margin-left: 0;
  }

  /* Reflow dashboard inside laptop for mobile */
  .dashboard-ui {
    grid-template-columns: 42px 1fr;
    min-height: auto;
  }

  .dash-sidebar {
    padding: 10px 4px;
    align-items: center;
  }

  .dash-brand {
    display: none;
  }

  .dash-nav-item span {
    display: none;
  }

  .dash-nav-item {
    justify-content: center;
    padding: 8px 6px;
    width: 32px;
    height: 32px;
  }

  .dash-main {
    padding: 10px 10px 14px;
  }

  .dash-user-profile {
    display: none;
  }

  .dash-header-right {
    gap: 8px;
  }

  .bal-amount {
    font-size: 0.68rem;
  }

  .dash-kpis {
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
  }

  .kpi-card {
    padding: 6px 8px;
  }

  .kpi-value {
    font-size: 0.86rem;
  }

  .dash-lower-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .recent-item {
    font-size: 0.58rem;
  }

  /* When Web Dashboard view is active on mobile, hide the overlapping iphone */
  .mockup-stage:not(.show-mobile-app) .iphone-device {
    display: none;
  }

  /* When Mobile App view is active on mobile */
  .mockup-stage.show-mobile-app .macbook-scaler {
    display: none;
  }

  .mockup-stage.show-mobile-app .iphone-device {
    position: relative;
    right: 0;
    bottom: 0;
    margin: 0 auto;
    width: min(280px, 85vw);
    display: block;
  }

  .mockup-stage.show-mobile-app .iphone-screen {
    min-height: 420px;
    padding: 10px 14px 20px;
  }

  .mockup-stage.show-mobile-app .phone-headings {
    margin-bottom: 14px;
  }

  .mockup-stage.show-mobile-app .phone-title {
    font-size: 1.05rem;
  }

  .mockup-stage.show-mobile-app .phone-subtitle {
    font-size: 0.74rem;
  }

  .mockup-stage.show-mobile-app .phone-label {
    font-size: 0.68rem;
  }

  .mockup-stage.show-mobile-app .phone-input {
    font-size: 0.76rem;
    padding: 8px 10px;
  }

  .mockup-stage.show-mobile-app .btn-phone-signin {
    padding: 10px;
    font-size: 0.8rem;
  }

  .trust-banner {
    flex-direction: column;
    text-align: center;
    padding: 24px;
  }
  .trust-cta {
    width: 100%;
  }
  .trust-cta .btn {
    width: 100%;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    text-align: center;
  }
  .footer-divider {
    display: none;
  }
  .footer-col {
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .features-grid {
    grid-template-columns: 1fr;
    row-gap: 20px;
  }
  .feature-card {
    border-right: none;
    padding: 0;
  }
}

@media (max-width: 540px) {
  .container {
    width: calc(100% - 28px);
  }
  .header {
    height: 64px;
  }
  .brand-logo {
    height: 32px;
    width: auto;
  }
  .menu-toggle {
    width: 40px;
    height: 40px;
    padding: 9px;
  }
  .hero-badge {
    padding: 6px 14px;
    font-size: 0.8rem;
    margin-bottom: 18px;
  }
  .hero-title {
    font-size: clamp(1.85rem, 6.2vw, 2.35rem);
    line-height: 1.12;
    margin-bottom: 18px;
  }
  .hero-lead {
    font-size: 0.94rem;
    line-height: 1.6;
    margin-bottom: 24px;
  }
  .waitlist-card {
    padding: 18px 16px;
    border-radius: 14px;
  }
  .waitlist-title {
    font-size: 0.94rem;
    margin-bottom: 12px;
  }
  .input-group {
    flex-direction: column;
    gap: 10px;
  }
  .input-wrapper {
    width: 100%;
    height: 48px;
  }
  .waitlist-input {
    font-size: 0.88rem;
  }
  .btn-notify {
    width: 100%;
    height: 48px;
    font-size: 0.92rem;
  }
  .features-section {
    padding: 30px 0;
  }
  .feature-card {
    gap: 12px;
  }
  .feature-icon-wrapper {
    width: 46px;
    height: 46px;
  }
  .feature-title {
    font-size: 0.98rem;
  }
  .feature-desc {
    font-size: 0.85rem;
  }
}

@media (max-width: 420px) {
  .phone-unified-wrapper {
    padding: 0 10px 0 4px;
  }
  .country-picker-trigger {
    padding: 6px 4px;
    gap: 4px;
  }
  .country-dropdown-panel {
    width: calc(100vw - 32px);
    left: -4px;
  }
  .share-actions {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Live Animations & Motion Graphics Suite
   ========================================================================== */

/* 1. Atmospheric Ambient Glows & Signal Particles */
.bg-radial-blue {
  animation: ambientFloatBlue 16s ease-in-out infinite alternate;
  will-change: transform, opacity;
}

.bg-radial-left {
  animation: ambientFloatLeft 20s ease-in-out infinite alternate;
  will-change: transform, opacity;
}

@keyframes ambientFloatBlue {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 0.85;
  }
  50% {
    transform: translate3d(-30px, 20px, 0) scale(1.1);
    opacity: 1;
  }
  100% {
    transform: translate3d(20px, -25px, 0) scale(0.95);
    opacity: 0.8;
  }
}

@keyframes ambientFloatLeft {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 0.7;
  }
  50% {
    transform: translate3d(25px, -30px, 0) scale(1.15);
    opacity: 0.95;
  }
  100% {
    transform: translate3d(-20px, 20px, 0) scale(0.9);
    opacity: 0.65;
  }
}

/* Floating Signal Particles */
.ambient-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}

.signal-dot {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 82, 255, 0.75) 0%, rgba(0, 82, 255, 0) 70%);
  pointer-events: none;
  will-change: transform, opacity;
  animation: signalDrift var(--duration, 8s) ease-in-out infinite var(--delay, 0s);
}

@keyframes signalDrift {
  0% {
    transform: translate3d(0, 0, 0) scale(0.6);
    opacity: 0;
  }
  25% {
    opacity: var(--max-opacity, 0.7);
    transform: translate3d(var(--drift-x, 15px), -30px, 0) scale(1);
  }
  80% {
    opacity: var(--max-opacity, 0.7);
    transform: translate3d(calc(var(--drift-x, 15px) * -1), -100px, 0) scale(1.1);
  }
  100% {
    transform: translate3d(0, -150px, 0) scale(0.5);
    opacity: 0;
  }
}

/* 2. Hero Badge Shimmer & Rocket Hover Motion */
.hero-badge {
  position: relative;
  overflow: hidden;
}

.badge-shimmer {
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.55) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-20deg) translateX(-180%);
  animation: badgeLightSweep 4.5s ease-in-out infinite;
  pointer-events: none;
}

@keyframes badgeLightSweep {
  0%, 65% {
    transform: skewX(-20deg) translateX(-180%);
  }
  100% {
    transform: skewX(-20deg) translateX(320%);
  }
}

.badge-icon {
  display: inline-block;
  animation: rocketBob 3.5s ease-in-out infinite;
}

@keyframes rocketBob {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-3px) rotate(6deg);
  }
}

/* 3. Hero Hardware Mockup 3D Levitation & Specular Sheen */
.mockup-stage {
  perspective: 1400px;
}

.macbook-device {
  animation: floatLaptop 7s ease-in-out infinite alternate;
  will-change: transform;
}

.iphone-device {
  animation: floatPhone 6s ease-in-out infinite alternate;
  will-change: transform;
}

@keyframes floatLaptop {
  0% {
    transform: translateY(0) rotateX(0deg);
  }
  100% {
    transform: translateY(-8px) rotateX(0.8deg);
  }
}

@keyframes floatPhone {
  0% {
    transform: translateY(0) rotate(0deg);
  }
  100% {
    transform: translateY(-12px) rotate(1deg);
  }
}

/* Specular Screen Sheen Sweep */
.screen-sheen {
  position: absolute;
  top: -60%;
  left: -80%;
  width: 250%;
  height: 250%;
  background: linear-gradient(
    115deg,
    transparent 42%,
    rgba(255, 255, 255, 0.08) 47%,
    rgba(255, 255, 255, 0.28) 50%,
    rgba(255, 255, 255, 0.08) 53%,
    transparent 58%
  );
  transform: rotate(-18deg);
  pointer-events: none;
  z-index: 15;
  animation: screenSheenSweep 9s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes screenSheenSweep {
  0%, 70% {
    transform: translateY(-120%) rotate(-18deg);
  }
  100% {
    transform: translateY(140%) rotate(-18deg);
  }
}

/* 4. Real-time Live Stream SMS Feed & Status Beacon */
.card-header-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.live-stream-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: 9999px;
  padding: 1.5px 6px;
}

.live-dot-pulse {
  width: 5px;
  height: 5px;
  background-color: var(--success-green);
  border-radius: 50%;
  animation: beaconPulse 1.8s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes beaconPulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6);
  }
  50% {
    opacity: 0.6;
    transform: scale(0.9);
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0);
  }
}

.live-label {
  font-size: 0.5rem;
  font-weight: 800;
  color: #059669;
  letter-spacing: 0.06em;
}

/* Smooth incoming message animation */
@keyframes messageSlideDown {
  0% {
    opacity: 0;
    transform: translateY(-10px) scale(0.97);
    background-color: rgba(0, 82, 255, 0.08);
  }
  60% {
    background-color: rgba(0, 82, 255, 0.04);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    background-color: transparent;
  }
}

.recent-item.new-arrival {
  animation: messageSlideDown 0.45s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* KPI Counter Pop on Live SMS Arrival */
@keyframes kpiFlash {
  0% {
    transform: scale(1);
  }
  30% {
    transform: scale(1.12);
    color: var(--primary-blue);
  }
  100% {
    transform: scale(1);
    color: var(--dark-navy);
  }
}

.kpi-value.counter-pop {
  animation: kpiFlash 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Notification Bell Animation */
.animated-bell {
  transition: transform 0.2s ease;
}

.animated-bell:hover, .animated-bell.wiggle {
  animation: bellJiggle 0.7s cubic-bezier(0.36, 0.07, 0.19, 0.97);
}

@keyframes bellJiggle {
  0%, 100% { transform: rotate(0); }
  20% { transform: rotate(15deg); }
  40% { transform: rotate(-15deg); }
  60% { transform: rotate(10deg); }
  80% { transform: rotate(-5deg); }
}

.pulsing-dot {
  animation: notiDotBlink 2.5s ease-in-out infinite;
}

@keyframes notiDotBlink {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

/* 5. Animated SVG Chart Path & Radar Ping */
.chart-polyline-animated {
  stroke-dasharray: 600;
  stroke-dashoffset: 600;
  animation: chartDrawLine 2s cubic-bezier(0.2, 0.8, 0.25, 1) forwards;
}

@keyframes chartDrawLine {
  to {
    stroke-dashoffset: 0;
  }
}

.chart-area-fill {
  opacity: 0;
  animation: chartAreaFade 1.4s ease-out 0.6s forwards;
}

@keyframes chartAreaFade {
  to {
    opacity: 1;
  }
}

/* Radar Ripple on Peak Data Point */
.chart-radar-ping {
  animation: radarRipple 2.2s cubic-bezier(0, 0.2, 0.8, 1) infinite;
  transform-origin: 320px 38px;
}

.chart-radar-ping.delay {
  animation-delay: 1.1s;
}

@keyframes radarRipple {
  0% {
    r: 4;
    opacity: 1;
  }
  100% {
    r: 16;
    opacity: 0;
  }
}

.chart-point.active-peak {
  animation: activePeakGlow 2.2s infinite ease-in-out;
}

@keyframes activePeakGlow {
  0%, 100% {
    stroke-width: 2.5;
    fill: #FFFFFF;
  }
  50% {
    stroke-width: 3.5;
    fill: #EBF2FE;
  }
}

/* 6. Feature Cards Micro-Motion & Icon Physics */
.feature-card {
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.28s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
}

.feature-card:hover .feature-icon-wrapper {
  transform: scale(1.08) rotate(-4deg);
  box-shadow: 0 12px 28px rgba(0, 82, 255, 0.35);
}

.feature-card:nth-child(1):hover .feature-icon-wrapper svg {
  transform: translate(2px, -2px);
  transition: transform 0.25s ease;
}

.feature-card:nth-child(2):hover .feature-icon-wrapper svg {
  transform: scale(1.1);
  transition: transform 0.25s ease;
}

.feature-card:nth-child(3):hover .feature-icon-wrapper svg {
  transform: scale(1.1);
  transition: transform 0.25s ease;
}

.feature-card:nth-child(4):hover .feature-icon-wrapper svg {
  transform: scale(1.1);
  transition: transform 0.25s ease;
}

/* 7. Waitlist Success Confetti Particles */
.confetti-canvas {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 9999;
}

/* 8. Reduced Motion Accessibility */
@media (prefers-reduced-motion: reduce) {
  .bg-radial-blue,
  .bg-radial-left,
  .macbook-device,
  .iphone-device,
  .screen-sheen,
  .signal-dot,
  .badge-shimmer,
  .badge-icon,
  .live-dot-pulse,
  .chart-radar-ping,
  .chart-point.active-peak,
  .animated-bell:hover svg,
  .pulsing-dot {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }

  .chart-polyline-animated {
    stroke-dashoffset: 0 !important;
    animation: none !important;
  }

  .chart-area-fill {
    opacity: 1 !important;
    animation: none !important;
  }
}

