/*
 * Core Design System Stylesheet - MyServerHelper.com
 * Theme: Hybrid Cyber-Tech, Cybersecurity SaaS & High-Trust Infrastructure
 */

/* ==========================================
   CSS VARIABLES & GLOBAL TOKENS
   ========================================== */
:root {
  /* Fonts */
  --font-headings: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.15);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.2);
  --shadow-glow-cyan: 0 0 15px rgba(0, 212, 255, 0.4);
  --shadow-glow-blue: 0 0 15px rgba(41, 98, 255, 0.4);

  /* Borders & Radius */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 30px;
}

/* --- Dark Theme Tokens (Default) --- */
:root[data-theme="dark"] {
  --bg-darker: #020617;
  --bg-dark: #071120;
  --bg-surface: #0b1329;
  --bg-card: rgba(11, 28, 54, 0.6);
  --border-color: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(0, 212, 255, 0.15);
  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #64748b;
  
  --primary-color: #2962FF;
  --primary-glow: rgba(41, 98, 255, 0.15);
  --accent-cyan: #00D4FF;
  --accent-purple: #9d4edd;
  --success-color: #10b981;
  --danger-color: #f43f5e;
  
  --gradient-bg: linear-gradient(135deg, #020617, #071120);
  --gradient-card: linear-gradient(135deg, rgba(11, 19, 41, 0.8), rgba(7, 17, 32, 0.8));
  --gradient-accent: linear-gradient(135deg, #2962FF, #00D4FF);
  --gradient-glow: linear-gradient(135deg, rgba(41, 98, 255, 0.08), rgba(0, 212, 255, 0.08));
}

/* --- Light Theme Tokens --- */
:root[data-theme="light"] {
  --bg-darker: #f1f5f9;
  --bg-dark: #f8fafc;
  --bg-surface: #ffffff;
  --bg-card: rgba(255, 255, 255, 0.8);
  --border-color: rgba(0, 0, 0, 0.08);
  --border-glow: rgba(41, 98, 255, 0.1);
  --text-primary: #0f172a;
  --text-secondary: #334155;
  --text-muted: #94a3b8;
  
  --primary-color: #2962FF;
  --primary-glow: rgba(41, 98, 255, 0.1);
  --accent-cyan: #0ea5e9;
  --accent-purple: #7b2cbf;
  --success-color: #10b981;
  --danger-color: #ef4444;
  
  --gradient-bg: linear-gradient(135deg, #f8fafc, #f1f5f9);
  --gradient-card: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(248, 250, 252, 0.9));
  --gradient-accent: linear-gradient(135deg, #1e40af, #2962FF);
  --gradient-glow: linear-gradient(135deg, rgba(41, 98, 255, 0.04), rgba(14, 165, 233, 0.04));
}

/* ==========================================
   GLOBAL RESET & NORMALIZATION
   ========================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--text-secondary);
  background-color: var(--bg-darker);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color var(--transition-normal), color var(--transition-normal);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-headings);
  color: var(--text-primary);
  font-weight: 700;
  line-height: 1.25;
}

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

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

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

/* ==========================================
   CORE UTILITIES & DESIGN BLOCKS
   ========================================== */
.section {
  padding: 100px 20px;
  max-width: 1240px;
  margin: 0 auto;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 70px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gradient-glow);
  border: 1px solid var(--border-glow);
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent-cyan);
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}

.section h2 {
  font-size: clamp(2rem, 5vw, 2.75rem);
  margin-bottom: 20px;
  background: linear-gradient(135deg, var(--text-primary), var(--text-muted));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-header p {
  font-size: clamp(1rem, 2.5vw, 1.15rem);
  color: var(--text-secondary);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.95rem;
  font-family: var(--font-headings);
  cursor: pointer;
  border: none;
  transition: all var(--transition-normal);
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient-accent);
  color: #ffffff !important;
  box-shadow: var(--shadow-glow-blue);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -50%;
  width: 200%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transform: skewX(-30deg);
  transition: 0.75s;
  pointer-events: none;
}

.btn-primary:hover::before {
  left: 120%;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(41, 98, 255, 0.5), var(--shadow-glow-cyan);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary) !important;
  border: 1px solid var(--border-color);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
  border-color: var(--primary-color);
}

.btn-emergency {
  background: var(--danger-color);
  color: white !important;
  box-shadow: 0 0 15px rgba(244, 63, 94, 0.3);
}

.btn-emergency:hover {
  background: #e11d48;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(244, 63, 94, 0.5);
}

/* ==========================================
   NAVIGATION BAR (STYLISH GLASSMORPHISM)
   ========================================== */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(2, 6, 23, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  transition: all var(--transition-normal);
}

:root[data-theme="light"] nav {
  background: rgba(255, 255, 255, 0.75);
}

nav.scrolled {
  padding: 5px 0;
  box-shadow: var(--shadow-lg);
  background: rgba(2, 6, 23, 0.9);
}

:root[data-theme="light"] nav.scrolled {
  background: rgba(255, 255, 255, 0.95);
}

.nav-container {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
}

.logo {
  font-family: var(--font-headings);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo i {
  color: var(--accent-cyan);
  filter: drop-shadow(0 0 6px var(--primary-color));
}

.logo span {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

.nav-links a {
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 6px 12px;
  position: relative;
}

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

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--gradient-accent);
  transform: translateX(-50%);
  transition: width var(--transition-fast);
}

.nav-links a:hover::after {
  width: 80%;
}

.cta-button {
  background: var(--gradient-accent);
  color: white !important;
  padding: 10px 20px !important;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-family: var(--font-headings);
  font-size: 0.9rem !important;
  box-shadow: var(--shadow-sm);
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow-blue);
}

.cta-button::after {
  display: none !important;
}

.emergency-nav-btn {
  background: rgba(244, 63, 94, 0.1) !important;
  color: var(--danger-color) !important;
  border: 1px solid rgba(244, 63, 94, 0.2);
  padding: 9px 16px !important;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-family: var(--font-headings);
  font-size: 0.9rem !important;
  display: flex;
  align-items: center;
  gap: 6px;
}

.emergency-nav-btn:hover {
  background: var(--danger-color) !important;
  color: white !important;
  box-shadow: 0 0 10px rgba(244, 63, 94, 0.3);
}

.emergency-nav-btn::after {
  display: none !important;
}

/* Theme Toggle Button */
.theme-toggle-btn {
  background: none;
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.theme-toggle-btn:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
}

:root[data-theme="light"] .theme-toggle-btn:hover {
  background: rgba(0, 0, 0, 0.05);
}

.theme-toggle-btn .fa-sun {
  display: none;
}

:root[data-theme="light"] .theme-toggle-btn .fa-sun {
  display: block;
}

:root[data-theme="light"] .theme-toggle-btn .fa-moon {
  display: none;
}

.nav-placeholder {
  height: 0px;
}

/* Mobile actions / Menu */
.mobile-actions {
  display: none;
  align-items: center;
  gap: 15px;
}

.mobile-menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  cursor: pointer;
}

.mobile-menu-toggle span {
  width: 100%;
  height: 2px;
  background-color: var(--text-primary);
  transition: all var(--transition-fast);
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  top: 70px;
  left: -100%;
  width: 100%;
  height: calc(100vh - 70px);
  background: var(--bg-darker);
  border-top: 1px solid var(--border-color);
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  z-index: 999;
  transition: left var(--transition-normal);
  overflow-y: auto;
}

.mobile-menu.active {
  left: 0;
}

.mobile-menu a {
  font-family: var(--font-headings);
  font-size: 1.3rem;
  color: var(--text-primary);
  padding: 10px;
  border-bottom: 1px solid var(--border-color);
}

.mobile-menu .emergency-mobile-btn {
  color: var(--danger-color) !important;
  border-color: rgba(244, 63, 94, 0.3);
  font-weight: 700;
}

.mobile-menu .cta-button {
  text-align: center;
  border: none;
  font-size: 1.1rem !important;
  padding: 14px !important;
  margin-top: 15px;
}

/* ==========================================
   HERO SECTION (CYBER TERMINAL INFRASTRUCTURE)
   ========================================== */
.hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  background-color: var(--bg-darker);
  position: relative;
  overflow: hidden;
  padding: 140px 20px 80px;
}

/* Cybernetic Network Background Visuals */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(41, 98, 255, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(0, 212, 255, 0.08) 0%, transparent 40%);
  z-index: 1;
}

.hero-grid {
  max-width: 1240px;
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 50px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-text {
  animation: fadeInUp 0.8s ease-out;
}

.hero-tagline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gradient-glow);
  border: 1px solid var(--border-glow);
  padding: 8px 16px;
  border-radius: 50px;
  color: var(--accent-cyan);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 25px;
  box-shadow: var(--shadow-glow-cyan);
}

.hero-tagline i {
  animation: pulse 1.5s infinite;
}

.hero h1 {
  font-size: clamp(2.2rem, 5.5vw, 4.2rem);
  margin-bottom: 25px;
  letter-spacing: -1px;
}

.hero h1 span {
  background: linear-gradient(135deg, var(--accent-cyan), var(--primary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: block;
}

.hero-desc {
  font-size: clamp(1rem, 2.8vw, 1.25rem);
  color: var(--text-secondary);
  margin-bottom: 40px;
  max-width: 620px;
  line-height: 1.7;
}

.hero-ctas {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  margin-bottom: 45px;
}

/* Floating Badges under Hero */
.hero-badges-strip {
  display: flex;
  gap: 30px;
  border-top: 1px solid var(--border-color);
  padding-top: 30px;
  max-width: 600px;
}

.badge-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.badge-item i {
  color: var(--accent-cyan);
  font-size: 1.3rem;
}

.badge-item span {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-primary);
}

/* Simulated Live Monitor Dashboard Widget */
.hero-visual {
  animation: fadeInRight 1s ease-out;
  position: relative;
}

.dashboard-widget {
  background: rgba(11, 28, 54, 0.45);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg), 0 0 30px rgba(0, 212, 255, 0.05);
}

.widget-header {
  background: rgba(2, 6, 23, 0.6);
  padding: 14px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.window-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.window-dots span:nth-child(1) { background: #ef4444; }
.window-dots span:nth-child(2) { background: #eab308; }
.window-dots span:nth-child(3) { background: #22c55e; }

.widget-title {
  font-family: var(--font-headings);
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.widget-body {
  padding: 24px;
}

.uptime-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(2, 6, 23, 0.4);
  padding: 16px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.03);
  margin-bottom: 20px;
}

.status-indicator {
  display: flex;
  align-items: center;
  gap: 10px;
}

.pulse-dot {
  width: 10px;
  height: 10px;
  background: var(--success-color);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--success-color);
  animation: pulse 1.5s infinite;
}

.status-text {
  font-family: var(--font-headings);
  font-weight: 600;
  color: var(--text-primary);
  font-size: 0.95rem;
}

.uptime-value {
  font-family: var(--font-headings);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent-cyan);
}

.metrics-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.metric-card {
  background: rgba(2, 6, 23, 0.4);
  padding: 18px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.03);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.metric-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.metric-number {
  font-family: var(--font-headings);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.metric-number span {
  font-size: 1rem;
  color: var(--text-muted);
}

.metric-progress {
  height: 6px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 3px;
  overflow: hidden;
}

.metric-bar {
  height: 100%;
  background: var(--gradient-accent);
  border-radius: 3px;
  transition: width 0.8s ease;
}

.active-logs-terminal {
  background: #020617;
  padding: 16px;
  border-radius: var(--radius-sm);
  font-family: monospace;
  font-size: 0.8rem;
  color: #38bdf8;
  height: 110px;
  overflow: hidden;
  margin-top: 20px;
  border: 1px solid rgba(255, 255, 255, 0.03);
}

.active-logs-terminal p {
  line-height: 1.5;
  margin-bottom: 4px;
  white-space: nowrap;
}

.terminal-cursor {
  display: inline-block;
  width: 8px;
  height: 14px;
  background: var(--accent-cyan);
  animation: pulse 1s infinite;
  vertical-align: middle;
}

/* ==========================================
   TRUST LOGOS SECTION (AUTOSCROLL STRIP)
   ========================================== */
.trust-strip {
  border-y: 1px solid var(--border-color);
  background: rgba(2, 6, 23, 0.4);
  padding: 30px 0;
  overflow: hidden;
  position: relative;
}

.trust-title {
  text-align: center;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-muted);
  margin-bottom: 25px;
  font-family: var(--font-headings);
}

.marquee-container {
  display: flex;
  width: 200%;
  overflow: hidden;
  position: relative;
}

.marquee-track {
  display: flex;
  width: 100%;
  justify-content: space-around;
  align-items: center;
  gap: 50px;
  animation: marquee 20s linear infinite;
}

.marquee-track i, .marquee-track span {
  font-size: 1.8rem;
  color: var(--text-muted);
  font-weight: 700;
  opacity: 0.5;
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.marquee-track span i {
  font-size: 2.1rem;
}

.marquee-track span:hover, .marquee-track i:hover {
  opacity: 1;
  color: var(--accent-cyan);
  filter: drop-shadow(0 0 10px rgba(0, 212, 255, 0.3));
}

/* ==========================================
   SERVICES & CARDS SYSTEM
   ========================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

.service-card {
  background: var(--gradient-card);
  border: 1px solid var(--border-color);
  padding: 35px 25px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  height: 100%;
  justify-content: space-between;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 90% 10%, rgba(0, 212, 255, 0.08) 0%, transparent 40%);
  pointer-events: none;
}

.service-card-top {
  margin-bottom: 25px;
}

.service-icon {
  width: 55px;
  height: 55px;
  border-radius: var(--radius-sm);
  background: var(--gradient-glow);
  border: 1px solid var(--border-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
  color: var(--accent-cyan);
  font-size: 1.4rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  font-family: var(--font-headings);
}

.service-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-headings);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-primary);
  margin-top: 20px;
}

.service-card-link i {
  font-size: 0.8rem;
  transition: transform var(--transition-fast);
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-cyan);
  box-shadow: var(--shadow-lg), 0 0 25px rgba(0, 212, 255, 0.1);
}

.service-card:hover .service-icon {
  background: var(--gradient-accent);
  color: white;
  border-color: transparent;
  box-shadow: var(--shadow-glow-blue);
  transform: scale(1.1) rotate(5deg);
}

.service-card:hover .service-card-link {
  color: var(--accent-cyan);
}

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

/* ==========================================
   WHY CHOOSE US (COMPARISONS & TIMELINE)
   ========================================== */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.why-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.why-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  padding: 24px;
  border-radius: var(--radius-md);
  transition: all var(--transition-normal);
}

.why-card i {
  font-size: 1.5rem;
  color: var(--accent-cyan);
  margin-bottom: 14px;
}

.why-card h4 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  font-family: var(--font-headings);
}

.why-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.why-card:hover {
  transform: translateY(-3px);
  border-color: var(--primary-color);
  box-shadow: var(--shadow-md);
}

/* Timeline Layout for DevOps */
.timeline {
  position: relative;
  max-width: 600px;
  margin: 0 auto;
}

.timeline::after {
  content: '';
  position: absolute;
  width: 2px;
  background-color: var(--border-color);
  top: 0;
  bottom: 0;
  left: 20px;
  margin-left: -1px;
}

.timeline-item {
  padding: 10px 10px 10px 45px;
  position: relative;
  background-color: inherit;
  width: 100%;
}

.timeline-dot {
  position: absolute;
  width: 12px;
  height: 12px;
  left: 14px;
  top: 15px;
  background-color: var(--accent-cyan);
  border: 3px solid var(--bg-darker);
  border-radius: 50%;
  z-index: 1;
  box-shadow: 0 0 10px var(--accent-cyan);
}

.timeline-card {
  padding: 20px;
  background: var(--gradient-card);
  border: 1px solid var(--border-color);
  position: relative;
  border-radius: var(--radius-md);
}

.timeline-card h4 {
  margin-bottom: 6px;
  font-size: 1.05rem;
  font-family: var(--font-headings);
}

.timeline-card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* ==========================================
   OUTSOURCED HELP & STAFFING TABLES
   ========================================== */
.pricing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-bottom: 40px;
}

.pricing-toggle span {
  font-family: var(--font-headings);
  font-weight: 600;
  font-size: 1rem;
}

.switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 26px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background-color: var(--border-color);
  transition: .4s;
  border-radius: 34px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: .4s;
  border-radius: 50%;
}

input:checked + .slider {
  background-color: var(--primary-color);
}

input:checked + .slider:before {
  transform: translateX(24px);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  align-items: stretch;
}

.price-card {
  background: var(--gradient-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 45px 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: all var(--transition-normal);
  height: 100%;
}

.price-card.popular {
  border-color: var(--accent-cyan);
  box-shadow: var(--shadow-lg), 0 0 25px rgba(0, 212, 255, 0.08);
}

.popular-badge {
  position: absolute;
  top: 20px;
  right: 25px;
  background: var(--gradient-accent);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 50px;
  letter-spacing: 0.5px;
}

.price-card-header {
  margin-bottom: 30px;
}

.price-card h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
  font-family: var(--font-headings);
}

.price-card-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.price-amount {
  font-family: var(--font-headings);
  font-size: 3rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 25px 0 10px;
  display: flex;
  align-items: baseline;
}

.price-amount span {
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 500;
}

.price-features {
  list-style: none;
  margin-bottom: 35px;
  border-top: 1px solid var(--border-color);
  padding-top: 25px;
}

.price-features li {
  font-size: 0.9rem;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-secondary);
}

.price-features li i {
  color: var(--success-color);
  font-size: 1rem;
}

.price-card .btn {
  width: 100%;
}

.price-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

/* Detailed Comparison Matrix */
.matrix-container {
  overflow-x: auto;
  margin-top: 60px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  background: var(--bg-surface);
}

.matrix-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.9rem;
}

.matrix-table th, .matrix-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-color);
}

.matrix-table th {
  font-family: var(--font-headings);
  font-weight: 700;
  background: rgba(2, 6, 23, 0.4);
}

.matrix-table td i.fa-check-circle {
  color: var(--success-color);
}

.matrix-table td i.fa-times-circle {
  color: var(--danger-color);
}

/* ==========================================
   TESTIMONIALS SLIDER SECTION
   ========================================== */
.slider-container {
  max-width: 800px;
  margin: 0 auto;
  overflow: hidden;
  position: relative;
  padding: 20px 0;
}

.slider-track {
  display: flex;
  transition: transform var(--transition-slow);
}

.slide-card {
  min-width: 100%;
  padding: 30px;
  background: var(--gradient-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  position: relative;
  text-align: center;
}

.slide-quote {
  font-size: clamp(1.1rem, 3vw, 1.4rem);
  font-style: italic;
  line-height: 1.6;
  color: var(--text-primary);
  margin-bottom: 35px;
}

.slide-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.slide-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--gradient-accent);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-headings);
  font-weight: 700;
}

.slide-details {
  text-align: left;
}

.slide-details h4 {
  font-size: 1.05rem;
  color: var(--text-primary);
}

.slide-details p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.slide-stars {
  color: #fbbf24;
  font-size: 0.8rem;
  margin-top: 4px;
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--border-color);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.slider-dot.active {
  background: var(--primary-color);
  transform: scale(1.2);
}

/* ==========================================
   FAQ ACCORDION
   ========================================== */
.accordion-container {
  max-width: 800px;
  margin: 0 auto;
}

.accordion-item {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  margin-bottom: 16px;
  background: var(--gradient-card);
  overflow: hidden;
  transition: all var(--transition-fast);
}

.accordion-header {
  width: 100%;
  padding: 22px 26px;
  background: none;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  cursor: pointer;
}

.accordion-header h3 {
  font-size: 1.1rem;
  font-family: var(--font-headings);
  color: var(--text-primary);
}

.accordion-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  font-size: 0.75rem;
  transition: transform var(--transition-normal);
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal), padding var(--transition-normal);
}

.accordion-content {
  padding: 0 26px 22px;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

/* Active State */
.accordion-item.active {
  border-color: var(--primary-color);
  box-shadow: var(--shadow-glow-blue);
}

.accordion-item.active .accordion-icon {
  transform: rotate(180deg);
  background: var(--primary-color);
  color: white;
}

/* ==========================================
   CONTACT SEGMENT (FORM + CHAT TRIGGERS)
   ========================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 50px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.info-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  padding: 25px;
  border-radius: var(--radius-md);
  display: flex;
  gap: 20px;
}

.info-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-sm);
  background: var(--gradient-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  font-size: 1.2rem;
  flex-shrink: 0;
}

.info-text h4 {
  font-size: 1.05rem;
  margin-bottom: 6px;
  font-family: var(--font-headings);
}

.info-text p {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.contact-channels {
  display: flex;
  gap: 15px;
  margin-top: 15px;
}

.contact-channels .btn {
  flex: 1;
}

.contact-form-card {
  background: var(--gradient-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-lg);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.form-group.full-width {
  grid-column: span 2;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
}

.form-control {
  background: rgba(2, 6, 23, 0.4);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: all var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-cyan);
  box-shadow: 0 0 10px rgba(0, 212, 255, 0.2);
}

select.form-control {
  cursor: pointer;
}

/* ==========================================
   BLOG LAYOUT Grid
   ========================================== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 30px;
}

.blog-card {
  background: var(--gradient-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.blog-card-img {
  height: 200px;
  background: linear-gradient(135deg, var(--bg-surface), var(--bg-dark));
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.blog-card-img i {
  font-size: 3.5rem;
  color: rgba(255, 255, 255, 0.05);
}

.blog-tag {
  position: absolute;
  top: 15px;
  left: 15px;
  background: rgba(0, 212, 255, 0.15);
  border: 1px solid var(--accent-cyan);
  color: var(--accent-cyan);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 4px;
}

.blog-card-body {
  padding: 25px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-date {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.blog-card h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
  font-family: var(--font-headings);
}

.blog-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 20px;
}

.blog-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary-color);
  box-shadow: var(--shadow-lg);
}

/* ==========================================
   FOOTER LAYOUT
   ========================================== */
footer {
  background: var(--bg-darker);
  border-top: 1px solid var(--border-color);
  padding: 80px 20px 30px;
}

.footer-top {
  max-width: 1240px;
  margin: 0 auto 50px;
  display: grid;
  grid-template-columns: 1fr 1.5fr 1fr;
  gap: 50px;
}

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

.footer-brand .logo {
  font-size: 1.7rem;
}

.brand-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.certifications {
  display: flex;
  gap: 12px;
}

.cert-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-primary);
}

.footer-links-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
}

.footer-link-col h4 {
  font-size: 1rem;
  font-family: var(--font-headings);
  margin-bottom: 20px;
}

.footer-link-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-link-col a {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.footer-link-col a:hover {
  color: var(--accent-cyan);
  padding-left: 4px;
}

.footer-newsletter h4 {
  font-size: 1rem;
  font-family: var(--font-headings);
  margin-bottom: 12px;
}

.footer-newsletter p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.newsletter-form {
  display: flex;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: rgba(2, 6, 23, 0.4);
  margin-bottom: 20px;
}

.newsletter-form input {
  background: none;
  border: none;
  padding: 12px 15px;
  color: white;
  font-size: 0.85rem;
  flex-grow: 1;
}

.newsletter-form input:focus {
  outline: none;
}

.newsletter-form button {
  background: var(--gradient-accent);
  border: none;
  color: white;
  width: 45px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.newsletter-form button:hover {
  background: var(--accent-cyan);
}

.social-channels {
  display: flex;
  gap: 12px;
}

.social-channels a {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.social-channels a:hover {
  color: white;
  transform: translateY(-2px);
}

.social-channels a.whatsapp-btn:hover { background-color: #25d366; border-color: #25d366; }
.social-channels a.telegram-btn:hover { background-color: #0088cc; border-color: #0088cc; }

.footer-bottom {
  max-width: 1240px;
  margin: 0 auto;
  border-top: 1px solid var(--border-color);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}

.footer-legal {
  display: flex;
  gap: 20px;
}

.footer-legal a {
  color: var(--text-muted);
}

/* ==========================================
   TOAST NOTIFICATIONS & ANIMATIONS
   ========================================== */
.toast-container {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  background: rgba(11, 28, 54, 0.9);
  backdrop-filter: blur(10px);
  border-left: 4px solid var(--accent-cyan);
  padding: 16px 24px;
  border-radius: 4px;
  box-shadow: var(--shadow-lg);
  color: white;
  font-family: var(--font-body);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 12px;
  animation: slideInRight 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  min-width: 250px;
}

.toast.success { border-color: var(--success-color); }
.toast.error { border-color: var(--danger-color); }

@keyframes slideInRight {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

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

@keyframes fadeInRight {
  from { transform: translateX(35px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

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

/* ==========================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  
  .hero-visual {
    max-width: 550px;
    margin: 0 auto;
  }
  
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
  
  .footer-newsletter {
    grid-column: span 2;
  }
  
  .why-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 60px 20px;
  }
  
  .nav-links {
    display: none;
  }
  
  .mobile-actions {
    display: flex;
  }
  
  .hero h1 {
    font-size: clamp(2.2rem, 5vw, 3rem);
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .form-group.full-width {
    grid-column: span 1;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-top {
    grid-template-columns: 1fr;
  }
  
  .footer-newsletter {
    grid-column: span 1;
  }
  
  .footer-links-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
}
