:root {
  --bg-canvas: #1e2530;
  --bg-surface: #27303f;
  --accent-lime: #a3e635;
  --text-main: #ffffff;
  --text-muted: #9ca3af;
  --radius: 20px;
  --ease-kinetic: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-soft: 0 8px 24px rgba(0, 0, 0, 0.2);
  --shadow-lift: 0 12px 32px rgba(0, 0, 0, 0.35);
  --button-shadow: 4px 4px 0px #ffffff;
}

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

body {
  background-color: var(--bg-canvas);
  color: var(--text-main);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  overflow-wrap: anywhere;
  hyphens: auto;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Arial Narrow", "Helvetica Neue", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
}

a {
  color: var(--accent-lime);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #ffffff;
}

/* Header & Navigation */
header {
  position: static;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 5%;
  background: transparent;
  z-index: 100;
}

.brand {
  font-family: "Arial Narrow", "Helvetica Neue", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-main);
}

.brand a {
  color: var(--text-main);
}

.desktop-nav {
  display: none;
  gap: 2rem;
}

.desktop-nav a {
  color: var(--text-main);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.9rem;
}

.desktop-nav a:hover {
  color: var(--accent-lime);
}

.mobile-menu-btn {
  display: block;
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  background-color: var(--bg-surface);
  padding: 2rem 5%;
  gap: 1.5rem;
  border-bottom-left-radius: var(--radius);
  border-bottom-right-radius: var(--radius);
}

.mobile-menu.active {
  display: flex;
}

.mobile-menu a {
  color: var(--text-main);
  font-weight: 600;
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 5%;
  margin-top: -80px; /* Offset for static header */
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(30,37,48,0.3) 0%, rgba(30,37,48,0.9) 100%);
  z-index: -1;
}

.hero-content {
  max-width: 900px;
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 5rem);
  color: #ffffff;
  text-shadow: 0 4px 12px rgba(0,0,0,0.5);
}

.hero p {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 68ch;
  margin-inline: auto;
}

/* Buttons */
.btn {
  display: inline-block;
  background: var(--accent-lime);
  color: var(--bg-canvas);
  font-family: "Arial Narrow", "Helvetica Neue", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  padding: 1rem 2.5rem;
  border-radius: var(--radius);
  border: none;
  box-shadow: var(--button-shadow);
  cursor: pointer;
  transition: all 0.2s var(--ease-kinetic);
}

.btn:hover {
  transform: translate(4px, 4px);
  box-shadow: 0px 0px 0px #ffffff;
  color: var(--bg-canvas);
}

/* Main Layout & Grid */
main {
  padding-bottom: 6rem;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 5%;
}

section {
  padding: 6rem 0;
  position: relative;
}

.radial-glow::before {
  content: '';
  position: absolute;
  width: 80vw;
  height: 80vw;
  max-width: 800px;
  max-height: 800px;
  background: radial-gradient(circle, rgba(163,230,53,0.1) 0%, transparent 60%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: -1;
  pointer-events: none;
}

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

@media (min-width: 769px) {
  .grid-2 {
    grid-template-columns: 1fr 1fr;
  }
}

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

/* Cards */
.card {
  background: var(--bg-surface);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow-soft);
  transition: transform 0.4s var(--ease-kinetic), box-shadow 0.4s var(--ease-kinetic);
  position: relative;
  z-index: 1;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lift);
}

.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 1.5rem;
}

.card h3 {
  color: var(--accent-lime);
  font-size: 1.5rem;
}

.card p {
  color: var(--text-muted);
}

/* Content Pages */
.page-header {
  padding: 8rem 5% 4rem;
  text-align: center;
  background: radial-gradient(circle at top, rgba(163,230,53,0.15) 0%, var(--bg-canvas) 70%);
}

.page-header h1 {
  font-size: clamp(2rem, 4vw, 4rem);
}

.content-block {
  max-width: 72ch;
  margin: 0 auto;
  font-size: 1.125rem;
  color: #e5e7eb;
}

.content-block h2 {
  margin-top: 3rem;
  color: var(--accent-lime);
}

.content-block p {
  margin-bottom: 1.5rem;
}

.content-block ul {
  margin-bottom: 1.5rem;
  padding-left: 2rem;
}

.content-block li {
  margin-bottom: 0.5rem;
}

/* Tool: Study Plan Creator */
.tool-panel {
  background: var(--bg-surface);
  padding: 3rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  margin-top: 3rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-family: "Arial Narrow", "Helvetica Neue", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
  color: var(--accent-lime);
}

.form-group input, .form-group select {
  width: 100%;
  padding: 1rem;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.1);
  background: var(--bg-canvas);
  color: var(--text-main);
  font-family: inherit;
}

.tool-output {
  margin-top: 2rem;
  padding: 1.5rem;
  background: var(--bg-canvas);
  border-radius: var(--radius);
  border: 1px solid rgba(163,230,53,0.2);
  display: none;
}

.tool-output pre {
  white-space: pre-wrap;
  font-family: monospace;
  color: var(--text-main);
  margin-bottom: 1.5rem;
}

.tool-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Footer */
footer {
  position: relative;
  background-color: var(--bg-surface);
  padding: 4rem 5% 2rem;
  border-top: 1px solid rgba(255,255,255,0.05);
  overflow: hidden;
}

.footer-glow {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1000px;
  height: 500px;
  background: radial-gradient(circle at bottom, rgba(163,230,53,0.1) 0%, transparent 60%);
  z-index: 0;
  pointer-events: none;
}

.footer-content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
}

.footer-brand .brand {
  margin-bottom: 1rem;
  display: inline-block;
}

.footer-legal p {
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-family: "Arial Narrow", "Helvetica Neue", sans-serif;
}

.footer-links a:hover {
  color: var(--accent-lime);
}

.footer-bottom {
  position: relative;
  z-index: 1;
  text-align: center;
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.05);
  color: var(--text-muted);
  font-size: 0.875rem;
}

/* Animations */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease-kinetic), transform 0.8s var(--ease-kinetic);
}

.reveal.reveal-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Utilities */
.text-center { text-align: center; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.responsive-table { overflow-x: auto; }

table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 2rem;
}

th, td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

th {
  color: var(--accent-lime);
  font-family: "Arial Narrow", "Helvetica Neue", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* FAQ Styling */
.faq-item {
  background: var(--bg-surface);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-soft);
}

.faq-item h3 {
  color: var(--accent-lime);
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

@media (min-width: 1025px) {
  .mobile-menu-btn { display: none; }
  .desktop-nav { display: flex; }
}

@media (prefers-reduced-motion: reduce){*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}
