:root {
  color-scheme: light dark;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.5;
  font-weight: 400;
  --background: #090b28;
  --card-background: rgba(17, 18, 41, 0.72);
  --card-border: rgba(255, 255, 255, 0.1);
  --accent: #6f4cff;
  --accent-soft: rgba(111, 76, 255, 0.12);
  --text-primary: #f6f8ff;
  --text-secondary: rgba(246, 248, 255, 0.7);
  --divider: rgba(255, 255, 255, 0.08);
}

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

html,
body {
  margin: 0;
  min-height: 100%;
  background-color: var(--background);
  color: var(--text-primary);
}

body {
  position: relative;
  overflow-x: hidden;
}

.gradient-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  background: radial-gradient(
      circle at 10% 20%,
      rgba(111, 76, 255, 0.4),
      transparent 40%
    ),
    radial-gradient(
      circle at 80% 0,
      rgba(60, 220, 255, 0.25),
      transparent 35%
    ),
    radial-gradient(
      circle at 50% 70%,
      rgba(255, 106, 196, 0.2),
      transparent 45%
    ),
    #0a0c2e;
  filter: blur(0);
}

.container {
  width: min(1100px, 92vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(7, 9, 30, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--divider);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  letter-spacing: 0.4px;
}

.brand-logo {
  width: 180px;
  height: auto;
  object-fit: contain;
}

.brand-name {
  font-size: 1.1rem;
}

.header-nav {
  display: flex;
  gap: 22px;
  align-items: center;
}

.header-nav a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.header-nav a:hover,
.header-nav a:focus-visible {
  color: var(--text-primary);
}

.cta-button,
.ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease,
    background-color 0.2s ease, color 0.2s ease;
}

.cta-button {
  background: linear-gradient(135deg, var(--accent), #8a66ff);
  color: #fff;
  box-shadow: 0 12px 32px rgba(111, 76, 255, 0.35);
}

.cta-button:hover,
.cta-button:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 18px 38px rgba(111, 76, 255, 0.45);
}

.ghost-button {
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  color: var(--text-primary);
}

.ghost-button:hover,
.ghost-button:focus-visible {
  background: rgba(255, 255, 255, 0.06);
}

.hero {
  padding: 96px 0 64px;
  max-width: 900px;
  margin: 0 auto;
}

.hero-text .eyebrow {
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 2.6px;
  color: var(--text-secondary);
  margin-bottom: 18px;
}

.hero-text h1 {
  font-size: clamp(2.2rem, 4vw, 3rem);
  margin: 0 0 12px;
  line-height: 1.15;
}

.magazine-subtitle {
  font-size: 1.3rem;
  color: var(--text-secondary);
  margin: 0 0 28px;
  font-weight: 500;
}

.hero-description {
  color: var(--text-secondary);
  font-size: 1rem;
  margin-bottom: 28px;
}

.hero-description p {
  margin: 0 0 18px 0;
}

.hero-description p:last-child {
  margin-bottom: 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 32px;
}

.hero-contact {
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--divider);
}

.hero-contact p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 1rem;
}

.hero-contact a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s ease;
}

.hero-contact a:hover,
.hero-contact a:focus-visible {
  color: #8a66ff;
  text-decoration: underline;
}

.hero-card {
  background: var(--card-background);
  border: 1px solid var(--card-border);
  border-radius: 24px;
  box-shadow: 0 24px 80px rgba(7, 9, 30, 0.68);
  padding: 32px;
}

.hero-card h2 {
  margin-top: 0;
  font-size: 1.4rem;
}

.hero-card ul {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  display: grid;
  gap: 14px;
}

.hero-card li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-secondary);
}

.hero-card li::before {
  content: "";
  display: inline-flex;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 6px var(--accent-soft);
}

.benefits {
  display: grid;
  gap: 24px;
  margin: 32px auto 80px;
}

.benefits article {
  background: rgba(15, 16, 34, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 26px 28px;
  display: grid;
  gap: 12px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.benefits article:hover {
  transform: translateY(-4px);
  border-color: rgba(111, 76, 255, 0.4);
}

.benefits h3 {
  margin: 0;
  font-size: 1.15rem;
}

.benefits p {
  margin: 0;
  color: var(--text-secondary);
}

.form-section {
  padding: 80px 0;
  background: rgba(8, 10, 32, 0.75);
  border-block: 1px solid rgba(255, 255, 255, 0.08);
}

.form-header {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 32px;
}

.form-header h2 {
  margin-bottom: 14px;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
}

.form-header p {
  color: var(--text-secondary);
  margin: 0;
}

.form-wrapper {
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(14, 15, 37, 0.85);
  box-shadow: 0 32px 64px rgba(7, 10, 40, 0.55);
  overflow: hidden;
  min-height: 720px;
}

.form-wrapper iframe {
  width: 100%;
  height: 720px;
  border: none;
  background: #fff;
}

.support {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 36px;
  align-items: center;
  padding: 80px 0 96px;
}

.support p {
  color: var(--text-secondary);
  margin-top: 16px;
  max-width: 520px;
}

.support-card {
  background: rgba(16, 18, 40, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 28px;
  display: grid;
  gap: 8px;
  align-self: stretch;
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(7, 9, 30, 0.9);
  padding: 24px 0;
}

.site-footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.site-footer nav {
  display: flex;
  gap: 18px;
}

.site-footer a {
  color: var(--text-secondary);
  text-decoration: none;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--text-primary);
}

@media (width <= 880px) {
  .site-header .container {
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
  }

  .header-nav {
    order: 3;
  }

  .hero {
    text-align: center;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-card {
    max-width: 420px;
    justify-self: center;
  }

  .form-wrapper iframe {
    min-height: 780px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

