:root {
  /* Refined White & Slate-Blue Palette */
  --slate-950: #0f2436;
  --slate-900: #173449;
  --slate-800: #224660;
  --slate-700: #355872;
  --blue-600: #4d8fc4;
  --blue-500: #7aaace;
  --blue-400: #8bc0e8;
  --blue-300: #9cd5ff;
  --blue-200: #c8e6ff;
  --blue-100: #e6f2fc;
  --blue-50: #f3f8fd;
  --ivory: #f7f8f0;
  --white: #ffffff;

  --ink: #172b3b;
  --muted: #60758a;
  --line: #e4edf4;
  --line-strong: #cfdfeb;
  --success: #1f8a6b;
  --danger: #c05454;

  --font-sans: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --shadow-xs: 0 1px 2px rgba(15, 36, 54, 0.04);
  --shadow-sm: 0 6px 20px rgba(53, 88, 114, 0.07);
  --shadow-md: 0 18px 44px rgba(53, 88, 114, 0.1);
  --shadow-lg: 0 32px 72px rgba(15, 36, 54, 0.16);
  --shadow-blue: 0 18px 40px rgba(77, 143, 196, 0.24);

  --radius-xs: 12px;
  --radius-sm: 16px;
  --radius-md: 22px;
  --radius-lg: 30px;
  --radius-xl: 38px;
  --container: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--white);
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection { background: var(--blue-200); color: var(--slate-950); }

:focus-visible {
  outline: 2px solid var(--blue-500);
  outline-offset: 3px;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 100%;
  z-index: 100;
  transform: scaleX(0);
  transform-origin: left center;
  background: linear-gradient(90deg, var(--slate-700), var(--blue-500), var(--blue-300));
  pointer-events: none;
}

h1, h2, h3, h4 {
  font-family: var(--font-sans);
  font-weight: 700;
  letter-spacing: -0.028em;
  line-height: 1.16;
  color: var(--slate-950);
  margin: 0 0 14px;
}

p { margin: 0 0 16px; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
ul { margin: 0; padding: 0; list-style: none; }

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 13px;
  border-radius: 999px;
  background: var(--blue-50);
  border: 1px solid var(--blue-100);
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate-700);
  margin-bottom: 18px;
}

.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue-500);
  box-shadow: 0 0 0 4px rgba(122, 170, 206, 0.18);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border-bottom: 1px solid rgba(228, 237, 244, 0.7);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.94);
  border-color: var(--line);
  box-shadow: 0 10px 30px rgba(15, 36, 54, 0.06);
}

.header-inner { min-height: 76px; display: flex; align-items: center; gap: 22px; }

.brand { display: inline-flex; align-items: center; gap: 11px; flex-shrink: 0; }

.brand-mark {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--slate-700), var(--blue-500));
  color: var(--white);
  font-size: 18px;
  font-weight: 800;
}

.brand-logo {
  width: 40px;
  height: 40px;
  display: block;
  object-fit: contain;
  border-radius: 12px;
  flex-shrink: 0;
  border: 1px solid var(--line);
  background: var(--white);
  transition: transform 0.3s var(--ease), box-shadow 0.3s ease;
}

.brand:hover .brand-logo { transform: rotate(-6deg) scale(1.05); box-shadow: var(--shadow-blue); }

.brand-text {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.035em;
  color: var(--slate-950);
  white-space: nowrap;
}

.brand-text span { color: var(--blue-500); font-weight: 700; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
  padding: 5px;
  border-radius: 999px;
  background: rgba(243, 248, 253, 0.9);
  border: 1px solid var(--line);
}

.site-nav a:not(.btn) {
  position: relative;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  padding: 8px 14px;
  border-radius: 999px;
  white-space: nowrap;
  transition: color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.site-nav a:not(.btn):hover {
  color: var(--slate-700);
  background: rgba(255, 255, 255, 0.75);
}

.site-nav a.active {
  color: var(--slate-950);
  background: var(--white);
  box-shadow: var(--shadow-xs);
}

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  margin-left: auto;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  padding: 10px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--slate-900);
  margin: 4px 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

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

.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--ivory);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  white-space: nowrap;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.lang-toggle:hover { border-color: var(--blue-500); background: var(--blue-50); }
.lang-toggle .lang-active,
.lang-toggle .lang-divider { color: var(--slate-700); }

/* Buttons */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: -0.01em;
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.25s var(--ease), box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

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

.btn:hover::after { transform: translateX(120%); }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn span { transition: transform 0.25s var(--ease); }
.btn:hover span { transform: translateX(4px); }

.btn-primary {
  color: var(--white);
  background: linear-gradient(120deg, var(--slate-700), var(--blue-600));
  box-shadow: 0 10px 24px rgba(53, 88, 114, 0.24);
}

.btn-primary:hover {
  background: linear-gradient(120deg, var(--slate-800), var(--blue-600));
  box-shadow: 0 16px 32px rgba(53, 88, 114, 0.3);
}

.btn-outline {
  color: var(--slate-700);
  background: var(--white);
  border-color: var(--line-strong);
}

.btn-outline:hover {
  background: var(--blue-50);
  border-color: var(--blue-500);
  box-shadow: 0 10px 24px rgba(53, 88, 114, 0.1);
}

.btn-light {
  color: var(--slate-950);
  background: var(--white);
  box-shadow: var(--shadow-md);
}

.btn-light:hover { background: var(--blue-50); }

.btn-ghost {
  color: var(--slate-700);
  background: transparent;
  border-color: var(--line);
}

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

.btn-sm { min-height: 40px; padding: 0 18px; font-size: 12.5px; }
.btn-block { width: 100%; }
.btn-header { min-height: 40px; padding: 0 18px; font-size: 12.5px; }

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 96px 0 104px;
  background:
    radial-gradient(ellipse 60% 55% at 82% 18%, rgba(156, 213, 255, 0.42), transparent 70%),
    radial-gradient(ellipse 45% 50% at 6% 88%, rgba(200, 230, 255, 0.45), transparent 72%),
    radial-gradient(ellipse 40% 40% at 48% 0%, rgba(247, 248, 240, 0.9), transparent 70%),
    linear-gradient(180deg, var(--white) 0%, #f7fbfe 100%);
  border-bottom: 1px solid var(--line);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(53, 88, 114, 0.1) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.55), transparent 90%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.55), transparent 90%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  width: 560px;
  height: 560px;
  right: -160px;
  top: -260px;
  border-radius: 50%;
  border: 1px solid rgba(122, 170, 206, 0.22);
  box-shadow: 0 0 0 80px rgba(156, 213, 255, 0.06), 0 0 0 170px rgba(156, 213, 255, 0.04);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  gap: 72px;
  align-items: center;
}

.hero-copy h1 {
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 800;
  letter-spacing: -0.048em;
  line-height: 1.06;
  margin-bottom: 22px;
}

.hero-copy h1 em {
  font-style: normal;
  background: linear-gradient(100deg, var(--slate-700) 0%, var(--blue-600) 55%, var(--blue-400) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-lead {
  font-size: 18px;
  color: var(--slate-800);
  font-weight: 600;
  line-height: 1.55;
  max-width: 560px;
}

.hero-sub {
  font-size: 15px;
  color: var(--muted);
  max-width: 540px;
  line-height: 1.8;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 32px 0 42px; }

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 38px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.stat-item { display: flex; flex-direction: column; position: relative; }

.stat-item + .stat-item::before {
  content: "";
  position: absolute;
  left: -19px;
  top: 5px;
  bottom: 5px;
  width: 1px;
  background: var(--line);
}

.stat-item strong {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--slate-700);
  line-height: 1.1;
}

.stat-item span {
  font-size: 11.5px;
  color: var(--muted);
  margin-top: 6px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* Hero Visual Card */
.hero-visual { position: relative; min-height: 430px; }

.visual-orb {
  position: absolute;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  top: 0;
  right: -20px;
  background: radial-gradient(circle, rgba(156, 213, 255, 0.68) 0%, rgba(122, 170, 206, 0.2) 55%, transparent 74%);
  filter: blur(6px);
  animation: orbPulse 7s ease-in-out infinite alternate;
}

.browser-card {
  position: absolute;
  top: 32px;
  right: 8px;
  width: min(100%, 470px);
  background: var(--white);
  border: 1px solid rgba(207, 223, 235, 0.9);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg), 0 0 0 8px rgba(156, 213, 255, 0.1);
  overflow: hidden;
  transform: rotate(-1.5deg);
  transition: transform 0.45s var(--ease), box-shadow 0.45s ease;
  animation: floatCard 8s ease-in-out infinite;
}

.hero-visual:hover .browser-card {
  animation: none;
  transform: rotate(0deg) translateY(-6px);
  box-shadow: 0 40px 80px rgba(15, 36, 54, 0.18), 0 0 0 10px rgba(156, 213, 255, 0.14);
}

.browser-top {
  height: 44px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 16px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #fbfdff, var(--blue-50));
}

.browser-top span { width: 9px; height: 9px; border-radius: 50%; background: var(--line-strong); }
.browser-top span:first-child { background: var(--slate-700); }
.browser-top span:nth-child(2) { background: var(--blue-500); }
.browser-top span:nth-child(3) { background: var(--blue-300); }

.browser-top i {
  margin-left: auto;
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--slate-700);
  background: var(--white);
  padding: 4px 13px;
  border-radius: 999px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-xs);
}

.browser-body { display: grid; grid-template-columns: 86px 1fr; min-height: 278px; }

.browser-sidebar {
  padding: 24px 16px;
  border-right: 1px solid var(--line);
  background: linear-gradient(180deg, #fbfdff, #f5f9fd);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.browser-sidebar span { height: 7px; border-radius: 4px; background: var(--line); }
.browser-sidebar span:first-child { background: var(--slate-700); width: 76%; }
.browser-sidebar span:nth-child(2) { background: var(--blue-500); width: 58%; }
.browser-sidebar span:nth-child(3) { width: 66%; }
.browser-sidebar span:nth-child(4) { width: 44%; }

.browser-content { padding: 28px 26px; display: flex; flex-direction: column; gap: 13px; }
.browser-line { height: 10px; border-radius: 6px; background: var(--blue-50); }
.browser-line.wide { width: 84%; height: 20px; background: linear-gradient(90deg, var(--slate-700), var(--blue-600), var(--blue-300)); }
.browser-line.medium { width: 64%; background: var(--line); }
.browser-line.short { width: 44%; background: var(--blue-50); border: 1px solid var(--blue-100); }

.browser-blocks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 12px 0; }

.browser-blocks span {
  height: 70px;
  border-radius: 14px;
  background: var(--blue-50);
  border: 1px solid var(--line);
}

.browser-blocks span:first-child {
  background: linear-gradient(145deg, var(--blue-200), var(--blue-50));
  border-color: rgba(122, 170, 206, 0.5);
}

.browser-blocks span:nth-child(2) { background: var(--white); }

.browser-blocks span:nth-child(3) {
  background: linear-gradient(145deg, var(--slate-700), var(--blue-600));
  border-color: transparent;
}

.floating-card {
  position: absolute;
  display: flex;
  flex-direction: column;
  padding: 14px 20px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-md);
  animation: floatBadge 6s ease-in-out infinite;
}

.floating-card strong {
  font-size: 23px;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--slate-700);
  line-height: 1.1;
}

.floating-card span {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--muted);
  margin-top: 3px;
  letter-spacing: 0.02em;
}

.float-a { left: 0; bottom: 60px; }
.float-b { right: -4px; bottom: 10px; border-color: rgba(122, 170, 206, 0.55); animation-delay: -3s; }

/* Sections */
.section { padding: 96px 0; }
.section-soft {
  background: linear-gradient(180deg, #f8fbfe 0%, var(--ivory) 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 42px;
}

.section-heading h2 {
  font-size: clamp(29px, 3.4vw, 40px);
  margin: 0;
  max-width: 680px;
  letter-spacing: -0.04em;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 700;
  color: var(--slate-700);
  border-bottom: 1.5px solid var(--blue-300);
  padding-bottom: 3px;
  white-space: nowrap;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.text-link:hover { color: var(--slate-950); border-color: var(--slate-700); }
.text-link span { transition: transform 0.25s var(--ease); }
.text-link:hover span { transform: translateX(4px); }

.section-note { margin: 30px 0 0; font-size: 12.5px; color: var(--muted); text-align: center; }

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

.service-card {
  position: relative;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-xs);
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s ease, border-color 0.3s ease;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 30px;
  right: 30px;
  height: 2px;
  border-radius: 0 0 4px 4px;
  background: linear-gradient(90deg, var(--slate-700), var(--blue-300));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}

.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--blue-200); }
.service-card:hover::before { transform: scaleX(1); }

.service-icon {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: linear-gradient(140deg, var(--blue-100), var(--blue-50));
  border: 1px solid var(--blue-100);
  color: var(--slate-700);
  font-size: 21px;
  margin-bottom: 20px;
  transition: transform 0.3s var(--ease), background 0.3s ease;
}

.service-card:hover .service-icon { transform: scale(1.08) rotate(-5deg); background: var(--blue-200); }

.service-card h3 { font-size: 19.5px; margin-bottom: 9px; }
.service-card p { font-size: 13.5px; color: var(--muted); margin: 0; max-width: 300px; }

.service-number {
  position: absolute;
  right: 24px;
  top: 24px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--blue-500);
}

/* Projects */
.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.project-grid-compact { grid-template-columns: repeat(2, 1fr); }

.project-card {
  display: flex;
  flex-direction: column;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, var(--white), #fcfdff);
  box-shadow: var(--shadow-xs);
  transition: transform 0.3s var(--ease), box-shadow 0.3s ease, border-color 0.3s ease;
}

.project-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--blue-200); }

.project-badge {
  display: inline-block;
  align-self: flex-start;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--blue-100);
  color: var(--slate-700);
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
  border: 1px solid var(--blue-200);
}

.project-card h3 { font-size: 20px; margin-bottom: 9px; letter-spacing: -0.035em; }
.project-card p { font-size: 13.5px; color: var(--muted); margin: 0 0 20px; flex: 1; }

.project-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 20px; }

.project-tag {
  padding: 5px 10px;
  border-radius: 8px;
  background: var(--blue-50);
  border: 1px solid var(--blue-100);
  color: var(--slate-700);
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 500;
}

.project-link { align-self: flex-start; font-size: 13px; }

/* About Split */
.about-split { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 76px; align-items: center; }
.split-copy h2 { font-size: clamp(29px, 3.4vw, 40px); max-width: 560px; }
.split-copy p { color: var(--muted); max-width: 580px; font-size: 15px; }
.split-copy strong { color: var(--slate-700); }

.split-card {
  position: relative;
  padding: 38px;
  border-radius: var(--radius-lg);
  background: linear-gradient(155deg, var(--blue-50), var(--ivory) 65%);
  border: 1px solid var(--blue-100);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.split-card::after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  right: -110px;
  top: -110px;
  background: radial-gradient(circle, rgba(156, 213, 255, 0.45), transparent 70%);
  pointer-events: none;
}

.split-icon {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 15px;
  background: linear-gradient(135deg, var(--slate-700), var(--blue-600));
  color: var(--blue-300);
  font-size: 23px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-blue);
}

.split-card h3 { font-size: 21px; }
.split-card > p { color: var(--slate-700); font-size: 13px; font-weight: 600; }
.split-line { height: 1px; background: var(--line); margin: 20px 0; }

.split-list li {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 13.5px;
  color: var(--ink);
  padding: 6px 0;
}

.split-list li::before { content: "✓"; color: var(--slate-700); font-weight: 800; }

/* Packages */
.package-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.package-grid-page { grid-template-columns: repeat(4, 1fr); }

.package-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-xs);
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s ease, border-color 0.3s ease;
}

.package-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--blue-200); }

.package-card.featured {
  border-color: var(--slate-800);
  background: linear-gradient(160deg, var(--slate-900), var(--slate-700) 70%, var(--blue-600));
  box-shadow: var(--shadow-lg);
  color: var(--white);
}

.package-card.featured::before {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  right: -120px;
  top: -140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(156, 213, 255, 0.3), transparent 70%);
}

.package-badge {
  position: absolute;
  top: 0;
  right: 0;
  padding: 8px 15px;
  border-radius: 0 0 0 14px;
  background: var(--blue-300);
  color: var(--slate-950);
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.package-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--blue-50);
  border: 1px solid var(--blue-100);
  color: var(--slate-700);
  font-size: 21px;
  margin-bottom: 18px;
}

.package-card.featured .package-icon {
  background: rgba(156, 213, 255, 0.16);
  border-color: rgba(156, 213, 255, 0.35);
  color: var(--blue-300);
}

.package-card h3 { font-size: 20.5px; margin-bottom: 7px; position: relative; }
.package-tagline { font-size: 13px; color: var(--muted); min-height: 44px; margin-bottom: 16px; position: relative; }

.package-price {
  display: flex;
  flex-direction: column;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 20px;
  position: relative;
}

.package-price strong {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--slate-950);
  line-height: 1.2;
}

.package-price span { font-size: 11.5px; color: var(--muted); margin-top: 3px; }

.package-features { display: flex; flex-direction: column; gap: 10px; margin-bottom: 26px; flex: 1; position: relative; }
.package-features li { display: flex; align-items: start; gap: 9px; font-size: 13px; color: var(--muted); }
.package-features .check { color: var(--slate-700); font-weight: 800; }

.package-card.featured h3,
.package-card.featured .package-price strong { color: var(--white); }
.package-card.featured .package-tagline,
.package-card.featured .package-price span { color: rgba(230, 242, 252, 0.78); }
.package-card.featured .package-price { border-color: rgba(156, 213, 255, 0.24); }
.package-card.featured .package-features li { color: rgba(230, 242, 252, 0.88); }
.package-card.featured .package-features .check { color: var(--blue-300); }
.package-card.featured .btn-primary { background: var(--white); color: var(--slate-900); box-shadow: none; }
.package-card.featured .btn-primary:hover { background: var(--blue-100); }

/* Process */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

.process-item {
  position: relative;
  padding: 26px;
  border-radius: var(--radius-md);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-xs);
  transition: transform 0.3s var(--ease), box-shadow 0.3s ease;
}

.process-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }

.process-step {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--blue-100), var(--blue-50));
  border: 1px solid var(--blue-200);
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
  color: var(--slate-700);
  margin-bottom: 16px;
  box-shadow: var(--shadow-xs);
}

.process-item h3 { font-size: 18.5px; margin-bottom: 7px; }
.process-item p { font-size: 13px; color: var(--muted); margin: 0; }

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

.testimonial-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-xs);
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s ease, border-color 0.3s ease;
}

.testimonial-card::before {
  content: "“";
  position: absolute;
  right: 20px;
  top: -26px;
  font-family: Georgia, serif;
  font-size: 130px;
  line-height: 1;
  color: var(--blue-50);
  pointer-events: none;
}

.testimonial-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--blue-200); }

.stars { display: flex; gap: 3px; color: var(--line); font-size: 14px; margin-bottom: 16px; position: relative; }
.stars .on { color: var(--blue-500); }

.quote {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.7;
  color: var(--slate-900);
  flex: 1;
  margin-bottom: 24px;
  position: relative;
}

.testimonial-author { display: flex; align-items: center; gap: 12px; padding-top: 18px; border-top: 1px solid var(--line); position: relative; }

.avatar {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: linear-gradient(140deg, var(--slate-700), var(--blue-600));
  color: var(--blue-300);
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}

.testimonial-author strong { display: block; font-size: 13px; line-height: 1.3; color: var(--slate-950); }
.testimonial-author span { display: block; font-size: 12px; color: var(--muted); line-height: 1.3; }

/* Compare */
.compare-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }

.compare-card {
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-xs);
}

.compare-icon {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--blue-50);
  border: 1px solid var(--blue-100);
  color: var(--slate-700);
  font-size: 18px;
  margin-bottom: 16px;
}

.compare-card h3 { font-size: 20px; }
.compare-card p { font-size: 14px; color: var(--muted); }
.compare-card ul li { position: relative; padding-left: 22px; font-size: 14px; color: var(--muted); margin-bottom: 9px; }
.compare-card ul li::before { content: "✓"; position: absolute; left: 0; color: var(--slate-700); font-weight: 800; }

/* Subpages Hero */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: 82px 0 62px;
  background:
    radial-gradient(ellipse 50% 80% at 88% 20%, rgba(156, 213, 255, 0.42), transparent 70%),
    radial-gradient(ellipse 35% 70% at 8% 100%, rgba(200, 230, 255, 0.45), transparent 75%),
    linear-gradient(180deg, var(--white) 0%, #f7fbfe 100%);
  border-bottom: 1px solid var(--line);
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(53, 88, 114, 0.09) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: linear-gradient(90deg, transparent 40%, black 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 40%, black 100%);
  pointer-events: none;
}

.page-hero > .container { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(36px, 4.6vw, 56px); font-weight: 800; letter-spacing: -0.045em; margin-bottom: 14px; }
.page-hero h1 em {
  font-style: normal;
  background: linear-gradient(100deg, var(--slate-700), var(--blue-600), var(--blue-400));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.page-hero p { color: var(--muted); max-width: 640px; font-size: 16px; margin: 0; line-height: 1.75; }

/* About Layout */
.about-layout { display: grid; grid-template-columns: 330px 1fr; gap: 60px; align-items: start; }

.identity-card {
  position: sticky;
  top: 100px;
  padding: 34px;
  border: 1px solid var(--blue-100);
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, var(--blue-50), var(--ivory) 70%);
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.identity-avatar {
  width: 88px;
  height: 88px;
  margin: 0 auto 18px;
  display: grid;
  place-items: center;
  border-radius: 26px;
  background: linear-gradient(140deg, var(--slate-700), var(--blue-500));
  color: var(--white);
  font-size: 29px;
  font-weight: 800;
  letter-spacing: -0.03em;
  box-shadow: var(--shadow-blue);
}

.identity-card h2 { font-size: 22px; margin-bottom: 4px; }
.identity-role { color: var(--slate-700); font-size: 13px; font-weight: 600; }
.identity-line { height: 1px; background: var(--line); margin: 20px 0; }
.identity-facts { text-align: left; margin-bottom: 22px; }
.identity-facts div { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; font-size: 12.5px; border-bottom: 1px dashed rgba(205, 221, 233, 0.7); }
.identity-facts div:last-child { border-bottom: 0; }
.identity-facts dt { color: var(--muted); }
.identity-facts dd { margin: 0; color: var(--slate-950); font-weight: 600; text-align: right; }
.identity-facts dd a { color: var(--slate-700); text-decoration: underline; text-decoration-color: var(--blue-300); text-underline-offset: 3px; }
.fine-print { font-size: 11px; color: var(--muted); line-height: 1.6; margin: 14px 0 0; }

.about-main > div + div { margin-top: 46px; }
.about-main h2 { font-size: clamp(25px, 2.8vw, 32px); max-width: 600px; }
.prose p { color: var(--muted); max-width: 660px; font-size: 15px; }

.stats-row { display: flex; flex-wrap: wrap; gap: 40px; padding: 24px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.skill-list { display: flex; flex-wrap: wrap; gap: 9px; }

.skill-chip {
  padding: 8px 15px;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--slate-700);
  font-size: 12.5px;
  font-weight: 600;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.25s var(--ease);
}

.skill-chip:hover { background: var(--blue-50); border-color: var(--blue-500); transform: translateY(-2px); }

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

.principle-card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, var(--white), var(--blue-50));
  box-shadow: var(--shadow-xs);
  transition: transform 0.3s var(--ease), box-shadow 0.3s ease;
}

.principle-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }

.principle-number { font-family: var(--font-mono); font-size: 11px; font-weight: 600; letter-spacing: 0.08em; color: var(--blue-500); }
.principle-card h3 { font-size: 17.5px; margin: 10px 0 7px; }
.principle-card p { font-size: 13px; color: var(--muted); margin: 0; }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 64px; align-items: start; }
.faq-intro h2 { font-size: clamp(26px, 2.8vw, 34px); }
.faq-intro p { color: var(--muted); max-width: 350px; font-size: 14.5px; }
.faq-item { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-item summary { cursor: pointer; font-weight: 700; font-size: 15px; color: var(--slate-950); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq-item summary::after { content: "+"; color: var(--slate-700); font-size: 18px; font-weight: 500; }
.faq-item[open] summary::after { content: "−"; }
.faq-item p { color: var(--muted); font-size: 14px; margin: 12px 0 0; }

/* Contact */
.contact-layout { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 68px; align-items: start; }
.contact-main h2 { font-size: clamp(26px, 3vw, 35px); }
.contact-main > p { color: var(--muted); max-width: 580px; font-size: 15px; }

.contact-button {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  margin-bottom: 12px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow-xs);
  transition: transform 0.3s var(--ease), box-shadow 0.3s ease, border-color 0.3s ease;
}

.contact-button:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--blue-200); }

.discord-button {
  background: linear-gradient(135deg, var(--slate-800), var(--blue-600));
  border-color: transparent;
  color: var(--white);
}

.discord-button:hover { box-shadow: var(--shadow-blue); border-color: transparent; }

.contact-button-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: rgba(156, 213, 255, 0.16);
  color: var(--blue-300);
  font-size: 20px;
  flex-shrink: 0;
  transition: transform 0.3s var(--ease);
}

.contact-button:hover .contact-button-icon { transform: scale(1.08) rotate(-6deg); }

.linktree-button .contact-button-icon { background: var(--ivory); border: 1px solid var(--line); color: var(--slate-700); }
.contact-button-copy { flex: 1; min-width: 0; }
.contact-button-copy strong { display: block; font-size: 15px; line-height: 1.35; }
.contact-button-copy small { display: block; font-size: 12px; opacity: 0.85; overflow: hidden; text-overflow: ellipsis; }
.linktree-button .contact-button-copy small { color: var(--muted); opacity: 1; }
.contact-button-arrow { font-size: 18px; transition: transform 0.2s ease; }
.contact-button:hover .contact-button-arrow { transform: translateX(4px); }

.contact-note {
  margin-top: 22px;
  padding: 18px 22px;
  border-radius: var(--radius-md);
  background: var(--ivory);
  border: 1px solid var(--line);
}

.contact-note strong { font-size: 13.5px; color: var(--slate-950); }
.contact-note p { font-size: 13px; color: var(--muted); margin: 4px 0 0; }

.contact-side { display: flex; flex-direction: column; gap: 16px; }
.side-card { padding: 26px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--white); box-shadow: var(--shadow-xs); }

.side-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: var(--blue-50);
  border: 1px solid var(--blue-100);
  color: var(--slate-700);
  font-size: 17px;
  margin-bottom: 14px;
}

.side-card h3 { font-size: 18px; }
.side-card ul li { font-size: 13.5px; color: var(--muted); padding: 6px 0 6px 20px; position: relative; }
.side-card ul li::before { content: "✓"; position: absolute; left: 0; color: var(--slate-700); font-weight: 800; }
.side-card p { font-size: 13px; color: var(--muted); margin: 0; }
.side-privacy { background: var(--ivory); }
.contact-side .fine-print { text-align: right; }

/* CTA Panel */
.section-cta { padding-top: 40px; }

.cta-panel {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  padding: 56px 62px;
  border-radius: var(--radius-xl);
  background: linear-gradient(125deg, var(--slate-950) 0%, var(--slate-800) 55%, var(--slate-700) 100%);
  color: var(--white);
  box-shadow: var(--shadow-lg);
}

.cta-panel::before {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(156, 213, 255, 0.3), transparent 65%);
  top: -240px;
  right: -110px;
  pointer-events: none;
  animation: orbPulse 8s ease-in-out infinite alternate;
}

.cta-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(156, 213, 255, 0.16) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: linear-gradient(90deg, transparent 45%, black 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 45%, black 100%);
  pointer-events: none;
}

.cta-copy, .cta-panel > div { position: relative; max-width: 640px; }

.cta-panel .eyebrow {
  background: rgba(156, 213, 255, 0.14);
  border-color: rgba(156, 213, 255, 0.26);
  color: var(--blue-300);
}

.cta-panel h2 { color: var(--white); font-size: clamp(25px, 2.8vw, 34px); }
.cta-panel p { color: rgba(247, 248, 240, 0.82); margin: 0; font-size: 15px; }
.cta-panel .btn { position: relative; flex-shrink: 0; }

/* Footer */
.site-footer {
  position: relative;
  background: var(--slate-950);
  color: rgba(230, 242, 252, 0.68);
  padding-top: 74px;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(156, 213, 255, 0.6), transparent);
}

.footer-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; padding-bottom: 54px; }
.footer-brand .brand-logo { border-color: rgba(255, 255, 255, 0.16); }
.footer-brand .brand-text { color: var(--white); }
.footer-brand .brand-text span { color: var(--blue-300); }
.footer-brand p { margin-top: 16px; font-size: 13.5px; max-width: 350px; line-height: 1.75; }
.footer-links { display: grid; grid-template-columns: repeat(2, 1fr); gap: 36px; justify-self: end; }
.footer-links h4 { color: var(--white); font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 16px; }
.footer-links a { display: block; font-size: 13.5px; padding: 5px 0; transition: color 0.2s ease, transform 0.2s ease; }
.footer-links a:hover { color: var(--blue-300); transform: translateX(3px); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding: 22px 0 28px; border-top: 1px solid rgba(156, 213, 255, 0.14); font-size: 12px; }
.footer-bottom p { margin: 0; }

/* Scroll To Top */
.to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 40;
  width: 42px;
  height: 42px;
  border-radius: 11px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--slate-700);
  font-size: 17px;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all 0.25s ease;
}

.to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--slate-700); color: var(--white); border-color: var(--slate-700); }

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}

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

@keyframes floatCard {
  0%, 100% { transform: rotate(-1.5deg) translateY(0); }
  50% { transform: rotate(-1deg) translateY(-10px); }
}

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

@keyframes orbPulse {
  from { transform: scale(0.94); opacity: 0.85; }
  to { transform: scale(1.08); opacity: 1; }
}

/* Admin */
.admin-page { background: var(--ivory); min-height: 100vh; }
.admin-shell { width: min(calc(100% - 40px), 1080px); margin: 0 auto; padding: 38px 0 76px; }
.admin-top { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 26px; }
.admin-top .brand-text { font-size: 18px; }
.admin-pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 13px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font-size: 12px; font-weight: 700; color: var(--slate-700); }
.admin-pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--success); }
.admin-tools { display: flex; align-items: center; gap: 12px; }
.lang-inputs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.lang-inputs input, .lang-inputs textarea { width: 100%; }
.lang-inputs input:first-child, .lang-inputs textarea:first-child { border-left: 3px solid var(--slate-700); }
.lang-inputs input:nth-child(2), .lang-inputs textarea:nth-child(2) { border-left: 3px solid var(--blue-500); }
.admin-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); overflow: hidden; }
.login-wrap { width: min(100%, 450px); margin: 64px auto; }
.login-card { padding: 40px; }
.login-mark { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 14px; background: var(--blue-50); border: 1px solid var(--line); margin-bottom: 20px; }
.login-card h1 { font-size: 26px; }
.login-card > p { color: var(--muted); font-size: 14px; }
.admin-field { margin-bottom: 18px; }
.admin-field label { display: block; font-size: 12px; font-weight: 700; color: var(--slate-950); margin-bottom: 7px; letter-spacing: 0.01em; }
.admin-field input, .admin-field textarea, .admin-field select { width: 100%; padding: 11px 14px; border: 1px solid var(--line); border-radius: 11px; background: #fafcfd; color: var(--ink); font-size: 14px; outline: none; transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease; }
.admin-field textarea { resize: vertical; min-height: 90px; }
.admin-field input:focus, .admin-field textarea:focus, .admin-field select:focus { border-color: var(--blue-500); background: var(--white); box-shadow: 0 0 0 4px rgba(122, 170, 206, 0.16); }
.admin-alert { padding: 12px 14px; border-radius: 10px; font-size: 13px; margin-bottom: 16px; background: var(--blue-50); color: var(--slate-700); border: 1px solid var(--blue-100); }
.admin-alert.error { background: #fff4f4; color: #9c3f3f; border-color: #f2d5d5; }
.admin-alert.success { background: #eefaf5; color: var(--success); border-color: #cdeadd; }
.admin-alert:empty { display: none; }
.admin-tabs { display: flex; gap: 6px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: #fafcfd; overflow-x: auto; }
.admin-tab { padding: 9px 16px; border: 0; border-radius: 10px; background: transparent; color: var(--muted); font-size: 13px; font-weight: 700; cursor: pointer; white-space: nowrap; transition: background 0.2s ease, color 0.2s ease; }
.admin-tab.active { background: var(--white); color: var(--slate-700); box-shadow: var(--shadow-xs); }
.admin-body { padding: 28px; }
.admin-panel { display: none; }
.admin-panel.active { display: block; }
.admin-panel-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.admin-panel-head h2 { font-size: 22px; margin: 0; }
.admin-panel-head p { font-size: 13px; color: var(--muted); margin: 4px 0 0; }
.admin-list { display: grid; gap: 10px; }
.admin-item { display: flex; align-items: center; gap: 16px; padding: 15px 18px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--white); }
.admin-item-main { flex: 1; min-width: 0; }
.admin-item-main strong { display: block; font-size: 14px; color: var(--slate-950); }
.admin-item-main span { display: block; font-size: 12px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.admin-item-actions { display: flex; gap: 6px; flex-shrink: 0; }
.icon-btn { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 9px; background: var(--white); color: var(--slate-700); cursor: pointer; font-size: 14px; }
.icon-btn:hover { background: var(--blue-50); border-color: var(--blue-500); }
.icon-btn.danger { color: var(--danger); }
.admin-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 18px 28px; border-top: 1px solid var(--line); background: #fafcfd; }
.admin-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.admin-form-grid .full { grid-column: 1 / -1; }
.checkbox-row { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); }
.checkbox-row input { width: 18px; height: 18px; accent-color: var(--slate-700); }
.editor { display: none; margin-top: 20px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--ivory); }
.editor.open { display: block; }
.editor h3 { font-size: 18px; margin-bottom: 16px; }
.editor-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 8px; }
.admin-empty { padding: 30px; text-align: center; border: 1px dashed var(--blue-500); border-radius: var(--radius-sm); color: var(--muted); font-size: 13px; }
.admin-note { font-size: 12px; color: var(--muted); line-height: 1.7; }
.admin-note strong { color: var(--slate-950); }
.admin-locked { text-align: center; padding: 68px 30px; }
.admin-locked h1 { font-size: 28px; }
.admin-locked p { color: var(--muted); font-size: 14px; max-width: 520px; margin: 0 auto 14px; }
.admin-locked .btn { margin-top: 12px; }
.login-mark-center { margin-left: auto; margin-right: auto; }
.login-mark .brand-logo { width: 50px; height: 50px; border-radius: 13px; border: 0; }
.login-submit { margin-top: 18px; }
.note-top { margin-top: 18px; }
.note-top-lg { margin-top: 20px; }
.code-inline { display: inline-block; padding: 2px 7px; border-radius: 6px; background: var(--blue-100); color: var(--slate-900); font-family: var(--font-mono); font-size: 12px; }

/* Responsive */
@media (max-width: 1020px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { max-width: 520px; min-height: 380px; margin: 0 auto; }
  .service-grid, .project-grid, .package-grid, .testimonial-grid { grid-template-columns: repeat(2, 1fr); }
  .package-grid-page, .process-grid, .principle-grid { grid-template-columns: repeat(2, 1fr); }
  .about-split, .about-layout, .faq-grid, .contact-layout { grid-template-columns: 1fr; gap: 44px; }
  .identity-card { position: static; max-width: 480px; }
  .site-nav { gap: 2px; }
  .site-nav a:not(.btn) { padding: 8px 11px; font-size: 12.5px; }
  .btn-header { display: none; }
  .section { padding: 80px 0; }
}

@media (max-width: 760px) {
  .container { width: min(calc(100% - 36px), var(--container)); }
  .menu-toggle { display: block; }
  .site-nav { position: absolute; top: 76px; left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; gap: 4px; margin: 0; padding: 14px 18px 22px; border-radius: 0 0 var(--radius-md) var(--radius-md); background: rgba(255, 255, 255, 0.98); border: 0; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md); }
  .site-nav.open { display: flex; }
  .site-nav a:not(.btn) { padding: 12px 14px; border-radius: 12px; }
  .site-nav a.active { background: var(--blue-50); }
  .btn-header { display: inline-flex; margin-top: 10px; }
  .hero { padding: 64px 0 72px; }
  .hero-copy h1 { font-size: 36px; }
  .hero-visual { min-height: 340px; }
  .browser-body { min-height: 220px; }
  .browser-content { padding: 22px 18px; }
  .float-a { bottom: 42px; }
  .section { padding: 68px 0; }
  .section-heading { flex-direction: column; align-items: start; gap: 14px; }
  .service-grid, .project-grid, .project-grid-compact, .package-grid, .package-grid-page, .testimonial-grid, .process-grid, .principle-grid, .compare-grid { grid-template-columns: 1fr; }
  .cta-panel { flex-direction: column; align-items: start; padding: 38px 28px; }
  .footer-inner, .footer-bottom { grid-template-columns: 1fr; flex-direction: column; }
  .footer-links { justify-self: start; }
  .page-hero { padding: 60px 0 48px; }
  .stat-item + .stat-item::before { display: none; }
  .hero-stats { gap: 28px; }
  .admin-form-grid, .lang-inputs { grid-template-columns: 1fr; }
  .admin-tools { gap: 8px; }
  .admin-body { padding: 20px; }
  .admin-actions { padding: 18px 20px; }
  .admin-item { align-items: start; flex-direction: column; }
  .admin-item-actions { align-self: flex-end; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
