/* ============================================
   INTLLUSION — LANDING PAGE STYLES
   Dark 3D Immersive Aesthetic
   ============================================ */

/* --- DESIGN TOKENS --- */
:root {
  --bg:            #030508;
  --bg-2:          #07090f;
  --bg-card:       rgba(255, 255, 255, 0.03);
  --bg-card-hover: rgba(255, 255, 255, 0.055);

  --blue:          #4f8ef7;
  --blue-light:    #7db0ff;
  --blue-dim:      rgba(79, 142, 247, 0.15);
  --violet:        #8b5cf6;
  --cyan:          #00c8ff;

  --text:          #dde4f0;
  --text-muted:    #5a6680;
  --text-dim:      #2e3a50;

  --border:        rgba(255, 255, 255, 0.07);
  --border-mid:    rgba(255, 255, 255, 0.10);
  --border-strong: rgba(255, 255, 255, 0.14);

  --glow-blue:     rgba(79, 142, 247, 0.18);
  --glow-violet:   rgba(139, 92, 246, 0.14);

  --font-display:  'Syne', sans-serif;
  --font-body:     'DM Sans', sans-serif;
  --font-mono:     'JetBrains Mono', monospace;

  --radius:        16px;
  --radius-sm:     10px;
  --radius-xs:     7px;

  --nav-h:         68px;
  --max-w:         1180px;
}

/* --- RESET --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a  { text-decoration: none; color: inherit; }
svg, img { display: block; }
button { border: none; background: none; cursor: pointer; font: inherit; }
input, textarea, button { -webkit-appearance: none; appearance: none; }

/* ============================================
   BACKGROUND LAYERS
   ============================================ */

.bg-grid {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(79, 142, 247, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(79, 142, 247, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 0%, black 30%, transparent 100%);
}

.bg-orbs {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  opacity: 0.45;
}

.orb-1 {
  width: 650px; height: 650px;
  background: radial-gradient(circle, rgba(79, 142, 247, 0.4), transparent 70%);
  top: -180px; left: -120px;
  animation: orbFloat1 22s ease-in-out infinite;
}

.orb-2 {
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.35), transparent 70%);
  top: 35%; right: -160px;
  animation: orbFloat2 27s ease-in-out infinite;
}

.orb-3 {
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(0, 200, 255, 0.22), transparent 70%);
  bottom: 5%; left: 25%;
  animation: orbFloat3 19s ease-in-out infinite;
}

@keyframes orbFloat1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%       { transform: translate(70px, 80px) scale(1.06); }
  66%       { transform: translate(-30px, 110px) scale(0.94); }
}
@keyframes orbFloat2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  40%       { transform: translate(-70px, -90px) scale(1.1); }
  70%       { transform: translate(50px, 55px) scale(0.9); }
}
@keyframes orbFloat3 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%       { transform: translate(-90px, -55px) scale(1.09); }
}

/* ============================================
   NAVBAR
   ============================================ */

.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  transition: background 0.35s, border-color 0.35s, backdrop-filter 0.35s;
}

.navbar.scrolled {
  background: rgba(3, 5, 8, 0.72);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 32px rgba(0, 0, 0, 0.5);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
}

/* Logo */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--text);
}

.logo-text {
  position: relative;
  transition: text-shadow 0.3s;
}

.logo:hover .logo-text {
  text-shadow: 0 0 20px rgba(79, 142, 247, 0.5);
}

.logo-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 10px var(--blue), 0 0 20px rgba(79, 142, 247, 0.5);
  flex-shrink: 0;
  align-self: flex-end;
  margin-bottom: 5px;
  animation: logoPulse 2.5s ease-in-out infinite;
}

@keyframes logoPulse {
  0%, 100% { box-shadow: 0 0 10px var(--blue), 0 0 20px rgba(79, 142, 247, 0.5); opacity: 1; }
  50%       { box-shadow: 0 0 5px var(--blue); opacity: 0.65; }
}

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.22s;
  position: relative;
  padding-bottom: 2px;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0; right: 0;
  height: 1px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link:hover { color: var(--text); }
.nav-link:hover::after { transform: scaleX(1); }

.nav-cta {
  padding: 9px 24px;
  border-radius: 40px;
  background: var(--blue);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: box-shadow 0.28s, transform 0.22s, background 0.22s;
  position: relative;
  overflow: hidden;
}

.nav-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(255,255,255,0.18), transparent 60%);
  opacity: 0;
  transition: opacity 0.25s;
}

.nav-cta:hover {
  background: var(--blue-light);
  box-shadow: 0 0 24px rgba(79, 142, 247, 0.55), 0 6px 20px rgba(0, 0, 0, 0.45);
  transform: translateY(-1px);
}

.nav-cta:hover::before { opacity: 1; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px 4px;
  z-index: 10;
}

.hamburger span {
  display: block;
  width: 22px; height: 1.5px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.28s ease, opacity 0.22s;
  transform-origin: center;
}

.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ============================================
   HERO
   ============================================ */

.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + 72px) 32px 96px;
  z-index: 1;
  overflow: hidden;
}

.hero-content {
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 30px;
  position: relative;
  z-index: 2;
  will-change: transform, opacity;
}

/* Status badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px 8px 13px;
  background: rgba(79, 142, 247, 0.08);
  border: 1px solid rgba(79, 142, 247, 0.22);
  border-radius: 40px;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--blue-light);
  width: fit-content;
  animation: fadeSlideUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 8px #4ade80, 0 0 16px rgba(74, 222, 128, 0.4);
  flex-shrink: 0;
  animation: logoPulse 2s infinite;
}

/* Headline */
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 7.5vw, 7rem);
  font-weight: 800;
  line-height: 1.03;
  letter-spacing: -0.04em;
  display: flex;
  flex-direction: column;
  animation: fadeSlideUp 0.9s 0.1s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.title-line { display: block; }

.accent-line {
  background: linear-gradient(125deg, var(--blue) 0%, var(--violet) 50%, var(--cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% 200%;
  animation: gradientShift 6s ease infinite;
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50%       { background-position: 100% 50%; }
}

/* Subheadline */
.hero-sub {
  font-size: clamp(1rem, 2.2vw, 1.22rem);
  color: var(--text-muted);
  max-width: 500px;
  line-height: 1.72;
  animation: fadeSlideUp 0.9s 0.2s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.br-desktop { display: none; }

/* CTA area */
.hero-actions {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
  animation: fadeSlideUp 0.9s 0.3s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 30px;
  border-radius: 40px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.22s, box-shadow 0.28s, background 0.22s, border-color 0.22s, color 0.22s;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn-primary {
  background: var(--blue);
  color: #fff;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(130deg, rgba(255,255,255,0.18) 0%, transparent 55%);
  opacity: 0;
  transition: opacity 0.25s;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 32px rgba(79, 142, 247, 0.6), 0 8px 28px rgba(0, 0, 0, 0.45);
  background: var(--blue-light);
}

.btn-primary:hover::before { opacity: 1; }
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border-mid);
}

.btn-ghost:hover {
  color: var(--text);
  border-color: var(--border-strong);
  background: rgba(255, 255, 255, 0.04);
  transform: translateY(-2px);
}

.btn-full {
  width: 100%;
  justify-content: center;
  border-radius: var(--radius-sm);
}

/* ============================================
   HERO — 3D CUBE
   ============================================ */

.hero-3d {
  position: absolute;
  right: 6%;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
  pointer-events: none;
  animation: fadeSlideUp 1.2s 0.4s ease both;
}

.cube-scene {
  width: 300px; height: 300px;
  perspective: 900px;
}

.cube {
  width: 100%; height: 100%;
  position: relative;
  transform-style: preserve-3d;
  animation: cubeRotate 24s linear infinite;
}

.face {
  position: absolute;
  width: 300px; height: 300px;
  border: 1px solid rgba(79, 142, 247, 0.28);
  background: rgba(79, 142, 247, 0.025);
}

/* Inner lines on faces */
.face::before {
  content: '';
  position: absolute;
  inset: 20%;
  border: 1px solid rgba(139, 92, 246, 0.15);
}

.face-front  { transform: translateZ(150px); }
.face-back   { transform: translateZ(-150px) rotateY(180deg); }
.face-left   { transform: rotateY(-90deg) translateZ(150px); }
.face-right  { transform: rotateY(90deg) translateZ(150px); }
.face-top    { transform: rotateX(90deg) translateZ(150px); }
.face-bottom { transform: rotateX(-90deg) translateZ(150px); }

@keyframes cubeRotate {
  from { transform: rotateX(18deg) rotateY(0deg); }
  to   { transform: rotateX(18deg) rotateY(360deg); }
}

.hero-glow {
  position: absolute;
  width: 480px; height: 480px;
  border-radius: 50%;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(79, 142, 247, 0.13), transparent 68%);
  filter: blur(48px);
  pointer-events: none;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  animation: fadeSlideUp 1s 0.9s ease both;
}

.scroll-line {
  display: block;
  width: 1px; height: 44px;
  background: linear-gradient(to bottom, transparent, var(--text-muted));
  animation: scrollPulse 2.2s ease-in-out infinite;
}

.scroll-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  color: var(--text-muted);
  opacity: 0.6;
}

@keyframes scrollPulse {
  0%, 100% { transform: scaleY(1) translateY(0); opacity: 0.5; }
  50%       { transform: scaleY(1.15) translateY(4px); opacity: 1; }
}

/* ============================================
   SECTION SHARED
   ============================================ */

section { position: relative; z-index: 1; }

.section-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 128px 32px;
}

.section-header { margin-bottom: 72px; }

.section-tag {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--blue);
  letter-spacing: 0.1em;
  margin-bottom: 22px;
  opacity: 0.85;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px 8px 13px;
  background: rgba(79, 142, 247, 0.08);
  border: 1px solid rgba(79, 142, 247, 0.22);
  border-radius: 40px;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--blue-light);
  width: fit-content;
  margin-bottom: 22px;
}

.section-badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 8px var(--blue), 0 0 16px rgba(79, 142, 247, 0.5);
  flex-shrink: 0;
  animation: logoPulse 2.5s ease-in-out infinite;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.035em;
  margin-bottom: 18px;
}

.section-title em {
  font-style: normal;
  background: linear-gradient(125deg, var(--blue), var(--violet));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 460px;
  line-height: 1.7;
}

/* ============================================
   SERVICES
   ============================================ */

.services {
  border-top: 1px solid var(--border);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

/* Card */
.service-card {
  perspective: 1100px;
}

.card-inner {
  position: relative;
  padding: 32px 28px 36px;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--border);
  overflow: hidden;
  transition:
    border-color 0.3s,
    background 0.3s,
    box-shadow 0.3s;
  transform-style: preserve-3d;
  will-change: transform;
}

/* Gradient overlay on hover */
.card-inner::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(140deg, rgba(79, 142, 247, 0.07) 0%, rgba(139, 92, 246, 0.05) 50%, transparent 100%);
  opacity: 0;
  transition: opacity 0.35s;
  pointer-events: none;
}

.service-card:hover .card-inner {
  border-color: rgba(79, 142, 247, 0.32);
  background: var(--bg-card-hover);
  box-shadow:
    0 0 0 1px rgba(79, 142, 247, 0.08),
    0 20px 60px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.service-card:hover .card-inner::before { opacity: 1; }

/* Dynamic shine */
.card-shine {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    ellipse 60% 50% at var(--mx, 50%) var(--my, 50%),
    rgba(255, 255, 255, 0.065),
    transparent 70%
  );
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s;
}

.service-card:hover .card-shine { opacity: 1; }

/* Card number */
.card-num {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-dim);
  letter-spacing: 0.12em;
  margin-bottom: 22px;
}

/* Card icon */
.card-icon {
  width: 54px; height: 54px;
  border-radius: 13px;
  background: rgba(79, 142, 247, 0.09);
  border: 1px solid rgba(79, 142, 247, 0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  margin-bottom: 24px;
  transition:
    background 0.3s,
    border-color 0.3s,
    box-shadow 0.3s,
    color 0.3s;
}

.service-card:hover .card-icon {
  background: rgba(79, 142, 247, 0.16);
  border-color: rgba(79, 142, 247, 0.35);
  box-shadow: 0 0 22px rgba(79, 142, 247, 0.25);
  color: var(--blue-light);
}

.card-title {
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
  color: var(--text);
  transition: color 0.25s;
}

.service-card:hover .card-title { color: #fff; }

.card-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ============================================
   AI MODELS BANNER
   ============================================ */

.ai-banner {
  border-top: 1px solid var(--border);
}

.ai-banner-inner {
  display: flex;
  flex-direction: column;
  gap: 56px;
}

.ai-banner-header .section-sub {
  max-width: 540px;
}

.ai-models {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.ai-model-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: 40px;
  background: rgba(79, 142, 247, 0.06);
  border: 1px solid rgba(79, 142, 247, 0.16);
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  transition: background 0.25s, border-color 0.25s, color 0.25s, box-shadow 0.25s;
  cursor: default;
}

.ai-model-pill svg { color: var(--blue); flex-shrink: 0; }

.ai-model-pill:hover {
  background: rgba(79, 142, 247, 0.12);
  border-color: rgba(79, 142, 247, 0.35);
  color: var(--text);
  box-shadow: 0 0 18px rgba(79, 142, 247, 0.18);
}

.pill-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-dim);
  padding: 2px 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
}

.ai-model-pill--more {
  background: var(--bg-card);
  border-color: var(--border);
  color: var(--text-dim);
}

.ai-model-pill--more svg { color: var(--text-dim); }

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

.contact {
  border-top: 1px solid var(--border);
}

.contact-centered {
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.contact-centered .section-title { margin-bottom: 16px; }
.contact-centered .section-sub   { margin-bottom: 44px; }

/* Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 36px 32px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 4px 48px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255,255,255,0.05);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.025em;
}

.form-group input,
.form-group textarea {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-xs);
  padding: 13px 16px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
  resize: none;
  width: 100%;
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-dim); }

/* Form success state */
.form-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 48px 24px;
  gap: 16px;
}

.form-success-icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: rgba(34, 197, 94, 0.08);
  border: 1px solid rgba(34, 197, 94, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 24px rgba(34, 197, 94, 0.2);
  margin-bottom: 8px;
}

.form-success-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
}

.form-success-msg {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 340px;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: rgba(79, 142, 247, 0.55);
  box-shadow: 0 0 0 3px rgba(79, 142, 247, 0.1);
  background: rgba(79, 142, 247, 0.04);
}

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

.footer {
  border-top: 1px solid var(--border);
  position: relative;
  z-index: 1;
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-logo .logo-text {
  font-size: 1.1rem;
}

.footer-copy {
  font-size: 0.83rem;
  color: var(--text-dim);
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-social {
  font-size: 0.83rem;
  color: var(--text-dim);
  transition: color 0.22s;
}

.footer-social:hover { color: var(--text-muted); }

/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered card entrance */
.service-card:nth-child(1) { transition-delay: 0.04s; }
.service-card:nth-child(2) { transition-delay: 0.09s; }
.service-card:nth-child(3) { transition-delay: 0.14s; }
.service-card:nth-child(4) { transition-delay: 0.19s; }
.service-card:nth-child(5) { transition-delay: 0.24s; }
.service-card:nth-child(6) { transition-delay: 0.29s; }

/* ============================================
   RESPONSIVE
   ============================================ */

@media (min-width: 768px) {
  .br-desktop { display: inline; }
}

@media (max-width: 1060px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-3d       { display: none; }
}

@media (max-width: 768px) {
  .nav-inner { padding: 0 20px; }

  .nav-links {
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    background: rgba(3, 5, 8, 0.96);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    flex-direction: column;
    align-items: flex-start;
    padding: 30px 24px 36px;
    gap: 22px;
    border-bottom: 1px solid var(--border);
    transform: translateY(-105%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.28s ease;
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-link {
    font-size: 1.05rem;
    color: var(--text);
  }

  .nav-cta {
    width: 100%;
    text-align: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    padding: 13px 24px;
  }

  .hamburger { display: flex; }

  .hero {
    padding: calc(var(--nav-h) + 48px) 20px 88px;
    text-align: left;
  }

  .hero-title {
    font-size: clamp(2.8rem, 12vw, 4.5rem);
  }

  .section-inner { padding: 88px 20px; }
  .section-header { margin-bottom: 48px; }

  .services-grid { grid-template-columns: 1fr; }
  .form-row      { grid-template-columns: 1fr; }
  .ai-models     { gap: 8px; }
  .ai-model-pill { padding: 10px 14px; font-size: 0.83rem; }

  .contact-form { padding: 28px 22px; }

  .footer-inner {
    flex-direction: column;
    text-align: center;
    gap: 16px;
    padding: 28px 20px;
  }

  /* Disable tilt on touch */
  .card-inner { transform: none !important; }
}

@media (max-width: 400px) {
  .hero-badge { font-size: 0.7rem; }
  .btn { padding: 13px 22px; font-size: 0.88rem; }
}
