:root {
  /* Dynamic Palette (Strictly No Blue - Cyberpunk Violet & Lime Gold adapted) */
  --bg-canvas: #1a102f;
  --bg-surface: #2e1065;
  --bg-surface-hover: #3b177a;
  --text-primary: #ffffff;
  --text-muted: #d8b4fe;
  --accent-primary: #eab308;
  --accent-secondary: #facc15;
  --border-subtle: rgba(216, 180, 254, 0.15);
  
  /* Advanced UI Micro-Interactions & Depth */
  --ease-kinetic: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-elevation: 0 12px 32px -4px rgba(0, 0, 0, 0.5);
  --glow-accent: 0 0 24px -4px rgba(234, 179, 8, 0.4);
  --glass-backdrop: blur(16px) saturate(180%);
}

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

body {
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  background-color: var(--bg-canvas);
  color: var(--text-primary);
  line-height: 1.8;
  overflow-wrap: anywhere;
  hyphens: auto;
  font-size: 1.125rem;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 20px;
}

a {
  color: var(--accent-primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--accent-secondary);
}

h1, h2, h3, h4, h5, h6 {
  line-height: 1.2;
  margin-bottom: 1rem;
  font-weight: 700;
}

/* Header & Brand (Strictly Left-Aligned, Static) */
.site-header {
  position: relative;
  background-color: transparent;
  padding: 1.5rem 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
}

.brand {
  flex: 0 0 auto;
}

.brand a {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--text-primary);
  letter-spacing: -0.5px;
}

.main-nav {
  display: none;
}

.mobile-toggle {
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.75rem;
  cursor: pointer;
  padding: 0.5rem;
}

@media (min-width: 769px) {
  .mobile-toggle { display: none; }
  .main-nav {
    display: flex;
    gap: 2rem;
  }
  .main-nav a {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
  }
  .main-nav a:hover {
    color: var(--accent-primary);
  }
}

/* Mobile Nav Overlay */
.mobile-nav-overlay {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: rgba(46, 16, 101, 0.95);
  backdrop-filter: var(--glass-backdrop);
  padding: 2rem 5%;
  flex-direction: column;
  gap: 1.5rem;
  border-bottom: 1px solid var(--border-subtle);
  z-index: 99;
}

.mobile-nav-overlay.active {
  display: flex;
}

.mobile-nav-overlay a {
  color: var(--text-primary);
  font-size: 1.25rem;
  font-weight: 700;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 5%;
  margin-top: -80px; /* Offset for transparent header */
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background-image: linear-gradient(to bottom, rgba(26, 16, 47, 0.4), rgba(26, 16, 47, 0.95));
  z-index: 1;
}

.hero img {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
  border-radius: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 5rem);
  margin-bottom: 1.5rem;
  text-wrap: balance;
}

.hero p {
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Buttons */
.btn {
  display: inline-block;
  background: var(--accent-primary);
  color: var(--bg-canvas);
  padding: 14px 28px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 1rem;
  box-shadow: 4px 4px 0 rgba(234, 179, 8, 0.6);
  transition: all 0.2s var(--ease-kinetic);
  border: none;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn:hover {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 rgba(234, 179, 8, 0.6);
  color: var(--bg-canvas);
}

.btn-secondary {
  background: var(--bg-surface);
  color: var(--text-primary);
  box-shadow: 4px 4px 0 rgba(216, 180, 254, 0.3);
}

.btn-secondary:hover {
  box-shadow: 2px 2px 0 rgba(216, 180, 254, 0.3);
  color: var(--text-primary);
}

/* Vertical Flow Architecture */
.vertical-flow {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 5%;
}

.flow-line {
  position: absolute;
  left: 5%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border-subtle);
  z-index: 0;
}

@media (min-width: 769px) {
  .flow-line {
    left: 50%;
    transform: translateX(-50%);
  }
}

.flow-section {
  position: relative;
  z-index: 1;
  margin-bottom: 6rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 769px) {
  .flow-section {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 4rem;
  }
  .flow-section:nth-child(even) .section-content {
    order: -1;
    text-align: right;
  }
  .flow-section:nth-child(even) .section-number {
    left: auto;
    right: -2rem;
  }
}

.section-number {
  position: absolute;
  top: -2rem;
  left: 0;
  font-size: 4rem;
  font-weight: 900;
  color: rgba(234, 179, 8, 0.15);
  line-height: 1;
  z-index: -1;
}

@media (min-width: 769px) {
  .section-number {
    position: relative;
    top: auto; left: auto;
    text-align: center;
    font-size: 8rem;
    grid-column: 1 / -1;
    margin-bottom: -5rem;
  }
}

/* Cards */
.card {
  position: relative;
  background: var(--bg-surface);
  border-radius: 20px;
  padding: 1.5rem;
  border: 1px solid var(--border-subtle);
  transition: transform 0.4s var(--ease-kinetic), box-shadow 0.4s var(--ease-kinetic);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.card:hover {
  transform: translateY(-8px) scale(1.015);
  box-shadow: var(--shadow-elevation), var(--glow-accent);
  background: var(--bg-surface-hover);
}

.card-img-wrapper {
  position: relative;
  margin-bottom: 1.5rem;
}

.card img {
  aspect-ratio: 4/3;
  object-fit: cover;
  width: 100%;
}

.card-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--accent-primary);
  color: var(--bg-canvas);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-weight: 800;
  font-size: 0.75rem;
  text-transform: uppercase;
}

.card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.card p {
  color: var(--text-muted);
  flex-grow: 1;
}

/* Grid Layouts */
.grid-auto {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

/* Angled Sections (Clip-path) */
.section-angled {
  position: relative;
  padding: 6rem 5%;
  background: var(--bg-surface);
  clip-path: polygon(0 4vw, 100% 0, 100% calc(100% - 4vw), 0 100%);
  margin: 4rem 0;
}

.section-angled-content {
  max-width: 1200px;
  margin: 0 auto;
}

/* Typography & Content Max Width */
.content-wrapper {
  max-width: 800px;
  margin: 0 auto;
  padding: 4rem 5%;
}

.content-wrapper p {
  margin-bottom: 1.5rem;
}

.content-wrapper h2 {
  margin-top: 3rem;
  color: var(--accent-primary);
}

.content-wrapper ul {
  margin-left: 2rem;
  margin-bottom: 1.5rem;
  color: var(--text-muted);
}

.content-wrapper li {
  margin-bottom: 0.5rem;
}

/* Forms */
.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--text-muted);
}

.form-control {
  width: 100%;
  padding: 1rem;
  background: rgba(26, 16, 47, 0.5);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  color: var(--text-primary);
  font-family: inherit;
  font-size: 1rem;
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-primary);
}

textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

/* FAQ */
.faq-item {
  background: var(--bg-surface);
  border-radius: 20px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  border: 1px solid var(--border-subtle);
}

.faq-item h3 {
  color: var(--accent-secondary);
  font-size: 1.25rem;
}

/* Footer */
.site-footer {
  background: var(--bg-surface);
  padding: 4rem 5% 2rem;
  margin-top: 4rem;
  border-top: 1px solid var(--border-subtle);
}

.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-links a {
  color: var(--text-muted);
}

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

.copyright {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(216, 180, 254, 0.1);
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Animations */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s var(--ease-kinetic);
}

.reveal.reveal-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Tables */
.table-wrapper {
  overflow-x: auto;
  margin-bottom: 2rem;
  border-radius: 20px;
  border: 1px solid var(--border-subtle);
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px;
}

th, td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border-subtle);
}

th {
  background: rgba(46, 16, 101, 0.5);
  color: var(--accent-primary);
}

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

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