/* ============================================
   Flycastmediaworkhub – Refined Design System
   ============================================ */

:root {
  /* Flycast Media Palette */
  --primary: #57b0ef;
  --primary-hover: #57b0ef;
  --primary-active: #007acc;
  --accent: #ffb100;
  --accent-hover: #ffbd33;
  --accent-active: #e69500;
  --secondary: #e6002c;

  --ink: #484848;
  --body: #292929;
  --dark: #1f1f1f;

  --dark-bg: #ffffff;
  /* Canvas Background (was dark) */
  --darker-bg: #fcfcfc;
  /* Surface Dark (was darker) -> Elevated */
  --surface: #ffffff;
  /* Surface Card */
  --surface-hover: #fcfcfc;
  /* Surface Elevated */
  --border: #e0e0e0;
  /* Border Subtle */
  --border-hover: #d0d0d0;

  --text: #484848;
  /* Body Text (Ink) */
  --text-secondary: #707070;
  /* Muted Text */
  --text-muted: #707070;
  /* Muted Text */
  --text-muted-soft: #a6a6a6;
  /* Muted Soft */

  --gold: #ffb100;
  /* Map legacy variable to accent */

  /* Flycast Hero Base */
  --hero-surface: #57b0ef;

  /* Fonts */
  --font-headline: 'Roboto Condensed', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Shape & Radius System */
  --radius: 8px;
  /* DEFAULT */
  --radius-sm: 20px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 16px;
  --radius-full: 9999px;
  /* Circle */
  --radius-pill: 60px;

  --transition: 0.3s ease-in-out;
  --transition-slow: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: 0.1s ease-in-out;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-body);
  font-weight: 700;
  background: var(--dark-bg);
  color: var(--text);
  line-height: 1.2;
  overflow-x: hidden;
  font-size: 20px;
  /* 20px body-md */
}

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

img {
  max-width: 100%;
  height: auto;
}

/* ---------- Layout ---------- */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 28px;
}

.section {
  padding: 120px 0;
}

/* Global Alternating Sections Pattern */
section:nth-of-type(odd):not(.hero) {
  background: var(--hero-surface);
}

section:nth-of-type(odd):not(.hero),
section:nth-of-type(odd):not(.hero) .heading,
section:nth-of-type(odd):not(.hero) .subheading,
section:nth-of-type(odd):not(.hero) .hero-desc,
section:nth-of-type(odd):not(.hero) p,
section:nth-of-type(odd):not(.hero) .text-muted,
section:nth-of-type(odd):not(.hero) .hero-metric-label {
  color: var(--dark);
}

section:nth-of-type(even):not(.hero) {
  background: var(--surface);
}

section:nth-of-type(even):not(.hero),
section:nth-of-type(even):not(.hero) .heading,
section:nth-of-type(even):not(.hero) .subheading,
section:nth-of-type(even):not(.hero) p,
section:nth-of-type(even):not(.hero) .text-muted {
  color: var(--ink);
}

/* ---------- Typography ---------- */
.label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

.heading {
  font-family: var(--font-headline);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--dark);
  margin-bottom: 16px;
  letter-spacing: 0.72px;
  text-transform: uppercase;
}

.subheading {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 520px;
}

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

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

/* ---------- Cards ---------- */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: var(--transition);
}

.card:hover {
  border-color: var(--border-hover);
  background: var(--surface-hover);
  transform: translateY(-3px);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 32px;
  font-size: 16px;
  font-weight: 700;
  border-radius: var(--radius-pill);
  cursor: pointer;
  border: 0px solid transparent;
  transition: var(--transition-fast);
  font-family: var(--font-body);
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: #292929;
  box-shadow: none;
}

.btn-primary:hover {
  background: var(--accent-hover);
  color: #292929;
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  border-color: var(--text-muted);
  background: rgba(255, 255, 255, 0.03);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-secondary);
  border: 1px solid var(--border);
}

.btn-ghost:hover {
  color: var(--text);
  border-color: var(--border-hover);
}

/* ---------- Icon Box ---------- */
.icon-box {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  flex-shrink: 0;
}

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

.icon-box.gold {
  background: var(--gold-muted);
  color: var(--gold);
}

.icon-box.purple {
  background: rgba(124, 92, 191, 0.12);
  color: var(--accent-purple);
}

.icon-box.blue {
  background: rgba(74, 125, 219, 0.12);
  color: var(--accent-blue);
}

.icon-box.green {
  background: rgba(46, 204, 113, 0.12);
  color: var(--accent-green);
}

/* ---------- Top Bar ---------- */
.top-bar {
  background: var(--gold);
  color: var(--ink);
  font-size: 13px;
  height: 36px;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 101;
  font-weight: 500;
}

.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.top-bar-left,
.top-bar-right {
  display: flex;
  align-items: center;
}

.top-bar-left span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.top-bar-left span:not(:first-child) {
  margin-left: 24px;
}

/* ---------- Navbar ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 36px 0;
  background: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: top var(--transition), padding var(--transition), background var(--transition);
}

.navbar.scrolled {
  top: 0;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.3px;
}

.navbar-logo img {
  width: 32px;
  height: 32px;
}

.nav-menu {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 1;
  margin-left: 60px;
  gap: 40px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
}

.nav-links a {
  font-size: 14px;
  color: #666666;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
  letter-spacing: 0.5px;
}

.nav-links a:hover,
.nav-links a.active,
.nav-links a.nav-pill {
  background: var(--accent);
  color: #ffffff;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1.3rem;
  cursor: pointer;
}

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  background: url('https://www.flycastmedia.co.uk/wp-content/uploads/2020/10/flycast-home-page-bgr.svg') no-repeat center center;
  background-size: cover;
  overflow: hidden;
}

.about-hero {
  background: url('https://www.flycastmedia.co.uk/wp-content/uploads/2020/10/about-header-bgr.svg') no-repeat center center !important;
  background-size: cover !important;
  min-height: 30vh !important;
}

.about-hero .hero-inner {
  min-height: 30vh !important;
  padding-top: 230px !important;
  padding-bottom: 50px;
}

.hero-canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
}

/* Subtle gradient blurs - very muted */
.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.15;
  z-index: 1;
  pointer-events: none;
}

.hero-glow.glow-1 {
  width: 600px;
  height: 600px;
  background: var(--gold);
  top: -20%;
  right: -10%;
}

.hero-glow.glow-2 {
  width: 400px;
  height: 400px;
  background: var(--accent-purple);
  bottom: -20%;
  left: -5%;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 80px;
  min-height: 100vh;
  padding-top: 100px;
}


.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(46, 204, 113, 0.08);
  border: 1px solid rgba(46, 204, 113, 0.15);
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--accent-green);
  margin-bottom: 32px;
}

.hero-badge .dot {
  width: 6px;
  height: 6px;
  background: var(--accent-green);
  border-radius: 50%;
  animation: blink 2s ease-in-out infinite;
}

@keyframes blink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.3;
  }
}

.hero-title {
  font-family: var(--font-headline);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: 0.96px;
  margin-bottom: 24px;
  color: var(--dark);
  text-transform: uppercase;
}

.hero-title .accent {
  color: var(--dark);
}

.hero-desc {
  font-size: 1.05rem;
  color: var(--body);
  line-height: 1.75;
  margin-bottom: 40px;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin-bottom: 56px;
}

.hero-actions .btn-primary {
  padding: 14px 32px;
}

.hero-metrics {
  display: flex;
  gap: 48px;
}

.hero-metric-value {
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.3px;
}

.hero-metric-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 2px;
}

/* Hero right – floating notification cards */
.hero-right {
  width: 400px;
  height: 480px;
  flex-shrink: 0;
  position: relative;
}

.notif-card {
  position: absolute;
  padding: 16px 20px;
  border-radius: var(--radius);
  backdrop-filter: blur(12px);
  width: 260px;
}

.notif-card .notif-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.notif-card .notif-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.notif-card .notif-text {
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.3;
}

.notif-card .notif-sub {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.notif-card.n1 {
  background: rgba(46, 204, 113, 0.06);
  border: 1px solid rgba(46, 204, 113, 0.12);
  top: 20px;
  right: 0;
  animation: notifFloat 7s ease-in-out infinite;
}

.notif-card.n1 .notif-icon {
  background: rgba(46, 204, 113, 0.12);
}

.notif-card.n1 .notif-text {
  color: var(--accent-green);
}

.notif-card.n2 {
  background: rgba(130, 200, 229, 0.06);
  border: 1px solid rgba(130, 200, 229, 0.12);
  top: 190px;
  left: 0;
  animation: notifFloat 7s ease-in-out 2.3s infinite;
}

.notif-card.n2 .notif-icon {
  background: var(--gold-muted);
}

.notif-card.n2 .notif-text {
  color: var(--gold);
}

.notif-card.n3 {
  background: rgba(124, 92, 191, 0.06);
  border: 1px solid rgba(124, 92, 191, 0.12);
  bottom: 20px;
  right: 20px;
  animation: notifFloat 7s ease-in-out 4.6s infinite;
}

.notif-card.n3 .notif-icon {
  background: rgba(124, 92, 191, 0.12);
}

.notif-card.n3 .notif-text {
  color: var(--accent-purple);
}

@keyframes notifFloat {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

/* ---------- Ticker ---------- */
.ticker {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
  overflow: hidden;
}

.ticker-track {
  display: flex;
  gap: 40px;
  animation: tickerScroll 35s linear infinite;
  white-space: nowrap;
}

.ticker-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-secondary);
  flex-shrink: 0;
}

.ticker-item .dot {
  width: 5px;
  height: 5px;
  background: var(--accent-green);
  border-radius: 50%;
}

.ticker-item strong {
  color: var(--gold);
}

@keyframes tickerScroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* ---------- Brands ---------- */
.brands {
  padding: 56px 0;
  border-bottom: 1px solid var(--border);
}

.brands-label {
  text-align: center;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.brands-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.brand-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
  opacity: 0.5;
  transition: var(--transition);
  letter-spacing: 0.5px;
}

.brand-name:hover {
  opacity: 0.9;
  color: var(--text-secondary);
}

/* ---------- Steps ---------- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}

.step-card {
  padding: 36px 28px;
}

.step-num {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.step-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--text);
}

.step-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ---------- Stats ---------- */
.stats-section {
  position: relative;
}

.stats-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 400px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-hover), transparent);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.stat-card {
  text-align: center;
  padding: 40px 16px;
}

.stat-value {
  font-family: var(--font-headline);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -1px;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ---------- Calculator ---------- */
.calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
  margin-top: 56px;
}

.calc-controls {
  padding: 36px;
}

.calc-group {
  margin-bottom: 24px;
}

.calc-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.calc-select {
  width: 100%;
  padding: 11px 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 0.9rem;
  font-family: inherit;
  outline: none;
  transition: var(--transition);
  cursor: pointer;
  appearance: none;
}

.calc-select:focus {
  border-color: var(--gold);
}

.calc-select option {
  background: var(--surface);
}

.calc-range {
  width: 100%;
  accent-color: var(--gold);
  cursor: pointer;
}

.calc-range-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 6px;
}

.calc-range-labels .current {
  color: var(--gold);
  font-weight: 600;
}

.calc-result-card {
  text-align: center;
  padding: 48px 36px;
}

.calc-result-pre {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.calc-result-amount {
  font-size: 3rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -1px;
  line-height: 1;
}

.calc-result-period {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-top: 8px;
}

/* ---------- Testimonials ---------- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}

.testimonial-card {
  padding: 32px;
}

.testimonial-rating {
  display: flex;
  gap: 2px;
  margin-bottom: 20px;
}

.testimonial-rating .star {
  width: 14px;
  height: 14px;
  color: var(--gold);
}

.testimonial-text {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 24px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--surface-hover);
  border: 1px solid var(--border);
  object-fit: cover;
}

.testimonial-name {
  font-size: 0.85rem;
  font-weight: 600;
}

.testimonial-role {
  font-size: 0.75rem;
  color: var(--text-muted);
}



/* ---------- Withdrawals ---------- */
.withdrawal-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 56px;
}

.withdrawal-card {
  text-align: center;
  padding: 32px 20px;
}

.withdrawal-icon-wrap {
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 700;
}

.withdrawal-name {
  font-size: 0.92rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.withdrawal-time {
  font-size: 0.78rem;
  color: var(--text-muted);
}



/* ---------- CTA ---------- */
.cta-section {
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(130, 200, 229, 0.04) 0%, transparent 70%);
}

.cta-content {
  position: relative;
  z-index: 1;
}

.cta-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.3px;
}

.cta-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 36px;
}

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

/* ---------- Footer ---------- */
.footer {
  background: var(--darker-bg);
  border-top: 1px solid var(--border);
  padding: 64px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 16px;
  line-height: 1.65;
}

.footer-social {
  display: flex;
  gap: 8px;
  margin-top: 20px;
}

.footer-social a {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--text-muted);
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--gold);
  color: #0a0a0a;
  border-color: var(--gold);
}

.footer-heading {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  font-size: 0.85rem;
  color: var(--text-muted);
}

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

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ---------- Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* Dividers */
.divider {
  width: 100%;
  height: 1px;
  background: var(--border);
}



/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-right {
    display: none;
  }

}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 70px;
    /* Adjust based on your header height */
    left: 0;
    width: 100%;
    height: calc(100vh - 70px);
    background: rgba(22, 42, 51, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: 40px 20px;
    gap: 32px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
    transform: translateY(-10px);
    margin-left: 0;
    z-index: 999;
  }

  .nav-menu.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-links {
    flex-direction: column;
    gap: 24px;
  }

  .nav-right {
    flex-direction: column;
    width: 100%;
  }

  .nav-right .btn {
    width: 100%;
    text-align: center;
  }

  body.no-scroll {
    overflow: hidden;
  }

  .mobile-toggle {
    display: block;
    z-index: 1000;
  }

  .mobile-toggle.active {
    color: var(--gold);
  }

  .auth-card {
    padding: 32px 20px !important;
  }

  .hero-centered .hero-inner {
    padding-top: 80px;
    padding-bottom: 40px;
  }

  .hero-badge {
    margin-bottom: 12px;
    font-weight: 300;
  }

  .hero-title {
    margin-bottom: 8px;
  }

  .hero-desc {
    margin-bottom: 16px;
  }

  .hero-actions {
    margin-bottom: 24px;
  }

  .section {
    padding: 80px 0;
  }

  .steps-grid,
  .testimonials-grid,
  .plans-grid {
    grid-template-columns: 1fr;
  }

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

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

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

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

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-metrics {
    gap: 28px;
  }

  .cta-actions {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }

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

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

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

  .hero-metrics {
    flex-direction: column;
    gap: 16px;
  }
}

@media (max-width: 576px) {
  .top-bar-left span {
    font-size: 0;
  }

  .top-bar-left span svg {
    width: 16px;
    height: 16px;
    margin-right: 0;
  }

  .top-bar-right {
    display: none;
  }
}



.form-group {
  margin-bottom: 24px;
  text-align: left;
}

.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-secondary);
}

.form-control {
  width: 100%;
  height: 50px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 18px;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text);
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--gold);
  background: var(--surface-hover);
  box-shadow: 0 0 0 3px rgba(130, 200, 229, 0.12);
}

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

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  background-size: 16px;
  padding-right: 48px;
}

select.form-control option {
  background: var(--surface);
  color: var(--text);
}



/* Toast Notifications */
.toast-container {
  position: fixed;
  top: 48px;
  right: 28px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 12px;
  pointer-events: none;
}

.toast {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--surface);
  border-left: 4px solid var(--gold);
  padding: 16px 24px;
  border-radius: var(--radius-sm);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 500;
  min-width: 320px;
  max-width: 420px;
  opacity: 0;
  transform: translateY(-20px);
  transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

.toast.success {
  border-left-color: var(--accent-green);
}

.toast.error {
  border-left-color: #ef4444;
}

.toast-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.toast-message {
  flex-grow: 1;
  line-height: 1.4;
}





/* ---------- Split Hero Layout ---------- */
.hero-split .hero-inner {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  width: 100%;
  padding-top: 140px;
  padding-bottom: 80px;
}

.hero-split .hero-right {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  width: 50%;
  max-width: 50%;
  padding-right: 0px;
  margin-right: 0px;
}

.hero-split .hero-title {
  margin-left: 0;
  text-align: left;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  color: var(--dark);
}

.hero-split .hero-desc {
  margin-left: 0;
  text-align: left;
  font-size: 1.1rem;
  margin-bottom: 24px;
  color: var(--dark);
}

.hero-split .hero-badge {
  margin-left: 0;
  background: transparent;
  padding: 0;
  border: none;
  color: var(--dark);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 1px;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.hero-split .hero-badge .dot {
  display: none;
}

@media (max-width: 992px) {
  .hero-split .hero-inner {
    justify-content: center;
    text-align: center;
  }

  .hero-split .hero-right {
    align-items: center;
    text-align: center;
    max-width: 100%;
    width: 100%;
    margin-right: 0;
    padding-right: 0;
  }

  .hero-split .hero-title,
  .hero-split .hero-desc,
  .hero-split .hero-badge {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }
}

.btn-accent {
  background: var(--accent);
  color: #292929;
  text-transform: uppercase;
  font-weight: 700;
}

.btn-accent:hover {
  background: var(--accent-hover);
}

/* ---------- Homepage Semantic Styles ---------- */

.thin {
  font-weight: 300;
}

.bold {
  font-weight: 800;
}

.heavy {
  font-weight: 900;
}

.container-narrow {
  max-width: 900px;
  margin: 0 auto;
}

.container-wide {
  max-width: 1300px;
  padding: 0 40px;
}

.section-intro {
  padding: 100px 0;
}

.intro-icon-wrapper {
  margin-bottom: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 64px;
  height: 64px;
}

.intro-icon-bg {
  position: absolute;
}

.intro-icon-fg {
  position: relative;
  z-index: 1;
}

.heading-lg {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 24px;
  text-transform: uppercase;
}

.intro-subheading {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  font-weight: 700;
  margin-bottom: 32px;
  line-height: 1.4;
}

.intro-text {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 40px;
  margin-left: auto;
  margin-right: auto;
  max-width: 850px;
  color: #555 !important;
}

.accent-text {
  color: var(--accent) !important;
  font-weight: 700;
}

.btn-large {
  padding: 14px 40px;
  font-size: 1rem;
}

.grid-split-80 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.flex-wrap-gap-16 {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.btn-pill-sm {
  padding: 16px 28px;
  font-size: 0.85rem;
}

.heading-line-11 {
  line-height: 1.1;
}

.popular-desc {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 32px;
  max-width: 500px;
}

.btn-medium {
  padding: 14px 32px;
  font-size: 0.9rem;
}

.section-what-we-do {
  position: relative;
  z-index: 2;
}

.angled-top-edge {
  position: absolute;
  top: -5vw;
  left: 0;
  width: 100%;
  height: 5vw;
  background: #ffffff;
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
  pointer-events: none;
}

.grid-split-100 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
}

.what-we-do-icon-wrapper {
  margin-bottom: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 36px;
  border: 2.5px solid #ea1d5d;
  border-radius: 6px;
}

.text-bold-dark {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 32px;
  font-weight: 700;
  color: #333 !important;
}

.grid-split-40 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.description-text {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #666 !important;
}

.text-medium-dark {
  color: #444;
}

.img-responsive {
  max-width: 100%;
}

.section-how-we-help {
  padding: 60px 0 120px 0;
  background: #ffffff !important;
}

.section-investors {
  background: url('https://www.flycastmedia.co.uk/wp-content/uploads/2020/10/want-to-get-more-leads-blue-bgr.svg') no-repeat center center !important;
  background-size: cover !important;
  color: #ffffff !important;
  position: relative;
}

.heading-investors {
  color: #ffffff !important;
  font-size: clamp(2rem, 3.5vw, 2.6rem);
  margin-bottom: 24px;
  text-transform: uppercase;
  line-height: 1.2;
}

.investors-desc {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 48px;
  color: rgba(255, 255, 255, 0.9) !important;
  font-weight: 300;
}

.section-cases {
  background: #ffffff !important;
  position: relative;
}

.cases-img {
  max-width: 100%;
  border-radius: 4px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.heading-cases {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  margin-bottom: 24px;
  text-transform: uppercase;
  color: #222 !important;
  line-height: 1.1;
}

.cases-desc {
  font-size: 1.15rem;
  line-height: 1.6;
  margin-bottom: 40px;
  color: #444 !important;
  font-weight: 700;
  max-width: 450px;
}

.btn-cases {
  padding: 16px 40px;
  font-size: 0.95rem;
  display: inline-flex;
  justify-content: center;
  width: auto;
  font-weight: 700;
  border-radius: 40px;
}

.section-cta-banner {
  background-color: #b1d3ebff;
  padding: 40px 0;
}

.cta-banner-wrapper {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.cta-banner-icon {
  width: 140px;
  height: auto;
  margin-top: -10px;
}

.cta-banner-text {
  text-align: left;
}

.cta-banner-sub {
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  font-weight: 300;
  color: #333;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.cta-banner-title {
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  font-weight: 900;
  color: #111;
  text-transform: uppercase;
}

.cta-banner-phone {
  color: #ea1d5d;
}

/* ---------- About Page Media Section ---------- */
.section-about-media {
  background-color: #cb0a38 !important;
  color: #ffffff !important;
}

.section-about-media .heading {
  color: #ffffff !important;
}

.section-about-details-2 {
  background-color: #ffffff !important;
  padding-top: 0 !important;
}

.section-investors-about {
  background: url('https://www.flycastmedia.co.uk/wp-content/uploads/2020/10/about-us-triangled.svg') no-repeat center center !important;
  background-size: cover !important;
  color: #ffffff !important;
  position: relative;
}

.section-cta-banner-about {
  background-color: #fed2dd !important;
  /* Different background color (light warm gold) - feel free to adjust */
}

/* ---------- Services Page Custom Sections ---------- */
.services-hero {
  background: url('https://www.flycastmedia.co.uk/wp-content/uploads/2020/10/services-us-header-bgr.svg') no-repeat center center !important;
  background-size: cover !important;
  min-height: 30vh !important;
}

.services-hero .hero-inner {
  min-height: 30vh !important;
  padding-top: 230px !important;
  padding-bottom: 50px;
}

.section-investors-services {
  background: url('https://www.flycastmedia.co.uk/wp-content/uploads/2020/10/services-us-closeup.svg') no-repeat center center !important;
  background-size: cover !important;
  color: #ffffff !important;
  position: relative;
}

.section-cta-banner-services {
  background-color: #fed2dd !important;
  /* Different background color (light pastel green) - feel free to adjust */
}

/* ---------- Hub Page Custom Sections ---------- */
.hub-hero {
  background: var(--primary) url('../img/hub-page-header.svg') no-repeat center center !important;
  background-size: cover !important;
  min-height: 30vh !important;
}

.hub-hero .hero-desc {
  color: #ffffff !important;
}

.hub-hero .hero-inner {
  min-height: 30vh !important;
  padding-top: 230px !important;
  padding-bottom: 50px;
}

.section-cta-banner-hub {
  background-color: #e5f2ff !important;
  /* Soft blue themed banner */
}

/* Question Section Styles */
.section-question {
  background-color: #ff8b54 !important;
  color: #1f1f1f !important;
}

.section-question .form-control {
  border: none !important;
  background: #f4f6f8 !important;
  color: #484848 !important;
  font-weight: 500 !important;
  height: 54px !important;
}

.section-question .form-control::placeholder {
  color: #888888 !important;
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 1px;
  font-weight: 600;
}

/* Free Website Audit Section Styles */
.section-audit {
  background: url('https://www.flycastmedia.co.uk/wp-content/uploads/2020/11/hub-free-audit-image.svg') no-repeat center right !important;
  background-size: cover !important;
  color: #1f1f1f !important;
}

.section-audit .form-control {
  border: none !important;
  background: #f4f6f8 !important;
  color: #484848 !important;
  font-weight: 500 !important;
  height: 54px !important;
  border-radius: var(--radius-sm) !important;
}

.section-audit .form-control::placeholder {
  color: #888888 !important;
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 1px;
  font-weight: 600;
}

/* ---------- Case Studies Page Custom Sections ---------- */
.cases-hero {
  background: var(--primary) url('../img/portfolio-header-bgr.svg') no-repeat center center !important;
  background-size: cover !important;
  min-height: 30vh !important;
}

.cases-hero .hero-inner {
  min-height: 30vh !important;
  padding-top: 230px !important;
  padding-bottom: 50px;
}

.section-cta-banner-cases {
  background-color: #fff9e6 !important; /* Soft warm gold themed banner */
}

/* ---------- Contact Page Custom Sections ---------- */
.contact-hero {
  background: var(--primary) url('../img/call-us-header-bgr.svg') no-repeat center center !important;
  background-size: cover !important;
  min-height: 30vh !important;
}

.contact-hero .hero-inner {
  min-height: 30vh !important;
  padding-top: 230px !important;
  padding-bottom: 50px;
}

.section-cta-banner-contact {
  background-color: #edf3d9 !important; /* Soft light-blue themed banner */
}

.section-investors-contact {
  background: url('../img/contact-us-bgr-deco-triangle.svg') no-repeat center center !important;
  background-size: cover !important;
  color: #ffffff !important;
  position: relative;
}

/* ---------- Auth Pages Centered Matured Redesign ---------- */
.auth-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f3f7fa !important;
  padding: 60px 20px;
}

.auth-container {
  width: 100%;
  max-width: 520px; /* Centered card width constraint */
  margin: 0 auto;
}

.auth-wrapper {
  background: #ffffff;
  border-radius: var(--radius-sm);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.04);
  overflow: hidden;
  border: 1px solid var(--border);
}

.auth-form-pane {
  padding: 50px 45px;
  background: #ffffff;
}

.auth-form-pane .wizard-header {
  margin-bottom: 30px;
}

.auth-form-pane h2 {
  font-family: var(--font-headline);
  font-size: 1.8rem;
  font-weight: 300;
  text-transform: uppercase;
  color: var(--dark) !important;
  margin-bottom: 6px;
  letter-spacing: 0.5px;
}

.auth-form-pane h2 strong {
  font-weight: 800;
}

.auth-form-pane .subtitle {
  color: var(--text-secondary);
  font-size: 0.92rem;
  margin-bottom: 0;
}

.auth-form-pane .form-group {
  margin-bottom: 20px;
}

.auth-form-pane .form-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--dark);
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}

.auth-form-pane .form-control {
  width: 100%;
  height: 50px;
  padding: 0 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #f8fafc;
  color: var(--dark);
  font-size: 0.95rem;
  font-weight: 500;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.auth-form-pane .form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(87, 176, 239, 0.15);
  outline: none;
  background: #ffffff;
}

.auth-form-pane select.form-control {
  cursor: pointer;
}

.auth-form-pane .validation-message {
  display: none;
  color: #ff5252;
  font-size: 0.78rem;
  margin-top: 4px;
  font-weight: 600;
}

.btn-signup-nav {
  background: var(--accent) !important;
  color: var(--on-accent) !important;
  padding: 8px 20px !important;
  border-radius: var(--radius-pill) !important;
  font-weight: 700 !important;
  border: none !important;
  text-decoration: none !important;
  transition: background 0.1s ease-in-out !important;
  margin-left: 10px;
}

.btn-signup-nav:hover {
  background: var(--accent-hover) !important;
}

/* Hide header completely on auth pages */
body.page-login #navbar,
body.page-register #navbar,
body.page-forgot #navbar {
  display: none !important;
}

@media (max-width: 576px) {
  .auth-section {
    padding: 30px 15px;
  }
  .auth-form-pane {
    padding: 35px 25px;
  }
}

/* ---------- Mobile Responsiveness Enhancements ---------- */
@media (max-width: 900px) {
  .grid-split-80,
  .grid-split-100,
  .grid-split-40 {
    grid-template-columns: 1fr !important;
    gap: 36px !important;
    text-align: center !important;
  }

  /* Center images in grid splits on mobile */
  .grid-split-80 img,
  .grid-split-100 img,
  .grid-split-40 img {
    margin: 0 auto !important;
    display: block !important;
  }

  /* Make sure flex button lists center align */
  .flex-wrap-gap-16 {
    justify-content: center !important;
  }

  /* Center the flex layout inside sections */
  .section-investors-contact div[style*="display: flex"],
  .section-investors-services div[style*="display: flex"],
  .section-what-we-do-for-you div[style*="display: flex"] {
    justify-content: center !important;
  }

  /* Adjust section audit and question layouts on mobile */
  .section-audit {
    background-position: center !important;
    padding: 60px 0 !important;
  }

  .section-audit form,
  .section-question form {
    margin: 24px auto 0 auto !important;
  }
}

@media (max-width: 768px) {
  /* Make sure mobile header link wrapper has max width */
  .nav-links li {
    width: 100%;
    text-align: center;
  }
  
  .nav-links li a {
    display: block;
    padding: 12px 0;
  }

  .btn-signup-nav {
    margin-left: 0 !important;
    margin-top: 12px;
    display: inline-block !important;
    width: 80%;
  }
}

@media (max-width: 576px) {
  .section-audit form,
  .section-question form {
    padding: 24px 16px !important;
  }
}