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

html {
  height: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100%;
  display: flex;
  flex-direction: column;

  font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background: #0b1220;
  color: #e5e7eb;
  line-height: 1.6;
}

/* main grows so footer is pushed to bottom on short pages */
main {
  flex: 1;
}

/* =========================
   GLOBAL
========================= */
.container {
  width: 90%;
  max-width: 1100px;
  margin: auto;
}

section {
  padding: 80px 0;
}

.page {
  padding: 80px 0;
}

h1, h2, h3 {
  line-height: 1.2;
  margin-bottom: 16px;
  font-weight: 700;
}

h1 { font-size: 2.6rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.2rem; }

p {
  color: #94a3b8;
  margin-bottom: 16px;
}

/* =========================
   HEADER / NAV
========================= */
header {
  background: #111827;
  border-bottom: 1px solid #1f2937;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}

.logo {
  font-size: 1.3rem;
  font-weight: 700;
  color: #4f46e5;
}

nav a {
  margin-left: 28px;
  text-decoration: none;
  color: #e5e7eb;
  font-weight: 500;
  transition: 0.2s ease;
}

nav a:hover {
  color: #06b6d4;
}

/* =========================
   BUTTONS
========================= */
.btn {
  display: inline-block;
  background: #4f46e5;
  padding: 10px 18px;
  border-radius: 8px;
  text-decoration: none;
  color: #ffffff;
  font-weight: 600;
  transition: 0.2s ease;
  border: none;
  cursor: pointer;
}

.btn:hover {
  background: #4338ca;
}

.btn-outline {
  display: inline-block;
  border: 1px solid #4f46e5;
  padding: 10px 18px;
  border-radius: 8px;
  text-decoration: none;
  color: #e5e7eb;
  transition: 0.2s ease;
}

.btn-outline:hover {
  background: #4f46e5;
}

/* =========================
   HERO (optional but ready)
========================= */
.hero {
  padding: 120px 0 100px;
}

.hero h1 {
  font-size: 3rem;
  max-width: 700px;
}

.hero p {
  font-size: 1.1rem;
  max-width: 600px;
}

.hero-buttons {
  margin-top: 24px;
}

.hero-buttons a {
  margin-right: 12px;
}

/* =========================
   CARDS / SECTIONS
========================= */
.grid {
  display: grid;
  gap: 24px;
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.card {
  background: #111827;
  border: 1px solid #1f2937;
  padding: 24px;
  border-radius: 12px;
  transition: 0.2s ease;
}

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

/* =========================
   FOOTER
========================= */
footer {
  background: #111827;
  border-top: 1px solid #1f2937;
  padding: 50px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.footer-left h3 {
  color: #4f46e5;
  margin-bottom: 10px;
}

.footer-right a {
  display: block;
  text-decoration: none;
  color: #94a3b8;
  margin-bottom: 8px;
  transition: 0.2s;
}

.footer-right a:hover {
  color: #06b6d4;
}

.copyright {
  text-align: center;
  margin-top: 30px;
  color: #6b7280;
  font-size: 0.9rem;
}

/* =========================
   FORMS
========================= */
input, textarea {
  width: 100%;
  padding: 12px;
  background: #0b1220;
  border: 1px solid #1f2937;
  border-radius: 8px;
  color: #e5e7eb;
  margin-bottom: 14px;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: #4f46e5;
}

/* =========================
   MOBILE
========================= */
@media (max-width: 768px) {
  h1 { font-size: 2.2rem; }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  nav a {
    margin-left: 16px;
  }
}
