/* ============================================
   EMERALD HOSPITALITY — DESIGN SYSTEM (LIGHT)
   Primary: #c8d604 (Lime) · Clean white base
   ============================================ */

:root {
  --primary: #c8d604;
  --primary-hover: #b7c502;
  --primary-dark: #6f7a00;          /* lime for text on white */
  --primary-soft: rgba(200, 214, 4, 0.14);
  --primary-border: rgba(140, 152, 0, 0.35);
  --bg: #ffffff;
  --bg-2: #f6f8f2;                   /* alternate section */
  --bg-3: #eef1e8;                   /* deeper alt / inputs */
  --card: #ffffff;
  --card-border: #e4e8dc;
  --text: #12180f;
  --text-2: #4d5847;
  --text-3: #8b9584;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 24px 60px rgba(22, 30, 14, 0.10);
  --shadow-sm: 0 10px 30px rgba(22, 30, 14, 0.07);
  --font: 'Plus Jakarta Sans', 'Segoe UI', system-ui, sans-serif;
  --container: 1200px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ============ RESET ============ */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
::selection { background: var(--primary); color: #12180f; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

.text-accent { color: var(--primary-dark); }

/* ============ PAGE LOADER ============ */
.page-loader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--bg);
  display: flex; align-items: center; justify-content: center; gap: 14px;
  transition: opacity 0.5s ease, visibility 0.5s ease;
  animation: loaderAutoHide 0.5s ease forwards;
  animation-delay: 4.5s;
}
@keyframes loaderAutoHide {
  to { opacity: 0; visibility: hidden; pointer-events: none; }
}
.page-loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-mark {
  width: 46px; height: 46px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  animation: loaderPulse 1.2s var(--ease) infinite;
}
.loader-mark img { width: 100%; height: 100%; object-fit: contain; }
.page-loader span { font-weight: 800; font-size: 1.4rem; letter-spacing: -0.02em; }
@keyframes loaderPulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(200, 214, 4, 0.45); }
  50% { transform: scale(1.08); box-shadow: 0 0 0 16px rgba(200, 214, 4, 0); }
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 26px; border-radius: 999px;
  font-weight: 700; font-size: 0.95rem; letter-spacing: 0.01em;
  border: none; transition: all 0.25s var(--ease); cursor: pointer;
}
.btn-sm { padding: 9px 20px; font-size: 0.875rem; }
.btn-lg { padding: 15px 34px; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-primary {
  background: var(--primary); color: #12180f;
  box-shadow: 0 8px 24px rgba(180, 192, 0, 0.30);
}
.btn-primary:hover { background: var(--primary-hover); transform: translateY(-2px); box-shadow: 0 12px 30px rgba(180, 192, 0, 0.40); }
.btn-ghost {
  background: transparent; color: var(--text);
  border: 1px solid var(--card-border);
}
.btn-ghost:hover { border-color: var(--primary-dark); color: var(--primary-dark); background: var(--primary-soft); }
.btn-danger { background: rgba(239, 68, 68, 0.08); color: #dc2626; border: 1px solid rgba(239, 68, 68, 0.3); }
.btn-danger:hover { background: rgba(239, 68, 68, 0.15); }

/* ============ NAVBAR ============ */
.navbar {
  position: fixed; top: 16px; left: 0; right: 0; z-index: 1000;
  transition: all 0.35s var(--ease);
}
.navbar-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 12px 22px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid transparent;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: all 0.35s var(--ease);
}
.navbar.scrolled .navbar-inner {
  background: rgba(255, 255, 255, 0.92);
  border-color: var(--card-border);
  box-shadow: 0 12px 36px rgba(22, 30, 14, 0.10);
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark {
  width: 38px; height: 38px; border-radius: 10px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; background: transparent;
}
.brand-mark img { width: 100%; height: 100%; object-fit: contain; border-radius: 10px; }
.brand-text { font-weight: 800; font-size: 1.05rem; letter-spacing: -0.02em; display: flex; flex-direction: column; line-height: 1.05; }
.brand-text span:last-child { font-size: 0.62rem; font-weight: 700; letter-spacing: 0.28em; text-transform: uppercase; color: var(--primary-dark); }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.nav-login:hover { background: var(--primary-soft); }
.nav-links a { font-size: 0.92rem; font-weight: 600; color: var(--text-2); transition: color 0.2s; position: relative; }
.nav-links a:hover { color: var(--text); }
.nav-links a.nav-active { color: var(--primary-dark); }
.nav-links a.nav-active::after { width: 100%; }
.nav-links a::after {
  content: ''; position: absolute; bottom: -6px; left: 0; width: 0; height: 2px;
  background: var(--primary-dark); border-radius: 2px; transition: width 0.25s var(--ease);
}
.nav-links a:hover::after { width: 100%; }
.mobile-menu-btn {
  display: none; background: var(--primary-soft); color: var(--primary-dark);
  border: none; width: 42px; height: 42px; border-radius: 12px;
  align-items: center; justify-content: center;
}
.mobile-menu-btn svg { width: 22px; height: 22px; }
.mobile-menu {
  position: fixed; top: 84px; left: 16px; right: 16px; z-index: 999;
  background: rgba(255, 255, 255, 0.97); border: 1px solid var(--card-border);
  border-radius: var(--radius); padding: 20px;
  display: none; flex-direction: column; gap: 4px;
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow);
}
.mobile-menu.open { display: flex; }
.mobile-menu a { padding: 13px 16px; border-radius: 10px; font-weight: 600; color: var(--text-2); }
.mobile-menu a:hover { background: var(--primary-soft); color: var(--primary-dark); }
.mobile-menu .btn { margin-top: 8px; }

/* ============ HERO ============ */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  padding: 140px 0 90px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 55% at 80% -10%, rgba(200, 214, 4, 0.14), transparent 60%),
    radial-gradient(ellipse 55% 45% at 5% 100%, rgba(200, 214, 4, 0.10), transparent 60%),
    var(--bg);
}
.hero-grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(120, 132, 90, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120, 132, 90, 0.07) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, black 30%, transparent 75%);
}
.hero-glow {
  position: absolute; border-radius: 50%; filter: blur(110px); pointer-events: none;
  animation: glowFloat 9s ease-in-out infinite;
}
.hero-glow-1 { width: 560px; height: 560px; background: rgba(200, 214, 4, 0.16); top: -160px; right: -110px; }
.hero-glow-2 { width: 440px; height: 440px; background: rgba(200, 214, 4, 0.10); bottom: -200px; left: -140px; animation-delay: 4s; }
@keyframes glowFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, 40px) scale(1.08); }
}
.hero-inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 8px 18px; border-radius: 999px;
  background: var(--primary-soft); border: 1px solid var(--primary-border);
  color: var(--primary-dark); font-size: 0.82rem; font-weight: 700; letter-spacing: 0.04em;
  margin-bottom: 26px;
}
.pulse-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--primary-dark);
  animation: pulseDot 1.6s ease-in-out infinite;
}
@keyframes pulseDot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(111, 122, 0, 0.45); }
  50% { box-shadow: 0 0 0 7px rgba(111, 122, 0, 0); }
}
.hero h1 {
  font-size: clamp(2.4rem, 5.2vw, 4rem);
  font-weight: 800; line-height: 1.08; letter-spacing: -0.03em;
  margin-bottom: 24px;
}
.hero-sub { color: var(--text-2); font-size: 1.1rem; max-width: 540px; margin-bottom: 36px; }
.hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 44px; }
.hero-mini-stats { display: flex; gap: 34px; flex-wrap: wrap; }
.hero-stat { display: flex; flex-direction: column; }
.hero-stat-value { font-size: 1.5rem; font-weight: 800; color: var(--text); }
.hero-stat-value em { font-style: normal; color: var(--primary-dark); }
.hero-stat-label { font-size: 0.82rem; color: var(--text-3); font-weight: 600; }

/* Hero mockup */
.hero-visual { position: relative; }
.mockup-window {
  background: var(--card); border: 1px solid var(--card-border);
  border-radius: 20px; overflow: hidden;
  box-shadow: var(--shadow);
  transform: perspective(1200px) rotateY(-4deg) rotateX(2deg);
  transition: transform 0.5s var(--ease);
  animation: floatY 7s ease-in-out infinite;
}
@keyframes floatY {
  0%, 100% { transform: perspective(1200px) rotateY(-4deg) rotateX(2deg) translateY(0); }
  50% { transform: perspective(1200px) rotateY(-4deg) rotateX(2deg) translateY(-12px); }
}
.mockup-titlebar {
  display: flex; align-items: center; gap: 7px;
  padding: 13px 16px; border-bottom: 1px solid var(--card-border);
  background: var(--bg-2);
}
.dot { width: 11px; height: 11px; border-radius: 50%; }
.dot-r { background: #ff5f57; } .dot-y { background: #febc2e; } .dot-g { background: #28c840; }
.mockup-url {
  margin-left: 12px; font-size: 0.72rem; color: var(--text-3);
  background: var(--bg); padding: 4px 14px; border-radius: 999px;
  border: 1px solid var(--card-border);
}
.mockup-body { display: grid; grid-template-columns: 56px 1fr; min-height: 330px; }
.mockup-sidebar {
  background: var(--bg-2); border-right: 1px solid var(--card-border);
  display: flex; flex-direction: column; gap: 12px; padding: 18px 12px; align-items: center;
}
.ms-logo { width: 30px; height: 30px; border-radius: 8px; background: var(--primary); margin-bottom: 10px; }
.ms-item { width: 100%; height: 30px; border-radius: 8px; background: rgba(18, 24, 15, 0.06); }
.ms-item.active { background: var(--primary-soft); border: 1px solid var(--primary-border); }
.mockup-main { padding: 22px; }
.mm-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.mm-title { width: 130px; height: 16px; border-radius: 4px; background: rgba(18, 24, 15, 0.12); }
.mm-sub { width: 80px; height: 10px; border-radius: 4px; background: rgba(18, 24, 15, 0.07); margin-top: 8px; }
.mm-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 18px; }
.mm-card {
  background: var(--bg-2); border: 1px solid var(--card-border);
  border-radius: 12px; padding: 14px;
}
.mm-badge {
  display: flex; align-items: center; justify-content: center;
  padding: 6px 14px; border-radius: 999px; background: var(--primary-soft);
  border: 1px solid var(--primary-border); width: 86px; height: 26px;
  color: var(--primary-dark); font-size: 0.68rem; font-weight: 800; letter-spacing: 0.12em;
}
.mm-badge.live { animation: badgeBlink 1.8s ease-in-out infinite; }
@keyframes badgeBlink {
  0%, 100% { background: var(--primary-soft); box-shadow: none; }
  50% { background: var(--primary); color: #12180f; box-shadow: 0 0 16px rgba(180,192,0,0.55); }
}
.mm-card-value {
  width: auto; height: 22px; border-radius: 4px;
  background: transparent; font-size: 0.92rem; font-weight: 800; color: var(--text);
  display: flex; align-items: center; line-height: 1;
}
.mm-card-value.lime { color: var(--primary-dark); }
.mm-card-value.bump { animation: valBump 0.5s var(--ease); }
@keyframes valBump {
  0% { transform: scale(1); }
  40% { transform: scale(1.22); color: var(--primary-dark); }
  100% { transform: scale(1); }
}
.mm-card-label { width: 60%; height: 9px; border-radius: 3px; background: rgba(18, 24, 15, 0.10); margin-bottom: 8px; }
.mm-chart {
  display: flex; align-items: flex-end; gap: 10px;
  background: var(--bg-2); border: 1px solid var(--card-border);
  border-radius: 12px; padding: 18px; height: 140px;
}
.mm-chart .bar { flex: 1; border-radius: 5px 5px 0 0; background: rgba(18, 24, 15, 0.10); transition: height 1.2s var(--ease); }
.mm-chart .bar.lime-b { background: var(--primary); box-shadow: 0 0 22px rgba(180, 192, 0, 0.40); }
.float-chip.leaving { animation: chipOut 0.45s var(--ease) forwards; }
.float-chip.entering { animation: chipIn 0.55s var(--ease) forwards, chipFloat 5s ease-in-out infinite 0.55s; }
@keyframes chipOut { to { opacity: 0; transform: translateY(14px) scale(0.92); } }
@keyframes chipIn { from { opacity: 0; transform: translateY(-14px) scale(0.92); } to { opacity: 1; transform: translateY(0) scale(1); } }
.mockup-url { display: inline-flex; align-items: center; min-width: 150px; }
.mockup-url .caret {
  display: inline-block; width: 7px; height: 13px; margin-left: 2px;
  background: var(--primary-dark); animation: caretBlink 0.9s steps(1) infinite;
}
@keyframes caretBlink { 50% { opacity: 0; } }
.hero h1 .text-accent { display: inline-block; position: relative; }
.hero h1 .text-accent::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 4px; height: 10px;
  background: var(--primary); border-radius: 6px; z-index: -1; opacity: 0.5;
  animation: underlineSweep 3.5s var(--ease) infinite;
}
@keyframes underlineSweep {
  0%, 100% { transform: scaleX(0.2); transform-origin: left; opacity: 0.25; }
  50% { transform: scaleX(1); transform-origin: left; opacity: 0.6; }
}

.float-chip {
  position: absolute; display: flex; align-items: center; gap: 9px;
  background: rgba(255, 255, 255, 0.92); border: 1px solid var(--card-border);
  border-radius: 14px; padding: 11px 18px; font-size: 0.85rem; font-weight: 700;
  backdrop-filter: blur(12px); box-shadow: var(--shadow-sm);
  animation: chipFloat 5s ease-in-out infinite;
}
.chip-icon {
  width: 26px; height: 26px; border-radius: 8px; flex-shrink: 0;
  background: var(--primary); color: #12180f;
  display: flex; align-items: center; justify-content: center; font-size: 0.8rem;
}
.chip-a { top: 26px; right: -18px; }
.chip-b { bottom: 40px; left: -22px; animation-delay: 2.4s; }
@keyframes chipFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.hero-scroll {
  position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: var(--text-3); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase;
}
.scroll-line { width: 1px; height: 44px; background: linear-gradient(to bottom, var(--primary-dark), transparent); animation: scrollLine 2s ease-in-out infinite; }
@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  50.1% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ============ MARQUEE ============ */
.marquee-section { padding: 56px 0 20px; }
.marquee-label { text-align: center; color: var(--text-3); font-size: 0.95rem; margin-bottom: 30px; }
.marquee-label strong { color: var(--primary-dark); }
.marquee {
  overflow: hidden; position: relative; padding: 10px 0;
  mask-image: linear-gradient(90deg, transparent, black 12%, black 88%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 12%, black 88%, transparent);
}
.marquee-track {
  display: flex; gap: 18px; width: max-content;
  animation: marquee 36s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.client-chip {
  display: flex; align-items: center; gap: 13px;
  background: var(--card); border: 1px solid var(--card-border);
  border-radius: 14px; padding: 13px 24px;
  transition: all 0.3s var(--ease); flex-shrink: 0;
  box-shadow: 0 2px 10px rgba(22, 30, 14, 0.04);
}
.client-chip:hover { border-color: var(--primary-border); background: var(--bg-2); transform: translateY(-3px); }
.client-logo {
  width: 40px; height: 40px; border-radius: 10px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--primary-soft); color: var(--primary-dark);
  font-weight: 800; font-size: 0.95rem; overflow: hidden;
}
.client-logo img { width: 100%; height: 100%; object-fit: contain; }
.client-logo img.logo-dark-bg { background: #1a241a; padding: 5px; }
.client-info { display: flex; flex-direction: column; }
.client-name { font-weight: 700; font-size: 0.9rem; }
.client-loc { font-size: 0.74rem; color: var(--text-3); font-weight: 600; }

/* ============ SECTIONS (shared) ============ */
section { position: relative; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 60px; }
.section-head.row-between {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 24px;
  text-align: left; max-width: none;
}
.section-head.row-between > div { max-width: 520px; }
.section-head h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; margin-bottom: 14px; }
.section-head p { color: var(--text-2); }
.section-eyebrow {
  display: inline-block; font-size: 0.78rem; font-weight: 800;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--primary-dark);
  margin-bottom: 14px;
}

/* ============ ABOUT ============ */
.about-section { padding: 110px 0; background: var(--bg-2); }
.about-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 64px; align-items: center; }
.about-copy h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1.25; margin-bottom: 18px; }
.about-copy > p { color: var(--text-2); margin-bottom: 30px; }
.about-points { display: flex; flex-direction: column; gap: 20px; }
.about-point { display: flex; gap: 15px; align-items: flex-start; }
.about-point .check {
  width: 30px; height: 30px; border-radius: 9px; flex-shrink: 0; margin-top: 2px;
  background: var(--primary-soft); color: var(--primary-dark);
  display: flex; align-items: center; justify-content: center; font-size: 0.9rem; font-weight: 800;
}
.about-point strong { display: block; font-size: 1rem; margin-bottom: 2px; }
.about-point p { color: var(--text-3); font-size: 0.88rem; }
.about-visual { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.about-card {
  background: var(--card); border: 1px solid var(--card-border);
  border-radius: var(--radius); padding: 28px;
  display: flex; flex-direction: column; gap: 6px;
  transition: all 0.3s var(--ease);
  box-shadow: 0 2px 12px rgba(22, 30, 14, 0.04);
}
.about-card:hover { border-color: var(--primary-border); transform: translateY(-4px); }
.about-card.big { grid-column: span 2; background: linear-gradient(135deg, rgba(200,214,4,0.12), transparent 60%), var(--card); }
.about-card.lime-card { background: var(--primary); color: #12180f; border: none; }
.about-card.lime-card .about-label { color: rgba(18, 24, 15, 0.68); }
.about-num { font-size: 2.2rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1; }
.about-label { font-size: 0.85rem; color: var(--text-3); font-weight: 600; }

/* ============ FEATURES ============ */
.features-section { padding: 110px 0; }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature-card {
  position: relative; background: var(--card); border: 1px solid var(--card-border);
  border-radius: var(--radius); padding: 30px 26px;
  transition: all 0.35s var(--ease); overflow: hidden; cursor: pointer;
  box-shadow: 0 2px 12px rgba(22, 30, 14, 0.04);
}
.feature-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--primary), transparent);
  opacity: 0; transition: opacity 0.35s;
}
.feature-card:hover { transform: translateY(-6px); border-color: var(--primary-border); box-shadow: var(--shadow-sm); }
.feature-card:hover::before { opacity: 1; }
.feature-icon {
  width: 52px; height: 52px; border-radius: 14px; margin-bottom: 20px;
  background: var(--primary-soft); color: var(--primary-dark);
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--primary-border);
  transition: all 0.35s var(--ease);
}
.feature-card:hover .feature-icon { background: var(--primary); color: #12180f; box-shadow: 0 8px 24px rgba(180, 192, 0, 0.40); }
.feature-icon svg { width: 24px; height: 24px; }
.feature-card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 10px; }
.feature-card p { color: var(--text-2); font-size: 0.92rem; }

/* ============ PLATFORMS ============ */
.platform-section { padding: 110px 0; background: var(--bg-2); }
.platform-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.platform-card {
  text-align: center; background: var(--card); border: 1px solid var(--card-border);
  border-radius: var(--radius); padding: 40px 28px;
  transition: all 0.35s var(--ease);
  box-shadow: 0 2px 12px rgba(22, 30, 14, 0.04);
}
.platform-card:hover { transform: translateY(-6px); border-color: var(--primary-border); box-shadow: var(--shadow-sm); }
.platform-icon {
  width: 66px; height: 66px; margin: 0 auto 20px; border-radius: 20px;
  background: var(--primary-soft); border: 1px solid var(--primary-border);
  color: var(--primary-dark); display: flex; align-items: center; justify-content: center;
  transition: all 0.35s var(--ease);
}
.platform-card:hover .platform-icon { background: var(--primary); color: #12180f; transform: scale(1.06) rotate(-4deg); }
.platform-icon svg { width: 30px; height: 30px; }
.platform-card h3 { font-size: 1.2rem; font-weight:700; margin-bottom: 10px; }
.platform-card p { color: var(--text-2); font-size: 0.92rem; }

/* ============ PARTNERS ============ */
.partners-section { padding: 110px 0; }
.partner-tabs {
  display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-bottom: 34px;
}
.partner-tab {
  background: var(--card); border: 1px solid var(--card-border);
  color: var(--text-2); padding: 9px 20px; border-radius: 999px;
  font-size: 0.85rem; font-weight: 700; transition: all 0.25s var(--ease);
}
.partner-tab:hover { border-color: var(--primary-border); color: var(--primary-dark); }
.partner-tab.active { background: var(--primary); color: #12180f; border-color: var(--primary); }
.partners-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.partner-card {
  background: var(--card); border: 1px solid var(--card-border);
  border-radius: var(--radius-sm); padding: 22px 18px;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  transition: all 0.3s var(--ease); cursor: pointer;
  box-shadow: 0 2px 10px rgba(22, 30, 14, 0.04);
}
.partner-card:hover { border-color: var(--primary-border); background: var(--bg-2); transform: translateY(-4px); }
.partner-logo {
  width: 54px; height: 54px; border-radius: 14px;
  background: var(--primary-soft); color: var(--primary-dark);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1.25rem; overflow: hidden;
}
.partner-logo img { width: 100%; height: 100%; object-fit: contain; }
.partner-name { font-weight: 700; font-size: 0.92rem; text-align: center; }
.partner-cat { font-size: 0.72rem; color: var(--text-3); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }

/* ============ ARTICLES ============ */
.articles-section { padding: 110px 0; background: var(--bg-2); }
.articles-desc { color: var(--text-3); font-size: 0.95rem; }
.articles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 40px; }
.article-card {
  background: var(--card); border: 1px solid var(--card-border);
  border-radius: var(--radius); overflow: hidden;
  transition: all 0.35s var(--ease); cursor: pointer; display: flex; flex-direction: column;
  box-shadow: 0 2px 12px rgba(22, 30, 14, 0.04);
}
.article-card:hover { transform: translateY(-6px); border-color: var(--primary-border); box-shadow: var(--shadow-sm); }
.article-cover-link { display: block; }
.article-cover { height: 180px; position: relative; overflow: hidden; background: linear-gradient(135deg, rgba(200,214,4,0.18), rgba(200,214,4,0.04)); display: flex; align-items: center; justify-content: center; }
.article-cover img { width: 100%; height: 100%; object-fit: cover; }
.article-cover .cover-icon { font-size: 2.4rem; opacity: 0.55; }
.article-tag {
  position: absolute; top: 14px; left: 14px;
  background: rgba(255, 255, 255, 0.92); color: var(--primary-dark); border: 1px solid var(--primary-border);
  padding: 5px 12px; border-radius: 999px; font-size: 0.7rem; font-weight: 700;
  backdrop-filter: blur(8px);
}
.article-tag.static { position: static; display: inline-block; margin-left: 6px; }
.article-body { padding: 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.article-meta { display: flex; gap: 10px; font-size: 0.75rem; color: var(--text-3); font-weight: 600; align-items: center; flex-wrap: wrap; }
.article-body h2, .article-body h3 { font-size: 1.08rem; font-weight: 700; line-height: 1.4; }
.article-body h2 a:hover { color: var(--primary-dark); }
.article-excerpt { color: var(--text-2); font-size: 0.88rem; flex: 1; }
.article-read { color: var(--primary-dark); font-weight: 700; font-size: 0.85rem; display: inline-flex; align-items: center; gap: 6px; }
.article-read:hover { gap: 10px; }

/* ============ OPEN API ============ */
.api-section { padding: 110px 0; background: var(--bg-2); }
.api-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.api-copy h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; margin-bottom: 16px; }
.api-copy > p { color: var(--text-2); margin-bottom: 28px; }
.api-points { display: flex; flex-direction: column; gap: 16px; }
.api-code {
  background: var(--card); border: 1px solid var(--card-border);
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow);
}
.api-code pre {
  padding: 24px; overflow-x: auto; font-size: 0.85rem; line-height: 1.7;
  font-family: 'Consolas', 'Courier New', monospace;
  color: var(--text-2);
}
.code-kw { color: #7c3aed; font-weight: 700; }
.code-str { color: #059669; }
.code-fn { color: #db2777; }

/* ============ CHANGELOG ============ */
.changelog-section { padding: 110px 0; }
.changelog-list { max-width: 780px; margin: 0 auto; position: relative; }
.changelog-list::before {
  content: ''; position: absolute; left: 19px; top: 8px; bottom: 8px; width: 2px;
  background: linear-gradient(to bottom, var(--primary-dark), rgba(111, 122, 0, 0.12));
}
.changelog-item { position: relative; padding: 0 0 38px 62px; }
.changelog-item:last-child { padding-bottom: 0; }
.cl-dot {
  position: absolute; left: 8px; top: 6px; width: 24px; height: 24px; border-radius: 50%;
  background: var(--bg); border: 2px solid var(--primary-dark);
  display: flex; align-items: center; justify-content: center;
}
.cl-dot::after { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--primary-dark); }
.cl-dot.type-fix { border-color: #3b82f6; } .cl-dot.type-fix::after { background: #3b82f6; }
.cl-dot.type-improvement { border-color: #d97706; } .cl-dot.type-improvement::after { background: #d97706; }
.cl-head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 12px; }
.cl-version {
  background: var(--primary); color: #12180f; font-weight: 800; font-size: 0.8rem;
  padding: 5px 14px; border-radius: 999px; letter-spacing: 0.04em;
}
.cl-version.type-fix { background: rgba(59, 130, 246, 0.12); color: #1d4ed8; }
.cl-version.type-improvement { background: rgba(217, 119, 6, 0.12); color: #b45309; }
.cl-date { font-size: 0.82rem; color: var(--text-3); font-weight: 600; }
.cl-title { font-size: 1.15rem; font-weight: 700; margin-bottom: 12px; }
.cl-card {
  background: var(--card); border: 1px solid var(--card-border); border-radius: var(--radius);
  padding: 20px 24px;
  box-shadow: 0 2px 10px rgba(22, 30, 14, 0.04);
}
.cl-card ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.cl-card li { color: var(--text-2); font-size: 0.92rem; display: flex; gap: 10px; align-items: flex-start; }
.cl-card li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--primary-dark); flex-shrink: 0; margin-top: 8px; }

/* ============ TESTIMONIALS ============ */
.testimonials-section { padding: 110px 0; background: var(--bg-2); }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.testimonial-card {
  background: var(--card); border: 1px solid var(--card-border);
  border-radius: var(--radius); padding: 28px;
  display: flex; flex-direction: column; gap: 16px;
  transition: all 0.3s var(--ease);
  box-shadow: 0 2px 12px rgba(22, 30, 14, 0.04);
}
.testimonial-card:hover { border-color: var(--primary-border); transform: translateY(-4px); }
.testimonial-stars { color: var(--primary-dark); font-size: 0.95rem; letter-spacing: 3px; }
.testimonial-text { color: var(--text-2); font-size: 0.95rem; font-style: italic; flex: 1; }
.testimonial-author { display: flex; align-items: center; gap: 13px; }
.testimonial-avatar {
  width: 46px; height: 46px; border-radius: 50%; flex-shrink: 0;
  background: var(--primary-soft); color: var(--primary-dark);
  display: flex; align-items: center; justify-content: center; font-weight: 800;
  border: 1px solid var(--primary-border);
}
.testimonial-author h4 { font-size: 0.95rem; font-weight: 700; }
.testimonial-author p { font-size: 0.78rem; color: var(--text-3); }

/* ============ OFFICES ============ */
.offices-section { padding: 110px 0; }
.offices-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.office-card {
  background: var(--card); border: 1px solid var(--card-border);
  border-radius: var(--radius); padding: 30px;
  transition: all 0.3s var(--ease);
  box-shadow: 0 2px 12px rgba(22, 30, 14, 0.04);
}
.office-card:hover { border-color: var(--primary-border); transform: translateY(-4px); }
.office-card.hq { border-color: var(--primary-border); background: linear-gradient(160deg, rgba(200,214,4,0.12), transparent 55%), var(--card); }
.office-badge {
  display: inline-block; padding: 5px 13px; border-radius: 999px;
  background: var(--primary-soft); color: var(--primary-dark);
  font-size: 0.7rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase;
  margin-bottom: 16px;
}
.office-card h3 { font-size: 1.35rem; font-weight: 800; margin-bottom: 6px; }
.office-addr { color: var(--text-2); font-size: 0.9rem; margin-bottom: 14px; min-height: 48px; }
.office-phone { color: var(--text-3); font-size: 0.85rem; font-weight: 600; display: flex; align-items: center; gap: 8px; }
.office-phone svg { width: 15px; height: 15px; }

/* ============ CONTACT ============ */
.contact-section { padding: 110px 0; background: var(--bg-2); }
.contact-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact-copy h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; margin-bottom: 16px; }
.contact-copy > p { color: var(--text-2); margin-bottom: 36px; }
.contact-people { display: flex; flex-direction: column; gap: 16px; }
.person-card {
  display: flex; align-items: center; gap: 16px;
  background: var(--card); border: 1px solid var(--card-border);
  border-radius: var(--radius); padding: 20px 22px;
  transition: all 0.3s var(--ease);
  box-shadow: 0 2px 12px rgba(22, 30, 14, 0.04);
}
.person-card:hover { border-color: var(--primary-border); }
.person-avatar {
  width: 52px; height: 52px; border-radius: 50%; flex-shrink: 0;
  background: var(--primary); color: #12180f;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1.05rem;
}
.person-info { flex: 1; }
.person-info h4 { font-size: 1.02rem; font-weight: 700; }
.person-info p { font-size: 0.8rem; color: var(--text-3); font-weight: 600; margin-top: 1px; }
.person-phone { font-size: 0.9rem; font-weight: 700; color: var(--text); }
.person-wa {
  display: inline-flex; align-items: center; gap: 7px; flex-shrink: 0;
  background: var(--primary-soft); color: var(--primary-dark); border: 1px solid var(--primary-border);
  padding: 9px 16px; border-radius: 999px; font-size: 0.82rem; font-weight: 700;
  transition: all 0.25s var(--ease);
}
.person-wa:hover { background: var(--primary); color: #12180f; }
.person-wa svg { width: 16px; height: 16px; }
.contact-form-wrap {
  background: var(--card); border: 1px solid var(--card-border);
  border-radius: var(--radius); padding: 34px;
  box-shadow: var(--shadow-sm);
}
.contact-form-wrap h3 { font-size: 1.3rem; font-weight: 800; margin-bottom: 22px; }
.contact-form { display: flex; flex-direction: column; gap: 14px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-form input, .contact-form textarea {
  width: 100%; background: var(--bg-2); border: 1px solid var(--card-border);
  border-radius: var(--radius-sm); padding: 13px 16px;
  color: var(--text); font-family: inherit; font-size: 0.92rem;
  transition: all 0.25s;
}
.contact-form input:focus, .contact-form textarea:focus {
  outline: none; border-color: var(--primary-dark); background: #fff; box-shadow: 0 0 0 3px rgba(200,214,4,0.18);
}
.contact-form textarea { resize: vertical; }
.form-status { font-size: 0.88rem; font-weight: 600; min-height: 22px; }
.form-status.ok { color: #4d7c0f; }
.form-status.err { color: #dc2626; }

/* ============ FOOTER ============ */
.footer { background: var(--bg-2); border-top: 1px solid var(--card-border); padding: 70px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; margin-bottom: 50px; }
.footer-tagline { color: var(--text-3); font-size: 0.95rem; font-style: italic; margin-top: 18px; line-height: 1.7; }
.footer-social { display: flex; gap: 10px; margin-top: 22px; }
.footer-social a {
  width: 40px; height: 40px; border-radius: 12px;
  background: var(--card); border: 1px solid var(--card-border);
  display: flex; align-items: center; justify-content: center; color: var(--text-2);
  transition: all 0.25s var(--ease);
}
.footer-social a:hover { background: var(--primary); color: #12180f; border-color: var(--primary); }
.footer-social svg { width: 18px; height: 18px; }
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col h4 { font-size: 0.82rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-3); margin-bottom: 8px; }
.footer-col a { color: var(--text-2); font-size: 0.92rem; transition: color 0.2s; }
.footer-col a:hover { color: var(--primary-dark); }
.footer-contact .fc-item { display: flex; gap: 10px; align-items: flex-start; color: var(--text-2); font-size: 0.88rem; flex-direction: column; }
.footer-contact .fc-item strong { color: var(--text); font-size: 0.9rem; }
.footer-bottom {
  border-top: 1px solid var(--card-border); padding-top: 26px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  color: var(--text-3); font-size: 0.85rem;
}
.admin-link { color: var(--text-3); font-size: 0.82rem; transition: color 0.2s; }
.admin-link:hover { color: var(--primary-dark); }

/* ============ SUBPAGE (SSR PAGES) ============ */
.subpage-hero {
  padding: 180px 0 80px;
  background:
    radial-gradient(ellipse 70% 60% at 80% -10%, rgba(200, 214, 4, 0.14), transparent 60%),
    var(--bg);
  overflow: hidden;
}
.subpage-hero .container { position: relative; z-index: 2; text-align: center; max-width: 720px; }
.subpage-hero h1 { font-size: clamp(2rem, 4.4vw, 3.2rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.12; margin-bottom: 18px; }
.subpage-hero p { color: var(--text-2); font-size: 1.08rem; }
.subpage-hero .hero-grid { mask-image: radial-gradient(ellipse 80% 70% at 50% 20%, black 30%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 20%, black 30%, transparent 75%); }
.page-content { padding: 50px 0 100px; }

.breadcrumbs { margin-bottom: 30px; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; font-size: 0.82rem; font-weight: 600; color: var(--text-3); }
.breadcrumbs li { display: flex; align-items: center; gap: 8px; }
.breadcrumbs li:not(:last-child)::after { content: '/'; color: var(--text-3); }
.breadcrumbs a:hover { color: var(--primary-dark); }
.breadcrumbs li[aria-current] { color: var(--text); }

.articles-grid-page { margin-top: 0; }
.empty-state { text-align: center; color: var(--text-3); padding: 60px 20px; font-size: 1rem; }

/* Article single page */
.article-container { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 48px; align-items: start; }
.article-single { background: var(--card); border: 1px solid var(--card-border); border-radius: var(--radius); padding: 40px; box-shadow: 0 2px 14px rgba(22, 30, 14, 0.05); }
.article-header { margin-bottom: 26px; }
.article-header h1 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 800; letter-spacing: -0.025em; line-height: 1.18; margin: 16px 0 14px; }
.article-lead { color: var(--text-2); font-size: 1.05rem; }
.article-hero-img { border-radius: var(--radius); overflow: hidden; margin-bottom: 28px; }
.article-hero-img img { width: 100%; }
.article-content { color: var(--text-2); font-size: 1rem; line-height: 1.85; }
.article-content h1 { font-size: 1.6rem; margin: 30px 0 12px; color: var(--text); font-weight: 800; line-height: 1.3; }
.article-content h2 { font-size: 1.35rem; margin: 28px 0 12px; color: var(--text); font-weight: 800; line-height: 1.3; }
.article-content h3 { font-size: 1.15rem; margin: 24px 0 10px; color: var(--text); font-weight: 700; line-height: 1.3; }
.article-content p { margin-bottom: 16px; }
.article-content ul, .article-content ol { margin: 0 0 18px 22px; display: flex; flex-direction: column; gap: 8px; }
.article-content li::marker { color: var(--primary-dark); font-weight: 700; }
.article-content strong { color: var(--text); }
.article-content table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 0.92rem; }
.article-content td { border: 1px solid var(--card-border); padding: 10px 14px; color: var(--text-2); }
.article-content td:first-child { font-weight: 700; color: var(--text); background: var(--bg-2); }
.article-related h3 { font-size: 1rem; font-weight: 800; margin-bottom: 16px; }
.related-card {
  display: block; background: var(--card); border: 1px solid var(--card-border);
  border-radius: var(--radius-sm); overflow: hidden; margin-bottom: 14px;
  transition: all 0.3s var(--ease);
}
.related-card:hover { border-color: var(--primary-border); transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.related-card img { width: 100%; height: 110px; object-fit: cover; }
.related-title { display: block; padding: 13px 15px; font-size: 0.88rem; font-weight: 700; line-height: 1.4; }

/* Changelog page */
.changelog-page { max-width: 820px; }

/* ============ ARTICLE MODAL (home) ============ */
.modal-overlay {
  position: fixed; inset: 0; z-index: 2000; background: rgba(10, 14, 8, 0.55);
  backdrop-filter: blur(8px); display: none; align-items: center; justify-content: center;
  padding: 24px; overflow-y: auto;
}
.modal-overlay.open { display: flex; }
.modal-card {
  background: var(--card); border: 1px solid var(--card-border);
  border-radius: 20px; max-width: 720px; width: 100%; max-height: 88vh; overflow-y: auto;
  padding: 40px; position: relative;
  animation: modalIn 0.35s var(--ease);
}
@keyframes modalIn { from { opacity: 0; transform: translateY(24px) scale(0.97); } to { opacity: 1; transform: none; } }
.modal-close {
  position: absolute; top: 18px; right: 18px; width: 40px; height: 40px;
  border-radius: 12px; background: var(--bg-2); border: 1px solid var(--card-border);
  color: var(--text-2); display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; transition: all 0.25s;
}
.modal-close:hover { background: var(--primary); color: #12180f; }
.modal-card .article-meta { margin: 16px 0 8px; }
.modal-card h2 { font-size: 1.8rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1.25; margin-bottom: 18px; }
.modal-cover { border-radius: var(--radius); overflow: hidden; margin-bottom: 24px; }
.modal-cover img { width: 100%; }
.modal-content { color: var(--text-2); font-size: 0.98rem; line-height: 1.8; }
.modal-content h1, .modal-content h2, .modal-content h3 { color: var(--text); font-weight: 800; margin: 24px 0 10px; line-height: 1.3; }
.modal-content h1 { font-size: 1.5rem; } .modal-content h2 { font-size: 1.25rem; } .modal-content h3 { font-size: 1.08rem; }
.modal-content p { margin-bottom: 14px; }
.modal-content ul, .modal-content ol { margin: 0 0 14px 20px; display: flex; flex-direction: column; gap: 6px; }
.modal-content strong { color: var(--text); }

/* ============ EMERALD FLOW ============ */
.flow-section { padding: 110px 0; background: var(--bg-2); }
.flow-scroll { overflow-x: auto; padding: 10px 0 20px; }
.flow-svg { min-width: 980px; width: 100%; height: auto; display: block; }
.flow-label { font-size: 0.72rem; font-weight: 800; fill: var(--text-3); letter-spacing: 0.08em; text-transform: uppercase; }
.packet { fill: var(--primary); stroke: #fff; stroke-width: 2.5; filter: drop-shadow(0 2px 5px rgba(180,192,0,0.5)); }
.packet-lbl { font-size: 0.68rem; font-weight: 800; fill: var(--primary-dark); font-family: var(--font); }
.fnode rect {
  fill: var(--card); stroke: var(--card-border); stroke-width: 1.5;
  filter: drop-shadow(0 3px 10px rgba(22,30,14,0.06));
}
.fnode.hub rect { stroke: var(--primary-border); stroke-width: 2; }
.fnode.report rect { fill: #fbfdd8; stroke: var(--primary-border); stroke-width: 1.5; }
.fnode-icon { fill: var(--primary-soft); stroke: var(--primary-border); stroke-width: 1; }
.fnode.report .fnode-icon { fill: var(--primary); }
.fnode-code { font-size: 0.72rem; font-weight: 800; fill: var(--primary-dark); font-family: var(--font); }
.fnode.report .fnode-code { fill: #12180f; }
.fnode-title { font-size: 0.95rem; font-weight: 800; fill: var(--text); font-family: var(--font); }
.fnode-data { font-size: 0.72rem; font-weight: 600; fill: var(--text-3); font-family: var(--font); }
.fnode-data.flash { fill: var(--primary-dark); font-weight: 800; }
.flow-log {
  max-width: 720px; margin: 26px auto 0;
  background: var(--card); border: 1px solid var(--card-border);
  border-radius: 999px; padding: 12px 24px;
  display: flex; align-items: center; gap: 14px;
  box-shadow: 0 4px 16px rgba(22,30,14,0.06);
}
.flow-log-head {
  display: flex; align-items: center; gap: 9px; flex-shrink: 0;
  font-size: 0.75rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--primary-dark);
}
.flow-log p { font-size: 0.88rem; color: var(--text-2); font-weight: 600; }
.flow-log p.flash { color: var(--text); }

/* ============ REVEAL ANIMATIONS ============ */
[data-reveal] {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
[data-reveal].revealed { opacity: 1; transform: none; }

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 70px; }
  .hero { padding-top: 130px; }
  .hero-visual { max-width: 560px; margin: 0 auto; }
  .features-grid, .platform-grid { grid-template-columns: repeat(2, 1fr); }
  .partners-grid { grid-template-columns: repeat(3, 1fr); }
  .articles-grid, .testimonials-grid, .offices-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; }
  .contact-wrap { grid-template-columns: 1fr; }
  .api-wrap { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .article-container { grid-template-columns: 1fr; }
  .article-related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
}
@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .nav-actions .nav-cta { display: none; }
  .mobile-menu-btn { display: flex; }
  .features-grid, .platform-grid, .partners-grid, .articles-grid, .testimonials-grid, .offices-grid { grid-template-columns: 1fr; }
  .section-head.row-between { flex-direction: column; align-items: flex-start; }
  .form-row { grid-template-columns: 1fr; }
  .about-visual { grid-template-columns: 1fr; }
  .about-card.big { grid-column: span 1; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .chip-a { right: 0; top: 8px; }
  .chip-b { left: 0; bottom: 18px; }
  .mockup-body { grid-template-columns: 44px 1fr; min-height: 260px; }
  .mockup-main { padding: 14px; }
  .mm-cards { gap: 8px; }
  .modal-card { padding: 26px 20px; }
  .hero-mini-stats { gap: 22px; }
  .article-single { padding: 26px 20px; }
  .article-related { grid-template-columns: 1fr; }
  .subpage-hero { padding: 150px 0 60px; }
}
@media (max-width: 480px) {
  .hero { min-height: auto; }
  .container { padding: 0 18px; }
  .mm-cards { grid-template-columns: 1fr; }
  .mm-card { padding: 10px; }
  .hero-buttons .btn { flex: 1; justify-content: center; }
}

/* ============ REDUCED MOTION ============ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1; transform: none; }
}
