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

html {
  scroll-behavior: smooth;
}

/* LIGHT MODE */
:root {
  --bg: #ffffff;
  --text: #1d1d1f;
  --bg-soft: #f5f5f7;
  --border: #e5e5ea;
  --primary: #0071e3;
  --primary-hover: #0a84ff;
}

/* DARK MODE */
html.dark {
  --bg: #000000;
  --text: #f5f5f7;
  --bg-soft: #1c1c1e;
  --border: #3a3a3c;
  --primary: #0a84ff;
  --primary-hover: #409cff;
}

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

/* HEADER */
.header {
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(20px);
}

.nav-container {
  max-width: 1200px;
  margin: auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.logo-img {
  height: 42px;
}

.logo-slogan {
  font-size: 13px;
  opacity: 0.7;
}

/* NAV */
.nav {
  display: none;
  flex-direction: column;
  gap: 12px;
  padding-top: 10px;
}

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

.nav a:hover {
  opacity: 1;
}

.nav-open {
  display: flex;
}

/* BURGER */
.burger {
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
}

.burger span {
  width: 24px;
  height: 3px;
  background: var(--text);
  transition: 0.3s;
}

/* DESKTOP NAV */
@media (min-width: 900px) {
  .nav {
    display: flex;
    flex-direction: row;
    gap: 20px;
    opacity: 1;
    transform: none;
  }

  .burger {
    display: none;
  }
}

/* DARK MODE BUTTON */
.dark-toggle {
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
  color: var(--text);
}

/* HERO */
.hero {
  text-align: center;
  padding: 120px 20px 80px;
}

.hero h1 {
  font-size: 48px;
  margin-bottom: 20px;
}

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

/* BUTTONS */
.btn-primary,
.btn-secondary {
  padding: 12px 22px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.2s;
}

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

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

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

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

/* SECTIONS */
.section {
  max-width: 900px;
  margin: 80px auto;
  padding: 0 20px;
  text-align: center;
}

.section-buttons {
  margin-top: 20px;
  display: flex;
  gap: 12px;
  justify-content: center;
}

/* FOOTER */
footer {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 40px;
  padding-top: 16px;
}