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

:root {
  --black: rgb(16, 24, 39);
  --blackgray: rgb(31, 41, 55);
  --middleblackgray: rgb(45, 59, 79);
  --lightblackgray: rgb(55, 65, 81);
  --blue: rgb(31, 142, 253);
  --purple: rgb(152, 99, 255);
  --green: rgb(13, 199, 137);
  --yellow: rgb(207, 183, 60);
  --orange: rgb(255, 120, 14);
  --red: rgb(255, 100, 100);
  --white: rgb(214, 216, 217);
  --gray: rgb(153, 160, 172);
  --radius: 16px;
  --radius-sm: 8px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--black);
  color: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--blue); text-decoration: none; transition: opacity 0.2s; }
a:hover { opacity: 0.8; }

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

/* ===== Navigation ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(16, 24, 39, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(153, 160, 172, 0.1);
}

.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 64px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  color: var(--white);
}

.brand-icon { font-size: 24px; }

.nav-links { display: flex; gap: 28px; }
.nav-links a { color: var(--gray); font-size: 14px; font-weight: 500; }
.nav-links a:hover { color: var(--white); opacity: 1; }

/* ===== Hero ===== */
.hero {
  padding: 160px 0 100px;
  text-align: center;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(31, 142, 253, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 50%, rgba(152, 99, 255, 0.05) 0%, transparent 50%);
}

.hero-badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  color: var(--blue);
  background: rgba(31, 142, 253, 0.1);
  border: 1px solid rgba(31, 142, 253, 0.2);
  margin-bottom: 28px;
}

.hero h1 {
  font-size: clamp(36px, 6vw, 56px);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  background: linear-gradient(135deg, var(--white), var(--blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 18px;
  color: var(--gray);
  max-width: 560px;
  margin: 0 auto 40px;
  line-height: 1.8;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-size: 16px;
  font-weight: 600;
  transition: all 0.2s;
  cursor: pointer;
}

.btn-primary {
  background: var(--blue);
  color: #fff;
}
.btn-primary:hover { background: rgb(20, 120, 220); opacity: 1; }

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(153, 160, 172, 0.3);
}
.btn-outline:hover { border-color: var(--blue); color: var(--blue); opacity: 1; }

/* ===== Features ===== */
.features {
  padding: 100px 0;
}

.section-title {
  text-align: center;
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 12px;
}

.section-sub {
  text-align: center;
  color: var(--gray);
  font-size: 16px;
  margin-bottom: 56px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--blackgray);
  border-radius: var(--radius);
  padding: 32px 28px;
  border: 1px solid rgba(153, 160, 172, 0.1);
  transition: border-color 0.3s, transform 0.3s;
}

.feature-card:hover {
  border-color: rgba(31, 142, 253, 0.3);
  transform: translateY(-4px);
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
}

.feature-card p {
  color: var(--gray);
  font-size: 14px;
  line-height: 1.7;
}

/* ===== Download ===== */
.download {
  padding: 100px 0;
  background:
    radial-gradient(ellipse at 50% 100%, rgba(31, 142, 253, 0.06) 0%, transparent 60%);
}

.store-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  background: var(--blackgray);
  border: 1px solid rgba(153, 160, 172, 0.15);
  border-radius: var(--radius);
  color: var(--white);
  font-size: 16px;
  font-weight: 600;
  transition: all 0.2s;
}

.store-btn:hover {
  border-color: var(--blue);
  background: var(--middleblackgray);
  opacity: 1;
}

/* ===== Footer ===== */
.footer {
  padding: 48px 0;
  border-top: 1px solid rgba(153, 160, 172, 0.1);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.footer-brand {
  font-weight: 700;
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-links { display: flex; gap: 24px; }
.footer-links a { color: var(--gray); font-size: 14px; }
.footer-links a:hover { color: var(--white); }

.footer-copy { color: var(--gray); font-size: 12px; }

/* ===== Legal Pages ===== */
.legal {
  padding: 120px 0 80px;
  max-width: 720px;
  margin: 0 auto;
}

.legal h1 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 12px;
}

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

.legal h2 {
  font-size: 20px;
  font-weight: 600;
  margin-top: 36px;
  margin-bottom: 12px;
  color: var(--white);
}

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

.legal ul {
  list-style: none;
  padding-left: 0;
}

.legal ul li::before {
  content: "- ";
  color: var(--blue);
}

/* ===== Responsive ===== */
@media (max-width: 640px) {
  .nav-links { display: none; }
  .hero { padding: 120px 0 60px; }
  .hero-sub { font-size: 16px; }
  .features, .download { padding: 60px 0; }
  .feature-grid { grid-template-columns: 1fr; }
  .store-buttons { flex-direction: column; align-items: center; }
}
