/* Jamam Studio - Main Styles */

/* ============================================================
   1. CSS RESET & CUSTOM PROPERTIES
   ============================================================ */

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

:root {
  /* Brand Colors */
  --purple: #a855f7;
  --blue: #3b82f6;
  --cyan: #22d3ee;
  --orange: #f97316;

  /* Background Colors */
  --bg-primary: #04040f;
  --bg-secondary: #08081a;
  --bg-card: rgba(255, 255, 255, 0.04);
  --bg-card-hover: rgba(255, 255, 255, 0.07);

  /* Border Colors */
  --border-card: rgba(255, 255, 255, 0.08);
  --border-card-hover: rgba(168, 85, 247, 0.3);
  --border-input: rgba(255, 255, 255, 0.1);
  --border-input-focus: rgba(168, 85, 247, 0.5);

  /* Text Colors */
  --text-primary: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.6);
  --text-muted: rgba(255, 255, 255, 0.35);

  /* Gradients */
  --gradient-purple-blue: linear-gradient(135deg, #a855f7, #3b82f6);
  --gradient-blue-cyan: linear-gradient(135deg, #3b82f6, #22d3ee);
  --gradient-full: linear-gradient(135deg, #a855f7, #3b82f6, #22d3ee);
  --gradient-full-horizontal: linear-gradient(90deg, #a855f7, #3b82f6, #22d3ee);
  --gradient-bg: linear-gradient(135deg, rgba(168, 85, 247, 0.15), rgba(59, 130, 246, 0.1), rgba(34, 211, 238, 0.08));

  /* Border Radius */
  --radius-card: 16px;
  --radius-btn: 12px;
  --radius-input: 8px;
  --radius-badge: 100px;
  --radius-icon: 16px;

  /* Spacing */
  --section-padding: 100px 0;
  --section-padding-sm: 60px 0;
  --container-max: 1200px;

  /* Typography */
  --font-family: 'Inter', system-ui, -apple-system, sans-serif;
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 1.875rem;
  --font-size-4xl: 2.25rem;

  /* Transitions */
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);

  /* Shadows */
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.4);
  --shadow-card-hover: 0 12px 48px rgba(168, 85, 247, 0.2);
  --shadow-btn: 0 4px 20px rgba(168, 85, 247, 0.35);
  --shadow-btn-hover: 0 8px 32px rgba(168, 85, 247, 0.5);
  --shadow-glow-purple: 0 0 40px rgba(168, 85, 247, 0.4);
  --shadow-glow-blue: 0 0 40px rgba(59, 130, 246, 0.4);
  --shadow-glow-cyan: 0 0 40px rgba(34, 211, 238, 0.4);

  /* Blur */
  --blur-glass: blur(20px);
  --blur-nav: blur(16px);
}

/* ============================================================
   2. BASE STYLES
   ============================================================ */

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

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

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--purple), var(--blue));
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #b97af8, #5a9af8);
}

/* Selection */
::selection {
  background: rgba(168, 85, 247, 0.35);
  color: var(--text-primary);
}

::-moz-selection {
  background: rgba(168, 85, 247, 0.35);
  color: var(--text-primary);
}

/* Images & Media */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

ul, ol {
  list-style: none;
}

button {
  font-family: var(--font-family);
  cursor: pointer;
  border: none;
  outline: none;
  background: none;
}

input, textarea, select {
  font-family: var(--font-family);
  outline: none;
  border: none;
}

h1, h2, h3, h4, h5, h6 {
  line-height: 1.2;
  font-weight: 700;
}

/* ============================================================
   3. UTILITY CLASSES
   ============================================================ */

/* Container */
.container,
.section-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

/* Gradient Text */
.gradient-text {
  background: var(--gradient-full-horizontal);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% auto;
  animation: gradientShift 4s ease infinite;
}

.gradient-text-static {
  background: var(--gradient-full-horizontal);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Glass Card */
.glass-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  backdrop-filter: var(--blur-glass);
  -webkit-backdrop-filter: var(--blur-glass);
  border-radius: var(--radius-card);
  transition: var(--transition);
}

.glass-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-card-hover);
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-4px);
}

/* Primary Button */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  background: var(--gradient-purple-blue);
  color: var(--text-primary);
  font-size: var(--font-size-base);
  font-weight: 600;
  border-radius: var(--radius-btn);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-btn);
  white-space: nowrap;
  letter-spacing: 0.01em;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-btn-hover);
  filter: brightness(1.1);
}

.btn-primary:active {
  transform: translateY(0);
}

/* Ghost Button */
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 27px;
  background: transparent;
  color: var(--text-primary);
  font-size: var(--font-size-base);
  font-weight: 600;
  border-radius: var(--radius-btn);
  border: 1px solid rgba(168, 85, 247, 0.5);
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
  letter-spacing: 0.01em;
  position: relative;
  overflow: hidden;
}

.btn-ghost::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-purple-blue);
  opacity: 0;
  transition: var(--transition);
}

.btn-ghost:hover {
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: var(--shadow-btn);
}

.btn-ghost:hover::before {
  opacity: 1;
}

.btn-ghost span,
.btn-ghost svg {
  position: relative;
  z-index: 1;
}

/* Section Badge */
.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  background: rgba(168, 85, 247, 0.12);
  border: 1px solid rgba(168, 85, 247, 0.25);
  border-radius: var(--radius-badge);
  font-size: var(--font-size-xs);
  font-weight: 600;
  color: var(--purple);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.section-badge.blue {
  background: rgba(59, 130, 246, 0.12);
  border-color: rgba(59, 130, 246, 0.25);
  color: var(--blue);
}

.section-badge.cyan {
  background: rgba(34, 211, 238, 0.12);
  border-color: rgba(34, 211, 238, 0.25);
  color: var(--cyan);
}

/* Section Title */
.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: var(--font-size-lg);
  color: var(--text-secondary);
  max-width: 600px;
  line-height: 1.7;
}

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

.section-header .section-subtitle {
  margin: 0 auto;
}

/* Tags / Chips */
.tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: var(--font-size-xs);
  font-weight: 600;
  letter-spacing: 0.05em;
}

.tag-purple {
  background: rgba(168, 85, 247, 0.15);
  color: var(--purple);
  border: 1px solid rgba(168, 85, 247, 0.2);
}

.tag-blue {
  background: rgba(59, 130, 246, 0.15);
  color: var(--blue);
  border: 1px solid rgba(59, 130, 246, 0.2);
}

.tag-cyan {
  background: rgba(34, 211, 238, 0.15);
  color: var(--cyan);
  border: 1px solid rgba(34, 211, 238, 0.2);
}

.tag-orange {
  background: rgba(249, 115, 22, 0.15);
  color: var(--orange);
  border: 1px solid rgba(249, 115, 22, 0.2);
}

/* Divider */
.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
  margin: 0;
}

/* Star Rating */
.stars {
  display: inline-flex;
  gap: 2px;
}

.star {
  color: #f97316;
  font-size: 14px;
}

/* ============================================================
   4. NAVIGATION
   ============================================================ */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: var(--transition);
}

.navbar.scrolled {
  padding: 12px 0;
  background: rgba(4, 4, 15, 0.85);
  backdrop-filter: var(--blur-nav);
  -webkit-backdrop-filter: var(--blur-nav);
  border-bottom: 1px solid var(--border-card);
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.4);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo-icon {
  width: 36px;
  height: 36px;
  background: var(--gradient-purple-blue);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 18px;
  color: white;
  box-shadow: 0 4px 16px rgba(168, 85, 247, 0.4);
}

.nav-logo-text {
  font-size: var(--font-size-xl);
  font-weight: 800;
  background: var(--gradient-full-horizontal);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.02em;
}

/* Nav Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  font-size: var(--font-size-sm);
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: 8px;
  transition: var(--transition);
  text-decoration: none;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 14px;
  right: 14px;
  height: 2px;
  background: var(--gradient-full-horizontal);
  border-radius: 2px;
  transform: scaleX(0);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

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

/* Nav CTA */
.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  transition: var(--transition);
  background: none;
  border: none;
}

.hamburger:hover {
  background: rgba(255, 255, 255, 0.05);
}

.hamburger-line {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition);
  transform-origin: center;
}

.hamburger.open .hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

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

.hamburger.open .hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Menu Overlay */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(4, 4, 15, 0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  padding: 24px;
}

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

.mobile-menu .nav-link {
  font-size: var(--font-size-2xl);
  font-weight: 700;
  padding: 16px 24px;
  color: var(--text-primary);
}

.mobile-menu .btn-primary {
  margin-top: 16px;
  width: 100%;
  max-width: 300px;
}

/* ============================================================
   5. HERO SECTION
   ============================================================ */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 120px 0 80px;
}

/* Gradient Orbs */
.hero-orbs {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  will-change: transform;
}

.orb-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.4), transparent 70%);
  top: -100px;
  left: -200px;
  animation: orbit 20s linear infinite;
}

.orb-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.3), transparent 70%);
  top: 50%;
  right: -100px;
  transform: translateY(-50%);
  animation: orbit 25s linear infinite reverse;
}

.orb-3 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.25), transparent 70%);
  bottom: -100px;
  left: 30%;
  animation: float 8s ease-in-out infinite;
}

/* Hero Grid */
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  position: relative;
  z-index: 1;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

.hero-headline {
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.hero-sub {
  font-size: var(--font-size-lg);
  color: var(--text-secondary);
  max-width: 480px;
  line-height: 1.75;
}

.hero-buttons {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-stats-row {
  display: flex;
  align-items: center;
  gap: 32px;
  padding-top: 8px;
  border-top: 1px solid var(--border-card);
  width: 100%;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hero-stat-number {
  font-size: var(--font-size-2xl);
  font-weight: 800;
  background: var(--gradient-full-horizontal);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-stat-label {
  font-size: var(--font-size-xs);
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Phone Mockup */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.phone-mockup {
  position: relative;
  width: 280px;
  height: 580px;
  background: linear-gradient(145deg, #1a1a2e, #0d0d1f);
  border-radius: 40px;
  border: 2px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    0 40px 80px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(255, 255, 255, 0.04),
    inset 0 0 80px rgba(168, 85, 247, 0.08);
  overflow: hidden;
  animation: float 6s ease-in-out infinite;
}

.phone-mockup::before {
  content: '';
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 2px;
  z-index: 2;
}

.phone-screen {
  position: absolute;
  inset: 8px;
  border-radius: 34px;
  overflow: hidden;
  background: var(--bg-secondary);
}

.phone-screen-content {
  width: 100%;
  height: 100%;
  background: var(--gradient-bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 24px;
}

.phone-app-icon {
  width: 64px;
  height: 64px;
  background: var(--gradient-purple-blue);
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(168, 85, 247, 0.4);
}

.phone-mockup-glow {
  position: absolute;
  inset: -40px;
  background: radial-gradient(ellipse at center, rgba(168, 85, 247, 0.2), transparent 70%);
  pointer-events: none;
}

/* Hero trust bar */
.hero-trust-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: var(--font-size-sm);
  color: var(--text-muted);
  padding-top: 8px;
}
.trust-icon { color: var(--cyan); font-size: 18px; }

/* Phone app grid (hero mockup content) */
.phone-screen-content {
  width: 100%;
  height: 100%;
  background: var(--bg-secondary);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 24px 20px;
}
.phone-screen-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.phone-screen-sub {
  font-size: 10px;
  color: var(--text-muted);
}
.phone-app-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  width: 100%;
}
.phone-app-item {
  aspect-ratio: 1;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: var(--font-size-xs);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  animation: float 2.5s ease-in-out infinite;
}

.scroll-indicator-mouse {
  width: 22px;
  height: 36px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 11px;
  position: relative;
  display: flex;
  justify-content: center;
}

.scroll-indicator-wheel {
  width: 3px;
  height: 8px;
  background: var(--gradient-purple-blue);
  border-radius: 2px;
  margin-top: 6px;
  animation: scrollWheel 1.5s ease-in-out infinite;
}

@keyframes scrollWheel {
  0%, 100% { opacity: 1; transform: translateY(0); }
  50% { opacity: 0; transform: translateY(8px); }
}

/* ============================================================
   6. STATS SECTION
   ============================================================ */

.stats-section {
  background: var(--bg-secondary);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(168, 85, 247, 0.05), transparent, rgba(34, 211, 238, 0.05));
  pointer-events: none;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  position: relative;
}

.stat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 40px 24px;
  position: relative;
}

.stat-card:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.08), transparent);
}

.stat-number {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 900;
  background: var(--gradient-full-horizontal);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% auto;
  animation: gradientShift 4s ease infinite;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
  font-weight: 500;
}

.stat-sublabel {
  font-size: var(--font-size-xs);
  color: var(--text-muted);
  margin-top: 4px;
}

/* ============================================================
   7. FEATURED APPS SECTION
   ============================================================ */

.apps-section {
  padding: var(--section-padding);
  position: relative;
}

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

.app-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  backdrop-filter: var(--blur-glass);
  -webkit-backdrop-filter: var(--blur-glass);
  border-radius: var(--radius-card);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.app-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-bg);
  opacity: 0;
  transition: var(--transition);
  pointer-events: none;
}

.app-card:hover {
  border-color: rgba(168, 85, 247, 0.3);
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
}

.app-card:hover::before {
  opacity: 1;
}

.app-card-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.app-icon {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-icon);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 32px;
  position: relative;
  overflow: hidden;
}

.app-icon.gradient-purple {
  background: var(--gradient-purple-blue);
  box-shadow: 0 8px 24px rgba(168, 85, 247, 0.35);
}

.app-icon.gradient-blue {
  background: var(--gradient-blue-cyan);
  box-shadow: 0 8px 24px rgba(59, 130, 246, 0.35);
}

.app-icon.gradient-cyan {
  background: linear-gradient(135deg, #22d3ee, #a855f7);
  box-shadow: 0 8px 24px rgba(34, 211, 238, 0.35);
}

.app-icon.gradient-orange {
  background: linear-gradient(135deg, #f97316, #a855f7);
  box-shadow: 0 8px 24px rgba(249, 115, 22, 0.35);
}

.app-icon img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.app-meta {
  flex: 1;
  min-width: 0;
}

.app-name {
  font-size: var(--font-size-lg);
  font-weight: 700;
  margin-bottom: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.app-category {
  margin-bottom: 8px;
}

.app-rating {
  display: flex;
  align-items: center;
  gap: 6px;
}

.app-rating-number {
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
  font-weight: 600;
}

.app-description {
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
  line-height: 1.65;
  flex: 1;
}

.app-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--border-card);
}

.btn-playstore {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: transparent;
  border: 1px solid rgba(168, 85, 247, 0.4);
  border-radius: 10px;
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--text-primary);
  transition: var(--transition);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.btn-playstore::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-purple-blue);
  opacity: 0;
  transition: var(--transition);
}

.btn-playstore:hover {
  border-color: transparent;
  transform: translateY(-1px);
  box-shadow: var(--shadow-btn);
}

.btn-playstore:hover::before {
  opacity: 1;
}

.btn-playstore span {
  position: relative;
  z-index: 1;
}

.app-installs {
  font-size: var(--font-size-xs);
  color: var(--text-muted);
  font-weight: 500;
}

/* ============================================================
   8. WHY CHOOSE US SECTION
   ============================================================ */

.features-section {
  padding: var(--section-padding);
  background: var(--bg-secondary);
  position: relative;
  overflow: hidden;
}

.features-section::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: radial-gradient(ellipse at right center, rgba(59, 130, 246, 0.06), transparent 70%);
  pointer-events: none;
}

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

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  backdrop-filter: var(--blur-glass);
  -webkit-backdrop-filter: var(--blur-glass);
  border-radius: var(--radius-card);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  border-color: rgba(168, 85, 247, 0.25);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.feature-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  background: var(--gradient-purple-blue);
  box-shadow: 0 8px 20px rgba(168, 85, 247, 0.3);
  flex-shrink: 0;
}

.feature-icon-wrap.blue {
  background: var(--gradient-blue-cyan);
  box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3);
}

.feature-icon-wrap.cyan {
  background: linear-gradient(135deg, #22d3ee, #3b82f6);
  box-shadow: 0 8px 20px rgba(34, 211, 238, 0.3);
}

.feature-icon-wrap.orange {
  background: linear-gradient(135deg, #f97316, #a855f7);
  box-shadow: 0 8px 20px rgba(249, 115, 22, 0.3);
}

.feature-title {
  font-size: var(--font-size-lg);
  font-weight: 700;
  color: var(--text-primary);
}

.feature-desc {
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ============================================================
   9. TESTIMONIALS SECTION
   ============================================================ */

.testimonials-section {
  padding: var(--section-padding);
  position: relative;
  overflow: hidden;
}

.testimonials-section::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(168, 85, 247, 0.06), transparent 70%);
  pointer-events: none;
}

.swiper-container {
  overflow: hidden;
  position: relative;
}

.swiper-wrapper {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  backdrop-filter: var(--blur-glass);
  -webkit-backdrop-filter: var(--blur-glass);
  border-radius: var(--radius-card);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 360px;
  margin-right: 24px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.testimonial-card:hover {
  border-color: rgba(168, 85, 247, 0.25);
  box-shadow: var(--shadow-card-hover);
}

.quote-mark {
  font-size: 72px;
  line-height: 0.6;
  background: var(--gradient-full-horizontal);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-family: Georgia, serif;
  opacity: 0.6;
  user-select: none;
}

.testimonial-text {
  font-size: var(--font-size-base);
  color: var(--text-secondary);
  line-height: 1.75;
  font-style: italic;
}

.testimonial-footer {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 16px;
  border-top: 1px solid var(--border-card);
}

.avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gradient-purple-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-base);
  font-weight: 700;
  color: white;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(168, 85, 247, 0.3);
}

.avatar.blue {
  background: var(--gradient-blue-cyan);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.testimonial-author-info {
  flex: 1;
  min-width: 0;
}

.testimonial-name {
  font-size: var(--font-size-sm);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.testimonial-location {
  font-size: var(--font-size-xs);
  color: var(--text-muted);
}

.swiper-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 40px;
}

.swiper-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border-card);
  background: var(--bg-card);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  font-size: 18px;
}

.swiper-btn:hover {
  border-color: var(--purple);
  background: rgba(168, 85, 247, 0.15);
  color: var(--purple);
}

.swiper-dots {
  display: flex;
  gap: 8px;
}

.swiper-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: var(--transition);
}

.swiper-dot.active {
  width: 24px;
  border-radius: 4px;
  background: var(--gradient-purple-blue);
}

/* ============================================================
   10. APP SHOWCASE SECTION
   ============================================================ */

.showcase-section {
  padding: var(--section-padding);
  background: var(--bg-secondary);
  position: relative;
  overflow: hidden;
}

.showcase-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 80px;
}

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

.showcase-phone {
  width: 260px;
  height: 540px;
  background: linear-gradient(145deg, #1a1a2e, #0d0d1f);
  border-radius: 36px;
  border: 2px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    0 40px 80px rgba(0, 0, 0, 0.6),
    inset 0 0 60px rgba(168, 85, 247, 0.06);
  overflow: hidden;
  position: relative;
}

.showcase-phone::before {
  content: '';
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 4px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 2px;
  z-index: 2;
}

.showcase-screen {
  position: absolute;
  inset: 8px;
  border-radius: 30px;
  overflow: hidden;
}

.showcase-slide {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 20px;
  opacity: 0;
  transition: opacity 0.5s ease;
  background: var(--bg-primary);
}

.showcase-slide.active {
  opacity: 1;
}

.showcase-slide-header {
  width: 100%;
  height: 40%;
  border-radius: 16px;
  background: var(--gradient-purple-blue);
  margin-bottom: 16px;
  opacity: 0.8;
}

.showcase-slide-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.showcase-line {
  height: 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
}

.showcase-line.short {
  width: 60%;
}

.showcase-line.medium {
  width: 80%;
}

.showcase-tabs {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.showcase-tab {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border-radius: 10px;
  border: 1px solid var(--border-card);
  background: var(--bg-card);
  cursor: pointer;
  transition: var(--transition);
}

.showcase-tab.active,
.showcase-tab:hover {
  border-color: rgba(168, 85, 247, 0.4);
  background: rgba(168, 85, 247, 0.08);
}

.showcase-tab-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  flex-shrink: 0;
  transition: var(--transition);
}

.showcase-tab.active .showcase-tab-dot {
  background: var(--gradient-purple-blue);
  box-shadow: 0 0 10px rgba(168, 85, 247, 0.5);
}

.showcase-tab-text {
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--text-secondary);
  transition: var(--transition);
}

.showcase-tab.active .showcase-tab-text {
  color: var(--text-primary);
}

.showcase-info {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.showcase-info-text {
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
  line-height: 1.75;
}

/* ============================================================
   11. BLOG SECTION
   ============================================================ */

.blog-section {
  padding: var(--section-padding);
  position: relative;
}

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

.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  backdrop-filter: var(--blur-glass);
  -webkit-backdrop-filter: var(--blur-glass);
  border-radius: var(--radius-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.blog-card:hover {
  border-color: rgba(168, 85, 247, 0.25);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.blog-card-image {
  height: 200px;
  background: var(--gradient-bg);
  position: relative;
  overflow: hidden;
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.blog-card:hover .blog-card-image img {
  transform: scale(1.05);
}

.blog-card-image-placeholder {
  width: 100%;
  height: 100%;
  background: var(--gradient-purple-blue);
  opacity: 0.3;
}

.blog-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.blog-card-category {
  align-self: flex-start;
}

.blog-card-title {
  font-size: var(--font-size-lg);
  font-weight: 700;
  line-height: 1.4;
  color: var(--text-primary);
  transition: var(--transition);
}

.blog-card:hover .blog-card-title {
  background: var(--gradient-full-horizontal);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.blog-card-excerpt {
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
  line-height: 1.7;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--border-card);
  margin-top: 4px;
}

.blog-card-date {
  font-size: var(--font-size-xs);
  color: var(--text-muted);
  font-weight: 500;
}

.blog-read-more {
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--purple);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: var(--transition);
}

.blog-read-more:hover {
  gap: 8px;
  color: var(--blue);
}

/* ============================================================
   12. CONTACT SECTION
   ============================================================ */

.contact-section {
  padding: var(--section-padding);
  background: var(--bg-secondary);
  position: relative;
  overflow: hidden;
}

.contact-section::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40%;
  height: 100%;
  background: radial-gradient(ellipse at left bottom, rgba(168, 85, 247, 0.06), transparent 70%);
  pointer-events: none;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.contact-info-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  line-height: 1.2;
}

.contact-info-text {
  font-size: var(--font-size-base);
  color: var(--text-secondary);
  line-height: 1.75;
}

.contact-items {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.contact-item-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--gradient-purple-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
  box-shadow: 0 6px 16px rgba(168, 85, 247, 0.3);
}

.contact-item-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.contact-item-label {
  font-size: var(--font-size-xs);
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.contact-item-value {
  font-size: var(--font-size-sm);
  color: var(--text-primary);
  font-weight: 500;
}

/* Contact Form */
.contact-form-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  backdrop-filter: var(--blur-glass);
  -webkit-backdrop-filter: var(--blur-glass);
  border-radius: var(--radius-card);
  padding: 40px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-label {
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--text-secondary);
}

.form-input,
.form-textarea,
.form-select {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-input);
  border-radius: var(--radius-input);
  padding: 14px 16px;
  font-size: var(--font-size-sm);
  color: var(--text-primary);
  transition: var(--transition);
  width: 100%;
  -webkit-appearance: none;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--text-muted);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--border-input-focus);
  background: rgba(168, 85, 247, 0.06);
  box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.12);
}

.form-textarea {
  min-height: 140px;
  resize: vertical;
  line-height: 1.6;
}

.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='rgba(255,255,255,0.4)' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
  cursor: pointer;
}

.form-select option {
  background: var(--bg-secondary);
  color: var(--text-primary);
}

.btn-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 32px;
  background: var(--gradient-purple-blue);
  color: var(--text-primary);
  font-size: var(--font-size-base);
  font-weight: 700;
  border-radius: var(--radius-btn);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-btn);
  width: 100%;
  letter-spacing: 0.02em;
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-btn-hover);
  filter: brightness(1.1);
}

/* ============================================================
   13. FOOTER
   ============================================================ */

.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-card);
  padding: 80px 0 0;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--gradient-full-horizontal);
  opacity: 0.4;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 64px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

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

.footer-logo-icon {
  width: 36px;
  height: 36px;
  background: var(--gradient-purple-blue);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 18px;
  color: white;
}

.footer-logo-text {
  font-size: var(--font-size-xl);
  font-weight: 800;
  background: var(--gradient-full-horizontal);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-desc {
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
  line-height: 1.75;
  max-width: 280px;
}

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

.social-btn {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--border-card);
  background: var(--bg-card);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}

.social-btn:hover {
  border-color: rgba(168, 85, 247, 0.4);
  background: rgba(168, 85, 247, 0.1);
  color: var(--purple);
  transform: translateY(-2px);
}

.footer-col-title {
  font-size: var(--font-size-sm);
  font-weight: 700;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-link {
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
  text-decoration: none;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-link:hover {
  color: var(--purple);
  transform: translateX(4px);
}

/* Footer Bottom */
.footer-bottom {
  border-top: 1px solid var(--border-card);
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-copyright {
  font-size: var(--font-size-sm);
  color: var(--text-muted);
}

.footer-legal {
  display: flex;
  gap: 24px;
}

.footer-legal-link {
  font-size: var(--font-size-sm);
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition);
}

.footer-legal-link:hover {
  color: var(--purple);
}

/* ============================================================
   14. APP DETAIL PAGE
   ============================================================ */

.app-detail-hero {
  padding: 140px 0 80px;
  background: var(--bg-secondary);
  position: relative;
  overflow: hidden;
}

.app-detail-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-bg);
  pointer-events: none;
}

.app-detail-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  position: relative;
  z-index: 1;
}

.app-detail-header {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 24px;
}

.app-detail-icon {
  width: 100px;
  height: 100px;
  border-radius: 24px;
  background: var(--gradient-purple-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  box-shadow: 0 16px 40px rgba(168, 85, 247, 0.4);
  flex-shrink: 0;
}

.app-detail-meta {
  flex: 1;
}

.app-detail-name {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  margin-bottom: 8px;
}

.app-detail-tagline {
  font-size: var(--font-size-lg);
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
}

.app-detail-badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.app-detail-stats {
  display: flex;
  gap: 32px;
  margin-bottom: 32px;
}

.app-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.app-stat-value {
  font-size: var(--font-size-xl);
  font-weight: 800;
  background: var(--gradient-full-horizontal);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.app-stat-label {
  font-size: var(--font-size-xs);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.app-detail-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Screenshot Gallery */
.screenshot-gallery {
  padding: 80px 0;
}

.screenshot-scroll {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding-bottom: 20px;
  scrollbar-width: thin;
  scrollbar-color: rgba(168, 85, 247, 0.4) transparent;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
}

.screenshot-item {
  flex-shrink: 0;
  scroll-snap-align: start;
  width: 200px;
  height: 360px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border-card);
  background: var(--bg-secondary);
  transition: var(--transition);
}

.screenshot-item:hover {
  transform: scale(1.02);
  border-color: rgba(168, 85, 247, 0.3);
  box-shadow: var(--shadow-card-hover);
}

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

/* App Features Grid */
.app-features-section {
  padding: 80px 0;
  background: var(--bg-secondary);
}

.app-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* Download CTA Card */
.download-cta {
  padding: 80px 0;
}

.download-cta-card {
  background: var(--gradient-purple-blue);
  border-radius: 24px;
  padding: 64px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(168, 85, 247, 0.3);
}

.download-cta-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='30' cy='30' r='20' fill='none' stroke='rgba(255,255,255,0.05)' stroke-width='1'/%3E%3C/svg%3E");
  background-size: 60px;
  pointer-events: none;
}

.download-cta-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 900;
  margin-bottom: 16px;
  position: relative;
}

.download-cta-desc {
  font-size: var(--font-size-lg);
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 32px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

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

.btn-store {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-btn);
  color: white;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  backdrop-filter: blur(8px);
  text-decoration: none;
}

.btn-store:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

.btn-store-icon {
  font-size: 28px;
}

.btn-store-text {
  display: flex;
  flex-direction: column;
  text-align: left;
  gap: 2px;
}

.btn-store-sub {
  font-size: var(--font-size-xs);
  opacity: 0.8;
  font-weight: 400;
}

.btn-store-main {
  font-size: var(--font-size-base);
  font-weight: 700;
}

/* ============================================================
   15. PRIVACY POLICY / TERMS PAGE
   ============================================================ */

.legal-page {
  padding: 140px 0 100px;
}

.legal-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px;
}

.legal-hero {
  text-align: center;
  margin-bottom: 64px;
}

.legal-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  margin-bottom: 16px;
}

.legal-updated {
  font-size: var(--font-size-sm);
  color: var(--text-muted);
}

.legal-content {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-card);
  padding: 48px;
}

.legal-content h2 {
  font-size: var(--font-size-2xl);
  font-weight: 700;
  margin-bottom: 16px;
  margin-top: 40px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-card);
  background: var(--gradient-full-horizontal);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.legal-content h2:first-of-type {
  margin-top: 0;
}

.legal-content h3 {
  font-size: var(--font-size-xl);
  font-weight: 600;
  margin-bottom: 12px;
  margin-top: 28px;
  color: var(--text-primary);
}

.legal-content p {
  font-size: var(--font-size-base);
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 16px;
}

.legal-content ul,
.legal-content ol {
  margin-bottom: 16px;
  padding-left: 0;
}

.legal-content li {
  font-size: var(--font-size-base);
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 8px;
  padding-left: 20px;
  position: relative;
}

.legal-content ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gradient-purple-blue);
}

.legal-content ol {
  counter-reset: item;
}

.legal-content ol li::before {
  content: counter(item) '.';
  counter-increment: item;
  position: absolute;
  left: 0;
  color: var(--purple);
  font-weight: 700;
}

.legal-content a {
  color: var(--purple);
  text-decoration: underline;
  text-decoration-color: rgba(168, 85, 247, 0.4);
  transition: var(--transition);
}

.legal-content a:hover {
  color: var(--blue);
}

.legal-content strong {
  color: var(--text-primary);
  font-weight: 700;
}

/* ============================================================
   16. ANIMATIONS
   ============================================================ */

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

@keyframes gradientShift {
  0% {
    background-position: 0% center;
  }
  50% {
    background-position: 100% center;
  }
  100% {
    background-position: 0% center;
  }
}

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

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes pulse-glow {
  0%, 100% {
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.2);
  }
  50% {
    box-shadow: 0 0 60px rgba(168, 85, 247, 0.5), 0 0 100px rgba(59, 130, 246, 0.2);
  }
}

@keyframes orbit {
  0% {
    transform: rotate(0deg) translateX(60px) rotate(0deg);
  }
  100% {
    transform: rotate(360deg) translateX(60px) rotate(-360deg);
  }
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

/* AOS-like Animation Classes */
[data-aos] {
  opacity: 0;
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-aos="fade-up"] {
  transform: translateY(40px);
}

[data-aos="fade-down"] {
  transform: translateY(-40px);
}

[data-aos="fade-left"] {
  transform: translateX(40px);
}

[data-aos="fade-right"] {
  transform: translateX(-40px);
}

[data-aos="zoom-in"] {
  transform: scale(0.85);
}

[data-aos="zoom-out"] {
  transform: scale(1.15);
}

[data-aos].aos-animate {
  opacity: 1;
  transform: translate(0) scale(1);
}

/* Staggered delays */
[data-aos-delay="100"] { transition-delay: 100ms; }
[data-aos-delay="200"] { transition-delay: 200ms; }
[data-aos-delay="300"] { transition-delay: 300ms; }
[data-aos-delay="400"] { transition-delay: 400ms; }
[data-aos-delay="500"] { transition-delay: 500ms; }
[data-aos-delay="600"] { transition-delay: 600ms; }

/* ============================================================
   17. RESPONSIVE BREAKPOINTS
   ============================================================ */

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

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

  .hero-sub {
    max-width: 600px;
    margin: 0 auto;
  }

  .hero-stats-row {
    justify-content: center;
  }

  .phone-mockup {
    width: 240px;
    height: 480px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-card:nth-child(2)::after {
    display: none;
  }

  .stat-card:nth-child(2) {
    border-right: none;
  }

  .apps-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .showcase-visual {
    order: -1;
  }

  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

  .app-detail-hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .app-features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .nav-links {
    display: none;
  }

  .nav-cta {
    display: none;
  }

  .hamburger {
    display: flex;
  }
}

/* Mobile: 768px */
@media (max-width: 768px) {
  :root {
    --section-padding: 70px 0;
  }

  .hero-visual {
    display: none;
  }

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

  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  .hero-buttons .btn-primary,
  .hero-buttons .btn-ghost {
    width: 100%;
    justify-content: center;
  }

  .hero-stats-row {
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-card::after {
    display: none;
  }

  .apps-grid {
    grid-template-columns: 1fr;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .testimonial-card {
    min-width: 300px;
  }

  .blog-grid {
    grid-template-columns: 1fr;
  }

  .contact-form-card {
    padding: 28px 20px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

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

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }

  .footer-legal {
    justify-content: center;
  }

  .app-detail-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .app-detail-stats {
    flex-wrap: wrap;
    gap: 20px;
  }

  .app-features-grid {
    grid-template-columns: 1fr;
  }

  .download-cta-card {
    padding: 40px 24px;
  }

  .legal-content {
    padding: 28px 20px;
  }

  .section-header {
    margin-bottom: 40px;
  }

  .showcase-grid {
    grid-template-columns: 1fr;
  }
}

/* Small Mobile: 480px */
@media (max-width: 480px) {
  :root {
    --section-padding: 56px 0;
  }

  .container {
    padding: 0 16px;
  }

  .hero-headline {
    font-size: clamp(2.25rem, 8vw, 3rem);
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .stat-card {
    padding: 28px 20px;
  }

  .testimonial-card {
    min-width: 280px;
    padding: 24px 20px;
  }

  .app-detail-icon {
    width: 72px;
    height: 72px;
    font-size: 32px;
    border-radius: 18px;
  }

  .section-title {
    font-size: clamp(1.5rem, 6vw, 2rem);
  }

  .app-card {
    padding: 20px;
  }

  .feature-card {
    padding: 24px 20px;
  }

  .nav-logo-text {
    font-size: var(--font-size-lg);
  }

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

/* ============================================================
   18. PAGE LOADER
   ============================================================ */

.page-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--bg-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 24px;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.page-loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.loader-logo-icon {
  width: 56px;
  height: 56px;
  background: var(--gradient-purple-blue);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 900;
  color: white;
  animation: pulse-glow 2s ease-in-out infinite;
}

.loader-logo-text {
  font-size: var(--font-size-3xl);
  font-weight: 900;
  background: var(--gradient-full-horizontal);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% auto;
  animation: gradientShift 2s ease infinite;
}

.loader-bar {
  width: 200px;
  height: 3px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 2px;
  overflow: hidden;
}

.loader-bar-fill {
  height: 100%;
  background: var(--gradient-full-horizontal);
  border-radius: 2px;
  animation: loaderFill 1.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes loaderFill {
  from {
    width: 0%;
  }
  to {
    width: 100%;
  }
}

.loader-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(255, 255, 255, 0.08);
  border-top-color: var(--purple);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

/* ============================================================
   19. SCROLL TO TOP BUTTON
   ============================================================ */

.scroll-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 900;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--gradient-purple-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-btn);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  border: none;
  font-size: 20px;
}

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

.scroll-to-top:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-btn-hover);
  filter: brightness(1.15);
}

.scroll-to-top:active {
  transform: translateY(-2px);
}

/* ============================================================
   ADDITIONAL UTILITY & HELPER STYLES
   ============================================================ */

/* Visually Hidden */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Spacing Helpers */
.mt-0 { margin-top: 0; }
.mt-4 { margin-top: 4px; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mb-0 { margin-bottom: 0; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }

/* Text Helpers */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.text-muted { color: var(--text-muted); }
.text-secondary { color: var(--text-secondary); }
.text-primary { color: var(--text-primary); }
.text-purple { color: var(--purple); }
.text-blue { color: var(--blue); }
.text-cyan { color: var(--cyan); }
.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }

/* Display Helpers */
.d-flex { display: flex; }
.align-center { align-items: center; }
.justify-center { justify-content: center; }
.gap-8 { gap: 8px; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }

/* Background Helpers */
.bg-secondary { background: var(--bg-secondary); }

/* Section Common Padding */
.section {
  padding: var(--section-padding);
}

/* Glow Effects */
.glow-purple {
  animation: pulse-glow 3s ease-in-out infinite;
}

/* Separator */
.section-divider {
  width: 60px;
  height: 3px;
  background: var(--gradient-full-horizontal);
  border-radius: 2px;
  margin: 16px auto 0;
}

.section-header .section-divider {
  margin-left: auto;
  margin-right: auto;
}

/* Image Placeholder */
.img-placeholder {
  background: linear-gradient(
    270deg,
    rgba(255, 255, 255, 0.03),
    rgba(255, 255, 255, 0.07),
    rgba(255, 255, 255, 0.03)
  );
  background-size: 400% 100%;
  animation: shimmer 2s ease infinite;
  border-radius: 8px;
}

/* Notification / Toast */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  backdrop-filter: var(--blur-glass);
  -webkit-backdrop-filter: var(--blur-glass);
  border-radius: 12px;
  padding: 14px 24px;
  color: var(--text-primary);
  font-size: var(--font-size-sm);
  font-weight: 500;
  z-index: 9998;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease;
  opacity: 0;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
  white-space: nowrap;
}

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

.toast.success {
  border-color: rgba(34, 211, 238, 0.3);
}

.toast.error {
  border-color: rgba(239, 68, 68, 0.3);
}

/* Highlight Strip */
.highlight-strip {
  display: inline;
  background: linear-gradient(
    transparent 60%,
    rgba(168, 85, 247, 0.25) 60%
  );
  padding: 0 2px;
}

/* App Card Glow on Hover */
.app-card:hover .app-icon {
  animation: pulse-glow 1.5s ease-in-out infinite;
}

/* Responsive Nav Logo Hide Text on Very Small */
@media (max-width: 360px) {
  .nav-logo-text {
    display: none;
  }
}

/* ============================================================
   FEATURE ITEM (app detail page — plain string features)
   ============================================================ */
.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-card);
  font-size: var(--font-size-base);
  color: var(--text-secondary);
  transition: var(--transition);
}
.feature-item:hover { border-color: var(--border-card-hover); color: var(--text-primary); }
.feature-check {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--gradient-purple-blue);
  color: #fff;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

/* App hero icon (emoji-based) */
.app-hero-icon {
  width: 90px;
  height: 90px;
  border-radius: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  margin-bottom: 16px;
}

/* Print Styles */
@media print {
  .navbar,
  .page-loader,
  .scroll-to-top,
  .hero-orbs,
  .mobile-menu {
    display: none !important;
  }

  body {
    background: white;
    color: black;
  }

  .glass-card {
    border: 1px solid #ddd;
    background: #f9f9f9;
  }
}
