:root {
  --navy: #10074f;
  --navy-2: #1a0a63;
  --purple: #6d12d9;
  --violet: #9f22ff;
  --cyan: #26d9eb;
  --blue: #21b8ff;
  --pink: #ff4fb6;
  --text: #18152a;
  --muted: #69647a;
  --surface: #ffffff;
  --soft: #f6f2ff;
  --danger: #d9303e;
  --danger-soft: #fff0f2;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: #fff;
}

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

.header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255,255,255,.94);
  border-bottom: 1px solid #ece8f6;
  backdrop-filter: blur(12px);
}

.nav {
  max-width: 1100px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.02em;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 12px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  font-weight: 650;
  font-size: 14px;
}

.nav-links a:hover { color: var(--purple); }

.hero {
  color: white;
  background:
    radial-gradient(circle at 75% 20%, rgba(255,79,182,.38), transparent 28%),
    radial-gradient(circle at 15% 70%, rgba(38,217,235,.25), transparent 32%),
    linear-gradient(135deg, var(--navy), #5210a2 55%, var(--violet));
}

.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  min-height: 520px;
  padding: 76px 24px;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: center;
  gap: 52px;
}

.hero h1 {
  margin: 0 0 18px;
  max-width: 650px;
  font-size: clamp(48px, 7vw, 84px);
  line-height: .95;
  letter-spacing: -0.055em;
}

.hero p {
  max-width: 620px;
  margin: 0 0 28px;
  font-size: clamp(18px, 2.1vw, 24px);
  line-height: 1.5;
  color: rgba(255,255,255,.88);
}

.hero-card {
  padding: 24px;
  border-radius: 28px;
  background: rgba(255,255,255,.11);
  border: 1px solid rgba(255,255,255,.22);
  box-shadow: 0 24px 70px rgba(0,0,0,.18);
}

.hero-card img {
  display: block;
  width: min(100%, 320px);
  margin: auto;
  border-radius: 28px;
  box-shadow: 0 20px 45px rgba(0,0,0,.22);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 14px;
  border: 0;
  font-weight: 800;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  color: var(--navy);
  background: linear-gradient(90deg, var(--cyan), #5cecff);
  box-shadow: 0 12px 28px rgba(38,217,235,.25);
}
.btn-secondary {
  background: var(--navy);
  color: #fff;
}
.btn-danger {
  width: 100%;
  background: var(--danger);
  color: #fff;
}

.section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 74px 24px;
}

.section h2,
.page-card h1 {
  margin: 0 0 12px;
  color: var(--navy);
  letter-spacing: -0.035em;
}

.section h2 { font-size: clamp(34px, 4vw, 48px); }
.section-intro { color: var(--muted); max-width: 720px; line-height: 1.7; }

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 34px;
}

.card {
  border-radius: 22px;
  padding: 26px;
  background: linear-gradient(180deg, #fff, var(--soft));
  border: 1px solid #ede7fb;
  box-shadow: 0 10px 30px rgba(41,20,95,.06);
}
.card h3 { color: var(--navy); margin-top: 0; }
.card p { color: var(--muted); line-height: 1.65; margin-bottom: 0; }
.icon-dot {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  margin-bottom: 18px;
  background: linear-gradient(135deg, var(--cyan), var(--violet));
  color: white;
  font-weight: 900;
}

.page-wrap {
  min-height: calc(100vh - 76px);
  padding: 64px 24px;
  background:
    radial-gradient(circle at 10% 10%, rgba(38,217,235,.12), transparent 25%),
    radial-gradient(circle at 90% 20%, rgba(159,34,255,.13), transparent 28%),
    #faf9fe;
}

.page-card {
  max-width: 800px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid #ebe6f5;
  border-radius: 26px;
  padding: clamp(28px, 5vw, 52px);
  box-shadow: 0 24px 70px rgba(31,15,78,.08);
}
.page-card h1 { font-size: clamp(36px, 5vw, 54px); }
.page-card > p { color: var(--muted); line-height: 1.7; }

.about-block {
  padding: 24px 0;
  border-top: 1px solid #ece8f6;
}
.about-block:first-of-type { margin-top: 26px; }
.about-block h2 { color: var(--navy); margin: 0 0 8px; }
.about-block p { color: var(--muted); line-height: 1.7; margin: 0; }

.notice {
  margin: 26px 0;
  padding: 20px;
  border-radius: 16px;
  background: var(--danger-soft);
  border: 1px solid #ffd5da;
  color: #8a1722;
}
.notice strong { display: block; margin-bottom: 6px; }

.form-group { margin: 18px 0; }
label { display: block; font-weight: 750; margin-bottom: 8px; color: var(--navy); }
input, textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #d9d2e9;
  border-radius: 12px;
  font: inherit;
  outline: none;
}
input:focus, textarea:focus {
  border-color: var(--purple);
  box-shadow: 0 0 0 4px rgba(109,18,217,.09);
}
textarea { min-height: 110px; resize: vertical; }
.small { color: var(--muted); font-size: 13px; line-height: 1.5; }

.footer {
  background: var(--navy);
  color: rgba(255,255,255,.82);
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 28px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  font-size: 14px;
}
.footer a { color: #fff; }

@media (max-width: 780px) {
  .nav { align-items: flex-start; }
  .nav-links { gap: 12px; flex-wrap: wrap; justify-content: flex-end; }
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero p { margin-left: auto; margin-right: auto; }
  .grid-3 { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; text-align: center; }
}
