:root {
  --bg: #050810;
  --bg-elevated: #0d111c;
  --bg-soft: #111827;
  --accent: #8ddf4a;
  --accent-soft: rgba(141, 223, 74, 0.12);
  --accent-strong: #a6ff5e;
  --text: #f9fafb;
  --text-muted: #9ca3af;
  --border-subtle: rgba(148, 163, 184, 0.4);
  --shadow-soft: 0 24px 60px rgba(15, 23, 42, 0.7);
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 999px;
  --nav-height: 72px;
}

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

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI',
    sans-serif;
  background: radial-gradient(circle at top left, #1f2937 0, #020617 55%);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1120px, 100% - 32px);
  margin: 0 auto;
}

.hero {
  position: relative;
  min-height: 100vh;
  padding-bottom: 56px;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: -200px;
  background:
    radial-gradient(circle at 10% 0%, rgba(190, 242, 100, 0.09), transparent 55%),
    radial-gradient(circle at 90% 10%, rgba(59, 130, 246, 0.18), transparent 50%);
  opacity: 0.9;
  pointer-events: none;
  z-index: -2;
}

.hero::after {
  content: '';
  position: absolute;
  inset-inline: 0;
  top: 45%;
  height: 480px;
  background: radial-gradient(
    circle at center,
    rgba(15, 23, 42, 0.2),
    rgba(15, 23, 42, 1)
  );
  z-index: -1;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
  padding-top: 10px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.nav::before {
  content: '';
  position: absolute;
  inset-inline: -32px;
  top: 12px;
  height: 56px;
  border-radius: var(--radius-full);
  background: linear-gradient(
    120deg,
    rgba(15, 23, 42, 0.9),
    rgba(15, 23, 42, 0.7),
    rgba(15, 23, 42, 0.9)
  );
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.65);
  z-index: -1;
}

.logo {
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 13px;
  padding: 10px 18px;
  border-radius: var(--radius-full);
  background: radial-gradient(circle at top left, #a6ff5e, #4ade80);
  color: #052e16;
  box-shadow: 0 12px 30px rgba(34, 197, 94, 0.55);
}

.nav-cta {
  padding: 8px 18px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(148, 163, 184, 0.5);
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: radial-gradient(circle at top left, rgba(141, 223, 74, 0.12), transparent);
}

.nav-cta::after {
  content: '→';
  font-size: 14px;
}

.nav-cta:hover {
  border-color: rgba(148, 163, 184, 0.9);
}

.hero-content {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.7fr);
  gap: 48px;
  align-items: center;
  padding-top: 40px;
}

.hero-text h1 {
  font-size: clamp(32px, 4vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 10px 0 18px;
}

.hero-subtitle {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 540px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  padding: 5px 11px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(148, 163, 184, 0.4);
  background: radial-gradient(circle at top left, rgba(141, 223, 74, 0.12), transparent);
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: var(--text-muted);
}

.hero-list {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: grid;
  gap: 8px;
  font-size: 14px;
  color: var(--text-muted);
}

.hero-list li::before {
  content: '•';
  margin-right: 6px;
  color: var(--accent);
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 18px;
  margin-top: 26px;
}

.hero-note {
  font-size: 13px;
  color: var(--text-muted);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 22px;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #052e16;
  box-shadow: 0 16px 30px rgba(74, 222, 128, 0.45);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(74, 222, 128, 0.5);
}

.btn-block {
  width: 100%;
}

.hero-image {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hero-photo {
  border-radius: var(--radius-xl);
  border: 1px solid rgba(148, 163, 184, 0.6);
  box-shadow: var(--shadow-soft);
  width: 100%;
  height: auto;
  overflow: hidden;
}

.hero-photo svg {
  display: block;
  width: 100%;
  height: auto;
}

.hero-photo.main {
  max-height: 360px;
}

.hero-tag {
  position: absolute;
  bottom: 24px;
  left: -8px;
  padding: 10px 16px;
  border-radius: 16px;
  background: radial-gradient(circle at top left, rgba(141, 223, 74, 0.16), #020617);
  border: 1px solid rgba(148, 163, 184, 0.65);
  font-size: 13px;
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.95);
}

.hero-tag span {
  font-size: 12px;
  color: var(--text-muted);
}

.section {
  padding: 64px 0;
}

.section-light {
  background: radial-gradient(circle at top, #020617, #050816 35%, #020617 100%);
  border-top: 1px solid rgba(148, 163, 184, 0.35);
  border-bottom: 1px solid rgba(148, 163, 184, 0.35);
}

.section-title {
  font-size: 26px;
  letter-spacing: -0.03em;
  text-align: center;
  margin: 0 0 10px;
}

.section-subtitle {
  margin: 0 auto;
  max-width: 640px;
  text-align: center;
  font-size: 14px;
  color: var(--text-muted);
}

.cards-grid {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.card {
  background: radial-gradient(circle at top left, #111827, #020617);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.card-image {
  height: 160px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.card-image-1 {
  background-image: url('card1-soil.svg');
}

.card-image-2 {
  background-image: url('card2-light.svg');
}

.card-image-3 {
  background-image: url('card3-watering.svg');
}

.card-image-4 {
  background-image: url('card4-varieties.svg');
}

.card-image-5 {
  background-image: url('card5-calendar.svg');
}

.card-body {
  padding: 18px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
}

.card-body h3 {
  font-size: 16px;
  margin: 0;
}

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

.card-list {
  list-style: none;
  padding: 0;
  margin: 6px 0 0;
  display: grid;
  gap: 4px;
  color: var(--text-muted);
}

.card-list li {
  position: relative;
  padding-left: 16px;
}

.card-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--accent);
}

.course-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 32px;
  align-items: stretch;
}

.course-info {
  padding-right: 12px;
}

.benefits-list {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  display: grid;
  gap: 10px;
}

.benefits-list li {
  font-size: 14px;
  color: var(--text-muted);
  padding-left: 18px;
  position: relative;
}

.benefits-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 2px solid var(--accent);
}

.benefits-list span {
  color: var(--text);
}

.course-form-wrapper {
  position: relative;
}

.course-badge {
  position: absolute;
  top: -14px;
  left: 18px;
  padding: 4px 10px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  border-radius: var(--radius-full);
  background: var(--accent-soft);
  border: 1px solid rgba(141, 223, 74, 0.6);
  color: var(--accent-strong);
}

.course-form {
  margin-top: 10px;
  padding: 26px 22px 22px;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at top left, rgba(141, 223, 74, 0.2), transparent 60%),
    radial-gradient(circle at bottom right, rgba(56, 189, 248, 0.16), transparent 60%),
    #020617;
  border: 1px solid rgba(148, 163, 184, 0.7);
  box-shadow: var(--shadow-soft);
}

.course-form h3 {
  margin: 0 0 4px;
  font-size: 18px;
}

.course-form p {
  margin: 0;
  font-size: 13px;
  color: var(--text-muted);
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 16px;
  font-size: 13px;
}

.field span {
  color: var(--text-muted);
}

.field input {
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.8);
  background: rgba(15, 23, 42, 0.95);
  color: var(--text);
  padding: 9px 11px;
  font-size: 14px;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.field input::placeholder {
  color: rgba(148, 163, 184, 0.8);
}

.field input:focus {
  border-color: var(--accent-strong);
  box-shadow: 0 0 0 1px rgba(148, 163, 184, 0.7),
    0 0 0 1px rgba(141, 223, 74, 0.7);
}

.field-error {
  min-height: 14px;
  font-size: 11px;
  color: #fecaca;
}

.field--invalid input {
  border-color: #f97373;
}

.form-note {
  margin-top: 10px;
  font-size: 11px;
  color: var(--text-muted);
}

.form-success {
  margin-top: 10px;
  font-size: 13px;
  color: #bbf7d0;
  display: none;
}

.form-success--visible {
  display: block;
}

.footer {
  border-top: 1px solid rgba(148, 163, 184, 0.35);
  padding: 18px 0 22px;
  background: linear-gradient(to bottom, rgba(15, 23, 42, 0.8), #020617);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 12px;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-links a {
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid transparent;
}

.footer-links a:hover {
  border-color: rgba(148, 163, 184, 0.7);
}

@media (max-width: 960px) {
  .hero-content {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 32px;
  }

  .cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-photo.secondary {
    display: none;
  }
}

@media (max-width: 768px) {
  .nav::before {
    inset-inline: -8px;
  }

  .hero {
    min-height: auto;
  }

  .hero-content {
    grid-template-columns: minmax(0, 1fr);
    padding-top: 20px;
  }

  .hero-image {
    order: -1;
    min-height: 260px;
    margin-bottom: 6px;
  }

  .section {
    padding: 48px 0;
  }

  .cards-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .course-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .course-info {
    padding-right: 0;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .container {
    width: min(100% - 24px, 100%);
  }

  .nav-cta {
    display: none;
  }

  .hero-text h1 {
    font-size: 26px;
  }

  .course-form {
    padding-inline: 18px;
  }

  .card-image {
    height: 140px;
  }
}

