:root {
  --bg: #08111f;
  --bg-soft: #0d1b2d;
  --card: rgba(255, 255, 255, 0.08);
  --card-solid: #ffffff;
  --text: #eef4ff;
  --text-dark: #122033;
  --muted: #9fb0c9;
  --line: rgba(255, 255, 255, 0.12);
  --primary: #2dd4bf;
  --primary-dark: #14b8a6;
  --secondary: #1e293b;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
  --radius: 20px;
  --radius-sm: 14px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: linear-gradient(180deg, #07101c 0%, #0b1628 100%);
  color: var(--text);
}

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

.hero {
  padding-bottom: 72px;
  background:
    radial-gradient(circle at top right, rgba(45, 212, 191, 0.22), transparent 24%),
    radial-gradient(circle at top left, rgba(59, 130, 246, 0.18), transparent 28%),
    linear-gradient(135deg, #07101c 0%, #0d1b2d 60%, #0b1628 100%);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-weight: 800;
  letter-spacing: 1px;
  background: linear-gradient(135deg, var(--primary), #60a5fa);
  color: #04111d;
}

.brand-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
}

.brand-subtitle {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: .88rem;
}

.hero-content {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 32px;
  align-items: center;
  padding-top: 42px;
}

.eyebrow,
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid rgba(45, 212, 191, 0.22);
  border-radius: 999px;
  color: #b8fff3;
  background: rgba(45, 212, 191, 0.08);
  font-size: .85rem;
  font-weight: 600;
}

.hero-copy h1 {
  font-size: clamp(2.2rem, 4vw, 4.3rem);
  line-height: 1.05;
  margin: 18px 0 18px;
  max-width: 12ch;
}

.hero-copy p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.75;
  max-width: 62ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 14px;
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  font-weight: 700;
  transition: .25s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), #60a5fa);
  color: #04111d;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(45, 212, 191, 0.18);
}

.btn-secondary,
.btn-outline {
  background: rgba(255,255,255,.04);
  color: var(--text);
  border-color: var(--line);
}

.btn-secondary:hover,
.btn-outline:hover {
  background: rgba(255,255,255,.08);
}

.hero-card {
  background: var(--card);
  backdrop-filter: blur(18px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}

.hero-card h3 {
  margin-top: 0;
  font-size: 1.25rem;
}

.hero-card ul {
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.9;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.stats-grid div {
  background: rgba(255,255,255,.05);
  border: 1px solid var(--line);
  padding: 18px;
  border-radius: 16px;
}

.stats-grid strong {
  display: block;
  font-size: 1.4rem;
  margin-bottom: 6px;
}

.stats-grid span {
  color: var(--muted);
  font-size: .92rem;
}

.highlights {
  padding: 80px 0;
}

.section-heading {
  margin-bottom: 30px;
}

.section-heading.center {
  text-align: center;
}

.section-heading h2 {
  font-size: clamp(1.8rem, 2.7vw, 3rem);
  margin: 16px 0 10px;
}

.section-heading p {
  color: var(--muted);
  line-height: 1.8;
  margin: 0;
}

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

.mini-card {
  background: rgba(255,255,255,.05);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 24px;
}

.mini-card h3 {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 1.08rem;
}

.mini-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.form-section {
  padding: 0 0 90px;
}

.project-form {
  background: var(--card-solid);
  color: var(--text-dark);
  border-radius: 28px;
  padding: 34px;
  box-shadow: var(--shadow);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 18px;
}

.form-block {
  padding-top: 10px;
  border-top: 1px solid #e6edf7;
}

.form-block h3 {
  margin: 0;
  color: #0f172a;
  font-size: 1.08rem;
}

.field-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.full {
  grid-column: 1 / -1;
}

label {
  font-weight: 600;
  font-size: .96rem;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid #d8e2f0;
  border-radius: 14px;
  padding: 14px 16px;
  font: inherit;
  color: #0f172a;
  background: #f8fbff;
  outline: none;
  transition: .2s ease;
}

textarea {
  resize: vertical;
  min-height: 120px;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(45, 212, 191, .12);
  background: #fff;
}

.required {
  color: #ef4444;
  font-weight: 700;
}

.checkbox-field {
  margin-top: 4px;
}

.checkbox-wrap {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-weight: 500;
  line-height: 1.6;
}

.checkbox-wrap input {
  width: 18px;
  height: 18px;
  margin-top: 4px;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 8px;
}

.footer {
  border-top: 1px solid var(--line);
  padding: 28px 0 40px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.footer h3,
.footer p {
  margin: 0;
}

.footer p {
  color: var(--muted);
  margin-top: 8px;
  line-height: 1.7;
}

@media (max-width: 980px) {
  .hero-content,
  .cards-grid,
  .form-grid,
  .footer-content {
    grid-template-columns: 1fr;
    display: grid;
  }

  .hero-copy h1 {
    max-width: none;
  }

  .project-form {
    padding: 22px;
  }
}

@media (max-width: 640px) {
  .nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .hero {
    padding-bottom: 56px;
  }

  .hero-content {
    padding-top: 18px;
  }

  .hero-actions,
  .form-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }
}
