/* ============================================================================
   INTELLECT TECHCON SOLUTIONS - GLOBAL STYLES
   Premium, enterprise-grade design system
   ============================================================================ */

:root {
  /* PRIMARY COLORS */
  --primary: #ea6624;
  /* Orange - dominant CTAs, highlights, glow */
  --secondary: #325baa;
  /* Blue - accents, tags, secondary elements */

  /* BACKGROUNDS */
  --bg-base: #0a0a0a;
  /* Near-black base background */
  --bg-surface: #111111;
  /* Card and section surfaces */
  --bg-elevated: #1a1a1a;
  /* Elevated cards, hover states */

  /* TEXT */
  --text-primary: #f5f5f5;
  /* Headlines, primary text */
  --text-secondary: #a0a0a0;
  /* Body copy, descriptions */
  --text-muted: #555555;
  /* Meta, dates, labels */

  /* GLOWS */
  --glow-primary: rgba(234, 102, 36, 0.18);
  /* Orange atmospheric glow */
  --glow-secondary: rgba(50, 91, 170, 0.12);
  /* Blue atmospheric glow */

  /* TYPOGRAPHY */
  --font-display: 'Montserrat', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* TRANSITIONS */
  --transition-fast: 150ms ease;
  --transition-base: 300ms ease;
  --transition-slow: 600ms ease;
}

/* ============================================================================
   RESET & BASE STYLES
   ============================================================================ */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-base);
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  font-weight: 400;
  overflow-x: hidden;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* ============================================================================
   TYPOGRAPHY
   ============================================================================ */

h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.8rem, 6vw, 4.8rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}

h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: var(--text-primary);
}

h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--text-primary);
}

h4,
h5,
h6 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--text-primary);
}

p,
li,
span,
label,
input,
textarea,
select,
td,
th {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.75);
  text-transform: none;
  /* Glass pill */
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 100px;
  padding: 6px 18px;
  margin-bottom: 1.25rem;
  /* Subtle inner top highlight */
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.nav-links a {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.875rem;
}

.btn-primary,
.btn-ghost,
.btn-dark,
.nav-cta {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.01em;
}

label {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.875rem;
}

.footer-col a,
.footer-tagline,
.footer-bottom span {
  font-family: var(--font-body);
}

.label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

/* ============================================================================
   BUTTONS & LINKS
   ============================================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 2rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  border-radius: 8px;
  transition: all var(--transition-fast);
  text-decoration: none;
  white-space: nowrap;
  gap: 0.5rem;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #ffffff;
  background: linear-gradient(90deg, #ea6624 0%, #d45a1e 60%, #b84d18 100%);
  padding: 13px 28px;
  border-radius: 100px;
  text-decoration: none;
  border: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  /* No glow. No box-shadow. Clean pill only. */
}

.btn-dark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 13px 28px;
  border-radius: 100px;
  text-decoration: none;
  letter-spacing: -0.01em;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
  backdrop-filter: blur(8px);
}

.btn-dark:hover {
  background: rgba(255, 255, 255, 0.13);
  border-color: rgba(255, 255, 255, 0.28);
  transform: translateY(-1px);
}

.btn-primary::after {
  content: '→';
  font-size: 1rem;
  transition: transform 0.2s ease;
}

.btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.btn-primary:hover::after {
  transform: translateX(3px);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 600;
  color: #ffffff;
  background: transparent;
  padding: 12px 28px;
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.04);
  transform: translateY(-1px);
}

.link-text {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.link-text:hover {
  gap: 0.7rem;
}

/* ============================================================================
   NAVIGATION & HEADER - GLASS PILL DESIGN
   ============================================================================ */

@media (max-width: 1024px) {
  .navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 14px 20px;
    z-index: 1000;
  }

  /* Remove the floating pill behavior on mobile */
  .nav-inner {
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: none;
    border-radius: 0;
    box-shadow: none;
    margin: 0;
    padding: 0;
    max-width: 100%;
  }
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 25px 40px;
  /* No background on the navbar itself */
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1320px;
  max-height: 100px;
  margin: 0 auto;
  position: relative;
}

/* Logo */
.nav-logo img {
  height: 120px;
  width: auto;
  display: block;
}

/* Glass pill - center links only */
.nav-pill {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 100px;
  padding: 10px 28px;
  /* Subtle inner glow on the top edge */
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 4px 24px rgba(0, 0, 0, 0.3);
  transition: all var(--transition-fast);
}

/* Scroll state - pill darkens slightly */
.navbar.scrolled .nav-pill {
  background: rgba(10, 10, 10, 0.3);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 8px 32px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(234, 102, 36, 0.07);
}

/* Nav links inside pill */
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s ease;
  letter-spacing: 0.01em;
}

.nav-links a:hover {
  color: #ffffff;
}

.nav-links a.active {
  color: #ffffff;
  font-weight: 600;
}

/* Right side */
.nav-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-cta {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  color: #ffffff;
  background: linear-gradient(90deg, #ea6624 0%, #d45a1e 60%, #b84d18 100%);
  padding: 11px 24px;
  border-radius: 100px;
  text-decoration: none;
  white-space: nowrap;
  letter-spacing: 0.01em;
  border: none;
  /* No box-shadow. No glow. */
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.nav-cta:hover {
  opacity: 0.88;
  transform: translateY(-1px);
  /* Still no glow on hover */
}

/* Hamburger (hidden on desktop) */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  padding: 6px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Hamburger → X animation */
.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Inverted cursor */
.invert-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  background: white;
  mix-blend-mode: difference;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.55);
  transition: transform 120ms cubic-bezier(.2, .9, .2, 1), width 120ms ease, height 120ms ease, opacity 120ms ease, box-shadow 120ms ease;
  z-index: 99999;
  opacity: 0;
}

.invert-cursor::after {
  content: '';
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  pointer-events: none;
  mix-blend-mode: difference;
}

.invert-cursor.hover {
  transform: translate(-50%, -50%) scale(1.7);
  width: 26px;
  height: 26px;
  box-shadow: 0 0 0 1.5px rgba(255, 255, 255, 0.65);
}

/* Hide native cursor on devices that support fine pointers */
@media (hover: hover) and (pointer: fine) {

  body,
  a,
  button,
  input,
  textarea,
  select,
  .btn,
  .nav-cta,
  .hamburger,
  .link-text,
  .nav-links a {
    cursor: none;
  }
}

/* Hide custom cursor on touch devices */
@media (hover: none) {
  .invert-cursor {
    display: none !important;
  }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .invert-cursor {
    transition: none;
  }
}

/* Mobile breakpoint */
@media (max-width: 1024px) {
  .navbar {
    padding: 14px 20px;
  }

  .nav-pill {
    display: none;
  }

  .nav-cta {
    display: none;
  }

  .hamburger {
    display: flex;
  }
}

/* Mobile drawer */
.mobile-menu {
  display: none;
  position: fixed;
  top: 76px;
  left: 16px;
  right: 16px;
  background: rgba(12, 12, 12, 0.96);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 1.5rem 2rem;
  z-index: 999;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.6);
}

.mobile-menu.open {
  display: block;
}

.mobile-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.mobile-menu ul a {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  transition: color 0.2s ease;
}

.mobile-menu ul a:hover {
  color: #ffffff;
}

.mobile-cta {
  display: inline-block;
  margin-top: 0.5rem;
  background: var(--primary) !important;
  color: #ffffff !important;
  padding: 10px 22px;
  border-radius: 100px;
  font-family: var(--font-display) !important;
  font-weight: 600 !important;
  text-align: center;
}

/* ============================================================================
   3D CANVAS ELEMENTS
   ============================================================================ */

#hero-canvas {
  position: absolute;
  top: 0;
  right: 0;
  width: 55%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.85;
}

#particle-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.6;
}

#solutions-canvas {
  position: absolute;
  left: -80px;
  top: 50%;
  transform: translateY(-50%);
  width: 340px;
  height: 340px;
  z-index: 0;
  pointer-events: none;
  opacity: 0.7;
}

@media (max-width: 768px) {
  #hero-canvas {
    width: 100%;
    opacity: 0.2;
    top: auto;
    bottom: 0;
    height: 50%;
  }
}

@media (max-width: 1024px) {
  #solutions-canvas {
    display: none;
  }
}

/* ============================================================================
   CTA BANNER SECTION
   ============================================================================ */

.cta-section {
  padding: 80px 0 100px;
  background: var(--bg-base);
}

.cta-card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  padding: 90px 60px;
  text-align: center;
  background: #0f0f0f;
  border: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.04),
    0 32px 80px rgba(0, 0, 0, 0.5);
}

.cta-blob {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(80px);
}

.cta-blob--orange {
  width: 560px;
  height: 420px;
  background: radial-gradient(ellipse at center,
      rgba(234, 102, 36, 0.55) 0%,
      rgba(180, 60, 10, 0.3) 50%,
      transparent 80%);
  bottom: -80px;
  left: -60px;
}

.cta-blob--blue {
  width: 320px;
  height: 280px;
  background: radial-gradient(ellipse at center,
      rgba(50, 91, 170, 0.35) 0%,
      transparent 75%);
  top: -40px;
  right: 0px;
}

.cta-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  max-width: 620px;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin: 0;
}

.cta-content p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.55);
  max-width: 480px;
  line-height: 1.7;
  margin: 0;
}

.cta-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.demo-cta-section {
  padding-top: 64px;
}

.demo-cta-card {
  min-height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.demo-cta-content {
  max-width: 720px;
  gap: 1.5rem;
}

.demo-cta-content h2 {
  font-size: clamp(3rem, 6vw, 5rem);
  max-width: 820px;
}

.demo-cta-content p {
  font-size: 1.12rem;
  max-width: 560px;
}

@media (max-width: 768px) {
  .cta-card {
    padding: 60px 28px;
    border-radius: 16px;
  }

  .cta-blob--orange {
    width: 340px;
    height: 280px;
    bottom: -40px;
    left: -40px;
  }

  .cta-blob--blue {
    width: 200px;
    height: 180px;
  }

  .demo-cta-card {
    min-height: auto;
  }

  .demo-cta-content h2 {
    font-size: clamp(2.4rem, 12vw, 3.4rem);
  }
}

/* ============================================================================
   FEATURED SOLUTIONS OVERRIDE
   ============================================================================ */

.solutions-featured {
  padding: 100px 0;
  position: relative;
  background: var(--bg-base);
}

.section-header {
  text-align: center;
  margin-bottom: 80px;
}

.solution-card-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 100px;
  position: relative;
}

.solution-card-row--reverse {
  direction: rtl;
}

.solution-card-row--reverse>* {
  direction: ltr;
}

.solution-card-text {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  z-index: 1;
}

.solution-blob {
  position: absolute;
  width: 480px;
  height: 380px;
  background: radial-gradient(ellipse at center,
      rgba(234, 102, 36, 0.22) 0%,
      rgba(234, 102, 36, 0.08) 50%,
      transparent 75%);
  filter: blur(72px);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 0;
  pointer-events: none;
}

.solution-tag {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 100px;
  padding: 5px 14px;
  width: fit-content;
}

.solution-card-text h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  position: relative;
  z-index: 1;
  margin: 0;
}

.solution-card-text p {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--text-secondary);
  line-height: 1.75;
  position: relative;
  z-index: 1;
  margin: 0;
  max-width: 420px;
}

.solution-card-text .btn-ghost {
  width: fit-content;
  position: relative;
  z-index: 1;
}

.solution-card-visual {
  position: relative;
  z-index: 1;
}

.mockup-frame {
  background: #111318;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.04),
    0 32px 80px rgba(0, 0, 0, 0.6),
    0 0 60px rgba(50, 91, 170, 0.08);
  transform: perspective(1200px) rotateY(-6deg) rotateX(2deg);
  transition: transform 0.4s ease;
}

.solution-card-row--reverse .mockup-frame {
  transform: perspective(1200px) rotateY(6deg) rotateX(2deg);
}

.mockup-frame:hover {
  transform: perspective(1200px) rotateY(0deg) rotateX(0deg);
}

.solution-card-row--reverse .mockup-frame:hover {
  transform: perspective(1200px) rotateY(0deg) rotateX(0deg);
}

.mockup-topbar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  background: #0d0f14;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: block;
}

.dot.red {
  background: #ff5f57;
}

.dot.yellow {
  background: #febc2e;
}

.dot.green {
  background: #28c840;
}

.mockup-screen {
  padding: 20px;
  min-height: 280px;
  background: linear-gradient(145deg,
      #0f1117 0%,
      #131720 50%,
      #0c0f15 100%);
  position: relative;
  overflow: hidden;
}

.mockup-label {
  position: absolute;
  bottom: 16px;
  right: 20px;
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.12);
  z-index: 0;
}

.mockup-panels {
  width: 100%;
  height: 340px;
  overflow: hidden;
  justify-content: center;
  align-items: center;
  display: flex;
  overflow: hidden;
  border-radius: 4px;
}

.mockup-panels img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 4px;
}

.panel {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 8px;
  position: relative;
  overflow: hidden;
}

.panel--wide {
  grid-column: 1 / -1;
  height: 70px;
  background: linear-gradient(90deg,
      rgba(234, 102, 36, 0.08) 0%,
      rgba(50, 91, 170, 0.08) 100%);
}

.panel--wide::after {
  content: '';
  position: absolute;
  bottom: 14px;
  left: 16px;
  right: 16px;
  height: 2px;
  background: linear-gradient(90deg,
      var(--primary) 0%,
      rgba(234, 102, 36, 0.3) 60%,
      transparent 100%);
  border-radius: 2px;
}

.panel--tall {
  height: 120px;
  background: rgba(50, 91, 170, 0.06);
}

.panel--tall::before {
  content: '';
  position: absolute;
  bottom: 12px;
  left: 12px;
  right: 12px;
  height: 60%;
  background: repeating-linear-gradient(90deg,
      rgba(50, 91, 170, 0.3) 0px,
      rgba(50, 91, 170, 0.3) 8px,
      transparent 8px,
      transparent 14px);
  border-radius: 2px;
}

.panel--small {
  height: 80px;
}

.panel--chart {
  grid-column: 1 / -1;
  height: 80px;
  background: rgba(234, 102, 36, 0.04);
}

.panel--chart::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60%;
  background: linear-gradient(180deg,
      transparent 0%,
      rgba(234, 102, 36, 0.15) 100%);
  clip-path: polygon(0% 100%, 0% 60%, 5% 40%, 10% 55%,
      18% 20%, 25% 45%, 33% 30%, 42% 50%,
      50% 25%, 58% 45%, 66% 35%, 74% 55%,
      82% 30%, 90% 50%, 95% 40%, 100% 55%,
      100% 100%);
}

.panel--grid {
  height: 120px;
  background: repeating-linear-gradient(rgba(255, 255, 255, 0.03) 0px,
      rgba(255, 255, 255, 0.03) 1px,
      transparent 1px,
      transparent 24px),
    repeating-linear-gradient(90deg,
      rgba(255, 255, 255, 0.03) 0px,
      rgba(255, 255, 255, 0.03) 1px,
      transparent 1px,
      transparent 24px);
}

.panel--bar {
  height: 80px;
  background: rgba(50, 91, 170, 0.05);
}

.panel--bar::before {
  content: '';
  position: absolute;
  bottom: 10px;
  left: 10px;
  width: 70%;
  height: 6px;
  background: linear-gradient(90deg,
      var(--secondary) 0%,
      rgba(50, 91, 170, 0.3) 100%);
  border-radius: 3px;
}

.solutions-more {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.btn-see-more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  background: linear-gradient(90deg, #ea6624 0%, #d45a1e 60%, #b84d18 100%);
  padding: 16px 40px;
  border-radius: 12px;
  text-decoration: none;
  border: none;
  letter-spacing: 0.01em;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.btn-see-more:hover {
  opacity: 0.88;
  transform: translateY(-2px);
}

@media (max-width: 1024px) {
  .solution-card-row {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    margin-bottom: 70px;
  }

  .solution-card-row--reverse {
    direction: ltr;
  }

  .mockup-frame {
    transform: none;
  }

  .solution-card-row--reverse .mockup-frame {
    transform: none;
  }
}

@media (max-width: 640px) {
  .solution-card-row {
    margin-bottom: 50px;
  }

  .solution-blob {
    width: 300px;
    height: 260px;
  }
}

/* ============================================================================
   NEW FOOTER SECTION
   ============================================================================ */

.footer {
  background: #080808;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 72px 0 0;
  position: relative;
}

.footer::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 500px;
  height: 300px;
  background: radial-gradient(ellipse at bottom right,
      rgba(234, 102, 36, 0.18) 0%,
      transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  padding-bottom: 3rem;
  position: relative;
  z-index: 1;
}

.footer-logo {
  height: 100px;
  width: auto;
  margin-bottom: 1px;
  display: block;
}

.footer-tagline {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.7;
  margin: 0;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  padding-top: 0.25rem;
}

.footer-col a {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: color 0.2s ease;
  width: fit-content;
}

.footer-col a:hover {
  color: rgba(255, 255, 255, 0.9);
}

.footer-contact a {
  font-size: 0.875rem;
}

.footer-social {
  display: flex;
  gap: 1rem;
  margin-top: 0.5rem;
}

.footer-social a {
  color: rgba(255, 255, 255, 0.45);
  transition: color 0.2s ease;
  display: flex;
  align-items: center;
}

.footer-social a:hover {
  color: var(--primary);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 1.5rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 1;
}

.footer-bottom span {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.28);
  line-height: 1.5;
}

@media (max-width: 1024px) {
  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
}

/* ============================================================================
   SECTIONS & LAYOUT
   ============================================================================ */

section {
  padding: 100px 0;
  position: relative;
  overflow: hidden;
  /* Contains glow blobs */
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
}

.section-padding {
  padding: 4rem 0;
}

.section-padding-large {
  padding: 6rem 0;
}

/* Section typography */
.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--text-primary);
  line-height: 1.15;
  letter-spacing: -0.025em;
  /* Tight, premium feel */
  text-align: center;
  margin-bottom: 0.75rem;
}

.section-subtitle {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-secondary);
  text-align: center;
  max-width: 480px;
  margin: 0 auto 3rem;
}

.service-card p,
.solution-card p,
.blog-card p {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.9rem;
}

.faq-question {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
}

.faq-answer {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.95rem;
}

/* Glow blobs */
.glow-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
}

.glow-primary {
  background-color: var(--glow-primary);
}

.glow-secondary {
  background-color: var(--glow-secondary);
}

/* Grid pattern overlay */
.grid-overlay {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 0;
}

/* Noise overlay */
.noise-overlay {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' seed='2' /%3E%3C/filter%3E%3Crect width='400' height='400' fill='white' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  opacity: 1;
  pointer-events: none;
  z-index: 0;
}

/* Fade-in animation for scroll reveal */
.fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================================
   HERO SECTIONS
   ============================================================================ */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 80px;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 2rem;
}

.hero h1 {
  margin-bottom: 1.5rem;
  animation: slideInUp 0.8s ease-out;
}

.hero .sub-headline {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-secondary);
  margin-bottom: 2rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.8;
  animation: slideInUp 0.8s ease-out 0.1s both;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: slideInUp 0.8s ease-out 0.2s both;
}

.hero-short {
  min-height: 50vh;
  padding-top: 100px;
}

.blog-hero {
  min-height: 34vh;
  padding-bottom: 2rem;
}

.blog-hero .sub-headline {
  margin-bottom: 0;
}

.blog-listing {
  padding-top: 2rem;
}

.blog-grid {
  margin-top: 0;
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================================================
   MARQUEE / TICKER
   ============================================================================ */

.marquee-section {
  background-color: var(--bg-surface);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
  padding: 1.5rem 0;
}

.marquee {
  display: flex;
  gap: 2rem;
  animation: marquee 40s linear infinite;
  white-space: nowrap;
  will-change: transform;
}

.marquee-item {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 2rem;
}

.marquee-item::after {
  content: '◆';
  color: var(--primary);
  margin-left: 2rem;
}

.marquee-item:last-child::after {
  display: none;
}

/* Duplicate for seamless loop */
.marquee {
  animation: marquee 40s linear infinite;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* ============================================================================
   GRID LAYOUTS
   ============================================================================ */

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
}

@media (max-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-card:nth-child(2n) {
    border-right: none;
  }

  .service-card:nth-child(odd) {
    border-right: 1px solid rgba(255, 255, 255, 0.08);
  }

  .service-card {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
}

@media (max-width: 768px) {

  .grid-3,
  .grid-2,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  section {
    padding: 72px 0;
  }

  .container {
    padding: 0 20px;
  }

  .services-grid {
    grid-template-columns: 1fr;
    border-bottom: none;
  }

  .service-card {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .service-card:last-child {
    border-bottom: none;
  }

  .services-cta-strip {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ============================================================================
   CARDS
   ============================================================================ */

.card {
  background-color: var(--bg-surface);
  border-radius: 12px;
  overflow: hidden;
  transition: all var(--transition-base);
  position: relative;
}

.card:hover {
  transform: translateY(-4px);
  background-color: var(--bg-elevated);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin: 3rem 0;
}

.service-card {
  padding: 2.5rem 2rem;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  /* No background, no border-radius, no shadow */
}

.service-card:last-child {
  border-right: none;
}

@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .service-card {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 2rem 1.25rem;
  }

  .service-card:last-child {
    border-bottom: none;
  }
}

/* Icon */
.service-icon {
  width: 36px;
  height: 36px;
  margin-bottom: 1.5rem;
  color: var(--primary);
  /* orange tint on SVG icons */
}

/* Service name */
.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.3;
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}

/* Description */
.service-card p {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* CTA strip below grid */
.services-cta-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2rem 0 0;
  gap: 1rem;
}

.services-cta-strip p {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-secondary);
}

.solution-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  height: 100%;
}

.solution-card-image {
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, rgba(234, 102, 36, 0.15), rgba(50, 91, 170, 0.15));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.solution-icon {
  width: 56px;
  height: 56px;
  color: var(--primary);
  flex-shrink: 0;
}

.solution-card-content {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.solution-card h3 {
  margin: 0;
}

.solution-card p {
  font-size: 0.9rem;
  margin: 0;
  flex: 1;
}

.blog-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.blog-card-image {
  aspect-ratio: 16/9;
  background-color: var(--bg-elevated);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.blog-card-meta {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-bottom: 0.75rem;
}

.blog-card-tag {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: white;
  background-color: var(--secondary);
  padding: 0.4rem 0.8rem;
  border-radius: 4px;
}

.blog-card-date {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.blog-card h3 {
  margin-bottom: 0.75rem;
  font-size: 1.2rem;
}

.blog-card p {
  font-size: 0.9rem;
  margin-bottom: 1rem;
  flex: 1;
}

.value-pillar {
  padding: 2rem;
  background-color: var(--bg-base);
  border-left: 3px solid var(--primary);
  position: relative;
}

.value-pillar h3 {
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.value-pillar p {
  font-size: 0.95rem;
}

/* ============================================================================
   FORMS
   ============================================================================ */

.form-group {
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  background-color: var(--bg-elevated);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 0.875rem 1rem;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(234, 102, 36, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23ea6624' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.form-submit {
  width: 100%;
}

/* ============================================================================
   ACCORDION (FAQ)
   ============================================================================ */

.accordion {
  list-style: none;
}

.accordion-item {
  margin-bottom: 1rem;
  background-color: var(--bg-surface);
  border-radius: 8px;
  overflow: hidden;
  transition: all var(--transition-fast);
}

.accordion-item.active {
  background-color: var(--bg-elevated);
}

.accordion-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1.5rem;
  background: none;
  border: none;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  text-align: left;
  transition: all var(--transition-fast);
  border-left: 3px solid transparent;
}

.accordion-item.active .accordion-trigger {
  color: var(--primary);
  border-left-color: var(--primary);
}

.accordion-trigger:hover {
  background-color: rgba(234, 102, 36, 0.05);
}

.accordion-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  font-size: 1.4rem;
  color: var(--primary);
  transition: transform var(--transition-fast);
}

.accordion-item.active .accordion-toggle {
  transform: rotate(180deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-base) ease;
}

.accordion-item.active .accordion-content {
  max-height: 500px;
}

.accordion-body {
  padding: 0 1.5rem 1.5rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ============================================================================
   TWO-COLUMN LAYOUT
   ============================================================================ */

.two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

@media (max-width: 768px) {
  .two-column {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* ============================================================================
   UTILITIES
   ============================================================================ */

.text-center {
  text-align: center;
}

.mt-1 {
  margin-top: 1rem;
}

.mt-2 {
  margin-top: 2rem;
}

.mt-3 {
  margin-top: 3rem;
}

.mb-1 {
  margin-bottom: 1rem;
}

.mb-2 {
  margin-bottom: 2rem;
}

.mb-3 {
  margin-bottom: 3rem;
}

.hidden {
  display: none !important;
}

/* ============================================================================
   RESPONSIVE ADJUSTMENTS
   ============================================================================ */

@media (max-width: 768px) {
  body {
    font-size: 0.95rem;
  }

  h1 {
    font-size: clamp(2rem, 5vw, 2.8rem);
  }

  h2 {
    font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  }

  .section-padding {
    padding: 3rem 0;
  }

  .section-padding-large {
    padding: 4rem 0;
  }

  .btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
  }

  .hero {
    padding-top: 100px;
    min-height: 70vh;
  }

  .container {
    padding: 0 1.5rem;
  }
}

/* Main container */
.choices {
  width: 100%;
}

/* Input area */
.choices__inner {
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 12px !important;
  min-height: 30px !important;
  color: #fff !important;
  padding: 10px !important;
}

/* Dropdown */
.choices__list--dropdown,
.choices__list[aria-expanded] {
  background: #111 !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  color: #fff !important;
}

/* Options */
.choices__item--choice {
  color: #fff !important;
  padding: 12px 16px !important;
}

.choices__item--choice:hover {
  background: rgba(255, 102, 0, 0.15) !important;
}

/* Selected tags */
.choices__list--multiple .choices__item {
  background: rgba(255, 102, 0, 0.2) !important;
  border: 1px solid #ff6600 !important;
  color: #fff !important;
  border-radius: 8px !important;
}

/* Placeholder */
.choices__placeholder {
  color: rgba(255, 255, 255, 0.5) !important;
}

/* Search field */
.choices__input {
  background: transparent !important;
  color: #fff !important;
  padding: 6px !important;
  margin: 8px !important;
  min-width: 230px !important;
  line-height: 1.2 !important;
}

/* Focus state */
.is-focused .choices__inner,
.is-open .choices__inner {
  border-color: #ff6600 !important;
  box-shadow: 0 0 0 3px rgba(255, 102, 0, 0.15) !important;
}

.choices__item--selectable.is-highlighted {
  background: rgba(255, 102, 0, 0.25) !important;
  color: #fff !important;
}

.choices__list--dropdown .choices__item--selectable.is-highlighted {
  background: #ff6600 !important;
  color: #fff !important;
}

.choices__item--choice {
  color: #fff !important;
}

.choices__item--choice.is-selected {
  background: rgba(255, 102, 0, 0.2) !important;
  color: #fff !important;
}