:root {
  color-scheme: light;
  --bg: #eef2fb;
  --bg-2: #f7f9ff;
  --surface: rgba(255, 255, 255, 0.72);
  --surface-solid: rgba(255, 255, 255, 0.9);
  --surface-strong: #ffffff;
  --text: #14213d;
  --text-soft: #55638a;
  --primary: #4f46e5;
  --primary-ink: #4338ca;
  --secondary: #06b6d4;
  --accent: #14b8a6;
  --gradient: linear-gradient(135deg, #4f46e5 0%, #06b6d4 55%, #14b8a6 100%);
  --border: rgba(20, 33, 61, 0.1);
  --border-strong: rgba(20, 33, 61, 0.16);
  --ring: rgba(79, 70, 229, 0.35);
  --shadow-sm: 0 2px 8px rgba(31, 41, 55, 0.06);
  --shadow: 0 18px 45px -18px rgba(31, 41, 55, 0.28), 0 6px 16px -8px rgba(31, 41, 55, 0.12);
  --shadow-lg: 0 40px 80px -30px rgba(31, 41, 55, 0.35), 0 12px 28px -12px rgba(31, 41, 55, 0.16);
  --shadow-primary: 0 20px 40px -14px rgba(79, 70, 229, 0.5);
  --radius: 24px;
  --radius-lg: 28px;
  --ease: cubic-bezier(0.22, 0.9, 0.28, 1);
}

:root[data-theme='dark'] {
  color-scheme: dark;
  --bg: #05070f;
  --bg-2: #0a0f1f;
  --surface: rgba(16, 23, 44, 0.62);
  --surface-solid: rgba(16, 23, 44, 0.92);
  --surface-strong: #121a30;
  --text: #f5f7ff;
  --text-soft: #9db0d4;
  --primary: #818cf8;
  --primary-ink: #a5b4fc;
  --secondary: #22d3ee;
  --accent: #2dd4bf;
  --gradient: linear-gradient(135deg, #818cf8 0%, #22d3ee 55%, #2dd4bf 100%);
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.16);
  --ring: rgba(129, 140, 248, 0.5);
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.4);
  --shadow: 0 24px 55px -20px rgba(0, 0, 0, 0.6), 0 8px 20px -10px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 45px 90px -30px rgba(0, 0, 0, 0.7), 0 14px 30px -12px rgba(0, 0, 0, 0.5);
  --shadow-primary: 0 20px 45px -14px rgba(129, 140, 248, 0.55);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background 400ms ease, color 400ms ease;
}

img {
  max-width: 100%;
  display: block;
}

h1, h2, h3, h4 {
  font-family: "Sora", "Inter", "Segoe UI", sans-serif;
  letter-spacing: -0.015em;
}

/* ---------- Animated background ---------- */
.bg-orbs {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.5;
  will-change: transform;
}

.orb-1 {
  width: 460px;
  height: 460px;
  top: -140px;
  left: -100px;
  background: radial-gradient(circle, rgba(79, 70, 229, 0.55), transparent 70%);
  animation: float1 22s ease-in-out infinite;
}

.orb-2 {
  width: 520px;
  height: 520px;
  top: 30%;
  right: -160px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.5), transparent 70%);
  animation: float2 26s ease-in-out infinite;
}

.orb-3 {
  width: 420px;
  height: 420px;
  bottom: -160px;
  left: 30%;
  background: radial-gradient(circle, rgba(20, 184, 166, 0.45), transparent 70%);
  animation: float3 30s ease-in-out infinite;
}

@keyframes float1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(80px, 60px) scale(1.1); }
}
@keyframes float2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-70px, 50px) scale(1.15); }
}
@keyframes float3 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(60px, -60px) scale(1.08); }
}

/* ---------- Scroll progress ---------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: var(--gradient);
  z-index: 100;
  border-radius: 0 3px 3px 0;
  box-shadow: 0 0 12px rgba(79, 70, 229, 0.6);
  transition: width 120ms linear;
}

.page-shell {
  max-width: 1280px;
  margin: 0 auto;
  padding: 20px 20px 40px;
}

/* ---------- Header ---------- */
/* Sticky wrapper: pins to the very top and masks content scrolling underneath */
.topbar-wrap {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 16px 0 12px;
}

/* Frosted band that hides page content passing behind/above the floating pill */
.topbar-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(var(--bg) 55%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  -webkit-mask-image: linear-gradient(#000 62%, transparent);
  mask-image: linear-gradient(#000 62%, transparent);
  pointer-events: none;
}

.topbar {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 14px 0 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  box-shadow: var(--shadow);
  height: 84px;
  transition: height 260ms var(--ease), box-shadow 260ms ease, background 260ms ease, border-color 260ms ease;
}

.topbar.scrolled {
  height: 68px;
  background: var(--surface-solid);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-strong);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
}

.brand-logo {
  height: 60px;
  width: auto;
  max-width: 260px;
  object-fit: contain;
  display: block;
  transition: height 260ms var(--ease), transform 260ms var(--ease);
}

.topbar.scrolled .brand-logo {
  height: 46px;
}

.brand:hover .brand-logo {
  transform: scale(1.03);
}

/* Lift the dark navy logo letters off the dark header */
:root[data-theme='dark'] .brand-logo,
:root[data-theme='dark'] .footer-logo {
  filter: brightness(1.18) drop-shadow(0 0 6px rgba(129, 140, 248, 0.35));
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-links {
  display: flex;
  gap: 4px;
  align-items: center;
}

.nav-links a {
  position: relative;
  text-decoration: none;
  color: var(--text);
  padding: 9px 14px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  transition: color 200ms ease, background 200ms ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 4px;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--gradient);
  transform: translateX(-50%);
  transition: width 220ms var(--ease);
}

.nav-links a:hover {
  color: var(--primary-ink);
  background: rgba(79, 70, 229, 0.08);
}

.nav-links a.active {
  color: var(--primary-ink);
}

.nav-links a.active::after {
  width: 22px;
}

.nav-links a:focus-visible,
.theme-toggle:focus-visible,
.menu-toggle:focus-visible {
  outline: 2px solid var(--ring);
  outline-offset: 3px;
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface-strong);
  color: var(--text);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: transform 220ms var(--ease), box-shadow 220ms ease, color 220ms ease;
}

.theme-toggle:hover {
  transform: translateY(-2px) rotate(12deg);
  color: var(--primary);
  box-shadow: var(--shadow);
}

.theme-toggle .icon-moon { display: none; }
:root[data-theme='dark'] .theme-toggle .icon-sun { display: none; }
:root[data-theme='dark'] .theme-toggle .icon-moon { display: block; }

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0;
  background: var(--surface-strong);
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--text);
  transition: transform 240ms var(--ease), opacity 200ms ease;
}

.menu-toggle[aria-expanded='true'] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.menu-toggle[aria-expanded='true'] span:nth-child(2) {
  opacity: 0;
}
.menu-toggle[aria-expanded='true'] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- Sections ---------- */
.section {
  padding: 92px 0 0;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 32px;
}

.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
  min-height: calc(100vh - 140px);
  padding-top: 40px;
}

.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  color: var(--secondary);
  font-weight: 700;
  margin: 0 0 6px;
}

.hero h1 {
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  line-height: 1.08;
  margin: 8px 0 18px;
  font-weight: 800;
}

.hero h1 .grad,
.grad-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-heading h2,
.cta-section h2 {
  font-size: clamp(1.8rem, 2.8vw, 2.9rem);
  line-height: 1.14;
  margin: 8px 0 14px;
  font-weight: 700;
}

.hero-text,
.info-card p,
.feature-card p,
.slide p,
.cta-section p {
  color: var(--text-soft);
  font-size: 1.04rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  cursor: pointer;
  overflow: hidden;
  transition: transform 220ms var(--ease), box-shadow 220ms ease, filter 220ms ease;
}

.btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  transform: skewX(-20deg);
  transition: left 600ms var(--ease);
}

.btn:hover::after {
  left: 130%;
}

.btn-primary {
  background: var(--gradient);
  background-size: 160% 160%;
  color: #fff;
  border: 0;
  box-shadow: var(--shadow-primary);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 26px 50px -16px rgba(79, 70, 229, 0.6);
}

.btn-secondary {
  border: 1px solid var(--border-strong);
  color: var(--text);
  background: var(--surface-strong);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--primary);
  color: var(--primary-ink);
}

.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 26px 0 0;
}

.hero-highlights li,
.logo-pill,
.industry-list span {
  padding: 9px 16px;
  background: var(--surface-strong);
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text-soft);
  font-size: 0.92rem;
  font-weight: 500;
  box-shadow: var(--shadow-sm);
  transition: transform 200ms var(--ease), color 200ms ease, border-color 200ms ease;
}

.hero-highlights li::before {
  content: "✦";
  color: var(--accent);
  margin-right: 8px;
}

.industry-list span:hover,
.hero-highlights li:hover {
  transform: translateY(-3px);
  color: var(--primary-ink);
  border-color: var(--primary);
}

/* ---------- Hero card ---------- */
@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* ---------- Hero laptop mockup ---------- */
.hero-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 4% -6% -8%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(79, 70, 229, 0.28), rgba(6, 182, 212, 0.16) 45%, transparent 70%);
  filter: blur(28px);
  z-index: -1;
}

.laptop {
  width: 100%;
  max-width: 580px;
  animation: floatCard 7s ease-in-out infinite;
  filter: drop-shadow(0 30px 40px rgba(20, 33, 61, 0.28));
}

.laptop-screen {
  position: relative;
  background: #0e1017;
  border: 3px solid #23262f;
  border-bottom: 0;
  border-radius: 16px 16px 6px 6px;
  padding: 12px 12px 10px;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.03);
}

.laptop-screen img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  object-position: center;
  border-radius: 6px;
  background: #f7f8fb;
}

/* subtle screen glare */
.laptop-screen::after {
  content: "";
  position: absolute;
  inset: 12px 12px 10px;
  border-radius: 6px;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0.14), transparent 45%);
  pointer-events: none;
}

.laptop-base {
  position: relative;
  width: 116%;
  margin-left: -8%;
  height: 16px;
  background: linear-gradient(180deg, #d7dbe6 0%, #b6bccb 60%, #9aa0b2 100%);
  border-radius: 4px 4px 12px 12px;
  box-shadow: 0 8px 14px rgba(20, 33, 61, 0.22);
}

.laptop-base::after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 16%;
  height: 6px;
  background: #8f95a6;
  border-radius: 0 0 8px 8px;
}

.visual-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  padding: 9px 16px;
  border-radius: 999px;
  background: var(--surface-strong);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  color: var(--text-soft);
  font-size: 0.9rem;
  font-weight: 600;
}

.visual-badge .dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.18);
  animation: pulseDot 2s ease-in-out infinite;
}

@keyframes pulseDot {
  0%, 100% { box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.18); }
  50% { box-shadow: 0 0 0 7px rgba(34, 197, 94, 0.06); }
}

:root[data-theme='dark'] .laptop-base {
  background: linear-gradient(180deg, #3a3f4d 0%, #2a2e3a 60%, #202430 100%);
}

/* ---------- Logo strip ---------- */
.logo-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 26px 0 0;
  color: var(--text-soft);
  font-weight: 500;
}

/* ---------- Cards ---------- */
.about-grid,
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.info-card,
.feature-card,
.testimonial-card,
.contact-form {
  padding: 28px;
  border-radius: var(--radius);
  background: var(--surface);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.info-card,
.feature-card {
  position: relative;
  overflow: hidden;
}

.info-card h3,
.feature-card h3 {
  margin-top: 0;
  font-size: 1.2rem;
}

.feature-card::before,
.info-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 320ms var(--ease);
}

.feature-card:hover::before,
.info-card:hover::before {
  transform: scaleX(1);
}

.feature-card h3::before {
  content: "";
  display: block;
  width: 40px;
  height: 40px;
  margin-bottom: 14px;
  border-radius: 12px;
  background: var(--gradient);
  opacity: 0.9;
  box-shadow: var(--shadow-primary);
}

/* ---------- Carousel ---------- */
.carousel {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 16px;
  align-items: center;
}

.carousel-window {
  overflow: hidden;
  border-radius: var(--radius);
}

.carousel-track {
  display: flex;
  transition: transform 500ms var(--ease);
  align-items: stretch;
}

.slide {
  min-width: 100%;
  display: flex;
}

.slide-content {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  width: 100%;
  padding: 34px;
  border-radius: var(--radius);
  background: var(--surface);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.slide-content h3 {
  font-size: 1.5rem;
  margin: 0 0 10px;
}

.slide-content ul {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.slide-content ul li {
  position: relative;
  padding-left: 28px;
  color: var(--text-soft);
}

.slide-content ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--gradient);
  box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.12);
}

.slide-audience {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.audience-label {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 6px;
}

.slide-audience p {
  margin: 0 0 12px;
  color: var(--text-soft);
  font-size: 0.98rem;
}

.audience-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.audience-tags span {
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--primary-ink);
  background: rgba(79, 70, 229, 0.08);
  border: 1px solid rgba(79, 70, 229, 0.18);
  transition: transform 200ms var(--ease), background 200ms ease;
}

.audience-tags span:hover {
  transform: translateY(-2px);
  background: rgba(79, 70, 229, 0.14);
}

.slide-content > .slide-logo {
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 16px;
}

.slide-logo img {
  max-width: 240px;
  height: auto;
  max-height: 80px;
  width: auto;
  object-fit: contain;
  background: transparent;
}

/* Hover polish for tiles */
.slide-content,
.info-card,
.feature-card,
.testimonial-card {
  transition: transform 260ms var(--ease), box-shadow 260ms ease, border-color 260ms ease;
}

.info-card:hover,
.feature-card:hover,
.testimonial-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-strong);
}

.info-card:focus-within,
.feature-card:focus-within,
.testimonial-card:focus-within {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.carousel-btn {
  width: 48px;
  height: 48px;
  border: 1px solid var(--border);
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.1rem;
  background: var(--surface-strong);
  color: var(--text);
  box-shadow: var(--shadow);
  transition: transform 220ms var(--ease), color 220ms ease, box-shadow 220ms ease;
}

.carousel-btn:hover {
  transform: scale(1.1);
  color: #fff;
  background: var(--gradient);
  border-color: transparent;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 0;
  background: var(--border-strong);
  cursor: pointer;
  transition: width 260ms var(--ease), background 260ms ease;
}

.carousel-dot.active {
  width: 28px;
  border-radius: 999px;
  background: var(--gradient);
}

/* ---------- Industries ---------- */
.industry-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.industry-list span {
  font-size: 1rem;
}

/* ---------- CTA ---------- */
.cta-section {
  margin-top: 40px;
  padding: 44px;
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border-strong);
  background:
    radial-gradient(circle at 15% 20%, rgba(79, 70, 229, 0.18), transparent 45%),
    radial-gradient(circle at 85% 80%, rgba(6, 182, 212, 0.18), transparent 45%),
    var(--surface);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow-lg);
}

/* ---------- Testimonials ---------- */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
}

.testimonial-card::before {
  content: "“";
  font-family: "Sora", serif;
  font-size: 4rem;
  line-height: 1;
  color: var(--primary);
  opacity: 0.25;
}

.testimonial-card p {
  margin: 0;
  color: var(--text);
  font-size: 1.02rem;
}

.testimonial-card strong {
  font-size: 1rem;
  margin-top: 6px;
}

.testimonial-card span {
  color: var(--text-soft);
  font-size: 0.9rem;
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 24px;
  align-items: start;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  text-decoration: none;
  color: var(--text-soft);
  background: var(--surface-strong);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform 220ms var(--ease), color 220ms ease, background 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.social-icon:hover {
  transform: translateY(-3px);
  color: #fff;
  border-color: transparent;
  box-shadow: var(--shadow);
}

.social-icon[data-social='linkedin']:hover { background: #0a66c2; }
.social-icon[data-social='x']:hover { background: #000; }
.social-icon[data-social='instagram']:hover {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
}

.contact-form {
  display: grid;
  gap: 16px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.contact-form label {
  display: grid;
  gap: 7px;
  font-weight: 600;
  font-size: 0.92rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 13px 15px;
  border-radius: 14px;
  border: 1px solid var(--border-strong);
  background: var(--surface-strong);
  color: var(--text);
  font: inherit;
  transition: border-color 200ms ease, box-shadow 200ms ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--ring);
}

.contact-form textarea {
  resize: vertical;
}

.form-actions {
  display: flex;
  justify-content: flex-start;
}

.form-status {
  min-height: 24px;
  font-size: 0.95rem;
  color: var(--text-soft);
}

.form-status.success { color: var(--accent); }
.form-status.error { color: #ef4444; }

.honeypot { display: none; }

/* ---------- Footer ---------- */
.site-footer {
  margin-top: 80px;
  padding: 48px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 32px;
}

.footer-logo {
  height: 46px;
  width: auto;
  margin-bottom: 14px;
}

.footer-brand p {
  color: var(--text-soft);
  max-width: 320px;
  font-size: 0.96rem;
}

.footer-col h4 {
  margin: 0 0 14px;
  font-size: 1rem;
}

.footer-col a {
  display: block;
  color: var(--text-soft);
  text-decoration: none;
  padding: 5px 0;
  font-size: 0.94rem;
  transition: color 180ms ease, transform 180ms ease;
}

.footer-col a:hover {
  color: var(--primary-ink);
  transform: translateX(4px);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  color: var(--text-soft);
  font-size: 0.9rem;
}

.footer-social {
  display: flex;
  gap: 12px;
}

/* ---------- Reveal animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 700ms var(--ease), transform 700ms var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

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

/* Stagger children within grids */
.about-grid .reveal.is-visible,
.feature-grid .reveal.is-visible,
.testimonial-grid .reveal.is-visible {
  transition-delay: var(--reveal-delay, 0ms);
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .hero,
  .about-grid,
  .feature-grid,
  .testimonial-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    gap: 28px;
  }

  .section {
    padding-top: 72px;
  }
}

@media (max-width: 760px) {
  .page-shell {
    padding: 14px 14px 30px;
  }

  .topbar {
    border-radius: 22px;
    padding: 0 10px 0 16px;
    height: 68px;
  }

  .topbar.scrolled { height: 60px; }

  .brand-logo { height: 44px; }
  .topbar.scrolled .brand-logo { height: 40px; }

  .menu-toggle {
    display: inline-flex;
  }

  .nav-links {
    position: absolute;
    right: 0;
    top: calc(100% + 12px);
    min-width: 220px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 14px;
    border-radius: 20px;
    background: var(--surface-solid);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid var(--border-strong);
    box-shadow: var(--shadow-lg);
    animation: dropIn 260ms var(--ease);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 12px 14px;
  }

  .nav-links a.active::after { display: none; }
  .nav-links a.active { background: rgba(79, 70, 229, 0.1); }

  @keyframes dropIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
  }

  .carousel {
    grid-template-columns: 1fr;
  }

  .carousel-btn {
    display: none;
  }

  .slide-content { padding: 26px; }
  .cta-section { padding: 30px; }
  .site-footer { padding: 32px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
