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

:root {
  --bg: #0b0b18;
  --bg-elev: rgba(255, 255, 255, 0.04);
  --border: rgba(255, 255, 255, 0.1);
  --border-strong: rgba(255, 255, 255, 0.18);
  --text: #f2f2f7;
  --text-muted: rgba(242, 242, 247, 0.65);
  --text-soft: rgba(242, 242, 247, 0.45);
  --accent: #667eea;
  --accent-2: #764ba2;
  --accent-3: #48bb78;
  --radius-lg: 20px;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.4);
}

html, body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.container {
  width: min(1140px, 92%);
  margin: 0 auto;
}

/* === Background orbs === */
.bg-orbs {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.orb {
  position: absolute;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.38;
  animation: float 22s ease-in-out infinite alternate;
}

.orb-1 { top: -220px; left: -180px; background: #667eea; }
.orb-2 { top: 40%;    right: -240px; background: #764ba2; animation-delay: -6s; }
.orb-3 { bottom: -260px; left: 30%; background: #48bb78; opacity: 0.22; animation-delay: -12s; }

@keyframes float {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(40px, 40px) scale(1.08); }
}

/* === Navigation === */
.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  background: rgba(11, 11, 24, 0.6);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}

.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.logo-mark {
  font-size: 20px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav-links {
  display: flex;
  gap: 28px;
  font-size: 14px;
  color: var(--text-muted);
}

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

/* === Hero === */
.hero {
  padding: 96px 0 72px;
  text-align: center;
}

.hero-inner { max-width: 820px; margin: 0 auto; }

.eyebrow {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 6px 14px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  margin-bottom: 24px;
  background: var(--bg-elev);
}

.hero-title {
  font-size: clamp(36px, 6vw, 64px);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.gradient-text {
  background: linear-gradient(135deg, #a3b4ff, #c77dff 50%, #6ddfa6);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto 32px;
}

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

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 620px;
  margin: 0 auto;
  padding: 20px;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.hero-stats > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-align: center;
}

.hero-stats strong {
  font-size: 16px;
  font-weight: 700;
}

.hero-stats span {
  font-size: 12px;
  color: var(--text-soft);
}

/* === Buttons === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 14px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, filter 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  font-family: inherit;
}

.btn-small { padding: 9px 16px; font-size: 13px; }

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.35);
}

.btn-primary:hover { filter: brightness(1.1); transform: translateY(-1px); }

.btn-ghost {
  background: var(--bg-elev);
  color: var(--text);
  border-color: var(--border-strong);
}

.btn-ghost:hover { background: rgba(255, 255, 255, 0.08); }

.btn-disabled {
  opacity: 0.6;
  cursor: not-allowed;
  pointer-events: none;
}

/* === Sections === */
.section { padding: 88px 0; position: relative; }
.section-alt { background: rgba(255, 255, 255, 0.02); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.section-head { text-align: center; margin-bottom: 48px; }
.section-head h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}
.section-head p { color: var(--text-muted); }

/* === App cards === */
.app-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

@media (max-width: 720px) {
  .app-grid { grid-template-columns: 1fr; }
}

.app-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.app-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-lg);
}

.app-card-top {
  display: flex;
  align-items: center;
  gap: 16px;
}

.app-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  overflow: hidden;
  flex: 0 0 64px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 8px 20px rgba(102, 126, 234, 0.35);
}

.app-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.app-icon-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: none;
}

.app-heading h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 4px;
}

.app-tag {
  font-size: 12px;
  color: var(--text-soft);
  letter-spacing: 0.3px;
}

.app-desc {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
}

.app-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 13px;
  color: var(--text-muted);
}

.app-card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 8px;
  border-top: 1px solid var(--border);
}

.app-price {
  font-size: 12px;
  color: var(--text-soft);
}

/* === Coming soon card === */
.app-card-ghost {
  align-items: flex-start;
  text-align: left;
}

.coming-soon-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 4px 10px;
  background: rgba(118, 75, 162, 0.25);
  border: 1px solid rgba(167, 139, 250, 0.45);
  border-radius: 999px;
  color: #cbb6f3;
}

.ghost-title {
  font-size: 18px;
  font-weight: 700;
}

.subscribe {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: auto;
}

.subscribe input {
  flex: 1 1 160px;
  min-width: 0;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-strong);
  color: var(--text);
  font-family: inherit;
  font-size: 13px;
  outline: none;
  transition: border-color 0.15s ease;
}
.subscribe input:focus { border-color: var(--accent); }

.sub-thanks {
  width: 100%;
  font-size: 12px;
  color: var(--accent-3);
  padding-top: 4px;
}

/* === Features grid (Why us) === */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.feature-card {
  padding: 28px;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

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

.feature-card h4 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
}

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

/* === Footer === */
.footer {
  border-top: 1px solid var(--border);
  padding: 40px 0 32px;
  background: rgba(0, 0, 0, 0.25);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-tag {
  color: var(--text-soft);
  font-size: 13px;
  margin-top: 6px;
}

.footer-links {
  display: flex;
  gap: 22px;
  font-size: 14px;
  color: var(--text-muted);
}

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

.footer-copy {
  color: var(--text-soft);
  font-size: 12px;
  flex-basis: 100%;
  text-align: center;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  margin-top: 8px;
}

/* === Responsive === */
@media (max-width: 640px) {
  .nav-links { display: none; }
  .hero { padding: 64px 0 48px; }
  .section { padding: 64px 0; }
  .hero-stats { grid-template-columns: 1fr; }
  .app-card-bottom { flex-direction: column; align-items: stretch; }
  .app-card-bottom .btn { width: 100%; }
}
