@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;800&display=swap');

:root {
  --sand: #f6e2b3;
  --canyon: #e26d3b;
  --sunset: #f59e6c;
  --sky: #7dd3fc;
  --dark: #2b1d14;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Inter', sans-serif;
}

/* ===== BRIGHT BACKGROUND ===== */
body {
  min-height: 100vh;
  color: #2b1d14;
  background: #fffaf3;
  overflow-x: hidden;
}

/* Monument Valley background (bright + soft) */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    linear-gradient(
      rgba(181, 113, 12, 0.55),
      rgba(4, 50, 187, 0.85)
    ),
    url("background.png") center / cover no-repeat;
  filter: blur(5px) saturate(1.1);
  transform: scale(1.04);
  z-index: -2;
}

/* Sunlight glow */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  background: radial-gradient(
    circle at top,
    rgba(255, 200, 120, 0.35),
    rgba(255, 255, 255, 0.9)
  );
  z-index: -1;
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  text-align: center;
  padding: 70px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.logo {
  width: 220px;
  margin: 0 auto 30px;
  animation: floatIn 1.2s ease forwards;
}

.hero h1 {
  font-size: 3.1rem;
  font-weight: 800;
  margin-bottom: 15px;
}

.hero p {
  color: #7c4a2d;
  font-size: 1.25rem;
  margin-bottom: 35px;
}

/* CTA */
.cta {
  background: linear-gradient(135deg, var(--canyon), var(--sunset));
  padding: 16px 0;
  width: 260px;          /* your chosen width */
  text-align: center;
  margin: 0 auto;       /* 👈 THIS centers it */
  border-radius: 40px;
  color: white;
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 12px 30px rgba(226, 109, 59, 0.35);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}



.cta:hover {

  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(226, 109, 59, 0.45);
}

/* ===== APPS ===== */
.apps {
  padding: 100px 10%;
  text-align: center;
}

.apps h2 {
  font-size: 2.6rem;
  margin-bottom: 60px;
}

.app-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
}

.app-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  border-radius: 24px;
  padding: 40px;
  text-align: left;
  box-shadow: 0 20px 50px rgba(0,0,0,0.08);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.app-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 70px rgba(0,0,0,0.12);
}

.app-card h3 {
  margin-bottom: 15px;
  font-size: 1.5rem;
}

.app-card p {
  color: #6b4b34;
  margin-bottom: 20px;
}

.app-card a {
  color: var(--canyon);
  text-decoration: none;
  font-weight: 600;
}

/* ===== PHILOSOPHY ===== */
.philosophy {
  padding: 100px 15%;
  text-align: center;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);
}

.philosophy h2 {
  font-size: 2.5rem;
  margin-bottom: 25px;
}

.philosophy p {
  font-size: 1.15rem;
  color: #6b4b34;
}

/* ===== LINKS ===== */
.links {
  padding: 80px 10%;
  text-align: center;
}

.links-subtitle {
  margin-top: 10px;
  margin-bottom: 35px;
  color: #7c4a2d;
  font-size: 1.05rem;
}


.link-buttons a {
  margin: 10px;
  padding: 15px 34px;
  border-radius: 30px;
  border: 2px solid var(--canyon);
  color: var(--canyon);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.link-buttons a:hover {
  background: var(--canyon);
  color: white;
}

/* ===== FOOTER ===== */
footer {
  padding: 60px 20px;
  text-align: center;
  font-size: 1rem;
  color: #7c4a2d;
}

.footer-end {
  font-size: 1.1rem;
  margin-bottom: 18px;
}

.footer-meta {
  font-size: 0.95rem;
  color: #9a6b4a;
  line-height: 1.6;
}

.footer-meta a {
  color: var(--canyon);
  text-decoration: none;
  font-weight: 600;
}

.footer-meta a:hover {
  text-decoration: underline;
}

/* =========================
   MOBILE FIXES (IMPORTANT)
   ========================= */
@media (max-width: 768px) {

  /* Soften background on mobile */
  body::before {
    filter: blur(4px) saturate(1.05);
    transform: scale(1.02);
  }

  body::after {
    background: linear-gradient(
      to bottom,
      rgba(255, 245, 225, 0.75),
      rgba(255, 255, 255, 0.95)
    );
  }

  /* HERO spacing */
  .hero {
    padding: 90px 20px 70px;
  }

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

  .hero p {
    font-size: 1.1rem;
    margin-bottom: 28px;
  }

  /* CTA button */
  .cta {
    width: 100%;
    max-width: 280px;
    padding: 16px 0;
  }

  /* APPS section */
  .apps {
    padding: 70px 20px;
  }

  .apps h2 {
    font-size: 2.2rem;
    margin-bottom: 40px;
  }

  /* Cards spacing */
  .app-card {
    padding: 28px;
  }

  /* Philosophy */
  .philosophy {
    padding: 70px 20px;
  }

  .philosophy h2 {
    font-size: 2.1rem;
  }

  /* SUPPORT & LEGAL FIX (THIS WAS THE BIG ONE) */
  .links {
    padding: 70px 20px;
  }

  .link-buttons {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
  }

  .link-buttons a {
    width: 100%;
    max-width: 260px;
    text-align: center;
  }

  /* FOOTER */
  footer {
    padding: 50px 20px;
  }

  .footer-meta {
    font-size: 0.9rem;
  }
}
