/* ==========================================================================
   Platforms 365 — Modern High-Tech Stylesheet
   Tech Stack: HTML5 / CSS3 / JavaScript / jQuery
   Domain: platforms365.co.uk
   ========================================================================== */

:root {
  --font-primary: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Colors */
  --bg-dark: #070b14;
  --bg-card: #0d1527;
  --bg-card-hover: #131f38;
  --bg-surface: #101a30;
  --bg-glass: rgba(13, 21, 39, 0.75);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-bright: rgba(0, 102, 255, 0.35);
  
  --primary: #0066ff;
  --primary-hover: #0052cc;
  --primary-glow: rgba(0, 102, 255, 0.4);
  
  --accent-cyan: #00d2ff;
  --accent-cyan-glow: rgba(0, 210, 255, 0.35);
  --accent-purple: #8b5cf6;
  --accent-emerald: #10b981;
  --accent-amber: #f59e0b;

  --text-primary: #ffffff;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-bright: #e2e8f0;

  --gradient-primary: linear-gradient(135deg, #0066ff 0%, #00d2ff 100%);
  --gradient-glow: linear-gradient(135deg, rgba(0, 102, 255, 0.15) 0%, rgba(0, 210, 255, 0.05) 100%);
  --gradient-text: linear-gradient(135deg, #ffffff 20%, #94a3b8 100%);
  --gradient-text-accent: linear-gradient(135deg, #60a5fa 0%, #00d2ff 100%);
  --gradient-card: linear-gradient(180deg, rgba(16, 26, 48, 0.9) 0%, rgba(10, 17, 33, 0.95) 100%);

  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.35), 0 8px 10px -6px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 20px 35px -10px rgba(0, 0, 0, 0.5), 0 0 30px rgba(0, 102, 255, 0.15);
  --shadow-glow: 0 0 35px rgba(0, 102, 255, 0.3);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-base: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Light theme overrides if needed, default is high-tech dark */
body {
  margin: 0;
  padding: 0;
  font-family: var(--font-primary);
  background-color: var(--bg-dark);
  color: var(--text-bright);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

*, *::before, *::after {
  box-sizing: border-box;
}

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

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

button, input, select, textarea {
  font-family: inherit;
}

.container {
  width: 100%;
  max-width: 1380px;
  margin: 0 auto;
  padding: 0 20px;
}

.container-narrow {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   TOP ANNOUNCEMENT / CONTACT BAR
   ========================================================================== */
.top-bar {
  background: rgba(8, 14, 26, 0.95);
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.84rem;
  padding: 8px 0;
  color: var(--text-secondary);
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

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

.top-bar-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.top-bar-item svg {
  width: 14px;
  height: 14px;
  stroke: var(--accent-cyan);
}

.top-bar-item a:hover {
  color: var(--accent-cyan);
}

.status-indicator {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(16, 185, 129, 0.12);
  color: #34d399;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: 0.76rem;
  font-weight: 600;
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.status-dot {
  width: 7px;
  height: 7px;
  background-color: var(--accent-emerald);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent-emerald);
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0% { transform: scale(0.9); opacity: 0.7; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.7; }
}

/* ==========================================================================
   MAIN NAVIGATION HEADER
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg-glass);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border-subtle);
  transition: all var(--transition-base);
}

.site-header.scrolled {
  background: rgba(7, 11, 20, 0.96);
  border-bottom-color: rgba(0, 102, 255, 0.2);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  gap: 10px;
  transition: height var(--transition-base);
}

.site-header.scrolled .header-container {
  height: 68px;
}

/* Logo */
.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
  white-space: nowrap;
}

.brand-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, #0066ff, #00d2ff);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 20px rgba(0, 102, 255, 0.5);
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.brand-icon::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(255,255,255,0.3), transparent);
  transform: rotate(45deg);
  animation: logoShimmer 4s infinite;
}

@keyframes logoShimmer {
  0% { transform: translateX(-100%) rotate(45deg); }
  25%, 100% { transform: translateX(100%) rotate(45deg); }
}

.brand-icon svg {
  width: 24px;
  height: 24px;
  fill: #ffffff;
  position: relative;
  z-index: 2;
}

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

.brand-name {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

.brand-name span.highlight {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-tagline {
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  font-weight: 600;
}

/* Navigation Links */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: nowrap;
}

.nav-item {
  position: relative;
  flex-shrink: 0;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 8px;
  font-size: 0.79rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--text-bright);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.nav-link svg.chevron {
  width: 12px;
  height: 12px;
  transition: transform var(--transition-fast);
  flex-shrink: 0;
}

.nav-link:hover, .nav-item:hover > .nav-link, .nav-link.active {
  color: var(--accent-cyan);
  background: rgba(0, 102, 255, 0.08);
}

.nav-item:hover > .nav-link svg.chevron {
  transform: rotate(180deg);
}

/* Dropdown Menus */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 260px;
  background: rgba(13, 21, 39, 0.98);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-bright);
  border-radius: var(--radius-md);
  padding: 10px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6), 0 0 20px rgba(0, 102, 255, 0.15);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all var(--transition-base);
  list-style: none;
  z-index: 100;
}

.nav-item:hover > .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  color: var(--text-bright);
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 500;
  transition: all var(--transition-fast);
}

.dropdown-item svg {
  width: 18px;
  height: 18px;
  stroke: var(--accent-cyan);
  flex-shrink: 0;
}

.dropdown-item:hover {
  background: rgba(0, 102, 255, 0.15);
  color: #ffffff;
  transform: translateX(4px);
}

/* Mega Dropdown */
.mega-dropdown {
  position: absolute;
  top: 100%;
  left: -120px;
  width: 680px;
  background: rgba(11, 18, 34, 0.98);
  backdrop-filter: blur(24px);
  border: 1px solid var(--border-bright);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.7), 0 0 30px rgba(0, 102, 255, 0.2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all var(--transition-base);
  z-index: 100;
}

.nav-item:hover > .mega-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mega-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.mega-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 12px;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  transition: all var(--transition-fast);
}

.mega-card:hover {
  background: rgba(0, 102, 255, 0.12);
  border-color: rgba(0, 102, 255, 0.3);
  transform: translateY(-2px);
}

.mega-card-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(0, 102, 255, 0.2), rgba(0, 210, 255, 0.2));
  border: 1px solid rgba(0, 102, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.mega-card-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--accent-cyan);
}

.mega-card-content h4 {
  margin: 0 0 3px 0;
  font-size: 0.92rem;
  font-weight: 600;
  color: #ffffff;
}

.mega-card-content p {
  margin: 0;
  font-size: 0.78rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

/* Header CTAs */
.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  white-space: nowrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  font-size: 0.92rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-base);
  border: 1px solid transparent;
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient-primary);
  color: #ffffff;
  box-shadow: 0 0 20px rgba(0, 102, 255, 0.4);
}

.btn-primary:hover {
  box-shadow: 0 0 30px rgba(0, 210, 255, 0.6);
  transform: translateY(-2px);
  color: #ffffff;
}

.btn-outline {
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  border-color: var(--border-subtle);
}

.btn-outline:hover {
  background: rgba(0, 102, 255, 0.12);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  transform: translateY(-2px);
}

.btn-accent {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.3);
}

.btn-accent:hover {
  box-shadow: 0 0 30px rgba(16, 185, 129, 0.5);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 7px 15px;
  font-size: 0.82rem;
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: 14px 28px;
  font-size: 1.05rem;
  border-radius: var(--radius-md);
}

/* Mobile Menu Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: #ffffff;
  cursor: pointer;
  padding: 8px;
}

.mobile-toggle svg {
  width: 28px;
  height: 28px;
}

/* ==========================================================================
   HERO SECTIONS
   ========================================================================== */
.hero-section {
  position: relative;
  padding: 100px 0 80px 0;
  overflow: hidden;
  background: radial-gradient(circle at 50% 20%, rgba(0, 102, 255, 0.15) 0%, rgba(7, 11, 20, 0) 70%);
}

.hero-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.6;
}

.hero-glow-1 {
  position: absolute;
  top: -150px;
  left: 10%;
  width: 450px;
  height: 450px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 102, 255, 0.25) 0%, rgba(0, 0, 0, 0) 70%);
  filter: blur(60px);
  pointer-events: none;
  animation: floatOrb 8s infinite alternate ease-in-out;
}

.hero-glow-2 {
  position: absolute;
  top: 100px;
  right: 5%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 210, 255, 0.18) 0%, rgba(0, 0, 0, 0) 70%);
  filter: blur(80px);
  pointer-events: none;
  animation: floatOrb 10s infinite alternate-reverse ease-in-out;
}

@keyframes floatOrb {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(40px, -30px) scale(1.15); }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 50px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 650px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 102, 255, 0.12);
  border: 1px solid rgba(0, 210, 255, 0.3);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent-cyan);
  margin-bottom: 24px;
  box-shadow: 0 0 15px rgba(0, 102, 255, 0.2);
}

.hero-title {
  font-size: 3.2rem;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #ffffff;
  margin-bottom: 22px;
}

.hero-title .gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: 1.18rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 34px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-features-list {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
}

.hero-feature-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--text-bright);
}

.hero-feature-item svg {
  width: 16px;
  height: 16px;
  stroke: var(--accent-emerald);
  flex-shrink: 0;
}

/* Hero Visual / Cards Stack */
.hero-visual {
  position: relative;
}

.hero-card-stack {
  position: relative;
  width: 100%;
}

.main-preview-card {
  background: var(--gradient-card);
  border: 1px solid var(--border-bright);
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(20px);
  position: relative;
  z-index: 2;
  overflow: hidden;
}

.main-preview-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gradient-primary);
}

.card-header-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-subtle);
}

.card-dots {
  display: flex;
  gap: 6px;
}

.card-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
}

.card-dot:nth-child(1) { background: #ef4444; }
.card-dot:nth-child(2) { background: #f59e0b; }
.card-dot:nth-child(3) { background: #10b981; }

.floating-stat-card {
  position: absolute;
  background: rgba(16, 26, 48, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 210, 255, 0.35);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.6);
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 14px;
  animation: floatStat 6s ease-in-out infinite alternate;
}

.floating-stat-card.pos-1 {
  bottom: -25px;
  left: -25px;
}

.floating-stat-card.pos-2 {
  top: -25px;
  right: -20px;
  animation-delay: -3s;
}

@keyframes floatStat {
  0% { transform: translateY(0); }
  100% { transform: translateY(-12px); }
}

.stat-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(0, 102, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.stat-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--accent-cyan);
}

.stat-info h4 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
}

.stat-info p {
  margin: 0;
  font-size: 0.76rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   PARTNER & CLIENT LOGO TICKER
   ========================================================================== */
.ticker-section {
  padding: 40px 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(10, 16, 30, 0.8);
  position: relative;
  overflow: hidden;
}

.ticker-title {
  text-align: center;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 24px;
}

.ticker-track {
  display: flex;
  gap: 60px;
  width: max-content;
  animation: tickerScroll 30s linear infinite;
  align-items: center;
}

.ticker-track:hover {
  animation-play-state: paused;
}

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

.ticker-item {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 45px;
  filter: grayscale(100%) brightness(0.9) opacity(0.65);
  transition: all var(--transition-base);
}

.ticker-item:hover {
  filter: grayscale(0%) brightness(1) opacity(1);
  transform: scale(1.08);
}

.ticker-item img {
  max-height: 38px;
  max-width: 130px;
  object-fit: contain;
}

/* ==========================================================================
   STATS COUNTER BAR
   ========================================================================== */
.stats-bar-section {
  padding: 60px 0;
  background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-surface) 50%, var(--bg-dark) 100%);
  position: relative;
}

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

.stat-counter-card {
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 30px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-base);
}

.stat-counter-card:hover {
  border-color: var(--border-bright);
  transform: translateY(-5px);
  box-shadow: var(--shadow-glow);
}

.stat-counter-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

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

.counter-value {
  font-size: 2.8rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
  margin-bottom: 8px;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-variant-numeric: tabular-nums;
}

.counter-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-bright);
  margin-bottom: 6px;
}

.counter-sub {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   FEATURE & SERVICE SECTIONS
   ========================================================================== */
.section {
  padding: 90px 0;
  position: relative;
}

.section-alt {
  background: rgba(12, 19, 36, 0.6);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 60px auto;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  background: rgba(0, 102, 255, 0.1);
  border: 1px solid rgba(0, 102, 255, 0.25);
  padding: 5px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
}

.section-title {
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #ffffff;
  line-height: 1.25;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Modern Card Grid */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 28px;
}

.cards-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.cards-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all var(--transition-base);
  position: relative;
  display: flex;
  flex-direction: column;
}

.feature-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-bright);
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 30px rgba(0, 102, 255, 0.15);
}

.card-icon-wrap {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(0, 102, 255, 0.2), rgba(0, 210, 255, 0.1));
  border: 1px solid rgba(0, 102, 255, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  transition: transform var(--transition-base);
}

.feature-card:hover .card-icon-wrap {
  transform: scale(1.1) rotate(5deg);
}

.card-icon-wrap svg {
  width: 26px;
  height: 26px;
  stroke: var(--accent-cyan);
}

.card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 12px 0;
  line-height: 1.35;
}

.card-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 22px;
  flex-grow: 1;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent-cyan);
  transition: gap var(--transition-fast);
}

.card-link svg {
  width: 16px;
  height: 16px;
  transition: transform var(--transition-fast);
}

.card-link:hover {
  gap: 12px;
  color: #ffffff;
}

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

/* ==========================================================================
   SPLIT CONTENT BLOCKS (TEXT + VISUAL)
   ========================================================================== */
.split-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 80px;
}

.split-row:last-child {
  margin-bottom: 0;
}

.split-row.reverse {
  direction: rtl;
}

.split-row.reverse > * {
  direction: ltr;
}

.split-text h3 {
  font-size: 2rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 18px 0;
  line-height: 1.25;
}

.split-text p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 20px;
}

.feature-checklist {
  list-style: none;
  padding: 0;
  margin: 24px 0 32px 0;
}

.feature-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.98rem;
  color: var(--text-bright);
  margin-bottom: 14px;
}

.feature-checklist li svg {
  width: 20px;
  height: 20px;
  stroke: var(--accent-cyan);
  flex-shrink: 0;
  margin-top: 2px;
}

.split-visual {
  position: relative;
}

.visual-box {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 30px;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.visual-box img {
  border-radius: var(--radius-md);
  width: 100%;
  object-fit: cover;
}

/* ==========================================================================
   PROGRAMMES TAB SWITCHER (SmartStart & ScaleSmart)
   ========================================================================== */
.tabs-control-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 45px;
}

.tabs-nav {
  display: inline-flex;
  background: rgba(13, 21, 39, 0.9);
  padding: 6px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-bright);
  gap: 8px;
}

.tab-btn {
  padding: 10px 28px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-secondary);
  border: none;
  background: transparent;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.tab-btn.active {
  background: var(--gradient-primary);
  color: #ffffff;
  box-shadow: 0 0 20px rgba(0, 102, 255, 0.4);
}

.tab-content {
  display: none;
  animation: fadeInTab 0.4s ease;
}

.tab-content.active {
  display: block;
}

@keyframes fadeInTab {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   ACCORDION / FAQ
   ========================================================================== */
.accordion {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.accordion-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.accordion-item.active {
  border-color: var(--border-bright);
}

.accordion-header {
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  background: transparent;
  user-select: none;
}

.accordion-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
}

.accordion-icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-base);
}

.accordion-icon svg {
  width: 18px;
  height: 18px;
  stroke: var(--accent-cyan);
}

.accordion-item.active .accordion-icon {
  transform: rotate(180deg);
}

.accordion-body {
  padding: 0 24px 20px 24px;
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  display: none;
}

/* ==========================================================================
   TESTIMONIALS & CASE STUDIES
   ========================================================================== */
.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--transition-base);
}

.testimonial-card:hover {
  border-color: var(--border-bright);
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

.testimonial-quote {
  font-size: 1.12rem;
  line-height: 1.65;
  color: var(--text-bright);
  margin-bottom: 24px;
  font-style: italic;
  position: relative;
}

.testimonial-quote::before {
  content: '“';
  font-size: 4rem;
  line-height: 1;
  position: absolute;
  top: -25px;
  left: -15px;
  color: rgba(0, 102, 255, 0.2);
  font-family: serif;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 18px;
  border-top: 1px solid var(--border-subtle);
}

.author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0066ff, #00d2ff);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  color: #ffffff;
}

.author-details h4 {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
}

.author-details p {
  margin: 2px 0 0 0;
  font-size: 0.82rem;
  color: var(--accent-cyan);
}

/* ==========================================================================
   CALL TO ACTION BANNER (GLOBAL)
   ========================================================================== */
.cta-banner-section {
  padding: 80px 0;
  position: relative;
}

.cta-banner {
  background: radial-gradient(circle at 100% 0%, rgba(0, 210, 255, 0.2) 0%, rgba(13, 21, 39, 0.95) 70%),
              linear-gradient(135deg, #0d1527 0%, #070b14 100%);
  border: 1px solid var(--border-bright);
  border-radius: var(--radius-xl);
  padding: 60px 50px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6), 0 0 40px rgba(0, 102, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  position: relative;
  overflow: hidden;
}

.cta-content {
  max-width: 650px;
}

.cta-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 16px 0;
  line-height: 1.2;
}

.cta-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0 0 24px 0;
}

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

/* ==========================================================================
   INTERACTIVE FORMS & INPUTS
   ========================================================================== */
.form-group {
  margin-bottom: 20px;
}

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

.form-control {
  width: 100%;
  padding: 13px 18px;
  background: rgba(16, 26, 48, 0.8);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: #ffffff;
  font-size: 0.95rem;
  transition: all var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-cyan);
  box-shadow: 0 0 15px rgba(0, 210, 255, 0.25);
  background: rgba(16, 26, 48, 0.98);
}

.form-control::placeholder {
  color: var(--text-muted);
}

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

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: #05080f;
  border-top: 1px solid var(--border-subtle);
  padding: 80px 0 30px 0;
  position: relative;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 50px;
  margin-bottom: 60px;
}

.footer-brand p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 18px 0 24px 0;
  max-width: 320px;
}

.footer-socials {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.social-link:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 102, 255, 0.4);
}

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

.footer-col h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 22px 0;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

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

.footer-links a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-links a:hover {
  color: var(--accent-cyan);
  transform: translateX(4px);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 14px;
}

.footer-contact-item svg {
  width: 18px;
  height: 18px;
  stroke: var(--accent-cyan);
  flex-shrink: 0;
  margin-top: 3px;
}

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

.footer-bottom a:hover {
  color: var(--accent-cyan);
}

/* ==========================================================================
   MODAL & TOAST STYLES
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(4, 7, 15, 0.85);
  backdrop-filter: blur(12px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
  padding: 20px;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  background: var(--bg-card);
  border: 1px solid var(--border-bright);
  border-radius: var(--radius-xl);
  padding: 36px;
  max-width: 560px;
  width: 100%;
  position: relative;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 40px rgba(0, 102, 255, 0.3);
  transform: scale(0.92) translateY(20px);
  transition: all var(--transition-base);
}

.modal-overlay.active .modal-card {
  transform: scale(1) translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.08);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.modal-close-btn:hover {
  background: rgba(239, 68, 68, 0.2);
  color: #ef4444;
}

.toast-message {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: rgba(16, 26, 48, 0.95);
  border: 1px solid var(--accent-emerald);
  border-radius: var(--radius-md);
  padding: 16px 22px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.5), 0 0 20px rgba(16, 185, 129, 0.3);
  display: flex;
  align-items: center;
  gap: 12px;
  color: #ffffff;
  font-size: 0.92rem;
  z-index: 3000;
  transform: translateY(100px);
  opacity: 0;
  transition: all var(--transition-base);
}

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

/* Back to Top */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: #ffffff;
  border: none;
  cursor: pointer;
  box-shadow: 0 0 20px rgba(0, 102, 255, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: scale(0.8);
  transition: all var(--transition-base);
  z-index: 999;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

.back-to-top:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 0 30px rgba(0, 210, 255, 0.6);
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */
@media (max-width: 1080px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-content {
    margin: 0 auto;
  }
  .hero-cta-group, .hero-features-list {
    justify-content: center;
  }
  .footer-top {
    grid-template-columns: repeat(2, 1fr);
  }
  .cards-grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .split-row {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .split-row.reverse {
    direction: ltr;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1280px) {
  .nav-link {
    padding: 5px 6px;
    font-size: 0.77rem;
    gap: 3px;
  }
  .brand-name {
    font-size: 1.15rem;
  }
  .header-actions .btn {
    padding: 6px 10px;
    font-size: 0.76rem;
  }
}

@media (max-width: 1024px) {
  .nav-menu, .header-actions {
    display: none !important;
  }
  .mobile-toggle {
    display: block !important;
  }
  .hero-title {
    font-size: 2.4rem;
  }
  .section-title {
    font-size: 2rem;
  }
  .cta-banner {
    flex-direction: column;
    text-align: center;
    padding: 40px 24px;
  }
  .cta-actions {
    justify-content: center;
  }
}

/* ==========================================================================
   MOBILE MENU DRAWER & OVERLAY
   ========================================================================== */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(4, 7, 15, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2400;
  opacity: 0;
  visibility: hidden;
  transition: all 0.35s ease;
}

.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu-drawer {
  position: fixed;
  top: 0;
  right: -320px;
  width: 300px;
  max-width: 85vw;
  height: 100%;
  background: rgba(10, 16, 30, 0.98);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  z-index: 2500;
  padding: 24px;
  overflow-y: auto;
  transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  border-left: 1px solid rgba(0, 102, 255, 0.3);
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.8);
}

.mobile-menu-drawer.active {
  right: 0 !important;
}

body.overflow-hidden {
  overflow: hidden !important;
}

@media (max-width: 860px) {
  .top-bar {
    display: none !important;
  }
  .cards-grid, .cards-grid-2, .cards-grid-3 {
    grid-template-columns: 1fr;
  }
  .footer-top {
    grid-template-columns: 1fr;
  }
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .top-bar-left, .top-bar-right {
    justify-content: center;
    width: 100%;
  }
  .hero-title {
    font-size: 2rem;
  }
}
