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

:root {
  --bg: #05050a;
  --bg-alt: #0c0c14;
  --card: rgba(255, 255, 255, 0.04);
  --card-hover: rgba(255, 255, 255, 0.08);
  --border: rgba(255, 255, 255, 0.1);
  --text: #f5f5f7;
  --muted: #86868b;
  --brand: #5e5ce6;
  --brand-2: #0a84ff;
  --accent: linear-gradient(135deg, #0a84ff, #5e5ce6 50%, #bf5af2);
  --radius: 18px;
  --nav-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }
body {
  font-family: Inter, system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: var(--brand-2); text-decoration: none; }
a:hover { color: #409cff; }
.container { max-width: 1140px; margin: 0 auto; padding: 0 1.25rem; }

.bg-grid {
  position: fixed; inset: 0; z-index: -1;
  background-image:
    linear-gradient(rgba(94, 92, 230, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(94, 92, 230, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 75%);
}

.navbar {
  position: fixed; top: 0; inset-inline: 0; z-index: 100;
  height: var(--nav-h);
  backdrop-filter: blur(16px);
  background: rgba(5, 5, 10, 0.75);
  border-bottom: 1px solid var(--border);
}
.navbar-inner { height: 100%; display: flex; align-items: center; gap: 1rem; }
.logo { display: flex; align-items: center; gap: .6rem; font-weight: 800; color: var(--text); font-size: 1.15rem; }
.logo-mark {
  width: 36px; height: 36px; border-radius: 12px;
  background: var(--accent); display: grid; place-items: center; color: #fff;
}
.logo span { color: var(--brand-2); }
.nav-links { display: none; list-style: none; gap: 1.5rem; margin-left: auto; }
.nav-links a { color: var(--muted); font-size: .9rem; font-weight: 500; }
.nav-links a:hover { color: var(--text); }
.menu-toggle {
  margin-left: auto; background: none; border: 0; color: var(--text);
  font-size: 1.25rem; cursor: pointer;
}
@media (min-width: 768px) {
  .nav-links { display: flex; }
  .menu-toggle { display: none; }
  .navbar .btn-sm { margin-left: .5rem; }
}

.mobile-nav {
  position: fixed; inset: 0; z-index: 200; background: rgba(5,5,10,.96);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.5rem;
  transform: translateX(100%); transition: transform .3s ease;
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav a { color: var(--text); font-size: 1.25rem; font-weight: 600; }
.close-btn { position: absolute; top: 1.25rem; right: 1.25rem; background: none; border: 0; color: var(--text); font-size: 1.5rem; cursor: pointer; }

.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .75rem 1.25rem; border-radius: 999px; font-weight: 600; font-size: .95rem;
  border: 1px solid transparent; transition: .2s ease;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { filter: brightness(1.08); color: #fff; }
.btn-ghost { border-color: var(--border); color: var(--text); background: transparent; }
.btn-ghost:hover { background: var(--card-hover); color: var(--text); }
.btn-sm { padding: .55rem 1rem; font-size: .85rem; }

.hero { padding: calc(var(--nav-h) + 3rem) 0 4rem; }
.hero-grid {
  display: grid; gap: 3rem; align-items: center;
}
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.1fr .9fr; } }
.badge {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .35rem .85rem; border-radius: 999px;
  background: var(--card); border: 1px solid var(--border);
  font-size: .8rem; color: var(--muted); margin-bottom: 1.25rem;
}
.badge .dot { width: 8px; height: 8px; border-radius: 50%; background: #30d158; }
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); line-height: 1.05; letter-spacing: -.03em; margin-bottom: 1rem; }
.gradient { background: var(--accent); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 1.1rem; color: var(--muted); max-width: 36rem; margin-bottom: 1.5rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 2rem; }
.hero-stats { display: flex; gap: 2rem; flex-wrap: wrap; }
.hero-stats dt { font-size: 1.75rem; font-weight: 800; }
.hero-stats dd { font-size: .85rem; color: var(--muted); }
.hero-visual { position: relative; justify-self: center; }
.hero-photo {
  width: min(100%, 380px); aspect-ratio: 1; object-fit: cover;
  border-radius: 28px; border: 1px solid var(--border);
  box-shadow: 0 24px 80px rgba(94, 92, 230, 0.25);
}
.hero-card {
  position: absolute; bottom: -1rem; left: 50%; transform: translateX(-50%);
  background: rgba(12, 12, 20, 0.92); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1rem 1.25rem; text-align: center; min-width: 240px;
}
.hero-card-label { font-size: .75rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.hero-card-name { font-size: 1.15rem; font-weight: 700; }
.hero-card-role { font-size: .85rem; color: var(--muted); }

.section { padding: 5rem 0; }
.section-alt { background: var(--bg-alt); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 2.5rem; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .75rem; color: var(--brand-2); font-weight: 600; margin-bottom: .5rem; }
.section-head h2 { font-size: clamp(1.75rem, 3vw, 2.25rem); margin-bottom: .75rem; }
.sub { color: var(--muted); }

.filters { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; margin-bottom: 2rem; }
.filter-btn {
  padding: .45rem 1rem; border-radius: 999px; border: 1px solid var(--border);
  background: transparent; color: var(--muted); cursor: pointer; font-size: .85rem; font-weight: 500;
}
.filter-btn.active, .filter-btn:hover { background: var(--card-hover); color: var(--text); border-color: rgba(94, 92, 230, 0.5); }

.apps-grid {
  display: grid; gap: 1.25rem;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}
.app-card {
  display: flex; flex-direction: column; gap: .75rem;
  padding: 1.25rem; border-radius: var(--radius);
  background: var(--card); border: 1px solid var(--border);
  transition: transform .2s, border-color .2s, background .2s;
}
.app-card:hover { transform: translateY(-3px); border-color: rgba(94, 92, 230, 0.45); background: var(--card-hover); }
.app-card.is-soon { opacity: .85; }
.app-head { display: flex; align-items: flex-start; justify-content: space-between; gap: .75rem; }
.app-icon {
  width: 44px; height: 44px; border-radius: 14px;
  background: rgba(94, 92, 230, 0.15); color: var(--brand-2);
  display: grid; place-items: center; font-size: 1.1rem;
}
.status {
  font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
  padding: .25rem .55rem; border-radius: 999px;
}
.status-live { background: rgba(48, 209, 88, 0.15); color: #30d158; }
.status-soon { background: rgba(255, 159, 10, 0.15); color: #ff9f0a; }
.app-card h3 { font-size: 1.05rem; }
.app-card p { font-size: .9rem; color: var(--muted); flex: 1; }
.app-stack { display: flex; flex-wrap: wrap; gap: .35rem; }
.app-stack span {
  font-size: .72rem; padding: .2rem .5rem; border-radius: 6px;
  background: rgba(255,255,255,.06); color: var(--muted);
}
.app-link {
  margin-top: .25rem; font-size: .85rem; font-weight: 600;
  display: inline-flex; align-items: center; gap: .35rem;
}

.about-grid {
  display: grid; gap: 2.5rem; align-items: start;
}
@media (min-width: 900px) { .about-grid { grid-template-columns: 1fr 1fr; } }
.about-list { list-style: none; margin-top: 1.5rem; display: grid; gap: .75rem; }
.about-list li { display: flex; gap: .65rem; align-items: flex-start; color: var(--muted); }
.about-list i { color: #30d158; margin-top: .2rem; }
.about-cards { display: grid; gap: 1rem; }
.info-card {
  padding: 1.25rem; border-radius: var(--radius);
  background: var(--card); border: 1px solid var(--border);
}
.info-card i { font-size: 1.25rem; color: var(--brand-2); margin-bottom: .75rem; }
.info-card h3 { margin-bottom: .35rem; font-size: 1rem; }
.info-card p { font-size: .9rem; color: var(--muted); }

.tech-grid {
  display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center;
}
.tech-pill {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .65rem 1rem; border-radius: 999px;
  border: 1px solid var(--border); background: var(--card);
  font-size: .9rem; font-weight: 500;
}

.cta { padding: 4rem 0 5rem; }
.cta-inner { text-align: center; max-width: 560px; margin: 0 auto; }
.cta-inner h2 { font-size: 1.75rem; margin-bottom: .75rem; }
.cta-inner p { color: var(--muted); margin-bottom: 1.5rem; }
.cta-actions { display: flex; gap: .75rem; justify-content: center; flex-wrap: wrap; }

.footer { border-top: 1px solid var(--border); padding: 2rem 0; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; }
.footer-inner p { color: var(--muted); font-size: .9rem; }
.footer-links { display: flex; gap: 1.25rem; }
.footer-links a { color: var(--muted); font-size: .9rem; }
.footer-links a:hover { color: var(--text); }

.reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.reveal.active { opacity: 1; transform: none; }
