/* ===== CSS VARIABLES ===== */
:root {
  --bg-primary: #06060E;
  --bg-secondary: #0D0D1A;
  --bg-card: rgba(255, 255, 255, 0.04);
  --bg-card-hover: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(168, 85, 247, 0.3);

  --purple-500: #A855F7;
  --purple-600: #9333EA;
  --purple-700: #7C3AED;
  --gold-400: #FBBF24;
  --gold-500: #F59E0B;
  --gold-600: #D97706;
  --teal-400: #2DD4BF;
  --teal-500: #14B8A6;

  --text-primary: #FFFFFF;
  --text-secondary: rgba(255, 255, 255, 0.7);
  --text-muted: rgba(255, 255, 255, 0.4);

  --gradient-purple: linear-gradient(135deg, #A855F7, #6366F1);
  --gradient-gold: linear-gradient(135deg, #FBBF24, #F59E0B, #D97706);
  --gradient-hero: linear-gradient(135deg, #A855F7 0%, #6366F1 50%, #2DD4BF 100%);
  --gradient-text: linear-gradient(135deg, #A855F7, #FBBF24);

  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --shadow-glow-purple: 0 0 40px rgba(168, 85, 247, 0.3);
  --shadow-glow-gold: 0 0 40px rgba(251, 191, 36, 0.3);
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.4);
}

/* ===== RESET & BASE ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

/* ===== TYPOGRAPHY ===== */
.gradient-text {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--purple-500);
  background: rgba(168, 85, 247, 0.1);
  border: 1px solid rgba(168, 85, 247, 0.3);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 16px;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--text-primary);
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  background: rgba(6, 6, 14, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  object-fit: contain;
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.2s;
}

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

.nav-cta {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--bg-primary);
  background: var(--gradient-text);
  padding: 10px 24px;
  border-radius: 100px;
  transition: opacity 0.2s, transform 0.2s;
}

.nav-cta:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 24px 80px;
  overflow: hidden;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
}

.hero-orb-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, #7C3AED, transparent);
  top: -200px;
  left: -100px;
}

.hero-orb-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #F59E0B, transparent);
  top: 100px;
  right: -100px;
  opacity: 0.25;
}

.hero-orb-3 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, #2DD4BF, transparent);
  bottom: 0;
  left: 40%;
  opacity: 0.2;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(168, 85, 247, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(168, 85, 247, 0.05) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: left;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  padding: 8px 18px;
  border-radius: 100px;
  margin-bottom: 24px;
  backdrop-filter: blur(10px);
  width: fit-content;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal-400);
  box-shadow: 0 0 8px var(--teal-400);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(1.2); }
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  color: var(--text-primary);
}

.hero-subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 520px;
  margin: 0 0 40px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: flex-start;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  color: white;
  background: var(--gradient-purple);
  padding: 14px 28px;
  border-radius: 100px;
  transition: all 0.3s;
  box-shadow: 0 4px 20px rgba(168, 85, 247, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(168, 85, 247, 0.5);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  padding: 14px 28px;
  border-radius: 100px;
  transition: all 0.3s;
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 32px;
  padding: 20px 32px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(10px);
  width: fit-content;
  margin: 0 0 32px;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 800;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.stat-plus {
  font-size: 1.25rem;
}

.stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 4px;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* Hero Visual */
.hero-visual {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 600px;
}

.phone-mockup {
  position: relative;
}

.phone-main {
  z-index: 3;
}

.phone-secondary {
  position: absolute;
  right: -20px;
  bottom: -20px;
  z-index: 2;
  transform: rotate(5deg);
}

.phone-frame {
  background: linear-gradient(145deg, #1a1a2e, #16213e);
  border-radius: 40px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  width: 240px;
}

.phone-frame-sm {
  width: 160px;
  border-radius: 28px;
  padding: 6px;
}

.phone-frame-lg {
  width: 280px;
  border-radius: 44px;
  padding: 10px;
}

.phone-screen {
  width: 100%;
  border-radius: 32px;
  display: block;
}

.phone-frame-sm .phone-screen {
  border-radius: 22px;
}

.phone-frame-lg .phone-screen {
  border-radius: 36px;
}

.phone-glow {
  position: absolute;
  inset: -20px;
  background: radial-gradient(ellipse, rgba(168, 85, 247, 0.3), transparent 70%);
  z-index: -1;
  border-radius: 50%;
}

/* Floating Cards */
.floating-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(13, 13, 26, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-card);
  animation: float 3s ease-in-out infinite;
}

.card-1 {
  left: -60px;
  top: 20%;
  animation-delay: 0s;
}

.card-2 {
  right: -50px;
  bottom: 25%;
  animation-delay: 1.5s;
}

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

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

.card-text {
  display: flex;
  flex-direction: column;
}

.card-title {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-primary);
}

.card-sub {
  font-size: 0.7rem;
  color: var(--text-muted);
}

/* Hero Tags */
.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-start;
  margin-top: 24px;
  max-width: 500px;
}

.tag {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  padding: 6px 16px;
  border-radius: 100px;
  transition: all 0.2s;
}

.tag:hover {
  background: rgba(168, 85, 247, 0.1);
  border-color: rgba(168, 85, 247, 0.3);
  color: var(--purple-500);
}

/* ===== FEATURES ===== */
.features {
  padding: 120px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-bottom: 120px;
}

.feature-block:last-child {
  margin-bottom: 0;
}

.feature-block-left {
  direction: ltr;
}

.feature-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--purple-500);
  background: rgba(168, 85, 247, 0.1);
  border: 1px solid rgba(168, 85, 247, 0.25);
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
}

.feature-tag-gold {
  color: var(--gold-400);
  background: rgba(251, 191, 36, 0.1);
  border-color: rgba(251, 191, 36, 0.25);
}

.feature-tag-teal {
  color: var(--teal-400);
  background: rgba(45, 212, 191, 0.1);
  border-color: rgba(45, 212, 191, 0.25);
}

.feature-title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.feature-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 28px;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.feature-icon-wrap {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  background: rgba(168, 85, 247, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--purple-500);
  margin-top: 2px;
}

.icon-gold {
  background: rgba(251, 191, 36, 0.15);
  color: var(--gold-400);
}

.icon-teal {
  background: rgba(45, 212, 191, 0.15);
  color: var(--teal-400);
}

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

.feature-phone {
  position: relative;
}

.feature-phone-glow {
  position: absolute;
  inset: -30px;
  border-radius: 50%;
  z-index: -1;
  filter: blur(40px);
  opacity: 0.5;
}

.glow-purple {
  background: radial-gradient(ellipse, rgba(168, 85, 247, 0.5), transparent);
}

.glow-gold {
  background: radial-gradient(ellipse, rgba(251, 191, 36, 0.4), transparent);
}

.glow-teal {
  background: radial-gradient(ellipse, rgba(45, 212, 191, 0.4), transparent);
}

.feature-visual-multi {
  gap: 20px;
}

.feature-phone-left,
.feature-phone-right {
  flex: 1;
}

.feature-phone-right {
  margin-top: 40px;
}

/* ===== SHOWCASE ===== */
.showcase {
  position: relative;
  padding: 120px 24px;
  overflow: hidden;
  background: var(--bg-secondary);
}

.showcase-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.showcase-orb {
  position: absolute;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.08), transparent 60%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.showcase-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 56px;
  position: relative;
  z-index: 2;
}

.tab-btn {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  padding: 10px 20px;
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.25s;
  font-family: var(--font-body);
}

.tab-btn:hover {
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.07);
}

.tab-btn.active {
  color: var(--text-primary);
  background: var(--gradient-purple);
  border-color: transparent;
  box-shadow: 0 4px 15px rgba(168, 85, 247, 0.3);
}

.showcase-display {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 64px;
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.showcase-phone {
  position: relative;
  display: flex;
  justify-content: center;
}

.showcase-glow {
  position: absolute;
  inset: -40px;
  background: radial-gradient(ellipse, rgba(168, 85, 247, 0.25), transparent 60%);
  z-index: -1;
  border-radius: 50%;
  filter: blur(20px);
}

.showcase-img {
  display: none;
}

.showcase-img.active {
  display: block;
}

.showcase-info {
  padding: 20px 0;
}

.showcase-desc {
  display: none;
}

.showcase-desc.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.showcase-desc h3 {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 16px;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.showcase-desc p {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.75;
}

/* ===== STATS ===== */
.stats-section {
  position: relative;
  padding: 100px 24px;
  overflow: hidden;
}

.stats-bg {
  position: absolute;
  inset: 0;
}

.stats-pattern {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(168, 85, 247, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 50%, rgba(251, 191, 36, 0.06) 0%, transparent 50%);
}

.stats-container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  text-align: center;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(168, 85, 247, 0.5), transparent);
}

.stat-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(168, 85, 247, 0.2);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow-purple);
}

.stat-card-featured {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.1), rgba(99, 102, 241, 0.05));
  border-color: rgba(168, 85, 247, 0.3);
}

.stat-card-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.stat-card-number {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 900;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-card-label {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.stat-card-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ===== ABOUT ===== */
.about {
  position: relative;
  padding: 120px 24px;
  overflow: hidden;
}

.about-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.about-orb-1 {
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.1), transparent);
  top: -100px;
  right: -100px;
  filter: blur(60px);
}

.about-orb-2 {
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(251, 191, 36, 0.08), transparent);
  bottom: -100px;
  left: -100px;
  filter: blur(60px);
}

.about-container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.about-content .section-title {
  text-align: left;
  margin-bottom: 32px;
}

.about-quote {
  border-left: 3px solid var(--purple-500);
  padding-left: 24px;
  margin-bottom: 40px;
}

.about-quote p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.8;
  font-style: italic;
}

.about-values {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.value-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: all 0.3s;
}

.value-item:hover {
  background: var(--bg-card-hover);
  border-color: rgba(168, 85, 247, 0.2);
}

.value-icon {
  font-size: 1.75rem;
  flex-shrink: 0;
}

.value-item h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.value-item p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.about-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-phone-stack {
  position: relative;
  width: 280px;
  height: 500px;
}

.about-phone {
  position: absolute;
}

.about-phone-back {
  right: -20px;
  top: 40px;
  z-index: 1;
  transform: rotate(6deg);
  opacity: 0.7;
}

.about-phone-front {
  left: -20px;
  top: 0;
  z-index: 2;
  transform: rotate(-3deg);
}

/* ===== DOWNLOAD CTA ===== */
.download-cta {
  position: relative;
  padding: 120px 24px;
  overflow: hidden;
  background: var(--bg-secondary);
}

.download-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.download-orb-1 {
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.15), transparent);
  top: -200px;
  left: -100px;
  filter: blur(60px);
}

.download-orb-2 {
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(251, 191, 36, 0.1), transparent);
  bottom: -100px;
  right: 0;
  filter: blur(60px);
}

.download-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(168, 85, 247, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(168, 85, 247, 0.04) 1px, transparent 1px);
  background-size: 50px 50px;
}

.download-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.download-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-400);
  background: rgba(251, 191, 36, 0.1);
  border: 1px solid rgba(251, 191, 36, 0.3);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 24px;
}

.download-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 20px;
}

.download-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 40px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.download-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.download-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  transition: all 0.3s;
  min-width: 180px;
}

.download-btn-apple {
  background: var(--text-primary);
  color: var(--bg-primary);
}

.download-btn-apple:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255, 255, 255, 0.2);
}

.download-btn-google {
  background: var(--gradient-purple);
  color: white;
  box-shadow: 0 4px 20px rgba(168, 85, 247, 0.3);
}

.download-btn-google:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(168, 85, 247, 0.5);
}

.store-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.store-text {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.store-sub {
  font-size: 0.7rem;
  opacity: 0.7;
  line-height: 1;
}

.store-name {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
}

.download-visual {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  margin-top: 64px;
}

.download-phone {
  position: relative;
}

.download-phone-glow {
  position: absolute;
  inset: -40px;
  background: radial-gradient(ellipse, rgba(168, 85, 247, 0.3), transparent 60%);
  z-index: -1;
  filter: blur(20px);
}

/* ===== FOOTER ===== */
.footer {
  background: var(--bg-primary);
  border-top: 1px solid var(--border);
  padding: 80px 24px 32px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 80px;
  max-width: 1200px;
  margin: 0 auto 60px;
}

.footer-brand {
  max-width: 380px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.footer-tagline {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 24px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 40px;
  height: 40px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all 0.2s;
}

.social-link svg {
  width: 18px;
  height: 18px;
}

.social-link:hover {
  background: rgba(168, 85, 247, 0.1);
  border-color: rgba(168, 85, 247, 0.3);
  color: var(--purple-500);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.footer-col h4 {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}

.footer-col a {
  display: block;
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 12px;
  transition: color 0.2s;
}

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

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  text-align: center;
}

.footer-bottom p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ===== DECORATIVE ELEMENTS ===== */
/* Arabic-inspired geometric border accent */
.section-header::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--gradient-text);
  margin: 20px auto 0;
  border-radius: 2px;
}

/* ===== ANIMATIONS ===== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .feature-block {
    gap: 48px;
  }

  .about-container {
    gap: 48px;
  }
}

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

  .hero-content {
    text-align: center;
  }

  .hero-badge,
  .hero-stats,
  .hero-actions {
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-tags {
    justify-content: center;
    margin: 24px auto 0;
  }

  .hero-visual {
    height: 500px;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: rgba(6, 6, 14, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid var(--border);
  }

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

  .nav-hamburger {
    display: flex;
  }

  .hero {
    padding: 100px 20px 60px;
  }

  .feature-block {
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 80px;
  }

  .feature-block-left .feature-visual {
    order: -1;
  }

  .feature-visual-multi {
    flex-direction: row;
  }

  .showcase-display {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .showcase-phone {
    order: -1;
  }

  .stats-container {
    grid-template-columns: 1fr;
    max-width: 400px;
  }

  .about-container {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about-visual {
    order: -1;
  }

  .about-content .section-title {
    text-align: center;
  }

  .about-content .section-label {
    display: block;
    text-align: center;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .footer-links {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }

  .card-1, .card-2 {
    display: none;
  }
}

@media (max-width: 480px) {
  .hero-stats {
    gap: 20px;
    padding: 16px 24px;
  }

  .stat-number {
    font-size: 1.5rem;
  }

  .showcase-tabs {
    gap: 8px;
  }

  .tab-btn {
    font-size: 0.75rem;
    padding: 8px 14px;
  }

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

  .download-buttons {
    flex-direction: column;
    align-items: center;
  }

  .download-btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
  background: rgba(168, 85, 247, 0.4);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(168, 85, 247, 0.6);
}

/* ===== SELECTION ===== */
::selection {
  background: rgba(168, 85, 247, 0.3);
  color: white;
}

/* ===== MIDDLE EAST DECORATIVE ELEMENTS ===== */
/* Arabic-inspired geometric pattern for section dividers */
.section-divider {
  position: relative;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--purple-500), var(--gold-400), var(--purple-500), transparent);
  margin: 0;
  opacity: 0.4;
}

/* Decorative corner ornament */
.ornament {
  position: absolute;
  width: 120px;
  height: 120px;
  opacity: 0.08;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M50 0 L100 50 L50 100 L0 50 Z' fill='none' stroke='%23A855F7' stroke-width='1'/%3E%3Cpath d='M50 10 L90 50 L50 90 L10 50 Z' fill='none' stroke='%23F59E0B' stroke-width='0.5'/%3E%3Cpath d='M50 20 L80 50 L50 80 L20 50 Z' fill='none' stroke='%23A855F7' stroke-width='0.5'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

/* Enhanced phone frame with notch */
.phone-frame::before {
  content: '';
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 2px;
  z-index: 10;
}

/* Glowing border effect for featured cards */
.stat-card-featured::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.4), rgba(251, 191, 36, 0.2), rgba(168, 85, 247, 0.4));
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s;
}

.stat-card-featured:hover::after {
  opacity: 1;
}

/* Marquee-style tag animation for hero */
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Enhanced section transitions */
.features,
.showcase,
.stats-section,
.about,
.download-cta {
  position: relative;
}

.features::before,
.about::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(168, 85, 247, 0.3), transparent);
}

/* Improved phone frame positioning */
.phone-frame {
  position: relative;
}

/* Gold accent line for feature tags */
.feature-tag::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--purple-500);
  margin-right: 6px;
  vertical-align: middle;
}

.feature-tag-gold::before {
  background: var(--gold-400);
}

.feature-tag-teal::before {
  background: var(--teal-400);
}

/* Improved showcase phone display */
.showcase-phone .phone-frame-lg {
  position: relative;
  overflow: hidden;
}

/* Smooth image transition in showcase */
.showcase-img {
  transition: opacity 0.3s ease;
}

.showcase-img:not(.active) {
  display: none;
}

/* Enhanced about quote styling */
.about-quote {
  position: relative;
}

.about-quote::before {
  content: '\201C';
  position: absolute;
  top: -20px;
  left: -10px;
  font-size: 5rem;
  color: var(--purple-500);
  opacity: 0.2;
  font-family: Georgia, serif;
  line-height: 1;
}

/* Gradient border for value items */
.value-item {
  position: relative;
}

.value-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--gradient-text);
  border-radius: 3px 0 0 3px;
  opacity: 0;
  transition: opacity 0.3s;
}

.value-item:hover::before {
  opacity: 1;
}

/* Improved footer gradient top border */
.footer {
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(168, 85, 247, 0.5), rgba(251, 191, 36, 0.3), rgba(168, 85, 247, 0.5), transparent);
}

/* Pulsing download button */
.download-btn-google {
  animation: pulse-btn 3s ease-in-out infinite;
}

@keyframes pulse-btn {
  0%, 100% { box-shadow: 0 4px 20px rgba(168, 85, 247, 0.3); }
  50% { box-shadow: 0 4px 30px rgba(168, 85, 247, 0.6); }
}

.download-btn-google:hover {
  animation: none;
}

/* ===== COMING SOON TOAST ===== */
.coming-soon-toast {
  position: fixed;
  top: 32px;
  left: 50%;
  transform: translateX(-50%) translateY(-20px);
  background: rgba(30, 20, 50, 0.95);
  color: #fff;
  padding: 14px 28px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  border: 1px solid rgba(168, 85, 247, 0.4);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
  z-index: 9999;
  white-space: nowrap;
}

.coming-soon-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Improved mobile hero visual */
@media (max-width: 768px) {
  .hero-visual {
    height: 400px;
  }

  .phone-frame {
    width: 180px;
  }

  .phone-secondary {
    display: none;
  }

  .card-1, .card-2 {
    display: none;
  }
}
