/* =========================
   VARIABLES (DESIGN SYSTEM)
========================= */
:root {
  --primary: #6BAF6B;
  --primary-light: #8BCF8B;
  --primary-dark: #4F8F4F;

  --bg-dark: #020617;
  --bg-gradient: radial-gradient(circle at top, #0f172a, #020617);

  --text-main: #e6edf3;
  --text-muted: #9ca3af;

  --border: #1f2937;
}

/* =========================
   BASE STYLES
========================= */
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--bg-gradient);
  color: var(--text-main);
}

/* =========================
   HEADER
========================= */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  background: var(--bg-dark);
}

.logo {
  height: 200px;
}

nav a {
  color: var(--text-main);
  margin-left: 20px;
  text-decoration: none;
  transition: color 0.2s ease;
}

nav a:hover {
  color: var(--primary-light);
}

/* =========================
   HERO SECTION
========================= */
.hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
}

.hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1100px;
  width: 100%;
  gap: 40px;
}

.hero-text {
  flex: 1;
  animation: fadeInUp 1s ease forwards;
}

.hero h1 {
  font-size: 48px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -1px;
}

.hero p {
  margin-top: 20px;
  color: var(--text-muted);
  max-width: 500px;
  font-size: 18px;
}

.hero-buttons {
  margin-top: 30px;
  display: flex;
  gap: 15px;
}

/* =========================
   BUTTONS
========================= */
.btn {
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  padding: 12px 22px;
  border-radius: 6px;
  color: #022c22;
  text-decoration: none;
  box-shadow: 0 0 20px rgba(107, 175, 107, 0.5);
  transition: all 0.3s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(107, 175, 107, 0.7);
}

.btn-outline {
  border: 1px solid var(--border);
  padding: 12px 22px;
  border-radius: 6px;
  color: var(--text-main);
  text-decoration: none;
}

/* =========================
   SECTIONS
========================= */
.section {
  padding: 60px 20px;
  max-width: 1000px;
  margin: auto;
}

.section h2 {
  font-size: 28px;
  margin-bottom: 20px;
}

.center {
  text-align: center;
}

.subtle {
  color: #6b7280;
  font-size: 14px;
  letter-spacing: 1px;
}

/* =========================
   GRID + CARDS
========================= */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.card {
  background: rgba(2, 6, 23, 0.8);
  padding: 20px;
  border-radius: 10px;
  border: 1px solid var(--border);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
}

.card h3 {
  margin-bottom: 10px;
}

/* =========================
   HERO VISUAL (GLOW)
========================= */
.hero-visual {
  flex: 1;
  display: flex;
  justify-content: center;
}

.glow {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(107,175,107,0.6), transparent 70%);
  filter: blur(60px);
  animation: pulse 6s infinite alternate;
}

/* =========================
   FORMS
========================= */
input, textarea {
  width: 100%;
  padding: 12px;
  margin: 10px 0;
  border-radius: 6px;
  border: none;
}

/* =========================
   FOOTER
========================= */
footer {
  text-align: center;
  padding: 20px;
  background: var(--bg-dark);
}

/* =========================
   ANIMATIONS
========================= */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  from {
    transform: scale(1);
    opacity: 0.7;
  }
  to {
    transform: scale(1.2);
    opacity: 1;
  }
}
