/* === Reset & Base === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --green-900: #0a2e1a;
  --green-800: #0f3d24;
  --green-700: #14532d;
  --green-600: #166534;
  --green-500: #22a34a;
  --green-400: #4ade80;
  --green-50: #f0fdf4;
  --white: #ffffff;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --radius: 12px;
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.12);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--gray-800);
  line-height: 1.6;
  background: var(--gray-50);
}

.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* === Header === */
.header {
  background: var(--green-900);
  padding: 16px 24px;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  color: var(--white);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.5px;
}

/* === Hero === */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--green-900) 0%, var(--green-700) 100%);
  color: var(--white);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: radial-gradient(ellipse at 80% 20%, rgba(74, 222, 128, 0.15) 0%, transparent 60%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  padding: 80px 24px;
  align-items: center;
  position: relative;
}

.hero-content { max-width: 540px; }

.badge {
  display: inline-block;
  background: rgba(74, 222, 128, 0.15);
  color: var(--green-400);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hero-content h1 {
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 24px;
}

.hero-content .accent {
  color: var(--green-400);
}

.hero-sub {
  font-size: 18px;
  color: rgba(255,255,255,0.85);
  line-height: 1.6;
  margin-bottom: 32px;
}

.hero-benefits {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hero-benefits li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  color: rgba(255,255,255,0.9);
}

.hero-benefits li::before {
  content: "✓";
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  min-width: 24px;
  background: var(--green-500);
  border-radius: 50%;
  font-size: 13px;
  font-weight: 700;
  color: white;
}

/* === Form Card === */
.form-card {
  background: var(--white);
  padding: 40px 36px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  max-width: 420px;
  margin: 0 auto;
}

.form-card h2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 8px;
}

.form-card > p {
  color: var(--gray-500);
  font-size: 15px;
  margin-bottom: 28px;
}

.form-group { margin-bottom: 20px; }

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 6px;
}

.form-group input {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid var(--gray-200);
  border-radius: 8px;
  font-size: 16px;
  font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  background: var(--gray-50);
}

.form-group input:focus {
  border-color: var(--green-500);
  box-shadow: 0 0 0 3px rgba(34, 163, 74, 0.15);
}

.form-group input.error {
  border-color: #dc2626;
}

.form-group .error-msg {
  color: #dc2626;
  font-size: 13px;
  margin-top: 4px;
  display: none;
}

.form-group input.error + .error-msg { display: block; }

.btn-primary {
  width: 100%;
  padding: 16px 24px;
  background: var(--green-600);
  color: var(--white);
  border: none;
  border-radius: 8px;
  font-size: 17px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
  position: relative;
}

.btn-primary:hover { background: var(--green-700); }
.btn-primary:active { transform: scale(0.98); }
.btn-primary:disabled { opacity: 0.6; cursor: not-allowed; }

.btn-loading { display: none; }
.btn-primary.loading .btn-text { visibility: hidden; }
.btn-primary.loading .btn-loading {
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.opt-label {
  font-weight: 400;
  color: var(--gray-400);
  font-size: 13px;
}

.checkbox-group { margin-bottom: 24px; }

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  min-width: 18px;
  margin-top: 2px;
  accent-color: var(--green-600);
  cursor: pointer;
}

.checkbox-text {
  font-size: 13px;
  color: var(--gray-500);
  line-height: 1.4;
}

.gdpr-link {
  color: var(--green-600);
  text-decoration: underline;
}

.gdpr-link:hover { color: var(--green-700); }

.checkbox-label input.error {
  outline: 2px solid #dc2626;
  outline-offset: 2px;
  border-radius: 2px;
}

.form-note {
  text-align: center;
  color: var(--gray-400);
  font-size: 13px;
  margin-top: 16px;
}

.download-btn {
  text-decoration: none;
  display: inline-block;
  text-align: center;
}

/* === Success === */
.success-message { text-align: center; display: none; }
.success-message.hidden { display: none; }
.success-message:not(.hidden) { display: block; }

.success-icon {
  width: 56px;
  height: 56px;
  background: var(--green-100, #dcfce7);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 24px;
  color: var(--green-600);
  font-weight: 700;
}

.success-message h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 8px;
}

.success-message p {
  color: var(--gray-500);
  margin-bottom: 24px;
}

.btn-secondary {
  display: inline-block;
  padding: 14px 28px;
  background: var(--green-50);
  color: var(--green-700);
  border: 2px solid var(--green-500);
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  font-family: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-secondary:hover { background: var(--green-100); }

/* === Steps Section === */
.steps {
  padding: 80px 24px;
  background: var(--white);
}

.section-title {
  text-align: center;
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 48px;
  letter-spacing: -0.5px;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 24px;
}

.step-card {
  padding: 28px 20px;
  border-radius: var(--radius);
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  transition: transform 0.2s, box-shadow 0.2s;
}

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

.step-num {
  font-size: 32px;
  font-weight: 800;
  color: var(--green-500);
  opacity: 0.4;
  display: block;
  margin-bottom: 8px;
  line-height: 1;
}

.step-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--gray-800);
}

.step-card p {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.5;
}

/* === Testimonial === */
.testimonial {
  background: var(--green-900);
  color: var(--white);
  padding: 64px 24px;
}

.testimonial-inner {
  text-align: center;
  max-width: 680px;
}

.testimonial blockquote p {
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 600;
  font-style: italic;
  line-height: 1.5;
  margin-bottom: 16px;
}

.testimonial cite {
  font-style: normal;
  font-size: 15px;
  color: var(--green-400);
  font-weight: 500;
}

/* === About === */
.about {
  padding: 80px 24px;
  background: var(--gray-50);
}

.about-grid {
  max-width: 640px;
  text-align: center;
}

.about h2 {
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--gray-900);
}

.about-name {
  font-size: 18px;
  font-weight: 600;
  color: var(--green-700);
  margin-bottom: 16px;
}

.about p {
  color: var(--gray-600);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 12px;
}

.about-links {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 24px;
}

.social-link {
  padding: 10px 20px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  color: var(--gray-700);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: border-color 0.2s;
}

.social-link:hover { border-color: var(--green-500); }

.cta-link {
  background: var(--green-600);
  color: var(--white);
  border-color: var(--green-600);
}

.cta-link:hover {
  background: var(--green-700);
  border-color: var(--green-700);
}

/* === Privacy === */
.privacy {
  padding: 64px 24px;
  background: var(--white);
  border-top: 1px solid var(--gray-200);
}

.privacy-content {
  max-width: 680px;
  margin: 0 auto;
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.7;
}

.privacy-content p { margin-bottom: 12px; }
.privacy-content strong { color: var(--gray-800); }

/* === Footer === */
.footer {
  background: var(--green-900);
  color: rgba(255,255,255,0.7);
  padding: 40px 24px;
}

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

.footer p {
  font-size: 14px;
  margin-bottom: 8px;
}

.footer-legal {
  font-size: 11px;
  color: rgba(255,255,255,0.5);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* === Toast === */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  z-index: 200;
  box-shadow: var(--shadow-lg);
  transition: opacity 0.3s;
}

.toast.hidden { opacity: 0; pointer-events: none; }
.toast.error { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.toast.success { background: #f0fdf4; color: #166534; border: 1px solid #bbf7d0; }

/* === Responsive === */
@media (max-width: 768px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 48px 20px;
  }

  .hero-content { max-width: 100%; }

  .form-card { max-width: 100%; }

  .steps-grid {
    grid-template-columns: 1fr 1fr;
  }

  .about-links { flex-direction: column; align-items: center; }
}

@media (max-width: 480px) {
  .steps-grid { grid-template-columns: 1fr; }
  .form-card { padding: 28px 20px; }
}
