@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,600&display=swap');

:root {
  --rgb-glass: 255, 255, 255;
  --rgb-bg: 8, 12, 22;
  --rgb-navy: 11, 19, 37;
  --bg-primary: #080c16;
  --bg-navy: #0b1325;
  --bg-darker: #05080e;
  --gold: #c69c55;
  --gold-light: #e8d099;
  --gold-glow: rgba(198, 156, 85, 0.15);
  --gold-hover: rgba(198, 156, 85, 0.08);
  --text-white: #ffffff;
  --text-silver: #e2e8f0;
  --text-muted: #a0aabf;

  --border-gold: rgba(198, 156, 85, 0.4);
  --border-gold-light: rgba(198, 156, 85, 0.6);
  --border-glass: rgba(var(--rgb-glass), 0.08);

  --bg-glass: rgba(var(--rgb-glass), 0.02);
  --bg-glass-hover: rgba(var(--rgb-glass), 0.05);

  --transition-smooth: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  --transition-fast: all 0.25s ease;
}

[data-theme="light"] {
  --rgb-navy: 248, 250, 252;
  --rgb-glass: 0, 0, 0;
  --rgb-bg: 255, 255, 255;
  --bg-primary: #ffffff;
  --bg-navy: #f8fafc;
  --bg-darker: #f1f5f9;
  --text-white: #0f172a;
  --text-silver: #334155;
  --text-muted: #64748b;
  --border-glass: rgba(0, 0, 0, 0.1);
  --bg-glass: rgba(0, 0, 0, 0.02);
  --bg-glass-hover: rgba(0, 0, 0, 0.05);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
  background: rgba(198, 156, 85, 0.3);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--gold);
}

/* Global utility classes */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  width: 100%;
}

.gold-text {
  color: var(--gold);
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-label {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
  display: block;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 300;
  line-height: 1.25;
  color: var(--text-white);
  margin-bottom: 1.5rem;
}

.section-title strong {
  font-weight: 700;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 800px;
  margin-bottom: 3.5rem;
  font-weight: 300;
}

/* Button systems */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 2rem;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  gap: 8px;
}

.btn-primary {
  background: var(--gold);
  color: var(--bg-darker);
  border: 1px solid var(--gold);
}

.btn-primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(198, 156, 85, 0.3);
}

.btn-secondary {
  background: transparent;
  color: var(--text-white);
  border: 1px solid rgba(var(--rgb-glass), 0.25);
}

.btn-secondary:hover {
  background: rgba(var(--rgb-glass), 0.05);
  border-color: var(--gold);
  transform: translateY(-2px);
}

.btn-text-link {
  display: inline-flex;
  align-items: center;
  color: var(--gold);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  gap: 6px;
  transition: var(--transition-fast);
  position: relative;
  padding-bottom: 4px;
}

.btn-text-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--gold);
  transition: var(--transition-fast);
}

.btn-text-link:hover {
  color: var(--gold-light);
}

.btn-text-link:hover::after {
  width: 100%;
}

.btn-text-link svg {
  width: 16px;
  height: 16px;
  transition: transform 0.3s ease;
}

.btn-text-link:hover svg {
  transform: translateX(4px);
}

/* Glassmorphism base rules */
.glass-panel {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 12px;
}

/* Parallax backgrounds global overlay config */
.parallax-section {
  position: relative;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

/* Navigation Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition-smooth);
  border-bottom: 1px solid transparent;
}

header.scrolled {
  background: rgba(var(--rgb-bg), 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-glass);
  padding: 0.75rem 0;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  transition: var(--transition-smooth);
}

header.scrolled .nav-container {
  padding: 0.75rem 2rem;
}

.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-white);
}

.logo-image {
  height: 75px;
  width: auto;
  object-fit: contain;
}

.logo-icon {
  width: 40px;
  height: 40px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 1.5;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1.1;
  color: var(--text-white);
}

.logo-tagline {
  font-size: 0.55rem;
  font-weight: 400;
  letter-spacing: 0.25em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 2.5rem;
}

.nav-link {
  color: var(--text-silver);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 400;
  transition: var(--transition-fast);
  position: relative;
  padding: 5px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--gold);
  transition: var(--transition-fast);
}

.nav-link:hover {
  color: var(--gold);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link.active {
  color: var(--gold);
}

.nav-link.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
}

.burger-menu {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.burger-line {
  display: block;
  width: 25px;
  height: 2px;
  margin: 5px auto;
  background-color: var(--text-white);
  transition: var(--transition-fast);
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 100px;
  background-image: linear-gradient(rgba(var(--rgb-bg), 0.4), rgba(var(--rgb-bg), 0.6)), url('https://static.wixstatic.com/media/7db73a_ac1249b713ef4ce8b90ff8ab55d524ad~mv2.jpg');
}

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

.hero-title {
  font-size: 4rem;
  font-weight: 300;
  line-height: 1.15;
  margin-bottom: 2rem;
  letter-spacing: -0.01em;
}

.hero-title strong {
  font-weight: 700;
}

.hero-subheadings {
  font-size: 1.05rem;
  color: var(--text-silver);
  font-weight: 300;
  margin-bottom: 3.5rem;
  display: flex;
  flex-wrap: nowrap;
  white-space: nowrap;
  gap: 12px 18px;
  align-items: center;
}

.hero-subheadings span {
  display: inline-flex;
  align-items: center;
}

.hero-subheadings span:not(:last-child)::after {
  content: '|';
  margin-left: 18px;
  color: rgba(198, 156, 85, 0.5);
}

.hero-actions {
  display: flex;
  gap: 1.5rem;
}

/* Combined Stats & Info Section */
.stats-info-section {
  padding: 4rem 0 6rem 0;
  background: linear-gradient(rgba(var(--rgb-bg), 0.94), rgba(var(--rgb-bg), 0.96)), url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=2000&q=80');
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
  margin-top: -80px;
  position: relative;
  z-index: 10;
}

.stats-wrapper {
  width: 100%;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border: 1px solid var(--border-gold);
  border-left: 2px solid var(--gold);
  border-right: 2px solid var(--gold);
  background: linear-gradient(180deg, rgba(var(--rgb-glass), 0.02) 0%, rgba(var(--rgb-glass), 0) 100%);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.stat-card {
  padding: 4rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border-right: 1px solid var(--border-gold);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  cursor: default;
}

.stat-card:last-child {
  border-right: none;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 150%;
  height: 150%;
  background: radial-gradient(circle at center, var(--gold-hover) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.6s ease;
  pointer-events: none;
}

.stat-card:hover {
  background: rgba(var(--rgb-glass), 0.015);
}

.stat-card:hover::before {
  opacity: 1;
}

.stat-icon {
  color: var(--gold);
  margin-bottom: 1.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.stat-card:hover .stat-icon {
  transform: translateY(-5px) scale(1.08);
}

.stat-icon svg {
  width: 40px;
  height: 40px;
  stroke-width: 1.2;
}

.stat-value {
  font-size: 3.2rem;
  font-weight: 500;
  color: var(--gold);
  margin-bottom: 1rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--text-silver);
  line-height: 1.5;
  max-width: 200px;
  opacity: 0.9;
}

.info-content {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  margin-top: 5rem;
}

.info-text-main {
  font-size: 1.15rem;
  font-weight: 400;
  line-height: 1.7;
  color: var(--text-white);
  max-width: 950px;
  letter-spacing: 0.01em;
}

.info-text-sub {
  font-size: 0.85rem;
  font-weight: 600;
  font-style: italic;
  color: var(--gold);
  max-width: 800px;
  line-height: 1.5;
}

/* People First Section */
.people-first-section {
  padding: 8rem 0;
  background-color: var(--bg-navy);
}

.people-first-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 5rem;
}

.people-first-image-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
}

.stadium-image {
  width: 85%;
  height: 520px;
  object-fit: cover;
  border-radius: 260px;
  /* Stadium/pill shape */
  border: 1px solid var(--border-gold);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4), 0 0 40px rgba(198, 156, 85, 0.1);
}

.people-first-details {
  display: flex;
  flex-direction: column;
}

.people-first-desc {
  font-size: 1.1rem;
  font-weight: 300;
  color: var(--text-silver);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.people-first-desc-sub {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 3rem;
  font-weight: 300;
  line-height: 1.6;
}

.pill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pill-tag {
  border: 1px solid rgba(var(--rgb-glass), 0.15);
  background: rgba(var(--rgb-glass), 0.02);
  color: var(--text-silver);
  padding: 0.5rem 1.25rem;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 400;
  cursor: default;
  user-select: none;
  pointer-events: none;
  transition: var(--transition-fast);
}

.pill-tag:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: var(--gold-hover);
}

/* Problems We Solve Section */
.problems-section {
  padding: 8rem 0;
  background-image: linear-gradient(rgba(var(--rgb-bg), 0.9), rgba(var(--rgb-bg), 0.94)), url('media/problems_we_solve.png');
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
}

.problems-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.problem-card {
  padding: 3rem 2.5rem;
  transition: var(--transition-smooth);
}

.problem-card:hover {
  transform: translateY(-8px);
  background: var(--bg-glass-hover);
  border-color: rgba(198, 156, 85, 0.3);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(198, 156, 85, 0.1);
}

.problem-card-value {
  font-size: 2rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 0.75rem;
  line-height: 1.2;
}

.problem-card-title {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-white);
  margin-bottom: 1.25rem;
}

.problem-card-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  font-weight: 300;
}

/* Four Ways Section */
.four-ways-section {
  padding: 8rem 0;
  background: linear-gradient(rgba(var(--rgb-bg), 0.9), rgba(var(--rgb-bg), 0.94)), url('media/pexels-clickerhappy-227690.jpg');
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
}

.four-ways-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
}

.way-card {
  padding: 3rem 2rem;
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.way-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gold);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.way-card:hover {
  transform: translateY(-10px);
  background: var(--bg-glass-hover);
  border-color: rgba(198, 156, 85, 0.4);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 25px rgba(198, 156, 85, 0.15);
}

.way-card:hover::before {
  opacity: 1;
}

.way-number {
  font-size: 3.5rem;
  font-weight: 700;
  color: transparent;
  -webkit-text-stroke: 1px rgba(198, 156, 85, 0.5);
  margin-bottom: 1.5rem;
  display: inline-block;
  transition: var(--transition-smooth);
  line-height: 1;
}

.way-card:hover .way-number {
  color: var(--gold);
  -webkit-text-stroke: 0px;
}

.way-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 1rem;
  line-height: 1.4;
  height: 52px;
  /* Equalizes text height */
}

.way-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  font-weight: 300;
}

.way-output {
  font-size: 0.85rem;
  color: var(--text-silver);
  margin-bottom: 2.5rem;
  line-height: 1.5;
  border-left: 2px solid var(--gold);
  padding-left: 12px;
  margin-top: auto;
}

.way-output strong {
  color: var(--gold);
  display: block;
  font-weight: 500;
  margin-bottom: 4px;
}

.way-btn {
  border: 1px solid var(--border-gold);
  padding: 0.8rem 1.25rem;
  font-size: 0.85rem;
  border-radius: 8px;
  background: transparent;
  color: var(--text-white);
  transition: var(--transition-fast);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
}

.way-btn:hover {
  background: var(--gold);
  color: var(--bg-darker);
  border-color: var(--gold);
}

.way-btn svg {
  width: 16px;
  height: 16px;
  transition: transform 0.3s ease;
}

.way-btn:hover svg {
  transform: translateX(4px);
}

/* Platform Section & Phone Mockup */
.platform-section {
  padding: 5rem 0;
  background-color: var(--bg-navy);
}

.platform-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 3.5rem;
  align-items: center;
}

/* Comparison Card */
.comparison-card {
  background: linear-gradient(145deg, rgba(var(--rgb-glass), 0.03) 0%, rgba(var(--rgb-glass), 0.01) 100%);
  border: 1px solid rgba(var(--rgb-glass), 0.06);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(var(--rgb-glass), 0.1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: var(--transition-smooth);
}

.comparison-card-header {
  margin-bottom: 1.75rem;
}

.comparison-card-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-white);
  letter-spacing: -0.01em;
}

.comparison-card-sub {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 300;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
}

.comparison-table th {
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.8rem;
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid rgba(var(--rgb-glass), 0.1);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.comparison-table th.highlight-col {
  color: var(--gold);
  font-weight: 700;
  position: relative;
}

.comparison-table th.highlight-col::after {
  content: 'RECOMMENDED';
  position: absolute;
  top: -10px;
  left: 1rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: #05080e;
  padding: 2px 8px;
  border-radius: 4px;
  box-shadow: 0 4px 10px rgba(198, 156, 85, 0.3);
}

.comparison-table td {
  padding: 0.95rem 1rem;
  font-size: 0.95rem;
  color: var(--text-silver);
  border-bottom: 1px solid rgba(var(--rgb-glass), 0.05);
  transition: var(--transition-smooth);
  vertical-align: middle;
}

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

.comparison-table tr td:first-child {
  font-weight: 500;
  color: var(--text-white);
  width: 20%;
}

.comparison-table tr td:nth-child(2) {
  color: var(--text-muted);
  font-weight: 300;
  width: 38%;
}

.comparison-table td.highlight-col {
  color: var(--text-white);
  background-color: rgba(198, 156, 85, 0.015);
  border-left: 1px solid rgba(198, 156, 85, 0.08);
  border-right: 1px solid rgba(198, 156, 85, 0.08);
  font-weight: 400;
  width: 42%;
  padding-left: 1.5rem;
}

.comparison-table tr:hover td {
  background-color: rgba(var(--rgb-glass), 0.015);
}

.comparison-table tr:hover td.highlight-col {
  background-color: rgba(198, 156, 85, 0.035);
}

.check-icon {
  width: 18px;
  height: 18px;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
  margin-right: 10px;
  filter: drop-shadow(0 0 4px rgba(198, 156, 85, 0.4));
  flex-shrink: 0;
}

.dash-icon {
  display: inline-block;
  width: 6px;
  height: 6px;
  background-color: rgba(var(--rgb-glass), 0.2);
  border-radius: 50%;
  margin-right: 10px;
  vertical-align: middle;
}

/* Image Phone Mockup */
.mockup-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  gap: 2rem;
  width: 100%;
}

.phone-showcase {
  width: 100%;
  max-width: 420px;
  position: relative;
  transition: var(--transition-smooth);
}

.phone-image {
  width: 100%;
  height: auto;
  display: none;
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.7));
}

.phone-image.active {
  display: block;
  animation: phoneFadeIn 0.5s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}

.mockup-controls {
  display: flex;
  gap: 0.75rem;
  background: rgba(var(--rgb-glass), 0.03);
  padding: 6px;
  border-radius: 30px;
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.mockup-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  padding: 0.6rem 2rem;
  border-radius: 20px;
  cursor: pointer;
  font-weight: 500;
  transition: var(--transition-smooth);
}

.mockup-btn:hover {
  color: var(--text-white);
}

.mockup-btn.active {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: #05080e;
  box-shadow: 0 4px 15px rgba(198, 156, 85, 0.3);
}

@keyframes phoneFadeIn {
  from {
    opacity: 0;
    transform: translateY(15px) scale(0.97);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Certifications Section */
.certs-section {
  padding: 5rem 0;
  background-color: var(--bg-primary);
  border-bottom: 1px solid var(--border-glass);
}

.certs-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.certs-slider-container {
  width: 100%;
  max-width: 900px;
  overflow: hidden;
  margin: 2.5rem 0 3.5rem 0;
  position: relative;
}

.certs-track {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  width: 100%;
  flex-wrap: wrap;
}

.cert-card {
  background: #ffffff;
  border: 1px solid rgba(var(--rgb-glass), 0.1);
  border-radius: 12px;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 210px;
  height: 105px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  transition: var(--transition-smooth);
}

.cert-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 30px rgba(198, 156, 85, 0.25);
  border: 1px solid var(--gold);
}

.cert-logo {
  height: 80px;
  width: 100%;
  object-fit: contain;
  filter: grayscale(1) contrast(1.4) brightness(1.1);
  mix-blend-mode: multiply;
  opacity: 0.75;
  transition: var(--transition-smooth);
}

.cert-card:hover .cert-logo {
  filter: contrast(1.3) brightness(1.1);
  opacity: 1;
}

/* Tailored Solutions Tabs Section */
.solutions-section {
  padding: 8rem 0;
  background: linear-gradient(rgba(var(--rgb-bg), 0.95), rgba(var(--rgb-bg), 0.97)), url('media/fritsdejong-tu-delft-1723434_1920.jpg');
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
}

.solutions-tabs-header {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 4rem;
  border-bottom: 1px solid var(--border-glass);
  padding-bottom: 1px;
}

.tab-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-family: 'Poppins', sans-serif;
  font-size: 1.1rem;
  font-weight: 500;
  padding: 1rem 2.5rem;
  cursor: pointer;
  transition: var(--transition-smooth);
  position: relative;
}

.tab-btn::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--gold);
  transition: var(--transition-smooth);
}

.tab-btn:hover {
  color: var(--text-white);
}

.tab-btn.active {
  color: var(--gold);
}

.tab-btn.active::after {
  width: 100%;
}

.tab-content {
  display: none;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 5rem;
  align-items: center;
}

.tab-content.active {
  display: grid;
  animation: fadeIn 0.6s ease forwards;
}

.tab-text-panel {
  display: flex;
  flex-direction: column;
}

.tab-title {
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 1.5rem;
}

.tab-desc {
  font-size: 1.05rem;
  color: var(--text-silver);
  line-height: 1.7;
  margin-bottom: 2.5rem;
  font-weight: 300;
}

.tab-image-wrapper {
  display: flex;
  justify-content: center;
}

.tab-stadium-image {
  width: 100%;
  max-width: 450px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid var(--border-gold);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
  transition: var(--transition-smooth);
}

/* Value Logic Section */
.value-logic-section {
  padding: 8rem 0;
  background-image: linear-gradient(rgba(var(--rgb-bg), 0.92), rgba(var(--rgb-bg), 0.96)), url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?auto=format&fit=crop&w=2000&q=80');
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
}

.value-logic-box {
  padding: 4rem 3rem;
  margin-top: 1rem;
}

.value-logic-flow {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
  gap: 1.5rem;
  position: relative;
}

.value-logic-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 2;
}

.value-logic-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 40px;
  left: calc(50% + 40px);
  width: calc(100% - 80px);
  height: 2px;
  background: linear-gradient(90deg, var(--gold) 0%, rgba(var(--rgb-glass), 0.1) 100%);
  z-index: -1;
}

.value-step-num {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.value-step-icon {
  width: 80px;
  height: 80px;
  background: rgba(198, 156, 85, 0.06);
  border: 1px solid var(--border-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--gold);
  box-shadow: 0 0 15px rgba(198, 156, 85, 0.1);
  transition: var(--transition-smooth);
}

.value-logic-step:hover .value-step-icon {
  transform: scale(1.1);
  background: rgba(198, 156, 85, 0.12);
  box-shadow: 0 0 25px rgba(198, 156, 85, 0.25);
}

.value-step-icon svg {
  width: 34px;
  height: 34px;
  stroke-width: 1.5;
}

.value-step-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--text-white);
  letter-spacing: 0.05em;
}

.value-step-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
  font-weight: 300;
}

/* Call to Action Section */
.cta-section {
  padding: 8rem 0;
  background: linear-gradient(135deg, rgba(9, 11, 22, 0.95) 0%, rgba(5, 8, 14, 0.98) 100%), url('https://images.unsplash.com/photo-1542362567-b07eac790acd?auto=format&fit=crop&w=2000&q=80');
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
  color: #ffffff !important;
}

.cta-header {
  text-align: center;
  margin-bottom: 4rem;
}

.cta-header .section-label {
  color: var(--gold) !important;
}

.cta-header .section-title {
  color: #ffffff !important;
}

.cta-boxes-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
  margin-bottom: 4rem;
  text-align: left;
}

.cta-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: var(--transition-smooth);
}

.cta-box:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(198, 156, 85, 0.4);
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.cta-box-icon {
  width: 44px;
  height: 44px;
  background: rgba(198, 156, 85, 0.12);
  color: var(--gold);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: var(--transition-fast);
}

.cta-box:hover .cta-box-icon {
  background: var(--gold);
  color: #05080e;
}

.cta-box-icon svg {
  width: 22px;
  height: 22px;
}

.cta-box-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: #ffffff !important;
  line-height: 1.4;
}

.cta-box-desc {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.65) !important;
  line-height: 1.5;
  margin-bottom: 1.75rem;
  font-weight: 300;
  flex-grow: 1;
}

.cta-box-link {
  color: var(--gold) !important;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  transition: var(--transition-fast);
}

.cta-box-link:hover {
  color: var(--gold-light) !important;
  text-decoration: underline;
}

.cta-footer {
  text-align: center;
  display: flex;
  justify-content: center;
}

.cta-large-btn {
  padding: 1.25rem 3.5rem !important;
  font-size: 1.1rem !important;
  font-weight: 600 !important;
  border-radius: 8px !important;
  box-shadow: 0 8px 25px rgba(198, 156, 85, 0.2);
  transition: var(--transition-smooth);
}

.cta-large-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(198, 156, 85, 0.35);
}

/* Light mode support for CTA redesign - clean light styling */
[data-theme="light"] .cta-section {
  background: var(--bg-navy) !important;
  color: var(--text-white) !important;
  border-top: 1px solid var(--border-glass);
  border-bottom: 1px solid var(--border-glass);
}

[data-theme="light"] .cta-section .section-label {
  color: var(--gold) !important;
}

[data-theme="light"] .cta-section .section-title {
  color: var(--text-white) !important;
}

[data-theme="light"] .cta-box {
  background: #ffffff !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04) !important;
}

[data-theme="light"] .cta-box:hover {
  background: #ffffff !important;
  border-color: rgba(198, 156, 85, 0.4) !important;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08) !important;
}

[data-theme="light"] .cta-box-title {
  color: var(--text-white) !important;
}

[data-theme="light"] .cta-box-desc {
  color: var(--text-muted) !important;
}

/* Responsive CTA redesign query overrides */
@media (max-width: 1200px) {
  .cta-boxes-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .cta-boxes-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cta-section {
    padding: 6rem 0;
  }
}

@media (max-width: 576px) {
  .cta-boxes-grid {
    grid-template-columns: 1fr;
  }
}

/* Footer Section */
footer {
  background-color: var(--bg-darker);
  border-top: 1px solid var(--border-glass);
  padding: 3rem 0 1.5rem 0;
  font-family: 'Poppins', sans-serif;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1.5fr;
  gap: 4rem;
  margin-bottom: 3rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
}

.footer-logo {
  margin-bottom: 1.5rem;
}

.footer-brand-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
  font-weight: 300;
  max-width: 250px;
}

.footer-col-title {
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.75rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer-link {
  color: var(--text-silver);
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition-fast);
}

.footer-link:hover {
  color: var(--gold);
  padding-left: 4px;
}

.footer-contact-info {
  display: flex;
  flex-direction: row;
  gap: 2rem;
  font-size: 0.9rem;
  color: var(--text-silver);
}

.footer-contact-item {
  display: flex;
  flex-direction: column;
}

.footer-contact-item span {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 2px;
}

.footer-contact-item a {
  color: var(--text-silver);
  text-decoration: none;
  transition: var(--transition-fast);
}

.footer-contact-item a:hover {
  color: var(--gold);
}

/* Subscribe widget */
.subscribe-desc {
  font-size: 0.85rem;
  color: var(--text-silver);
  margin-bottom: 1.25rem;
  line-weight: 1.5;
}

.subscribe-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

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

.form-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.form-input {
  background: rgba(var(--rgb-glass), 0.03);
  border: 1px solid rgba(var(--rgb-glass), 0.15);
  border-radius: 6px;
  padding: 0.75rem 1rem;
  color: var(--text-white);
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  transition: var(--transition-fast);
}

.form-input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 10px rgba(198, 156, 85, 0.15);
}

.form-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.75rem;
  color: var(--text-muted);
  cursor: pointer;
  line-height: 1.4;
}

.form-checkbox-label input {
  margin-top: 2px;
}

.btn-subscribe {
  background: var(--bg-navy);
  color: var(--text-white);
  border: 1px solid rgba(var(--rgb-glass), 0.15);
  padding: 0.75rem;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition-fast);
}

.btn-subscribe:hover {
  background: var(--gold);
  color: var(--bg-darker);
  border-color: var(--gold);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(var(--rgb-glass), 0.06);
  padding-top: 2.5rem;
}

.footer-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-copyright {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-meta-links {
  display: flex;
  gap: 15px;
}

.footer-meta-links a {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition-fast);
}

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

.social-links {
  display: flex;
  gap: 1.25rem;
}

.social-link {
  color: var(--text-muted);
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
}

.social-link:hover {
  color: var(--gold);
  transform: translateY(-2px);
}

.social-link svg {
  width: 20px;
  height: 20px;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(15px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal-element {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

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

/* Responsive Media Queries */
@media (max-width: 1400px) {
  .hero-title {
    font-size: 3.5rem;
  }

  .four-ways-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1200px) {
  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
    border-bottom: none;
  }

  .stat-card {
    border-bottom: 1px solid var(--border-gold);
  }

  .stat-card:nth-child(3) {
    border-right: none;
  }

  .stat-card:nth-child(4) {
    border-bottom: none;
  }

  .stat-card:nth-child(5) {
    border-right: none;
    border-bottom: none;
  }

  .people-first-grid,
  .platform-grid,
  .tab-content {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  .stadium-image {
    width: 100%;
    max-width: 500px;
    height: 450px;
  }

  .tab-stadium-image {
    width: 100%;
    max-width: 450px;
    aspect-ratio: 1 / 1;
    height: auto;
  }

  .problems-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }

  .value-logic-flow {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .value-logic-step:not(:last-child)::after {
    display: none;
  }
}

@media (max-width: 991px) {
  .hero-title {
    font-size: 3rem;
  }

  .hero-subheadings {
    font-size: 0.95rem;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: var(--bg-darker);
    border-left: 1px solid var(--border-glass);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
    transition: 0.5s ease-in-out;
    z-index: 999;
  }

  .nav-menu.open {
    right: 0;
  }

  .burger-menu {
    display: block;
  }

  .nav-actions {
    display: none;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 1.5rem;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subheadings {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .hero-subheadings span:not(:last-child)::after {
    display: none;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-card:nth-child(2n) {
    border-right: none;
  }

  .stat-card:nth-child(3) {
    border-bottom: 1px solid var(--border-gold);
    border-right: 1px solid var(--border-gold);
  }

  .stat-card:nth-child(4) {
    border-bottom: none;
    border-right: none;
  }

  .stat-card:nth-child(5) {
    grid-column: span 2;
    border-top: 1px solid var(--border-gold);
  }

  .section-title {
    font-size: 2rem;
  }

  .problems-grid {
    grid-template-columns: 1fr;
  }

  .four-ways-grid {
    grid-template-columns: 1fr;
  }

  .way-card {
    padding: 2.5rem 1.5rem;
  }

  .way-title {
    height: auto;
  }

  .solutions-tabs-header {
    flex-direction: column;
    gap: 0;
  }

  .tab-btn {
    padding: 0.75rem 1rem;
    font-size: 1rem;
    text-align: center;
  }

  .tab-btn::after {
    bottom: 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-brand-desc {
    max-width: 100%;
  }
}

@media (max-width: 500px) {
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .btn {
    width: 100%;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .stat-card {
    border-right: none !important;
    border-bottom: 1px solid var(--border-gold) !important;
  }

  .stat-card:last-child {
    border-bottom: none !important;
  }

  .stat-card:nth-child(5) {
    grid-column: auto;
    border-top: none;
  }

  .stadium-image {
    height: 350px;
  }

  .tab-stadium-image {
    height: auto;
  }

  .phone-showcase {
    max-width: 290px;
  }

  .certs-track {
    gap: 1.5rem;
  }

  .cert-card {
    width: 100%;
    max-width: 260px;
  }

  .footer-bottom {
    flex-direction: column-reverse;
    gap: 20px;
    align-items: center;
    text-align: center;
  }

  .footer-meta-links {
    justify-content: center;
  }
}

/* Section 3: People-First Design Split Screen Option 3 Styling */
.split-container {
  display: flex;
  width: 100%;
}

.split-image-panel {
  flex: 1.1;
  position: relative;
  background: url('media/Human%20Centric.png') left center/cover no-repeat;
}

.split-image-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(var(--rgb-navy), 0) 60%, rgba(var(--rgb-navy), 1) 100%);
}

.split-text-panel {
  flex: 0.9;
  background-color: var(--bg-navy);
  display: flex;
  align-items: center;
  padding: 6rem 5rem;
}

.content-box {
  max-width: 600px;
}

.feature-list {
  list-style: none;
  margin-bottom: 3rem;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--text-silver);
  font-weight: 300;
}

.feature-check {
  color: var(--gold);
  font-weight: bold;
  font-size: 1.1rem;
  line-height: 1;
  margin-top: 2px;
}

@media (max-width: 1200px) {
  .split-text-panel {
    padding: 5rem 3rem;
  }
}

@media (max-width: 991px) {
  .split-container {
    flex-direction: column;
  }

  .split-image-panel {
    height: 400px;
    flex: none;
  }

  .split-image-panel::before {
    background: linear-gradient(0deg, rgba(var(--rgb-navy), 1) 0%, rgba(var(--rgb-navy), 0) 100%);
  }

  .split-text-panel {
    flex: none;
    padding: 4rem 2rem;
  }
}

/* Contact Modal Styles */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(var(--rgb-bg), 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  background: rgba(18, 25, 43, 0.95);
  border: 1px solid var(--border-glass);
  border-radius: 12px;
  padding: 3rem;
  max-width: 500px;
  width: 90%;
  position: relative;
  transform: translateY(20px);
  transition: transform 0.3s ease;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

.modal-overlay.active .modal-content {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: var(--text-silver);
  font-size: 2rem;
  cursor: pointer;
  transition: color 0.2s ease;
  line-height: 1;
}

.modal-close:hover {
  color: var(--gold);
}

/* Theme Toggle Button Styles */
/* =================================================
   LIGHT MODE OVERRIDES
   All sections with background images keep dark overlays.
   Text on those sections stays white.
   ================================================= */

/* --- Hero Section: always dark overlay, white text --- */
[data-theme="light"] .hero-section {
  background-image: linear-gradient(rgba(8, 12, 22, 0.55), rgba(8, 12, 22, 0.70)),
    url('https://static.wixstatic.com/media/7db73a_ac1249b713ef4ce8b90ff8ab55d524ad~mv2.jpg');
}

[data-theme="light"] .hero-content h1,
[data-theme="light"] .hero-content .hero-title,
[data-theme="light"] .hero-content p,
[data-theme="light"] .hero-content span,
[data-theme="light"] .hero-subheadings,
[data-theme="light"] .hero-subheadings span,
[data-theme="light"] .section-label:first-of-type {
  color: #ffffff !important;
}

/* Ensure the Contact Us button remains visible in the hero section */
[data-theme="light"] .hero-actions .btn-secondary {
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.4) !important;
}

[data-theme="light"] .hero-actions .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1) !important;
  border-color: var(--gold) !important;
}

/* --- Header: white nav links when floating over hero image (not scrolled) --- */
[data-theme="light"] header:not(.scrolled) .nav-link,
[data-theme="light"] header:not(.scrolled) .logo-title,
[data-theme="light"] header:not(.scrolled) .logo-tagline {
  color: rgba(255, 255, 255, 0.95);
}

[data-theme="light"] header:not(.scrolled) .nav-link:hover,
[data-theme="light"] header:not(.scrolled) .nav-link.active {
  color: var(--gold);
}

[data-theme="light"] header:not(.scrolled) .logo-icon {
  stroke: var(--gold);
}

[data-theme="light"] header:not(.scrolled) .theme-toggle-btn {
  color: rgba(255, 255, 255, 0.9);
  border-color: rgba(255, 255, 255, 0.3);
}

[data-theme="light"] header:not(.scrolled) .theme-toggle-btn:hover {
  color: var(--gold);
  border-color: var(--gold);
  background: rgba(255, 255, 255, 0.1);
}

/* --- Stats section: darker overlay so stats are readable --- */
[data-theme="light"] .stats-info-section {
  background: linear-gradient(rgba(240, 244, 252, 0.92), rgba(240, 244, 252, 0.95)),
    url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=2000&q=80');
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
}

/* --- Problems section: cleaner light overlay --- */
[data-theme="light"] .problems-section {
  background-image:
    linear-gradient(to top,
      rgba(10, 20, 40, 0.684) 0%,
      rgba(19, 9, 9, 0.25) 45%,
      rgba(1, 1, 2, 0.92) 100%),
    url('media/problems_we_solve.png');
  background-attachment: fixed;
  background-position: center;
  background-size: auto;
}

/* Problem cards: proper light-mode cards */
[data-theme="light"] .problem-card {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .problem-card:hover {
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1), 0 0 0 rgba(198, 156, 85, 0);
}

[data-theme="light"] .problem-card-title {
  color: #0f172a;
}

[data-theme="light"] .problem-card-desc {
  color: #475569;
}

/* --- Four Ways section: cleaner light overlay --- */
[data-theme="light"] .four-ways-section {
  background: linear-gradient(rgba(0, 0, 0, 0.72), rgba(1, 7, 19, 0.82)),
    url('media/bgdarken.png');
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
}

[data-theme="light"] .solutions-section {
  background: linear-gradient(rgba(0, 0, 0, 0.72), rgba(1, 7, 19, 0.82)),
    url('media/fritsdejong-tu-delft-1723434_1920.jpg');
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
}

[data-theme="light"] .solutions-section .section-title,
[data-theme="light"] .solutions-section .tab-btn:not(.active),
[data-theme="light"] .solutions-section .tab-title,
[data-theme="light"] .solutions-section .tab-desc {
  color: #ffffff !important;
}

[data-theme="light"] .solutions-section .tab-btn:not(.active):hover {
  color: rgba(255, 255, 255, 0.8) !important;
}

[data-theme="light"] .solutions-tabs-header {
  border-color: rgba(255, 255, 255, 0.1) !important;
}

/* Way cards: proper light-mode cards */
[data-theme="light"] .way-card {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

/* --- Footer: proper light-mode background (no more dark strip) --- */
[data-theme="light"] footer {
  background-color: #e8edf5;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .footer-logo-img {
  filter: brightness(0);
}

[data-theme="light"] .footer-bottom {
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  background-color: #dce3ef;
}

/* --- Cert cards in light mode: white background with shadow --- */
[data-theme="light"] .cert-card {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.07);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

/* --- Comparison / feature cards --- */
[data-theme="light"] .comparison-card {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.07);
}

/* --- Pill tags readable in light mode --- */
[data-theme="light"] .pill-tag {
  border-color: rgba(0, 0, 0, 0.15);
  background: rgba(0, 0, 0, 0.04);
  color: #334155;
}

/* --- Form inputs: proper light styling --- */
[data-theme="light"] .form-input {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(0, 0, 0, 0.15);
  color: #0f172a;
}

[data-theme="light"] .form-input::placeholder {
  color: #94a3b8;
}

[data-theme="light"] .form-input:focus {
  border-color: var(--gold);
  background: #ffffff;
}

/* --- Logo swap for light mode sticky header --- */
[data-theme="light"] header.scrolled .logo-image {
  content: url('media/Logo_kicsi.png');
}


.nav-actions {
  display: flex;
  align-items: center;
  margin-left: 20px;
}

.theme-toggle-btn {
  background: transparent;
  border: 1px solid var(--border-glass);
  color: var(--text-white);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
}

.theme-toggle-btn:hover {
  background: var(--bg-glass-hover);
  color: var(--gold);
  border-color: var(--gold);
}

.theme-toggle-btn svg {
  width: 20px;
  height: 20px;
}

/* Hide moon by default (since default is dark mode) */
.theme-toggle-btn .moon-icon {
  display: none;
}

/* In light mode, show moon, hide sun */
[data-theme="light"] .theme-toggle-btn .sun-icon {
  display: none;
}

[data-theme="light"] .theme-toggle-btn .moon-icon {
  display: block;
}

/* --- Value Logic Section --- */
.value-logic-section {
  padding: 8rem 0;
  background-color: var(--bg-navy);
  border-bottom: 1px solid var(--border-glass);
}

.logic-table-container {
  width: 100%;
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 16px;
  overflow: hidden;
  margin-top: 2.5rem;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.logic-table-header {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--border-glass);
  padding: 1.5rem 2.5rem;
}

.logic-header-col {
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
}

.logic-table-body {
  display: flex;
  flex-direction: column;
}

.logic-table-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  padding: 2rem 2.5rem;
  border-bottom: 1px solid var(--border-glass);
  transition: var(--transition-smooth);
  align-items: center;
}

.logic-table-row:last-child {
  border-bottom: none;
}

.logic-table-row:hover {
  background: rgba(255, 255, 255, 0.015);
}

.logic-col {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding-right: 2rem;
}

.logic-col:last-child {
  padding-right: 0;
}

.col-icon {
  flex-shrink: 0;
  margin-top: 5px;
  width: 20px;
  height: 20px;
  stroke-width: 1.8;
}

.col-problem {
  color: var(--text-muted);
  font-style: italic;
  font-weight: 300;
}

.col-problem .col-icon {
  color: var(--text-muted);
  opacity: 0.65;
}

.col-solution {
  color: var(--text-white);
  font-weight: 600;
}

.col-solution .col-icon {
  color: var(--gold);
}

.col-benefit {
  color: var(--gold-light);
  font-weight: 500;
}

.col-benefit .col-icon {
  color: var(--gold-light);
}

.mobile-label {
  display: none;
}

/* Light mode overrides for Value Logic */
[data-theme="light"] .logic-table-container {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05), inset 0 1px 0 rgba(255, 255, 255, 1);
}

[data-theme="light"] .logic-table-header {
  background: rgba(0, 0, 0, 0.02);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .logic-table-row {
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .logic-table-row:last-child {
  border-bottom: none;
}

[data-theme="light"] .logic-table-row:hover {
  background: rgba(0, 0, 0, 0.015);
}

[data-theme="light"] .col-benefit {
  color: #b0843a;
  /* Darker gold for better contrast on white background */
}

[data-theme="light"] .col-benefit .col-icon {
  color: #b0843a;
}

/* Responsive queries */
@media (max-width: 992px) {
  .logic-table-header {
    display: none;
  }

  .logic-table-row {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 2.5rem 2rem;
  }

  .logic-col {
    padding-right: 0;
    flex-direction: column;
    gap: 0.5rem;
  }

  .col-icon {
    display: none;
  }

  .mobile-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.25rem;
  }

  .col-problem .mobile-label {
    color: var(--text-muted);
    opacity: 0.8;
  }

  .col-solution .mobile-label {
    color: var(--text-white);
    opacity: 0.8;
  }

  .col-benefit .mobile-label {
    color: var(--gold);
    opacity: 0.8;
  }

  [data-theme="light"] .col-benefit .mobile-label {
    color: #b0843a;
  }
}

/* ==========================================================================
   Image-Based Preloader
   ========================================================================== */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: var(--bg-primary);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 999999;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.6s cubic-bezier(0.77, 0, 0.175, 1), visibility 0.6s;
}

.preloader.fade-out {
  opacity: 0;
  visibility: hidden;
}

.preloader-close-btn {
  position: absolute;
  top: 2rem;
  right: 2.5rem;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 2.5rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0.5s ease, color var(--transition-fast);
  z-index: 10;
  padding: 0.5rem;
  line-height: 1;
}

.preloader-close-btn.show {
  opacity: 1;
  visibility: visible;
}

.preloader-close-btn:hover {
  color: var(--gold);
}

.preloader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
  position: relative;
}

.preloader-logo-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 160px;
  height: 160px;
}

.preloader-logo {
  max-width: 110px;
  max-height: 110px;
  object-fit: contain;
  z-index: 2;
  animation: preloaderPulse 2.5s infinite ease-in-out;
  transition: filter var(--transition-smooth);
}

/* Elegant spinning ring surrounding the logo */
.preloader-spinner {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 2px solid rgba(198, 156, 85, 0.04);
  border-top: 2px solid var(--gold);
  border-right: 2px solid var(--gold);
  border-radius: 50%;
  animation: preloaderSpin 1.2s infinite cubic-bezier(0.5, 0.1, 0.5, 0.9);
  z-index: 1;
}

/* Subtle sleek loading bar */
.preloader-progress-bar {
  width: 140px;
  height: 2px;
  background-color: rgba(var(--rgb-glass), 0.1);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}

.preloader-progress {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--gold-light) 0%, var(--gold) 100%);
  animation: loadProgressAnimation 2s cubic-bezier(0.1, 0.8, 0.1, 1) forwards;
  box-shadow: 0 0 8px rgba(198, 156, 85, 0.5);
}

/* Light mode support */
[data-theme="light"] .preloader-logo {
  filter: brightness(0);
}

body.preloader-active {
  overflow: hidden !important;
  height: 100vh !important;
}

/* Animations */
@keyframes preloaderPulse {
  0%, 100% {
    transform: scale(0.96);
    opacity: 0.85;
  }
  50% {
    transform: scale(1.04);
    opacity: 1;
  }
}

@keyframes preloaderSpin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes loadProgressAnimation {
  0% {
    width: 0;
  }
  20% {
    width: 25%;
  }
  45% {
    width: 55%;
  }
  75% {
    width: 88%;
  }
  100% {
    width: 100%;
  }
}

/* ==========================================================================
   Additional Mobile Responsiveness Refinements
   ========================================================================== */
@media (max-width: 576px) {
  .preloader-close-btn {
    top: 1rem;
    right: 1rem;
    font-size: 2rem;
  }
  
  .modal-content {
    padding: 1.5rem;
    width: 95%;
  }
  
  .footer-contact-info {
    flex-direction: column;
    gap: 1rem;
  }
  
  .section-title {
    font-size: 1.75rem;
  }
  
  .way-card, .problem-card {
    padding: 2rem 1.25rem;
  }
  
  .value-logic-section {
    padding: 4rem 0;
  }
}