/* ===========================
   Reset & tokens
   =========================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #ffffff;
  --bg-alt: #f5f8ff;
  --surface: #ffffff;
  --text: #0b1530;
  --text-soft: #4a5578;
  --text-mute: #7a86a3;
  --line: #e6ecf7;
  --line-soft: #eef2fa;

  --blue-50: #eef4ff;
  --blue-100: #dfeaff;
  --blue-200: #bfd4ff;
  --blue-400: #5b8def;
  --blue-500: #2f6fe5;
  --blue-600: #1f5ad0;
  --blue-700: #1848a8;
  --blue-900: #0b2563;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --shadow-sm: 0 1px 2px rgba(11, 37, 99, 0.04), 0 2px 6px rgba(11, 37, 99, 0.04);
  --shadow-md: 0 8px 24px rgba(11, 37, 99, 0.08);
  --shadow-lg: 0 24px 60px rgba(11, 37, 99, 0.14);

  --container: 1200px;
  --nav-height: 72px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-padding-top: calc(var(--nav-height) + 12px);
}

body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
  font-size: 16px;
  overflow-x: hidden;
}

body.is-loading { overflow: hidden; height: 100vh; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: transparent; color: inherit; }
ul { list-style: none; }

.container {
  width: min(100%, var(--container));
  margin: 0 auto;
  padding: 0 24px;
}

/* ===========================
   Brand mark
   =========================== */
.brand-mark {
  width: 28px; height: 32px;
  display: block;
  filter: drop-shadow(0 6px 14px rgba(47, 111, 229, 0.35));
  animation: markHover 6s ease-in-out infinite;
}

.brand-mark-lg {
  width: 36px; height: 42px;
}

@keyframes markHover {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-3px) rotate(2deg); }
}

/* ===========================
   Splash loader — professional
   =========================== */
.splash {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: radial-gradient(circle at 50% 40%, #0b2563 0%, #061228 55%, #02070f 100%);
  display: grid;
  place-items: center;
  overflow: hidden;
  transition: opacity 0.9s var(--ease), visibility 0.9s var(--ease);
}

.splash.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.splash-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(158, 188, 255, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(158, 188, 255, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 50% 50%, #000 25%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 50%, #000 25%, transparent 75%);
  animation: splashGridPan 20s linear infinite;
}

@keyframes splashGridPan {
  from { background-position: 0 0, 0 0; }
  to { background-position: 56px 56px, 56px 56px; }
}

.splash-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 35%, rgba(91, 141, 239, 0.32), transparent 42%),
    radial-gradient(circle at 70% 70%, rgba(47, 111, 229, 0.28), transparent 45%);
  animation: splashGlow 6s ease-in-out infinite alternate;
}

@keyframes splashGlow { from { transform: scale(1) rotate(0deg); opacity: 0.9; } to { transform: scale(1.18) rotate(6deg); opacity: 1; } }

.splash-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  text-align: center;
  padding: 0 24px;
}

.splash-ring {
  position: relative;
  width: 120px;
  height: 120px;
  display: grid;
  place-items: center;
}

.splash-ring svg:first-child {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  animation: splashRingSpin 3.5s linear infinite;
}

.splash-ring-arc {
  stroke-dasharray: 100;
  stroke-dashoffset: 65;
  animation: splashRingDraw 2.4s ease-in-out infinite alternate;
}

@keyframes splashRingSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes splashRingDraw {
  from { stroke-dashoffset: 80; }
  to { stroke-dashoffset: 20; }
}

.splash-mark {
  width: 46px !important;
  height: 54px !important;
  filter: drop-shadow(0 0 24px rgba(91, 141, 239, 0.7));
  animation: splashMarkPulse 3s ease-in-out infinite;
}

@keyframes splashMarkPulse {
  0%, 100% { transform: translateY(0) scale(1); filter: drop-shadow(0 0 18px rgba(91, 141, 239, 0.5)); }
  50% { transform: translateY(-2px) scale(1.04); filter: drop-shadow(0 0 32px rgba(91, 141, 239, 0.85)); }
}

.splash-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.splash-name {
  overflow: hidden;
  display: inline-block;
  padding-bottom: 2px;
}

.splash-name-inner {
  display: inline-block;
  font-size: clamp(26px, 5vw, 34px);
  font-weight: 700;
  letter-spacing: -0.02em;
  background: linear-gradient(90deg, #ffffff 0%, #cfe0ff 50%, #ffffff 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: splashName 3s ease-in-out infinite, splashNameUp 1.1s var(--ease-out) both;
}

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

@keyframes splashNameUp {
  from { transform: translateY(110%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.splash-role {
  overflow: hidden;
  display: inline-block;
}

.splash-role-inner {
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(207, 224, 255, 0.58);
  animation: splashNameUp 1.1s var(--ease-out) 0.2s both;
}

.splash-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.splash-dots span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(158, 188, 255, 0.7);
  animation: splashDot 1.4s ease-in-out infinite;
}

.splash-dots span:nth-child(1) { animation-delay: 0s; }
.splash-dots span:nth-child(2) { animation-delay: 0.2s; }
.splash-dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes splashDot {
  0%, 80%, 100% { opacity: 0.3; transform: scale(0.85); }
  40% { opacity: 1; transform: scale(1.3); box-shadow: 0 0 12px rgba(158, 188, 255, 0.8); }
}

.splash-sub {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.32em;
  text-transform: uppercase;
  font-weight: 500;
  margin-top: 4px;
}

/* Hero entrance after splash */
.stagger { opacity: 0; transform: translateY(28px); }

body.is-ready .stagger { animation: heroIn 1s var(--ease-out) forwards; }
body.is-ready .stagger:nth-child(1) { animation-delay: 0.05s; }
body.is-ready .stagger:nth-child(2) { animation-delay: 0.15s; }
body.is-ready .stagger:nth-child(3) { animation-delay: 0.25s; }
body.is-ready .stagger:nth-child(4) { animation-delay: 0.35s; }
body.is-ready .stagger:nth-child(5) { animation-delay: 0.45s; }
body.is-ready .hero-visual.stagger { animation-delay: 0.3s; }

@keyframes heroIn {
  from { opacity: 0; transform: translateY(28px) scale(0.98); filter: blur(6px); }
  to { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
}

/* ===========================
   Cursor glow
   =========================== */
.cursor-glow {
  position: fixed;
  top: 0; left: 0;
  width: 420px; height: 420px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 5;
  background: radial-gradient(circle, rgba(91, 141, 239, 0.18), transparent 60%);
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
  mix-blend-mode: multiply;
  filter: blur(10px);
}

body.cursor-active .cursor-glow { opacity: 1; }

@media (hover: none) { .cursor-glow { display: none; } }

/* ===========================
   Nav
   =========================== */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.5s var(--ease);
  transform: translateY(-100%);
}

body.is-ready .nav { transform: translateY(0); }

.nav.scrolled {
  background: rgba(255, 255, 255, 0.9);
  border-bottom-color: var(--line);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: var(--nav-height);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: -0.01em;
  transition: transform 0.3s var(--ease);
  flex-shrink: 0;
}

.brand:hover { transform: translateX(2px); }

.brand-name {
  font-size: 15px;
  white-space: nowrap;
  background: linear-gradient(90deg, var(--text), var(--blue-700));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 15px;
  color: var(--text-soft);
}

.nav-links a {
  position: relative;
  transition: color 0.2s var(--ease);
}

.nav-links a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0; bottom: -4px;
  height: 2px; width: 0;
  background: var(--blue-600);
  border-radius: 999px;
  transition: width 0.3s var(--ease-out);
}

.nav-links a:not(.nav-cta):hover { color: var(--text); }
.nav-links a:not(.nav-cta):hover::after { width: 100%; }

.nav-cta {
  background: var(--text);
  color: #fff !important;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 600;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.nav-cta:hover {
  background: var(--blue-600);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(31, 90, 208, 0.35);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

.nav-toggle span {
  width: 22px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

/* ===========================
   Language switcher
   =========================== */
.lang-switcher {
  position: relative;
}

.lang-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), border-color 0.2s var(--ease), background 0.2s var(--ease);
}

.lang-trigger:hover {
  transform: translateY(-1px);
  border-color: var(--blue-200);
  background: #fff;
  box-shadow: 0 8px 20px rgba(11, 37, 99, 0.08);
}

.flag {
  width: 22px;
  height: 16px;
  border-radius: 3px;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(11, 37, 99, 0.1);
  flex-shrink: 0;
  display: inline-block;
}

.flag-square {
  width: 18px;
  height: 18px;
  border-radius: 4px;
}

.lang-code {
  font-variant-numeric: tabular-nums;
}

.lang-chevron {
  transition: transform 0.25s var(--ease);
  opacity: 0.7;
}

.lang-switcher.open .lang-chevron {
  transform: rotate(180deg);
}

.lang-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 200px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 6px;
  box-shadow: 0 24px 60px rgba(11, 37, 99, 0.18);
  opacity: 0;
  transform: translateY(-8px) scale(0.96);
  transform-origin: top right;
  pointer-events: none;
  transition: opacity 0.25s var(--ease), transform 0.3s var(--ease-out);
  z-index: 60;
}

.lang-switcher.open .lang-menu {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.lang-menu li button {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-soft);
  transition: background 0.2s var(--ease), color 0.2s var(--ease), transform 0.2s var(--ease);
  text-align: left;
}

.lang-menu li button:hover {
  background: var(--blue-50);
  color: var(--text);
  transform: translateX(2px);
}

.lang-menu li[aria-current="true"] button {
  background: var(--blue-50);
  color: var(--blue-700);
  font-weight: 600;
}

.lang-name { flex: 1; }

.lang-check {
  width: 16px; height: 16px;
  border-radius: 50%;
  background: transparent;
  border: 1.5px solid var(--line);
  position: relative;
  flex-shrink: 0;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
}

.lang-menu li[aria-current="true"] .lang-check {
  background: var(--blue-600);
  border-color: var(--blue-600);
}

.lang-menu li[aria-current="true"] .lang-check::after {
  content: "";
  position: absolute;
  left: 50%; top: 46%;
  transform: translate(-50%, -50%) rotate(45deg);
  width: 4px; height: 8px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
}

/* ===========================
   Buttons
   =========================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 22px;
  font-weight: 600;
  font-size: 15px;
  border-radius: 999px;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.35) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.8s var(--ease-out);
  pointer-events: none;
}

.btn:hover::before { transform: translateX(120%); }

.btn-primary {
  background: var(--text);
  color: #fff;
  box-shadow: 0 12px 24px rgba(11, 21, 48, 0.2);
}

.btn-primary:hover {
  background: var(--blue-600);
  transform: translateY(-3px);
  box-shadow: 0 20px 40px rgba(31, 90, 208, 0.35);
}

.btn-ghost {
  background: var(--blue-50);
  color: var(--blue-700);
}

.btn-ghost:hover {
  background: var(--blue-100);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(31, 90, 208, 0.15);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: var(--blue-600);
  margin-top: 12px;
  transition: gap 0.25s var(--ease);
}

.link-arrow:hover { gap: 12px; }

/* ===========================
   Hero
   =========================== */
.hero {
  position: relative;
  padding: 80px 0 110px;
  overflow: hidden;
  isolation: isolate;
}

.hero-bg { position: absolute; inset: 0; z-index: -1; }

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
}

.blob-a {
  width: 520px; height: 520px;
  background: radial-gradient(circle, var(--blue-200), transparent 70%);
  top: -140px; left: -160px;
  animation: float 16s ease-in-out infinite alternate;
}

.blob-b {
  width: 460px; height: 460px;
  background: radial-gradient(circle, #cfe0ff, transparent 70%);
  bottom: -180px; right: -120px;
  animation: float 18s ease-in-out infinite alternate-reverse;
}

.grid-lines {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(31, 90, 208, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(31, 90, 208, 0.05) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at 50% 40%, #000 40%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 40%, #000 40%, transparent 75%);
}

.stars { position: absolute; inset: 0; pointer-events: none; }

.stars span {
  position: absolute;
  width: 3px; height: 3px;
  background: var(--blue-400);
  border-radius: 50%;
  opacity: 0;
  animation: twinkle 5s ease-in-out infinite;
}
.stars span:nth-child(1) { top: 12%; left: 8%; animation-delay: 0s; }
.stars span:nth-child(2) { top: 22%; left: 78%; animation-delay: 1.2s; }
.stars span:nth-child(3) { top: 68%; left: 14%; animation-delay: 2.4s; }
.stars span:nth-child(4) { top: 82%; left: 62%; animation-delay: 0.6s; }
.stars span:nth-child(5) { top: 45%; left: 88%; animation-delay: 3s; }
.stars span:nth-child(6) { top: 8%; left: 48%; animation-delay: 1.8s; }
.stars span:nth-child(7) { top: 72%; left: 36%; animation-delay: 3.6s; }
.stars span:nth-child(8) { top: 30%; left: 22%; animation-delay: 0.9s; }
.stars span:nth-child(9) { top: 88%; left: 84%; animation-delay: 2.7s; }
.stars span:nth-child(10) { top: 15%; left: 92%; animation-delay: 4.1s; }

@keyframes twinkle {
  0%, 100% { opacity: 0; transform: scale(0.8); }
  50% { opacity: 1; transform: scale(1.4); box-shadow: 0 0 12px var(--blue-400); }
}

@keyframes float { from { transform: translate(0, 0); } to { transform: translate(40px, -30px); } }

.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid var(--line);
  font-size: 13px;
  color: var(--text-soft);
  font-weight: 500;
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(6px);
}

.pulse {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #22c55e;
  position: relative;
  flex-shrink: 0;
}

.pulse::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #22c55e;
  opacity: 0.6;
  animation: pulse 1.8s ease-out infinite;
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(2.8); opacity: 0; }
}

.hero-title {
  font-size: clamp(2rem, 5.2vw, 4rem);
  font-weight: 800;
  line-height: 1.07;
  letter-spacing: -0.03em;
  margin: 22px 0 22px;
  color: var(--text);
  hyphens: auto;
}

.accent {
  background: linear-gradient(135deg, var(--blue-500), var(--blue-700));
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: accentShift 6s ease-in-out infinite;
}

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

.hero-sub {
  font-size: clamp(16px, 1.7vw, 18px);
  color: var(--text-soft);
  max-width: 560px;
  margin-bottom: 32px;
}

.hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.hero-stack {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.hero-stack li {
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  color: var(--text-soft);
  font-weight: 500;
  backdrop-filter: blur(6px);
  transition: transform 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.hero-stack li:hover {
  transform: translateY(-2px);
  color: var(--blue-700);
  border-color: var(--blue-200);
}

/* Hero visual */
.hero-visual {
  position: relative;
  height: 560px;
  perspective: 1000px;
}

.phone-wrap {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transform-style: preserve-3d;
  transition: transform 0.4s var(--ease);
}

.phone {
  position: relative;
  width: 280px;
  height: 560px;
  background: #0b1530;
  border-radius: 48px;
  padding: 12px;
  box-shadow:
    0 40px 80px rgba(11, 21, 48, 0.28),
    0 8px 20px rgba(11, 21, 48, 0.2),
    inset 0 0 0 1.5px rgba(255, 255, 255, 0.08);
  animation: phoneFloat 8s ease-in-out infinite;
}

@keyframes phoneFloat {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-14px) rotate(-2deg); }
}

.phone-glow {
  position: absolute;
  inset: -30px;
  border-radius: 64px;
  background: radial-gradient(circle at 50% 50%, rgba(91, 141, 239, 0.45), transparent 60%);
  filter: blur(40px);
  opacity: 0.6;
  z-index: -1;
  animation: phoneGlow 4s ease-in-out infinite alternate;
}

@keyframes phoneGlow { from { opacity: 0.4; } to { opacity: 0.8; } }

.phone-notch {
  position: absolute;
  top: 14px; left: 50%;
  transform: translateX(-50%);
  width: 110px; height: 28px;
  background: #000;
  border-radius: 999px;
  z-index: 2;
}

.phone-screen {
  position: relative;
  width: 100%; height: 100%;
  border-radius: 36px;
  overflow: hidden;
  background: linear-gradient(160deg, #eef4ff, #fff);
}

.phone-screen img { width: 100%; height: 100%; object-fit: cover; }

.phone-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 45%, rgba(255, 255, 255, 0.4) 50%, transparent 55%);
  background-size: 200% 200%;
  animation: phoneShine 5s ease-in-out infinite;
  pointer-events: none;
}

@keyframes phoneShine {
  0% { background-position: -120% 120%; }
  100% { background-position: 120% -120%; }
}

.float-card {
  position: absolute;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 10px 16px 10px 10px;
  display: flex;
  gap: 12px;
  align-items: center;
  box-shadow: var(--shadow-md);
  animation: cardFloat 9s ease-in-out infinite;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
  max-width: 200px;
}

.float-card:hover {
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 20px 40px rgba(11, 37, 99, 0.15);
}

.float-card img {
  width: 40px; height: 40px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
}

.float-card strong { display: block; font-size: 14px; color: var(--text); }
.float-card span { font-size: 12px; color: var(--text-mute); }

.card-a { top: 40px; left: -30px; animation-delay: -1s; }
.card-b { bottom: 80px; left: -50px; animation-delay: -3s; }
.card-c { top: 140px; right: -30px; animation-delay: -5s; }

@keyframes cardFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--text-mute);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 600;
  opacity: 0;
  animation: fadeIn 0.8s var(--ease) 1.4s forwards;
}

.scroll-cue span {
  width: 24px; height: 40px;
  border: 2px solid var(--text-mute);
  border-radius: 999px;
  position: relative;
}

.scroll-cue span::after {
  content: "";
  position: absolute;
  top: 8px; left: 50%;
  width: 3px; height: 6px;
  background: var(--text-mute);
  border-radius: 2px;
  transform: translateX(-50%);
  animation: scrollDot 1.6s var(--ease) infinite;
}

@keyframes scrollDot {
  0% { transform: translate(-50%, 0); opacity: 1; }
  80% { transform: translate(-50%, 14px); opacity: 0; }
  100% { opacity: 0; }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translate(-50%, 10px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}

/* ===========================
   Marquee
   =========================== */
.marquee {
  overflow: hidden;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg);
  mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
}

.marquee-track {
  display: flex;
  gap: 38px;
  white-space: nowrap;
  animation: scroll 30s linear infinite;
  font-size: clamp(15px, 1.4vw, 18px);
  font-weight: 600;
  color: var(--text-mute);
  letter-spacing: -0.01em;
}

.marquee-track span:nth-child(odd) { color: var(--blue-700); }

@keyframes scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ===========================
   Sections
   =========================== */
.section { padding: clamp(72px, 10vw, 110px) 0; }
.section-alt { background: var(--bg-alt); }

.section-head {
  max-width: 680px;
  margin: 0 auto clamp(40px, 6vw, 64px);
  text-align: center;
}

.section-tag {
  display: inline-block;
  padding: 6px 14px;
  background: var(--blue-50);
  color: var(--blue-700);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 18px;
}

.section-tag.light {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.section-head h2 {
  font-size: clamp(1.75rem, 3.6vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin-bottom: 16px;
}

.section-head p {
  color: var(--text-soft);
  font-size: clamp(15px, 1.5vw, 17px);
}

/* ===========================
   Services
   =========================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.service {
  padding: clamp(24px, 3vw, 32px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
  position: relative;
  overflow: hidden;
}

.glow { --mx: 50%; --my: 50%; }

.glow::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(600px circle at var(--mx) var(--my), rgba(47, 111, 229, 0.12), transparent 45%);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  pointer-events: none;
  border-radius: inherit;
}

.glow:hover::before { opacity: 1; }

.service:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(11, 37, 99, 0.12);
  border-color: var(--blue-200);
}

.service-icon {
  width: 48px; height: 48px;
  border-radius: 14px;
  background: var(--blue-50);
  color: var(--blue-700);
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  transition: background 0.35s var(--ease), transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

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

.service:hover .service-icon {
  background: linear-gradient(135deg, var(--blue-500), var(--blue-700));
  color: #fff;
  transform: rotate(-6deg) scale(1.08);
  box-shadow: 0 12px 24px rgba(47, 111, 229, 0.35);
}

.service h3 {
  font-size: clamp(17px, 1.6vw, 19px);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}

.service p {
  color: var(--text-soft);
  font-size: 15px;
  line-height: 1.6;
}

.service-cta {
  background: linear-gradient(135deg, var(--text) 0%, var(--blue-900) 100%);
  color: #fff;
  border: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  isolation: isolate;
}

.service-cta-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 30%, rgba(91, 141, 239, 0.5), transparent 55%),
    radial-gradient(circle at 80% 80%, rgba(31, 90, 208, 0.45), transparent 55%);
  opacity: 0.7;
  z-index: -1;
  animation: ctaGlow 8s ease-in-out infinite alternate;
}

@keyframes ctaGlow { from { transform: scale(1); } to { transform: scale(1.12); } }

.service-cta h3, .service-cta p { color: #fff; }
.service-cta p { color: rgba(255, 255, 255, 0.78); }
.service-cta .link-arrow { color: #fff; }

.service-cta:hover {
  transform: translateY(-8px);
  box-shadow: 0 28px 60px rgba(11, 21, 48, 0.4);
}

/* ===========================
   Projects
   =========================== */
.projects {
  display: flex;
  flex-direction: column;
  gap: clamp(56px, 8vw, 90px);
}

.project {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(32px, 5vw, 56px);
  align-items: center;
}

.project-reverse { direction: rtl; }
.project-reverse > * { direction: ltr; }

.project-media {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 16 / 9;
  background: #fff;
  border: 1px solid var(--line);
  position: relative;
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
}

.glow-card {
  position: relative;
  isolation: isolate;
}

.glow-card::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: conic-gradient(from 0deg, transparent, rgba(91, 141, 239, 0.6), transparent 30%);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  z-index: -1;
  animation: rotateGlow 6s linear infinite;
}

.glow-card:hover::after { opacity: 1; }

@keyframes rotateGlow { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

.project-media:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 40px 80px rgba(11, 21, 48, 0.2);
}

.project-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease-out);
}

.project-media:hover img { transform: scale(1.04); }

.project-media-placeholder {
  background: linear-gradient(135deg, #fff, var(--bg-alt));
  display: grid;
  place-items: center;
  border: 1px dashed var(--blue-200);
}

.placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  color: var(--blue-700);
  transition: transform 0.4s var(--ease);
}

.project-media:hover .placeholder { transform: scale(1.05); }

.placeholder svg { width: 64px; height: 64px; opacity: 0.7; }
.placeholder span { font-weight: 600; letter-spacing: 0.02em; }

.project-title {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.project-icon {
  width: 56px; height: 56px;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
  transition: transform 0.4s var(--ease);
}

.project:hover .project-icon { transform: rotate(-6deg) scale(1.06); }

.project-icon-empty {
  background: linear-gradient(135deg, var(--blue-500), var(--blue-700));
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 16px;
  letter-spacing: 0.04em;
}

.project-title h3 {
  font-size: clamp(20px, 2.2vw, 24px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.project-title span {
  font-size: 14px;
  color: var(--text-mute);
}

.project-desc {
  color: var(--text-soft);
  font-size: clamp(15px, 1.5vw, 16px);
  margin-bottom: 24px;
  max-width: 520px;
}

.project-meta {
  display: grid;
  gap: 12px;
  margin-bottom: 22px;
}

.project-meta li {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 14px;
  align-items: baseline;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line-soft);
  transition: padding 0.25s var(--ease);
}

.project-meta li:hover { padding-left: 6px; }
.project-meta li:last-child { border: 0; padding-bottom: 0; }

.project-meta strong {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-mute);
  font-weight: 600;
}

.project-meta span { font-size: 15px; color: var(--text); }

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

.chips span {
  font-size: 12px;
  padding: 6px 12px;
  background: var(--blue-50);
  color: var(--blue-700);
  border-radius: 999px;
  font-weight: 600;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease);
}

.chips span:hover {
  transform: translateY(-2px);
  background: var(--blue-100);
}

/* ===========================
   About
   =========================== */
.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(40px, 6vw, 72px);
  align-items: center;
}

.about-photo { position: relative; }

.photo-frame {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: linear-gradient(135deg, var(--blue-50), #fff);
  box-shadow: var(--shadow-lg);
  position: relative;
  transition: transform 0.5s var(--ease-out);
}

.photo-frame:hover { transform: translateY(-6px) scale(1.01); }

.photo-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(160deg, transparent 55%, rgba(11, 37, 99, 0.15));
  pointer-events: none;
}

.photo-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 0 1px var(--line);
  border-radius: inherit;
  pointer-events: none;
}

.photo-frame img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease-out);
}

.photo-frame:hover img { transform: scale(1.03); }

.photo-badge {
  position: absolute;
  bottom: 20px;
  right: -14px;
  background: #fff;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
  animation: floatBadge 5s ease-in-out infinite;
  white-space: nowrap;
}

@keyframes floatBadge {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.about-copy h2 {
  font-size: clamp(1.75rem, 3.6vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin: 18px 0 24px;
}

.about-copy p {
  color: var(--text-soft);
  font-size: clamp(15px, 1.5vw, 17px);
  margin-bottom: 18px;
  max-width: 580px;
}

.about-points {
  display: grid;
  gap: 0;
  margin: 32px 0;
  max-width: 580px;
}

.about-points li {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 18px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  transition: padding 0.25s var(--ease);
}

.about-points li:hover { padding-left: 6px; }

.about-points strong {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--blue-700);
  font-weight: 700;
}

.about-points span {
  color: var(--text-soft);
  font-size: 15px;
}

/* ===========================
   Blog
   =========================== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.post {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}

.post:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 50px rgba(11, 37, 99, 0.14);
}

.post-cover {
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
}

.post-cover::before {
  content: "";
  position: absolute;
  inset: 0;
  background-size: 40px 40px;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.18) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.18) 1px, transparent 1px);
  opacity: 0.7;
  transition: transform 0.8s var(--ease-out);
}

.post:hover .post-cover::before { transform: scale(1.1); }

.post-cover::after {
  content: "";
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.15), transparent 40%);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}

.post:hover .post-cover::after { opacity: 1; }

.post-cover span {
  position: relative;
  color: #fff;
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -0.04em;
  transition: transform 0.4s var(--ease-out);
}

.post:hover .post-cover span { transform: scale(1.06); }

.post-cover-a { background: linear-gradient(135deg, #1f5ad0, #0b2563); }
.post-cover-b { background: linear-gradient(135deg, #5b8def, #1f5ad0); }
.post-cover-c { background: linear-gradient(135deg, #c2410c, #7c2d12); }
.post-cover-d { background: linear-gradient(135deg, #0f766e, #0b2563); }

/* Blog expand */
.post-extra {
  display: none;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

.blog-grid.is-expanded .post-extra {
  display: flex;
  flex-direction: column;
  animation: postExpandIn 0.7s var(--ease-out) forwards;
}

.blog-grid.is-expanded .post-extra:nth-child(3) { animation-delay: 0.05s; }
.blog-grid.is-expanded .post-extra:nth-child(4) { animation-delay: 0.2s; }

@keyframes postExpandIn {
  from { opacity: 0; transform: translateY(24px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.blog-expand-wrap {
  display: flex;
  justify-content: center;
  margin-top: 36px;
}

.blog-expand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease), background 0.25s var(--ease);
}

.blog-expand:hover {
  transform: translateY(-2px);
  border-color: var(--blue-200);
  box-shadow: 0 12px 28px rgba(31, 90, 208, 0.15);
  background: var(--blue-50);
}

.blog-expand svg {
  transition: transform 0.35s var(--ease);
  color: var(--blue-600);
}

.blog-expand[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.post-body { padding: clamp(22px, 3vw, 32px); }

.post-meta {
  font-size: 13px;
  color: var(--text-mute);
  font-weight: 500;
  letter-spacing: 0.02em;
}

.post-body h3 {
  font-size: clamp(19px, 2vw, 22px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin: 12px 0 16px;
}

.post-lead {
  color: var(--text-soft);
  font-size: 15px;
  margin-bottom: 22px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line-soft);
}

.post-section { margin-bottom: 18px; }
.post-section:last-child { margin-bottom: 0; }

.post-section h4 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--blue-700);
  margin-bottom: 8px;
  font-weight: 700;
}

.post-section p {
  color: var(--text-soft);
  font-size: 15px;
  line-height: 1.6;
}

/* ===========================
   Contact
   =========================== */
.contact {
  background: linear-gradient(135deg, #0b1530 0%, #0b2563 55%, #1f5ad0 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.contact::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(91, 141, 239, 0.25), transparent 40%),
    radial-gradient(circle at 80% 80%, rgba(47, 111, 229, 0.3), transparent 40%);
  pointer-events: none;
  animation: contactBg 12s ease-in-out infinite alternate;
}

@keyframes contactBg {
  from { transform: scale(1) rotate(0deg); }
  to { transform: scale(1.15) rotate(4deg); }
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 64px);
  align-items: center;
  position: relative;
}

.contact-copy h2 {
  font-size: clamp(1.75rem, 3.6vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin: 18px 0 20px;
}

.contact-copy p {
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(15px, 1.5vw, 17px);
  max-width: 480px;
}

.contact-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 12px;
  backdrop-filter: blur(12px);
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 18px;
  border-radius: var(--radius);
  transition: background 0.25s var(--ease), transform 0.25s var(--ease);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff;
}

.contact-item:last-child { border-bottom: 0; }

.contact-item:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateX(6px);
}

.contact-item:hover .contact-icon {
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(-6deg) scale(1.05);
}

.contact-icon {
  width: 48px; height: 48px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.1);
  display: grid;
  place-items: center;
  color: #fff;
  flex-shrink: 0;
  transition: background 0.25s var(--ease), transform 0.25s var(--ease);
}

.contact-icon svg { width: 22px; height: 22px; }

.contact-label {
  display: block;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  margin-bottom: 4px;
}

.contact-item strong {
  font-size: clamp(15px, 1.5vw, 17px);
  font-weight: 600;
  letter-spacing: -0.01em;
  word-break: break-word;
}

/* ===========================
   Footer
   =========================== */
.footer {
  padding: 56px 0 40px;
  background: #fff;
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-align: center;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}

.footer p {
  color: var(--text-soft);
  font-size: 15px;
}

.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a {
  color: var(--text-soft);
  font-size: 14px;
  transition: color 0.2s var(--ease);
}

.footer-links a:hover { color: var(--blue-600); }

.footer small {
  color: var(--text-mute);
  font-size: 13px;
}

/* ===========================
   Reveal
   =========================== */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}

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

/* ===========================
   Responsive — Tablet (≤1024px)
   =========================== */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 56px;
  }
  .hero-copy { max-width: 620px; }
  .hero-visual { height: 520px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .project, .project-reverse {
    grid-template-columns: 1fr;
    direction: ltr;
    gap: 32px;
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .about-photo { max-width: 440px; margin: 0 auto; }
  .contact-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .blog-grid { grid-template-columns: 1fr; gap: 24px; }
}

/* ===========================
   Responsive — Tablet narrow (≤880px)
   =========================== */
@media (max-width: 880px) {
  .nav-links {
    position: fixed;
    top: var(--nav-height);
    left: 0; right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(16px);
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
    gap: 4px;
    border-bottom: 1px solid var(--line);
    transform: translateY(-120%);
    transition: transform 0.4s var(--ease-out);
    box-shadow: 0 24px 50px rgba(11, 37, 99, 0.12);
    max-height: calc(100vh - var(--nav-height));
    overflow-y: auto;
  }
  .nav-links a {
    width: 100%;
    padding: 14px 12px;
    border-radius: 12px;
    font-size: 17px;
    font-weight: 600;
  }
  .nav-links a:not(.nav-cta) { color: var(--text); }
  .nav-links a:not(.nav-cta)::after { display: none; }
  .nav-links a:not(.nav-cta):hover { background: var(--blue-50); }
  .nav-links a.nav-cta {
    margin-top: 12px;
    text-align: center;
    padding: 14px 22px;
  }
  .nav.open .nav-links { transform: translateY(0); }
  .nav-toggle { display: flex; }
  .nav.open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav.open .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav.open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .brand-name { display: none; }
}

/* ===========================
   Responsive — Mobile (≤720px)
   =========================== */
@media (max-width: 720px) {
  .container { padding: 0 20px; }

  .hero { padding: 48px 0 80px; }

  .hero-copy .eyebrow { font-size: 12px; padding: 6px 12px; }

  .hero-visual { height: 480px; }
  .phone { width: 220px; height: 440px; border-radius: 38px; padding: 10px; }
  .phone-screen { border-radius: 28px; }
  .phone-notch { width: 90px; height: 22px; top: 10px; }

  .float-card { padding: 8px 12px 8px 8px; max-width: 170px; }
  .float-card img { width: 32px; height: 32px; border-radius: 8px; }
  .float-card strong { font-size: 12px; }
  .float-card span { font-size: 10px; }
  .card-a { top: 20px; left: -10px; transform: scale(0.92); }
  .card-b { bottom: 60px; left: -20px; transform: scale(0.92); }
  .card-c { top: 120px; right: -10px; transform: scale(0.92); }

  .hero-title { line-height: 1.1; }
  .hero-ctas { gap: 10px; }
  .btn { padding: 12px 20px; font-size: 14px; }

  .hero-stack { gap: 8px; }
  .hero-stack li { font-size: 12px; padding: 5px 10px; }

  .services-grid, .blog-grid { grid-template-columns: 1fr; gap: 16px; }

  .project-media { aspect-ratio: 4 / 3; }
  .project-title h3 { font-size: 20px; }
  .project-icon { width: 48px; height: 48px; border-radius: 14px; }

  .about-points li, .project-meta li {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 14px 0;
  }

  .photo-badge { right: 12px; bottom: 14px; font-size: 12px; padding: 8px 14px; }

  .post-cover span { font-size: 34px; }

  .scroll-cue { display: none; }

  .footer-inner { gap: 14px; }
  .footer-links { gap: 16px; }

  .lang-trigger { padding: 7px 10px; font-size: 12px; gap: 6px; }
  .flag { width: 20px; height: 14px; }
  .flag-square { width: 16px; height: 16px; }
  .lang-menu {
    right: auto;
    left: 50%;
    transform-origin: top center;
    transform: translate(-50%, -8px) scale(0.96);
    min-width: 180px;
  }
  .lang-switcher.open .lang-menu { transform: translate(-50%, 0) scale(1); }

  .contact-item {
    flex-wrap: wrap;
    padding: 16px;
    gap: 14px;
  }
  .contact-item strong { font-size: 14px; }
}

/* ===========================
   Responsive — Small mobile (≤420px)
   =========================== */
@media (max-width: 420px) {
  .hero { padding: 36px 0 64px; }
  .hero-visual { height: 420px; }
  .phone { width: 200px; height: 400px; }
  .card-a { display: none; }
  .card-c { right: 0; top: 80px; }
  .card-b { left: 0; bottom: 40px; }

  .hero-ctas .btn { width: 100%; justify-content: center; }

  .photo-badge { position: relative; right: auto; bottom: auto; margin-top: 14px; }
  .about-photo { text-align: center; }
}

/* ===========================
   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;
  }
}
