/* ============================================
   Verita Landing — All-in-one CSS
   No Tailwind dependency — pure CSS
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  font-family: var(--my-font, 'Peyda', system-ui, -apple-system, sans-serif);
  background: #082932;
  color: #ffffff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
[id] { scroll-margin-top: 80px; }

/* --- Layout --- */
.container { max-width: 1400px; margin: 0 auto; padding: 0 24px; }
@media (min-width: 1024px) { .container { padding: 0 40px; } }

/* Pricing 4-Column Horizontal Grid */
.pricing-4-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  align-items: stretch;
  width: 100%;
}
@media (min-width: 640px) {
  .pricing-4-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .pricing-4-grid {
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 1.25rem;
  }
}

/* --- Navbar --- */
.navbar {
  position: fixed; left: 0; right: 0; top: 0; z-index: 50;
  transition: background-color 300ms ease, backdrop-filter 300ms ease;
}
.navbar.scrolled {
  background-color: rgba(0,0,0,0.2);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.navbar-inner {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1400px; margin: 0 auto; padding: 20px 24px;
}
@media (min-width: 1024px) { .navbar-inner { padding: 20px 40px; } }
.navbar-logo {
  font-size: 1.5rem; font-weight: 500; color: #fff;
}
.navbar-right { display: flex; align-items: center; gap: 8px; }
.nav-links {
  display: none; align-items: center; gap: 32px;
  background: rgba(255,255,255,0.15); backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 16px; padding: 16px 32px 16px 112px;
}
@media (min-width: 768px) { .nav-links { display: flex; } }
.nav-links a {
  font-size: 0.875rem; font-weight: 500; color: rgba(255,255,255,0.9);
  transition: color 200ms; min-height: 44px; display: inline-flex; align-items: center;
}
.nav-links a:hover { color: #fff; }
.nav-register {
  display: flex; align-items: center; gap: 12px;
  background: #1a1a1a; color: #fff; border-radius: 16px;
  padding: 16px 20px; font-size: 0.875rem; font-weight: 500;
  transition: opacity 200ms; min-height: 44px; cursor: pointer;
}
.nav-register:hover { opacity: 0.85; }
.nav-register-arrow {
  display: flex; align-items: center; justify-content: center;
  width: 24px; height: 24px; border-radius: 50%;
  background: #fff; color: #1a1a1a;
}
.nav-register-arrow svg { width: 14px; height: 14px; }

/* Mobile navbar — compact, premium */
@media (max-width: 767px) {
  .navbar-inner {
    padding: 12px 16px;
  }
  .navbar-logo {
    font-size: 1.25rem;
  }
}

/* --- Hero --- */
.hero {
  position: relative; min-height: 100vh; display: flex;
  flex-direction: column; justify-content: flex-end; overflow: hidden;
  background: linear-gradient(135deg, #5BC8D6 0%, #3aadbe 50%, #2a9aae 100%);
}
.hero-section {
  position: relative; z-index: 10; min-height: 100vh; display: flex;
  flex-direction: column; justify-content: center; align-items: center;
  overflow: hidden; padding-top: 80px; padding-bottom: 70px;
}
@media (min-width: 1024px) {
  .hero-section { padding-top: 100px; padding-bottom: 80px; }
}
.hero-content {
  position: relative; z-index: 10;
  max-width: 1400px; margin: 0 auto; padding: 160px 24px 56px;
  width: 100%;
}
@media (min-width: 1024px) { .hero-content { padding: 160px 40px 56px; } }
.hero-grid {
  display: flex; flex-direction: column; justify-content: space-between;
  gap: 48px; align-items: flex-end;
}
@media (min-width: 1024px) { .hero-grid { flex-direction: row; align-items: flex-end; } }
.hero-left { max-width: 640px; }
.hero-right { max-width: 448px; }
.hero-title {
  font-size: 2.25rem; font-weight: 500; color: #fff;
  line-height: 1.35; text-wrap: balance;
}
@media (min-width: 640px) { .hero-title { font-size: 3rem; } }
@media (min-width: 1024px) { .hero-title { font-size: 3.4rem; } }
.hero-subtitle { margin-top: 32px; font-size: 1.125rem; color: rgba(255,255,255,0.9); }
.avatars { display: flex; margin-top: 12px; }
.avatar {
  width: 40px; height: 40px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.7); object-fit: cover;
}
.avatar + .avatar { margin-right: -8px; }
.hero-desc { font-size: 1.125rem; line-height: 1.75; color: #fff; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* --- Pill Buttons --- */
.pill-btn {
  display: inline-flex; align-items: center; gap: 12px;
  border-radius: 12px; padding: 12px 20px;
  font-size: 0.875rem; font-weight: 500; cursor: pointer;
  transition: opacity 200ms, transform 200ms;
  min-height: 44px; touch-action: manipulation;
  border: none; font-family: inherit;
}
.pill-btn:hover { opacity: 0.85; transform: translateY(-1px); }
.pill-btn:active { transform: translateY(0) scale(0.98); }
.pill-white { background: #F2C14E; color: #0B3D4A; font-weight: 700; }
.pill-black { background: #F2C14E; color: #0B3D4A; font-weight: 700; }
.pill-glass {
  background: rgba(255,255,255,0.12); color: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.2);
}
.pill-glass:hover { background: rgba(255,255,255,0.22); color: #fff; }
.pill-btn-primary { background: #1A7A6D; color: #ffffff; font-weight: 700; border: none; }
.pill-btn-primary:hover { background: #145E54; color: #ffffff; }
.pill-btn-outline-dark { background: #f1f5f9; color: #0B3D4A; border: 1px solid #cbd5e1; font-weight: 600; }
.pill-btn-outline-dark:hover { background: #e2e8f0; color: #0B3D4A; }
.pill-btn-glass-dark { background: #f1f5f9; color: #0B3D4A; border: 1px solid #cbd5e1; font-weight: 600; }
.pill-btn-glass-dark:hover { background: #e2e8f0; color: #0B3D4A; }
.pill-arrow {
  display: flex; align-items: center; justify-content: center;
  width: 24px; height: 24px; border-radius: 50%; flex-shrink: 0;
}
.pill-arrow-dark { background: #0B3D4A; color: #F2C14E; }
.pill-arrow-light { background: #0B3D4A; color: #F2C14E; }
.pill-arrow-gold { background: #F2C14E; color: #0B3D4A; }
.pill-arrow svg { width: 14px; height: 14px; }

/* --- Hero Orbs --- */
.hero-orb {
  position: absolute; border-radius: 50%; filter: blur(80px);
  opacity: 0.5; will-change: transform; pointer-events: none;
}
.orb-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(91,200,214,0.6), transparent 70%);
  top: -200px; right: -100px;
  animation: orb1 20s ease-in-out infinite;
}
.orb-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(58,173,190,0.5), transparent 70%);
  bottom: -150px; left: -100px;
  animation: orb2 25s ease-in-out infinite;
}
.orb-3 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(42,154,174,0.4), transparent 70%);
  top: 50%; left: 50%; transform: translate(-50%,-50%);
  animation: orb3 18s ease-in-out infinite;
}
@keyframes orb1 {
  0%,100% { transform: translate(0,0) scale(1); }
  33% { transform: translate(-40px,30px) scale(1.05); }
  66% { transform: translate(20px,-20px) scale(0.95); }
}
@keyframes orb2 {
  0%,100% { transform: translate(0,0) scale(1); }
  33% { transform: translate(30px,-40px) scale(1.1); }
  66% { transform: translate(-20px,20px) scale(0.9); }
}
@keyframes orb3 {
  0%,100% { transform: translate(-50%,-50%) scale(1); }
  33% { transform: translate(-45%,-55%) scale(1.08); }
  66% { transform: translate(-55%,-45%) scale(0.92); }
}

/* --- Hero Consolidated Background System --- */
.hero-section {
  position: relative;
  background: #0B3D4A;
}

.hero-base-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 65% 55% at 75% 45%, rgba(242, 193, 78, 0.08) 0%, transparent 60%),
    radial-gradient(circle at 20% 20%, rgba(26, 122, 109, 0.4) 0%, transparent 50%),
    linear-gradient(135deg, #0B3D4A 0%, #1A7A6D 55%, #145E54 100%);
  z-index: 1;
}

/* --- Ambient Delicate Twinkling Stars (Pure GPU Animation) --- */
.hero-ambient-stars {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
}

.star-particle {
  position: absolute;
  color: #F2C14E;
  font-size: 14px;
  line-height: 1;
  text-shadow: 0 0 8px rgba(242, 193, 78, 0.6);
  pointer-events: none;
  will-change: transform, opacity;
}

.star-p1 { animation: starTwinkle 4s ease-in-out infinite; font-size: 15px; color: #F2C14E; }
.star-p2 { animation: starTwinkle 5.5s ease-in-out infinite 1s; font-size: 11px; color: #ffffff; text-shadow: 0 0 6px rgba(255,255,255,0.7); }
.star-p3 { animation: starTwinkle 4.8s ease-in-out infinite 2s; font-size: 14px; color: #F2C14E; }
.star-p4 { animation: starTwinkle 6.2s ease-in-out infinite 0.5s; font-size: 10px; color: #E8F4F1; }

@keyframes starTwinkle {
  0%, 100% { opacity: 0.15; transform: scale(0.75); }
  50% { opacity: 0.9; transform: scale(1.15); }
}

/* --- Services Section --- */
.services-section { position: relative; }
.services-card {
  background: rgba(255,255,255,0.1); backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  border-radius: 24px; padding: 32px;
}
@media (min-width: 640px) { .services-card { padding: 40px; } }
@media (min-width: 1024px) { .services-card { padding: 48px; } }

/* Mobile services card — premium glass effect */
@media (max-width: 767px) {
  .services-card {
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(16px) saturate(1.2);
    -webkit-backdrop-filter: blur(16px) saturate(1.2);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 8px 32px rgba(11,61,74,0.15);
  }
}
.services-header {
  display: flex; flex-direction: column; justify-content: space-between;
  gap: 40px; align-items: flex-end;
}
@media (min-width: 1024px) { .services-header { flex-direction: row; align-items: flex-end; } }
.services-label { font-size: 0.875rem; font-weight: 700; color: #1A7A6D; margin-bottom: 16px; }
.services-title {
  font-size: 1.875rem; font-weight: 800; color: #0B3D4A;
  line-height: 1.35; text-wrap: balance;
}
@media (min-width: 640px) { .services-title { font-size: 2.25rem; } }
@media (min-width: 1024px) { .services-title { font-size: 2.6rem; } }
.services-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.services-desc { max-width: 448px; font-size: 1rem; line-height: 1.75; color: #334155; }

/* --- Dashboard Mockup --- */
.dashboard {
  margin-top: 40px; overflow: hidden; border-radius: 16px;
  background: #0c0c0e; direction: ltr; text-align: left;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
}

/* Mobile dashboard — compact, premium */
@media (max-width: 767px) {
  .dashboard {
    margin-top: 24px;
    border-radius: 14px;
    box-shadow: 0 16px 40px -8px rgba(0,0,0,0.3);
  }
}
.dashboard-inner { display: flex; }
.dashboard-sidebar {
  display: none; width: 208px; flex-shrink: 0;
  flex-direction: column; justify-content: space-between;
  border-right: 1px solid rgba(255,255,255,0.05); padding: 16px;
}
@media (min-width: 1024px) { .dashboard-sidebar { display: flex; } }
.sidebar-top { display: flex; flex-direction: column; gap: 6px; }
.sidebar-logo { display: flex; align-items: center; gap: 8px; margin: 4px 0 16px 8px; }
.sidebar-logo-box { width: 20px; height: 20px; border-radius: 4px; background: rgba(255,255,255,0.9); }
.sidebar-logo-text { height: 10px; width: 64px; border-radius: 99px; background: rgba(255,255,255,0.2); }
.sidebar-item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: 8px; font-size: 0.75rem;
}
.sidebar-item svg { width: 14px; height: 14px; flex-shrink: 0; }
.sidebar-item.active {
  border: 1px solid rgba(255,255,255,0.1); background: rgba(255,255,255,0.05);
  color: #fff; font-weight: 500;
}
.sidebar-item:not(.active) { color: #71717a; }
.sidebar-item .badge {
  margin-left: auto; background: rgba(255,255,255,0.1);
  padding: 2px 8px; border-radius: 99px; font-size: 10px; color: #d4d4d8;
}
.sidebar-bottom { display: flex; flex-direction: column; gap: 6px; }
.sidebar-promo {
  display: flex; align-items: flex-start; gap: 10px;
  margin-top: 8px; border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.05); border-radius: 8px; padding: 12px;
}
.sidebar-promo svg { margin-top: 2px; width: 14px; height: 14px; color: #d4d4d8; flex-shrink: 0; }
.sidebar-promo p:first-child { font-size: 11px; font-weight: 500; color: #e4e4e7; }
.sidebar-promo p:last-child { font-size: 10px; color: #71717a; }

/* Dashboard Main */
.dashboard-main { flex: 1; min-width: 0; padding: 16px; }
@media (min-width: 640px) { .dashboard-main { padding: 20px; } }
.dashboard-topbar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; margin-bottom: 16px;
}
.dashboard-topbar-left p:first-child { font-size: 10px; color: #71717a; }
.dashboard-topbar-left p:last-child { font-size: 1.125rem; font-weight: 500; color: #fff; }
.dashboard-topbar-right { display: flex; align-items: center; gap: 12px; }
.dashboard-topbar-right svg { width: 16px; height: 16px; color: #a1a1aa; }
.search-box {
  display: flex; align-items: center; gap: 8px;
  border: 1px solid rgba(255,255,255,0.1); background: rgba(255,255,255,0.05);
  border-radius: 8px; padding: 8px 12px;
}
.search-box svg { width: 14px; height: 14px; color: #71717a; }
.search-box span { font-size: 0.75rem; color: #71717a; }

/* Dashboard Grid */
.dash-grid { display: grid; gap: 16px; }
@media (min-width: 1280px) { .dash-grid { grid-template-columns: 1fr 280px; } }
.dash-left { display: flex; flex-direction: column; gap: 16px; }
.dash-right { display: flex; flex-direction: column; gap: 16px; }
.dash-card {
  border: 1px solid rgba(255,255,255,0.05);
  background: rgba(255,255,255,0.02); border-radius: 12px; padding: 16px;
}
.dash-card-header {
  display: flex; align-items: center; justify-content: space-between;
}
.dash-card-header p { font-size: 0.75rem; color: #a1a1aa; }
.time-tabs { display: flex; gap: 4px; }
.time-tab {
  padding: 4px 10px; border-radius: 99px; font-size: 10px; color: #a1a1aa;
}
.time-tab.active { background: #fff; color: #1a1a1a; font-weight: 500; }
.dash-balance {
  font-size: 1.5rem; font-weight: 500; color: #fff; margin-top: 4px;
}
@media (min-width: 640px) { .dash-balance { font-size: 1.875rem; } }
.dash-balance .positive { font-size: 0.75rem; color: #34d399; vertical-align: middle; }

/* Chart */
.dash-chart { margin-top: 12px; }
.dash-chart svg { width: 100%; height: 144px; }
.chart-labels {
  display: flex; justify-content: space-between; padding: 0 4px;
  font-size: 9px; color: #52525b;
}

/* Assets Table */
.dash-table { margin-top: 12px; }
.dash-table-title { font-size: 1rem; font-weight: 500; color: #fff; margin-bottom: 12px; }
.dash-table-wrap { overflow-x: auto; }
.dash-table { width: 100%; min-width: 520px; font-size: 0.75rem; }
.dash-table th {
  text-align: left; padding-bottom: 8px; font-size: 10px;
  font-weight: 400; color: #71717a;
}
.dash-table td {
  padding: 10px 0; border-top: 1px solid rgba(255,255,255,0.05); color: #d4d4d8;
}
.dash-table .name-cell { display: flex; align-items: center; gap: 8px; }
.dash-table .coin-icon {
  width: 20px; height: 20px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; color: #fff; flex-shrink: 0;
}
.dash-table .coin-name { color: #fff; }
.dash-table .coin-ticker { font-size: 9px; color: #71717a; }
.dash-table .up { color: #34d399; }
.dash-table .down { color: #f87171; }

/* Quick Swap */
.swap-card { margin-top: 16px; }
.swap-card-title { font-size: 1rem; font-weight: 500; color: #fff; margin-bottom: 12px; }
.swap-box {
  border: 1px solid rgba(255,255,255,0.1); background: rgba(255,255,255,0.05);
  border-radius: 8px; padding: 12px;
}
.swap-row { display: flex; align-items: center; justify-content: space-between; }
.swap-value { font-size: 0.875rem; color: #fff; }
.swap-token {
  display: flex; align-items: center; gap: 4px;
  background: rgba(255,255,255,0.1); padding: 4px 8px;
  border-radius: 99px; font-size: 10px; color: #e4e4e7;
}
.swap-token-dot { width: 12px; height: 12px; border-radius: 50%; flex-shrink: 0; }
.swap-divider {
  position: relative; z-index: 10; width: 28px; height: 28px;
  margin: -8px auto; display: flex; align-items: center; justify-content: center;
  border-radius: 50%; border: 1px solid rgba(255,255,255,0.1);
  background: #141416;
}
.swap-divider svg { width: 12px; height: 12px; color: #d4d4d8; }
.swap-balance { margin-top: 8px; font-size: 10px; color: #71717a; }
.swap-btn {
  width: 100%; margin-top: 12px; display: flex; align-items: center;
  justify-content: center; gap: 4px; border-radius: 8px;
  background: rgba(255,255,255,0.1); padding: 10px;
  font-size: 0.75rem; color: #fff; border: none; cursor: pointer;
}

/* Pie Chart */
.pie-card { margin-top: 16px; }
.pie-card-title { font-size: 1rem; font-weight: 500; color: #fff; margin-bottom: 12px; }
.pie-chart { display: block; margin: 0 auto; width: 144px; height: 144px; }
.pie-legend {
  display: flex; justify-content: space-between; margin-top: 8px;
  font-size: 9px; color: #71717a;
}
.pie-legend span { display: flex; align-items: center; gap: 4px; }
.pie-legend-dot { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; }

/* Bottom Row */
.dash-bottom {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 16px;
}
.dash-bottom-item {
  height: 64px; border-radius: 12px 12px 0 0;
  border: 1px solid rgba(255,255,255,0.05); border-bottom: none;
  background: rgba(255,255,255,0.02); padding: 16px;
}
.dash-bottom-item p { font-size: 0.875rem; font-weight: 500; color: #a1a1aa; }

/* --- Features Section --- */
.features-section { background: #062027; color: #ffffff; border-top: 1px solid rgba(255,255,255,0.08); }
.features-inner { padding: 112px 0; }
.features-header { max-width: 640px; margin: 0 auto; text-align: center; }
.features-label { font-size: 0.875rem; font-weight: 500; color: rgba(232, 244, 241, 0.8); margin-bottom: 24px; }
.features-title {
  font-size: 1.875rem; font-weight: 500; color: #ffffff;
  line-height: 1.35; text-wrap: balance;
}
@media (min-width: 640px) { .features-title { font-size: 2.25rem; } }
@media (min-width: 1024px) { .features-title { font-size: 2.6rem; } }
.features-desc {
  margin-top: 20px; font-size: 1rem; line-height: 1.75; color: rgba(255,255,255,0.75);
  text-wrap: pretty;
}
.features-grid {
  display: grid; gap: 32px; margin-top: 64px;
}
@media (min-width: 768px) { .features-grid { grid-template-columns: repeat(3, 1fr); } }

/* Mobile features — stacked layout */
@media (max-width: 767px) {
  .features-inner {
    padding: 64px 0;
  }
  .features-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    margin-top: 40px;
  }
  .feature-card {
    gap: 16px;
  }
  .feature-img {
    border-radius: 16px;
    aspect-ratio: 16/10;
  }
}
.feature-card { display: flex; flex-direction: column; gap: 24px; }
.feature-img {
  aspect-ratio: 11/10; width: 100%; border-radius: 16px;
  object-fit: cover; background: #0B3D4A; border: 1px solid rgba(255,255,255,0.1);
}
.feature-icon-row { display: flex; align-items: flex-start; gap: 16px; }
.feature-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: rgba(26,122,109,0.25); border: 1px solid rgba(242,193,78,0.3); color: #F2C14E;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.feature-icon svg { width: 20px; height: 20px; }
.feature-name { font-size: 1.125rem; font-weight: 500; color: #ffffff; }
.feature-desc { margin-top: 6px; font-size: 0.875rem; line-height: 1.75; color: rgba(255,255,255,0.7); }

/* --- Feature Details --- */
.details-section { background: #062027; color: #ffffff; }
.details-inner { padding-bottom: 112px; }
.details-header {
  display: flex; flex-direction: column; justify-content: space-between;
  gap: 24px; align-items: flex-end;
}
@media (min-width: 1024px) { .details-header { flex-direction: row; align-items: flex-end; } }
.details-label { font-size: 0.875rem; font-weight: 500; color: rgba(232, 244, 241, 0.8); margin-bottom: 16px; }
.details-title { font-size: 2.25rem; font-weight: 500; color: #ffffff; }
@media (min-width: 640px) { .details-title { font-size: 3rem; } }
.details-desc { max-width: 448px; font-size: 1rem; line-height: 1.75; color: rgba(255,255,255,0.75); text-wrap: pretty; }
.details-list { display: flex; flex-direction: column; gap: 40px; margin-top: 64px; }
.detail-card {
  max-width: 1024px; margin: 0 auto; width: 100%;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(11,61,74,0.85) 0%, rgba(8,41,50,0.95) 100%);
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  padding: 32px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.4);
}
@media (min-width: 640px) { .detail-card { padding: 48px; } }
@media (min-width: 1024px) { .detail-card { padding: 64px; } }

/* Mobile detail cards — premium styling */
@media (max-width: 767px) {
  .detail-card {
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  }
  .detail-inner {
    flex-direction: column;
    gap: 24px;
  }
  .detail-tag {
    margin-bottom: 16px;
  }
  .detail-name {
    font-size: 1.5rem;
    line-height: 1.3;
  }
}
.detail-inner {
  display: flex; flex-direction: column; gap: 40px; align-items: center;
}
@media (min-width: 1024px) {
  .detail-inner { flex-direction: row; }
  .detail-card.reverse .detail-inner { flex-direction: row-reverse; }
}
.detail-text { flex: 1; }
.detail-tag {
  display: inline-block; border-radius: 99px;
  background: rgba(26,122,109,0.3); color: #F2C14E;
  border: 1px solid rgba(242,193,78,0.3);
  padding: 6px 14px; font-size: 0.75rem; font-weight: 600;
  margin-bottom: 24px;
}
.detail-name {
  font-size: 1.875rem; font-weight: 500; color: #ffffff;
  line-height: 1.3; text-wrap: balance;
}
@media (min-width: 640px) { .detail-name { font-size: 2.25rem; } }
.detail-desc {
  margin-top: 16px; max-width: 448px; font-size: 0.875rem;
  line-height: 1.75; color: rgba(255,255,255,0.75);
}
.detail-btn { margin-top: 32px; }
.detail-img-wrap { flex: 1; position: relative; }
.detail-number {
  position: absolute; top: -8px; right: 8px; z-index: 10;
  font-size: 1.125rem; font-weight: 600; color: rgba(242,193,78,0.4);
}
.detail-img {
  aspect-ratio: 5/4; width: 100%; border-radius: 16px;
  object-fit: cover; border: 1px solid rgba(255,255,255,0.1);
}

/* --- Solutions Section --- */
.solutions-section {
  background: linear-gradient(180deg, #062027 0%, #0B3D4A 50%, #082932 100%);
  border-top: 1px solid rgba(255,255,255,0.08);
}
.solutions-inner { padding: 112px 0; }
.solutions-grid { display: grid; gap: 56px; }
@media (min-width: 1024px) { .solutions-grid { grid-template-columns: 1fr 1fr; } }
.solutions-intro { position: sticky; top: 128px; align-self: flex-start; }
.solutions-label { font-size: 0.875rem; font-weight: 500; color: rgba(255,255,255,0.8); margin-bottom: 24px; }
.solutions-title {
  font-size: 1.875rem; font-weight: 500; color: #fff;
  line-height: 1.35; text-wrap: balance;
}
@media (min-width: 640px) { .solutions-title { font-size: 2.25rem; } }
@media (min-width: 1024px) { .solutions-title { font-size: 2.6rem; } }
.solutions-desc {
  margin-top: 20px; max-width: 448px; font-size: 1rem;
  line-height: 1.75; color: rgba(255,255,255,0.9); text-wrap: pretty;
}
.solutions-cards { display: flex; flex-direction: column; gap: 24px; }
.solution-card {
  background: rgba(255,255,255,0.15); backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 24px; padding: 32px;
}
@media (min-width: 640px) { .solution-card { padding: 40px; } }

/* Mobile solution cards — premium glass effect */
@media (max-width: 767px) {
  .solution-card {
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(16px) saturate(1.2);
    -webkit-backdrop-filter: blur(16px) saturate(1.2);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 8px 32px rgba(11,61,74,0.15);
  }
}
.solution-card-title {
  font-size: 1.5rem; font-weight: 500; color: #fff; line-height: 1.35;
}
.solution-card-desc {
  margin-top: 12px; line-height: 1.75; color: rgba(255,255,255,0.9);
}

/* Solution Card: Grid mockup */
.solution-grid {
  position: relative; margin-bottom: 32px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
}
.solution-grid-item {
  aspect-ratio: 1; border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.25);
  display: flex; align-items: center; justify-content: center;
}
.solution-grid-item.active { background: rgba(255,255,255,0.2); }
.solution-grid-item svg { width: 20px; height: 20px; color: rgba(255,255,255,0.7); }
.solution-cursor {
  position: absolute; left: 38%; top: 55%;
  width: 28px; height: 28px; color: #fff; fill: #3f3f46;
}

/* Solution Card: Slider mockup */
.solution-slider {
  margin-top: 32px; border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.25); background: rgba(255,255,255,0.1);
  padding: 20px;
}
.solution-dots { display: flex; gap: 6px; }
.solution-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.4); }
.solution-bar {
  margin-top: 16px; height: 32px; width: 96px;
  border-radius: 99px; background: rgba(113,113,122,0.7);
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
}
.solution-input {
  margin-top: 12px; display: flex; align-items: center;
  justify-content: space-between; height: 48px;
  border-radius: 99px; background: rgba(63,63,70,0.8);
  padding: 0 16px; box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1);
}
.solution-input-bar { height: 6px; width: 128px; border-radius: 99px; background: rgba(255,255,255,0.3); }
.solution-input-btn {
  display: flex; align-items: center; justify-content: center;
  height: 32px; width: 80px; border-radius: 99px; background: #71717a;
}
.solution-input-btn-bar { height: 6px; width: 48px; border-radius: 99px; background: rgba(255,255,255,0.7); }
.solution-list { margin-top: 16px; display: flex; flex-direction: column; gap: 10px; }
.solution-list-item {
  display: flex; align-items: center; justify-content: space-between;
}
.solution-list-left { display: flex; align-items: center; gap: 8px; }
.solution-list-left svg { width: 12px; height: 12px; color: rgba(255,255,255,0.4); }
.solution-list-left span { height: 6px; width: 80px; border-radius: 99px; background: rgba(255,255,255,0.25); }
.solution-list-right { height: 6px; width: 56px; border-radius: 99px; background: rgba(255,255,255,0.25); }

/* Solution Card: Cards mockup */
.solution-cards-grid {
  margin-bottom: 32px; display: grid;
  grid-template-columns: repeat(3, 1fr); gap: 12px;
}
.solution-card-item {
  aspect-ratio: 4/3; border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.25);
  display: flex; flex-direction: column; justify-content: flex-end;
  gap: 8px; padding: 16px;
}
.solution-card-bar { height: 6px; border-radius: 99px; background: rgba(255,255,255,0.3); }
.solution-card-bar.short { width: 50%; background: rgba(255,255,255,0.2); }

/* --- Clients Section --- */
.clients-section {
  background: linear-gradient(135deg, #5BC8D6 0%, #3aadbe 50%, #2a9aae 100%);
}
.clients-inner { padding: 96px 0; }
.clients-header { max-width: 640px; margin: 0 auto; text-align: center; }
.clients-label { font-size: 0.875rem; font-weight: 500; color: rgba(255,255,255,0.8); margin-bottom: 24px; }
.clients-title {
  font-size: 1.875rem; font-weight: 500; color: #fff;
  line-height: 1.35; text-wrap: balance;
}
@media (min-width: 640px) { .clients-title { font-size: 2.25rem; } }
@media (min-width: 1024px) { .clients-title { font-size: 2.6rem; } }
.clients-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 1px; margin-top: 56px;
}
@media (min-width: 640px) { .clients-grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1024px) { .clients-grid { grid-template-columns: repeat(8, 1fr); } }
.client-cell {
  height: 160px; display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.1); backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}
.client-cell:first-child { border-radius: 0 16px 16px 0; }
.client-cell:last-child { border-radius: 16px 0 0 16px; }
.client-cell img {
  height: 32px; width: auto; max-width: 70%;
  filter: brightness(0) invert(1); object-fit: contain;
}
.client-cell .text-logo {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.125rem; font-weight: 600; letter-spacing: 0.25em; color: #fff;
}

/* Mobile clients — smaller cells */
@media (max-width: 767px) {
  .clients-inner {
    padding: 64px 0;
  }
  .clients-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    margin-top: 40px;
  }
  .client-cell {
    height: 100px;
  }
  .client-cell img {
    height: 24px;
  }
}

/* --- Footer --- */
.footer { background: #1a1a1a; padding: 48px 0; }
.footer-inner {
  display: flex; flex-direction: column; align-items: center;
  justify-content: space-between; gap: 24px;
}
@media (min-width: 768px) { .footer-inner { flex-direction: row; } }
.footer-brand { text-align: center; }
@media (min-width: 768px) { .footer-brand { text-align: right; } }
.footer-logo { font-size: 1.5rem; font-weight: 500; color: #fff; }
.footer-tagline { margin-top: 8px; font-size: 0.875rem; color: rgba(255,255,255,0.5); }
.footer-links { display: flex; gap: 24px; font-size: 0.875rem; color: rgba(255,255,255,0.5); }
.footer-links a:hover { color: #fff; transition: color 200ms; }
.footer-divider {
  margin-top: 32px; border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 32px; text-align: center;
}
.footer-copy { font-size: 0.875rem; color: rgba(255,255,255,0.3); }

/* Mobile footer — stacked, centered */
@media (max-width: 767px) {
  .footer {
    padding: 40px 0;
  }
  .footer-inner {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }
  .footer-brand {
    text-align: center;
  }
  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
  }
}

/* --- Focus Visible (A11y) --- */
:focus-visible { outline: 2px solid #5BC8D6; outline-offset: 2px; border-radius: 4px; }
:focus:not(:focus-visible) { outline: none; }

/* --- Alpine.js x-cloak --- */
[x-cloak] { display: none !important; }

/* --- Skip Navigation (sr-only) --- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}
.focus\:not-sr-only:focus {
  position: fixed;
  width: auto;
  height: auto;
  padding: 0.5rem 1rem;
  margin: 0;
  overflow: visible;
  clip: auto;
  white-space: normal;
}
.focus\:fixed:focus { position: fixed; }
.focus\:top-4:focus { top: 1rem; }
.focus\:left-4:focus { left: 1rem; }
.focus\:z-\[999\]:focus { z-index: 999; }
.focus\:rounded-lg:focus { border-radius: 0.5rem; }
.focus\:bg-\[\#F2C14E\]:focus { background-color: #F2C14E; }
.focus\:px-4:focus { padding-left: 1rem; padding-right: 1rem; }
.focus\:py-2:focus { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.focus\:text-sm:focus { font-size: 0.875rem; line-height: 1.25rem; }
.focus\:font-semibold:focus { font-weight: 600; }
.focus\:text-\[\#0B3D4A\]:focus { color: #0B3D4A; }
.focus\:shadow-lg:focus { box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1); }

/* --- Reduced Motion --- */
@media (prefers-reduced-motion: reduce) {
  .hero-orb { animation: none !important; }
  html { scroll-behavior: auto; }
  * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}

/* --- Selection --- */
::selection { background: rgba(91,200,214,0.3); color: inherit; }

/* --- Mobile Register Section --- */
@media (max-width: 767px) {
  #register {
    padding: 64px 0;
  }
  #register .pill-btn {
    width: 100%;
    justify-content: center;
    min-height: 52px;
  }
  #register .flex.items-center.justify-center.gap-6 {
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
  }
  #register .flex.items-center.gap-2 {
    font-size: 0.8125rem;
  }
}

/* --- Mobile --- */
@media (max-width: 767px) {
  .orb-1 { width: 300px; height: 300px; }
  .orb-2 { width: 250px; height: 250px; }
  .orb-3 { width: 200px; height: 200px; }

  /* Mobile mesh gradient — ensure it renders */
  .mesh-gradient {
    background:
      radial-gradient(ellipse 80% 60% at 30% 40%, rgba(11,61,74,0.7), transparent 70%),
      radial-gradient(ellipse 60% 80% at 70% 60%, rgba(26,122,109,0.6), transparent 60%),
      radial-gradient(ellipse 50% 50% at 50% 50%, rgba(242,193,78,0.12), transparent 50%),
      linear-gradient(135deg, #0B3D4A 0%, #1A7A6D 40%, #2a9aae 70%, #145E54 100%);
  }

  /* Mobile hero section refinements */
  .hero-section {
    min-height: 100svh;
    padding-top: 70px;
    padding-bottom: 40px;
  }

  /* Mobile services card */
  .services-card {
    padding: 24px;
    border-radius: 20px;
  }

  /* Mobile solution cards */
  .solution-card {
    padding: 24px;
    border-radius: 20px;
  }

  /* Mobile feature details */
  .detail-card {
    padding: 24px;
    border-radius: 20px;
  }
}

/* ============================================
   PREMIUM EFFECTS — Overdrive
   ============================================ */

/* --- Z-Index Scale ---
   1: mesh-gradient (inside hero-section)
   2: particles (inside hero-section)
   5: noise overlay (inside hero-section)
   10: hero-section (relative z-10)
   20: scroll-reveal content
   30: 3D card
   50: navigation (fixed)
*/

/* --- Navigation z-index & Google Labs Blur --- */
.navbar-fixed { z-index: 50 !important; }
header { z-index: 50 !important; }

/* ============================================
   FLOATING EMERALD GLASSMORPHISM PILL NAVBAR
   ============================================ */
.site-header-wrapper {
  position: fixed !important;
  top: 12px !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  z-index: 9999 !important;
  pointer-events: none !important;
  transform: none !important;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

@media (min-width: 640px) {
  .site-header-wrapper {
    top: 18px !important;
  }
}

.site-header-capsule {
  pointer-events: auto !important;
  background: rgba(6, 26, 20, 0.85) !important;
  -webkit-backdrop-filter: blur(24px) saturate(1.8) !important;
  backdrop-filter: blur(24px) saturate(1.8) !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  border-radius: 9999px !important;
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5), 0 0 25px -5px rgba(14, 92, 70, 0.35) !important;
  transition: all 0.3s ease !important;
}

/* Nav links styling inside capsule */
.site-header-capsule nav a {
  color: rgba(255, 255, 255, 0.82) !important;
  transition: all 0.2s ease !important;
}

.site-header-capsule nav a:hover {
  color: #F2C14E !important;
  text-shadow: 0 0 12px rgba(242, 193, 78, 0.5);
}

.site-header-capsule .logo-glow {
  color: #ffffff !important;
}

.site-header-capsule .btn-header-login {
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.1) !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  transition: all 0.2s ease !important;
}

.site-header-capsule .btn-header-login:hover {
  background: rgba(255, 255, 255, 0.2) !important;
  border-color: rgba(255, 255, 255, 0.45) !important;
}

.site-header-capsule .btn-header-register {
  background: linear-gradient(135deg, #F2C14E 0%, #E5A93C 100%) !important;
  color: #0B3D4A !important;
  border: none !important;
}

/* --- Hide hamburger on desktop --- */
@media (min-width: 768px) {
  header button[aria-label="منو"] { display: none !important; }
}

/* --- Mobile Menu Premium Polish --- */
@media (max-width: 767px) {
  /* Smooth backdrop blur on mobile menu */
  .backdrop-blur-lg {
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
  }

  /* Active nav link indicator */
  nav a.active {
    background: rgba(26, 122, 109, 0.3);
    color: #fff;
  }
  nav a.active span:first-child {
    background: #1A7A6D;
    color: #fff;
  }

  /* Mobile menu slide animation */
  [x-cloak] { display: none !important; }

  /* Mobile menu items — better touch targets */
  nav a {
    min-height: 48px;
    padding: 12px 16px;
  }

  /* Mobile menu CTA — bigger touch target */
  nav .rounded-2xl.bg-gradient-to-br {
    padding: 16px;
  }
  nav .rounded-2xl.bg-gradient-to-br a {
    min-height: 52px;
    font-size: 0.9375rem;
  }
}

/* --- Mesh Gradient Animation --- */
@property --mesh-angle {
  syntax: '<angle>';
  initial-value: 135deg;
  inherits: false;
}
@property --mesh-x1 {
  syntax: '<percentage>';
  initial-value: 30%;
  inherits: false;
}
@property --mesh-y1 {
  syntax: '<percentage>';
  initial-value: 40%;
  inherits: false;
}
@property --mesh-x2 {
  syntax: '<percentage>';
  initial-value: 70%;
  inherits: false;
}
@property --mesh-y2 {
  syntax: '<percentage>';
  initial-value: 60%;
  inherits: false;
}
@property --mesh-opacity {
  syntax: '<number>';
  initial-value: 1;
  inherits: false;
}

.mesh-gradient {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse 80% 60% at var(--mesh-x1) var(--mesh-y1), rgba(11,61,74,0.5), transparent 70%),
    radial-gradient(ellipse 60% 80% at var(--mesh-x2) var(--mesh-y2), rgba(26,122,109,0.4), transparent 60%),
    radial-gradient(ellipse 50% 50% at 50% 50%, rgba(242,193,78,0.08), transparent 50%),
    linear-gradient(var(--mesh-angle), #0B3D4A 0%, #1A7A6D 40%, #2a9aae 70%, #145E54 100%);
  opacity: var(--mesh-opacity);
  animation: meshShift 20s ease-in-out infinite;
}

/* Vignette overlay for depth */
.mesh-gradient::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 50%, transparent 40%, rgba(11,61,74,0.4) 100%);
  pointer-events: none;
}

@keyframes meshShift {
  0% {
    --mesh-angle: 135deg;
    --mesh-x1: 20%;
    --mesh-y1: 30%;
    --mesh-x2: 80%;
    --mesh-y2: 70%;
    --mesh-opacity: 1;
    transform: scale(1);
  }
  33% {
    --mesh-angle: 180deg;
    --mesh-x1: 60%;
    --mesh-y1: 20%;
    --mesh-x2: 30%;
    --mesh-y2: 80%;
    --mesh-opacity: 0.95;
    transform: scale(1.02);
  }
  66% {
    --mesh-angle: 225deg;
    --mesh-x1: 80%;
    --mesh-y1: 60%;
    --mesh-x2: 20%;
    --mesh-y2: 30%;
    --mesh-opacity: 1;
    transform: scale(1);
  }
  100% {
    --mesh-angle: 270deg;
    --mesh-x1: 40%;
    --mesh-y1: 80%;
    --mesh-x2: 60%;
    --mesh-y2: 20%;
    --mesh-opacity: 0.95;
    transform: scale(1.02);
  }
}

/* Fallback for browsers without @property */
@supports not (background: paint(something)) {
  .mesh-gradient {
    background: linear-gradient(135deg, #5BC8D6 0%, #3aadbe 50%, #2a9aae 100%);
    animation: meshFallback 8s ease-in-out infinite alternate;
  }
  @keyframes meshFallback {
    0% { opacity: 1; }
    50% { opacity: 0.92; }
    100% { opacity: 1; }
  }
}

/* --- Logo Glow (premium: subtle, refined) --- */
.logo-glow {
  text-shadow:
    0 0 30px rgba(255,255,255,0.15),
    0 0 60px rgba(91,200,214,0.1),
    0 0 100px rgba(91,200,214,0.05);
  animation: logoPulse 6s ease-in-out infinite;
  letter-spacing: 0.02em;
}

/* Mobile logo glow */
@media (max-width: 767px) {
  .logo-glow {
    text-shadow:
      0 0 20px rgba(255,255,255,0.2),
      0 0 40px rgba(91,200,214,0.15),
      0 0 80px rgba(91,200,214,0.08);
  }
}

@keyframes logoPulse {
  0%, 100% {
    text-shadow:
      0 0 30px rgba(255,255,255,0.15),
      0 0 60px rgba(91,200,214,0.1),
      0 0 100px rgba(91,200,214,0.05);
  }
  50% {
    text-shadow:
      0 0 40px rgba(255,255,255,0.2),
      0 0 80px rgba(91,200,214,0.15),
      0 0 120px rgba(91,200,214,0.08);
  }
}

/* --- CTA Glow on Hover (premium: inner border + refined shadow) --- */
.cta-glow {
  position: relative;
  will-change: transform, box-shadow;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.cta-glow:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow:
    0 8px 25px -5px rgba(242,193,78,0.35),
    0 16px 40px -10px rgba(11,61,74,0.2),
    inset 0 1px 0 rgba(255,255,255,0.2);
}
.cta-glow:active {
  transform: translateY(0) scale(0.98);
  transition-duration: 0.1s;
}
.cta-glow.pill-btn-white:hover {
  box-shadow:
    0 4px 15px rgba(255,255,255,0.3),
    0 8px 30px rgba(91,200,214,0.2);
}
.cta-glow.pill-btn-glass:hover {
  box-shadow:
    0 4px 15px rgba(255,255,255,0.15),
    0 8px 30px rgba(91,200,214,0.1);
}
.cta-glow:active {
  transform: translateY(0) scale(0.98);
}

/* Mobile CTA — bigger touch targets, stronger shadows */
@media (max-width: 767px) {
  .cta-glow {
    min-height: 52px;
    font-size: 1rem;
    padding: 16px 24px;
  }
  .cta-glow:active {
    transform: scale(0.97);
  }
}

/* --- Glassmorphism Cards ---
   Only on .glass-card and .glass-badge — never on overflow:hidden containers */
.glass-card {
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  border: 1px solid rgba(255,255,255,0.12);
}
.glass-badge {
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(8px) saturate(1.1);
  -webkit-backdrop-filter: blur(8px) saturate(1.1);
  border: 1px solid rgba(255,255,255,0.15);
}

/* --- Glass Effect Utility ---
   Single class for backdrop-filter. perf CSS strips this on mobile. */
.glass-effect {
  backdrop-filter: blur(12px) saturate(1.2);
  -webkit-backdrop-filter: blur(12px) saturate(1.2);
}

/* --- Scroll-Triggered Reveal (Safe & Progressive: Always Visible by Default) --- */
.scroll-reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.scroll-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.hero-text-content .scroll-reveal,
#top .scroll-reveal {
  opacity: 1 !important;
  transform: none !important;
}
.scroll-reveal[data-delay="100"] { transition-delay: 0.1s; }
.scroll-reveal[data-delay="200"] { transition-delay: 0.2s; }
.scroll-reveal[data-delay="300"] { transition-delay: 0.3s; }
.scroll-reveal[data-delay="400"] { transition-delay: 0.4s; }

/* --- 3D Card Hover (services mockup) --- */
.card-3d {
  transition: transform 0.15s ease-out, box-shadow 0.3s ease-out;
}
.card-3d:hover {
  box-shadow:
    0 20px 40px rgba(0,0,0,0.15),
    0 8px 16px rgba(0,0,0,0.1);
}

/* Mobile/Tablet — disable 3D rotation, keep static */
@media (max-width: 1023px) {
  [x-data*="rotateX"] {
    transform: none !important;
    transition: none !important;
  }
}

/* --- Particle Canvas --- */
#verita-particles {
  z-index: 2;
  pointer-events: none;
}

/* --- CTA Desktop Side-by-Side --- */
@media (min-width: 640px) {
  .hero-ctas {
    flex-direction: row !important;
    justify-content: center !important;
    gap: 0.75rem !important;
  }
}

/* --- Tablet Adjustments --- */
@media (min-width: 640px) and (max-width: 1023px) {
  #top {
    min-height: 96svh;
  }
}

/* --- Noise Overlay --- */
#top > .absolute.inset-0 > div:nth-child(3) {
  z-index: 5;
}

/* --- Reduced Motion Override --- */
@media (prefers-reduced-motion: reduce) {
  .mesh-gradient { animation: none !important; }
  .logo-glow { animation: none !important; }
  .scroll-reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    will-change: auto !important;
  }
  .cta-glow { transition: none !important; will-change: auto !important; }
  .cta-glow:hover { transform: none !important; }
  #verita-particles { display: none !important; }
  [x-show] { transition: none !important; }
}

/* --- Mobile Particle Disable --- */
@media (max-width: 767px) {
  #verita-particles { display: none !important; }
}

/* --- Mobile Hero Adjustments --- */
@media (max-width: 640px) {
  #top {
    padding: 80px 24px 40px;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  #top h1 {
    font-size: 1.875rem;
    line-height: 1.35;
    font-weight: 700;
  }
  #top p {
    font-size: 0.9375rem;
    line-height: 1.6;
  }

  /* Mobile CTA buttons — stacked, full width */
  .hero-ctas {
    flex-direction: column !important;
    width: 100%;
    gap: 12px !important;
  }
  .hero-ctas a {
    width: 100% !important;
    justify-content: center;
    padding: 12px 20px !important;
    font-size: 0.9375rem !important;
  }

  /* Mobile trust line */
  #top .scroll-reveal:last-child {
    margin-top: 24px;
  }
}

/* --- Mobile Landing Page Premium Polish --- */
@media (max-width: 767px) {
  /* Mobile sections — tighter padding */
  .services-section,
  .features-section,
  .solutions-section,
  .clients-section {
    padding-top: 48px;
    padding-bottom: 48px;
  }

  /* Mobile feature cards — stacked */
  .features-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  /* Mobile solutions grid — single column */
  .solutions-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  /* Mobile solution cards — reduced padding */
  .solution-card {
    padding: 20px;
  }

  /* Mobile detail cards — stacked layout */
  .detail-inner {
    flex-direction: column;
    gap: 24px;
  }

  /* Mobile clients grid */
  .clients-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
  }

  /* Mobile footer */
  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  /* Mobile register section */
  #register .pill-btn {
    width: 100%;
    justify-content: center;
  }

  /* Mobile benefit badges — wrap */
  #register .flex.items-center.justify-center.gap-6 {
    flex-wrap: wrap;
    gap: 12px;
  }

  /* Mobile dashboard mockup — hide sidebar, simplify */
  .dashboard-sidebar {
    display: none !important;
  }

  /* Mobile dashboard stats — 2 columns */
  .dash-grid {
    grid-template-columns: 1fr;
  }

  /* Mobile glass cards — better touch targets */
  .glass-card {
    min-height: 44px;
  }

  /* Mobile scroll reveal — faster animation */
  .scroll-reveal {
    transition-duration: 0.5s;
  }
}

/* --- Mobile Mesh Gradient Fallback --- */
@media (max-width: 767px) {
  .mesh-gradient {
    /* Ensure gradient renders on mobile with solid fallback */
    background:
      radial-gradient(ellipse 80% 60% at 30% 40%, rgba(11,61,74,0.7), transparent 70%),
      radial-gradient(ellipse 60% 80% at 70% 60%, rgba(26,122,109,0.6), transparent 60%),
      radial-gradient(ellipse 50% 50% at 50% 50%, rgba(242,193,78,0.12), transparent 50%),
      linear-gradient(135deg, #0B3D4A 0%, #1A7A6D 40%, #2a9aae 70%, #145E54 100%) !important;
  }

  /* Disable mesh animation on mobile for performance */
  .mesh-gradient {
    animation: meshFallback 8s ease-in-out infinite alternate !important;
  }

  /* Mobile dashboard mockup — better sizing */
  .dashboard {
    margin-top: 24px;
    border-radius: 16px;
  }

  /* Mobile glass cards — better touch targets */
  .glass-card {
    min-height: 44px;
  }
}

/* ============================================
   PHONE MOCKUP ANIMATION — Hero Section Only
   ============================================ */

/* --- Phone Mockup Container --- */
.phone-mockup-container {
  position: relative;
  perspective: 1200px;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* --- iPhone Frame --- */
/* --- Ambient Mesh Orbs & GPU Particle Canvas --- */
.ambient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.45;
  pointer-events: none;
  will-change: transform;
}
.orb-1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(26,122,109,0.7), transparent 70%);
  top: -150px; right: -100px;
  animation: orbPulse 14s ease-in-out infinite alternate;
}
.orb-2 {
  width: 450px; height: 450px;
  background: radial-gradient(circle, rgba(242,193,78,0.45), transparent 70%);
  bottom: -100px; left: -80px;
  animation: orbPulse 18s ease-in-out infinite alternate-reverse;
}
.orb-3 {
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(11,61,74,0.8), transparent 70%);
  top: 40%; left: 40%; transform: translate(-50%,-50%);
  animation: orbPulse 12s ease-in-out infinite alternate;
}
@keyframes orbPulse {
  0% { transform: scale(1) translate(0, 0); opacity: 0.4; }
  50% { transform: scale(1.12) translate(-20px, 15px); opacity: 0.6; }
  100% { transform: scale(0.92) translate(15px, -20px); opacity: 0.45; }
}

.phone-mockup-container {
  position: relative;
  z-index: 10;
}

/* --- Ultra-Realistic Titanium iPhone Mockup Frame (Ultra-Thin Bezel) --- */
.phone-frame {
  position: relative;
  z-index: 20; /* Phone sits in foreground */
  width: 300px;
  height: 612px;
  background: linear-gradient(145deg, #2b2e37 0%, #15171f 50%, #0c0d12 100%);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  border-radius: 51px;
  padding: 4px;
  box-shadow:
    0 35px 90px rgba(0, 0, 0, 0.65),
    0 15px 35px rgba(11, 61, 74, 0.45),
    inset 0 1px 2px rgba(255, 255, 255, 0.35),
    inset 0 -1px 2px rgba(0, 0, 0, 0.8);
  transform-style: preserve-3d;
  overflow: hidden;
  will-change: transform;
}

/* Metallic Side Hardware Buttons (Left: Volume/Mute, Right: Power) */
.phone-frame::before {
  content: '';
  position: absolute;
  left: -4px;
  top: 105px;
  width: 4px;
  height: 34px;
  background: linear-gradient(to right, #454955, #1a1b22);
  border-radius: 3px 0 0 3px;
  box-shadow: inset 0 1px 1px rgba(255,255,255,0.3), -2px 0 6px rgba(0,0,0,0.5);
}

.phone-frame::after {
  content: '';
  position: absolute;
  right: -4px;
  top: 125px;
  width: 4px;
  height: 58px;
  background: linear-gradient(to left, #454955, #1a1b22);
  border-radius: 0 3px 3px 0;
  box-shadow: inset 0 1px 1px rgba(255,255,255,0.3), 2px 0 6px rgba(0,0,0,0.5);
}

.phone-frame.tilted {
  transform: rotateY(-3deg) rotateX(-2deg) scale(0.98);
}

/* --- iPhone Dynamic Island --- */
.dynamic-island {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 22px;
  background: #000;
  border-radius: 18px;
  z-index: 35;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.6), inset 0 0 1px rgba(255,255,255,0.15);
}

.dynamic-island .camera-lens {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #090b10;
  border: 1px solid #1c1f26;
  box-shadow: inset 0 0 2px rgba(56, 189, 248, 0.4);
}

/* --- Inner Screen Bezel (Ultra-Thin) --- */
.phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  background: #f8fafc;
  border-radius: 47px;
  overflow: hidden;
  border: 1px solid #000;
  box-shadow: inset 0 0 4px rgba(0, 0, 0, 0.6);
}

/* --- iOS Home Bar Indicator --- */
.phone-home-bar {
  position: absolute;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 3.5px;
  background: rgba(0, 0, 0, 0.85);
  border-radius: 4px;
  z-index: 45;
  pointer-events: none;
}

/* --- iPhone Status Bar --- */
.phone-status-bar {
  position: absolute;
  top: 15px;
  left: 22px;
  right: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 35;
  font-size: 9.5px;
  font-weight: 700;
  color: #1e293b;
  letter-spacing: 0.5px;
  pointer-events: none;
}
.phone-status-bar .status-icons {
  display: flex;
  align-items: center;
  gap: 4px;
}

.phone-stage {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.phone-stage.active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

/* Stage 1: Google Maps Real App View */
.stage-map {
  background: #E8ECE9;
  position: relative;
  overflow: hidden;
  height: 100%;
}

.gmaps-top-container {
  position: absolute;
  top: 38px;
  left: 8px;
  right: 8px;
  z-index: 30;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.gmaps-search-bar {
  height: 38px;
  background: #ffffff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  padding: 0 10px;
  gap: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.14);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.gmaps-logo-g {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.gmaps-search-input {
  font-size: 10.5px;
  color: #1e293b;
  font-weight: 700;
  flex: 1;
}

.gmaps-filters-row {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
}

.gmaps-filter-chip {
  font-size: 8.5px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.95);
  color: #334155;
  border: 1px solid rgba(0, 0, 0, 0.08);
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.gmaps-filter-chip.active {
  background: #0E5C46;
  color: #ffffff;
  border-color: #0E5C46;
}

.gmaps-map-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.gmaps-poi-pin {
  position: absolute;
  top: 245px;
  left: 152px;
  transform: translate(-50%, -100%);
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
}

.gmaps-poi-pulse {
  position: absolute;
  bottom: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(234, 67, 53, 0.3);
  animation: gmapsPulse 2s ease-out infinite;
  transform: translateY(50%);
}

.gmaps-poi-card {
  background: #ffffff;
  border-radius: 8px;
  padding: 2px 6px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  gap: 3px;
  margin-bottom: 2px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  white-space: nowrap;
}

.gmaps-right-tools {
  position: absolute;
  top: 95px;
  right: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 25;
}

.gmaps-tool-btn {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  cursor: pointer;
}

.gmaps-tool-btn.active {
  color: #1A73E8;
}

.gmaps-bottom-sheet {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: #ffffff;
  border-radius: 24px 24px 0 0;
  padding: 8px 12px 24px;
  box-shadow: 0 -6px 25px rgba(0, 0, 0, 0.16);
  z-index: 35;
  border-top: 1px solid #e2e8f0;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.gmaps-bottom-sheet:hover {
  transform: translateY(-2px);
}

.sheet-drag-handle {
  width: 32px;
  height: 3.5px;
  background: #cbd5e1;
  border-radius: 3px;
  margin: 0 auto 6px;
}

.place-thumb-box {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, #0B3D4A, #1A7A6D);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 3px 8px rgba(11, 61, 74, 0.25);
  position: relative;
}

.place-thumb-badge {
  position: absolute;
  bottom: -2px;
  right: -2px;
  font-size: 7px;
  font-weight: 800;
  background: #F2C14E;
  color: #0B3D4A;
  padding: 1px 3px;
  border-radius: 4px;
}

.btn-sheet-primary {
  background: linear-gradient(135deg, #0E5C46 0%, #083B2D 100%);
  color: #ffffff;
  border-radius: 10px;
  border: none;
  padding: 7px 10px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(14, 92, 70, 0.3);
  transition: filter 0.15s, transform 0.15s;
}

.btn-sheet-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
}

/* Stage 2: Business Profile */
.stage-profile {
  background: #ffffff;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.gmaps-detail-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 36px 10px 8px;
  background: #ffffff;
  border-bottom: 1px solid #f1f5f9;
  flex-shrink: 0;
}

.btn-icon-back {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #334155;
  cursor: pointer;
  transition: background-color 0.15s;
}

.btn-icon-back:hover {
  background: #e2e8f0;
}

.btn-icon-small {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  font-size: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.profile-scroll-body {
  flex: 1;
  overflow-y: auto;
}

.gmaps-photo-banner {
  height: 85px;
  background: linear-gradient(135deg, #0B3D4A 0%, #1A7A6D 50%, #F2C14E 100%);
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 8px;
}

.photo-banner-overlay {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.btn-profile-review {
  width: 100%;
  height: 38px;
  border-radius: 11px;
  background: linear-gradient(135deg, #0E5C46 0%, #083B2D 100%);
  color: #ffffff;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(14, 92, 70, 0.35);
  transition: transform 0.15s, filter 0.15s;
}

.btn-profile-review:hover {
  transform: translateY(-1px);
  filter: brightness(1.08);
}

/* Stage 3: Review Form */
.stage-review {
  background: #ffffff;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.review-stars-input {
  display: flex;
  gap: 4px;
  direction: ltr;
}

.review-star-input {
  background: none;
  border: none;
  font-size: 22px;
  color: #cbd5e1;
  cursor: pointer;
  transition: transform 0.15s ease, color 0.15s ease;
  padding: 0 2px;
  line-height: 1;
}

.review-star-input.active {
  color: #f59e0b;
  filter: drop-shadow(0 2px 4px rgba(245, 158, 11, 0.4));
}

.review-star-input:hover {
  transform: scale(1.25);
}

.review-submit {
  width: 100%;
  height: 38px;
  background: linear-gradient(135deg, #0E5C46 0%, #083B2D 100%);
  color: #fff;
  border: none;
  border-radius: 11px;
  font-size: 10.5px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  box-shadow: 0 4px 14px rgba(14, 92, 70, 0.35);
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

.review-submit:hover {
  transform: translateY(-1px);
  filter: brightness(1.08);
}

.review-checkmark {
  display: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  color: #10b981;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.review-checkmark.show {
  display: flex;
  animation: checkmarkPop 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes checkmarkPop {
  0% { transform: scale(0); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.review-submit.done {
  background: #059669;
}

/* Toast Notification inside Phone */
.phone-reward-toast {
  position: absolute;
  bottom: 30px;
  left: 14px;
  right: 14px;
  background: rgba(15, 23, 42, 0.96);
  backdrop-filter: blur(12px);
  color: #fff;
  border: 1.5px solid rgba(242, 193, 78, 0.55);
  border-radius: 16px;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5), 0 0 14px rgba(242, 193, 78, 0.2);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.4s ease;
  opacity: 0;
  transform: translateY(20px) scale(0.94);
  z-index: 55;
  pointer-events: none;
  direction: rtl;
  text-align: right;
}

.phone-reward-toast.show {
  transform: translateY(0) scale(1);
  opacity: 1;
  pointer-events: auto;
}

.toast-badge-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, #F2C14E, #D97706);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(242, 193, 78, 0.4);
}

.toast-content {
  display: flex;
  flex-direction: column;
  gap: 1px;
  flex: 1;
  min-width: 0;
}

.toast-title {
  font-size: 10px;
  font-weight: 800;
  color: #F2C14E;
  line-height: 1.2;
}

.toast-text {
  font-size: 8px;
  font-weight: 600;
  color: #E2E8F0;
  line-height: 1.2;
}

/* Floating Verified Badges */
.review-badges-container {
  position: absolute;
  inset: 0;
  z-index: 10;
  pointer-events: none;
}

.review-badge-float {
  position: absolute;
  width: 185px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 14px;
  padding: 8px 12px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.16), 0 4px 8px rgba(11, 61, 74, 0.08);
  direction: rtl;
  text-align: right;
  pointer-events: auto;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.review-badge-float:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.22);
}

.review-badge-tl { top: 30px; left: -75px; animation: gentleFloat1 6s ease-in-out infinite; }
.review-badge-tr { top: 60px; right: -75px; animation: gentleFloat2 7s ease-in-out infinite 0.5s; }
.review-badge-bl { bottom: 85px; left: -80px; animation: gentleFloat2 6.5s ease-in-out infinite 1s; }
.review-badge-br { bottom: 45px; right: -75px; animation: gentleFloat1 7.2s ease-in-out infinite 1.5s; }

@keyframes gentleFloat1 {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

@keyframes gentleFloat2 {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

@media (max-width: 1023px) {
  .review-badges-container {
    display: none !important;
  }
  .phone-mockup-container {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    max-width: 100% !important;
    left: 0 !important;
    margin: 1.5rem auto 0 auto !important;
    padding: 0 0.5rem !important;
  }
  .phone-frame {
    width: 284px !important;
    height: 580px !important;
    border-radius: 46px !important;
    padding: 4px !important;
    transform: none !important;
    margin: 0 auto !important;
  }
  .phone-screen {
    border-radius: 42px !important;
  }
  .dynamic-island {
    width: 76px !important;
    height: 20px !important;
    top: 9px !important;
  }
  .phone-status-bar {
    top: 13px !important;
    left: 18px !important;
    right: 18px !important;
    font-size: 9px !important;
  }
}

@media (max-width: 360px) {
  .phone-frame {
    transform: scale(0.92) !important;
    transform-origin: top center !important;
  }
}

.btn-sheet-primary,
.btn-profile-review,
.review-submit,
.btn-icon-back,
.review-star-input,
.gmaps-bottom-sheet {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

/* Hero Text Content Global Color Enforcement (Mobile & Desktop) */
.hero-text-content span.text-xs {
  color: rgba(232, 244, 241, 0.9) !important;
}

.hero-text-content p {
  color: rgba(232, 244, 241, 0.82) !important;
}

[dir="rtl"] .phone-mockup-container { direction: ltr; }

/* Mobile Base (< 1024px) — Completely Centered */
.hero-text-content,
#phone-container,
.phone-mockup-container {
  position: relative;
  left: 0;
  margin-left: auto;
  margin-right: auto;
}

/* Desktop (>= 1024px) */
@media (min-width: 1024px) {
  .phone-mockup-container {
    max-width: 480px !important;
    margin: 0 !important;
    left: 135px !important;
    display: flex !important;
    justify-content: center !important;
    align-items: flex-start !important;
  }
  .hero-text-content {
    direction: rtl !important;
    text-align: right !important;
    align-items: flex-start !important;
    justify-content: center !important;
    padding-left: 0 !important;
    padding-right: 2.5rem !important;
    max-width: 580px !important;
    left: 35px !important;
  }
  .hero-text-content > * {
    text-align: right !important;
  }
  .hero-text-content p {
    margin-right: 0 !important;
    margin-left: auto !important;
    text-align: right !important;
    margin-bottom: 0.5rem !important;
  }
  .hero-text-content .hero-ctas {
    justify-content: flex-start !important;
    width: 100% !important;
    margin-top: 2rem !important;
  }
}





/* ============================================
   PREMIUM 5SETARE SERVICES SECTION (#SERVICES)
   Generous Breathing Space between Hero and Services
   ============================================ */
#services {
  background-color: #F8FAFC !important;
  scroll-margin-top: 140px !important;
  padding-top: 110px !important;
  padding-bottom: 80px !important;
}

@media (min-width: 640px) {
  #services {
    padding-top: 140px !important;
    padding-bottom: 90px !important;
  }
}

@media (min-width: 1024px) {
  #services {
    padding-top: 170px !important;
    padding-bottom: 110px !important;
  }
}

section[id] {
  scroll-margin-top: 120px;
}

/* Persian Headline Typography Fixes (Preventing Line Collisions, Letter Overlaps & Orphan Words) */
h1:not(.hero-text-content h1),
h2:not(.hero-text-content h2),
h3, h4, h5, h6 {
  letter-spacing: normal !important;
  text-wrap: balance !important;
}

h1:not(.hero-text-content h1) {
  line-height: 1.45 !important;
}

h2:not(.hero-text-content h2) {
  line-height: 1.5 !important;
}

@media (min-width: 768px) {
  h1:not(.hero-text-content h1) {
    line-height: 1.5 !important;
  }
  h2:not(.hero-text-content h2) {
    line-height: 1.55 !important;
  }
}

/* Mobile Hero Badge Polish (Prevents Wrapping & Oval Distortion on Mobile) */
@media (max-width: 767px) {
  .hero-text-content > div:first-of-type,
  .hero-text-content .rounded-full.border.border-white\/25 {
    white-space: nowrap !important;
    padding: 6px 14px !important;
    max-width: calc(100vw - 48px) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
  }
  .hero-text-content > div:first-of-type span.text-xs,
  .hero-text-content .rounded-full.border.border-white\/25 span.text-xs {
    font-size: 11.5px !important;
    letter-spacing: normal !important;
    white-space: nowrap !important;
    line-height: 1.3 !important;
    display: inline-block !important;
  }
}

.service-card {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 35px -10px rgba(11, 61, 74, 0.10), 0 4px 12px -2px rgba(11, 61, 74, 0.05);
}

.service-card:hover .service-arrow,
.service-card:hover .cta-arrow {
  transform: translateX(-4px);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-arrow,
.cta-arrow {
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ============================================
   SUBTLE MOBILE TYPOGRAPHY SCALING
   ============================================ */
@media (max-width: 768px) {
  html {
    font-size: 16.5px;
  }
  body {
    font-size: 15px;
  }
  .text-\[10px\] {
    font-size: 11px !important;
  }
  .text-\[11px\] {
    font-size: 12px !important;
  }
  .text-xs {
    font-size: 0.8125rem !important; /* 13px */
  }
  .text-sm {
    font-size: 0.9375rem !important; /* 15px */
  }
}

/* ============================================
   STANDARDIZED SUBPAGE SPACING & NAVBAR CLEARANCE
   Ensures floating navbar never overlaps hero content,
   and bottom section never collides with footer
   ============================================ */
.subpage-main,
body:not(.home) .site-main {
  padding-top: 130px !important;
  padding-bottom: 80px !important;
  min-height: calc(100vh - 200px);
}

@media (min-width: 640px) {
  .subpage-main,
  body:not(.home) .site-main {
    padding-top: 140px !important;
    padding-bottom: 90px !important;
  }
}

@media (min-width: 1024px) {
  .subpage-main,
  body:not(.home) .site-main {
    padding-top: 160px !important;
    padding-bottom: 110px !important;
  }
}

/* WordPress Admin Bar Offsets for Fixed Capsule Navbar and Subpage Content */
body.admin-bar .site-header-wrapper {
  top: calc(32px + 1rem) !important;
}

body.admin-bar .subpage-main,
body.admin-bar:not(.home) .site-main {
  padding-top: 160px !important;
}

@media screen and (max-width: 782px) {
  body.admin-bar .site-header-wrapper {
    top: calc(46px + 0.75rem) !important;
  }
  body.admin-bar .subpage-main,
  body.admin-bar:not(.home) .site-main {
    padding-top: 180px !important;
  }
}
