/* ============================================================
   SENIZA — Global Design System
   ============================================================ */

/* Google Fonts are loaded in each HTML page's <head> */

/* ── CSS Custom Properties ────────────────────────────────── */
:root {
  /* Primary accent — neon blue */
  --orange:        #00D4FF;
  --orange-light:  #4DDFFF;
  --orange-dark:   #00AACC;

  /* Secondary accent — light purple */
  --pink:          #B57BFF;
  --pink-light:    #CC99FF;
  --pink-dark:     #8844DD;

  /* Tertiary accent — deep violet */
  --yellow:        #7C3AFF;
  --yellow-light:  #9966FF;
  --yellow-dark:   #5C1FEE;

  /* Dark base palette */
  --black:         #03030A;
  --dark:          #07071A;
  --dark-grey:     #111128;
  --mid-grey:      #8888AA;
  --light-grey:    #1E1E38;
  --off-white:     #0C0C1E;
  --white:         #FFFFFF;

  /* Typography */
  --font-heading:  'Orbitron', 'Courier New', monospace;
  --font-body:     'Exo 2', 'Segoe UI', Arial, sans-serif;
  --font-mono:     'Courier New', monospace;

  /* Scale */
  --text-xs:    0.75rem;
  --text-sm:    0.875rem;
  --text-base:  1rem;
  --text-lg:    1.125rem;
  --text-xl:    1.25rem;
  --text-2xl:   1.5rem;
  --text-3xl:   1.875rem;
  --text-4xl:   2.25rem;
  --text-5xl:   3rem;
  --text-6xl:   3.75rem;

  /* Spacing */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Layout */
  --container-max: 1200px;
  --container-wide: 1400px;
  --nav-height: 72px;

  /* Borders */
  --radius-sm:  4px;
  --radius-md:  8px;
  --radius-lg:  12px;
  --radius-xl:  20px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-xs:  0 1px 3px rgba(0,0,0,0.5);
  --shadow-sm:  0 2px 8px rgba(0,0,0,0.6);
  --shadow-md:  0 4px 24px rgba(0,0,0,0.7);
  --shadow-lg:  0 8px 40px rgba(0,0,0,0.75);
  --shadow-xl:  0 16px 64px rgba(0,0,0,0.8);
  --shadow-glow: 0 0 20px rgba(0,212,255,0.25), 0 0 40px rgba(181,123,255,0.10);

  /* Transitions */
  --transition-fast:   0.15s ease;
  --transition:        0.25s ease;
  --transition-slow:   0.4s ease;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.65;
  color: rgba(200,200,230,0.85);
  background-color: var(--black);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, video, svg {
  max-width: 100%;
  display: block;
}

a {
  color: var(--orange);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--orange-dark);
}

a:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
  border-radius: 2px;
}

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: var(--font-body);
}

input, textarea, select {
  font-family: var(--font-body);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.2;
  font-weight: 700;
  color: var(--white);
}

h1 { font-size: clamp(var(--text-3xl), 5vw, var(--text-5xl)); }
h2 { font-size: clamp(var(--text-2xl), 3.5vw, var(--text-4xl)); }
h3 { font-size: clamp(var(--text-xl), 2.5vw, var(--text-2xl)); }
h4 { font-size: var(--text-xl); }
h5 { font-size: var(--text-lg); }
h6 { font-size: var(--text-base); }

p {
  margin-bottom: var(--space-4);
  color: var(--mid-grey);
  max-width: 70ch;
}

p:last-child { margin-bottom: 0; }

strong { font-weight: 600; color: rgba(220,220,255,0.95); }

hr {
  border: none;
  border-top: 1px solid var(--light-grey);
  margin: var(--space-8) 0;
}

/* ── Layout utilities ─────────────────────────────────────── */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.container-wide {
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.section {
  padding: var(--space-20) 0;
}

.section-sm {
  padding: var(--space-12) 0;
}

.section-lg {
  padding: var(--space-32) 0;
}

/* ── Typography utilities ─────────────────────────────────── */
.text-orange   { color: var(--orange); }
.text-pink     { color: var(--pink); }
.text-yellow   { color: var(--yellow-dark); }
.text-mid      { color: var(--mid-grey); }
.text-dark     { color: var(--dark); }
.text-white    { color: var(--white); }

.font-heading  { font-family: var(--font-heading); }

.text-sm       { font-size: var(--text-sm); }
.text-lg       { font-size: var(--text-lg); }
.text-xl       { font-size: var(--text-xl); }

.text-center   { text-align: center; }
.text-left     { text-align: left; }
.text-right    { text-align: right; }

.font-medium   { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold     { font-weight: 700; }

.uppercase     { text-transform: uppercase; letter-spacing: 0.08em; }
.tracking-wide { letter-spacing: 0.05em; }

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 0.75rem 1.75rem;
  font-size: var(--text-base);
  font-weight: 600;
  font-family: var(--font-body);
  border-radius: var(--radius-md);
  transition: all var(--transition);
  cursor: pointer;
  text-decoration: none;
  border: 2px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
}

.btn-primary:hover {
  background: var(--orange-dark);
  border-color: var(--orange-dark);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: transparent;
  color: var(--orange);
  border-color: var(--orange);
}

.btn-secondary:hover {
  background: var(--orange);
  color: var(--white);
  transform: translateY(-1px);
}

.btn-white {
  background: var(--white);
  color: var(--orange);
  border-color: var(--white);
}

.btn-white:hover {
  background: var(--off-white);
  color: var(--orange-dark);
}

.btn-dark {
  background: var(--dark);
  color: var(--white);
  border-color: var(--dark);
}

.btn-dark:hover {
  background: var(--black);
  color: var(--white);
}

.btn-sm {
  padding: 0.5rem 1.25rem;
  font-size: var(--text-sm);
}

.btn-lg {
  padding: 1rem 2.5rem;
  font-size: var(--text-lg);
  border-radius: var(--radius-lg);
}

/* ── Badges & Labels ──────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: var(--radius-full);
}

.badge-orange {
  background: rgba(0,212,255,0.12);
  color: var(--orange-dark);
}

.badge-pink {
  background: rgba(181,123,255,0.12);
  color: var(--pink-dark);
}

.badge-yellow {
  background: rgba(124,58,255,0.18);
  color: #7C3AFF;
}

.badge-grey {
  background: var(--light-grey);
  color: var(--mid-grey);
}

/* ── Background utilities ─────────────────────────────────── */
.bg-white     { background-color: var(--white); }
.bg-off-white { background-color: var(--off-white); }
.bg-light     { background-color: var(--light-grey); }
.bg-dark      { background-color: var(--dark); }
.bg-black     { background-color: var(--black); }
.bg-orange    { background-color: var(--orange); }
.bg-pink      { background-color: var(--pink); }

.bg-gradient-brand {
  background: linear-gradient(135deg, var(--orange) 0%, var(--pink) 100%);
}

.bg-gradient-warm {
  background: linear-gradient(135deg, var(--yellow) 0%, var(--orange) 60%, var(--pink) 100%);
}

/* ── Grid & Flex ──────────────────────────────────────────── */
.grid { display: grid; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-4 { gap: var(--space-4); }
.gap-6 { gap: var(--space-6); }
.gap-8 { gap: var(--space-8); }

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-8);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
}

/* ── Card ─────────────────────────────────────────────────── */
.card {
  background: var(--dark-grey);
  border: 1px solid var(--light-grey);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  transition: all var(--transition);
}

.card:hover {
  box-shadow: var(--shadow-md), 0 0 0 1px rgba(0,212,255,0.25);
  border-color: rgba(0,212,255,0.25);
  transform: translateY(-2px);
}

.card-sm {
  padding: var(--space-6);
  border-radius: var(--radius-md);
}

/* ── Section headers ──────────────────────────────────────── */
.section-header {
  margin-bottom: var(--space-12);
}

.section-header.text-center {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--orange);
  margin-bottom: var(--space-3);
}

.section-label::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 2px;
  background: var(--orange);
  border-radius: var(--radius-full);
}

.section-title {
  margin-bottom: var(--space-4);
}

.section-subtitle {
  font-size: var(--text-lg);
  color: var(--mid-grey);
  max-width: 60ch;
}

/* ── Icon feature ─────────────────────────────────────────── */
.icon-feature {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-4);
  flex-shrink: 0;
}

.icon-feature-orange { background: rgba(0,212,255,0.10); color: var(--orange); }
.icon-feature-pink   { background: rgba(181,123,255,0.12); color: var(--pink); }
.icon-feature-yellow { background: rgba(124,58,255,0.15);  color: #7C3AFF; }

.icon-feature svg {
  width: 28px;
  height: 28px;
}

/* ── Hero page headers ────────────────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, var(--black) 0%, var(--dark-grey) 100%);
  color: var(--white);
  padding: var(--space-24) 0 var(--space-16);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(135deg, transparent 0%, rgba(0,212,255,0.15) 100%);
  pointer-events: none;
}

.page-hero-inner {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  color: var(--white);
  margin-bottom: var(--space-4);
}

.page-hero .lead {
  font-size: var(--text-xl);
  color: rgba(255,255,255,0.75);
  max-width: 60ch;
  margin-bottom: var(--space-8);
  line-height: 1.6;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.6);
  margin-bottom: var(--space-6);
}

.breadcrumb a {
  color: rgba(255,255,255,0.6);
}

.breadcrumb a:hover {
  color: var(--white);
}

.breadcrumb-sep {
  color: rgba(255,255,255,0.3);
}

/* ── CTA section ──────────────────────────────────────────── */
.cta-section {
  background: linear-gradient(135deg, var(--orange) 0%, var(--pink) 100%);
  color: var(--white);
  padding: var(--space-20) 0;
  text-align: center;
}

.cta-section h2 {
  color: var(--white);
  margin-bottom: var(--space-4);
}

.cta-section p {
  color: rgba(255,255,255,0.85);
  font-size: var(--text-lg);
  margin: 0 auto var(--space-8);
  max-width: 50ch;
}

/* ── Stat blocks ──────────────────────────────────────────── */
.stat-block {
  text-align: center;
  padding: var(--space-6);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: var(--text-5xl);
  font-weight: 700;
  color: var(--orange);
  line-height: 1;
  margin-bottom: var(--space-2);
  display: block;
}

.stat-label {
  font-size: var(--text-sm);
  color: var(--mid-grey);
  font-weight: 500;
}

/* ── Quote / Testimonial ──────────────────────────────────── */
.quote-block {
  border-left: 4px solid var(--orange);
  padding: var(--space-4) var(--space-6);
  background: var(--off-white);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: var(--space-6) 0;
}

.quote-block blockquote {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-style: italic;
  color: rgba(220,220,255,0.9);
  margin-bottom: var(--space-3);
}

.quote-block cite {
  font-size: var(--text-sm);
  color: var(--mid-grey);
  font-style: normal;
}

/* ── Tag pills ────────────────────────────────────────────── */
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: var(--space-4);
}

.tag {
  display: inline-block;
  padding: 0.3rem 0.75rem;
  font-size: var(--text-xs);
  background: var(--dark-grey);
  color: rgba(180,180,220,0.85);
  border: 1px solid var(--light-grey);
  border-radius: var(--radius-full);
  font-weight: 500;
}

/* ── Content prose ────────────────────────────────────────── */
.prose h2 {
  margin-top: var(--space-10);
  margin-bottom: var(--space-4);
  font-size: var(--text-2xl);
}

.prose h3 {
  margin-top: var(--space-8);
  margin-bottom: var(--space-3);
  font-size: var(--text-xl);
}

.prose p {
  margin-bottom: var(--space-4);
  line-height: 1.8;
  max-width: none;
}

.prose ul, .prose ol {
  list-style: initial;
  padding-left: var(--space-6);
  margin-bottom: var(--space-4);
}

.prose li {
  margin-bottom: var(--space-2);
  color: var(--mid-grey);
  line-height: 1.7;
}

.prose a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ── Table ────────────────────────────────────────────────── */
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--text-sm);
}

.data-table th, .data-table td {
  padding: var(--space-3) var(--space-4);
  text-align: left;
  border-bottom: 1px solid var(--light-grey);
}

.data-table th {
  font-weight: 600;
  color: rgba(220,220,255,0.9);
  background: var(--dark-grey);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.data-table tr:hover td {
  background: var(--off-white);
}

/* ── Animate on scroll ────────────────────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }
.fade-in-delay-5 { transition-delay: 0.5s; }

/* ── Skip link (accessibility) ────────────────────────────── */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-4);
  background: var(--orange);
  color: var(--white);
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-md);
  font-weight: 600;
  z-index: 9999;
  transition: top var(--transition-fast);
}

.skip-link:focus {
  top: var(--space-4);
  color: var(--white);
}

/* ── Responsive breakpoints ───────────────────────────────── */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  :root { --nav-height: 64px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .section { padding: var(--space-12) 0; }
  .section-lg { padding: var(--space-20) 0; }
  .container, .container-wide { padding: 0 var(--space-4); }
  .page-hero { padding: var(--space-16) 0 var(--space-12); }
}

@media (max-width: 480px) {
  h1 { font-size: var(--text-3xl); }
  h2 { font-size: var(--text-2xl); }
  .btn-lg { padding: 0.875rem 2rem; font-size: var(--text-base); }
}
