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

:root {
  --bg: #0b0e13;
  --bg-card: #131920;
  --bg-card-hover: #1a2230;
  --border: #1e2a38;
  --text: #c8d6e5;
  --text-muted: #6b7f96;
  --accent: #22c55e;
  --accent-dim: rgba(34, 197, 94, 0.12);
  --amber: #f59e0b;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* ---- NAV ---- */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(11, 14, 19, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 15px;
  color: var(--text);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nav-brand img {
  width: 28px;
  height: 28px;
  border-radius: 6px;
}

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}

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

/* ---- HERO ---- */

.hero {
  padding: 140px 24px 80px;
  text-align: center;
  max-width: 1100px;
  margin: 0 auto;
}

.hero-banner {
  max-width: 720px;
  width: 100%;
  height: auto;
  margin-bottom: 32px;
}

.hero h1 {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.hero h1 .accent {
  color: var(--accent);
}

.hero p {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--accent);
  color: #0b0e13;
}

.btn-primary:hover {
  background: #16a34a;
  color: #0b0e13;
}

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

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

/* ---- SCREENSHOTS ---- */

.screenshots {
  padding: 40px 24px 80px;
  max-width: 1100px;
  margin: 0 auto;
}

.screenshot-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: start;
  justify-items: center;
}

.screenshot-grid img {
  border-radius: 12px;
  border: 1px solid var(--border);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.4);
}

.screenshot-desktop {
  width: 100%;
  max-width: 720px;
}

.screenshot-phone {
  width: 300px;
}

/* ---- SECTION COMMON ---- */

section {
  padding: 80px 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.section-label {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 8px;
}

.section-title {
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 700;
  color: #fff;
  margin-bottom: 40px;
  letter-spacing: -0.015em;
}

/* ---- PANELS SHOWCASE ---- */

.panel-row {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 64px;
}

.panel-img {
  width: 50%;
  max-width: 520px;
  border-radius: 10px;
  border: 1px solid var(--border);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
  flex-shrink: 0;
}

.panel-img-tall {
  width: 280px;
}

.panel-text {
  flex: 1;
}

.panel-text h3 {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.panel-text p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ---- TECH SECTION ---- */

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

.tech-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 14px;
}

.tech-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

.tech-item a {
  color: inherit;
}

.tech-item a:hover {
  color: var(--accent);
}

/* ---- PLATFORMS ---- */

.platform-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.platform-card {
  display: block;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px;
  text-align: center;
  color: var(--text);
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
}

a.platform-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--accent);
  transform: translateY(-2px);
  text-decoration: none;
}

.platform-fa-icon {
  font-size: 40px;
  margin-bottom: 16px;
  color: var(--accent);
}

.platform-card h3 {
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 6px;
}

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

/* ---- FOOTER ---- */

.footer {
  border-top: 1px solid var(--border);
  padding: 40px 24px;
  text-align: center;
  color: var(--text-muted);
  font-size: 14px;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
}

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

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

/* ---- RESPONSIVE ---- */

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

  .screenshot-phone {
    width: 240px;
  }

  .nav-links {
    gap: 16px;
  }

  .nav-links a {
    font-size: 13px;
  }

  .panel-row {
    flex-direction: column;
  }

  .panel-img,
  .panel-img-tall {
    width: 100%;
    max-width: 100%;
  }
}
