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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
  background: #2B1055;
  color: #FFC6FF;
  line-height: 1.65;
  font-size: 16px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

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

a {
  color: #70D6FF;
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

a:hover {
  color: #FFD670;
  text-decoration: underline;
}

.disclosure-banner {
  width: 100%;
  padding: 8px 16px;
  font-size: 12px;
  color: #BDB2FF;
  text-align: center;
  border-bottom: 1px solid rgba(255, 112, 166, 0.3);
  line-height: 1.5;
  position: relative;
  z-index: 200;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 150;
  background: #190B2E;
  clip-path: polygon(0 0, 100% 0, 100% 80%, 0 100%);
  height: 68px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.logo-link img {
  height: 40px;
  width: auto;
}

.nav-toggle {
  display: none;
}

.burger-label {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  cursor: pointer;
  padding: 4px;
  z-index: 160;
}

.burger-label span {
  display: block;
  width: 100%;
  height: 3px;
  background: #FFC6FF;
  border-radius: 3px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-links a {
  color: #BDB2FF;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.02em;
}

.nav-links a:hover {
  color: #FF70A6;
  text-decoration: underline;
}

.site-footer {
  background: #190B2E;
  border-top: 1px solid rgba(255, 112, 166, 0.3);
  padding: 48px 24px 32px;
  margin-top: auto;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
}

.footer-logo img {
  height: 44px;
  width: auto;
}

.footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.footer-badges a,
.footer-badges span {
  display: block;
}

.footer-badges img {
  height: 40px;
  width: auto;
  object-fit: contain;
  opacity: 0.9;
  transition: opacity 0.2s ease, transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.footer-badges a:hover img {
  opacity: 1;
  transform: scale(1.05);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255, 112, 166, 0.2);
}

.footer-links a {
  color: #BDB2FF;
  font-size: 14px;
}

.footer-disclosure {
  font-size: 13px;
  color: #BDB2FF;
  line-height: 1.7;
  margin-bottom: 20px;
}

.footer-disclosure p {
  margin-bottom: 12px;
}

.footer-copy {
  font-size: 12px;
  color: #BDB2FF;
  opacity: 0.7;
}

.page-hero-compact {
  background: #190B2E;
  padding: 32px 24px;
  text-align: center;
}

.page-hero-compact h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  color: #FFC6FF;
  letter-spacing: -0.02em;
}

.page-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 24px 64px;
}

.page-content h1 {
  font-size: 2rem;
  font-weight: 800;
  color: #FFC6FF;
  margin-bottom: 24px;
}

.page-content h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #FF70A6;
  margin: 32px 0 12px;
}

.page-content p {
  color: #BDB2FF;
  margin-bottom: 16px;
  line-height: 1.75;
}

.page-content ul {
  color: #BDB2FF;
  margin: 0 0 16px 24px;
  line-height: 1.75;
}

.page-content a {
  color: #70D6FF;
}

.contact-form-wrap {
  margin-top: 32px;
  position: relative;
}

.form-success {
  display: none;
  background: #190B2E;
  border-radius: 30px;
  padding: 32px;
  text-align: center;
  box-shadow: inset 4px 4px 12px rgba(0, 0, 0, 0.4), inset -2px -2px 8px rgba(255, 198, 255, 0.05), 0 12px 40px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 112, 166, 0.3);
}

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

.form-success:target ~ .contact-form {
  display: none;
}

.form-success p {
  color: #FFC6FF;
  font-size: 1.1rem;
  margin: 0;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: #190B2E;
  border-radius: 30px;
  padding: 32px;
  box-shadow: inset 4px 4px 12px rgba(0, 0, 0, 0.4), inset -2px -2px 8px rgba(255, 198, 255, 0.05), 0 12px 40px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 112, 166, 0.3);
}

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

.form-field label {
  font-size: 14px;
  font-weight: 600;
  color: #FFC6FF;
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 14px 18px;
  border-radius: 20px;
  border: 1px solid rgba(255, 112, 166, 0.3);
  background: #2B1055;
  color: #FFC6FF;
  font-family: inherit;
  font-size: 15px;
  box-shadow: inset 3px 3px 8px rgba(0, 0, 0, 0.35);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: #FF70A6;
  box-shadow: inset 3px 3px 8px rgba(0, 0, 0, 0.35), 0 0 0 3px rgba(255, 112, 166, 0.2);
}

.form-field textarea {
  min-height: 140px;
  resize: vertical;
}

.field-error {
  display: none;
  font-size: 12px;
  color: #FF70A6;
}

.form-field input:user-invalid:not(:placeholder-shown) ~ .field-error,
.form-field textarea:user-invalid:not(:placeholder-shown) ~ .field-error {
  display: block;
}

.form-submit {
  align-self: flex-start;
  padding: 14px 32px;
  background: #FF70A6;
  color: #190B2E;
  border: none;
  border-radius: 30px;
  font-size: 15px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(255, 112, 166, 0.4), inset 0 -3px 0 rgba(0, 0, 0, 0.15);
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s ease;
}

.form-submit:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 10px 28px rgba(255, 112, 166, 0.5), inset 0 -3px 0 rgba(0, 0, 0, 0.15);
}

.form-submit:active {
  transform: scale(0.97);
}

.error-page {
  text-align: center;
  padding: 80px 24px;
  max-width: 600px;
  margin: 0 auto;
}

.error-page h1 {
  font-size: 5rem;
  font-weight: 800;
  color: #FF70A6;
  margin-bottom: 16px;
}

.error-page p {
  color: #BDB2FF;
  margin-bottom: 32px;
  font-size: 1.1rem;
}

.error-link {
  display: inline-block;
  padding: 14px 32px;
  background: #FF70A6;
  color: #190B2E;
  border-radius: 30px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(255, 112, 166, 0.4);
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.error-link:hover {
  transform: translateY(-2px) scale(1.02);
  color: #190B2E;
  text-decoration: none;
}

@media (max-width: 900px) {
  .site-header {
    clip-path: none;
    height: auto;
    min-height: 60px;
  }

  .nav-inner {
    height: auto;
    min-height: 60px;
    flex-wrap: wrap;
  }

  .burger-label {
    display: flex;
  }

  .nav-toggle:checked ~ .burger-label span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .nav-toggle:checked ~ .burger-label span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle:checked ~ .burger-label span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .nav-links {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(25, 11, 46, 0.97);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 28px;
    z-index: 155;
  }

  .nav-toggle:checked ~ .nav-links {
    display: flex;
  }

  .nav-links a {
    font-size: 1.25rem;
    color: #FFC6FF;
  }
}
