:root {
  --page-bg: #140650;
  --page-bg-alt: #1a0b6e;
  --surface: rgba(18, 12, 88, 0.82);
  --surface-strong: rgba(19, 14, 100, 0.92);
  --surface-soft: rgba(255, 255, 255, 0.08);
  --border-soft: rgba(255, 255, 255, 0.12);
  --text-main: #ffffff;
  --text-muted: rgba(255, 255, 255, 0.86);
  --text-dim: rgba(255, 255, 255, 0.62);
  --brand-red: #b51fd3;
  --brand-orange: #7c35ff;
  --brand-amber: #5b6dff;
  --brand-gold: #7e9bff;
  --danger: #ff9ac5;
  --danger-bg: rgba(255, 91, 149, 0.18);
  --success: #b6f3c5;
  --success-bg: rgba(52, 168, 83, 0.18);
  --info: #d8e4ff;
  --info-bg: rgba(91, 109, 255, 0.18);
  --brand-gradient: linear-gradient(90deg, #a91cc7 0%, #6322d2 42%, #2038c9 100%);
  --brand-gradient-soft: linear-gradient(90deg, #a91cc7 0%, #6322d2 42%, #2038c9 100%);
  --brand-glow: 0 24px 80px rgba(91, 109, 255, 0.28);
  --card-shadow: 0 32px 80px rgba(0, 0, 0, 0.28);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(169, 28, 199, 0.18), transparent 32%),
    radial-gradient(circle at top right, rgba(32, 56, 201, 0.18), transparent 24%),
    linear-gradient(180deg, var(--page-bg-alt) 0%, var(--page-bg) 100%);
  color: var(--text-main);
}

body {
  display: flex;
  flex-direction: column;
}

a {
  color: inherit;
}

.hero-wrapper,
.privacy-wrapper,
.contact-wrapper {
  position: relative;
  flex: 1;
  width: 100%;
  overflow: hidden;
  background: var(--brand-gradient-soft);
}

.hero-wrapper::before,
.privacy-wrapper::before,
.contact-wrapper::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 14% 22%, rgba(255, 255, 255, 0.08), transparent 22%),
    radial-gradient(circle at 88% 18%, rgba(144, 174, 255, 0.14), transparent 20%),
    radial-gradient(circle at 78% 74%, rgba(255, 255, 255, 0.06), transparent 26%);
  pointer-events: none;
}

.hero-section {
  position: relative;
  display: block;
  width: min(1180px, calc(100% - 48px));
  min-height: min(700px, calc(100vh - 132px));
  margin: 22px auto 0;
  padding: 76px 82px 92px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--card-shadow);
}

.hero-section::before,
.hero-section::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.hero-section::before {
  right: 6%;
  top: 50%;
  transform: translateY(-54%);
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(17, 12, 120, 0.32) 0%, rgba(17, 12, 120, 0) 72%);
}

.hero-section::after {
  content: "♪";
  right: 8%;
  top: -18px;
  font-size: clamp(16rem, 28vw, 25rem);
  font-weight: 900;
  line-height: 1;
  color: rgba(11, 7, 92, 0.26);
}

.hero-left,
.privacy-content,
.contact-content {
  position: relative;
  z-index: 1;
  border: 1px solid var(--border-soft);
  box-shadow: var(--card-shadow);
  backdrop-filter: blur(18px);
}

.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  max-width: 540px;
  min-height: 100%;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
  overflow: visible;
}

.hero-left::before {
  content: "♪";
  position: absolute;
  left: -42px;
  bottom: -210px;
  font-size: 23rem;
  font-weight: 900;
  line-height: 1;
  color: rgba(24, 15, 136, 0.22);
  pointer-events: none;
}

.intro {
  display: none;
}

.logo-container {
  position: relative;
  z-index: 1;
  margin-bottom: 22px;
}

.logo-wordmark {
  margin: 0;
  font-size: clamp(2.8rem, 6vw, 3.8rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  color: #ffffff;
}

.logo-container .subtitle {
  display: none;
}

.hero-left h1 {
  position: relative;
  z-index: 1;
  margin: 0 0 10px;
  max-width: 10ch;
  font-size: clamp(3.25rem, 6vw, 4.3rem);
  font-weight: 900;
  line-height: 1.04;
  letter-spacing: -0.03em;
  color: #ffffff;
}

.hero-left .description,
.hero-left .support-copy {
  position: relative;
  z-index: 1;
  max-width: 30rem;
}

.hero-left .description {
  margin: 0;
  font-size: clamp(1.1rem, 2.5vw, 1.45rem);
  line-height: 1.2;
  color: rgba(255, 255, 255, 0.9);
}

.hero-left .support-copy {
  display: none;
}

.cta-button {
  display: none;
}

.cta-button:hover,
.cta-button:focus {
  transform: none;
  filter: none;
  box-shadow: none;
}

.hero-right {
  display: none;
}

.hero-right::before,
.hero-right::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
}

.hero-right::before {
  width: 380px;
  height: 380px;
  left: -80px;
  bottom: 28px;
  background: radial-gradient(circle, rgba(69, 8, 24, 0.8) 0%, rgba(69, 8, 24, 0) 72%);
}

.hero-right::after {
  width: 260px;
  height: 260px;
  right: 12%;
  top: 8%;
  background: radial-gradient(circle, rgba(255, 172, 97, 0.36) 0%, rgba(255, 172, 97, 0) 68%);
}

.site-footer {
  margin-top: auto;
  padding: 20px 16px 28px;
  background: #1c0b6b;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.92rem;
  line-height: 1.3;
}

.footer-nav a {
  position: relative;
  padding: 0 0.55rem;
  color: var(--text-muted);
  text-decoration: none;
}

.footer-nav a::after {
  content: "";
  position: absolute;
  right: -0.28rem;
  top: 50%;
  width: 1px;
  height: 0.9em;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.2);
}

.footer-nav a:last-child::after {
  display: none;
}

.footer-nav a:hover,
.footer-nav a:focus {
  color: #ffffff;
  text-decoration: underline;
  outline: none;
}

.privacy-wrapper,
.contact-wrapper {
  min-height: calc(100vh - 70px);
  display: flex;
  flex-direction: column;
}

.privacy-logo-section,
.contact-logo-section {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 32px 20px 20px;
}

.brand-heading {
  margin: 0;
  font-size: clamp(2.1rem, 5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #ffffff;
}

.privacy-section,
.contact-section {
  position: relative;
  z-index: 1;
  display: flex;
  flex: 1;
}

.privacy-content,
.contact-content {
  flex: 1;
  margin: 0 24px 24px;
  padding: 40px 44px;
  background: linear-gradient(180deg, rgba(27, 10, 18, 0.9) 0%, rgba(18, 6, 12, 0.94) 100%);
  border-radius: var(--radius-lg);
}

.privacy-content::before,
.contact-content::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 8px;
  border-radius: var(--radius-lg) 0 0 var(--radius-lg);
  background: linear-gradient(180deg, #c428dd 0%, #7440ff 58%, #456eff 100%);
}

.privacy-header {
  margin-bottom: 30px;
}

.privacy-header h1,
.contact-text h1 {
  margin: 0 0 10px;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: #ffffff;
}

.effective-date {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-dim);
}

.privacy-body {
  max-width: 100%;
}

.privacy-section-content h2,
.privacy-section-content h3 {
  color: var(--brand-amber);
  line-height: 1.2;
}

.privacy-section-content h2 {
  margin: 34px 0 14px;
  font-size: 1.65rem;
  font-weight: 700;
}

.privacy-section-content h2:first-of-type {
  margin-top: 0;
}

.privacy-section-content h3 {
  margin: 24px 0 12px;
  font-size: 1.2rem;
  font-weight: 700;
}

.privacy-section-content p,
.privacy-section-content li {
  color: var(--text-muted);
  font-size: 0.96rem;
  line-height: 1.7;
}

.privacy-section-content p {
  margin: 0 0 16px;
}

.privacy-section-content ul,
.privacy-section-content ol {
  margin: 0 0 20px;
  padding-left: 1.5rem;
}

.privacy-section-content li {
  margin-bottom: 0.45rem;
}

.privacy-section-content strong {
  color: #ffffff;
}

.privacy-section-content a {
  color: var(--brand-gold);
  text-decoration: none;
  font-weight: 600;
}

.privacy-section-content a:hover,
.privacy-section-content a:focus {
  color: #ffffff;
  text-decoration: underline;
}

.cookie-table {
  width: 100%;
  margin: 32px 0;
  border-collapse: collapse;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
}

.cookie-table th,
.cookie-table td {
  padding: 16px;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.cookie-table th {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
}

.cookie-table td {
  color: var(--text-muted);
  vertical-align: top;
}

.cookie-table tr:last-child td {
  border-bottom: none;
}

.faq-divider {
  height: 1px;
  margin: 18px 0 26px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0.02) 100%);
}

.contact-content {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 40px;
  align-items: center;
}

.contact-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.contact-illustration {
  margin-bottom: 28px;
}

.contact-illustration-card {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 180px;
  height: 180px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 30px;
  background: linear-gradient(135deg, rgba(196, 40, 221, 0.28) 0%, rgba(116, 64, 255, 0.3) 52%, rgba(69, 110, 255, 0.24) 100%);
  box-shadow: var(--brand-glow);
}

.contact-illustration-card span {
  font-size: 4.5rem;
}

.contact-text p {
  max-width: 28rem;
  margin: 0;
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.contact-right {
  display: flex;
  flex-direction: column;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  margin-bottom: 8px;
  color: #ffffff;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.form-group input,
.form-group textarea {
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-main);
  font: inherit;
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 245, 239, 0.48);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: rgba(255, 201, 119, 0.75);
  background: rgba(255, 255, 255, 0.09);
  box-shadow: 0 0 0 4px rgba(255, 155, 84, 0.14);
}

.submit-button {
  align-self: flex-start;
  padding: 16px 24px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: linear-gradient(135deg, #c428dd 0%, #456eff 100%);
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
  box-shadow: var(--brand-glow);
}

.submit-button:hover,
.submit-button:focus {
  transform: translateY(-1px);
}

.submit-button:disabled,
.submit-button:disabled:hover {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.form-messages {
  margin-top: 16px;
}

.message {
  margin-bottom: 10px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid transparent;
  font-size: 0.95rem;
  line-height: 1.5;
}

.message-success {
  color: var(--success);
  background: var(--success-bg);
  border-color: rgba(182, 243, 197, 0.22);
}

.message-error {
  color: #ffd2d8;
  background: var(--danger-bg);
  border-color: rgba(255, 139, 152, 0.24);
}

.message-info {
  color: var(--info);
  background: var(--info-bg);
  border-color: rgba(255, 215, 176, 0.24);
}

@media (max-width: 960px) {
  .contact-content {
    grid-template-columns: 1fr;
  }

  .hero-section {
    width: min(100% - 32px, 980px);
    min-height: 560px;
    padding: 64px 48px 72px;
  }

  .hero-section::after {
    right: 2%;
    top: 10px;
    font-size: 15rem;
  }
}

@media (max-width: 720px) {
  .hero-section {
    width: calc(100% - 24px);
    min-height: 420px;
    margin-top: 12px;
    padding: 56px 24px 64px;
  }

  .hero-section::before {
    right: -40px;
    top: auto;
    bottom: -30px;
    width: 220px;
    height: 220px;
    transform: none;
  }

  .hero-section::after {
    right: -6px;
    top: 18px;
    font-size: 10rem;
  }

  .hero-left,
  .privacy-content,
  .contact-content {
    margin: 0;
    padding: 28px 22px;
    border-radius: 24px;
  }

  .hero-left {
    align-items: flex-start;
  }

  .hero-left::before {
    left: -24px;
    bottom: -86px;
    top: auto;
    font-size: 12rem;
  }

  .hero-left .description {
    font-size: 1rem;
  }

  .privacy-logo-section,
  .contact-logo-section {
    padding: 24px 16px 16px;
  }

  .contact-illustration-card {
    width: 140px;
    height: 140px;
  }

  .contact-illustration-card span {
    font-size: 3.4rem;
  }

  .footer-nav {
    gap: 0.25rem;
    font-size: 0.82rem;
  }

  .footer-nav a {
    padding: 0 0.35rem;
  }

  .footer-nav a::after {
    right: -0.16rem;
    height: 0.7em;
  }
}
