@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #0c1527;
  --bg-card: #0e1a2e;
  --fg: #e2e8f0;
  --fg-muted: #6b7f99;
  --primary: #02e0b7;
  --primary-dark: #04c9a5;
  --border: #1a2744;
  --input-bg: rgba(255, 255, 255, 0.05);
  --input-border: rgba(255, 255, 255, 0.1);
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

html,
body {
  overflow-x: hidden;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg);
  color: var(--fg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection {
  background-color: var(--primary);
  color: #0a0a1a;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
  color: inherit;
}

input,
textarea {
  font-family: inherit;
  color: var(--fg);
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .container {
    padding: 0 1.5rem;
  }
}

@media (min-width: 1024px) {
  .container {
    padding: 0 2rem;
  }
}

.font-heading {
  font-family: 'Outfit', sans-serif;
}

.text-glow {
  background: linear-gradient(135deg, #02e0b7, #04c9a5);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 12px rgba(2, 224, 183, 0.4)) drop-shadow(0 0 30px rgba(2, 224, 183, 0.15));
}

.text-gradient-cyan {
  background: linear-gradient(135deg, #02e0b7, #04c9a5);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.bg-grid-pattern {
  background-image:
    linear-gradient(rgba(2, 224, 183, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(2, 224, 183, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

.glow-cyan {
  box-shadow: 0 0 20px rgba(2, 224, 183, 0.15), 0 0 40px rgba(2, 224, 183, 0.05);
}

/* ==================== BUTTONS ==================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  transition: all 0.2s;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--bg);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  box-shadow: 0 0 20px rgba(2, 224, 183, 0.2);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--fg);
}

.btn-outline:hover {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.04);
}

.btn-lg {
  padding: 0.875rem 2rem;
  font-size: 1rem;
}


.btn-md {
  min-width: 160px;
}

.btn-ghost {
  background: transparent;
  color: var(--primary);
  padding: 0;
}

.btn-ghost:hover {
  opacity: 0.8;
}

/* ==================== NAVBAR ==================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: all 0.3s;
  height: 4rem;
}

@media (min-width: 640px) {
  .navbar {
    height: 5rem;
  }
}

.navbar.scrolled {
  background: rgba(12, 21, 39, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 100%;
}

.nav-logo img {
  height: 2rem;
}

@media (min-width: 640px) {
  .nav-logo img {
    height: 2.5rem;
  }
}

.nav-links {
  display: none;
  align-items: center;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .nav-links {
    display: flex;
  }
}

.nav-links a {
  font-size: 0.875rem;
  color: var(--fg-muted);
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--fg);
}

.nav-cta {
  display: none;
}

@media (min-width: 1024px) {
  .nav-cta {
    display: block;
  }
}

.mobile-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.5rem;
  color: var(--fg);
}

@media (min-width: 1024px) {
  .mobile-toggle {
    display: none;
  }
}

.mobile-toggle:hover {
  background: rgba(255, 255, 255, 0.05);
}

.mobile-menu {
  display: none;
  background: rgba(12, 21, 39, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 1rem;
  flex-direction: column;
  gap: 0.75rem;
}

.mobile-menu.open {
  display: flex;
}

@media (min-width: 1024px) {
  .mobile-menu {
    display: none !important;
  }
}

.mobile-menu a {
  font-size: 0.875rem;
  color: var(--fg-muted);
  padding: 0.5rem 0;
  transition: color 0.2s;
}

.mobile-menu a:hover {
  color: var(--fg);
}

/* ==================== HERO ==================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 5rem;
  margin-top: 3rem;
}

.hero-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.25;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(12, 21, 39, 0.8), rgba(12, 21, 39, 0.6), var(--bg));
}

.hero-grid {
  position: absolute;
  inset: 0;
}

.hero-glow-1 {
  position: absolute;
  top: 25%;
  left: 25%;
  width: 16rem;
  height: 16rem;
  background: rgba(2, 224, 183, 0.1);
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
}

@media (min-width: 640px) {
  .hero-glow-1 {
    width: 24rem;
    height: 24rem;
  }
}

.hero-glow-2 {
  position: absolute;
  bottom: 25%;
  right: 25%;
  width: 13rem;
  height: 13rem;
  background: rgba(2, 224, 183, 0.05);
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
}

@media (min-width: 640px) {
  .hero-glow-2 {
    width: 20rem;
    height: 20rem;
  }
}

.hero-content {
  position: relative;
  width: 100%;
  padding: 2rem 0;
}

@media (min-width: 640px) {
  .hero-content {
    padding: 3.5rem 0;
  }
}

@media (min-width: 1024px) {
  .hero-content {
    padding: 5rem 0;
  }
}

.hero-badge-bar {
  text-align: center;
  margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
  .hero-badge-bar {
    margin-bottom: 2rem;
  }
}

@media (min-width: 1024px) {
  .hero-badge-bar {
    margin-bottom: 2.5rem;
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.375rem 0.75rem;
  border-radius: 9999px;
  border: 1px solid rgba(2, 224, 183, 0.2);
  background: rgba(2, 224, 183, 0.05);
  font-size: 0.75rem;
  color: var(--primary);
}

@media (min-width: 640px) {
  .hero-badge {
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
  }
}

.hero-badge .sep {
  color: var(--fg-muted);
  margin: 0 0.125rem;
}

@media (min-width: 640px) {
  .hero-badge .sep {
    margin: 0 0.25rem;
  }
}

.hero-badge .hide-sm {
  display: none;
}

@media (min-width: 640px) {
  .hero-badge .hide-sm {
    display: inline;
  }
}

.hero-badge .hide-md {
  display: none;
}

@media (min-width: 768px) {
  .hero-badge .hide-md {
    display: inline;
  }
}

.hero-columns {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

@media (min-width: 640px) {
  .hero-columns {
    gap: 2.5rem;
  }
}

@media (min-width: 1024px) {
  .hero-columns {
    flex-direction: row;
    gap: 3rem;
  }
}

.hero-left {
  flex: 1;
  min-width: 0;
  text-align: center;
}

@media (min-width: 1024px) {
  .hero-left {
    text-align: left;
  }
}

.hero-left h1 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .hero-left h1 {
    font-size: 3.25rem;
    margin-bottom: 1.5rem;
    padding: 0;
  }
}

@media (min-width: 768px) {
  .hero-left h1 {
    font-size: 3.75rem;
  }
}

@media (min-width: 1024px) {
  .hero-left h1 {
    font-size: 4.5rem;
  }
}

.hero-left .subtitle {
  font-size: 0.875rem;
  color: var(--fg-muted);
  max-width: 36rem;
  margin: 0 auto 1.5rem;
  line-height: 1.7;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .hero-left .subtitle {
    font-size: 1rem;
    padding: 0;
  }
}

@media (min-width: 768px) {
  .hero-left .subtitle {
    font-size: 1.125rem;
  }
}

@media (min-width: 1024px) {
  .hero-left .subtitle {
    font-size: 1.25rem;
    margin: 0 0 2rem;
  }
}

.hero-left .tagline {
  font-size: 0.75rem;
  color: var(--primary);
  font-weight: 500;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
  .hero-left .tagline {
    font-size: 0.875rem;
    margin-bottom: 2rem;
  }
}

@media (min-width: 768px) {
  .hero-left .tagline {
    font-size: 1rem;
  }
}

.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .hero-actions {
    flex-direction: row;
    gap: 1rem;
  }
}

@media (min-width: 1024px) {
  .hero-actions {
    justify-content: flex-start;
  }
}

.hero-actions .btn {
  width: 240px;
  max-width: 90%;
}

@media (min-width: 640px) {
  .hero-actions .btn {
    width: auto;
    max-width: none;
  }
}

.hero-right {
  display: none;
  flex: 1;
  min-width: 0;
  justify-content: flex-end;
  align-items: flex-start;
  margin-top: -3rem;
}

@media (min-width: 1024px) {
  .hero-right {
    display: flex;
  }
}

.hero-bottom-fade {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 6rem;
  background: linear-gradient(to top, var(--bg), transparent);
  pointer-events: none;
}

/* ==================== AI ADVISOR ==================== */
.ai-advisor {
  width: 100%;
  max-width: 440px;
  position: relative;
}

.ai-advisor-glow-1 {
  position: absolute;
  inset: -1px;
  border-radius: 0.75rem;
  background: linear-gradient(to bottom, rgba(2, 224, 183, 0.25), rgba(2, 224, 183, 0.1), rgba(2, 224, 183, 0.05));
  pointer-events: none;
}

.ai-advisor-glow-2 {
  position: absolute;
  inset: -1rem;
  background: rgba(2, 224, 183, 0.06);
  border-radius: 1rem;
  filter: blur(16px);
  pointer-events: none;
}

.ai-advisor-glow-3 {
  position: absolute;
  inset: -2rem;
  background: rgba(2, 224, 183, 0.03);
  border-radius: 1.5rem;
  filter: blur(24px);
  pointer-events: none;
}

.ai-advisor-inner {
  position: relative;
  border-radius: 0.75rem;
  border: 1px solid rgba(2, 224, 183, 0.15);
  background: rgba(12, 21, 39, 0.9);
  backdrop-filter: blur(20px);
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(2, 224, 183, 0.1);
}

.ai-advisor-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(255, 255, 255, 0.02);
}

.ai-advisor-dots {
  display: flex;
  gap: 0.5rem;
}

.ai-advisor-dots span:nth-child(1) {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  background: #ff5f57;
}

.ai-advisor-dots span:nth-child(2) {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  background: #febc2e;
}

.ai-advisor-dots span:nth-child(3) {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  background: #28c840;
}

.ai-advisor-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: 0.5rem;
}

.ai-advisor-title svg {
  color: var(--primary);
}

.ai-advisor-title span {
  font-size: 0.875rem;
  font-weight: 600;
}

.ai-advisor-status {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.ai-advisor-status .pulse {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--primary);
  animation: pulse 2s ease-in-out infinite;
}

.ai-advisor-status span {
  font-size: 0.75rem;
  color: var(--primary);
  font-weight: 500;
}

.ai-messages {
  height: 18rem;
  overflow-y: auto;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.ai-messages::-webkit-scrollbar {
  width: 4px;
}

.ai-messages::-webkit-scrollbar-track {
  background: transparent;
}

.ai-messages::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}

.ai-msg {
  display: flex;
  gap: 0.625rem;
  animation: fadeInUp 0.3s ease;
}

.ai-msg.user {
  flex-direction: row-reverse;
}

.ai-msg-avatar {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.ai-msg-avatar.bot-avatar {
  background: rgba(2, 224, 183, 0.2);
}

.ai-msg-avatar.user-avatar {
  background: rgba(255, 255, 255, 0.1);
}

.ai-msg-avatar svg {
  width: 0.875rem;
  height: 0.875rem;
}

.ai-msg-avatar.bot-avatar svg {
  color: var(--primary);
}

.ai-msg-avatar.user-avatar svg {
  color: var(--fg);
}

.ai-msg-bubble {
  border-radius: 0.75rem;
  padding: 0.625rem 0.875rem;
  font-size: 0.875rem;
  line-height: 1.6;
  max-width: 80%;
}

.ai-msg-bubble.bot-bubble {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.ai-msg-bubble.user-bubble {
  background: rgba(2, 224, 183, 0.15);
  border: 1px solid rgba(2, 224, 183, 0.1);
}

.ai-typing {
  display: flex;
  gap: 0.625rem;
  animation: fadeIn 0.3s ease;
}

.ai-typing .dots {
  display: flex;
  gap: 0.375rem;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 0.75rem;
}

.ai-typing .dots span {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: rgba(2, 224, 183, 0.6);
  animation: bounce 1.4s ease-in-out infinite;
}

.ai-typing .dots span:nth-child(2) {
  animation-delay: 0.15s;
}

.ai-typing .dots span:nth-child(3) {
  animation-delay: 0.3s;
}

.ai-advisor-footer {
  padding: 0.75rem 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(10, 15, 30, 0.5);
}

.ai-prompts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.625rem;
  animation: fadeInUp 0.4s ease;
}

.ai-prompts button {
  font-size: 0.75rem;
  padding: 0.375rem 0.75rem;
  border-radius: 9999px;
  border: 1px solid rgba(2, 224, 183, 0.15);
  background: rgba(2, 224, 183, 0.05);
  color: rgba(2, 224, 183, 0.8);
  transition: all 0.2s;
}

.ai-prompts button:hover {
  background: rgba(2, 224, 183, 0.15);
  color: var(--primary);
  border-color: rgba(2, 224, 183, 0.3);
}

.ai-input-row {
  display: flex;
  gap: 0.5rem;
}

.ai-input-row input {
  flex: 1;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.5rem;
  padding: 0.625rem 0.875rem;
  font-size: 0.875rem;
  outline: none;
  transition: border-color 0.2s;
}

.ai-input-row input::placeholder {
  color: rgba(107, 127, 153, 0.5);
}

.ai-input-row input:focus {
  border-color: rgba(2, 224, 183, 0.3);
}

.ai-send-btn {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.5rem;
  background: rgba(2, 224, 183, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s;
}

.ai-send-btn:hover {
  background: rgba(2, 224, 183, 0.3);
}

.ai-send-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.ai-send-btn svg {
  color: var(--primary);
}

/* ==================== STATS BAR ==================== */
.stats-bar {
  padding: 3rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(14, 26, 46, 0.5);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (min-width: 640px) {
  .stats-grid {
    gap: 2rem;
  }
}

@media (min-width: 1024px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  justify-content: center;
}

@media (min-width: 640px) {
  .stat-item {
    gap: 1rem;
  }
}

.stat-icon {
  padding: 0.625rem;
  border-radius: 0.375rem;
  background: rgba(2, 224, 183, 0.1);
  border: 1px solid rgba(2, 224, 183, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.stat-icon svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--primary);
}

.stat-value {
  font-size: 1.25rem;
  font-weight: 700;
}

@media (min-width: 640px) {
  .stat-value {
    font-size: 1.5rem;
  }
}

.stat-label {
  font-size: 0.75rem;
  color: var(--fg-muted);
}

/* ==================== SECTION HEADINGS ==================== */
.section-label {
  display: inline-block;
  padding: 0.375rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: rgba(2, 224, 183, 0.1);
  color: var(--primary);
  border: 1px solid rgba(2, 224, 183, 0.2);
  margin-bottom: 1rem;
}

@media (min-width: 640px) {
  .section-label {
    font-size: 0.75rem;
  }
}

.section-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.875rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1rem;
}

@media (min-width: 640px) {
  .section-title {
    font-size: 1.875rem;
  }
}

@media (min-width: 768px) {
  .section-title {
    font-size: 2.25rem;
  }
}

@media (min-width: 1024px) {
  .section-title {
    font-size: 3rem;
  }
}

.section-desc {
  color: var(--fg-muted);
  max-width: 42rem;
  margin: 0 auto;
  font-size: 1rem;
}

@media (min-width: 640px) {
  .section-desc {
    font-size: 1.125rem;
  }
}

/* ==================== PRODUCTS ==================== */
.products {
  position: relative;
  padding: 6rem 0;
  overflow: hidden;
}

/* ==================== SERVICES ==================== */
.services {
  position: relative;
  padding: 5rem 0 6rem;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-card {
  background: rgba(14, 26, 46, 0.6);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 1.5rem;
  transition: all 0.3s;
}

@media (min-width: 640px) {
  .service-card {
    padding: 2rem;
  }
}

.service-card:hover {
  background: rgba(14, 26, 46, 0.8);
  border-color: rgba(2, 224, 183, 0.15);
}

.service-icon {
  padding: 0.75rem;
  border-radius: 0.375rem;
  background: rgba(2, 224, 183, 0.1);
  border: 1px solid rgba(2, 224, 183, 0.2);
  width: fit-content;
  margin-bottom: 1.25rem;
}

.service-icon svg {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--primary);
}

.service-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.service-card>p {
  font-size: 0.875rem;
  color: var(--fg-muted);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.service-use-cases {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: auto;
}

.service-use-cases li {
  font-size: 0.75rem;
  padding: 0.25rem 0.625rem;
  border-radius: 0.375rem;
  background: rgba(2, 224, 183, 0.06);
  border: 1px solid rgba(2, 224, 183, 0.12);
  color: var(--primary);
}

/* ==================== HOW WE WORK ==================== */
.how-we-work {
  position: relative;
  padding: 5rem 0 7rem;
  overflow: hidden;
}

.how-we-work-inner {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .how-we-work-inner {
    flex-direction: row;
    gap: 5rem;
  }
}

.how-left {
  text-align: center;
}

@media (min-width: 1024px) {
  .how-left {
    text-align: left;
    width: 340px;
    flex-shrink: 0;
  }
}

@media (min-width: 1280px) {
  .how-left {
    width: 380px;
  }
}

.how-left .section-desc {
  max-width: 36rem;
  margin: 0 auto 1.5rem;
}

@media (min-width: 1024px) {
  .how-left .section-desc {
    margin: 0 0 1.5rem;
  }
}

.how-callout {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  background: rgba(2, 224, 183, 0.05);
  border: 1px solid rgba(2, 224, 183, 0.15);
}

@media (min-width: 1024px) {
  .how-callout {
    display: flex;
  }
}

.how-callout svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--primary);
  flex-shrink: 0;
}

.how-callout p {
  font-size: 0.875rem;
  color: rgba(2, 224, 183, 0.9);
}

.how-callout strong {
  font-weight: 600;
}

.how-right {
  flex: 1;
}

.how-steps {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.step-item {
  display: flex;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-radius: 0.75rem;
  transition: background 0.3s;
}

@media (min-width: 640px) {
  .step-item {
    gap: 1.5rem;
  }
}

.step-item:hover {
  background: rgba(255, 255, 255, 0.02);
}

.step-icon-col {
  position: relative;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.step-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  position: relative;
  z-index: 1;
}

.step-item:hover .step-icon {
  border-color: rgba(2, 224, 183, 0.3);
  background: rgba(2, 224, 183, 0.05);
}

.step-icon svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--fg-muted);
  transition: color 0.3s;
}

.step-item:hover .step-icon svg {
  color: var(--primary);
}

.step-connector {
  display: none;
  width: 1px;
  position: absolute;
  top: 3rem;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(to bottom, rgba(2, 224, 183, 0.25), transparent);
  height: calc(100% + 8px);
}

@media (min-width: 640px) {
  .step-connector {
    display: block;
  }
}

.step-content {
  flex: 1;
  min-width: 0;
}

.step-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.375rem;
}

.step-num {
  font-size: 0.75rem;
  font-family: 'JetBrains Mono', monospace;
  color: rgba(2, 224, 183, 0.5);
  letter-spacing: 0.1em;
}

.step-title {
  font-size: 1rem;
  font-weight: 600;
}

@media (min-width: 640px) {
  .step-title {
    font-size: 1.125rem;
  }
}

.step-desc {
  font-size: 0.875rem;
  color: var(--fg-muted);
  line-height: 1.7;
}

/* ==================== PRODUCTS (solution card style) ==================== */
.products-section {
  position: relative;
  padding: 5rem 0 7rem;
}

.solutions-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .solutions-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.solution-card {
  background: rgba(14, 26, 46, 0.6);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  overflow: hidden;
  transition: all 0.3s;
}

.solution-card:hover {
  border-color: rgba(2, 224, 183, 0.15);
}

.solution-inner {
  display: flex;
  flex-direction: column;
}

@media (min-width: 640px) {
  .solution-inner {
    flex-direction: row;
  }
}

.solution-img {
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(4, 11, 22, 0.4);
  /* Subtle darker background matching img.png */
}

@media (min-width: 640px) {
  .solution-img {
    width: 40%;
  }
}

.solution-img img {
  width: 100%;
  max-width: 10rem;
  height: auto;
  object-fit: contain;
  opacity: 0.9;
  transition: opacity 0.3s;
}

@media (min-width: 640px) {
  .solution-img img {
    max-width: 12rem;
  }
}

.solution-card:hover .solution-img img {
  opacity: 1;
}

.solution-body {
  padding: 2rem;
}

@media (min-width: 640px) {
  .solution-body {
    width: 60%;
  }
}

.solution-badge {
  display: inline-block;
  padding: 0.25rem 0.625rem;
  border-radius: 0.375rem;
  font-size: 0.75rem;
  font-weight: 500;
  background: rgba(14, 26, 46, 0.8);
  border: 1px solid var(--border);
  color: var(--fg);
  margin-bottom: 0.75rem;
}

.solution-body h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.solution-body>p {
  font-size: 0.875rem;
  color: var(--fg-muted);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.solution-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.solution-hl {
  font-size: 0.75rem;
  padding: 0.25rem 0.5rem;
  border-radius: 0.375rem;
  background: rgba(2, 224, 183, 0.1);
  color: var(--primary);
  border: 1px solid rgba(2, 224, 183, 0.2);
}


.why-xcrotek .how-we-work-inner {
  flex-direction: column;
}

@media (min-width: 1024px) {
  .why-xcrotek .how-we-work-inner {
    flex-direction: row-reverse;
  }
}

/* ==================== INDUSTRIES ==================== */
.industries {
  position: relative;
  padding: 5rem 0 7rem;
  overflow: hidden;
}

.industries-panel {
  border-radius: 1rem;
  border: 1px solid rgba(2, 224, 183, 0.1);
  background: #0a1a20;
  padding: 1rem;
}

@media (min-width: 640px) {
  .industries-panel {
    padding: 1.5rem;
  }
}

@media (min-width: 768px) {
  .industries-panel {
    padding: 2rem;
  }
}

@media (min-width: 1024px) {
  .industries-panel {
    padding: 2.5rem;
  }
}

.industries-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem 1.5rem;
}

@media (min-width: 640px) {
  .industries-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem 2rem;
  }
}

@media (min-width: 1024px) {
  .industries-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.industry-item .industry-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.375rem 1rem;
  border-radius: 9999px;
  border: 1px solid rgba(2, 224, 183, 0.25);
  background: rgba(2, 224, 183, 0.05);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--primary);
  margin-bottom: 0.75rem;
  transition: all 0.3s;
}

.industry-item:hover .industry-pill {
  background: rgba(2, 224, 183, 0.1);
  border-color: rgba(2, 224, 183, 0.4);
}

.industry-pill svg {
  width: 0.875rem;
  height: 0.875rem;
}

.industry-item p {
  font-size: 0.875rem;
  color: var(--fg-muted);
  line-height: 1.7;
}

/* ==================== CONTACT ==================== */
.contact {
  position: relative;
  padding: 5rem 0 7rem;
  background: rgba(14, 26, 46, 0.3);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 64rem;
  margin: 0 auto;
}

@media (min-width: 1024px) {
  .contact-grid {
    grid-template-columns: 2fr 3fr;
  }
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-item-icon {
  padding: 0.625rem;
  border-radius: 0.375rem;
  background: rgba(2, 224, 183, 0.1);
  border: 1px solid rgba(2, 224, 183, 0.2);
  flex-shrink: 0;
}

.contact-item-icon svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--primary);
}

.contact-item h4 {
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.contact-item p {
  font-size: 0.875rem;
  color: var(--fg-muted);
}

.contact-promo {
  margin-top: 1rem;
  padding: 1.5rem;
  border-radius: 0.75rem;
  background: rgba(2, 224, 183, 0.05);
  border: 1px solid rgba(2, 224, 183, 0.2);
}

.contact-promo h4 {
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.contact-promo p {
  font-size: 0.875rem;
  color: var(--fg-muted);
  line-height: 1.7;
}

.contact-form-card {
  background: rgba(14, 26, 46, 0.6);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 1.5rem;
}

@media (min-width: 640px) {
  .contact-form-card {
    padding: 2rem;
  }
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 640px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  color: var(--fg-muted);
  margin-bottom: 0.375rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  background: var(--input-bg);
  border: 1px solid var(--input-border);
  border-radius: 0.5rem;
  padding: 0.625rem 0.875rem;
  font-size: 0.875rem;
  outline: none;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: rgba(2, 224, 183, 0.3);
}

.form-group textarea {
  resize: none;
  min-height: 120px;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(107, 127, 153, 0.5);
}

/* ==================== FOOTER ==================== */
.footer {
  border-top: 1px solid var(--border);
  padding: 3rem 0 4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 2.5fr 1fr 1fr 1.5fr;
    gap: 1.5rem;
  }
}

.footer-brand {
  grid-column: span 2;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

@media (min-width: 768px) {
  .footer-brand {
    grid-column: span 1;
    text-align: left;
    align-items: flex-start;
  }
}

.footer-brand img {
  width: 200px;
  height: 60px;
  max-width: 100%;
  object-fit: contain;
  margin-bottom: 1rem;
}

.footer-brand p {
  font-size: 0.875rem;
  color: var(--fg-muted);
  line-height: 1.7;
  max-width: 20rem;
  margin-bottom: 1.5rem;
}

.footer-socials {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
}

@media (min-width: 768px) {
  .footer-socials {
    justify-content: flex-start;
  }
}

.footer-socials a {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.375rem;
  background: rgba(14, 26, 46, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.footer-socials a:hover {
  background: rgba(255, 255, 255, 0.08);
}

.footer-socials a svg {
  width: 1rem;
  height: 1rem;
  color: #ffffff;
}

.footer-socials a.social-linkedin {
  background-color: #0077B5;
}

.footer-socials a.social-youtube {
  background-color: #FF0000;
}

.footer-socials a.social-facebook {
  background-color: #1877F2;
}

.footer-socials a.social-instagram {
  background-color: #E1306C;
}

.footer-socials a.social-x {
  background-color: #000000;
}

.footer-col h4 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  color: #02e0b7;
  border-bottom: 2px solid #02e0b7;
  display: inline-block;
  padding-bottom: 0.25rem;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.footer-col ul a {
  font-size: 0.875rem;
  color: var(--fg-muted);
  transition: color 0.2s;
}

.footer-col ul a:hover {
  color: var(--fg);
}

.offices-col {
  grid-column: span 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .offices-col {
    grid-column: span 1;
    display: flex;
    flex-direction: column;
    gap: 2rem;
  }
}

.footer-map {
  display: none;
  margin-top: 1rem;
}

@media (min-width: 768px) {
  .footer-map {
    display: block;
  }
}

.footer-map iframe {
  width: 100%;
  height: 80px;
  border-radius: 0.5rem;
  border: 1px solid var(--border);
  transition: all 0.3s;
  /* filter: unset; */
}

.footer-map:hover iframe {
  opacity: 0.8;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  text-align: center;
}

@media (min-width: 640px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
    gap: 1rem;
  }
}

.footer-bottom p,
.footer-bottom a {
  font-size: 0.75rem;
  color: var(--fg-muted);
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

/* ==================== TOAST ==================== */
.toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--bg-card);
  border: 1px solid rgba(2, 224, 183, 0.2);
  border-radius: 0.75rem;
  padding: 1rem 1.5rem;
  z-index: 100;
  animation: slideInRight 0.4s ease, fadeOut 0.4s ease 2.6s forwards;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.toast h4 {
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.toast p {
  font-size: 0.8125rem;
  color: var(--fg-muted);
}

/* ==================== ANIMATIONS ==================== */
@keyframes pulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.5;
  }
}

@keyframes bounce {

  0%,
  80%,
  100% {
    transform: translateY(0);
  }

  40% {
    transform: translateY(-6px);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(100px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeOut {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
  }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

.animate-on-scroll.delay-1 {
  transition-delay: 0.1s;
}

.animate-on-scroll.delay-2 {
  transition-delay: 0.2s;
}

.animate-on-scroll.delay-3 {
  transition-delay: 0.3s;
}

.animate-on-scroll.delay-4 {
  transition-delay: 0.4s;
}

.animate-on-scroll.delay-5 {
  transition-delay: 0.5s;
}

.animate-on-scroll.delay-6 {
  transition-delay: 0.6s;
}

/* ==================== UTILITY ==================== */
.text-center {
  text-align: center;
}

.mb-4 {
  margin-bottom: 1rem;
}

.mb-5 {
  margin-bottom: 1.25rem;
}

.mb-16 {
  margin-bottom: 4rem;
}

.mb-20 {
  margin-bottom: 5rem;
}

.relative {
  position: relative;
}

.glow-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.hide-mobile {
  display: none;
}

@media (min-width: 640px) {
  .hide-mobile {
    display: inline;
  }
}

/* ==================== MOBILE RESPONSIVE SPACING FIX ==================== */
@media (max-width: 767px) {

  /* Hero section - reduce min-height and top/bottom padding */
  .hero {
    min-height: auto !important;
    padding-top: 2rem !important;
    padding-bottom: 0.5rem !important;
  }

  .hero-content {
    padding: 1rem 0 !important;
  }

  /* Hero headline line breaks - show only on mobile */
  .mobile-line-break {
    display: block;
  }

  /* Hero buttons - reduce width on mobile */
  .hero-actions .btn {
    width: 70% !important;
    max-width: 280px;
    padding: 0.75rem 1.5rem !important;
    font-size: 0.875rem !important;
  }

  /* Hero badge - ensure centered on mobile */
  .hero-badge-bar {
    display: flex;
    justify-content: center;
  }

  /* Agentic AI Services */
  .services {
    padding: 2.5rem 0;
  }

  /* Products section */
  .products-section {
    padding: 2.5rem 0;
  }

  /* Products section - stacking (moved to consolidated block below) */
  .solution-inner {
    flex-direction: column !important;
  }

  /* Our Process (How We Work) */
  .how-we-work {
    padding: 2.5rem 0;
  }

  .how-we-work-inner {
    gap: 1.5rem;
  }

  /* Why xCroTek - ensure header (Section B) appears before steps (Section A) on mobile/tab */
  .why-xcrotek {
    padding: 2.5rem 0;
  }

  .why-xcrotek .how-we-work-inner {
    display: flex;
    flex-direction: column !important;
  }

  .why-xcrotek .how-left {
    order: -1;
  }

  .why-xcrotek .how-right {
    order: 1;
  }

  /* Industries */
  .industries {
    padding: 2.5rem 0;
  }

  /* Get In Touch (Contact) */
  .contact {
    padding: 2.5rem 0;
  }

  /* Reduce section heading bottom margins on mobile */
  .text-center.mb-16 {
    margin-bottom: 2rem;
  }

  .custom-hero-text-style {
    padding: 10px;
  }

  /* ========== MOBILE ALIGNMENT OVERRIDES ========== */
  
  /* ===== Products section - full center alignment ===== */
  .products-section .text-center {
    text-align: center !important;
  }
  .products-section .section-label,
  .products-section .section-title,
  .products-section .section-desc {
    text-align: center !important;
    display: block !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  /* Card image - centered */
  .solution-img {
    width: 100% !important;
    padding: 1.25rem !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
  .solution-img img {
    max-width: 180px !important;
    width: auto !important;
    height: auto !important;
    display: block !important;
    margin: 0 auto !important;
  }

  /* Card body - centered */
  .solution-body {
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    padding: 1.5rem !important;
  }
  .solution-badge {
    display: inline-block !important;
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  .solution-body h3 {
    text-align: center !important;
    width: 100% !important;
  }
  .solution-body > p {
    text-align: center !important;
    width: 100% !important;
  }
  .solution-highlights {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
  }

  /* Learn More link - centered */
  .solution-body a.btn-ghost {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 auto !important;
    width: auto !important;
  }
  
  /* Agentic AI Services */
  .service-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .service-use-cases {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-left: 0;
  }
  .service-use-cases li {
    text-align: center;
  }

  /* Our Process & Why Xcrotek */
  .how-left, .how-right {
    text-align: center;
    align-items: center;
    display: flex;
    flex-direction: column;
  }
  .how-callout {
    justify-content: center;
    text-align: center;
  }
  .step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .step-icon-col {
    margin-bottom: 1rem;
    align-items: center;
  }
  .step-connector {
    display: none !important;
  }
  .step-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .step-header {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
  }
  .step-desc {
    text-align: center;
  }

  /* Industries */
  .industry-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .industry-pill {
    justify-content: center;
  }

  /* Get In Touch */
  .contact-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.5rem;
  }
  .contact-promo {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .contact-item-icon {
    margin-bottom: 0.5rem;
  }
}