@font-face {
  font-family: 'Cairo';
  src: url('/assets/landing/Cairo-Variable.ttf') format('truetype');
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #06090F;
  --bg-elevated: #0B111B;
  --surface: #101826;
  --surface-hover: #152033;
  --border: rgba(255, 255, 255, 0.08);
  --border-bright: rgba(255, 255, 255, 0.16);
  --border-gold: rgba(245, 158, 11, 0.36);
  --border-cyan: rgba(0, 229, 255, 0.28);
  --text: #F8FAFC;
  --text-secondary: #CBD5E1;
  --text-muted: #94A3B8;
  --gold: #F59E0B;
  --gold-bright: #FBBF24;
  --cyan: #00E5FF;
  --green: #10B981;
  --radius-xl: 24px;
  --radius-lg: 18px;
  --radius-md: 12px;
  --max-w: 1200px;
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--bg);
  color: var(--text);
  font-family: 'Cairo', system-ui, -apple-system, sans-serif;
  line-height: 1.65;
  overflow-x: hidden;
}

body {
  background-color: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 40px);
}

/* Precision Tech Dot-Grid & Ambient Glow */
.ambient-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -2;
  background:
    radial-gradient(840px circle at 22% 32%, rgba(0, 229, 255, 0.22), transparent 60%),
    radial-gradient(660px circle at 44% 38%, rgba(245, 158, 11, 0.17), transparent 58%),
    radial-gradient(560px circle at 82% 10%, rgba(245, 158, 11, 0.10), transparent 60%);
}

.grid-backdrop {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background-image: radial-gradient(rgba(255, 255, 255, 0.085) 1px, transparent 1px);
  background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(ellipse 75% 60% at 50% 24%, #000 35%, transparent 100%);
  mask-image: radial-gradient(ellipse 75% 60% at 50% 24%, #000 35%, transparent 100%);
}

/* Floating Glass Navbar */
.site-header {
  position: sticky;
  top: 14px;
  z-index: 100;
  padding-inline: clamp(14px, 4vw, 40px);
}

.nav-inner {
  max-width: var(--max-w);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  padding-inline: clamp(16px, 2.5vw, 28px);
  gap: 16px;
  border-radius: 18px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: linear-gradient(135deg, rgba(16, 24, 38, 0.88), rgba(9, 14, 23, 0.88));
  border: 1px solid var(--border-bright);
  box-shadow:
    0 18px 44px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  font-size: 19px;
  letter-spacing: 0.6px;
  white-space: nowrap;
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

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

.nav-links a {
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 15px;
  padding: 8px 4px;
  position: relative;
  transition: color 0.2s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  inset-inline: 4px;
  bottom: 4px;
  height: 2px;
  background: var(--gold-bright);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease;
}

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

.nav-links a:hover::after {
  transform: scaleX(1);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.menu-toggle {
  display: none;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 10px;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 10px 22px;
  border-radius: 12px;
  font-family: inherit;
  font-weight: 800;
  font-size: 15px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.18s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.btn:active {
  transform: scale(0.98);
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  color: #06090F;
  box-shadow:
    0 10px 28px rgba(245, 158, 11, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(245, 158, 11, 0.40);
}

.btn-outline {
  background: rgba(16, 24, 38, 0.78);
  color: var(--text);
  border-color: var(--border-bright);
}

.btn-outline:hover {
  border-color: var(--cyan);
  background: var(--surface-hover);
  transform: translateY(-2px);
}

/* Hero Section */
.hero {
  min-height: calc(100svh - 210px);
  display: flex;
  align-items: center;
  padding-top: clamp(26px, 4vh, 46px);
  padding-bottom: clamp(44px, 6vh, 72px);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: clamp(32px, 5vw, 64px);
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(0, 229, 255, 0.08);
  border: 1px solid rgba(0, 229, 255, 0.24);
  color: var(--cyan);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 18px;
}

.hero-eyebrow .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
}

.hero-copy h1 {
  font-size: clamp(34px, 4.6vw, 56px);
  font-weight: 900;
  line-height: 1.16;
  letter-spacing: -0.01em;
  color: #FFFFFF;
  margin-bottom: 18px;
}

.hero-copy h1 .highlight {
  background: linear-gradient(135deg, #FFFFFF 20%, var(--gold-bright) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-subtitle {
  font-size: clamp(16px, 1.45vw, 18.5px);
  color: var(--text-secondary);
  max-width: 52ch;
  margin-bottom: 28px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 24px;
}

.hero-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  color: var(--text-muted);
  font-size: 13.5px;
  font-weight: 600;
}

.hero-specs span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero-specs svg {
  color: var(--gold-bright);
}

/* 3D Titanium Smartphone Frame */
.phone-stage {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero .phone-stage {
  position: relative;
  z-index: 10;
  perspective: 1200px;
}

.phone-frame {
  position: relative;
  width: min(318px, 82vw);
  padding: 11px;
  border-radius: 44px;
  background: linear-gradient(145deg, #3D4758 0%, #161D28 48%, #293241 100%);
  border: 1.5px solid rgba(255, 255, 255, 0.18);
  box-shadow:
    0 34px 80px rgba(0, 0, 0, 0.80),
    -16px 0 56px rgba(0, 229, 255, 0.24),
    16px -8px 50px rgba(245, 158, 11, 0.18),
    inset 0 0 0 2px #090D14;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero .phone-frame {
  transform: rotateY(15deg) rotateX(2deg);
  transform-style: preserve-3d;
  box-shadow:
    -7px 2px 0 #262F3E,
    -11px 3px 0 #121721,
    0 36px 84px rgba(0, 0, 0, 0.84),
    -20px 0 64px rgba(0, 229, 255, 0.28),
    20px -10px 56px rgba(245, 158, 11, 0.20),
    inset 0 0 0 2px #090D14;
}

.hero .phone-frame:hover {
  transform: rotateY(7deg) rotateX(1deg) translateY(-4px);
}

.phone-frame::before {
  content: "";
  position: absolute;
  top: 17px;
  left: 50%;
  transform: translateX(-50%);
  width: 72px;
  height: 18px;
  background: #05070B;
  border-radius: 999px;
  z-index: 4;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.phone-frame::after {
  content: "";
  position: absolute;
  right: -3px;
  top: 120px;
  width: 3px;
  height: 54px;
  border-radius: 0 3px 3px 0;
  background: linear-gradient(180deg, #4B5563, #1F2937);
}

.phone-screen {
  position: relative;
  border-radius: 34px;
  overflow: hidden;
  background: #0F141C;
  padding-top: 32px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.phone-frame img {
  width: 100%;
  aspect-ratio: 9 / 19.5;
  object-fit: cover;
  object-position: left top;
  transform: scale(1.035);
  transform-origin: left top;
  display: block;
  transition: opacity 0.22s ease;
}

/* Glass Showcase Strip Directly Under Hero */
.showcase-peek {
  position: relative;
  z-index: 5;
  margin-top: -54px;
  padding-bottom: clamp(56px, 8vh, 96px);
}

.showcase-glass {
  background: linear-gradient(135deg, rgba(16, 26, 40, 0.90), rgba(10, 15, 24, 0.95));
  border: 1px solid rgba(0, 229, 255, 0.24);
  border-radius: var(--radius-xl);
  padding: clamp(22px, 3vw, 34px);
  box-shadow:
    0 24px 64px rgba(0, 0, 0, 0.60),
    inset 0 1px 0 rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.showcase-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.showcase-top h2 {
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 900;
}

.tabs-bar {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 5px;
  background: rgba(6, 9, 15, 0.75);
  border: 1px solid var(--border);
  border-radius: 14px;
}

.tab-btn {
  min-height: 44px;
  padding: 8px 18px;
  border-radius: 10px;
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.tab-btn:hover {
  color: var(--text);
}

.tab-btn.is-active {
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  color: #06090F;
}

.switcher-panel {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  align-items: center;
  gap: clamp(24px, 4vw, 48px);
  background: rgba(6, 9, 15, 0.58);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 3vw, 34px);
}

.switcher-copy h3 {
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 900;
  margin-bottom: 12px;
}

.switcher-copy p {
  color: var(--text-secondary);
  font-size: 15.5px;
  margin-bottom: 20px;
}

.switcher-points {
  list-style: none;
  display: grid;
  gap: 10px;
  color: var(--text-muted);
  font-size: 14.5px;
}

.switcher-points li::before {
  content: "✓ ";
  color: var(--cyan);
  font-weight: 900;
  margin-inline-end: 6px;
}

/* Standard Sections */
.section {
  padding-block: clamp(64px, 9vh, 104px);
  border-top: 1px solid var(--border);
}

.section-header {
  max-width: 680px;
  margin-bottom: clamp(32px, 5vh, 48px);
}

.section-header h2 {
  font-size: clamp(26px, 3.2vw, 40px);
  font-weight: 900;
  line-height: 1.24;
  margin-bottom: 12px;
}

.section-header p {
  color: var(--text-muted);
  font-size: 16px;
}

/* Interactive Workflow Diagram Strip */
.workflow-flow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 36px;
}

.flow-step {
  position: relative;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent), var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.flow-step:hover {
  border-color: var(--border-gold);
  transform: translateY(-3px);
}

.flow-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: rgba(245, 158, 11, 0.14);
  border: 1px solid var(--border-gold);
  color: var(--gold-bright);
  font-weight: 900;
  font-size: 14px;
  margin-bottom: 12px;
}

.flow-step h3 {
  font-size: 17px;
  font-weight: 800;
  margin-bottom: 6px;
}

.flow-step p {
  font-size: 14px;
  color: var(--text-muted);
}

.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(28px, 5vw, 56px);
}

.dual-phones {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 18px;
}

.dual-phones .phone-frame {
  width: min(230px, 44vw);
  border-radius: 34px;
  padding: 8px;
}

.dual-phones .phone-frame::before {
  top: 15px;
  width: 60px;
  height: 16px;
}

.dual-phones .phone-screen {
  border-radius: 26px;
  padding-top: 22px;
}

.dual-phones .phone-frame:nth-child(2) {
  margin-top: 28px;
}

.feature-list {
  display: grid;
  gap: 16px;
}

.feature-item {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent), var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px 22px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.feature-item:hover {
  border-color: var(--border-cyan);
  transform: translateY(-2px);
}

.feature-item h3 {
  font-size: 17.5px;
  font-weight: 800;
  margin-bottom: 6px;
}

.feature-item p {
  color: var(--text-muted);
  font-size: 14.5px;
}

/* Before / After Comparison */
.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.compare-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: clamp(24px, 3vw, 34px);
}

.compare-card.is-after {
  border-color: var(--border-gold);
  background: linear-gradient(180deg, rgba(245, 158, 11, 0.08), var(--surface));
}

.compare-card h3 {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 16px;
}

.compare-card.is-before h3 {
  color: var(--text-muted);
}

.compare-card.is-after h3 {
  color: var(--gold-bright);
}

.compare-card ul {
  list-style: none;
  display: grid;
  gap: 12px;
  color: var(--text-secondary);
  font-size: 15px;
}

/* Final CTA & Download */
.cta-box {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 32px;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.13), rgba(0, 229, 255, 0.08));
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-xl);
  padding: clamp(28px, 4vw, 48px);
}

.cta-box h2 {
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 900;
  margin-bottom: 12px;
}

.cta-box p {
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.qr-card {
  justify-self: center;
  text-align: center;
  background: var(--bg);
  border: 1px solid var(--border-bright);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
}

.qr-card img {
  width: 132px;
  height: 132px;
  margin-inline: auto;
  margin-bottom: 10px;
  border-radius: 10px;
  background: #ffffff;
  padding: 6px;
}

.qr-card span {
  font-size: 13px;
  color: var(--text-muted);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding-block: 32px;
  color: var(--text-muted);
  font-size: 14px;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

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

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

/* Entrance Animation */
[data-enter] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

[data-enter].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  [data-enter] {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .btn, .phone-frame, .feature-item, .flow-step {
    transition: none;
  }
}

/* Responsive Breakpoints */
@media (max-width: 960px) {
  .hero-grid,
  .split-grid,
  .switcher-panel,
  .compare-grid,
  .cta-box,
  .workflow-flow {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero .phone-frame {
    transform: none;
  }

  .showcase-peek {
    margin-top: 0;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: inline-flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    inset-inline: 0;
    flex-direction: column;
    background: var(--bg-elevated);
    border-bottom: 1px solid var(--border);
    padding: 16px 20px;
    gap: 12px;
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-actions .btn {
    padding: 8px 12px;
    font-size: 13px;
    white-space: nowrap;
  }

  .brand {
    font-size: 16px;
  }
}
