@import url('https://fonts.googleapis.com/css2?family=Barlow:wght@400;500;600;700;800;900&family=Barlow+Condensed:wght@700;800;900&display=swap');

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

:root {
  --bg: #0a0a0a;
  --surface: #111111;
  --border: #1e1e1e;
  --accent: #6c63ff;
  --accent-light: #8b85ff;
  --text: #f0f0f0;
  --muted: #888;
  --radius: 12px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Barlow', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

a:hover {
  text-decoration: underline;
}

/* NAV */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: transparent;
  padding: 0 3rem;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.3s;
}

nav.scrolled {
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-brand {
  font-weight: 900;
  font-size: 1rem;
  color: var(--text);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.nav-brand span {
  color: var(--accent-light);
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: rgba(255,255,255,0.7);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: #fff;
  text-decoration: none;
}

/* MAIN */
main {
  flex: 1;
}

/* HERO */
.hero {
  padding: 6rem 2rem 5rem;
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}

.hero-bg {
  max-width: 100%;
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 0 5rem 6rem;
  background: url('hero.jpg') center 30% / cover no-repeat;
  text-align: left;
}

.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.1) 0%,
    rgba(0,0,0,0.3) 50%,
    rgba(0,0,0,0.75) 100%
  );
}

.hero-bg > * {
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-block;
  color: rgba(255,255,255,0.6);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}

.hero h1 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(3.5rem, 9vw, 7rem);
  font-weight: 900;
  line-height: 1.0;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  max-width: 750px;
}

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

.hero p {
  color: rgba(255,255,255,0.75);
  font-size: 1.05rem;
  font-weight: 400;
  margin-bottom: 2.5rem;
  max-width: 480px;
  line-height: 1.7;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #fff;
  color: #000;
  padding: 0.85rem 2rem;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: background 0.2s, transform 0.15s;
}

.btn:hover {
  background: rgba(255,255,255,0.85);
  text-decoration: none;
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.5);
  color: #fff;
  margin-left: 0.75rem;
}

.btn-ghost:hover {
  background: rgba(255,255,255,0.1);
  border-color: #fff;
}

/* APP CARD */
.app-section {
  padding: 4rem 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.section-label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 1rem;
}

.app-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2.5rem;
  display: flex;
  align-items: center;
  gap: 2rem;
  transition: border-color 0.2s;
}

.app-card:hover {
  border-color: rgba(108, 99, 255, 0.4);
}

.app-icon {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  background: linear-gradient(135deg, #6c63ff 0%, #a78bfa 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  flex-shrink: 0;
}

.app-info h2 {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.app-info p {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 1.2rem;
}

.badge-store {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.4rem 0.9rem;
  font-size: 0.82rem;
  color: var(--muted);
}

/* FOOTER */
footer {
  border-top: 1px solid var(--border);
  padding: 2rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
}

footer a {
  color: var(--muted);
  margin: 0 0.5rem;
}

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

/* PAGE CONTENT */
.page-content {
  max-width: 720px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

.page-content h1 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.page-content .subtitle {
  color: var(--muted);
  margin-bottom: 3rem;
  font-size: 0.95rem;
}

.page-content h2 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-top: 2rem;
  margin-bottom: 0.6rem;
  color: var(--text);
}

.page-content p,
.page-content li {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.75;
}

.page-content ul {
  padding-left: 1.4rem;
  margin-top: 0.5rem;
}

/* CONTACT FORM */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
}

.form-group input,
.form-group textarea {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  color: var(--text);
  font-size: 0.95rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-form .btn {
  align-self: flex-start;
  cursor: pointer;
  border: none;
}

/* FEATURES GRID */
.features-section {
  padding: 2rem 2rem 5rem;
  max-width: 900px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.75rem;
  margin-top: 1rem;
}

.feature-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.feature-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
}

@media (max-width: 600px) {
  .app-card {
    flex-direction: column;
    text-align: center;
  }

  .nav-links {
    gap: 1rem;
  }

  .btn-ghost {
    display: none;
  }
}
