* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: linear-gradient(180deg, #191919 0%, #000000 100%);
    background-attachment: fixed;
    background-color: black;
    font-family: 'Space Grotesk', sans-serif;
    color: white;
    line-height: 1.6;
}

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

/* ---------- Header ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 6vw;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #222;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: 1px;
}

.brand img {
    border-radius: 50%;
    display: block;
}

.site-header nav {
    display: flex;
    gap: 28px;
}

.site-header nav a {
    color: #aaa;
    transition: color 0.2s ease-in-out;
}

.site-header nav a:hover {
    color: white;
}

/* ---------- Main ---------- */
main {
    flex: 1;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero {
    text-align: center;
    padding: 120px 0 100px;
}

.hero h1 {
    font-size: clamp(3rem, 10vw, 6rem);
    margin: 0;
    letter-spacing: 4px;
}

.tagline {
    color: #aaa;
    font-size: 1.2rem;
    margin: 10px 0 32px;
}

.button {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    background: white;
    color: black;
    font-weight: 500;
    transition: transform 0.2s ease-in-out;
}

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

.section {
    padding: 60px 0;
    scroll-margin-top: 70px;
}

.section h2 {
    font-size: 1.8rem;
    margin: 0 0 24px;
}

.muted-heading {
    margin-top: 56px !important;
    color: #666;
}

/* ---------- Cards ---------- */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 16px;
}

.card {
    padding: 24px;
    border: 1px solid #2a2a2a;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.03);
    transition: transform 0.3s ease-in-out, border-color 0.3s ease-in-out;
}

.card:hover {
    transform: translateY(-3px);
    border-color: #555;
}

.card h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 500;
}

.card-muted h3 {
    color: #666;
}

.card-muted:hover {
    transform: none;
    border-color: #2a2a2a;
}

/* ---------- Footer / socials ---------- */
.site-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    padding: 40px 20px;
    border-top: 1px solid #222;
    text-align: center;
}

.site-footer p {
    margin: 0;
    color: #aaa;
}

.site-footer small {
    color: #555;
}

.social-links {
    display: flex;
    align-items: center;
    gap: 22px;
}

.social-links img {
    display: block;
    filter: invert(1); /* icons are black PNGs, flip them to white */
    opacity: 0.6;
    transition: opacity 0.2s ease-in-out, transform 0.2s ease-in-out;
}

.social-links img:hover {
    opacity: 1;
    transform: scale(1.15);
}

/* Container to stack buttons vertically in a column */
.download-column {
  display: flex;
  flex-direction: column; /* Force vertical alignment */
  gap: 12px;             /* Space between the two buttons */
  align-items: center;   /* Center them horizontally on the page */
  margin: 30px auto;
  max-width: 320px;      /* Restricts the width so they don't stretch too wide */
}

/* Base button styles matching your Space Grotesk font */
.download-btn {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 500;
  font-size: 1rem;
  text-decoration: none;
  padding: 14px 24px;
  border-radius: 6px;
  transition: all 0.2s ease-in-out;
  text-align: center;
  width: 100%;           /* Makes both buttons the exact same width */
  box-sizing: border-box;
  cursor: pointer;
}

/* Primary Button (Solid White) */
.btn-primary {
  background-color: #ffffff;
  color: #111111;
  border: 2px solid #ffffff;
}

.btn-primary:hover {
  background-color: #000000;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(255, 255, 255, 0.1);
}

/* Secondary Button (Outlined Grey) */
.btn-secondary {
  background-color: transparent;
  color: #aaaaaa;
  border: 2px solid #444444;
}

.btn-secondary:hover {
  color: #ffffff;
  border-color: #ffffff;
  transform: translateY(-2px);
}

/* ---------- Mobile ---------- */
@media (max-width: 500px) {
    .hero {
        padding: 80px 0 60px;
    }
    .site-header nav {
        gap: 18px;
    }
}
