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

:root {
  --primary: #667eea;
  --primary-dark: #5a67d8;
  --primary-light: #a3bffa;
  --secondary: #764ba2;
  --accent: #f093fb;
  --gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --gradient-vibrant: linear-gradient(135deg, #667eea 0%, #f093fb 50%, #764ba2 100%);
  --gradient-subtle: linear-gradient(135deg, #eef2ff 0%, #f5f0ff 100%);

  --text-primary: #1a202c;
  --text-secondary: #4a5568;
  --text-tertiary: #718096;
  --text-white: #ffffff;

  --bg-white: #ffffff;
  --bg-light: #f7fafc;
  --bg-dark: #0f0f23;
  --bg-card: #ffffff;

  --border-light: #e2e8f0;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 14px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.15);
  --shadow-glow: 0 0 40px rgba(102, 126, 234, 0.3);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text-primary);
  background: var(--bg-white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

ul {
  list-style: none;
}

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

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

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

/* ========== ANIMATIONS ========== */
.animate-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* stagger children */
.animate-in:nth-child(2) { transition-delay: 0.1s; }
.animate-in:nth-child(3) { transition-delay: 0.2s; }
.animate-in:nth-child(4) { transition-delay: 0.3s; }
.animate-in:nth-child(5) { transition-delay: 0.4s; }
.animate-in:nth-child(6) { transition-delay: 0.5s; }
.animate-in:nth-child(7) { transition-delay: 0.6s; }
.animate-in:nth-child(8) { transition-delay: 0.7s; }

/* ========== NAVBAR ========== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: var(--transition);
  background: transparent;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-sm);
  padding: 10px 0;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-white);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

.navbar.scrolled .nav-logo {
  color: var(--text-primary);
}

.logo-icon {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  object-fit: contain;
}

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

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  transition: var(--transition);
  position: relative;
}

.navbar.scrolled .nav-links a {
  color: var(--text-secondary);
}

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

.navbar.scrolled .nav-links a:hover {
  color: var(--primary);
}

.nav-cta {
  background: var(--gradient) !important;
  color: var(--text-white) !important;
  padding: 10px 24px !important;
  border-radius: var(--radius-full) !important;
  font-weight: 600 !important;
  transition: var(--transition) !important;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5) !important;
}

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

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text-white);
  border-radius: 2px;
  transition: var(--transition);
}

.navbar.scrolled .nav-toggle span {
  background: var(--text-primary);
}

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: inherit;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  border-radius: var(--radius-full);
  text-align: center;
  justify-content: center;
}

.btn-primary {
  background: var(--gradient);
  color: var(--text-white);
  padding: 14px 32px;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.5);
}

.btn-outline {
  background: transparent;
  color: var(--text-white);
  padding: 14px 32px;
  border: 2px solid rgba(255, 255, 255, 0.4);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.7);
  transform: translateY(-3px);
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1.05rem;
}

.btn-xl {
  padding: 20px 48px;
  font-size: 1.15rem;
}

.btn-icon {
  width: 20px;
  height: 20px;
}

/* ========== HERO ========== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0f0f23 0%, #1a1a3e 30%, #2d1b69 60%, #1a1a3e 100%);
  overflow: hidden;
  padding: 120px 0 80px;
}

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

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

.shape-1 {
  width: 600px;
  height: 600px;
  background: var(--primary);
  top: -200px;
  right: -100px;
  animation: float 8s ease-in-out infinite;
}

.shape-2 {
  width: 400px;
  height: 400px;
  background: var(--secondary);
  bottom: -100px;
  left: -100px;
  animation: float 10s ease-in-out infinite reverse;
}

.shape-3 {
  width: 300px;
  height: 300px;
  background: var(--accent);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: float 12s ease-in-out infinite;
}

.shape-4 {
  width: 200px;
  height: 200px;
  background: var(--primary-light);
  bottom: 20%;
  right: 20%;
  animation: float 9s ease-in-out infinite reverse;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -30px) scale(1.05); }
  66% { transform: translate(-20px, 20px) scale(0.95); }
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  padding: 8px 20px;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--primary-light);
  margin-bottom: 32px;
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: #48bb78;
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

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

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 900;
  line-height: 1.1;
  color: var(--text-white);
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.hero-title .gradient-text {
  background: var(--gradient-vibrant);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: rgba(255, 255, 255, 0.7);
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.hero-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.hero-platforms {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.platform-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 500;
}

.platform-badge.android {
  color: #48bb78;
}

.platform-badge.ios {
  color: rgba(255, 255, 255, 0.5);
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.scroll-arrow {
  width: 24px;
  height: 24px;
  border-right: 2px solid rgba(255, 255, 255, 0.4);
  border-bottom: 2px solid rgba(255, 255, 255, 0.4);
  transform: rotate(45deg);
  animation: scroll-bounce 2s ease-in-out infinite;
}

@keyframes scroll-bounce {
  0%, 100% { transform: rotate(45deg) translate(0, 0); opacity: 0.4; }
  50% { transform: rotate(45deg) translate(5px, 5px); opacity: 1; }
}

/* ========== STATS BAR ========== */
.stats-bar {
  background: var(--gradient);
  padding: 48px 0;
  position: relative;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.stat-item {
  color: var(--text-white);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  display: inline;
}

.stat-suffix {
  font-size: 1.5rem;
  font-weight: 700;
  opacity: 0.8;
}

.stat-label {
  display: block;
  font-size: 0.95rem;
  opacity: 0.8;
  margin-top: 4px;
}

/* ========== SECTION COMMON ========== */
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 64px;
}

.section-tag {
  display: inline-block;
  background: var(--gradient-subtle);
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ========== FEATURES ========== */
.features {
  padding: 120px 0;
  background: var(--bg-light);
}

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

.feature-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: var(--transition);
  border: 1px solid var(--border-light);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient);
  opacity: 0;
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

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

.feature-icon {
  width: 56px;
  height: 56px;
  background: var(--gradient-subtle);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.feature-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--primary);
}

.feature-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ========== HOW IT WORKS ========== */
.how-it-works {
  padding: 120px 0;
  background: var(--bg-white);
}

.steps-container {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
}

.steps-line {
  position: absolute;
  left: 32px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--primary), var(--secondary));
  opacity: 0.2;
}

.step {
  display: flex;
  gap: 32px;
  align-items: flex-start;
  margin-bottom: 48px;
  position: relative;
}

.step:last-child {
  margin-bottom: 0;
}

.step-number {
  width: 64px;
  height: 64px;
  min-width: 64px;
  background: var(--gradient);
  color: var(--text-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  position: relative;
  z-index: 2;
  box-shadow: 0 4px 20px rgba(102, 126, 234, 0.4);
}

.step-content h3 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 10px;
  padding-top: 4px;
}

.step-content p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ========== FOR CUSTOMERS / DISPATCHERS ========== */
.for-you {
  padding: 120px 0;
  background: var(--bg-light);
}

.roles-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.role-card {
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  padding: 48px 40px;
  border: 1px solid var(--border-light);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.role-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient);
}

.role-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.role-icon {
  width: 64px;
  height: 64px;
  background: var(--gradient-subtle);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.role-icon svg {
  width: 32px;
  height: 32px;
  stroke: var(--primary);
}

.role-card h3 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.role-description {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-bottom: 28px;
}

.role-features {
  margin-bottom: 32px;
}

.role-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  color: var(--text-secondary);
  padding: 10px 0;
  border-bottom: 1px solid var(--border-light);
}

.role-features li:last-child {
  border-bottom: none;
}

.role-features svg {
  width: 18px;
  height: 18px;
  min-width: 18px;
  stroke: #48bb78;
}

/* ========== SHOWCASE ========== */
.showcase {
  padding: 120px 0;
  background: var(--bg-white);
}

.showcase-content {
  max-width: 720px;
  margin: 0 auto;
}

.showcase-content > p {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 48px;
}

.showcase-highlights {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.highlight {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 24px;
  border-radius: var(--radius-lg);
  background: var(--bg-light);
  transition: var(--transition);
}

.highlight:hover {
  box-shadow: var(--shadow-md);
  transform: translateX(8px);
}

.highlight-icon {
  min-width: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.highlight-icon svg {
  stroke: var(--primary);
}

.highlight strong {
  display: block;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.highlight p {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

/* ========== TEAM ========== */
.team {
  padding: 120px 0;
  background: var(--bg-light);
}

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

.team-card {
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  padding: 40px 32px;
  text-align: center;
  border: 1px solid var(--border-light);
  transition: var(--transition);
}

.team-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.founder-card {
  border: 2px solid transparent;
  background-image: linear-gradient(white, white), var(--gradient);
  background-origin: border-box;
  background-clip: padding-box, border-box;
}

.team-avatar {
  position: relative;
  display: inline-block;
  margin-bottom: 24px;
}

.avatar-placeholder {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

.avatar-placeholder svg {
  width: 56px;
  height: 56px;
}

.avatar-placeholder.founder {
  background: var(--gradient);
  color: var(--text-white);
}

.avatar-placeholder.founder svg {
  stroke: var(--text-white);
}

.avatar-placeholder.cofounder {
  background: var(--gradient-subtle);
  color: var(--primary);
}

.avatar-placeholder.cofounder svg {
  stroke: var(--primary);
}

.team-badge {
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient);
  color: var(--text-white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.team-card h3 {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 4px;
}

.team-role {
  font-size: 0.9rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 16px;
}

.team-bio {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ========== DOWNLOAD SECTION ========== */
.download-section {
  padding: 120px 0;
  background: var(--bg-white);
}

.download-card {
  background: linear-gradient(135deg, #0f0f23 0%, #1a1a3e 50%, #2d1b69 100%);
  border-radius: var(--radius-xl);
  padding: 80px 64px;
  display: flex;
  align-items: center;
  gap: 64px;
  overflow: hidden;
  position: relative;
}

.download-card::before {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  background: var(--primary);
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.2;
  top: -100px;
  right: -100px;
}

.download-content {
  flex: 1;
  position: relative;
  z-index: 2;
}

.download-content h2 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  color: var(--text-white);
  margin-bottom: 16px;
}

.download-content > p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
  margin-bottom: 32px;
}

.download-buttons {
  margin-bottom: 24px;
}

.download-platforms {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.platform-available {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #48bb78;
  font-size: 0.9rem;
  font-weight: 500;
}

.platform-soon {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
  font-weight: 500;
}

/* Phone Mockup */
.download-decoration {
  position: relative;
  z-index: 2;
}

.phone-mockup {
  width: 260px;
  height: 520px;
  background: #1a1a2e;
  border-radius: 36px;
  border: 3px solid rgba(255, 255, 255, 0.15);
  overflow: hidden;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.phone-mockup::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 28px;
  background: #0f0f23;
  border-radius: 0 0 16px 16px;
  z-index: 3;
}

.phone-screen {
  padding: 40px 20px 20px;
  height: 100%;
}

.mock-header {
  margin-bottom: 24px;
}

.mock-logo {
  color: var(--text-white);
  font-weight: 700;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 6px;
}

.mock-logo-icon {
  width: 20px;
  height: 20px;
  border-radius: 4px;
  object-fit: contain;
}

.mock-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mock-card {
  height: 80px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.06);
  animation: pulse-mock 2s ease-in-out infinite;
}

.mock-card.short {
  height: 48px;
  width: 70%;
}

.mock-btn {
  height: 48px;
  background: var(--gradient);
  border-radius: var(--radius-full);
  margin-top: 8px;
  opacity: 0.8;
}

@keyframes pulse-mock {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

/* ========== FOOTER ========== */
.footer {
  background: var(--bg-dark);
  padding: 80px 0 32px;
  color: rgba(255, 255, 255, 0.7);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand p {
  margin-top: 16px;
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.5);
}

.footer-brand .nav-logo {
  color: var(--text-white);
}

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

.footer-links a {
  display: block;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.5);
  padding: 6px 0;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--text-white);
  transform: translateX(4px);
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.4);
}

.footer-socials {
  display: flex;
  gap: 16px;
}

.footer-socials a {
  color: rgba(255, 255, 255, 0.4);
  transition: var(--transition);
}

.footer-socials a:hover {
  color: var(--text-white);
  transform: translateY(-2px);
}

/* ========== FLOATING CTA ========== */
.floating-cta {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--gradient);
  color: var(--text-white);
  padding: 14px 24px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: 0 8px 30px rgba(102, 126, 234, 0.5);
  transform: translateY(100px);
  opacity: 0;
  transition: var(--transition);
}

.floating-cta.visible {
  transform: translateY(0);
  opacity: 1;
}

.floating-cta:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(102, 126, 234, 0.6);
}

/* ========== LEGAL PAGES ========== */
.legal-page {
  padding-top: 100px;
  padding-bottom: 80px;
  min-height: 100vh;
  background: var(--bg-light);
}

.legal-header {
  max-width: 800px;
  margin: 0 auto 48px;
}

.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 24px;
  transition: var(--transition);
}

.legal-back:hover {
  color: var(--primary-dark);
  transform: translateX(-4px);
}

.legal-header h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 900;
  color: var(--text-primary);
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.legal-updated {
  font-size: 0.95rem;
  color: var(--text-tertiary);
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
}

.legal-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin-bottom: 20px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.legal-card:hover {
  box-shadow: var(--shadow-md);
}

.legal-card h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.legal-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-top: 20px;
  margin-bottom: 10px;
}

.legal-card h3:first-child {
  margin-top: 0;
}

.legal-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 12px;
}

.legal-card p:last-child {
  margin-bottom: 0;
}

.legal-card ul {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 16px;
}

.legal-card ul:last-child {
  margin-bottom: 0;
}

.legal-card li {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 4px;
}

.legal-card a {
  color: var(--primary);
  text-decoration: underline;
  transition: var(--transition);
}

.legal-card a:hover {
  color: var(--primary-dark);
}

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

.legal-footer {
  text-align: center;
  font-size: 0.95rem;
  color: var(--text-tertiary);
  font-style: italic;
  margin-top: 32px;
  padding: 24px 0;
}

.footer-legal-links {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
}

.footer-legal-links a {
  color: rgba(255, 255, 255, 0.5);
  transition: var(--transition);
}

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

.footer-legal-links span {
  color: rgba(255, 255, 255, 0.3);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 15, 35, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 24px;
    padding: 24px;
    z-index: 999;
  }

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

  .nav-links a {
    font-size: 1.25rem !important;
    color: var(--text-white) !important;
  }

  .nav-toggle {
    display: flex;
    z-index: 1001;
  }

  .nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .navbar.scrolled .nav-toggle.active span {
    background: var(--text-white);
  }

  .hero {
    padding: 100px 0 60px;
    min-height: auto;
  }

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

  .hero-ctas {
    flex-direction: column;
  }

  .hero-ctas .btn {
    width: 100%;
  }

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

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

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

  .role-card {
    padding: 36px 28px;
  }

  .team-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .download-card {
    flex-direction: column;
    padding: 48px 32px;
    text-align: center;
  }

  .download-platforms {
    justify-content: center;
  }

  .download-decoration {
    display: none;
  }

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

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

  .floating-cta {
    bottom: 20px;
    right: 20px;
    padding: 12px 20px;
    font-size: 0.85rem;
  }

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

  .features,
  .how-it-works,
  .for-you,
  .showcase,
  .team,
  .download-section {
    padding: 80px 0;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

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

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

  .step {
    gap: 20px;
  }

  .step-number {
    width: 48px;
    height: 48px;
    min-width: 48px;
    font-size: 1.2rem;
  }

  .steps-line {
    left: 23px;
  }
}