:root {
  --bg: #F5F3FF;
  --surface: #FFFFFF;
  --text: #2E1065;
  --muted: #A78BFA;
  --primary: #8B5CF6;
  --secondary: #60A5FA;
  --accent: #F472B6;
  --border: rgba(46, 16, 101, 0.12);
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  background-image:
    linear-gradient(135deg, rgba(139, 92, 246, 0.06) 0%, transparent 50%),
    linear-gradient(225deg, rgba(96, 165, 250, 0.05) 0%, transparent 40%),
    var(--bg);
  color: var(--text);
  line-height: 1.6;
  padding-bottom: 72px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1 0 auto;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 39px, rgba(46, 16, 101, 0.04) 39px, rgba(46, 16, 101, 0.04) 40px),
    repeating-linear-gradient(90deg, transparent, transparent 39px, rgba(46, 16, 101, 0.04) 39px, rgba(46, 16, 101, 0.04) 40px);
  pointer-events: none;
  z-index: 0;
}

main,
header,
footer,
nav {
  position: relative;
  z-index: 1;
}

.disclosure-banner {
  width: 100%;
  padding: 8px 16px;
  font-size: 12px;
  text-align: center;
  line-height: 1.5;
  color: var(--text);
  background-color: var(--surface);
  background-image: repeating-linear-gradient(
    45deg,
    var(--surface),
    var(--surface) 8px,
    rgba(46, 16, 101, 0.04) 8px,
    rgba(46, 16, 101, 0.04) 16px
  );
}

.hero {
  background: #1a0a3e;
  height: 120px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 0 24px;
  border-bottom: 3px solid var(--primary);
}

.hero h1,
.hero .hero-title {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 900;
  color: var(--surface);
  margin: 0;
  line-height: 0.85;
  letter-spacing: -0.03em;
  transform: scaleY(1.15);
  white-space: nowrap;
}

.hero-strip {
  background: #2d1b69;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
  border-bottom: 1px solid var(--border);
}

.marquee-divider {
  overflow: hidden;
  background: var(--text);
  color: var(--surface);
  padding: 6px 0;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 700;
  border-top: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
}

.marquee-divider span {
  display: inline-block;
  animation: marquee 18s linear infinite;
  white-space: nowrap;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 52px;
  background: #1a0a3e;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bottom-nav-inner {
  width: 100%;
  max-width: 1200px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  height: 100%;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: var(--surface);
  flex-shrink: 0;
}

.nav-brand span {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex: 1;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.75);
  font-size: 10px;
  padding: 4px 6px;
  transition: color 0.15s;
}

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

.nav-icon {
  font-size: 14px;
  line-height: 1;
  margin-bottom: 2px;
}

.nav-more-btn {
  display: none;
  background: none;
  border: none;
  color: var(--surface);
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  font-size: 10px;
  padding: 4px 8px;
}

.nav-more-btn .nav-icon {
  font-size: 16px;
}

.nav-overflow {
  display: none;
  position: fixed;
  bottom: 52px;
  right: 0;
  background: #2d1b69;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 8px;
  z-index: 999;
  min-width: 120px;
}

.nav-overflow.open {
  display: block;
}

.nav-overflow a {
  display: block;
  color: var(--surface);
  text-decoration: none;
  font-size: 12px;
  padding: 8px 12px;
}

.site-footer {
  background: var(--text);
  color: rgba(255, 255, 255, 0.85);
  padding: 48px 24px 24px;
  margin-top: auto;
  flex-shrink: 0;
}

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

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
}

.footer-brand span {
  font-size: 18px;
  font-weight: 700;
  color: var(--surface);
}

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

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

.footer-badges img {
  height: 40px;
  width: auto;
  object-fit: contain;
}

.footer-legal {
  font-size: 13px;
  line-height: 1.7;
  margin-bottom: 20px;
}

.footer-legal p {
  margin: 0 0 12px;
}

.footer-legal a {
  color: var(--secondary);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-bottom: 24px;
  list-style: none;
  padding: 0;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 13px;
}

.footer-links a:hover {
  color: var(--surface);
}

.footer-company {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 16px;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(26, 10, 62, 0.92);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal-overlay.hidden {
  display: none;
}

.modal-box {
  background: var(--surface);
  border: 3px solid var(--text);
  padding: 32px;
  max-width: 420px;
  width: 100%;
  text-align: center;
  box-shadow: 8px 8px 0 var(--primary);
}

.modal-box h2 {
  margin: 0 0 12px;
  font-family: Georgia, serif;
  font-size: 1.5rem;
}

.modal-box p {
  margin: 0 0 24px;
  font-size: 14px;
  color: var(--text);
}

.modal-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.btn {
  padding: 10px 24px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid var(--text);
  transition: transform 0.1s;
}

.btn:active {
  transform: translate(2px, 2px);
}

.btn-primary {
  background: var(--primary);
  color: var(--surface);
}

.btn-secondary {
  background: var(--surface);
  color: var(--text);
}

.cookie-banner {
  position: fixed;
  bottom: 52px;
  left: 0;
  right: 0;
  background: var(--surface);
  border-top: 2px solid var(--text);
  padding: 16px 24px;
  z-index: 1500;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  box-shadow: 0 -4px 20px rgba(46, 16, 101, 0.15);
}

.cookie-banner.hidden {
  display: none;
}

.cookie-banner p {
  margin: 0;
  font-size: 13px;
  max-width: 600px;
}

.cookie-actions {
  display: flex;
  gap: 8px;
}

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

.page-content a {
  color: blue;
}

.page-content a:visited {
  color: #551a8b;
}

.page-content h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  margin: 0 0 24px;
  border-bottom: 3px solid var(--primary);
  padding-bottom: 12px;
}

.page-content h2 {
  font-size: 1.25rem;
  margin: 32px 0 12px;
}

.page-content h3 {
  font-size: 1.1rem;
  margin: 24px 0 8px;
}

.page-content p,
.page-content li {
  font-size: 15px;
  line-height: 1.7;
}

.page-content ul {
  padding-left: 20px;
}

.contact-form {
  margin-top: 32px;
  border: 2px solid var(--text);
  padding: 24px;
  background: var(--surface);
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 10px 12px;
  border: 2px solid var(--border);
  font-size: 15px;
  font-family: inherit;
  background: var(--bg);
  color: var(--text);
}

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

.form-error {
  color: #dc2626;
  font-size: 13px;
  margin-top: 4px;
  display: none;
}

.form-error.visible {
  display: block;
}

.form-success {
  padding: 24px;
  background: rgba(139, 92, 246, 0.1);
  border: 2px solid var(--primary);
  text-align: center;
  font-size: 15px;
}

.form-success.hidden {
  display: none;
}

.contact-form.hidden {
  display: none;
}

@media (max-width: 768px) {
  .hero {
    height: 80px;
  }

  .nav-links .nav-item-mobile-hide {
    display: none;
  }

  .nav-more-btn {
    display: flex;
  }

  .cookie-banner {
    flex-direction: column;
    text-align: center;
  }
}

@media (min-width: 769px) {
  .nav-overflow {
    display: none !important;
  }
}
