:root {
  --bg-deep: #0c111a;
  --bg-mid: #0f1726;
  --bg-accent: #132235;
  --accent: #2dd4d3;
  --accent-2: #34d399;
  --text: #f8fafc;
  --muted: #94a3b8;
  --border: rgba(255, 255, 255, 0.08);
  --glass: rgba(15, 24, 38, 0.78);
  --glow: 0 0 24px rgba(45, 212, 211, 0.35);
}

* {
  box-sizing: border-box;
}

body {
  font-family: "Inter", sans-serif;
  color: var(--text);
  background: radial-gradient(circle at 20% 10%, rgba(45, 212, 211, 0.08), transparent 45%),
    radial-gradient(circle at 80% 0%, rgba(52, 211, 153, 0.06), transparent 50%),
    var(--bg-deep);
  margin: 0;
  position: relative;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: -20%;
  background:
    radial-gradient(circle at 30% 20%, rgba(45, 212, 211, 0.08), transparent 40%),
    radial-gradient(circle at 70% 30%, rgba(52, 211, 153, 0.08), transparent 45%);
  opacity: 0.6;
  animation: ambientDrift 18s ease-in-out infinite;
  z-index: -1;
  pointer-events: none;
}

h1, h2, h3 {
  font-family: "Inter", sans-serif;
  letter-spacing: -0.01em;
}

.navbar-brand {
  font-family: "JetBrains Mono", monospace;
}

.brand-mark {
  width: 32px;
  height: 32px;
  object-fit: contain;
  filter: drop-shadow(0 6px 14px rgba(45, 212, 211, 0.35));
}

.hero-section {
  background:
    linear-gradient(140deg, rgba(12, 20, 32, 0.96), rgba(9, 16, 26, 0.94)),
    radial-gradient(circle at 80% 20%, rgba(45, 212, 211, 0.12), transparent 60%);
  min-height: 95vh;
  padding-bottom: 3rem;
  background-size: 160% 160%;
  animation: heroGlow 18s ease-in-out infinite;
  position: relative;
  overflow: hidden;
}

.sub-hero {
  min-height: 75vh;
}

.navbar-brand {
  font-size: 1.4rem;
  letter-spacing: 0.02em;
}

.nav-link {
  color: var(--muted);
}

.nav-link:hover {
  color: var(--text);
}

.hero-content {
  padding-top: 4rem;
  position: relative;
  z-index: 2;
}

.eyebrow {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  font-weight: 600;
  font-family: "JetBrains Mono", monospace;
}

.hero-content h1 {
  font-size: clamp(2.5rem, 4vw, 3.7rem);
  margin-bottom: 1rem;
}

.section-title h2 {
  font-size: clamp(2rem, 3vw, 2.8rem);
}

.section-title p {
  font-size: clamp(1rem, 1.6vw, 1.1rem);
}

.hero-content .lead {
  color: var(--muted);
  font-size: 1.1rem;
}

.btn {
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--accent);
  border: none;
  color: #081118;
  font-weight: 600;
  box-shadow: var(--glow);
}

.btn-primary:hover {
  background: #5eead4;
  color: #081118;
}

.btn-outline-light {
  border-color: rgba(255, 255, 255, 0.5);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 1rem;
  margin-top: 2.5rem;
}

.hero-metrics span {
  display: block;
  font-size: 1.4rem;
  font-weight: 700;
}

.hero-metrics small {
  color: var(--muted);
}

/* Make hero cards equal height */
.hero-content .row.align-items-center {
  align-items: stretch !important;
}

.hero-content .row.align-items-center > [class*="col-"] {
  display: flex;
}

.hero-card {
  background: var(--glass);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  border: 1px solid var(--border);
  backdrop-filter: blur(18px);
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  width: 100%;
}

.hero-card .hero-image-placeholder {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.navbar {
  position: relative;
  z-index: 2;
}

.mesh-bg {
  position: absolute;
  inset: 0;
  opacity: 0.5;
  pointer-events: none;
  z-index: 1;
}

.mesh-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.hero-copy {
  background: rgba(7, 12, 20, 0.98);
  border-radius: 20px;
  padding: 2.5rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.45);
  display: flex;
  flex-direction: column;
  width: 100%;
}

.hero-copy .hero-metrics {
  margin-top: auto;
  padding-top: 1.5rem;
}

.hero-card-footer {
  margin-top: 2rem;
}

.diagram-card {
  position: relative;
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(18, 32, 50, 0.7), rgba(10, 17, 27, 0.85));
  padding: 2rem;
  min-height: 220px;
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  overflow: hidden;
}

.diagram-node {
  width: 96px;
  height: 96px;
  border-radius: 16px;
  background: rgba(45, 212, 211, 0.12);
  border: 1px solid rgba(45, 212, 211, 0.45);
  display: grid;
  place-items: center;
  font-weight: 600;
  color: var(--accent);
  z-index: 1;
  animation: nodePulse 3.6s ease-in-out infinite;
}

.diagram-line {
  position: absolute;
  width: 70%;
  height: 2px;
  background: rgba(45, 212, 211, 0.35);
  top: 50%;
  left: 15%;
  z-index: 0;
  animation: lineGlow 3s ease-in-out infinite;
}

.hero-image-placeholder {
  min-height: 240px;
  aspect-ratio: 4 / 3;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(45, 212, 211, 0.18), rgba(52, 211, 153, 0.12));
  border: 1px dashed rgba(255, 255, 255, 0.18);
  display: grid;
  place-items: center;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.55);
}

.hero-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid var(--border);
}

.section {
  padding: 5rem 0;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.section-title {
  margin-bottom: 2.5rem;
}

.section-title p {
  color: var(--muted);
  max-width: 600px;
}

.section-title.text-center p {
  margin-left: auto;
  margin-right: auto;
}

.feature-card, .step-card, .use-card {
  background: var(--glass);
  border-radius: 16px;
  padding: 1.8rem;
  border: 1px solid var(--border);
  height: 100%;
  backdrop-filter: blur(16px);
  display: flex;
  flex-direction: column;
}

.feature-card p,
.step-card p {
  flex: 1;
  margin-bottom: 0;
}

#features .row {
  align-items: stretch;
}

#features .row > [class*="col-"] {
  display: flex;
}

#use-cases .row {
  display: flex;
  align-items: stretch;
}

#use-cases .row > [class*="col"] {
  display: flex;
}

.use-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.feature-scroller {
  position: relative;
  overflow: hidden;
  padding: 1.8rem 0 2.8rem;
  border-radius: 18px;
  background: var(--glass);
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-y;
}

.feature-scroller:active {
  cursor: grabbing;
}

.feature-track {
  border: 1px solid var(--border);
  backdrop-filter: blur(16px);
}

.feature-track {
  display: flex;
  gap: 1.5rem;
  padding: 0 1.5rem;
  will-change: transform;
  align-items: stretch;
}

.feature-scroller .feature-card {
  min-width: 280px;
  max-width: 320px;
  display: flex;
  flex-direction: column;
}

.feature-scroller .feature-card h3 {
  margin-bottom: 0.5rem;
}

.feature-scroller .feature-card p {
  flex: 1;
  margin-bottom: 0;
}

.feature-image {
  height: 250px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(45, 212, 211, 0.2), rgba(52, 211, 153, 0.2));
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.7rem;
  margin-bottom: 1.2rem;
}

img.feature-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border: 1px solid var(--border);
  border-radius: 12px;
}

.scroll-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(12, 20, 32, 0.7);
  color: rgba(255, 255, 255, 0.65);
  font-size: 1.8rem;
  line-height: 1;
  opacity: 0;
  transition: opacity 200ms ease, transform 200ms ease;
}

.scroll-arrow.left {
  left: 1rem;
}

.scroll-arrow.right {
  right: 1rem;
}

.feature-scroller:hover .scroll-arrow {
  opacity: 1;
}

.feature-scroller:hover .scroll-arrow.left {
  transform: translate(-4px, -50%);
}

.feature-scroller:hover .scroll-arrow.right {
  transform: translate(4px, -50%);
}

.feature-dots {
  position: absolute;
  left: 50%;
  bottom: 0.8rem;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  opacity: 0;
  transition: opacity 200ms ease;
}

.feature-scroller:hover .feature-dots {
  opacity: 1;
}

.feature-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.feature-dot.active {
  background: var(--accent);
  border-color: var(--accent);
}

.use-card-toggle {
  width: 100%;
  text-align: left;
  border: 1px solid var(--border);
  background: var(--glass);
  color: var(--text);
  cursor: pointer;
  appearance: none;
  padding: 1.8rem;
  border-radius: 16px;
  transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.use-card-toggle:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.use-card-toggle:hover {
  border-color: rgba(45, 212, 211, 0.45);
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.35);
}

.use-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.use-card-toggle-icon {
  font-size: 1.4rem;
  color: var(--accent);
  transition: transform 200ms ease;
}

.use-card.expanded .use-card-toggle-icon {
  transform: rotate(45deg);
}

.use-image {
  height: 140px;
  border-radius: 14px;
  margin: 1rem 0 0.8rem;
  background: linear-gradient(135deg, rgba(45, 212, 211, 0.15), rgba(52, 211, 153, 0.12));
  border: 1px dashed rgba(255, 255, 255, 0.12);
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.45);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.7rem;
}

img.use-image {
  width: 100%;
  height: auto;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: transparent;
}

.use-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

.use-summary {
  color: var(--muted);
  margin-bottom: 0;
}

.use-detail {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 280ms ease, opacity 280ms ease;
}

.use-card.expanded .use-detail {
  max-height: 160px;
  opacity: 1;
  margin-top: 0.8rem;
}

.tech-list {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--muted);
}

.tech-list li {
  margin-bottom: 0.5rem;
}

.pricing-card {
  background: var(--glass);
  border-radius: 18px;
  padding: 2rem;
  border: 1px solid var(--border);
  height: 100%;
  backdrop-filter: blur(16px);
}

.pricing-card ul {
  padding-left: 1.1rem;
  margin: 0;
  color: var(--muted);
}

.pricing-card li {
  margin-bottom: 0.4rem;
}

.pricing-card.highlight {
  border-color: rgba(45, 212, 211, 0.6);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.price {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.2rem;
}

.price-note {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.pricing-table {
  margin-top: 2.5rem;
  border-radius: 16px;
  background: var(--glass);
  border: 1px solid var(--border);
  overflow: hidden;
}

.pricing-row {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 1rem;
  padding: 0.9rem 1.4rem;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}

.pricing-row span:last-child {
  text-align: right;
}

.pricing-row.header {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.7rem;
  color: var(--muted);
  background: rgba(10, 18, 30, 0.65);
}

.pricing-row:last-child {
  border-bottom: none;
}

.pricing-meta {
  margin-top: 2rem;
  padding: 1.5rem 1.8rem;
  border-radius: 16px;
  background: rgba(12, 22, 34, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.pricing-meta h4 {
  margin-bottom: 0.8rem;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
}

.pricing-meta ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted);
}

.pricing-meta li {
  margin-bottom: 0.4rem;
}

.pricing-footnote {
  margin-top: 1.2rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 2rem;
}

.contact-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: center;
}

.contact-hero-form {
  background: var(--glass);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border);
  backdrop-filter: blur(16px);
}

.contact-card {
  background: var(--glass);
  border-radius: 18px;
  padding: 2rem;
  border: 1px solid var(--border);
  backdrop-filter: blur(16px);
}

.contact-card h2 {
  margin-bottom: 1rem;
}

.contact-card .text-muted {
  color: rgba(255, 255, 255, 0.7) !important;
}

.contact-form .form-control {
  background: rgba(10, 18, 30, 0.7);
  border: 1px solid var(--border);
  color: var(--text);
}

.contact-form .form-control::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.contact-form .form-label {
  color: var(--muted);
}

.contact-info h3 {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-top: 1.5rem;
}

.contact-info a {
  color: var(--accent-2);
  text-decoration: none;
}

.contact-banner {
  margin-top: 2rem;
  padding: 1.5rem;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(244, 185, 66, 0.2), rgba(70, 210, 160, 0.2));
  border: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 991px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-hero-grid {
    grid-template-columns: 1fr;
  }
}

.timeline {
  display: grid;
  gap: 2rem;
}

.timeline-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.2rem;
  padding: 1.4rem 1.6rem;
  border-radius: 16px;
  background: rgba(16, 28, 45, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: opacity 200ms ease, transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
  position: relative;
}

.timeline-step span {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(70, 210, 160, 0.15);
  border: 1px solid rgba(70, 210, 160, 0.6);
  display: grid;
  place-items: center;
  font-weight: 700;
  color: var(--accent-2);
}

.timeline-step.dim {
  opacity: 0.35;
  transform: scale(0.98);
}

.timeline-step.active {
  opacity: 1;
  border-color: rgba(244, 185, 66, 0.6);
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.35);
}

.timeline-step:not(:last-child)::after {
  content: "↓";
  position: absolute;
  left: 24px;
  bottom: -24px;
  color: rgba(244, 185, 66, 0.6);
  font-size: 1.3rem;
}

.step-anim {
  margin-top: 0.9rem;
  height: 10px;
  border-radius: 999px;
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
}

.step-anim::after {
  content: "";
  position: absolute;
  inset: 0;
  width: 35%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
  transform: translateX(-100%);
  opacity: 0;
}

.timeline-step.active .step-anim::after {
  animation: sweep 1.6s ease-in-out infinite;
  opacity: 1;
}

.anim-deploy { background: rgba(45, 212, 211, 0.2); }
.anim-beacon { background: rgba(52, 211, 153, 0.2); }
.anim-mesh { background: rgba(96, 165, 250, 0.2); }
.anim-command { background: rgba(129, 140, 248, 0.2); }

@keyframes sweep {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(260%); }
}

.workflow-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: center;
}

.workflow-visual {
  position: relative;
  min-height: 320px;
  border-radius: 20px;
  background: var(--glass);
  border: 1px solid var(--border);
  padding: 2rem;
  overflow: hidden;
  backdrop-filter: blur(16px);
}

.visual-panel {
  position: absolute;
  inset: 2rem;
  display: grid;
  gap: 1.5rem;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 300ms ease, transform 300ms ease;
}

.visual-panel.active {
  opacity: 1;
  transform: translateY(0);
}

.visual-image {
  height: 180px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(45, 212, 211, 0.2), rgba(52, 211, 153, 0.18));
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
}

@media (max-width: 991px) {
  .workflow-grid {
    grid-template-columns: 1fr;
  }
}

.section-dark {
  background: linear-gradient(150deg, rgba(9, 16, 28, 0.94), rgba(13, 26, 36, 0.98));
}

.step-card span {
  font-size: 2rem;
  color: var(--accent);
  font-weight: 700;
}

.cta-section {
  background: linear-gradient(120deg, rgba(13, 29, 46, 0.95), rgba(14, 36, 32, 0.96));
}

.cta-card {
  background: var(--glass);
  padding: 2.5rem;
  border-radius: 20px;
  border: 1px solid var(--border);
  text-align: center;
  backdrop-filter: blur(16px);
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  margin-top: 1.5rem;
}

.footer {
  background: #090f18;
  padding: 2rem 0;
  color: var(--muted);
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
  margin-right: 1rem;
}

.footer-links a:hover {
  color: var(--accent);
}

/* =====================================================
   RESPONSIVE / MOBILE-FRIENDLY STYLES
   ===================================================== */

/* Tablet breakpoint (max-width: 991px) */
@media (max-width: 991px) {
  .hero-content {
    padding-top: 2rem;
  }
  .hero-card {
    margin-top: 2rem;
  }
  .hero-section {
    min-height: auto;
    padding-bottom: 2rem;
  }
  .feature-scroller .feature-card {
    min-width: 240px;
  }
  .brand-mark {
    width: 28px;
    height: 28px;
  }
  .hero-copy {
    padding: 2rem;
  }
  
  .section {
    padding: 3.5rem 0;
  }
  
  .section-title {
    margin-bottom: 2rem;
  }
  
  .pricing-row {
    padding: 0.8rem 1rem;
  }
  
  .step-card {
    padding: 1.5rem;
  }
}

/* Small tablet / large phone breakpoint (max-width: 767px) */
@media (max-width: 767px) {
  .hero-content h1 {
    font-size: 2rem;
  }
  
  .hero-content .lead {
    font-size: 1rem;
  }
  
  .hero-metrics {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    margin-top: 2rem;
  }
  
  .hero-metrics span {
    font-size: 1.2rem;
  }
  
  .hero-metrics small {
    font-size: 0.7rem;
  }
  
  .hero-copy {
    padding: 1.5rem;
  }
  
  .hero-card {
    padding: 1.5rem;
  }
  
  .hero-image-placeholder {
    min-height: 180px;
  }
  
  .section {
    padding: 3rem 0;
  }
  
  .section-title h2 {
    font-size: 1.75rem;
  }
  
  .feature-scroller {
    padding: 1.2rem 0 2.2rem;
    border-radius: 14px;
  }
  
  .feature-scroller .feature-card {
    min-width: 220px;
    max-width: 260px;
    padding: 1.4rem;
  }
  
  .feature-image {
    height: 250px;
  }
  
  .scroll-arrow {
    width: 36px;
    height: 36px;
    font-size: 1.4rem;
    opacity: 0.7;
  }
  
  .feature-dots {
    opacity: 1;
  }
  
  .step-card {
    padding: 1.25rem;
  }
  
  .step-card span {
    font-size: 1.6rem;
  }
  
  .use-card-toggle {
    padding: 1.4rem;
  }
  
  .use-image {
    height: 120px;
  }
  
  .use-card-header h3 {
    font-size: 1.1rem;
  }
  
  .pricing-card {
    padding: 1.5rem;
  }
  
  .price {
    font-size: 1.8rem;
  }
  
  .pricing-table {
    margin-top: 2rem;
  }
  
  .pricing-row {
    grid-template-columns: 1fr auto;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
  }
  
  .cta-card {
    padding: 2rem 1.5rem;
  }
  
  .cta-card h2 {
    font-size: 1.5rem;
  }
  
  .contact-card {
    padding: 1.5rem;
  }
  
  .timeline-step {
    padding: 1.2rem;
  }
  
  .timeline-step span {
    width: 38px;
    height: 38px;
    font-size: 0.9rem;
  }
  
  .workflow-visual {
    min-height: 260px;
    padding: 1.5rem;
  }
  
  .visual-panel {
    inset: 1.5rem;
  }
  
  .visual-image {
    height: 140px;
  }
  
  .footer {
    padding: 1.5rem 0;
  }
  
  .footer-links {
    margin-top: 1rem;
  }
  
  .footer-links a {
    display: inline-block;
    margin-right: 0.75rem;
    margin-bottom: 0.5rem;
  }
}

/* Phone breakpoint (max-width: 575px) */
@media (max-width: 575px) {
  body {
    font-size: 0.95rem;
  }
  
  .navbar-brand {
    font-size: 1.2rem;
  }
  
  .brand-mark {
    width: 26px;
    height: 26px;
  }
  
  .eyebrow {
    font-size: 0.65rem;
    letter-spacing: 0.15em;
  }
  
  .hero-content {
    padding-top: 1.5rem;
  }
  
  .hero-content h1 {
    font-size: 1.75rem;
    line-height: 1.2;
  }
  
  .hero-content .lead {
    font-size: 0.95rem;
  }
  
  .hero-copy {
    padding: 1.25rem;
    border-radius: 16px;
  }
  
  .hero-metrics {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0.5rem;
    text-align: center;
  }
  
  .hero-metrics > div {
    padding: 0.5rem 0.25rem;
  }
  
  .hero-metrics span {
    font-size: 1.1rem;
  }
  
  .hero-metrics small {
    font-size: 0.65rem;
    line-height: 1.2;
  }
  
  .hero-card {
    padding: 1.25rem;
    border-radius: 16px;
  }
  
  .hero-image-placeholder {
    min-height: 150px;
    font-size: 0.65rem;
  }
  
  .hero-card-footer {
    margin-top: 1.5rem;
  }
  
  .hero-card-footer h3 {
    font-size: 1.1rem;
  }
  
  .d-flex.flex-wrap.gap-3 {
    flex-direction: column;
    gap: 0.75rem !important;
  }
  
  .d-flex.flex-wrap.gap-3 .btn {
    width: 100%;
    text-align: center;
  }
  
  .section {
    padding: 2.5rem 0;
  }
  
  .section-title {
    margin-bottom: 1.5rem;
  }
  
  .section-title h2 {
    font-size: 1.5rem;
  }
  
  .section-title p {
    font-size: 0.9rem;
  }
  
  .feature-scroller {
    margin-left: -0.75rem;
    margin-right: -0.75rem;
    border-radius: 0;
    padding: 1rem 0 2rem;
  }
  
  .feature-track {
    padding: 0 1rem;
    gap: 1rem;
  }
  
  .feature-scroller .feature-card {
    min-width: 200px;
    max-width: 240px;
    padding: 1.2rem;
  }
  
  .feature-card h3 {
    font-size: 1rem;
  }
  
  .feature-card p {
    font-size: 0.85rem;
  }
  
  .feature-image {
    height: 250px;
    margin-bottom: 1rem;
    font-size: 0.6rem;
  }
  
  .scroll-arrow {
    display: none;
  }
  
  .feature-dots {
    opacity: 1;
    bottom: 0.5rem;
  }
  
  .feature-dot {
    width: 6px;
    height: 6px;
  }
  
  .step-card {
    padding: 1.25rem;
    border-radius: 14px;
  }
  
  .step-card span {
    font-size: 1.4rem;
  }
  
  .step-card h3 {
    font-size: 1.1rem;
    margin-top: 0.75rem;
  }
  
  .step-card p {
    font-size: 0.85rem;
    margin-bottom: 0;
  }
  
  .use-card-toggle {
    padding: 1.25rem;
    border-radius: 14px;
  }
  
  .use-card-header h3 {
    font-size: 1rem;
  }
  
  .use-card-toggle-icon {
    font-size: 1.2rem;
  }
  
  .use-image {
    height: 100px;
    margin: 0.75rem 0;
    border-radius: 10px;
  }
  
  .use-summary {
    font-size: 0.85rem;
  }
  
  .use-detail p {
    font-size: 0.85rem;
  }
  
  .use-card.expanded .use-detail {
    max-height: 200px;
  }
  
  .pricing-card {
    padding: 1.25rem;
    border-radius: 14px;
  }
  
  .pricing-card h3 {
    font-size: 1.1rem;
  }
  
  .price {
    font-size: 1.6rem;
  }
  
  .price-note {
    font-size: 0.8rem;
  }
  
  .pricing-card ul {
    font-size: 0.85rem;
  }
  
  .pricing-table {
    margin-top: 1.5rem;
    border-radius: 12px;
  }
  
  .pricing-row {
    grid-template-columns: 1fr auto;
    gap: 0.5rem;
    padding: 0.65rem 0.9rem;
    font-size: 0.85rem;
  }
  
  .pricing-row.header {
    font-size: 0.6rem;
  }
  
  .pricing-meta {
    padding: 1.2rem;
    border-radius: 12px;
  }
  
  .pricing-meta h4 {
    font-size: 0.8rem;
  }
  
  .pricing-meta ul {
    font-size: 0.85rem;
  }
  
  .pricing-footnote {
    font-size: 0.8rem;
  }
  
  .cta-card {
    padding: 1.5rem 1.25rem;
    border-radius: 16px;
  }
  
  .cta-card h2 {
    font-size: 1.35rem;
  }
  
  .cta-card p {
    font-size: 0.9rem;
  }
  
  .cta-actions {
    flex-direction: column;
    margin-top: 1.25rem;
  }
  
  .cta-actions .btn {
    width: 100%;
  }
  
  .contact-card {
    padding: 1.25rem;
    border-radius: 14px;
  }
  
  .contact-card h2 {
    font-size: 1.35rem;
  }
  
  .contact-form .form-control {
    font-size: 0.95rem;
    padding: 0.65rem 0.9rem;
  }
  
  .contact-info h3 {
    font-size: 0.9rem;
  }
  
  .contact-banner {
    padding: 1.25rem;
    border-radius: 12px;
    font-size: 0.9rem;
  }
  
  .timeline {
    gap: 1.5rem;
  }
  
  .timeline-step {
    padding: 1rem;
    gap: 1rem;
    border-radius: 12px;
  }
  
  .timeline-step span {
    width: 34px;
    height: 34px;
    font-size: 0.85rem;
  }
  
  .timeline-step h4 {
    font-size: 1rem;
  }
  
  .timeline-step p {
    font-size: 0.85rem;
  }
  
  .timeline-step:not(:last-child)::after {
    left: 18px;
    bottom: -18px;
    font-size: 1rem;
  }
  
  .step-anim {
    margin-top: 0.7rem;
    height: 8px;
  }
  
  .workflow-visual {
    min-height: 220px;
    padding: 1.25rem;
    border-radius: 14px;
  }
  
  .visual-panel {
    inset: 1.25rem;
    gap: 1rem;
  }
  
  .visual-image {
    height: 120px;
    border-radius: 12px;
    font-size: 0.65rem;
  }
  
  .diagram-card {
    padding: 1.25rem;
    min-height: 160px;
    border-radius: 12px;
  }
  
  .diagram-node {
    width: 70px;
    height: 70px;
    border-radius: 12px;
    font-size: 0.85rem;
  }
  
  .footer {
    padding: 1.25rem 0;
    text-align: center;
  }
  
  .footer .d-flex {
    flex-direction: column;
    align-items: center;
    gap: 1rem !important;
  }
  
  .footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
  }
  
  .footer-links a {
    margin-right: 0;
    padding: 0.25rem 0.5rem;
  }
  
  /* Improve touch targets */
  .btn {
    min-height: 44px;
    padding: 0.625rem 1.25rem;
  }
  
  .nav-link {
    padding: 0.75rem 1rem;
  }
  
  /* Fix Bootstrap container padding on mobile */
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

/* Extra small phone breakpoint (max-width: 375px) */
@media (max-width: 375px) {
  .hero-content h1 {
    font-size: 1.5rem;
  }
  
  .hero-metrics {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  
  .hero-metrics > div {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border);
  }
  
  .hero-metrics > div:last-child {
    border-bottom: none;
  }
  
  .feature-scroller .feature-card {
    min-width: 180px;
    max-width: 200px;
  }
  
  .pricing-row {
    font-size: 0.8rem;
    padding: 0.6rem 0.75rem;
  }
}

/* =====================================================
   GLOBAL MOBILE ENHANCEMENTS
   ===================================================== */

/* Smooth scrolling for anchor links */
html {
  scroll-behavior: smooth;
}

/* Ensure images are responsive */
img {
  max-width: 100%;
  height: auto;
}

/* Prevent horizontal scroll from any overflowing elements */
html, body {
  overflow-x: hidden;
}

/* Better touch experience */
@media (hover: none) and (pointer: coarse) {
  /* Touch devices - make interactive elements more obvious */
  .btn:active {
    transform: scale(0.98);
  }
  
  .use-card-toggle:active {
    transform: scale(0.99);
  }
  
  /* Show navigation dots always on touch */
  .feature-dots {
    opacity: 1;
  }
  
  /* Disable hover-only styles */
  .scroll-arrow {
    opacity: 0.6;
  }
  
  .feature-scroller:hover .scroll-arrow {
    opacity: 0.6;
  }
}

/* Mobile navbar collapse improvements */
@media (max-width: 991px) {
  .navbar-collapse {
    background: rgba(12, 17, 26, 0.98);
    border-radius: 12px;
    padding: 1rem;
    margin-top: 0.5rem;
    border: 1px solid var(--border);
    backdrop-filter: blur(16px);
  }
  
  .navbar-nav {
    gap: 0 !important;
  }
  
  .nav-link {
    padding: 0.75rem 0.5rem;
    border-radius: 8px;
    transition: background 200ms ease;
  }
  
  .nav-link:hover,
  .nav-link:focus {
    background: rgba(255, 255, 255, 0.05);
  }
  
  .nav-link.active {
    background: rgba(45, 212, 211, 0.1);
    color: var(--accent);
  }
}

/* Improve form inputs on mobile */
@media (max-width: 575px) {
  input, textarea, select, button {
    font-size: 16px !important; /* Prevents zoom on iOS */
  }
  
  .form-control {
    padding: 0.75rem 1rem;
  }
  
  .form-label {
    font-size: 0.9rem;
  }
}

@keyframes nodePulse {
  0%, 100% { transform: scale(1); box-shadow: var(--glow); }
  50% { transform: scale(1.08); box-shadow: 0 0 30px rgba(45, 212, 211, 0.55); }
}

@keyframes lineGlow {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 0.9; }
}

@keyframes heroGlow {
  0%, 100% { background-position: 0% 40%; }
  50% { background-position: 100% 60%; }
}

@keyframes ambientDrift {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(-3%, 3%, 0); }
}


@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
