/* Future @I — futureati.app */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
  --bg: #0a0e17;
  --bg-surface: #111827;
  --bg-card: rgba(17, 24, 39, 0.6);
  --glass: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-hover: rgba(255, 255, 255, 0.08);
  --primary: #00d4aa;
  --primary-dim: rgba(0, 212, 170, 0.15);
  --primary-glow: rgba(0, 212, 170, 0.3);
  --accent: #6366f1;
  --accent-dim: rgba(99, 102, 241, 0.15);
  --text: #f1f5f9;
  --text-dim: #94a3b8;
  --text-muted: #64748b;
  --border: rgba(255, 255, 255, 0.06);
  --danger: #ef4444;
  --warning: #f59e0b;
  --radius: 16px;
  --radius-sm: 10px;
  --radius-xs: 6px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ═══════════════════════ Ambient Background ═══════════════════════ */
.ambient-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}

.ambient-bg .orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.3;
  animation: float 20s ease-in-out infinite;
}

.orb-1 {
  width: 600px; height: 600px;
  background: var(--primary);
  top: -200px; left: -200px;
  animation-delay: 0s;
}

.orb-2 {
  width: 500px; height: 500px;
  background: var(--accent);
  bottom: -150px; right: -150px;
  animation-delay: -7s;
}

.orb-3 {
  width: 400px; height: 400px;
  background: #8b5cf6;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  animation-delay: -14s;
}

@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); }
}

/* ═══════════════════════ Navigation ═══════════════════════ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 16px 32px;
  backdrop-filter: blur(20px) saturate(1.5);
  background: rgba(10, 14, 23, 0.75);
  border-bottom: 1px solid var(--glass-border);
  transition: all 0.3s ease;
}

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

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text);
}

.nav-logo {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: var(--radius-xs);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 14px;
  color: #fff;
}

.nav-brand-text {
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.02em;
}

.nav-brand-text span {
  color: var(--primary);
}

.nav-links {
  display: flex;
  gap: 8px;
  list-style: none;
}

.nav-links a {
  color: var(--text-dim);
  text-decoration: none;
  padding: 8px 16px;
  border-radius: var(--radius-xs);
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s;
}

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

.nav-links a.active {
  color: var(--primary);
  background: var(--primary-dim);
}

.nav-hamburger {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  font-size: 24px;
  cursor: pointer;
  padding: 4px;
}

/* ═══════════════════════ Hero ═══════════════════════ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 32px 80px;
  text-align: center;
  position: relative;
}

.hero-content {
  max-width: 800px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-dim);
  border: 1px solid rgba(0, 212, 170, 0.2);
  color: var(--primary);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 32px;
  letter-spacing: 0.02em;
}

.hero-badge .dot {
  width: 6px;
  height: 6px;
  background: var(--primary);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero h1 {
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.hero h1 .gradient-text {
  background: linear-gradient(135deg, var(--primary), #6366f1, #a855f7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 18px;
  color: var(--text-dim);
  max-width: 560px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ═══════════════════════ Buttons ═══════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
  font-family: inherit;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), #00b894);
  color: #0a0e17;
  box-shadow: 0 0 20px var(--primary-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px var(--primary-glow), 0 8px 32px rgba(0, 0, 0, 0.3);
}

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

.btn-glass:hover {
  background: var(--glass-hover);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

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

/* ═══════════════════════ Sections ═══════════════════════ */
.section {
  padding: 100px 32px;
  max-width: 1200px;
  margin: 0 auto;
}

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

.section-header h2 {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.section-header p {
  font-size: 16px;
  color: var(--text-dim);
  max-width: 480px;
  margin: 0 auto;
}

/* ═══════════════════════ App Cards ═══════════════════════ */
.app-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
}

.app-card {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 32px;
  backdrop-filter: blur(20px);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.app-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 50%, rgba(0, 212, 170, 0.03));
  pointer-events: none;
}

.app-card:hover {
  border-color: rgba(0, 212, 170, 0.2);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(0, 212, 170, 0.1);
}

.app-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
}

.app-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.app-card .app-desc {
  font-size: 14px;
  color: var(--text-dim);
  margin-bottom: 20px;
  line-height: 1.6;
}

.app-card .app-meta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.app-meta .tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
}

.app-card .app-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xs);
  color: var(--text);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  transition: all 0.2s;
}

.store-badge:hover {
  background: var(--glass-hover);
  border-color: rgba(255, 255, 255, 0.15);
}

.store-badge svg {
  width: 18px;
  height: 18px;
}

.coming-soon {
  color: var(--text-muted);
  font-style: italic;
  font-size: 13px;
  padding: 10px 0;
}

/* ═══════════════════════ Features Strip ═══════════════════════ */
.features-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 64px;
}

.feature-item {
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  backdrop-filter: blur(10px);
  text-align: center;
}

.feature-item .feature-icon {
  font-size: 28px;
  margin-bottom: 12px;
}

.feature-item h4 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 6px;
}

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

/* ═══════════════════════ Legal Pages ═══════════════════════ */
.legal-page {
  padding: 120px 32px 80px;
  max-width: 800px;
  margin: 0 auto;
}

.legal-page h1 {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.legal-page .legal-updated {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 40px;
}

.legal-page .legal-body {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 40px;
  backdrop-filter: blur(20px);
}

.legal-body h2 {
  font-size: 20px;
  font-weight: 700;
  margin-top: 36px;
  margin-bottom: 12px;
  color: var(--primary);
  letter-spacing: -0.01em;
}

.legal-body h2:first-child {
  margin-top: 0;
}

.legal-body h3 {
  font-size: 16px;
  font-weight: 600;
  margin-top: 24px;
  margin-bottom: 8px;
}

.legal-body p, .legal-body li {
  font-size: 15px;
  color: var(--text-dim);
  line-height: 1.8;
  margin-bottom: 12px;
}

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

.legal-body li {
  margin-bottom: 6px;
}

.legal-body .indent {
  padding-left: 24px;
}

.legal-body .legal-contact {
  margin-top: 32px;
  padding: 20px;
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.legal-body .legal-contact p {
  margin-bottom: 4px;
}

/* App-specific legal nav */
.legal-nav {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.legal-nav a {
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  color: var(--text-dim);
  background: var(--glass);
  border: 1px solid var(--glass-border);
  transition: all 0.2s;
}

.legal-nav a:hover, .legal-nav a.active {
  color: var(--primary);
  background: var(--primary-dim);
  border-color: rgba(0, 212, 170, 0.2);
}

/* ═══════════════════════ Footer ═══════════════════════ */
.footer {
  border-top: 1px solid var(--border);
  padding: 48px 32px;
  text-align: center;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-links {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}

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

.footer-copy {
  font-size: 13px;
  color: var(--text-muted);
}

.footer-copy a {
  color: var(--primary);
  text-decoration: none;
}

/* ═══════════════════════ Responsive ═══════════════════════ */
@media (max-width: 768px) {
  .nav {
    padding: 12px 20px;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(10, 14, 23, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    padding: 16px;
  }

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

  .nav-hamburger {
    display: block;
  }

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

  .hero p {
    font-size: 16px;
  }

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

  .section {
    padding: 60px 20px;
  }

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

  .legal-page {
    padding: 100px 20px 60px;
  }

  .legal-body {
    padding: 24px !important;
  }
}

/* ═══════════════════════ Scroll Animations ═══════════════════════ */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ═══════════════════════ App icon gradients ═══════════════════════ */
.icon-green { background: linear-gradient(135deg, #00d4aa, #00b894); }
.icon-blue { background: linear-gradient(135deg, #6366f1, #818cf8); }
.icon-purple { background: linear-gradient(135deg, #a855f7, #c084fc); }
.icon-orange { background: linear-gradient(135deg, #f59e0b, #fbbf24); }
.icon-red { background: linear-gradient(135deg, #ef4444, #f87171); }
.icon-cyan { background: linear-gradient(135deg, #06b6d4, #22d3ee); }
