/* =========================
   GLOBAL RESET & VARIABLES
   ========================= */

:root {
  --primary: #2563eb;
  --primary-dark: #1e40af;
  --secondary: #0f172a;
  --text-main: #0f172a;
  --text-muted: #475569;
  --border-light: #e5e7eb;
  --bg-light: #f8fafc;
  --bg-white: #ffffff;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --transition: all 0.25s ease;
}

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

/* =========================
   BASE TYPOGRAPHY
   ========================= */

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg-white);
  color: var(--text-main);
  line-height: 1.6;
}

h1 {
  font-size: 3rem;
  font-weight: 700;
}

h2 {
  font-size: 2.2rem;
  font-weight: 600;
}

h3 {
  font-size: 1.6rem;
  font-weight: 600;
}

p {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-top: 0.75rem;
}

/* =========================
   LAYOUT & CONTAINERS
   ========================= */

.container {
  max-width: 1200px;
  margin: auto;
  padding: 2rem;
}

.section {
  padding: 4rem 0;
}

.section-light {
  background: var(--bg-light);
}

/* =========================
   NAVBAR
   ========================= */

.navbar {
  width: 100%;
  background: var(--bg-white);
  border-bottom: 1px solid var(--border-light);
}

.nav-container {
  max-width: 1200px;
  margin: auto;
  padding: 1.2rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--secondary);
  text-decoration: none;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-weight: 500;
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--primary);
}

.nav-cta {
  background: var(--primary);
  color: white !important;
  padding: 0.5rem 1.1rem;
  border-radius: var(--radius-sm);
}

/* =========================
   HERO SECTION
   ========================= */

.hero {
  text-align: center;
  padding: 5rem 2rem;
  max-width: 1100px;
  margin: auto;
}

.hero p {
  max-width: 800px;
  margin: 1.2rem auto;
}

.hero-buttons {
  margin-top: 2.5rem;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

/* =========================
   BUTTON SYSTEM
   ========================= */

.btn {
  padding: 0.85rem 1.6rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: var(--transition);
  display: inline-block;
}

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

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

.btn-outline {
  border: 2px solid var(--primary);
  color: var(--primary);
}

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

/* =========================
   GRID & CARDS
   ========================= */

.grid {
  display: grid;
  gap: 2rem;
}

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

.card {
  background: white;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-6px);
  border-color: var(--primary);
}

.card-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
}

/* =========================
   FEATURE LINKS (HOMEPAGE)
   ========================= */

.feature-link {
  text-decoration: none;
  color: inherit;
}

/* =========================
   FOOTER
   ========================= */

.footer {
  background: var(--secondary);
  color: #cbd5f5;
  padding: 3rem 2rem;
}

.footer-container {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}

.footer h4 {
  color: white;
  margin-bottom: 1rem;
}

.footer p,
.footer a {
  font-size: 0.95rem;
  color: #cbd5f5;
  text-decoration: none;
}

.footer a:hover {
  color: white;
}

/* =========================
   FORMS (FUTURE USE)
   ========================= */

input,
textarea {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  margin-top: 0.4rem;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--primary);
}

/* =========================
   UTILITIES
   ========================= */

.text-center {
  text-align: center;
}

.mt-2 {
  margin-top: 2rem;
}

.mt-4 {
  margin-top: 4rem;
}
