:root {
  --black: #020202;
  --dark: #050508;
  --white: #ffffff;
  --purple: #6f52ff;
  --purple-deep: #4c35c4;
  --purple-glow: rgba(111, 82, 255, 0.4);
  --grey: #a1a1aa;
  --grey-dark: #27272a;
  --glass: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.1);
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --ease-apple: cubic-bezier(0.2, 0.8, 0.2, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
}

html {
  scroll-behavior: smooth;
  background-color: var(--black);
  color: var(--white);
  font-family: var(--font-sans);
}

body {
  overflow-x: hidden;
  line-height: 1.5;
}

/* Space Engine Background */
.space-engine {
  position: fixed;
  inset: 0;
  z-index: -1;
  background: radial-gradient(circle at center, #100a1f 0%, #050505 100%);
  overflow: hidden;
}

.stars-layer-1, .stars-layer-2 {
  position: absolute;
  top: 0; left: 0; width: 200%; height: 200%;
  background-image: 
    radial-gradient(1px 1px at 20px 30px, #eee, rgba(0,0,0,0)),
    radial-gradient(1px 1px at 40px 70px, #fff, rgba(0,0,0,0)),
    radial-gradient(2px 2px at 50px 160px, #ddd, rgba(0,0,0,0)),
    radial-gradient(1.5px 1.5px at 90px 40px, #fff, rgba(0,0,0,0));
  background-size: 200px 200px;
  opacity: 0.3;
}

.stars-layer-2 {
  background-size: 300px 300px;
  animation: drift 100s linear infinite;
  opacity: 0.2;
}

.nebula-1, .nebula-2 {
  position: absolute;
  width: 60vw;
  height: 60vw;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.15;
  pointer-events: none;
}

.nebula-1 { background: var(--purple-deep); top: -20%; right: -10%; }
.nebula-2 { background: #312e81; bottom: -10%; left: -10%; }

@keyframes drift {
  from { transform: translate(0,0); }
  to { transform: translate(-100px, -100px); }
}

/* Typography & Layout */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
}

.section-meta {
  text-align: center;
  margin-bottom: 80px;
}

.section-title {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800;
  letter-spacing: -0.04em;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 20px;
  color: var(--grey);
  max-width: 600px;
  margin: 0 auto;
}

/* Navigation - Adjusted for Right Alignment */
.ultra-nav {
  position: fixed;
  top: 0; 
  left: 0;
  width: 100%;
  z-index: 1000;
  background: transparent;
  transition: all 0.5s var(--ease-apple);
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
}

.nav-right-group {
  display: flex;
  align-items: center;
  gap: 40px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--white);
  font-weight: 700;
  font-size: 20px;
  z-index: 1001;
}

.brand img { height: 36px; width: 36px; }

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

.nav-links a {
  text-decoration: none;
  color: var(--grey);
  font-size: 15px;
  font-weight: 500;
  transition: 0.3s;
}

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

.btn-cta-nav {
  background: linear-gradient(135deg, var(--purple) 0%, var(--purple-deep) 100%);
  color: var(--white) !important;
  padding: 12px 28px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  font-size: 14px;
  transition: 0.3s var(--ease-apple);
  box-shadow: 0 4px 15px rgba(111, 82, 255, 0.3);
  position: relative;
  overflow: hidden;
}

.btn-cta-nav:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 25px rgba(111, 82, 255, 0.5);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
  padding: 10px;
}

.hamburger {
  width: 24px;
  height: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hamburger span {
  width: 100%;
  height: 2px;
  background-color: var(--white);
  border-radius: 2px;
  transition: 0.3s;
}

/* Mobile Menu Side Drawer */
.mobile-menu-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: 0.4s var(--ease-apple);
}

.mobile-menu-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu-overlay {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 280px;
  background: rgba(10, 10, 15, 0.95);
  backdrop-filter: blur(20px);
  z-index: 999;
  transform: translateX(100%);
  transition: transform 0.5s var(--ease-apple);
  border-left: 1px solid var(--glass-border);
  display: flex;
  flex-direction: column;
}

.mobile-menu-overlay.active {
  transform: translateX(0);
}

.mobile-menu-content {
  padding: 120px 40px;
  height: 100%;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.mobile-nav-links a {
  font-size: 24px;
  font-weight: 600;
  color: var(--white);
  text-decoration: none;
  transition: color 0.3s;
}

.mobile-nav-links a:active {
  color: var(--purple);
}

.mobile-btn-cta {
  margin-top: 20px;
  padding: 16px 32px;
  background: var(--purple);
  border-radius: 999px;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  box-shadow: 0 10px 30px rgba(111, 82, 255, 0.3);
}

/* Hero Section */
.hero-master {
  padding-top: 180px;
  padding-bottom: 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-content {
  max-width: 1000px;
  padding: 0 20px;
  margin-bottom: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.promo-badge {
  display: inline-block;
  background: rgba(111, 82, 255, 0.15);
  color: var(--white);
  padding: 10px 24px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border: 1px solid var(--purple);
  margin-bottom: 32px;
  box-shadow: 0 0 20px rgba(111, 82, 255, 0.3);
  backdrop-filter: blur(8px);
}

.hero-master h1 {
  font-size: clamp(48px, 10vw, 110px);
  line-height: 0.95;
  font-weight: 800;
  letter-spacing: -0.06em;
}

.text-purple-glow {
  background: linear-gradient(135deg, #fff 0%, var(--purple) 50%, var(--purple-deep) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 15px var(--purple-glow));
}

.hero-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 40px;
}

.btn-main {
  padding: 18px 44px;
  border-radius: 16px;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: 0.4s var(--ease-apple);
}

.btn-main.primary {
  background: var(--purple);
  color: #fff;
  box-shadow: 0 10px 40px var(--purple-glow);
}

.btn-main.secondary {
  background: var(--glass);
  color: #fff;
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px);
}

.btn-main:hover { transform: translateY(-4px); }

.hero-visual {
  width: 95%;
  max-width: 1000px;
  margin: 0 auto 60px;
}

.image-frame {
  position: relative;
  background: #000;
  border-radius: 40px;
  padding: 8px;
  border: 1px solid var(--glass-border);
  box-shadow: 0 50px 100px rgba(0,0,0,0.8);
  overflow: hidden;
}

.image-frame img {
  width: 100%;
  display: block;
  border-radius: 32px;
}

/* Steps Flow Section */
.steps-section { padding: 120px 0; overflow: hidden; }
.steps-container {
  display: flex;
  flex-direction: column;
  gap: 160px;
  max-width: 1100px;
  margin: 0 auto;
}

.step-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 80px;
}

.step-row.reverse {
  flex-direction: row-reverse;
}

.step-content {
  flex: 1;
  max-width: 480px;
}

.step-number {
  font-size: 120px;
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(180deg, var(--purple) 0%, transparent 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 0.3;
  margin-bottom: -30px;
  margin-left: -5px;
  user-select: none;
}

.step-content h3 {
  font-size: 42px;
  margin-bottom: 20px;
  color: var(--white);
  font-weight: 700;
  letter-spacing: -0.03em;
}

.step-content p {
  font-size: 20px;
  color: var(--grey);
  line-height: 1.6;
}

.step-visual {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.phone-mockup {
  width: 280px;
  height: 580px;
  background: #000;
  border-radius: 40px;
  border: 8px solid #1a1a1a;
  box-shadow: 0 40px 100px rgba(0,0,0,0.8);
  position: relative;
  overflow: hidden;
  z-index: 2;
  transform: rotate(-3deg);
}

.phone-screen {
  width: 100%;
  height: 100%;
  padding: 20px;
  background: #0a0a0f;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
}

.step-glow {
  position: absolute;
  width: 140%;
  height: 140%;
  background: radial-gradient(circle, var(--purple-glow) 0%, transparent 70%);
  z-index: 1;
  opacity: 0.4;
}

/* Simulated UI Elements */
.actual-qr {
  width: 75%;
  border-radius: 24px;
  box-shadow: 0 0 30px rgba(111, 82, 255, 0.3);
}

.scan-line {
  position: absolute;
  width: 80%;
  height: 3px;
  background: var(--purple);
  box-shadow: 0 0 20px var(--purple);
  animation: scan 4s ease-in-out infinite;
  z-index: 5;
}

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

/* Target Audience Callout */
.target-audience-callout {
  margin-top: 100px;
  text-align: center;
  position: relative;
  padding: 80px 40px;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 60px;
  border: 1px solid rgba(255, 255, 255, 0.03);
  box-shadow: inset 0 0 50px rgba(0,0,0,0.5);
}

.callout-line {
  width: 60px;
  height: 4px;
  background: var(--purple);
  margin: 0 auto 24px;
  border-radius: 2px;
}

.target-audience-callout p {
  font-size: 28px;
  font-weight: 700;
  color: var(--white);
  max-width: 800px;
  margin: 0 auto;
  letter-spacing: -0.02em;
}

.menu-item {
  width: 100%;
  height: 70px;
  background: rgba(255,255,255,0.05);
  margin-bottom: 12px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  padding: 0 15px;
  gap: 15px;
}

.menu-item.active {
  border: 1px solid var(--purple);
  background: rgba(168, 85, 247, 0.1);
}

.item-circle {
  width: 40px;
  height: 40px;
  background: #111;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.item-bars {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.item-bars span {
  display: block;
  height: 6px;
  background: #27272a;
  border-radius: 3px;
}

.item-bars span:first-child { width: 80%; }
.item-bars span:last-child { width: 40%; }

.order-btn-sim {
  margin-top: 20px;
  width: 100%;
  padding: 15px;
  background: var(--purple);
  color: white;
  border: none;
  border-radius: 12px;
  font-weight: 700;
}

.check-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--purple);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  margin-bottom: 20px;
}

.complete-text {
  font-size: 24px;
  font-weight: 700;
}

/* Features */
.features-prime { padding: 140px 0; }

.feature-minimal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
}

.feature-box {
  padding: 40px 30px;
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.4s var(--ease-apple);
}

.feature-box:hover {
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-12px) scale(1.02) rotate(1deg);
  border-color: var(--purple-glow);
}

.feature-icon {
  font-size: 40px;
  margin-bottom: 24px;
  display: inline-block;
}

.feature-box h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--white);
}

.feature-box p {
  font-size: 17px;
  color: var(--grey);
  line-height: 1.6;
}



/* Scroll to Top Button */
.scroll-top-btn {
  position: fixed;
  bottom: 40px;
  right: 40px;
  width: 60px;
  height: 60px;
  background: var(--purple);
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s var(--ease-apple);
  transform: translateY(20px);
}

.scroll-top-btn.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top-btn:hover {
  transform: scale(1.1) translateY(-5px);
  background: var(--purple-deep);
}

.scroll-top-btn svg {
  width: 28px;
  height: 28px;
}

/* Phone Contact Section */
.phone-contact-section {
  padding: 120px 20px;
  display: flex;
  justify-content: center;
  background: radial-gradient(circle at bottom, rgba(111, 82, 255, 0.08) 0%, transparent 70%);
}

.phone-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(111, 82, 255, 0.3);
  border-radius: 40px;
  padding: 60px 40px;
  display: flex;
  align-items: center;
  gap: 40px;
  max-width: 700px;
  width: 100%;
  transition: 0.6s var(--ease-apple);
  backdrop-filter: blur(20px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.5), 0 0 30px rgba(111, 82, 255, 0.1);
}

.phone-card:hover {
  border-color: var(--purple);
  transform: translateY(-10px) scale(1.02);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 30px 60px rgba(0,0,0,0.6), 0 0 40px rgba(111, 82, 255, 0.2);
}

.phone-icon-pulse {
  width: 64px;
  height: 64px;
  background: var(--purple);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  position: relative;
}

.phone-icon-pulse svg {
  width: 32px;
  height: 32px;
}

.phone-icon-pulse::after {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 24px;
  border: 2px solid var(--purple);
  animation: pulse-ring 2s infinite;
  opacity: 0;
}

@keyframes pulse-ring {
  0% { transform: scale(0.8); opacity: 0.5; }
  100% { transform: scale(1.2); opacity: 0; }
}

.phone-text h3 {
  font-size: 24px;
  margin-bottom: 4px;
}

.phone-text p {
  color: var(--grey);
  font-size: 16px;
  margin-bottom: 8px;
}

.phone-number-link {
  font-size: 32px;
  font-weight: 800;
  color: var(--white);
  text-decoration: none;
  background: linear-gradient(90deg, #fff, var(--purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: 0.3s;
}

.phone-number-link:hover {
  filter: brightness(1.2);
}

@media (max-width: 768px) {
  .cta-box-modern { padding: 60px 24px; }
  .cta-form-modern { flex-direction: column; border-radius: 24px; background: none; border: none; padding: 0; gap: 12px; }
  .cta-form-modern input { background: rgba(255,255,255,0.05); border: 1px solid var(--glass-border); border-radius: 100px; }
  .phone-card { flex-direction: column; text-align: center; padding: 32px 24px; }
  .phone-number-link { font-size: 28px; }
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--glass-border);
  padding: 100px 0 40px;
  background: var(--black);
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 60px;
  flex-wrap: wrap;
  margin-bottom: 80px;
}

.footer-info { max-width: 350px; }
.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 24px;
  margin-bottom: 24px;
}

.footer-logo img { height: 40px; }
.footer-info p { color: var(--grey); font-size: 16px; }

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

.link-group h4 { margin-bottom: 24px; color: var(--white); font-weight: 700; }
.link-group a {
  display: block;
  text-decoration: none;
  color: var(--grey);
  margin-bottom: 14px;
  transition: 0.3s;
}

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

.footer-bottom {
  text-align: center;
  padding-top: 40px;
  border-top: 1px solid var(--glass-border);
  color: var(--grey-dark);
  font-size: 14px;
}

/* Animations */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1.2s var(--ease-apple), transform 1.2s var(--ease-apple);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

/* Mobile Optimization (iPhone / Android) */
@media (max-width: 768px) {
  .nav-container { padding: 0 20px; height: 80px; }
  .nav-links { display: none; }
  .mobile-toggle { display: block; }
  .btn-cta-nav { display: none; }
  
  .container { padding: 0 20px; }
  
  .hero-master h1 { font-size: 48px; }
  .hero-actions { flex-direction: column; width: 100%; max-width: 320px; }
  .btn-main { width: 100%; }
  
  .step-row { flex-direction: column !important; text-align: center; gap: 40px; }
  .step-content { order: 2; }
  .step-visual { order: 1; }
  .step-number { margin-left: 0; position: absolute; top: -40px; left: 50%; transform: translateX(-50%); }
  
  .feature-minimal-grid { grid-template-columns: 1fr; }
  
  .cta-form { flex-direction: column; }
  .footer-links { flex-direction: column; gap: 40px; }
}

/* Hamburger animation */
.mobile-toggle.active .hamburger span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.mobile-toggle.active .hamburger span:nth-child(2) { opacity: 0; }
.mobile-toggle.active .hamburger span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }