/* ========================================
   INNOTICX — Global Design Tokens & Reset
   ======================================== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
  --bg: #FAFAFA;
  --bg-card: #FFFFFF;
  --bg-card-alt: #F4F4F5;
  --bg-elevated: #FFFFFF;
  --accent: #2020FF;
  --accent-light: #4D4DFF;
  --accent-glow: rgba(32,32,255,0.2);
  --accent-dim: rgba(32,32,255,0.08);
  --text: #111111;
  --text-secondary: #555555;
  --text-dim: #888888;
  --border: rgba(0,0,0,0.08);
  --border-hover: rgba(32,32,255,0.4);
  --radius-card: 16px;
  --radius-btn: 50px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --max-w: 1200px;
  --nav-h: 72px;

  --nav-scrolled-bg: rgba(255,255,255,0.85);
  --nav-hamburger-bg: #111;
  --mobile-menu-bg: rgba(250,250,250,0.97);
  --nav-link-hover: #111;
  --footer-hover: #111;

  --fuse-hero-bg: linear-gradient(135deg, var(--bg) 0%, #e0e0f0 100%);
  --summer-hero-bg: linear-gradient(135deg, var(--bg) 0%, #e0f0e8 100%);
  --centre-label-bg: linear-gradient(transparent, rgba(255,255,255,0.9));
}

[data-theme="dark"] {
  --bg: #0A0A0A;
  --bg-card: #111111;
  --bg-card-alt: #161616;
  --bg-elevated: #1A1A1A;
  --accent-glow: rgba(32,32,255,0.3);
  --accent-dim: rgba(32,32,255,0.12);
  --text: #FFFFFF;
  --text-secondary: #9A9A9A;
  --text-dim: #666666;
  --border: rgba(255,255,255,0.08);
  --border-hover: rgba(32,32,255,0.5);

  --nav-scrolled-bg: rgba(10,10,10,0.85);
  --nav-hamburger-bg: #fff;
  --mobile-menu-bg: rgba(10,10,10,0.97);
  --nav-link-hover: #fff;
  --footer-hover: #fff;

  --fuse-hero-bg: linear-gradient(135deg, var(--bg) 0%, #0d0d2a 100%);
  --summer-hero-bg: linear-gradient(135deg, var(--bg) 0%, #0d2a1d 100%);
  --centre-label-bg: linear-gradient(transparent, rgba(0,0,0,0.85));
}

/* Global Image Optimization Styles */
img {
  max-width: 100%;
  height: auto;
  display: block;
}
img:not([src]) {
  visibility: hidden;
}

/* Global Base & Typography */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul, ol { list-style: none; }
input, select, textarea { font-family: inherit; }

/* Container */
.container { width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 20px; }
@media (min-width: 768px) { .container { padding: 0 32px; } }
@media (min-width: 1280px) { .container { padding: 0 40px; } }

/* Typography */
.headline-xl {
  font-size: clamp(32px, 8vw, 64px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
}
.headline-lg {
  font-size: clamp(28px, 6vw, 48px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.headline-md {
  font-size: clamp(22px, 4vw, 36px);
  font-weight: 700;
  line-height: 1.15;
}
.headline-sm {
  font-size: clamp(18px, 3vw, 24px);
  font-weight: 700;
  line-height: 1.2;
}
.text-body { font-size: 16px; color: var(--text-secondary); line-height: 1.65; }
.text-sm { font-size: 14px; color: var(--text-secondary); line-height: 1.6; }
.text-accent { color: var(--accent); }
.text-bold { font-weight: 700; }

/* Section Label Pills */
.section-label {
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-light);
  background: var(--accent-dim);
  border: 1px solid rgba(32,32,255,0.2);
  padding: 6px 16px;
  border-radius: var(--radius-btn);
  margin-bottom: 20px;
}

/* Section Spacing */
.section { padding: 80px 0; }
@media (min-width: 768px) { .section { padding: 100px 0; } }
@media (min-width: 1280px) { .section { padding: 120px 0; } }
.section-header { margin-bottom: 48px; }
.section-header .text-body { margin-top: 16px; max-width: 600px; }
.section-header.center { text-align: center; }
.section-header.center .text-body { margin-left: auto; margin-right: auto; }

/* ========================================
   BUTTONS
   ======================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 15px;
  padding: 14px 32px;
  border-radius: var(--radius-btn);
  transition: all 0.2s ease;
  white-space: nowrap;
  min-height: 48px;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 0 24px rgba(32,32,255,0.25);
}
.btn-primary:hover {
  transform: scale(1.04);
  filter: brightness(1.15);
  box-shadow: 0 0 36px rgba(32,32,255,0.4);
}
.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent-light);
  transform: scale(1.04);
}
.btn-link {
  background: none;
  color: var(--text);
  padding: 0;
  font-size: 15px;
  font-weight: 600;
  border-bottom: 1px solid transparent;
  border-radius: 0;
  min-height: auto;
  transition: border-color 0.2s, color 0.2s;
}
.btn-link:hover { border-bottom-color: var(--accent); color: var(--accent-light); }
.btn-sm { padding: 10px 20px; font-size: 13px; min-height: 40px; }
.btn-full { width: 100%; }

/* Pulse animation for hero CTA */
@keyframes ctaPulse {
  0%, 100% { box-shadow: 0 0 24px rgba(32,32,255,0.25); }
  50% { box-shadow: 0 0 40px rgba(32,32,255,0.5); }
}
.btn-pulse { animation: ctaPulse 2s ease-in-out infinite; }

/* ========================================
   CARDS
   ======================================== */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 28px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px var(--accent-glow);
  border-color: var(--border-hover);
}

/* ========================================
   NAVBAR
   ======================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: transparent;
  transition: background 0.3s, backdrop-filter 0.3s;
}
.navbar.scrolled {
  background: var(--nav-scrolled-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 20px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  z-index: 1001;
}
.nav-logo img {
  height: 36px;
  width: auto;
  display: block;
}
.nav-logo-text {
  font-weight: 800;
  font-size: 20px;
  letter-spacing: 0.02em;
}
.nav-links {
  display: none;
  gap: 36px;
  align-items: center;
}
.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  position: relative;
  padding: 4px 0;
  transition: color 0.2s;
  background: none;
  border: none;
}
.nav-link:hover, .nav-link.active { color: var(--nav-link-hover); }
.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
}
.nav-cta { display: none; }
.nav-hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  padding: 8px 0;
  z-index: 1001;
}
.nav-hamburger span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--nav-hamburger-bg);
  transition: transform 0.3s, opacity 0.3s;
  border-radius: 1px;
}
.nav-hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.active span:nth-child(2) { opacity: 0; }
.nav-hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999;
  background: var(--mobile-menu-bg);
  backdrop-filter: blur(20px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
}
.mobile-menu.active { display: flex; }
.mobile-menu .mob-link {
  font-size: 28px;
  font-weight: 700;
  color: var(--nav-link-hover);
  cursor: pointer;
  background: none;
  border: none;
  transition: color 0.2s;
}
.mobile-menu .mob-link:hover { color: var(--accent); }

@media (min-width: 768px) {
  .nav-links { display: flex; }
  .nav-cta { display: inline-flex; }
  .nav-hamburger { display: none; }
  .mobile-menu { display: none !important; }
}

/* ========================================
   PAGE SYSTEM
   ======================================== */
.page { display: none; padding-top: var(--nav-h); }
.page.active { display: block; animation: pageFadeIn 0.3s ease; }
@keyframes pageFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ========================================
   SCROLL REVEAL
   ======================================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }
.reveal-delay-5 { transition-delay: 0.40s; }

/* ========================================
   FOOTER
   ======================================== */
.footer {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}
.footer-brand-tagline {
  font-size: 14px;
  color: var(--text-dim);
  margin-top: 12px;
  max-width: 280px;
}
.footer-col-title {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-dim);
  margin-bottom: 16px;
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links button, .footer-links a {
  font-size: 14px;
  color: var(--text-secondary);
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  transition: color 0.2s;
}
.footer-links button:hover, .footer-links a:hover { color: var(--footer-hover); }
.footer-bottom {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}
.footer-copy { font-size: 13px; color: var(--text-dim); }
.footer-socials { display: flex; gap: 12px; }
.footer-social {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--text-dim);
  transition: border-color 0.2s, color 0.2s;
}
.footer-social:hover { border-color: var(--accent); color: var(--accent); }

@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 1.8fr 1fr 1fr 1fr; }
  .footer-bottom { flex-direction: row; justify-content: space-between; }
}

/* ========================================
   UTILITY GRIDS
   ======================================== */
.grid-2 { display: grid; grid-template-columns: 1fr; gap: 20px; }
.grid-3 { display: grid; grid-template-columns: 1fr; gap: 20px; }
.grid-4 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (min-width: 768px) {
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* Two-col layout */
.two-col { display: grid; grid-template-columns: 1fr; gap: 48px; align-items: center; }
@media (min-width: 768px) { .two-col { grid-template-columns: 1fr 1fr; } }

/* ========================================
   HOME PAGE STYLES
   ======================================== */

/* Hero */
.hero { padding: 60px 0 80px; position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1fr; gap: 48px; align-items: center; }
.hero-content { position: relative; z-index: 1; }
.hero-visual { display: block; position: relative; }
.hero-visual img { 
  width: 100%; 
  max-width: 600px; 
  margin: -40px auto 0; /* Pulled up by 40px */
}
.hero .headline-xl { margin-bottom: 20px; }
.hero .text-body { max-width: 520px; margin-bottom: 32px; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 40px; }
.hero-proof {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-secondary);
}
.hero-stars { color: #FFD700; font-size: 16px; letter-spacing: 2px; }
@media (min-width: 1024px) {
  .hero { padding: 80px 0 100px; }
  .hero-grid { grid-template-columns: 1fr 1fr; }
  .hero-visual { display: block; }
}

/* Problem Section */
.problem-section { background: var(--bg-card); }
.problem-card { padding: 32px; }
.problem-card h3 { margin-bottom: 12px; }
.problem-card p { font-size: 15px; color: var(--text-secondary); line-height: 1.65; }
.problem-card .card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--accent-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 20px;
}

/* Philosophy Preview */
.philosophy-preview {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}
.philosophy-preview .text-body { margin: 16px auto 28px; }

/* Programs Preview Cards */
.program-preview-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  overflow: hidden;
  transition: all 0.2s ease;
}
.program-preview-card:hover {
  transform: scale(1.02);
  border-color: var(--border-hover);
  box-shadow: 0 8px 32px var(--accent-glow);
}
.program-preview-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}
.program-preview-body { padding: 24px; }
.program-preview-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: var(--radius-btn);
  margin-bottom: 12px;
}
.tag-blue { background: var(--accent-dim); color: var(--accent-light); }
.tag-amber { background: rgba(245,158,11,0.15); color: #f59e0b; }
.tag-cyan { background: rgba(6,182,212,0.15); color: #06b6d4; }
.program-preview-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: var(--text-dim);
  margin: 12px 0 16px;
}
.program-preview-price {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 16px;
}
.program-preview-buttons { display: flex; flex-wrap: wrap; gap: 8px; }

/* Stats Section */
.stats-section { background: var(--bg); }
.stat-card {
  text-align: center;
  padding: 36px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
}
.stat-value {
  font-size: clamp(36px, 6vw, 56px);
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label {
  font-size: 14px;
  color: var(--text-secondary);
  font-weight: 500;
}
.logo-ticker {
  margin-top: 40px;
  text-align: center;
}
.logo-ticker-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  margin-bottom: 20px;
}
.logo-ticker-track {
  display: flex;
  gap: 32px;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.logo-ticker-inner {
  display: flex;
  gap: 32px;
  animation: tickerScroll 30s linear infinite;
  white-space: nowrap;
}
.logo-ticker-inner span {
  font-size: 14px;
  color: var(--text-dim);
  font-weight: 500;
  flex-shrink: 0;
}
@keyframes tickerScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Testimonials */
.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.testimonial-header {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent-dim);
  border: 2px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
  color: var(--accent-light);
  flex-shrink: 0;
  overflow: hidden;
}
.testimonial-avatar img { width: 100%; height: 100%; object-fit: cover; }
.testimonial-name { font-weight: 700; font-size: 15px; }
.testimonial-role { font-size: 13px; color: var(--text-dim); }
.testimonial-stars { color: #FFD700; font-size: 14px; letter-spacing: 2px; }
.testimonial-text { font-size: 15px; color: var(--text-secondary); line-height: 1.65; font-style: italic; }

/* Photo Grid */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px;
}
.photo-grid-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  aspect-ratio: 1;
}
.photo-grid-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s, filter 0.4s;
}
.photo-grid-item:hover img {
  transform: scale(1.05);
  filter: brightness(1.1);
}
@media (min-width: 768px) {
  .photo-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1024px) {
  .photo-grid { grid-template-columns: repeat(4, 1fr); }
}

/* Urgency CTA */
.urgency-section {
  text-align: center;
  background: var(--bg);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.urgency-section .headline-lg { margin-bottom: 16px; }
.urgency-section .text-body { max-width: 560px; margin: 0 auto 32px; }
.urgency-buttons { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.urgency-note {
  font-size: 13px;
  color: var(--text-dim);
  margin-top: 24px;
}
