/* =========================================================
   VERINFERA PREMIUM MODERN DESIGN STYLESHEET
   ========================================================= */

:root {
  --bg-main: #030712;
  --bg-surface: rgba(17, 24, 39, 0.45);
  --bg-surface-hover: rgba(31, 41, 55, 0.65);
  --border-main: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(34, 211, 238, 0.25);
  
  --cyan-accent: #22d3ee;
  --cyan-glow: rgba(34, 211, 238, 0.15);
  --blue-accent: #3b82f6;
  --blue-glow: rgba(59, 130, 246, 0.2);
  --indigo-accent: #6366f1;
  
  --text-main: #f9fafb;
  --text-soft: #d1d5db;
  --text-muted: #9ca3af;
  
  --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-title: 'Outfit', system-ui, -apple-system, sans-serif;
  --max-width: 1200px;
}

/* ---------- Global Reset & Scroll ---------- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  height: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-main);
  color: var(--text-main);
  min-height: 100%;
  overflow-x: hidden;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

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

/* ---------- Ambient Glow Mesh background ---------- */
.ambient-glow-container {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.35;
  mix-blend-mode: screen;
  will-change: transform;
}

.glow-orb-1 {
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, var(--cyan-accent) 0%, rgba(59, 130, 246, 0.4) 60%, rgba(3, 7, 18, 0) 100%);
  top: -10vw;
  left: -10vw;
  animation: floatOrb1 25s ease-in-out infinite alternate;
}

.glow-orb-2 {
  width: 60vw;
  height: 60vw;
  background: radial-gradient(circle, var(--blue-accent) 0%, rgba(99, 102, 241, 0.3) 70%, rgba(3, 7, 18, 0) 100%);
  bottom: -15vw;
  right: -15vw;
  animation: floatOrb2 30s ease-in-out infinite alternate;
}

@keyframes floatOrb1 {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(6vw, 8vw) scale(1.1); }
}

@keyframes floatOrb2 {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-8vw, -5vw) scale(1.15); }
}

/* ---------- Typography & Gradients ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-title);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.gradient-text {
  background: linear-gradient(135deg, var(--cyan-accent) 0%, var(--blue-accent) 50%, var(--indigo-accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---------- Sticky Header ---------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  transition: all 300ms ease;
  border-bottom: 1px solid transparent;
  padding: 20px 0;
}

.header.scrolled {
  background: rgba(3, 7, 18, 0.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom-color: var(--border-main);
  padding: 12px 0;
}

.header-inner {
  width: min(var(--max-width), calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-logo-svg {
  width: 32px;
  height: 32px;
  overflow: visible;
  filter: drop-shadow(0 0 6px var(--cyan-accent));
}

.logo-text {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 21px;
  letter-spacing: -0.02em;
  background: linear-gradient(to right, #ffffff, var(--text-soft));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text-soft);
  position: relative;
  padding: 6px 0;
  transition: color 200ms ease;
}

.nav-link:hover {
  color: #ffffff;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1.5px;
  background-color: var(--cyan-accent);
  transition: width 260ms cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-link:hover::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* ---------- Hamburger Menu ---------- */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  width: 36px;
  height: 36px;
  position: relative;
  cursor: pointer;
}

.menu-toggle .bar {
  display: block;
  width: 20px;
  height: 2px;
  background-color: #ffffff;
  position: absolute;
  left: 8px;
  transition: transform 260ms ease, opacity 260ms ease;
}

.menu-toggle .bar:nth-child(1) { top: 12px; }
.menu-toggle .bar:nth-child(2) { top: 17px; }
.menu-toggle .bar:nth-child(3) { top: 22px; }

.menu-toggle[aria-expanded="true"] .bar:nth-child(1) {
  transform: translateY(5px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .bar:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] .bar:nth-child(3) {
  transform: translateY(-5px) rotate(-45deg);
}

/* ---------- Mobile Menu Overlay ---------- */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(3, 7, 18, 0.96);
  backdrop-filter: blur(18px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 300ms ease;
}

.mobile-menu.is-active {
  opacity: 1;
  pointer-events: auto;
}

.nav-mobile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.mobile-nav-link {
  font-size: 22px;
  font-family: var(--font-title);
  font-weight: 600;
  color: var(--text-soft);
  transition: color 200ms ease;
}

.mobile-nav-link:hover {
  color: var(--cyan-accent);
}

.mobile-nav-cta {
  margin-top: 14px;
  min-width: 180px;
}

/* ---------- Buttons ---------- */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  border-radius: 99px;
  font-size: 14.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 260ms cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid transparent;
}

.button-primary {
  color: #030a1c;
  background: linear-gradient(135deg, var(--cyan-accent) 0%, var(--blue-accent) 100%);
  box-shadow: 0 4px 18px var(--cyan-glow);
}

.button-primary:hover {
  transform: translateY(-1.5px);
  box-shadow: 0 6px 24px rgba(34, 211, 238, 0.35);
}

.button-primary:active {
  transform: translateY(0);
}

.button-secondary {
  color: var(--text-soft);
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--border-main);
}

.button-secondary:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
  transform: translateY(-1.5px);
}

.button-nav {
  font-size: 13.5px;
  padding: 8px 18px;
  color: var(--cyan-accent);
  border-color: var(--border-glow);
  background: rgba(34, 211, 238, 0.04);
}

.button-nav:hover {
  color: #030a1c;
  background: var(--cyan-accent);
  box-shadow: 0 4px 14px var(--cyan-glow);
}

.button-full {
  width: 100%;
}

/* ---------- Page Layout ---------- */
.page-container {
  position: relative;
  z-index: 10;
  width: 100%;
}

section {
  padding: clamp(60px, 8vh, 100px) 0;
  width: min(var(--max-width), calc(100% - 40px));
  margin: 0 auto;
}

/* ---------- Hero Section ---------- */
.hero-section {
  padding-top: clamp(140px, 20vh, 220px);
  padding-bottom: clamp(60px, 8vh, 90px);
  text-align: center;
}

.hero-content {
  max-width: 880px;
  margin: 0 auto;
}

.tagline-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(34, 211, 238, 0.06);
  border: 1px solid var(--border-glow);
  padding: 6px 14px;
  border-radius: 99px;
  margin-bottom: 24px;
}

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

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

.badge-text {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--cyan-accent);
}

.hero-title {
  font-size: clamp(38px, 5.5vw, 68px);
  line-height: 1.1;
  margin-bottom: 20px;
  background: linear-gradient(to bottom, #ffffff 60%, #e2e8f0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: clamp(16px, 1.8vw, 19.5px);
  color: var(--text-soft);
  max-width: 680px;
  margin: 0 auto 34px auto;
  font-weight: 400;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
}

/* ---------- Trust Banner ---------- */
.trust-banner {
  padding: 0;
  margin-bottom: 20px;
}

.trust-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: clamp(20px, 4vw, 34px) 20px;
  background: var(--bg-surface);
  border: 1px solid var(--border-main);
  border-radius: 24px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: inset 0 0 16px rgba(255, 255, 255, 0.015);
}

.trust-item {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px;
}

.trust-item:not(:last-child) {
  border-right: 1px solid var(--border-main);
}

.trust-number {
  font-family: var(--font-title);
  font-size: clamp(26px, 3.2vw, 42px);
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
  margin-bottom: 6px;
  text-shadow: 0 0 20px var(--blue-glow);
}

.trust-label {
  font-size: clamp(11px, 1vw, 13px);
  color: var(--text-muted);
  font-weight: 500;
  max-width: 160px;
}

/* ---------- Section Header ---------- */
.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto clamp(36px, 6vh, 56px) auto;
}

.section-title {
  font-size: clamp(28px, 3.8vw, 42px);
  margin-bottom: 12px;
  background: linear-gradient(to right, #ffffff, #e2e8f0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-subtitle {
  font-size: clamp(14.5px, 1.3vw, 17px);
  color: var(--text-soft);
}

/* ---------- Services Grid ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.service-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-main);
  border-radius: 20px;
  padding: clamp(24px, 4vw, 36px);
  cursor: pointer;
  outline: none;
  transition: all 300ms cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.service-card-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(34, 211, 238, 0.05);
  border: 1px solid var(--border-glow);
  color: var(--cyan-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  transition: all 260ms ease;
  filter: drop-shadow(0 0 4px var(--cyan-glow));
}

.service-card-icon svg {
  width: 22px;
  height: 22px;
}

.service-card-title {
  font-size: clamp(19px, 2.2vw, 24px);
  margin-bottom: 10px;
  color: #ffffff;
  transition: color 200ms ease;
}

.service-card-text {
  font-size: 14.5px;
  color: var(--text-soft);
  margin-bottom: 22px;
}

.service-card-link {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--cyan-accent);
  display: inline-flex;
  align-items: center;
  transition: transform 200ms ease;
}

.service-card:hover {
  background: var(--bg-surface-hover);
  border-color: rgba(34, 211, 238, 0.32);
  transform: translateY(-3px);
  box-shadow: 
    0 12px 36px rgba(0, 0, 0, 0.20),
    0 0 24px rgba(34, 211, 238, 0.06);
}

.service-card:hover .service-card-icon {
  background: var(--cyan-accent);
  color: #030712;
}

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

.service-card:focus-visible {
  border-color: var(--cyan-accent);
  box-shadow: 0 0 0 3px var(--cyan-glow);
}

/* ---------- Chatbot Widget Styles ---------- */
.chatbot-widget {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
}

.chatbot-trigger {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan-accent) 0%, var(--blue-accent) 100%);
  border: none;
  color: #030712;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(34, 211, 238, 0.4);
  transition: all 280ms cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.chatbot-trigger:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(34, 211, 238, 0.6);
}

.chatbot-trigger:active {
  transform: scale(0.95);
}

.chatbot-trigger .chat-icon {
  width: 24px;
  height: 24px;
  transition: transform 280ms ease;
}

.chatbot-trigger[aria-expanded="true"] .chat-icon {
  transform: rotate(90deg);
}

.chatbot-card {
  position: absolute;
  bottom: 72px;
  right: 0;
  width: min(380px, calc(100vw - 48px));
  height: 500px;
  background: rgba(10, 15, 30, 0.85);
  border: 1px solid var(--border-main);
  border-radius: 20px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px) scale(0.95);
  transition: all 300ms cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

.chatbot-card.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

/* Chatbot Header */
.chatbot-header {
  padding: 16px 20px;
  background: rgba(3, 7, 18, 0.4);
  border-bottom: 1px solid var(--border-main);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chatbot-header-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.chatbot-status-indicator {
  position: relative;
  display: flex;
  align-items: center;
}

.status-dot {
  width: 8px;
  height: 8px;
  background-color: #22c55e;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 8px #22c55e;
}

.chatbot-title {
  font-family: var(--font-title);
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
}

.chatbot-subtitle {
  font-size: 11px;
  color: var(--text-muted);
  display: block;
}

.chatbot-header-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}

.chatbot-header-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px;
  border-radius: 4px;
  transition: all 180ms ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.chatbot-header-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
}

#chatbotCloseBtn {
  font-size: 24px;
  line-height: 1;
  width: 28px;
  height: 28px;
}

/* Chatbot Auth Container */
.chatbot-auth-container {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 36px 28px;
}

.auth-card-inner {
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.auth-icon {
  margin-bottom: 20px;
  background: rgba(34, 211, 238, 0.08);
  border: 1px solid rgba(34, 211, 238, 0.25);
  padding: 16px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 0 20px rgba(34, 211, 238, 0.15);
}

.auth-title {
  font-family: 'Outfit', sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.auth-desc {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 28px;
  max-width: 280px;
}

#chatbotAuthForm {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

#chatbotAuthInput {
  box-sizing: border-box;
  width: 100%;
  background: rgba(17, 24, 39, 0.6);
  border: 1px solid var(--border-main);
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 15px;
  color: #ffffff;
  outline: none;
  text-align: center;
  transition: all 250ms ease;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
}

#chatbotAuthInput:focus {
  border-color: var(--cyan-accent);
  box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.2), inset 0 2px 4px rgba(0, 0, 0, 0.2);
}

.auth-error-msg {
  font-size: 12px;
  color: #f87171;
  margin-top: 4px;
  line-height: 1.4;
}

/* Chatbot Body */
.chatbot-body {
  flex-grow: 1;
  overflow-y: auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  scroll-behavior: smooth;
}

/* Scrollbar styles for chatbot body */
.chatbot-body::-webkit-scrollbar {
  width: 4px;
}

.chatbot-body::-webkit-scrollbar-track {
  background: transparent;
}

.chatbot-body::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
}

.chatbot-body::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.25);
}

/* Messages */
.chat-message {
  display: flex;
  flex-direction: column;
  max-width: 80%;
  animation: messageFadeIn 250ms ease forwards;
}

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

.chat-message.bot-message {
  align-self: flex-start;
}

.chat-message.user-message {
  align-self: flex-end;
}

.message-bubble {
  padding: 10px 14px;
  border-radius: 16px;
  font-size: 13.5px;
  line-height: 1.5;
  word-break: break-word;
}

.bot-message .message-bubble {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-main);
  color: var(--text-soft);
  border-bottom-left-radius: 4px;
}

.user-message .message-bubble {
  background: linear-gradient(135deg, var(--cyan-accent) 0%, var(--blue-accent) 100%);
  color: #030712;
  font-weight: 500;
  border-bottom-right-radius: 4px;
}

.message-time {
  font-size: 10px;
  color: var(--text-muted);
  margin-top: 4px;
  padding: 0 4px;
}

.bot-message .message-time {
  align-self: flex-start;
}

.user-message .message-time {
  align-self: flex-end;
}

/* Typing Indicator */
.typing-indicator {
  display: flex;
  gap: 4px;
  padding: 6px 10px;
}

.typing-dot {
  width: 6px;
  height: 6px;
  background-color: var(--text-muted);
  border-radius: 50%;
  animation: typingBounce 1.4s infinite ease-in-out both;
}

.typing-dot:nth-child(1) { animation-delay: -0.32s; }
.typing-dot:nth-child(2) { animation-delay: -0.16s; }

@keyframes typingBounce {
  0%, 80%, 100% { transform: scale(0); }
  40% { transform: scale(1); }
}

/* Chatbot Footer */
.chatbot-footer {
  padding: 14px 20px;
  background: rgba(3, 7, 18, 0.4);
  border-top: 1px solid var(--border-main);
}

.chatbot-input-form {
  display: flex;
  gap: 8px;
  align-items: center;
}

.chatbot-input-form input {
  flex-grow: 1;
  background: rgba(3, 7, 18, 0.5);
  border: 1px solid var(--border-main);
  border-radius: 20px;
  padding: 10px 16px;
  font-size: 13.5px;
  color: #ffffff;
  outline: none;
  transition: border-color 200ms ease;
}

.chatbot-input-form input:focus {
  border-color: var(--cyan-accent);
}

.chatbot-send-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--cyan-accent);
  border: none;
  color: #030712;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 200ms ease;
  flex-shrink: 0;
}

.chatbot-send-btn:hover {
  background: #ffffff;
  transform: scale(1.05);
}

.chatbot-send-btn:active {
  transform: scale(0.95);
}

/* Mobile responsive overlay for chatbot */
@media (max-width: 480px) {
  .chatbot-widget {
    bottom: 16px;
    right: 16px;
  }
  
  .chatbot-card {
    position: fixed;
    bottom: 84px;
    right: 16px;
    left: 16px;
    width: auto;
    height: calc(100% - 100px);
  }
}

/* ---------- Approach / Timeline ---------- */
.timeline-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
  margin-top: 20px;
}

.timeline-container::before {
  content: "";
  position: absolute;
  top: 35px;
  left: 40px;
  right: 40px;
  height: 1px;
  background: linear-gradient(to right, var(--cyan-accent), var(--blue-accent), transparent);
  z-index: 1;
}

.timeline-step {
  position: relative;
  z-index: 2;
}

.step-badge {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--bg-main);
  border: 2px solid var(--border-glow);
  color: var(--cyan-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 16px;
  margin-bottom: 22px;
  box-shadow: 0 0 16px rgba(34, 211, 238, 0.15);
  transition: all 300ms ease;
}

.step-content {
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid var(--border-main);
  border-radius: 16px;
  padding: 20px;
  min-height: 170px;
  backdrop-filter: blur(6px);
  transition: all 260ms ease;
}

.step-title {
  font-size: 17.5px;
  margin-bottom: 8px;
  color: #ffffff;
}

.step-text {
  font-size: 13.5px;
  color: var(--text-soft);
  line-height: 1.5;
}

.timeline-step:hover .step-badge {
  background: var(--cyan-accent);
  color: var(--bg-main);
  border-color: #ffffff;
  box-shadow: 0 0 20px var(--cyan-accent);
}

.timeline-step:hover .step-content {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.15);
}

/* ---------- Contact Section ---------- */
.contact-section {
  border-top: 1px solid var(--border-main);
}

.contact-grid {
  display: grid;
  grid-template-columns: 4.5fr 5.5fr;
  gap: clamp(34px, 5vw, 68px);
  align-items: flex-start;
}

.contact-details {
  margin-top: 24px;
  font-size: 14.5px;
  color: var(--text-soft);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.email-link {
  color: var(--cyan-accent);
  border-bottom: 1.5px solid var(--border-glow);
  padding-bottom: 2px;
  transition: all 200ms ease;
}

.email-link:hover {
  color: #ffffff;
  border-bottom-color: #ffffff;
}

.contact-form-wrapper {
  position: relative;
  background: var(--bg-surface);
  border: 1px solid var(--border-main);
  border-radius: 24px;
  padding: clamp(24px, 4vw, 38px);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 10px 32px rgba(0,0,0,0.15);
  overflow: hidden;
}

.form-group {
  margin-bottom: 20px;
  position: relative;
}

.form-group label {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-soft);
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 16px;
  border-radius: 12px;
  border: 1px solid var(--border-main);
  background: rgba(3, 7, 18, 0.4);
  color: #ffffff;
  font-size: 14.5px;
  outline: none;
  transition: all 220ms ease;
}

.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover {
  border-color: rgba(255, 255, 255, 0.15);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--cyan-accent);
  background: rgba(3, 7, 18, 0.6);
  box-shadow: 0 0 12px rgba(34, 211, 238, 0.08);
}

/* Error message handling */
.error-msg {
  font-size: 12px;
  color: #ef4444;
  margin-top: 6px;
  display: none;
}

.form-group.has-error input,
.form-group.has-error textarea {
  border-color: #ef4444;
  box-shadow: 0 0 10px rgba(239, 68, 68, 0.08);
}

.form-group.has-error .error-msg {
  display: block;
}

/* Success State overlay overlay */
.form-success-overlay {
  position: absolute;
  inset: 0;
  background: rgba(3, 7, 18, 0.94);
  backdrop-filter: blur(18px);
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 320ms ease;
}

.form-success-overlay.is-active {
  opacity: 1;
  pointer-events: auto;
}

.success-content {
  text-align: center;
  max-width: 320px;
}

.success-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(34, 211, 238, 0.1);
  border: 2px solid var(--cyan-accent);
  color: var(--cyan-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px auto;
  box-shadow: 0 0 20px var(--cyan-glow);
}

.success-icon svg {
  width: 28px;
  height: 28px;
}

.success-title {
  font-size: 22px;
  color: #ffffff;
  margin-bottom: 10px;
}

.success-text {
  font-size: 14px;
  color: var(--text-soft);
  margin-bottom: 24px;
  line-height: 1.5;
}

/* ---------- Services Detail Drawer ---------- */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 200;
  pointer-events: none;
  visibility: hidden;
  transition: visibility 400ms;
}

.drawer.is-open {
  pointer-events: auto;
  visibility: visible;
}

.drawer-overlay {
  position: absolute;
  inset: 0;
  background: rgba(3, 7, 18, 0.6);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 400ms ease;
}

.drawer.is-open .drawer-overlay {
  opacity: 1;
}

.drawer-content {
  position: absolute;
  top: 0;
  right: 0;
  width: min(580px, 100%);
  height: 100%;
  background: rgba(10, 15, 30, 0.85);
  border-left: 1px solid var(--border-main);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  box-shadow: -10px 0 40px rgba(0,0,0,0.3);
  padding: 40px clamp(20px, 4vw, 36px);
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 400ms cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.drawer.is-open .drawer-content {
  transform: translateX(0);
}

.drawer-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 34px;
  line-height: 1;
  width: 40px;
  height: 40px;
  cursor: pointer;
  transition: color 180ms ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.drawer-close:hover {
  color: #ffffff;
}

.drawer-header {
  margin-top: 24px;
  margin-bottom: 28px;
}

.drawer-badge {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--cyan-accent);
  background: rgba(34, 211, 238, 0.05);
  border: 1px solid var(--border-glow);
  padding: 4px 10px;
  border-radius: 99px;
  display: inline-block;
  margin-bottom: 12px;
}

.drawer-title {
  font-size: clamp(24px, 3.2vw, 34px);
  color: #ffffff;
  line-height: 1.2;
}

.drawer-body {
  color: var(--text-soft);
  font-size: 15px;
  line-height: 1.62;
  flex-grow: 1;
}

.drawer-body p {
  margin-bottom: 20px;
}

.drawer-body ul {
  margin-bottom: 24px;
  padding-left: 20px;
}

.drawer-body li {
  margin-bottom: 12px;
}

.drawer-body strong {
  color: #ffffff;
}

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--border-main);
  background: rgba(3, 7, 18, 0.6);
  padding: 46px 0;
  position: relative;
  z-index: 10;
}

.footer-inner {
  width: min(var(--max-width), calc(100% - 40px));
  margin: 0 auto;
}

.footer-brand {
  margin-bottom: 28px;
}

.footer-logo-text {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 20px;
  color: #ffffff;
  display: block;
  margin-bottom: 6px;
}

.footer-desc {
  font-size: 13px;
  color: var(--text-muted);
}

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

.footer-links {
  display: flex;
  gap: 20px;
  align-items: center;
}

.footer-links a {
  transition: color 180ms ease;
}

.footer-links a:hover {
  color: #ffffff;
}

/* ---------- Version Badge ---------- */
.version-badge {
  position: fixed;
  bottom: 12px;
  left: 12px;
  z-index: 999;
  background: rgba(3, 7, 18, 0.7);
  border: 1px solid var(--border-main);
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 10.5px;
  color: var(--text-muted);
  pointer-events: none;
  font-family: monospace;
  backdrop-filter: blur(4px);
}

/* =========================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================= */

@media (max-width: 980px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .timeline-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .timeline-container::before {
    display: none; /* Hide line since grid wraps */
  }

  .step-content {
    min-height: auto;
  }
}

@media (max-width: 768px) {
  .nav-desktop {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .trust-inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px 10px;
  }

  .trust-item:nth-child(2) {
    border-right: none;
  }

  .trust-item:nth-child(even) {
    border-right: none;
  }

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

  .timeline-container {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   ACCESSIBILITY & PREFERS REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  
  .glow-orb {
    animation: none !important;
  }

  .service-card,
  .button,
  .drawer-content {
    transition: none !important;
  }

  .service-card:hover {
    transform: none !important;
  }
}
