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

/* html,
body {
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;

  color: #e5e7eb;
  line-height: 1.6;
  height: 100%;
  background: radial-gradient(
    1200px 600px at 50% -10%,
    #0f172a 0%,
    #020617 60%
  );
}
body {
  display: flex;
  flex-direction: column;
} */

html {
  height: 100%;
}

body {
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: #e5e7eb;
  line-height: 1.6;
  min-height: 100vh;
  background: #020617;
  display: flex;
  flex-direction: column;
}
.page-content {
  flex: 1;
  background: radial-gradient(
    1200px 600px at 50% -10%,
    #0f172a 0%,
    #020617 60%
  );
  background-repeat: no-repeat;
}

/* .page-content {
  flex: 1;
} */

/* ===== GLOBAL ===== */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

a {
  text-decoration: none;
}

/* ===== HEADER ===== */
header {
  position: sticky;
  top: 0;
  background: rgba(2, 6, 23, 0.7);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #020617;
  z-index: 10;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 72px;
  border-bottom: 1px solid #303843;
}

.logo {
  font-size: 22px;
  font-weight: 550;
  letter-spacing: -0.5px;
}

.logo a {
  color: white;
}

.cta-btn {
  padding: 10px 16px;
  background: transparent;
  border: 1px solid #38bdf8;
  color: #38bdf8;
  font-weight: 500;
  font-size: 14px;
  border-radius: 10px;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.cta-btn:hover {
  transform: translateY(-1px);
  background: #38bdf8;
  color: #020617;
}

/* ===== HERO ===== */
.hero {
  padding-top: 100px;
  padding-bottom: 20px;
  /* padding: 100px 0 20px; */
  text-align: center;
}

.hero h1 {
  font-size: clamp(34px, 6vw, 56px);
  font-weight: 800;
  /* letter-spacing: -1px; */
}

.hero p {
  max-width: 700px;
  margin: 20px auto 0px;
  font-size: 22px;
  color: #94a3b8;
}

/* ===== TALLY FORM ===== */
.form-wrapper {
  max-width: 450px;
  margin: 0 auto 50px;
  /* background: rgba(15, 23, 42, 0.6); */
  border: 1px solid #020617;
  border-radius: 16px;
}

/* ===== CARDS ===== */
.section-title {
  text-align: center;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 40px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-bottom: 100px;
}

.card {
  background: linear-gradient(180deg, #020617, #020617cc);
  border: 1px solid gray;
  border-radius: 18px;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  padding: 18px;
  padding-top: 30px;
  padding-bottom: 30px;
  /* display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px; */
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}
.card-image-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.card img {
  width: 130;
  height: 130px;
  object-fit: cover;
  background: #020617;
  border-radius: 20px;
}

.card-content {
  padding-top: 18px;
  color: #94a3b8;
}

.card-content h3 {
  font-size: 18px;
  font-weight: 500;
}

/* ===== APP PAGE ===== */
.app-header {
  padding-top: 80px;
  padding-bottom: 20px;
}
.app-header h1 a {
  color: #38bdf8;
}
.app-header h1 a:hover {
  opacity: 0.8;
}

.app-header h1 {
  font-size: 40px;
  font-weight: 800;
}

.app-content {
  max-width: 800px;
  margin-bottom: 100px;
}

.app-content h2 {
  margin-top: 32px;
  font-size: 22px;
  font-weight: 500;
}

.app-content p,
.app-content li {
  /* color: #cbd5f5; */
  color: #94a3b8;
  font-size: 18px;
  font-weight: 400;
}

.app-content ul {
  padding-left: 20px;
  margin-top: 10px;
}

.app-content a {
  color: #38bdf8;
}

.content-btn {
  margin-top: 30px;
}
.content-btn a {
  color: black;
}

/* .description-cta-btn {
  padding: 10px 16px;
  background: #ffffff;
  color: #020617;
  font-weight: 500;
  font-size: 15px;
  border-radius: 10px;
  transition: transform 0.15s ease, opacity 0.15s ease;
}
.description-cta-btn:hover {
  transform: translateY(-1px);
  opacity: 0.9;
}*/
.description-cta-btn {
  background: #38bdf8;
  color: #020617;
  padding: 14px 24px;
  border-radius: 8px;
  font-weight: 500;
}

.description-cta-btn.outline {
  background: transparent;
  border: 1px solid #38bdf8;
  color: #38bdf8;
}

.description-cta-btn.outline:hover {
  background: #38bdf8;
  color: #020617;
}

/* ===== FOOTER ===== */
footer {
  border-top: 1px solid #020617;
  padding: 32px 0;
  text-align: center;
  color: #64748b;
  font-size: 14px;
  border-top: 1px solid #303843;
}

.inline-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #38bdf8;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  transition: opacity 0.15s ease;
}

.inline-link:hover {
  opacity: 0.8;
}

.inline-link .arrow {
  transition: transform 0.15s ease;
}

.inline-link:hover .arrow {
  transform: translateX(3px);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 640px) {
  .hero {
    padding-top: 30px;
    padding-bottom: 30px;
  }
  .hero h1 {
    line-height: 45px;
  }
  .hero p {
    font-size: 18px;
  }
  .app-header {
    padding-top: 20px;
    padding-bottom: 0px;
  }

  .app-header h1 {
    font-size: 30px;
  }
}
@media (max-width: 400px) {
  .logo {
    font-size: 18px;
    font-weight: 500;
  }

  .cta-btn {
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 400;
  }
}

@media (max-width: 310px) {
  .logo {
    font-size: 15px;
    font-weight: 500;
  }

  .cta-btn {
    padding: 10px 16px;
    font-size: 12px;
    font-weight: 400;
  }
  .cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  }
}
