:root {
  --primary: #6366F1;
  --primary-hover: #4F46E5;
  --secondary: #20970B;
  --bg: #FAFAFA;
  --surface: #FFFFFF;
  --text-primary: #0A0A0A;
  --text-secondary: #6B6B6B;
  --border: #E8E8EC;
  --success: #10B981;
  --radius-md: 12px;
  --radius-lg: 18px;
  --shadow-sm: 0 2px 10px rgba(10, 10, 10, 0.04);
  --shadow-md: 0 12px 32px rgba(10, 10, 10, 0.08);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: var(--bg);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

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

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(250, 250, 250, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
}

.brand-logo {
  border-radius: 9px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
}

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

/* Hero */
.hero {
  padding: 64px 0 48px;
  text-align: center;
}

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

.hero-title {
  margin: 0 0 16px;
  max-width: 720px;
  font-size: clamp(2rem, 4.5vw, 3.1rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.hero-subtitle {
  margin: 0 0 32px;
  max-width: 600px;
  font-size: 1.05rem;
  color: var(--text-secondary);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-bottom: 0;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 184px;
  padding: 10px 20px;
  border-radius: 10px;
  background-color: #0A0A0A;
  color: #FFFFFF;
  border: 1px solid #262626;
  box-shadow: var(--shadow-sm);
  transition: transform 0.14s ease, background-color 0.16s ease, box-shadow 0.16s ease;
}

.store-badge:hover {
  background-color: #171717;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.store-badge:active {
  transform: translateY(0);
}

.store-icon {
  flex-shrink: 0;
}

.store-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.15;
}

.store-kicker {
  font-size: 0.68rem;
  font-weight: 500;
  color: #E5E5E5;
  letter-spacing: 0.01em;
}

.store-kicker-upper {
  font-size: 0.64rem;
  letter-spacing: 0.06em;
}

.store-name {
  font-size: 1.12rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 22px;
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 0.96rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background-color 0.16s ease, border-color 0.16s ease, transform 0.12s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background-color: var(--primary);
  color: #FFFFFF;
}

.btn-primary:hover {
  background-color: var(--primary-hover);
}

.btn-secondary {
  background-color: var(--surface);
  color: var(--text-primary);
  border-color: var(--border);
}

.btn-secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.btn-full {
  width: 100%;
}

/* Sections */
.section {
  padding: 64px 0;
}

.section-alt {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-header {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 40px;
}

.section-title {
  margin: 0 0 10px;
  font-size: clamp(1.5rem, 3vw, 2.05rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.section-subtitle {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.98rem;
}

/* Cards & Grids */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.download-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  max-width: 780px;
  margin: 0 auto;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.card h3 {
  margin: 0 0 8px;
  font-size: 1.06rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.card p {
  margin: 0;
  font-size: 0.93rem;
  color: var(--text-secondary);
}

.icon-box {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(99, 102, 241, 0.1);
  color: var(--primary);
  margin-bottom: 16px;
}

.download-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: var(--bg);
}

.download-card-head {
  display: flex;
  align-items: center;
  gap: 14px;
}

.download-card-head .icon-box {
  margin-bottom: 0;
}

.download-card-head h3 {
  margin: 0;
}

.meta {
  font-size: 0.84rem;
  color: var(--text-secondary);
}

/* Footer */
.footer {
  padding: 28px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.footer-copy {
  margin: 0;
  text-align: center;
}

/* Modal */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgba(10, 10, 10, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-backdrop[hidden] {
  display: none;
}

.modal-card {
  width: 100%;
  max-width: 420px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow-md);
}

.modal-card h3 {
  margin: 0 0 10px;
  font-size: 1.15rem;
}

.modal-card p {
  margin: 0 0 20px;
  font-size: 0.94rem;
  color: var(--text-secondary);
}

@media (max-width: 900px) {
  .features-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .hero {
    padding: 44px 0 36px;
  }

  .features-grid,
  .download-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    width: 100%;
    justify-content: center;
  }

  .store-badge {
    width: 100%;
    max-width: 240px;
    justify-content: center;
  }

  .footer-inner {
    text-align: center;
  }
}
