/* ==========================================
   AMP PROIECT - Premium Dark Engineering UI
   Brand Colors: Deep Space, Neon Blue, Glowing Cyan
   Aesthetics: Glassmorphism, 3D Grids, Cyber-Tech
   ========================================== */

@import url('https://fonts.googleapis.com/css2?family=Space+Mono:wght@400;700&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

/* === CSS VARIABLES & DESIGN SYSTEM === */
:root {
  --bg-dark:        #0c0f16;
  --bg-card:        rgba(26, 36, 53, 0.45);
  --bg-card-hover:  rgba(36, 48, 71, 0.65);
  --text-main:      #f8fafc;
  --text-muted:     #94a3b8;
  --border-color:   rgba(148, 163, 184, 0.1);
  --border-hover:   rgba(59, 130, 246, 0.45);
  
  /* Slate/Cobalt Corporate Colors */
  --accent-blue:    #2563eb;
  --accent-cyan:    #60a5fa;
  --gradient-neon:  linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-cyan) 100%);
  --glow-shadow:    0 10px 25px -5px rgba(0, 0, 0, 0.5);
  
  /* Fonts */
  --font-mono:      'Space Mono', monospace;  /* Technical data / code */
  --font-body:      'Plus Jakarta Sans', sans-serif; /* Premium marketing & structure */
  
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast:   all 0.2s ease;
}

/* === THEME OVERRIDES & HYBRID SCOPES === */
.section-light {
  background-color: #ffffff;
  color: #0f172a;
  
  --bg-dark:        #ffffff;
  --bg-card:        #f8fafc;
  --bg-card-hover:  #f1f5f9;
  --text-main:      #0f172a;
  --text-muted:     #475569;
  --border-color:   rgba(15, 23, 42, 0.08);
  --border-hover:   rgba(37, 99, 235, 0.2);
  --glow-shadow:    0 10px 25px -5px rgba(15, 23, 42, 0.05);
}

.section-dark {
  background-color: #0c0f16;
  color: #f8fafc;
  
  --bg-dark:        #0c0f16;
  --bg-card:        rgba(26, 36, 53, 0.45);
  --bg-card-hover:  rgba(36, 48, 71, 0.65);
  --text-main:      #f8fafc;
  --text-muted:     #94a3b8;
  --border-color:   rgba(148, 163, 184, 0.1);
  --border-hover:   rgba(59, 130, 246, 0.45);
  --glow-shadow:    0 10px 25px -5px rgba(0, 0, 0, 0.5);
}

.section-light .section-header h2,
.section-light h2,
.section-light h3,
.section-light .expert-info h2,
.section-light .service-card h3 {
  background: linear-gradient(135deg, #0f172a 30%, #2563eb 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #0f172a; /* Fallback */
}

/* Light Theme overrides for specific cards */
.section-light .service-card,
.section-light .expert-info,
.section-light .benefit-card-left {
  background: #f8fafc;
  border-color: rgba(15, 23, 42, 0.08);
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.02);
}

.section-light .service-card:hover,
.section-light .expert-info:hover,
.section-light .benefit-card-left:hover {
  background: #ffffff;
  border-color: rgba(37, 99, 235, 0.2);
  box-shadow: 0 20px 40px -15px rgba(37, 99, 235, 0.08);
}

/* Pinned sidebar labels (Playfight style) */
.sidebar-label {
  position: fixed;
  top: 50%;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: #ffffff;
  mix-blend-mode: difference;
  opacity: 0.6;
  z-index: 100;
  pointer-events: none;
  text-transform: uppercase;
  white-space: nowrap;
}

.label-left {
  left: 2.5rem;
  transform: translateY(-50%) rotate(-90deg);
  transform-origin: left center;
}

.label-right {
  right: 2.5rem;
  transform: translateY(-50%) rotate(90deg);
  transform-origin: right center;
}

@media (max-width: 1200px) {
  .sidebar-label {
    display: none;
  }
}


/* Page Tab Switching */
.page-tab {
  display: none;
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.page-tab.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  background: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

ul {
  list-style: none;
}

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

/* === CUSTOM SCROLLBAR === */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-blue);
}

/* === STRUCTURAL CONTAINERS === */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 100px 0;
  border-top: 1px solid var(--border-color);
  position: relative;
}

.tag {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  background: rgba(96, 165, 250, 0.1);
  border: 1px solid rgba(96, 165, 250, 0.25);
  color: var(--accent-cyan);
  border-radius: 4px;
  margin-bottom: 1.5rem;
}

/* === NAVIGATION === */
#navbar {
  border-bottom: 1px solid var(--border-color);
  padding: 1.2rem 0;
  background: rgba(8, 11, 17, 0.8);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: var(--transition-smooth);
}

#navbar.scrolled {
  padding: 0.8rem 0;
  border-bottom-color: rgba(0, 242, 255, 0.15);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
}

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

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

.nav-logo img {
  height: 60px;
  transition: var(--transition-smooth);
  filter: invert(1) brightness(1.3) drop-shadow(0 2px 10px rgba(255, 255, 255, 0.05));
}

.nav-links {
  display: flex;
  gap: 2rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  align-items: center;
}

.nav-links a {
  color: var(--text-muted);
  position: relative;
  padding: 0.5rem 0;
}

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

.nav-links a:hover,
.nav-links a.active-nav {
  color: var(--text-main);
}

.nav-links a:hover::after,
.nav-links a.active-nav::after {
  width: 100%;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

/* Language Toggle */
.lang-toggle {
  display: flex;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 0.75rem;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.03);
}

.lang-toggle button {
  padding: 0.4rem 0.8rem;
  border: none;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  font-weight: 600;
  transition: var(--transition-fast);
}

.lang-toggle button.active {
  background: var(--gradient-neon);
  color: #fff;
  box-shadow: none;
}

/* Mobile Hamburguer Toggle */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1100;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--text-main);
  border-radius: 2px;
  transition: var(--transition-smooth);
}

/* === HERO SECTION === */
#hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 100px 0;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.85;
}

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

.hero-content h1 {
  font-family: var(--font-body);
  font-size: clamp(2.2rem, 5.5vw, 4.2rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 2rem;
  background: linear-gradient(135deg, #ffffff 30%, #a5b4fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
}

.hero-cta {
  display: flex;
  gap: 1.5rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 2.2rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--gradient-neon);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(59, 130, 246, 0.35);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-main);
  border: 1px solid var(--border-color);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--accent-cyan);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.05);
  transform: translateY(-2px);
}

.btn-nav {
  padding: 0.6rem 1.4rem;
  font-size: 0.8rem;
  border-radius: 6px;
  background: var(--gradient-neon);
  color: #fff;
  border: none;
  font-family: var(--font-body);
  font-weight: 700;
  text-transform: uppercase;
  box-shadow: 0 2px 6px rgba(59, 130, 246, 0.15);
}

.btn-nav:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.25);
}

/* === SECTION HEADERS === */
.section-header {
  margin-bottom: 5rem;
  max-width: 700px;
}

.section-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #ffffff 40%, #818cf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.1rem;
}

/* === BENEFITS SECTION === */
.benefit-card-left {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 3.5rem;
  backdrop-filter: blur(16px);
  transition: var(--transition-smooth);
}

.benefit-card-left:hover {
  border-color: rgba(0, 98, 255, 0.2);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.6);
}

/* === SERVICES GRID === */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 3.5rem 2.5rem;
  backdrop-filter: blur(16px);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-neon);
  opacity: 0;
  transition: var(--transition-fast);
}

.service-card:hover {
  transform: translateY(-8px);
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  box-shadow: 0 25px 50px -15px rgba(0, 98, 255, 0.25);
}

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

.service-card h3 {
  font-family: var(--font-body);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 2rem;
  background: linear-gradient(135deg, #ffffff 60%, #a5b4fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  min-height: 3.2rem;
}

.service-card ul li {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1rem;
  position: relative;
  padding-left: 1.5rem;
  line-height: 1.5;
}

.service-card ul li::before {
  content: '//';
  position: absolute;
  left: 0;
  color: var(--accent-cyan);
  font-family: var(--font-mono);
  font-weight: 700;
}

/* === EXPERTISE === */
.expert-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: start;
}

.expert-info {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 3.5rem;
  backdrop-filter: blur(16px);
  transition: var(--transition-smooth);
}

.expert-info:hover {
  border-color: rgba(0, 242, 255, 0.2);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.6);
}

.expert-info h2 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #ffffff 40%, #a5b4fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.expert-info p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 2.5rem;
}

.service-features {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.service-feature {
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
}

.service-feature::before {
  content: '✓';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(0, 242, 255, 0.15);
  color: var(--accent-cyan);
  font-size: 0.7rem;
  font-weight: 700;
}

/* === TECHNOLOGY LIST === */
.tech-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.tech-logo-item {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 8px 16px;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.02);
  transition: var(--transition-fast);
  color: var(--text-muted);
}

.tech-logo-item:hover {
  border-color: var(--accent-cyan);
  color: var(--text-main);
  background: rgba(0, 242, 255, 0.05);
  box-shadow: 0 0 15px rgba(0, 242, 255, 0.1);
  transform: translateY(-2px);
}

/* === CODE BLOCKS === */
.code-block {
  font-family: var(--font-mono);
  border-radius: 8px;
  border: 1px solid var(--border-color);
  background: rgba(5, 7, 12, 0.6);
  color: #60a5fa;
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.8);
  width: 100%;
  overflow: hidden; /* Hide scrollbars and prevent layout shifts */
  white-space: nowrap;
  box-sizing: border-box;
  -ms-overflow-style: none; /* IE and Edge */
  scrollbar-width: none; /* Firefox */
}

.code-block::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

.code-block code {
  color: #a5b4fc;
}

/* Position the methodology canvas absolutely inside its container */
.methodology-animation-container canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

/* === TABS AND CODE EDITOR === */
.tabs-container {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 3.5rem;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 1.2rem;
}

.tab-btn {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
  background: transparent;
  border: 1px solid transparent;
  cursor: pointer;
  padding: 0.6rem 1.4rem;
  border-radius: 6px;
  transition: var(--transition-fast);
}

.tab-btn:hover {
  color: var(--accent-cyan);
}

.tab-btn.active {
  color: #ffffff;
  background: rgba(96, 165, 250, 0.1);
  border: 1px solid rgba(96, 165, 250, 0.25);
  box-shadow: 0 0 15px rgba(96, 165, 250, 0.05);
}

.tab-content-panel {
  position: relative;
  min-height: 360px;
}

.tab-content {
  display: none;
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1), transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.tab-content.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.tab-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 3.5rem;
  align-items: center;
}

@media (max-width: 900px) {
  .tab-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

.tab-text-side {
  text-align: left;
}

.tab-text-side h3 {
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  font-weight: 800;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #ffffff 40%, #a5b4fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.tab-text-side p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.tab-code-side {
  background: #05070c;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  text-align: left;
}

.code-editor-header {
  background: #0d111a;
  border-bottom: 1px solid var(--border-color);
  padding: 0.8rem 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.editor-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.editor-dot.red { background: #ef4444; }
.editor-dot.yellow { background: #f59e0b; }
.editor-dot.green { background: #10b981; }

.editor-title {
  margin-left: 1rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
}

.code-editor-body {
  padding: 1.5rem;
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: #a5b4fc;
  line-height: 1.5;
  overflow-x: auto;
}

/* === CONTACT SECTION === */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: stretch;
}

.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 3.5rem;
  backdrop-filter: blur(16px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: var(--transition-smooth);
}

.contact-form:hover {
  border-color: rgba(0, 98, 255, 0.2);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.6);
}

.form-group {
  margin-bottom: 2rem;
}

.form-group label {
  display: block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.8rem;
  letter-spacing: 0.05em;
}

.form-group input, .form-group textarea {
  width: 100%;
  padding: 0.9rem 1.2rem;
  background: rgba(5, 7, 12, 0.4);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition-smooth);
}

.form-group input:focus, .form-group textarea:focus {
  border-color: var(--accent-cyan);
  background: rgba(5, 7, 12, 0.7);
  box-shadow: 0 0 0 2px rgba(96, 165, 250, 0.2);
}

/* Success & State UI */
.form-success {
  display: none;
  text-align: center;
  padding: 3rem;
}

.form-success h3 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--accent-cyan);
}

.form-success p {
  color: var(--text-muted);
}

button.loading {
  position: relative;
  color: transparent !important;
  pointer-events: none;
}

button.loading::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: #fff;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* === ROADMAP SECTION === */
.roadmap-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 4rem;
  align-items: flex-start;
}

/* === ROADMAP SECTION === */
.roadmap-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 4rem;
  align-items: flex-start;
}

/* Localized Repeating CAD Grid Background */
.roadmap-bg-grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(rgba(0, 242, 255, 0.015) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 242, 255, 0.015) 1px, transparent 1px);
  background-size: 50px 50px;
  opacity: 0.7;
  pointer-events: none;
  z-index: 0;
}

.timeline-container {
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
}

.timeline-step {
  display: flex;
  gap: 2rem;
  position: relative;
  padding-bottom: 2.5rem;
}

.timeline-step:last-child {
  padding-bottom: 0;
}

.timeline-marker {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  position: relative;
}

.timeline-number {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-muted);
  z-index: 2;
  transition: var(--transition-smooth);
}

.timeline-step.finished .timeline-number {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  box-shadow: 0 0 15px rgba(0, 242, 255, 0.2);
}

.timeline-step.active .timeline-number {
  background: var(--gradient-neon);
  border-color: transparent;
  color: #fff;
  box-shadow: var(--glow-shadow);
}

.timeline-line {
  width: 2px;
  flex-grow: 1;
  background: var(--border-color);
  position: absolute;
  top: 42px;
  bottom: 0;
  z-index: 1;
}

.timeline-step.finished .timeline-line {
  background: linear-gradient(to bottom, var(--accent-cyan), var(--accent-blue));
}

.timeline-step.active .timeline-line {
  background: linear-gradient(to bottom, var(--accent-blue), var(--border-color));
}

.timeline-content {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 1.8rem 2.2rem;
  flex-grow: 1;
  backdrop-filter: blur(16px);
  transition: var(--transition-smooth);
}

.timeline-step:hover .timeline-content {
  border-color: rgba(84, 188, 232, 0.3);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  transform: translateX(5px);
}

.timeline-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.timeline-header h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
  margin: 0;
}

.status-badge {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.3rem 0.7rem;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.status-badge.done {
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.status-badge.active {
  background: rgba(0, 242, 255, 0.1);
  color: var(--accent-cyan);
  border: 1px solid rgba(0, 242, 255, 0.3);
  box-shadow: 0 0 10px rgba(0, 242, 255, 0.1);
  animation: badge-pulse 2s infinite alternate;
}

.status-badge.upcoming {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-muted);
  border: 1px solid var(--border-color);
}

.timeline-time {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--accent-cyan);
  margin-bottom: 0.8rem;
  letter-spacing: 0.05em;
}

.timeline-content p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

/* === PULSING RADAR KEYFRAMES === */
.timeline-number.pulsing {
  position: relative;
}

.radar-pulse {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--accent-cyan);
  opacity: 0.4;
  top: 0;
  left: 0;
  z-index: -1;
  animation: radar-pulse 2.2s infinite ease-out;
}

/* Professional Timeline Tracker Tag Styling */
.timeline-here-tag {
  font-family: var(--font-body);
  font-size: 0.6rem;
  font-weight: 700;
  color: var(--accent-cyan);
  letter-spacing: 0.05em;
  margin-bottom: 0.8rem;
  display: inline-block;
  background: rgba(96, 165, 250, 0.08);
  padding: 4px 8px;
  border-radius: 4px;
  border: 1px solid rgba(96, 165, 250, 0.25);
  text-shadow: 0 0 10px rgba(0, 242, 255, 0.4);
  animation: tag-glow-pulse 1.8s infinite alternate;
}

.timeline-content.active-highlight {
  border-color: var(--accent-cyan);
  box-shadow: 0 15px 35px rgba(0, 242, 255, 0.08), inset 0 2px 10px rgba(0, 242, 255, 0.02);
}

@keyframes radar-pulse {
  0% {
    transform: scale(1);
    opacity: 0.5;
  }
  100% {
    transform: scale(1.6);
    opacity: 0;
  }
}

@keyframes badge-pulse {
  0% {
    opacity: 0.7;
    box-shadow: 0 0 5px rgba(0, 242, 255, 0.1);
  }
  100% {
    opacity: 1;
    box-shadow: 0 0 15px rgba(0, 242, 255, 0.4);
  }
}

@keyframes tag-glow-pulse {
  0% {
    box-shadow: 0 0 5px rgba(0, 242, 255, 0.1);
    border-color: rgba(0, 242, 255, 0.2);
  }
  100% {
    box-shadow: 0 0 15px rgba(0, 242, 255, 0.4);
    border-color: rgba(0, 242, 255, 0.5);
  }
}

/* === RESPONSIVE LAYOUTS & BREAKPOINTS === */
@media (max-width: 1024px) {
  .roadmap-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

/* === CHECKLIST CARD === */
.checklist-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 3rem;
  backdrop-filter: blur(16px);
  box-shadow: inset 0 2px 20px rgba(255, 255, 255, 0.02);
  transition: var(--transition-smooth);
}

.checklist-card:hover {
  border-color: rgba(84, 188, 232, 0.25);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.checklist-items {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.checklist-item {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.checklist-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(0, 242, 255, 0.1);
  border: 1px solid rgba(0, 242, 255, 0.3);
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  flex-shrink: 0;
  margin-top: 0.2rem;
  box-shadow: 0 0 10px rgba(0, 242, 255, 0.15);
}

.checklist-item h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
  margin: 0 0 0.4rem 0;
}

.checklist-item p {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

/* === FOOTER === */
footer {
  padding: 5rem 0;
  border-top: 1px solid var(--border-color);
  background: rgba(5, 7, 12, 0.4);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 3rem;
}

/* === RESPONSIVE LAYOUTS & BREAKPOINTS === */
@media (max-width: 1024px) {
  .expert-layout, .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

@media (max-width: 900px) {
  .section {
    padding: 70px 0;
  }
  
  /* Hamburger Navigation */
  .hamburger {
    display: flex;
  }
  
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 400px;
    height: 100vh;
    background: rgba(8, 11, 17, 0.95);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    gap: 3rem;
    padding: 3rem;
    border-left: 1px solid var(--border-color);
    transition: right 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1000;
  }
  
  .nav-links.open {
    right: 0;
    box-shadow: -20px 0 40px rgba(0, 0, 0, 0.8);
  }
  
  .nav-links a {
    font-size: 1.1rem;
  }
  
  .nav-right {
    margin-right: 3rem;
  }
  
  .btn-nav {
    display: none; /* Hide nav CTA on mobile header, keep hero/contact CTAs */
  }

  /* Hamburger Animation */
  .hamburger.open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
    background-color: var(--accent-cyan);
  }
  .hamburger.open span:nth-child(2) {
    opacity: 0;
  }
  .hamburger.open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
    background-color: var(--accent-cyan);
  }
}

@media (max-width: 600px) {
  .container {
    padding: 0 1.5rem;
  }
  
  .hero-cta {
    flex-direction: column;
    gap: 1rem;
    width: 100%;
  }
  
  .hero-cta .btn {
    width: 100%;
  }
  
  .benefit-card-left {
    padding: 2rem 1.5rem;
  }
  
  .expert-info, .contact-form {
    padding: 2.5rem 1.5rem;
  }
  
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }
  
  .footer-inner div {
    text-align: left !important;
  }

  /* Responsive Mobile Typography */
  h1 {
    font-size: 1.8rem !important;
    line-height: 1.3 !important;
  }
  h2 {
    font-size: 1.6rem !important;
    line-height: 1.3 !important;
  }
  h3 {
    font-size: 1.25rem !important;
    line-height: 1.4 !important;
  }
  
  /* Timeline responsive optimization */
  .timeline-step {
    gap: 1rem;
    padding-bottom: 2rem;
  }
  .timeline-content {
    padding: 1.2rem 1.4rem;
  }
  .timeline-header {
    gap: 0.5rem;
  }
  .timeline-here-tag {
    font-size: 0.55rem;
    padding: 2px 6px;
    letter-spacing: 0.05em;
  }
}

/* === SCROLL REVEAL === */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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