/* ==========================================================================
   CAJ France Technologies Private Limited - Global Design System
   ========================================================================== */

@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Space+Grotesk:wght@500;600;700&display=swap");

:root {
  /* Brand colors */
  --color-primary: #0b1f3a;
  --color-secondary: #007bff;
  --color-accent: #00c2ff;

  /* Background colors */
  --color-background: #ffffff;
  --color-background-dark: #071321;
  --color-background-light: #f8fafc;
  --color-surface: #ffffff;
  --color-surface-muted: #f1f5f9;
  --color-overlay: rgba(7, 19, 33, 0.72);

  /* Text colors */
  --color-text: #172033;
  --color-text-strong: #071321;
  --color-text-muted: #64748b;
  --color-text-subtle: #94a3b8;
  --color-text-inverse: #ffffff;

  /* Border colors */
  --color-border: #e2e8f0;
  --color-border-strong: #cbd5e1;
  --color-border-inverse: rgba(255, 255, 255, 0.18);

  /* Feedback colors */
  --color-success: #16a34a;
  --color-warning: #f59e0b;
  --color-error: #dc2626;

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(7, 19, 33, 0.06);
  --shadow-sm: 0 8px 24px rgba(7, 19, 33, 0.08);
  --shadow-md: 0 18px 48px rgba(7, 19, 33, 0.12);
  --shadow-lg: 0 28px 80px rgba(7, 19, 33, 0.16);
  --shadow-focus: 0 0 0 4px rgba(0, 194, 255, 0.22);

  /* Radius */
  --radius-xs: 4px;
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-pill: 999px;

  /* Motion */
  --transition-fast: 160ms ease;
  --transition-base: 240ms ease;
  --transition-slow: 420ms ease;

  /* Layout */
  --container-width: 1180px;
  --container-narrow: 920px;
  --container-wide: 1360px;
  --container-padding: 24px;
  --section-spacing: 112px;
  --section-spacing-sm: 72px;

  /* Typography */
  --font-heading: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-md: 1.125rem;
  --font-size-lg: 1.25rem;
  --font-size-xl: 1.5rem;
  --font-size-2xl: 2rem;
  --font-size-3xl: 2.5rem;
  --font-size-4xl: 3.5rem;
  --font-size-5xl: 4.5rem;
  --line-height-tight: 1.08;
  --line-height-heading: 1.16;
  --line-height-body: 1.7;
  --font-weight-regular: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  --font-weight-extrabold: 800;

  /* Z-index scale */
  --z-base: 1;
  --z-sticky: 100;
  --z-dropdown: 200;
  --z-overlay: 300;
  --z-modal: 400;
  --z-toast: 500;
}

/* Reset
   ========================================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
  padding: 0;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
  text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100vh;
  background: var(--color-background);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-regular);
  line-height: var(--line-height-body);
  text-rendering: optimizeLegibility;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

img,
video {
  height: auto;
}

input,
button,
textarea,
select {
  color: inherit;
  font: inherit;
}

button {
  border: 0;
  background: transparent;
  cursor: pointer;
}

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

ul,
ol {
  list-style: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

:focus-visible {
  outline: none;
  box-shadow: var(--shadow-focus);
}

::selection {
  background: rgba(0, 194, 255, 0.24);
  color: var(--color-text-strong);
}

/* Typography
   ========================================================================== */

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--color-text-strong);
  font-family: var(--font-heading);
  font-weight: var(--font-weight-bold);
  letter-spacing: 0;
  line-height: var(--line-height-heading);
}

h1 {
  font-size: var(--font-size-5xl);
  line-height: var(--line-height-tight);
}

h2 {
  font-size: var(--font-size-4xl);
}

h3 {
  font-size: var(--font-size-3xl);
}

h4 {
  font-size: var(--font-size-2xl);
}

h5 {
  font-size: var(--font-size-xl);
}

h6 {
  font-size: var(--font-size-lg);
}

p {
  color: var(--color-text-muted);
}

small {
  font-size: var(--font-size-sm);
}

strong {
  color: var(--color-text-strong);
  font-weight: var(--font-weight-bold);
}

/* Layout Utilities
   ========================================================================== */

.container {
  width: min(100% - calc(var(--container-padding) * 2), var(--container-width));
  margin-inline: auto;
}

.container-narrow {
  width: min(
    100% - calc(var(--container-padding) * 2),
    var(--container-narrow)
  );
  margin-inline: auto;
}

.container-wide {
  width: min(100% - calc(var(--container-padding) * 2), var(--container-wide));
  margin-inline: auto;
}

.section {
  padding-block: var(--section-spacing);
}

.section-sm {
  padding-block: var(--section-spacing-sm);
}

.grid {
  display: grid;
  gap: 24px;
}

.flex {
  display: flex;
  gap: 16px;
}

.text-center {
  text-align: center;
}

.hidden {
  display: none !important;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  clip-path: inset(50%);
}

/* Header
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  left: 0;
  z-index: var(--z-sticky);
  width: 100%;
  border-bottom: 1px solid transparent;
  background: transparent;
  transition:
    background-color var(--transition-base),
    border-color var(--transition-base),
    box-shadow var(--transition-base);
}

.site-header.is-scrolled,
.site-header.menu-open {
  border-color: rgba(226, 232, 240, 0.82);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(18px);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 80px;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  border-radius: var(--radius-md);
}

.brand-logo {
  width: auto;
  height: 48px;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 28px;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 12px;
  border-radius: var(--radius-pill);
  color: var(--color-text-muted);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
  line-height: 1;
  transition:
    background-color var(--transition-base),
    color var(--transition-base);
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-primary);
  background: rgba(0, 123, 255, 0.08);
}

.nav-link.active::after {
  position: absolute;
  right: 14px;
  bottom: 6px;
  left: 14px;
  height: 2px;
  border-radius: var(--radius-pill);
  background: linear-gradient(
    90deg,
    var(--color-secondary),
    var(--color-accent)
  );
  content: "";
}

.header-cta {
  min-height: 42px;
  padding-inline: 18px;
}

.menu-toggle {
  position: relative;
  z-index: calc(var(--z-modal) + 1);
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.78);
  transition:
    border-color var(--transition-base),
    background-color var(--transition-base),
    box-shadow var(--transition-base);
}

.menu-toggle:hover {
  border-color: var(--color-border-strong);
  box-shadow: var(--shadow-xs);
}

.menu-toggle span {
  position: absolute;
  width: 18px;
  height: 2px;
  border-radius: var(--radius-pill);
  background: var(--color-primary);
  transition:
    transform var(--transition-base),
    opacity var(--transition-base);
}

.menu-toggle span:nth-child(1) {
  transform: translateY(-6px);
}

.menu-toggle span:nth-child(3) {
  transform: translateY(6px);
}

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

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

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

.nav-lock {
  overflow: hidden;
}

.page-anchor {
  height: 1px;
  scroll-margin-top: 96px;
}

/* Hero
   ========================================================================== */

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: calc(100vh - 80px);
  padding-block: 92px 112px;
  scroll-margin-top: 96px;
  background:
    radial-gradient(
      circle at 14% 18%,
      rgba(0, 194, 255, 0.12),
      transparent 28%
    ),
    radial-gradient(circle at 88% 12%, rgba(0, 123, 255, 0.1), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #ffffff 58%, #f8fafc 100%);
}

.hero::before,
.hero::after {
  position: absolute;
  z-index: -1;
  display: block;
  width: 42vw;
  max-width: 520px;
  height: 42vw;
  max-height: 520px;
  border-radius: 43% 57% 61% 39% / 42% 44% 56% 58%;
  background: rgba(0, 194, 255, 0.08);
  filter: blur(52px);
  content: "";
}

.hero::before {
  top: 12%;
  right: -18%;
}

.hero::after {
  bottom: -24%;
  left: -18%;
  background: rgba(0, 123, 255, 0.07);
}

.hero-container {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
  align-items: center;
  gap: clamp(64px, 8vw, 116px);
}

.hero-content {
  max-width: 640px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid rgba(0, 123, 255, 0.16);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.76);
  color: var(--color-primary);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-bold);
  line-height: 1;
  box-shadow: var(--shadow-xs);
  backdrop-filter: blur(14px);
}

.hero-title {
  max-width: 610px;
  margin-top: 32px;
  font-size: clamp(3.6rem, 7vw, 5.9rem);
  line-height: 1.04;
}

.hero-description {
  max-width: 600px;
  margin-top: 34px;
  color: var(--color-text-muted);
  font-size: var(--font-size-md);
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 44px;
}

.hero-primary-btn,
.hero-secondary-btn {
  min-height: 56px;
  padding-inline: 28px;
}

.hero .hero-primary-btn {
  box-shadow: 0 16px 36px rgba(11, 31, 58, 0.18);
}

.hero .hero-primary-btn:hover {
  box-shadow: 0 22px 48px rgba(11, 31, 58, 0.22);
  transform: translateY(-4px);
}

.hero .hero-secondary-btn {
  border-color: rgba(11, 31, 58, 0.14);
  background: rgba(255, 255, 255, 0.78);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    var(--shadow-xs);
  backdrop-filter: blur(12px);
}

.hero .hero-secondary-btn:hover {
  border-color: rgba(0, 123, 255, 0.34);
  background: rgba(255, 255, 255, 0.96);
  color: var(--color-secondary);
  box-shadow: 0 14px 32px rgba(7, 19, 33, 0.1);
  transform: translateY(-4px);
}

.hero-trust-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 26px;
  margin-top: 38px;
  color: var(--color-text-muted);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
}

.hero-trust-list li {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  line-height: 1.2;
}

.hero-trust-list span {
  display: inline-flex;
  width: 18px;
  height: 18px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-pill);
  background: rgba(34, 197, 94, 0.1);
  color: #22a765;
  font-size: 0.75rem;
  font-weight: var(--font-weight-extrabold);
}

.hero-visual {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 560px;
}

.logo-stage {
  position: relative;
  display: grid;
  width: min(100%, 660px);
  aspect-ratio: 1 / 1;
  place-items: center;
}

.logo-stage::before {
  position: absolute;
  inset: 12%;
  z-index: -2;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(0, 194, 255, 0.18),
    rgba(0, 123, 255, 0.08) 42%,
    transparent 68%
  );
  filter: blur(24px);
  content: "";
}

.logo-stage::after {
  position: absolute;
  z-index: -1;
  width: 42%;
  height: 42%;
  border-radius: 50%;
  background: rgba(0, 194, 255, 0.1);
  box-shadow:
    -180px -126px 92px rgba(0, 123, 255, 0.08),
    154px 116px 104px rgba(0, 194, 255, 0.08),
    40px -168px 90px rgba(11, 31, 58, 0.045);
  filter: blur(38px);
  content: "";
}

.infinity-logo-placeholder {
  position: relative;
  display: grid;
  min-width: 0;
  place-items: center;
  text-align: center;
  text-shadow: 0 18px 58px rgba(0, 123, 255, 0.16);
  will-change: opacity, transform, filter;
}

.infinity-mark {
  color: var(--color-primary);
  font-family: var(--font-heading);
  font-size: clamp(17rem, 31vw, 30rem);
  font-weight: var(--font-weight-bold);
  line-height: 0.72;
}

.infinity-label {
  position: absolute;
  bottom: -42px;
  left: 50%;
  width: max-content;
  color: var(--color-text-muted);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-bold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transform: translateX(-50%);
}

/* Services
   ========================================================================== */

.services {
  position: relative;
  scroll-margin-top: 96px;
  background: var(--color-background);
}

.section-header {
  max-width: 720px;
  margin-inline: auto;
  text-align: center;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border: 1px solid rgba(0, 123, 255, 0.16);
  border-radius: var(--radius-pill);
  background: var(--color-background-light);
  color: var(--color-primary);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-bold);
  line-height: 1;
}

.section-title {
  margin-top: 22px;
  font-size: clamp(2.75rem, 5vw, 4.5rem);
  line-height: 1.05;
}

.section-description {
  max-width: 700px;
  margin: 22px auto 0;
  color: var(--color-text-muted);
  font-size: var(--font-size-md);
  line-height: 1.75;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 64px;
}

.service-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  padding: 36px;
  border: 1px solid rgba(226, 232, 240, 0.92);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  box-shadow: 0 14px 34px rgba(7, 19, 33, 0.055);
  transition:
    border-color var(--transition-base),
    box-shadow var(--transition-base),
    transform var(--transition-base);
}

.service-card:hover,
.service-card:focus-visible {
  border-color: rgba(0, 123, 255, 0.38);
  box-shadow: 0 24px 54px rgba(7, 19, 33, 0.09);
  transform: translateY(-6px);
}

.service-icon {
  display: inline-flex;
  width: 54px;
  height: 54px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(0, 123, 255, 0.16);
  border-radius: var(--radius-md);
  background: var(--color-background-light);
  color: var(--color-secondary);
}

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

.service-icon path,
.service-icon rect,
.service-icon circle {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card h3 {
  margin-top: 28px;
  font-size: var(--font-size-xl);
  line-height: 1.2;
}

.service-card p {
  margin-top: 14px;
  line-height: 1.7;
}

.service-features {
  display: grid;
  gap: 12px;
  margin-top: 28px;
  padding-top: 26px;
  border-top: 1px solid var(--color-border);
  color: var(--color-text);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
}

.service-features li {
  position: relative;
  padding-left: 18px;
}

.service-features li::before {
  position: absolute;
  top: 0.7em;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: var(--radius-pill);
  background: var(--color-accent);
  content: "";
  transform: translateY(-50%);
}

/* Why CAJ
   ========================================================================== */

.why-caj {
  scroll-margin-top: 96px;
  background: var(--color-background-light);
}

.why-caj-header {
  max-width: 760px;
}

.why-caj-title {
  max-width: 720px;
  margin-inline: auto;
  font-size: clamp(2.5rem, 4.3vw, 3.8rem);
  line-height: 1.08;
}

.why-caj-description {
  max-width: 680px;
}

.why-caj-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  max-width: 980px;
  margin: 64px auto 0;
}

.why-caj-card {
  padding: 34px;
  border: 1px solid rgba(226, 232, 240, 0.96);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  transition:
    border-color var(--transition-base),
    box-shadow var(--transition-base),
    transform var(--transition-base);
}

.why-caj-card:hover {
  border-color: rgba(0, 123, 255, 0.36);
  box-shadow: 0 18px 42px rgba(7, 19, 33, 0.065);
  transform: translateY(-5px);
}

.why-caj-icon {
  display: inline-flex;
  width: 52px;
  height: 52px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(0, 123, 255, 0.16);
  border-radius: var(--radius-md);
  background: var(--color-background-light);
  color: var(--color-secondary);
}

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

.why-caj-icon path,
.why-caj-icon rect {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.why-caj-card h3 {
  margin-top: 26px;
  font-size: var(--font-size-xl);
  line-height: 1.22;
}

.why-caj-card p {
  max-width: 34rem;
  margin-top: 12px;
  line-height: 1.65;
}

/* Process
   ========================================================================== */

.process {
  scroll-margin-top: 96px;
  background: var(--color-background);
}

.process-header {
  max-width: 780px;
}

.process-title {
  max-width: 760px;
  margin-inline: auto;
  font-size: clamp(2.45rem, 4.2vw, 3.7rem);
  line-height: 1.08;
}

.process-description {
  max-width: 680px;
}

.process-timeline {
  position: relative;
  display: grid;
  gap: 20px;
  max-width: 880px;
  margin: 64px auto 0;
}

.process-timeline::before {
  position: absolute;
  top: 28px;
  bottom: 28px;
  left: 39px;
  width: 1px;
  background: var(--color-border);
  content: "";
}

.process-step {
  position: relative;
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.process-step-marker {
  position: relative;
  z-index: var(--z-base);
  display: inline-flex;
  width: 80px;
  height: 80px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(0, 123, 255, 0.18);
  border-radius: var(--radius-pill);
  background: var(--color-surface);
  color: var(--color-secondary);
  font-family: var(--font-heading);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-bold);
  letter-spacing: 0.08em;
}

.process-step-content {
  min-height: 112px;
  padding: 26px 30px;
  border: 1px solid rgba(226, 232, 240, 0.96);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  transition:
    border-color var(--transition-base),
    box-shadow var(--transition-base),
    transform var(--transition-base);
}

.process-step:hover .process-step-content {
  border-color: rgba(0, 123, 255, 0.34);
  box-shadow: 0 16px 40px rgba(7, 19, 33, 0.06);
  transform: translateY(-4px);
}

.process-step h3 {
  font-size: var(--font-size-xl);
  line-height: 1.22;
}

.process-step p {
  max-width: 42rem;
  margin-top: 10px;
  line-height: 1.65;
}

/* Technologies
   ========================================================================== */

.technologies {
  scroll-margin-top: 96px;
  background: var(--color-background-light);
}

.technologies-header {
  max-width: 780px;
}

.technologies-title {
  max-width: 760px;
  margin-inline: auto;
  font-size: clamp(2.45rem, 4.2vw, 3.7rem);
  line-height: 1.08;
}

.technologies-description {
  max-width: 690px;
}

.technology-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 64px;
}

.technology-category {
  padding: 32px;
  border: 1px solid rgba(226, 232, 240, 0.96);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.78);
  transition:
    border-color var(--transition-base),
    box-shadow var(--transition-base),
    transform var(--transition-base);
}

.technology-category:hover {
  border-color: rgba(0, 123, 255, 0.28);
  box-shadow: 0 18px 42px rgba(7, 19, 33, 0.055);
  transform: translateY(-4px);
}

.technology-category-header h3 {
  font-size: var(--font-size-xl);
  line-height: 1.22;
}

.technology-category-header p {
  max-width: 34rem;
  margin-top: 10px;
  line-height: 1.65;
}

.technology-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.technology-chip {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  gap: 8px;
  padding: 7px 12px 7px 8px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  background: var(--color-surface);
  color: var(--color-text);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
  line-height: 1;
  transition:
    border-color var(--transition-base),
    color var(--transition-base),
    box-shadow var(--transition-base),
    transform var(--transition-base);
}

.technology-chip:hover {
  border-color: rgba(0, 123, 255, 0.36);
  color: var(--color-primary);
  box-shadow: 0 10px 24px rgba(7, 19, 33, 0.06);
  transform: translateY(-3px);
}

.technology-chip span {
  display: inline-flex;
  min-width: 24px;
  height: 24px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-pill);
  background: var(--color-background-light);
  color: var(--color-secondary);
  font-size: 0.66rem;
  font-weight: var(--font-weight-extrabold);
  letter-spacing: 0.02em;
}

/* Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-bold);
  line-height: 1;
  transition:
    background-color var(--transition-base),
    border-color var(--transition-base),
    color var(--transition-base),
    box-shadow var(--transition-base),
    transform var(--transition-base);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: var(--color-primary);
  color: var(--color-text-inverse);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background: var(--color-background-dark);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  border-color: var(--color-border);
  background: var(--color-surface);
  color: var(--color-primary);
  box-shadow: var(--shadow-xs);
}

.btn-secondary:hover {
  border-color: var(--color-secondary);
  color: var(--color-secondary);
  box-shadow: var(--shadow-sm);
}

/* Cards
   ========================================================================== */

.card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  box-shadow: var(--shadow-xs);
  transition:
    border-color var(--transition-base),
    box-shadow var(--transition-base),
    transform var(--transition-base);
}

.card:hover {
  border-color: var(--color-border-strong);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.card-body {
  padding: 24px;
}

.card-muted {
  background: var(--color-background-light);
}

/* Scrollbar
   ========================================================================== */

* {
  scrollbar-width: thin;
  scrollbar-color: var(--color-border-strong) var(--color-background-light);
}

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: var(--color-background-light);
}

::-webkit-scrollbar-thumb {
  border: 2px solid var(--color-background-light);
  border-radius: var(--radius-pill);
  background: var(--color-border-strong);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-text-subtle);
}

/* =========================
   CONTACT SECTION
========================= */

.contact .container {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 70px;
  align-items: start;
}

.contact-left .badge {
  display: inline-block;
  margin-bottom: 20px;
}

.contact-left h2 {
  font-size: clamp(36px, 3.5vw, 52px);
  line-height: 1.15;
  margin-bottom: 18px;
}

.contact-left p {
  max-width: 520px;
  font-size: 16px;
}

.trust-list {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.trust-list li {
  position: relative;
  padding-left: 18px;
  color: #1a7f37;
}

.trust-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #1a7f37;
}

.contact-actions {
  display: flex;
  gap: 15px;
}

/* FORM */

.contact-form {
  background: #ffffff;
  padding: 35px;
  border-radius: 18px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.contact-form .btn-primary {
  padding: 14px 20px;
  font-weight: 600;
  letter-spacing: 0.2px;
}

.form-group {
  margin-bottom: 15px;
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-size: 14px;
  margin-bottom: 6px;
  color: #333;
}

.form-group input,
.form-group textarea {
  background: #f9fafb;
  border: 1px solid #e6e8ec;
  transition: all 0.25s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  background: #ffffff;
  border-color: #007bff;
}

.full-width {
  width: 100%;
  margin-top: 10px;
}

/* CONTACT INFO */

.contact-info {
  margin-top: 25px;
  padding-top: 20px;
  border-top: 1px solid #eee;
  font-size: 13.5px;
  color: #6b7280;
  line-height: 1.6;
}

/* RESPONSIVE */

@media (max-width: 992px) {
  .contact .container {
    grid-template-columns: 1fr;
  }

  .contact-actions {
    flex-direction: column;
  }
}

/* =========================
   FINAL POLISH SYSTEM
========================= */

/* Better section rhythm */
section {
  padding-block: clamp(80px, 8vw, 140px);
}

/* Smooth section transitions */
section + section {
  margin-top: -20px;
}

/* Improve all headings hierarchy */
h1,
h2,
h3 {
  letter-spacing: -0.03em;
}

/* Improve paragraph readability */
p {
  line-height: 1.7;
  color: #4a5565;
}

/* Better buttons (SaaS feel) */
.btn {
  transition: all 0.25s ease;
  will-change: transform;
}

.btn:hover {
  transform: translateY(-3px);
}

/* Softer focus states (premium feel) */
input:focus,
textarea:focus {
  outline: none;
  box-shadow: 0 0 0 4px rgba(0, 123, 255, 0.12);
}

/* Smooth hover cards everywhere */
.card,
.contact-form,
.service-card,
.tech-card {
  transition: all 0.3s ease;
}

/* Unified hover lift system */
.card:hover,
.service-card:hover,
.tech-card:hover {
  transform: translateY(-6px);
}

/* Subtle page background feel */
body {
  background: #ffffff;
  overflow-x: hidden;
}

/* =========================
   HERO FINAL POLISH
========================= */

.hero h1 {
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.hero p {
  max-width: 520px;
}

.hero .btn {
  transition: all 0.25s ease;
}

.hero .btn-primary:hover {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

/* NAV POLISH */
nav a {
  position: relative;
  transition: all 0.2s ease;
}

nav a::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 50%;
  width: 0;
  height: 2px;
  background: #007bff;
  transition: all 0.25s ease;
  transform: translateX(-50%);
}

nav a:hover::after {
  width: 60%;
}

/* =========================
   FINAL SAAS DEPTH LAYER
========================= */

body {
  background:
    radial-gradient(
      circle at 20% 10%,
      rgba(0, 123, 255, 0.05),
      transparent 40%
    ),
    radial-gradient(
      circle at 80% 30%,
      rgba(0, 194, 255, 0.05),
      transparent 45%
    ),
    #ffffff;
}

.hero .logo-container {
  position: relative;
  transform: translateY(0);
  animation: floatLogo 6s ease-in-out infinite;
}

@keyframes floatLogo {
  0%,
  100% {
    transform: translateY(0px) scale(1);
  }
  50% {
    transform: translateY(-10px) scale(1.02);
  }
}

/* Ambient glow behind logo */
.hero .logo-container::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(0, 123, 255, 0.12), transparent 60%);
  filter: blur(40px);
  z-index: -1;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.hero .container {
  gap: 80px;
}

.hero h1 {
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.hero p {
  max-width: 520px;
  opacity: 0.85;
}

.contact-left {
  padding-right: 20px;
}

.contact-form {
  transform: translateY(-10px);
}

.contact-left h2 {
  font-size: clamp(38px, 4vw, 56px);
}

/* =========================
   FOOTER
========================= */

.footer {
  background: #071321;
  color: #ffffff;
  padding-top: 80px;
  margin-top: 100px;
}

.footer-container {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 60px;
}

/* BRAND */
.footer-logo {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.7);
  max-width: 320px;
  line-height: 1.6;
}

/* LINKS GRID */
.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.footer-column h4 {
  margin-bottom: 15px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.9);
}

.footer-column a,
.footer-column p {
  display: block;
  margin-bottom: 10px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  line-height: 1.5;
}

.footer-column a:hover {
  color: #00c2ff;
}

/* BOTTOM BAR */
.footer-bottom {
  margin-top: 60px;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.footer-bottom p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .footer-container {
    grid-template-columns: 1fr;
  }

  .footer-links {
    grid-template-columns: 1fr;
  }
}

.footer-brand-clean {
  display: grid;
  grid-template-columns: 160px 1fr;
  align-items: center;
  gap: 40px;
}

/* LOGO */
.footer-logo-wrap img {
  width: 140px;
  height: auto;
  object-fit: contain;
  filter: none;
  opacity: 0.95;
}

/* TEXT BLOCK */
.footer-text-wrap {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* COMPANY NAME (CLEAN, NOT BLOCKY) */
.footer-company {
  font-size: 18px;
  font-weight: 600;
  color: #ffffff;
  margin: 0;
  letter-spacing: -0.02em;
}

/* TAGLINE (SOFT, READABLE) */
.footer-tagline {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
  max-width: 420px;
  margin: 0;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .footer-brand-clean {
    grid-template-columns: 1fr;
    gap: 20px;
    text-align: left;
  }

  .footer-logo-wrap img {
    width: 120px;
  }
}
