/* ========================================
   TECSACK SOFTWARE – PREMIUM SAAS WEBSITE
   Main Stylesheet
   ======================================== */

/* ── CSS Custom Properties ── */
:root {
  --clr-blue: #00ABE4;
  --clr-blue-dark: #0090C0;
  --clr-blue-light: #E9F1FA;
  --clr-white: #FFFFFF;
  --clr-bg: #F8FBFE;
  --clr-surface: #FFFFFF;
  --clr-border: #E2ECF4;
  --clr-text: #0D1B2A;
  --clr-text-muted: #5A7184;
  --clr-text-light: #8DA3B4;
  --clr-success: #22C55E;
  --clr-gradient: linear-gradient(135deg, #00ABE4 0%, #0090C0 100%);
  --clr-hero-grad: linear-gradient(160deg, #EBF5FC 0%, #F8FBFE 60%, #E9F1FA 100%);

  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, .06), 0 1px 2px rgba(0, 0, 0, .04);
  --shadow: 0 4px 16px rgba(0, 0, 0, .08), 0 1px 4px rgba(0, 0, 0, .04);
  --shadow-md: 0 8px 32px rgba(0, 0, 0, .10), 0 2px 8px rgba(0, 0, 0, .06);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, .12), 0 4px 16px rgba(0, 0, 0, .06);
  --shadow-blue: 0 8px 32px rgba(0, 171, 228, .25);

  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --container: 1280px;
  --nav-h: 72px;
}

/* ── Reset & Base ── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--clr-text);
  background: var(--clr-bg);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

input,
textarea,
select {
  font-family: inherit;
}

/* ── Container ── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Section Base ── */
.section {
  padding: 100px 0;
}

.section-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--clr-blue);
  background: rgba(0, 171, 228, .08);
  border: 1px solid rgba(0, 171, 228, .2);
  padding: 5px 14px;
  border-radius: 99px;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  line-height: 1.18;
  color: var(--clr-text);
  letter-spacing: -.02em;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 17px;
  color: var(--clr-text-muted);
  max-width: 640px;
  line-height: 1.7;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 24px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  transition: var(--transition);
  white-space: nowrap;
  cursor: pointer;
}

.btn-primary {
  background: var(--clr-gradient);
  color: var(--clr-white);
  box-shadow: var(--shadow-blue);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0, 171, 228, .35);
}

.btn-outline {
  background: transparent;
  color: var(--clr-blue);
  border: 2px solid var(--clr-blue);
}

.btn-outline:hover {
  background: var(--clr-blue);
  color: var(--clr-white);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--clr-text);
  border: 1.5px solid var(--clr-border);
}

.btn-ghost:hover {
  border-color: var(--clr-blue);
  color: var(--clr-blue);
}

.btn-white {
  background: var(--clr-white);
  color: var(--clr-blue);
  font-weight: 700;
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .15);
}

.btn-outline-white {
  background: transparent;
  color: var(--clr-white);
  border: 2px solid rgba(255, 255, 255, .5);
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, .1);
  border-color: white;
}

.btn-lg {
  padding: 15px 32px;
  font-size: 15px;
  border-radius: var(--radius);
}

.btn-full {
  width: 100%;
  justify-content: center;
}

/* ── Logo ── */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.logo-img {
  height: 44px;
  width: auto;
  display: block;
  object-fit: contain;
}

.logo-img-footer {
  height: 40px;
  width: auto;
  display: block;
  object-fit: contain;
  /* invert for dark footer background */
  filter: brightness(0) invert(1);
}

/* Legacy text-logo fallback (still used in footer text) */
.logo-icon {
  flex-shrink: 0;
}

.logo-text {
  font-size: 19px;
  font-weight: 800;
  color: var(--clr-text);
  letter-spacing: -.02em;
}

.logo-accent {
  color: var(--clr-blue);
}

.logo-white .logo-text {
  color: var(--clr-white);
}

.logo-white .logo-accent {
  color: var(--clr-blue);
}

/* Logo brand name (image + text combo) */
.logo-name {
  font-size: 18px;
  font-weight: 800;
  color: var(--clr-text);
  letter-spacing: -.025em;
  line-height: 1;
  white-space: nowrap;
}

.logo-name-accent {
  color: var(--clr-blue);
}

/* Footer variant – white text on dark background */
.logo-name-footer {
  color: #ffffff;
}

.logo-name-accent-footer {
  color: var(--clr-blue);
}


/* ============================================
   HEADER
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.header.scrolled {
  border-color: var(--clr-border);
  box-shadow: 0 4px 24px rgba(0, 0, 0, .06);
}

.header-inner {
  display: flex;
  align-items: center;
  height: var(--nav-h);
  gap: 0;
  justify-content: space-between;
}

/* ── Navigation ── */
.nav {
  flex: 1;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
  justify-content: flex-end;
  /* right-align menu items */
}

.nav-item {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--clr-text-muted);
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
  position: relative;
  /* Reset <button> element defaults */
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  line-height: inherit;
  white-space: nowrap;
  -webkit-appearance: none;
  appearance: none;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 14px;
  width: 0;
  height: 2px;
  background: var(--clr-blue);
  border-radius: 2px;
  transition: width var(--transition);
}

.nav-item:hover .nav-link,
.nav-link.active {
  color: var(--clr-blue);
}

.nav-item:hover .nav-link::after {
  width: calc(100% - 28px);
}

.chevron {
  display: inline-flex;
  align-items: center;
  margin-left: 3px;
  vertical-align: middle;
  transition: transform var(--transition);
  color: currentColor;
}

.chevron svg {
  display: block;
}

/* Chevron rotates on click-open */
.nav-item.dropdown-open .chevron {
  transform: rotate(180deg);
}

/* ── Dropdown – click-triggered (desktop) ── */
.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 220px;
  background: var(--clr-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--clr-border);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
  pointer-events: none;
  z-index: 100;
}

/* Open state controlled by JS via .dropdown-open class */
.nav-item.dropdown-open .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

/* Highlight parent nav link when its dropdown is open */
.nav-item.dropdown-open>.nav-link {
  color: var(--clr-blue);
}

.dropdown-link {
  display: block;
  padding: 9px 12px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--clr-text-muted);
  border-radius: var(--radius-sm);
  transition: background var(--transition), color var(--transition);
}

.dropdown-link:hover {
  background: var(--clr-blue-light);
  color: var(--clr-blue);
}

/* ── Rightmost dropdown aligns to the right edge ── */
.nav-item:last-child .dropdown,
.nav-item:nth-last-child(2) .dropdown {
  left: auto;
  right: 0;
}

/* ── Header Actions (hamburger only on mobile) ── */
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* ── Hamburger ── */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  width: 36px;
  height: 36px;
  justify-content: center;
  align-items: center;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--clr-text);
  border-radius: 2px;
  transition: var(--transition);
}

.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);
}


/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-h);
  background: var(--clr-hero-grad);
  position: relative;
  overflow: hidden;
}

.hero-bg-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .4;
}

.shape-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 171, 228, .15) 0%, transparent 70%);
  top: -200px;
  right: -100px;
}

.shape-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0, 171, 228, .1) 0%, transparent 70%);
  bottom: 0;
  left: -100px;
}

.shape-3 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(0, 90, 180, .08) 0%, transparent 70%);
  top: 50%;
  left: 40%;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding-top: 80px;
  padding-bottom: 80px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--clr-blue);
  background: rgba(0, 171, 228, .08);
  border: 1px solid rgba(0, 171, 228, .25);
  padding: 6px 14px;
  border-radius: 99px;
  margin-bottom: 24px;
}

.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--clr-blue);
  animation: pulse 2s infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: .5;
    transform: scale(1.4);
  }
}

.hero-headline {
  font-size: clamp(34px, 5vw, 60px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -.03em;
  color: var(--clr-text);
  margin-bottom: 20px;
}

.headline-highlight {
  color: var(--clr-blue);
  position: relative;
}

.headline-highlight::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--clr-blue), transparent);
  border-radius: 2px;
}

.hero-subtext {
  font-size: 17px;
  color: var(--clr-text-muted);
  line-height: 1.75;
  margin-bottom: 36px;
  max-width: 520px;
}

.hero-cta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.play-icon {
  font-size: 12px;
}

.trust-badges {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--clr-text-muted);
}

.trust-icon {
  font-size: 15px;
}

/* ── Dashboard Mockup ── */
.dashboard-mockup {
  background: var(--clr-white);
  border-radius: 20px;
  box-shadow: var(--shadow-lg), 0 0 0 1px var(--clr-border);
  overflow: hidden;
  animation: floatY 4s ease-in-out infinite;
  transform-origin: center;
}

@keyframes floatY {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-12px);
  }
}

.mockup-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 14px 16px;
  background: var(--clr-bg);
  border-bottom: 1px solid var(--clr-border);
}

.mockup-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.mockup-bar span:nth-child(1) {
  background: #FF5F57;
}

.mockup-bar span:nth-child(2) {
  background: #FFBD2E;
}

.mockup-bar span:nth-child(3) {
  background: #28CA41;
}

.mockup-body {
  display: flex;
  height: 380px;
}

.mockup-sidebar {
  width: 52px;
  background: var(--clr-blue-light);
  border-right: 1px solid var(--clr-border);
  padding: 16px 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sidebar-item {
  height: 32px;
  border-radius: var(--radius-sm);
  background: var(--clr-border);
  opacity: .6;
}

.sidebar-item.active {
  background: var(--clr-blue);
  opacity: 1;
}

.mockup-content {
  flex: 1;
  padding: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mockup-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mockup-title-block {
  height: 14px;
  width: 140px;
  background: var(--clr-border);
  border-radius: 4px;
}

.mockup-badge-block {
  height: 22px;
  width: 60px;
  background: rgba(0, 171, 228, .15);
  border-radius: 99px;
}

.mockup-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.stat-card {
  background: var(--clr-blue-light);
  border-radius: var(--radius);
  padding: 12px;
}

.stat-num {
  font-size: 18px;
  font-weight: 800;
  color: var(--clr-blue);
  line-height: 1;
}

.stat-label {
  font-size: 10px;
  color: var(--clr-text-muted);
  margin: 4px 0 8px;
}

.stat-bar {
  height: 4px;
  background: rgba(0, 0, 0, .08);
  border-radius: 2px;
  overflow: hidden;
}

.stat-fill {
  height: 100%;
  background: var(--clr-gradient);
  border-radius: 2px;
  transition: width 1s ease;
}

.mockup-chart {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 80px;
}

.chart-bar {
  flex: 1;
  background: linear-gradient(180deg, var(--clr-blue) 0%, rgba(0, 171, 228, .3) 100%);
  border-radius: 4px 4px 0 0;
  transition: height .5s ease;
}

.chart-bar:nth-child(6) {
  background: var(--clr-gradient);
}

.mockup-table {
  flex: 1;
}

.table-row {
  display: grid;
  grid-template-columns: 2fr 1fr .7fr;
  gap: 8px;
  margin-bottom: 8px;
}

.cell {
  height: 10px;
  background: var(--clr-border);
  border-radius: 3px;
}

.header-row .cell {
  height: 12px;
  background: rgba(0, 171, 228, .15);
}

.cell-green {
  background: rgba(34, 197, 94, .25);
}

.cell-blue {
  background: rgba(0, 171, 228, .25);
}


/* ============================================
   PROOF BAR
   ============================================ */
.proof-bar {
  padding: 32px 0;
  background: var(--clr-white);
  border-top: 1px solid var(--clr-border);
  border-bottom: 1px solid var(--clr-border);
}

.proof-bar .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.proof-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--clr-text-light);
  white-space: nowrap;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.proof-logos {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}

.proof-logo {
  font-size: 14px;
  font-weight: 700;
  color: var(--clr-text-light);
  letter-spacing: -.01em;
  transition: color var(--transition);
}

.proof-logo:hover {
  color: var(--clr-blue);
}


/* ============================================
   COMPANY HIGHLIGHTS
   ============================================ */
.highlights-section {
  padding: 64px 0;
  background: var(--clr-white);
}

.highlights-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  max-width: 880px;
  margin: 0 auto;
  background: linear-gradient(135deg, #00ABE4 0%, #0078b8 100%);
  border-radius: 20px;
  padding: 56px 48px;
  box-shadow: 0 24px 64px rgba(0, 171, 228, 0.22);
  text-align: center;
}

.highlight-item {
  flex: 1;
}

.highlight-divider {
  width: 1px;
  height: 72px;
  background: rgba(255, 255, 255, 0.28);
  flex-shrink: 0;
  margin: 0 16px;
}

.highlight-number {
  font-size: clamp(44px, 7vw, 68px);
  font-weight: 900;
  color: #ffffff;
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 10px;
}

.highlight-sup {
  font-size: 0.52em;
  font-weight: 800;
  vertical-align: super;
  line-height: 0;
}

.highlight-label {
  font-size: 13px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.82);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Contact icon SVG alignment */
.contact-icon-svg {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-blue);
}

@media (max-width: 640px) {
  .highlights-inner {
    flex-direction: column;
    gap: 36px;
    padding: 40px 28px;
  }

  .highlight-divider {
    width: 48px;
    height: 1px;
    margin: 0;
  }
}


/* ============================================
   PROBLEM SECTION
   ============================================ */
.problem-section {
  background: var(--clr-white);
  text-align: center;
}

.problem-section .section-subtitle {
  margin: 0 auto 56px;
}

.problem-section .section-title {
  margin-bottom: 12px;
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 56px;
}

.problem-card {
  background: var(--clr-bg);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: left;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.problem-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 171, 228, .3);
}

.problem-icon {
  font-size: 36px;
  margin-bottom: 16px;
  display: block;
}

.problem-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--clr-text);
  margin-bottom: 10px;
}

.problem-card p {
  font-size: 14px;
  color: var(--clr-text-muted);
  line-height: 1.7;
}


/* ============================================
   SOLUTION SECTION
   ============================================ */
.solution-section {
  background: var(--clr-blue-light);
}

.solution-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.solution-text .section-subtitle {
  max-width: 100%;
  margin-bottom: 36px;
}

.solution-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.solution-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.solution-check {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  background: var(--clr-blue);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  margin-top: 2px;
}

.solution-item strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--clr-text);
  margin-bottom: 4px;
}

.solution-item p {
  font-size: 14px;
  color: var(--clr-text-muted);
  line-height: 1.65;
}

/* Solution Card Stack */
.solution-card-stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.sol-card {
  background: var(--clr-white);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius);
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

.sol-card:hover {
  transform: translateX(8px);
  box-shadow: var(--shadow);
}

.sol-card-icon {
  font-size: 28px;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: var(--clr-blue-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
}

.sol-card-text {
  flex: 1;
}

.sol-card-text strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--clr-text);
}

.sol-card-text span {
  font-size: 12.5px;
  color: var(--clr-text-muted);
}

.sol-card-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 99px;
  background: rgba(34, 197, 94, .12);
  color: #16A34A;
  white-space: nowrap;
}

.sol-card-3 .sol-card-badge {
  background: rgba(0, 171, 228, .12);
  color: var(--clr-blue);
}

.sol-card-4 .sol-card-badge {
  background: rgba(0, 171, 228, .12);
  color: var(--clr-blue);
}


/* ============================================
   FEATURES SECTION
   ============================================ */
.features-section {
  background: var(--clr-white);
}

.features-section .section-subtitle {
  margin-bottom: 56px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 56px;
}

.feature-card {
  background: var(--clr-bg);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition), background var(--transition);
  cursor: default;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: var(--clr-blue);
  background: var(--clr-white);
}

.feature-icon-wrap {
  width: 52px;
  height: 52px;
  background: var(--clr-blue-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 18px;
  transition: background var(--transition);
}

.feature-card:hover .feature-icon-wrap {
  background: var(--clr-blue);
}

.feature-card:hover .feature-icon {
  filter: brightness(100) saturate(0);
}

.feature-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--clr-text);
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 14px;
  color: var(--clr-text-muted);
  line-height: 1.65;
}


/* ============================================
   INDUSTRIES SECTION
   ============================================ */
.industries-section {
  background: var(--clr-bg);
}

.industries-section .section-subtitle {
  margin-bottom: 56px;
}

.industries-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}

.industry-card {
  background: var(--clr-white);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  position: relative;
  overflow: hidden;
}

.industry-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--clr-gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.industry-card:hover::before {
  transform: scaleX(1);
}

.industry-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 171, 228, .2);
}

.industry-icon {
  font-size: 40px;
  margin-bottom: 16px;
  display: block;
}

.industry-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--clr-text);
  margin-bottom: 10px;
}

.industry-card p {
  font-size: 14px;
  color: var(--clr-text-muted);
  line-height: 1.7;
  margin-bottom: 20px;
}

.industry-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--clr-blue);
  transition: gap var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.industry-link:hover {
  gap: 10px;
}


/* ============================================
   SERVICES SECTION
   ============================================ */
.services-section {
  background: var(--clr-white);
}

.services-section .section-subtitle {
  margin-bottom: 56px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}

.service-card {
  background: var(--clr-bg);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 171, 228, .3);
}

.service-icon-wrap {
  font-size: 36px;
  margin-bottom: 18px;
  display: block;
}

.service-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--clr-text);
  margin-bottom: 12px;
}

.service-card p {
  font-size: 14px;
  color: var(--clr-text-muted);
  line-height: 1.7;
  margin-bottom: 20px;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.service-tags li {
  font-size: 12px;
  font-weight: 600;
  color: var(--clr-blue);
  background: var(--clr-blue-light);
  border: 1px solid rgba(0, 171, 228, .2);
  padding: 4px 10px;
  border-radius: 99px;
}


/* ============================================
   TECHNOLOGIES SECTION
   ============================================ */
.technologies-section {
  background: var(--clr-blue-light);
}

.technologies-section .section-subtitle {
  margin-bottom: 56px;
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-top: 56px;
}

.tech-card {
  background: var(--clr-white);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius);
  padding: 24px 16px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  cursor: default;
}

.tech-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--clr-blue);
}

.tech-icon {
  font-size: 32px;
  line-height: 1;
}

.tech-card span {
  font-size: 13px;
  font-weight: 600;
  color: var(--clr-text-muted);
}

.platform-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
  justify-content: center;
}

.platform-item {
  padding: 10px 20px;
  background: var(--clr-white);
  border: 1px solid var(--clr-border);
  border-radius: 99px;
  font-size: 13px;
  font-weight: 700;
  color: var(--clr-text-muted);
  letter-spacing: .02em;
  transition: border-color var(--transition), color var(--transition);
}

.platform-item:hover {
  border-color: var(--clr-blue);
  color: var(--clr-blue);
}


/* ============================================
/* ===== WHY CHOOSE US ===== */
.why-section {
  background: var(--clr-white);
  text-align: center;
  /* ⬅ centers heading + subtitle */
}

.why-section .section-subtitle {
  margin: 0 auto 56px;
  max-width: 720px;
}

/* WHY cards grid */
.why-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(220px, 1fr));
  gap: 24px;
  margin: 56px auto 72px;
  justify-content: center;
}

/* Cards */
.why-card {
  text-align: center;
  padding: 36px 20px;
  background: var(--clr-bg);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  transition: transform var(--transition), box-shadow var(--transition);
}

.why-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

/* Icon */
.why-icon-ring {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--clr-blue-light);
  border: 2px solid rgba(0, 171, 228, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin: 0 auto 20px;
  transition: background var(--transition), border-color var(--transition);
}

.why-card:hover .why-icon-ring {
  background: var(--clr-blue);
  border-color: var(--clr-blue);
}

.why-card h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--clr-text);
  margin-bottom: 10px;
}

.why-card p {
  font-size: 13.5px;
  color: var(--clr-text-muted);
  line-height: 1.65;
}

/* ===== Stats Row ===== */
.stats-row {
  display: flex;
  justify-content: center;
  gap: 48px;
  background: var(--clr-blue-light);
  border: 1px solid rgba(0, 171, 228, 0.2);
  border-radius: var(--radius-xl);
  padding: 48px;
  text-align: center;
  flex-wrap: wrap;
}

/* ===== Responsive ===== */
@media (max-width: 1200px) {
  .why-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .why-grid {
    grid-template-columns: 1fr;
  }

  .stats-row {
    gap: 24px;
    padding: 32px;
  }
}

/* Stats Row */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  background: var(--clr-blue-light);
  border: 1px solid rgba(0, 171, 228, .2);
  border-radius: var(--radius-xl);
  padding: 48px;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 900;
  color: var(--clr-blue);
  letter-spacing: -.03em;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-number::after {
  content: '+';
  font-size: .7em;
}

.stat-item:nth-child(2) .stat-number::after {
  content: '.9%';
  font-size: .55em;
}

.stat-desc {
  font-size: 14px;
  font-weight: 600;
  color: var(--clr-text-muted);
}

/* 3-stat homepage variant — 3 equal columns, centred */
.stats-row-3 {
  grid-template-columns: repeat(3, 1fr);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}


/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials-section {
  background: var(--clr-bg);
}

.testimonials-section .section-subtitle {
  margin-bottom: 56px;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}

.testimonial-card {
  background: var(--clr-white);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: transform var(--transition), box-shadow var(--transition);
}

.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.testimonial-stars {
  color: #F59E0B;
  font-size: 16px;
  letter-spacing: 2px;
}

.testimonial-card blockquote {
  font-size: 15px;
  color: var(--clr-text);
  line-height: 1.75;
  flex: 1;
  font-style: italic;
  position: relative;
}

.testimonial-card blockquote::before {
  content: '"';
  font-size: 72px;
  line-height: 1;
  color: var(--clr-blue-light);
  position: absolute;
  top: -24px;
  left: -8px;
  font-family: Georgia, serif;
  font-style: normal;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--clr-gradient);
  color: white;
  font-size: 13px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.author-info strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--clr-text);
}

.author-info span {
  font-size: 12.5px;
  color: var(--clr-text-muted);
}


/* ============================================
   PORTFOLIO SECTION
   ============================================ */
.portfolio-section {
  background: var(--clr-white);
}

.portfolio-section .section-subtitle {
  margin-bottom: 56px;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}

.portfolio-card {
  background: var(--clr-bg);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}

.portfolio-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.portfolio-thumb {
  height: 220px;
  overflow: hidden;
  position: relative;
  background: #0f172a;
  /* dark placeholder while image loads */
}

.portfolio-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform .5s ease, filter .5s ease;
  filter: brightness(0.9) saturate(1.05);
}

.portfolio-card:hover .portfolio-thumb img {
  transform: scale(1.06);
  filter: brightness(1) saturate(1.12);
}

/* Gradient vignette overlay — adds depth, keeps cards branded */
.portfolio-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(10, 20, 40, .42) 100%);
  pointer-events: none;
}

.portfolio-info {
  padding: 24px;
}

.portfolio-tag {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--clr-blue);
  background: var(--clr-blue-light);
  padding: 3px 10px;
  border-radius: 99px;
  display: inline-block;
  margin-bottom: 10px;
}

.portfolio-info h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--clr-text);
  margin-bottom: 8px;
}

.portfolio-info p {
  font-size: 14px;
  color: var(--clr-text-muted);
  line-height: 1.65;
}


/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  padding: 100px 0;
  background: var(--clr-gradient);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.cta-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
}

.cta-text h2 {
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 800;
  color: white;
  letter-spacing: -.02em;
  margin-bottom: 12px;
}

.cta-text p {
  font-size: 16px;
  color: rgba(255, 255, 255, .8);
  max-width: 540px;
  line-height: 1.7;
}

.cta-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  flex-shrink: 0;
}


/* ============================================
   CAREERS SECTION
   ============================================ */
.careers-section {
  background: var(--clr-bg);
}

.careers-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.careers-text .section-title {
  margin-bottom: 16px;
}

.careers-text p {
  font-size: 15px;
  color: var(--clr-text-muted);
  line-height: 1.75;
}

.careers-perks {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 8px;
}

.perk-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.perk-icon {
  font-size: 28px;
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  background: var(--clr-white);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color var(--transition);
}

.perk-item:hover .perk-icon {
  border-color: var(--clr-blue);
}

.perk-item strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--clr-text);
  margin-bottom: 4px;
}

.perk-item p {
  font-size: 13.5px;
  color: var(--clr-text-muted);
  line-height: 1.65;
}


/* ============================================
   CONTACT SECTION
   ============================================ */
.contact-section {
  background: var(--clr-white);
}

.contact-section .section-subtitle {
  margin-bottom: 56px;
}

.contact-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 56px;
  margin-top: 56px;
  align-items: start;
}

/* Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--clr-text);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  background: var(--clr-bg);
  border: 1.5px solid var(--clr-border);
  border-radius: var(--radius);
  font-size: 14px;
  color: var(--clr-text);
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--clr-blue);
  background: var(--clr-white);
  box-shadow: 0 0 0 3px rgba(0, 171, 228, .12);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--clr-text-light);
}

.form-group textarea {
  resize: vertical;
  min-height: 110px;
}

/* Contact Info */
.contact-info-card {
  background: var(--clr-bg);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-xl);
  padding: 36px 32px;
}

.contact-info-card h3 {
  font-size: 20px;
  font-weight: 800;
  color: var(--clr-text);
  margin-bottom: 28px;
}

.contact-detail {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 22px;
}

.contact-icon {
  font-size: 20px;
  width: 40px;
  height: 40px;
  background: var(--clr-blue-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-detail strong {
  display: block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--clr-text-light);
  margin-bottom: 3px;
}

.contact-detail a,
.contact-detail span {
  font-size: 14px;
  font-weight: 500;
  color: var(--clr-text);
  transition: color var(--transition);
}

.contact-detail a:hover {
  color: var(--clr-blue);
}

.contact-markets {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--clr-border);
}

.contact-markets strong {
  display: block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--clr-text-light);
  margin-bottom: 10px;
}

.market-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.market-tags span {
  font-size: 12px;
  font-weight: 600;
  padding: 5px 12px;
  background: var(--clr-blue-light);
  color: var(--clr-blue);
  border-radius: 99px;
  border: 1px solid rgba(0, 171, 228, .2);
}


/* Form message banner */
.form-message {
  display: none;
  padding: 12px 16px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
}
.form-message--success {
  display: block;
  background: #F0FDF4;
  color: #166534;
  border: 1px solid #BBF7D0;
}
.form-message--error {
  display: block;
  background: #FEF2F2;
  color: #991B1B;
  border: 1px solid #FECACA;
}


/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: #0D1B2A;
  color: rgba(255, 255, 255, .75);
}

.footer-top {
  padding: 72px 0 56px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 48px;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255, 255, 255, .5);
  margin-top: 16px;
  max-width: 280px;
}

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.social-link {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, .6);
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}

.social-link svg {
  width: 16px;
  height: 16px;
}

.social-link:hover {
  background: var(--clr-blue);
  border-color: var(--clr-blue);
  color: white;
}

.footer-col h4 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: white;
  margin-bottom: 18px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col li a {
  font-size: 14px;
  color: rgba(255, 255, 255, .5);
  transition: color var(--transition), padding-left var(--transition);
}

.footer-col li a:hover {
  color: var(--clr-blue);
  padding-left: 6px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding: 24px 0;
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-bottom p {
  font-size: 13px;
  color: rgba(255, 255, 255, .35);
}

.footer-legal {
  display: flex;
  gap: 24px;
}

.footer-legal a {
  font-size: 13px;
  color: rgba(255, 255, 255, .35);
  transition: color var(--transition);
}

.footer-legal a:hover {
  color: var(--clr-blue);
}


/* ============================================
   BACK TO TOP
   ============================================ */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 44px;
  height: 44px;
  background: var(--clr-gradient);
  color: white;
  border-radius: 50%;
  font-size: 22px;
  line-height: 1;
  box-shadow: var(--shadow-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all var(--transition);
  z-index: 900;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-4px);
}


/* ============================================
   ANIMATIONS
   ============================================ */
[data-animate] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .65s ease, transform .65s ease;
}

[data-animate="fadeInLeft"] {
  transform: translateX(-30px);
}

[data-animate="fadeInRight"] {
  transform: translateX(30px);
}

[data-animate].in-view {
  opacity: 1;
  transform: translate(0, 0);
}


/* ============================================
   RESPONSIVE – TABLET (max 1100px)
   ============================================ */
@media (max-width: 1100px) {
  .why-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .tech-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 36px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .stats-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-inner {
    gap: 40px;
  }
}

/* ============================================
   RESPONSIVE – MEDIUM (max 900px)
   ============================================ */
@media (max-width: 900px) {
  :root {
    --nav-h: 64px;
  }

  .section {
    padding: 72px 0;
  }

  /* Nav collapse */
  .nav {
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: white;
    border-bottom: 1px solid var(--clr-border);
    box-shadow: var(--shadow-md);
    transform: translateY(-100%);
    opacity: 0;
    transition: transform .3s ease, opacity .3s ease;
    pointer-events: none;
    max-height: calc(100vh - var(--nav-h));
    overflow-y: auto;
  }

  .nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-list {
    flex-direction: column;
    padding: 16px;
    gap: 2px;
    align-items: stretch;
  }

  .nav-link {
    padding: 12px 16px;
  }

  .nav-link::after {
    display: none;
  }

  .dropdown {
    position: static;
    box-shadow: none;
    border: none;
    border-radius: 0;
    background: var(--clr-bg);
    margin: 4px 0 4px 16px;
    border-radius: var(--radius);
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
    display: none;
  }

  .nav-item.open .dropdown {
    display: block;
  }

  .hamburger {
    display: flex;
  }

  .header-actions .btn-ghost {
    display: none;
  }

  /* Grid collapses */
  .hero-inner {
    grid-template-columns: 1fr;
    padding-top: 48px;
  }

  .hero-visual {
    display: none;
  }

  .solution-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .solution-visual {
    order: -1;
  }

  .problem-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .industries-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .tech-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .careers-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .contact-inner {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .cta-inner {
    flex-direction: column;
  }
}

/* ============================================
   RESPONSIVE – MOBILE (max 600px)
   ============================================ */
@media (max-width: 600px) {
  .section {
    padding: 56px 0;
  }

  .problem-grid {
    grid-template-columns: 1fr;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .industries-grid {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .why-grid {
    grid-template-columns: 1fr;
  }

  .tech-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-row {
    grid-template-columns: repeat(2, 1fr);
    padding: 32px;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-cta {
    flex-direction: column;
    align-items: flex-start;
  }

  .trust-badges {
    flex-direction: column;
    gap: 12px;
  }

  .proof-bar .container {
    flex-direction: column;
    gap: 20px;
  }

  .back-to-top {
    bottom: 20px;
    right: 20px;
  }

  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-legal {
    justify-content: center;
  }
}


/* ============================================
   INNER PAGE HERO / PAGE BANNER
   (used on all pages except homepage)
   ============================================ */
.page-hero {
  padding: calc(var(--nav-h) + 64px) 0 72px;
  background: var(--clr-hero-grad);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -120px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 171, 228, .12) 0%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
}

.page-hero .breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
  color: var(--clr-text-muted);
  margin-bottom: 20px;
}

.page-hero .breadcrumb a {
  color: var(--clr-blue);
}

.page-hero .breadcrumb span {
  color: var(--clr-text-light);
}

.page-hero h1 {
  font-size: clamp(30px, 4.5vw, 52px);
  font-weight: 900;
  letter-spacing: -.03em;
  line-height: 1.12;
  color: var(--clr-text);
  margin-bottom: 18px;
}

.page-hero h1 em {
  font-style: normal;
  color: var(--clr-blue);
}

.page-hero p {
  font-size: 17px;
  color: var(--clr-text-muted);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.75;
}


/* ============================================
   SERVICE DETAIL CARDS
   ============================================ */
.service-detail-section {
  background: var(--clr-white);
}

.service-detail-section+.service-detail-section {
  background: var(--clr-bg);
}

.service-detail-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 48px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--clr-border);
}

.service-detail-icon {
  font-size: 40px;
  width: 76px;
  height: 76px;
  background: var(--clr-blue-light);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.service-detail-header h2 {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -.02em;
}

.service-detail-header p {
  font-size: 15px;
  color: var(--clr-text-muted);
  margin-top: 6px;
}

.sub-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.sub-service-card {
  background: var(--clr-bg);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius);
  padding: 24px;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.sub-service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(0, 171, 228, .3);
}

.service-detail-section+.service-detail-section .sub-service-card {
  background: var(--clr-white);
}

.sub-service-card h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--clr-text);
  margin-bottom: 8px;
}

.sub-service-card p {
  font-size: 13.5px;
  color: var(--clr-text-muted);
  line-height: 1.65;
}

@media (max-width: 900px) {
  .sub-services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-detail-header {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 600px) {
  .sub-services-grid {
    grid-template-columns: 1fr;
  }

  .page-hero {
    text-align: left;
  }

  .page-hero .breadcrumb {
    justify-content: flex-start;
  }

  .page-hero p {
    margin: 0;
  }
}


/* ============================================
   ABOUT PAGE – SPECIFIC STYLES
   ============================================ */
.about-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-intro-grid .section-title {
  margin-bottom: 16px;
}

.about-intro-grid p {
  font-size: 15px;
  color: var(--clr-text-muted);
  line-height: 1.8;
  margin-bottom: 14px;
}

.about-values-card {
  background: var(--clr-blue-light);
  border: 1px solid rgba(0, 171, 228, .2);
  border-radius: var(--radius-xl);
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.value-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.value-icon {
  font-size: 22px;
  width: 44px;
  height: 44px;
  background: var(--clr-white);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.value-item strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--clr-text);
  margin-bottom: 3px;
}

.value-item p {
  font-size: 13px;
  color: var(--clr-text-muted);
  line-height: 1.6;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 56px;
}

.team-card {
  text-align: center;
  background: var(--clr-white);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  padding: 32px 20px;
  transition: transform var(--transition), box-shadow var(--transition);
}

.team-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.team-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--clr-gradient);
  color: white;
  font-size: 22px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.team-card h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--clr-text);
  margin-bottom: 4px;
}

.team-card span {
  font-size: 13px;
  color: var(--clr-text-muted);
}

@media (max-width: 900px) {
  .about-intro-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .team-grid {
    grid-template-columns: 1fr;
  }
}


/* ============================================
   INDUSTRY DETAIL CARDS
   ============================================ */
.industry-detail-section {
  padding: 80px 0;
}

.industry-detail-section:nth-child(even) {
  background: var(--clr-bg);
}

.industry-detail-section:nth-child(odd) {
  background: var(--clr-white);
}

.industry-detail-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 56px;
  align-items: start;
}

.industry-detail-aside {
  background: var(--clr-blue-light);
  border: 1px solid rgba(0, 171, 228, .2);
  border-radius: var(--radius-xl);
  padding: 36px;
  position: sticky;
  top: calc(var(--nav-h) + 24px);
}

.industry-detail-aside .big-icon {
  font-size: 56px;
  display: block;
  margin-bottom: 16px;
}

.industry-detail-aside h3 {
  font-size: 22px;
  font-weight: 800;
  color: var(--clr-text);
  margin-bottom: 10px;
}

.industry-detail-aside p {
  font-size: 14px;
  color: var(--clr-text-muted);
  line-height: 1.7;
}

.industry-use-cases {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.use-case-card {
  background: var(--clr-white);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius);
  padding: 20px;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.use-case-card:hover {
  border-color: var(--clr-blue);
  box-shadow: var(--shadow-sm);
}

.use-case-card h5 {
  font-size: 14px;
  font-weight: 700;
  color: var(--clr-text);
  margin-bottom: 6px;
}

.use-case-card p {
  font-size: 13px;
  color: var(--clr-text-muted);
  line-height: 1.6;
}

@media (max-width: 900px) {
  .industry-detail-inner {
    grid-template-columns: 1fr;
  }

  .industry-detail-aside {
    position: static;
  }
}


/* ============================================
   TECHNOLOGIES PAGE
   ============================================ */
.tech-stack-section {
  background: var(--clr-white);
}

.tech-stack-section+.tech-stack-section {
  background: var(--clr-bg);
}

.tech-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.tech-detail-card {
  background: var(--clr-bg);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  gap: 18px;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.tech-stack-section+.tech-stack-section .tech-detail-card {
  background: var(--clr-white);
}

.tech-detail-card:hover {
  border-color: rgba(0, 171, 228, .35);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.tech-detail-icon {
  font-size: 30px;
  width: 56px;
  height: 56px;
  background: var(--clr-blue-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.tech-detail-card h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--clr-text);
  margin-bottom: 6px;
}

.tech-detail-card p {
  font-size: 13.5px;
  color: var(--clr-text-muted);
  line-height: 1.65;
}

.dev-hire-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.dev-hire-card {
  background: var(--clr-white);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.dev-hire-card:hover {
  border-color: var(--clr-blue);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.dev-lang {
  font-size: 28px;
  font-weight: 900;
  color: var(--clr-blue);
  letter-spacing: -.02em;
  margin-bottom: 8px;
}

.dev-hire-card h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--clr-text);
  margin-bottom: 6px;
}

.dev-hire-card p {
  font-size: 13.5px;
  color: var(--clr-text-muted);
  line-height: 1.65;
}

@media (max-width: 900px) {
  .tech-detail-grid {
    grid-template-columns: 1fr;
  }

  .dev-hire-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .dev-hire-grid {
    grid-template-columns: 1fr;
  }
}