/* ===============================
   CSS RESET & VARIABLES
================================ */
:root {
  --bg-main: #ffffff;
  --bg-soft: #f7f9fc;
  --text-main: #0f172a;
  --text-muted: #475569;
  --primary: #2563eb;
  --border-light: #e5e7eb;
  --radius: 14px;
  --max-width: 1140px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ===============================
   BASE
================================ */
body {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.7;
  font-size: 16px;
}

section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 96px 24px;
}

/* ===============================
   TYPOGRAPHY
================================ */
h1 {
  font-size: clamp(40px, 5vw, 56px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

h2 {
  font-size: 32px;
  font-weight: 600;
  margin-bottom: 16px;
}

h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 8px;
}

p {
  max-width: 760px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

/* ===============================
   HERO
================================ */
.hero-section {
  padding: 120px 24px;
  background: linear-gradient(180deg, #ffffff 0%, #f7f9fc 100%);
}

.hero-section p {
  font-size: 18px;
  max-width: 720px;
}

/* ===============================
   ARTICLES / CARDS
================================ */
article {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 32px;
  margin-top: 32px;
  transition: all 0.3s ease;
}

article:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
}

/* ===============================
   LISTS
================================ */
ul {
  margin-top: 16px;
  padding-left: 20px;
}

li {
  margin-bottom: 10px;
  color: var(--text-muted);
}

/* ===============================
   LINKS & BUTTONS
================================ */
a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
}

a:hover {
  text-decoration: underline;
}

button {
  background-color: var(--primary);
  color: #ffffff;
  border: none;
  border-radius: 10px;
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

button:hover {
  background-color: #1d4ed8;
}

/* ===============================
   FORMS
================================ */
input,
textarea {
  width: 100%;
  padding: 12px 14px;
  margin-top: 6px;
  border-radius: 10px;
  border: 1px solid var(--border-light);
  font-family: inherit;
  font-size: 14px;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--primary);
}

/* ===============================
   FOOTER
================================ */
footer {
  background-color: #0f172a;
  color: #cbd5f5;
  padding: 64px 24px;
}

footer p {
  color: #cbd5f5;
  font-size: 14px;
  max-width: var(--max-width);
  margin: 0 auto 16px auto;
}

footer nav {
  max-width: var(--max-width);
  margin: 0 auto;
}

footer nav a {
  color: #cbd5f5;
  margin-right: 20px;
  font-size: 14px;
}

footer nav a:hover {
  text-decoration: underline;
}

/* ===============================
   RESPONSIVE
================================ */
@media (max-width: 768px) {
  section {
    padding: 72px 20px;
  }

  h1 {
    font-size: 36px;
  }

  h2 {
    font-size: 26px;
  }
}
