:root {
  --bg: #f8fafc;
  --surface: #ffffff;
  --text: #0f172a;
  --muted: #64748b;
  --brand: #10b981;
  --brand-dark: #059669;
  --accent: #f59e0b;
  --border: #e2e8f0;
  --shadow: 0 10px 40px rgba(15, 23, 42, 0.08);
  --radius: 16px;
  --radius-sm: 12px;
  --max-width: 1200px;
  --font: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

.container {
  width: 90%;
  max-width: var(--max-width);
  margin: 0 auto;
}

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

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 1.25rem;
}

.brand-logo {
  width: 40px;
  height: 40px;
  border-radius: 10px;
}

.nav {
  display: flex;
  gap: 32px;
  font-weight: 500;
  color: var(--muted);
}

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

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
}

/* Hero */
.hero {
  padding: 80px 0 100px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.1);
  color: var(--brand-dark);
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: 3.2rem;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.hero-lead {
  font-size: 1.15rem;
  color: var(--muted);
  margin-bottom: 32px;
  max-width: 540px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--brand);
  color: white;
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.3);
}

.btn-primary:hover {
  background: var(--brand-dark);
  box-shadow: 0 12px 28px rgba(16, 185, 129, 0.4);
}

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

.btn-secondary:hover {
  background: var(--bg);
}

.hero-checks {
  display: flex;
  gap: 24px;
  list-style: none;
  font-weight: 500;
  color: var(--muted);
  flex-wrap: wrap;
}

.hero-checks li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-checks li::before {
  content: "";
  width: 18px;
  height: 18px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2310b981'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E") center/contain no-repeat;
}

.hero-media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 520px;
  perspective: 1200px;
}

.phone-cluster {
  position: relative;
  width: 100%;
  max-width: 540px;
  height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  transform-style: preserve-3d;
}

.phone {
  position: absolute;
  width: 190px;
  transition: transform 0.1s linear;
  will-change: transform;
}

.phone-center {
  width: 230px;
  z-index: 3;
}

.phone-left {
  left: 10px;
  z-index: 2;
}

.phone-right {
  right: 10px;
  z-index: 2;
}

.phone-frame {
  position: relative;
  aspect-ratio: 9/19.5;
  width: 100%;
  overflow: hidden;
  background: #0f172a;
  border-radius: 36px;
  padding: 10px;
  box-shadow: 0 28px 70px rgba(15, 23, 42, 0.28);
  border: 1px solid #334155;
}

.phone-frame::before {
  content: "";
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 24px;
  background: #0f172a;
  border-radius: 12px;
  z-index: 2;
}

.phone-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 36px;
  border: 6px solid #1e293b;
  pointer-events: none;
  z-index: 1;
}

.phone-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 0%;
  border-radius: 26px;
  transition: object-position 0.1s linear;
  will-change: object-position;
}

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

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}

.section-head h2 {
  font-size: 2.25rem;
  font-weight: 800;
  margin-bottom: 14px;
}

.section-head p {
  color: var(--muted);
  font-size: 1.1rem;
}

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

.feature-card {
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.15s, box-shadow 0.15s;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(15, 23, 42, 0.1);
}

.feature-wide {
  grid-column: 1 / -1;
  flex-direction: row;
  align-items: center;
}

.feature-wide .feature-text {
  padding: 40px;
  flex: 1;
}

.feature-wide .feature-img {
  flex: 1.2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-card:not(.feature-wide) .feature-text {
  padding: 28px;
  flex: 1;
}

.feature-card h3 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.feature-card p {
  color: var(--muted);
}

.feature-img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  object-position: top;
  background: #f1f5f9;
}

/* Download */
.download {
  padding: 80px 0;
}

.download-card {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  border-radius: var(--radius);
  padding: 64px 48px;
  color: white;
  box-shadow: var(--shadow);
}

.download-content {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.download-card h2 {
  font-size: 2.25rem;
  font-weight: 800;
  margin-bottom: 14px;
}

.download-card > .download-content > p {
  color: #94a3b8;
  font-size: 1.1rem;
  margin-bottom: 36px;
}

.download-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.download-btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 14px 24px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: white;
  transition: background 0.15s, transform 0.15s;
}

.download-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

.download-btn-apk {
  background: var(--brand);
  border-color: var(--brand);
}

.download-btn-apk:hover {
  background: var(--brand-dark);
}

.download-btn-web {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
}

.download-btn-web:hover {
  background: rgba(255, 255, 255, 0.15);
}

.download-label {
  display: flex;
  flex-direction: column;
  text-align: left;
  line-height: 1.2;
}

.download-label small {
  font-size: 0.75rem;
  opacity: 0.8;
}

.download-label strong {
  font-size: 1.1rem;
  font-weight: 700;
}

.download-note {
  color: #94a3b8;
  font-size: 0.95rem;
}

.download-note code {
  background: rgba(255, 255, 255, 0.1);
  padding: 2px 6px;
  border-radius: 4px;
  font-family: ui-monospace, monospace;
}

/* Contact */
.contact {
  padding: 60px 0 100px;
  text-align: center;
}

.contact .section-head a {
  margin-top: 24px;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 32px 0;
  background: var(--surface);
}

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

.copyright {
  color: var(--muted);
  font-size: 0.95rem;
}

/* Responsive */
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content {
    order: 2;
  }

  .hero-media {
    order: 1;
    min-height: 380px;
  }

  .phone-cluster {
    height: 360px;
    max-width: 420px;
  }

  .phone {
    width: 150px;
  }

  .phone-center {
    width: 180px;
  }

  .phone-left {
    left: 20px;
  }

  .phone-right {
    right: 20px;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero-lead {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-checks {
    justify-content: center;
  }

  .feature-wide {
    flex-direction: column;
  }

  .feature-wide .feature-text {
    padding: 28px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .nav {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--surface);
    flex-direction: column;
    align-items: center;
    gap: 0;
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
    transform: translateY(-150%);
    transition: transform 0.25s ease;
    box-shadow: var(--shadow);
  }

  .nav.open {
    transform: translateY(0);
  }

  .nav a {
    padding: 14px 24px;
    width: 100%;
    text-align: center;
  }

  .menu-toggle {
    display: flex;
  }

  .hero-media {
    min-height: 300px;
  }

  .phone-cluster {
    height: 300px;
    max-width: 340px;
  }

  .phone {
    width: 120px;
  }

  .phone-center {
    width: 150px;
  }

  .phone-left {
    left: 0;
  }

  .phone-right {
    right: 0;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .download-card {
    padding: 48px 24px;
  }

  .download-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .download-btn {
    justify-content: center;
  }

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