/* ── Reset & base ─────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:      #f6f2ed;
  --fg:      #111111;
  --accent:  #4f46e5;
  --muted:   #888;
  --border:  rgba(0,0,0,.08);
  --radius:  16px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--fg);
  overflow-x: hidden;
}

/* ── Navbar ───────────────────────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 2.5rem;
  background: rgba(246,242,237,.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.navbar-logo {
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -.02em;
  color: var(--fg);
}

/* ── Dot accent ───────────────────────────────────────────────────────────── */
.dot { color: var(--accent); }

/* ── Hero ─────────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 6rem 2rem 5rem;
}

/* Gradient blobs */
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .55;
  pointer-events: none;
}
.blob-1 {
  width: 520px; height: 520px;
  background: radial-gradient(circle, #c7d2fe 0%, transparent 70%);
  top: -120px; left: -160px;
}
.blob-2 {
  width: 420px; height: 420px;
  background: radial-gradient(circle, #fde68a 0%, transparent 70%);
  bottom: -80px; right: -100px;
}
.blob-3 {
  width: 340px; height: 340px;
  background: radial-gradient(circle, #bbf7d0 0%, transparent 70%);
  top: 40%; right: 5%;
}

.hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 900px;
  width: 100%;
}

.hero-tag {
  display: inline-block;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: .3rem .9rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
  background: rgba(255,255,255,.5);
}

.hero-title {
  font-size: clamp(1.8rem, 7vw, 6rem);
  font-weight: 900;
  letter-spacing: -.04em;
  line-height: 1;
  margin-bottom: .6rem;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 1rem;
}

.hero-desc {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.65;
  max-width: 480px;
  margin: 0 auto 2.2rem;
}

.btn-hero {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-size: .95rem;
  font-weight: 600;
  padding: .85rem 2rem;
  border-radius: 999px;
  text-decoration: none;
  transition: opacity .2s, transform .2s;
}
.btn-hero:hover { opacity: .88; transform: translateY(-1px); }

/* Scroll hint */
.scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  color: var(--muted);
  font-size: .7rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.scroll-line {
  width: 1px;
  height: 36px;
  background: linear-gradient(to bottom, transparent, var(--muted));
  animation: scrollPulse 1.8s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: .3; } 50% { opacity: 1; }
}

/* ── Apps section ─────────────────────────────────────────────────────────── */
.apps {
  padding: 6rem 2rem;
}

.apps-inner {
  max-width: 900px;
  margin: 0 auto;
}

.section-label {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .75rem;
}

.section-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  letter-spacing: -.03em;
  margin-bottom: 3rem;
}

/* Cards */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: .75rem;
  text-decoration: none;
  color: var(--fg);
  transition: transform .2s, box-shadow .2s;
}
.card:not(.card-soon):hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(79,70,229,.12);
}

.card-soon {
  opacity: .5;
  cursor: default;
}

.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.card-tag {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  background: #eef2ff;
  color: var(--accent);
  border-radius: 999px;
  padding: .2rem .65rem;
}
.card-tag-soon {
  background: #f3f4f6;
  color: var(--muted);
}

.card-title {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -.02em;
}

.card-desc {
  font-size: .9rem;
  color: var(--muted);
  line-height: 1.6;
  flex: 1;
}

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

.card-tech {
  font-size: .75rem;
  color: var(--muted);
  font-weight: 500;
}

.card-arrow {
  font-size: 1rem;
  color: var(--accent);
  font-weight: 700;
  transition: transform .2s;
}
.card:not(.card-soon):hover .card-arrow { transform: translateX(4px); }

/* ── Footer ───────────────────────────────────────────────────────────────── */
.footer {
  text-align: center;
  padding: 2rem;
  font-size: .85rem;
  color: var(--muted);
  border-top: 1px solid var(--border);
}

/* ── Responsive ───────────────────────────────────────────────────────────── */
@media (max-width: 600px) {
  .navbar { padding: 1rem 1.25rem; }
  .hero { padding: 5rem 1.25rem 4rem; }
  .apps { padding: 4rem 1.25rem; }
}
