/* ============================================
   کهکشان توسعه دیجیتال — Liquid Glass Landing
   ============================================ */

:root {
  --bg-deep: #06080f;
  --bg-mid: #0b1020;
  --text: #eef2ff;
  --text-muted: rgba(226, 232, 255, 0.68);
  --text-soft: rgba(226, 232, 255, 0.48);
  --accent: #7dd3fc;
  --accent-2: #a78bfa;
  --accent-3: #34d399;
  --glass: rgba(255, 255, 255, 0.06);
  --glass-strong: rgba(255, 255, 255, 0.1);
  --glass-border: rgba(255, 255, 255, 0.14);
  --glass-highlight: rgba(255, 255, 255, 0.22);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  --radius: 24px;
  --radius-sm: 16px;
  --radius-xs: 12px;
  --font: "Vazirmatn", system-ui, -apple-system, sans-serif;
  --display: "Vazirmatn", system-ui, -apple-system, sans-serif;
  --max: 1120px;
}

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

html {
  scroll-behavior: smooth;
  direction: rtl;
}

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg-deep);
  line-height: 1.85;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-align: right;
}

a {
  color: inherit;
  text-decoration: none;
}

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

ul {
  list-style: none;
}

button,
input,
textarea {
  font: inherit;
  color: inherit;
}

/* ---------- Ambient liquid background ---------- */

.bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background:
    radial-gradient(1200px 800px at 10% -10%, rgba(125, 211, 252, 0.18), transparent 55%),
    radial-gradient(900px 700px at 90% 10%, rgba(167, 139, 250, 0.2), transparent 50%),
    radial-gradient(800px 600px at 50% 100%, rgba(52, 211, 153, 0.1), transparent 50%),
    linear-gradient(180deg, #06080f 0%, #0a0f1c 50%, #070a12 100%);
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.55;
  animation: float 18s ease-in-out infinite;
  will-change: transform;
}

.blob-1 {
  width: 480px;
  height: 480px;
  top: -8%;
  left: -5%;
  background: radial-gradient(circle, rgba(125, 211, 252, 0.7), rgba(56, 189, 248, 0.15) 60%, transparent 70%);
  animation-duration: 22s;
}

.blob-2 {
  width: 520px;
  height: 520px;
  top: 20%;
  right: -10%;
  background: radial-gradient(circle, rgba(167, 139, 250, 0.65), rgba(139, 92, 246, 0.12) 55%, transparent 70%);
  animation-duration: 26s;
  animation-delay: -6s;
}

.blob-3 {
  width: 420px;
  height: 420px;
  bottom: 5%;
  left: 25%;
  background: radial-gradient(circle, rgba(52, 211, 153, 0.4), rgba(16, 185, 129, 0.1) 55%, transparent 70%);
  animation-duration: 24s;
  animation-delay: -12s;
}

.blob-4 {
  width: 300px;
  height: 300px;
  top: 55%;
  right: 30%;
  background: radial-gradient(circle, rgba(244, 114, 182, 0.35), transparent 70%);
  animation-duration: 20s;
  animation-delay: -3s;
}

.noise {
  position: absolute;
  inset: 0;
  opacity: 0.035;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -40px) scale(1.05); }
  66% { transform: translate(-25px, 20px) scale(0.96); }
}

/* ---------- Liquid glass surfaces ---------- */

.glass {
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.1) 0%,
    rgba(255, 255, 255, 0.04) 45%,
    rgba(255, 255, 255, 0.02) 100%
  );
  border: 1px solid var(--glass-border);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 var(--glass-highlight),
    inset 0 -1px 0 rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
}

.glass-panel {
  background: linear-gradient(
    160deg,
    rgba(255, 255, 255, 0.12) 0%,
    rgba(255, 255, 255, 0.05) 40%,
    rgba(255, 255, 255, 0.03) 100%
  );
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  box-shadow:
    var(--shadow),
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    inset 0 -1px 0 rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(28px) saturate(170%);
  -webkit-backdrop-filter: blur(28px) saturate(170%);
  position: relative;
  overflow: hidden;
}

.glass-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    125deg,
    rgba(255, 255, 255, 0.18) 0%,
    transparent 35%,
    transparent 65%,
    rgba(255, 255, 255, 0.04) 100%
  );
  pointer-events: none;
}

/* ---------- Typography ---------- */

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.35;
}

h1 {
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  margin: 1.1rem 0 1.25rem;
}

h2 {
  font-size: clamp(1.85rem, 3.5vw, 2.75rem);
  margin-bottom: 0.85rem;
}

h3 {
  font-size: 1.2rem;
  margin-bottom: 0.55rem;
}

.gradient-text {
  background: linear-gradient(120deg, #7dd3fc 0%, #c4b5fd 45%, #6ee7b7 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.section-sub,
.hero-lead {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 540px;
}

/* ---------- Navigation ---------- */

.nav-wrap {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 1rem 1.25rem 0;
}

.nav {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 0.75rem 1rem 0.75rem 1.25rem;
  border-radius: 999px;
}

.logo {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}

.logo-mark {
  font-size: 1.05rem;
  background: linear-gradient(120deg, #fff, #a5d8ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.logo-text {
  font-size: 0.88rem;
  color: var(--text-muted);
  font-weight: 500;
}

.nav-links {
  display: flex;
  gap: 0.35rem;
  margin-right: auto;
  margin-left: 0;
}

.nav-links a {
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  font-size: 0.92rem;
  color: var(--text-muted);
  transition: color 0.2s, background 0.2s;
}

.nav-links a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
  margin-right: auto;
  margin-left: 0;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s, border-color 0.2s;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-sm {
  padding: 0.55rem 1.1rem;
  font-size: 0.88rem;
  background: linear-gradient(135deg, rgba(125, 211, 252, 0.25), rgba(167, 139, 250, 0.25));
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-sm:hover {
  background: linear-gradient(135deg, rgba(125, 211, 252, 0.35), rgba(167, 139, 250, 0.35));
}

.btn-primary {
  background: linear-gradient(135deg, #38bdf8 0%, #818cf8 55%, #a78bfa 100%);
  color: #061018;
  font-weight: 600;
  box-shadow:
    0 10px 30px rgba(56, 189, 248, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.btn-primary:hover {
  box-shadow:
    0 14px 36px rgba(56, 189, 248, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.btn-ghost {
  border-color: var(--glass-border);
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
}

.btn-full {
  width: 100%;
}

/* ---------- Hero ---------- */

.hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: 4.5rem 1.5rem 5rem;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
}

.pill {
  display: inline-flex;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  font-weight: 500;
}

.hero-lead {
  margin-bottom: 1.75rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  width: fit-content;
  max-width: 100%;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.stat strong {
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.stat span {
  font-size: 0.78rem;
  color: var(--text-soft);
}

.stat-divider {
  width: 1px;
  height: 36px;
  background: rgba(255, 255, 255, 0.12);
}

.hero-visual {
  position: relative;
  min-height: 420px;
}

.hero-panel {
  padding: 1.15rem 1.25rem 1rem;
  transform: rotate(1.5deg);
  transition: transform 0.4s ease;
}

.hero-panel:hover {
  transform: rotate(0deg) translateY(-4px);
}

.panel-header {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  opacity: 0.85;
}

.dot.red { background: #fb7185; }
.dot.amber { background: #fbbf24; }
.dot.green { background: #34d399; }

.panel-title {
  margin-right: 0.5rem;
  margin-left: 0;
  font-size: 0.8rem;
  color: var(--text-soft);
  font-family: ui-monospace, "Cascadia Code", monospace;
  direction: ltr;
}

.code-block {
  position: relative;
  z-index: 1;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-xs);
  padding: 1.15rem 1.2rem;
  overflow-x: auto;
  direction: ltr;
  text-align: left;
}

.code-block pre {
  font-family: ui-monospace, "Cascadia Code", "SF Mono", Menlo, monospace;
  font-size: 0.82rem;
  line-height: 1.7;
  color: rgba(226, 232, 255, 0.88);
  text-align: left;
}

.kw { color: #c4b5fd; }
.var { color: #7dd3fc; }
.fn { color: #6ee7b7; }
.str { color: #f9a8d4; }

.panel-footer {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.9rem;
  font-size: 0.78rem;
  color: var(--text-soft);
  position: relative;
  z-index: 1;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 10px #34d399;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.45; }
}

.floating {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 500;
  z-index: 2;
  animation: bob 5s ease-in-out infinite;
}

.float-a {
  top: 8%;
  left: -4%;
  right: auto;
  animation-delay: 0s;
}

.float-b {
  bottom: 12%;
  right: -6%;
  left: auto;
  animation-delay: -2s;
}

.floating .icon {
  color: var(--accent);
  font-size: 0.95rem;
}

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

/* ---------- Sections ---------- */

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2rem 1.5rem 5rem;
}

.section-head {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-head .section-sub {
  margin: 0.75rem auto 0;
  text-align: center;
}

/* ---------- Service cards ---------- */

.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.card {
  padding: 1.5rem 1.35rem;
  border-radius: var(--radius-sm);
  transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}

.card:hover {
  transform: translateY(-6px);
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.14) 0%,
    rgba(255, 255, 255, 0.06) 100%
  );
  border-color: rgba(255, 255, 255, 0.22);
}

.card-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  margin-bottom: 1.1rem;
  font-size: 1.1rem;
  color: var(--accent);
  background: linear-gradient(145deg, rgba(125, 211, 252, 0.18), rgba(167, 139, 250, 0.12));
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.card p {
  color: var(--text-muted);
  font-size: 0.92rem;
}

/* ---------- Solutions ---------- */

.solutions-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 1.25rem;
  align-items: stretch;
}

.solutions-panel {
  padding: 2.25rem 2rem;
}

.feature-list {
  margin-top: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  position: relative;
  z-index: 1;
}

.feature-list li {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
}

.check {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 0.75rem;
  color: #6ee7b7;
  background: rgba(52, 211, 153, 0.12);
  border: 1px solid rgba(52, 211, 153, 0.28);
  margin-top: 0.1rem;
}

.feature-list strong {
  display: block;
  font-family: var(--display);
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.feature-list p {
  color: var(--text-muted);
  font-size: 0.92rem;
}

.solutions-aside {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.metric-card {
  padding: 1.35rem 1.4rem;
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  flex: 1;
}

.metric-label {
  font-size: 0.78rem;
  color: var(--text-soft);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}

.metric-value {
  font-family: var(--display);
  font-size: 2.4rem;
  font-weight: 600;
  letter-spacing: -0.04em;
  background: linear-gradient(120deg, #fff, #a5d8ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1.1;
}

.metric-note {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.metric-card.accent {
  background: linear-gradient(
    145deg,
    rgba(125, 211, 252, 0.14) 0%,
    rgba(167, 139, 250, 0.1) 50%,
    rgba(255, 255, 255, 0.04) 100%
  );
}

.stack-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.5rem;
  direction: ltr;
  justify-content: flex-start;
}

.stack-tags span {
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  font-size: 0.78rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
}

/* ---------- About ---------- */

.about {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  padding: 2.5rem 2.25rem;
  align-items: center;
}

.about-copy {
  position: relative;
  z-index: 1;
}

.about-copy p {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.about-copy h2 {
  margin-bottom: 1.1rem;
}

.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.tag {
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.about-visual {
  display: grid;
  place-items: center;
  min-height: 280px;
  position: relative;
  z-index: 1;
}

.orbit {
  width: 240px;
  height: 240px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  position: relative;
}

.orbit-core {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0;
  background: linear-gradient(145deg, rgba(125, 211, 252, 0.35), rgba(167, 139, 250, 0.3));
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow:
    0 0 40px rgba(125, 211, 252, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
  z-index: 2;
}

.orbit-ring {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  animation: spin 20s linear infinite;
}

.orbit-ring span {
  position: absolute;
  top: -0.55rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: rgba(8, 12, 24, 0.75);
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.r1 {
  width: 130px;
  height: 130px;
  animation-duration: 14s;
}

.r2 {
  width: 180px;
  height: 180px;
  animation-duration: 22s;
  animation-direction: reverse;
}

.r3 {
  width: 230px;
  height: 230px;
  animation-duration: 30s;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ---------- CTA / Contact ---------- */

.cta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  padding: 2.5rem 2.25rem;
  align-items: start;
}

.cta > div {
  position: relative;
  z-index: 1;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  position: relative;
  z-index: 1;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.field span {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-soft);
}

.field input,
.field textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border-radius: var(--radius-xs);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.25);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
  resize: vertical;
  text-align: right;
}

.field input[dir="ltr"],
.field input[type="email"] {
  text-align: left;
  direction: ltr;
}

.field input::placeholder,
.field textarea::placeholder {
  color: rgba(226, 232, 255, 0.3);
}

.field input:focus,
.field textarea:focus {
  border-color: rgba(125, 211, 252, 0.45);
  box-shadow: 0 0 0 3px rgba(125, 211, 252, 0.12);
  background: rgba(0, 0, 0, 0.35);
}

/* ---------- Footer ---------- */

.footer {
  padding: 0 1.5rem 2rem;
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.75rem 1.75rem 1.4rem;
  border-radius: var(--radius);
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 1rem 2rem;
  align-items: center;
}

.footer-brand {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.3rem 0.4rem;
}

.footer-brand .logo-mark {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.15rem;
}

.footer-brand .logo-text {
  font-family: var(--display);
  font-weight: 500;
}

.footer-brand p {
  width: 100%;
  margin-top: 0.35rem;
  font-size: 0.9rem;
  color: var(--text-soft);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  justify-content: flex-start;
}

.footer-links a {
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: color 0.2s;
}

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

.copyright {
  grid-column: 1 / -1;
  font-size: 0.8rem;
  color: var(--text-soft);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 1rem;
  margin-top: 0.25rem;
}

/* ---------- Responsive ---------- */

@media (max-width: 960px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 3rem;
  }

  .hero-visual {
    max-width: 480px;
    margin: 0 auto;
    width: 100%;
  }

  .cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .solutions-grid,
  .about,
  .cta {
    grid-template-columns: 1fr;
  }

  .float-a { left: 0; }
  .float-b { right: 0; }
}

@media (max-width: 720px) {
  .nav-links,
  .nav > .btn-sm {
    display: none;
  }

  .menu-toggle {
    display: flex;
    margin-right: auto;
  }

  .nav.open {
    flex-wrap: wrap;
    border-radius: var(--radius-sm);
  }

  .nav.open .nav-links {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin: 0.5rem 0 0;
    order: 10;
  }

  .nav.open .nav-links a {
    padding: 0.7rem 0.85rem;
  }

  .nav.open > .btn-sm {
    display: inline-flex;
    width: 100%;
    order: 11;
    margin-top: 0.25rem;
  }

  .logo-text {
    display: none;
  }

  .hero-stats {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
  }

  .stat-divider {
    width: 100%;
    height: 1px;
  }

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

  .field-row {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .nav {
    padding: 0.75rem 1rem;
  }

  .hero-panel {
    transform: none;
  }

  .solutions-panel,
  .about,
  .cta {
    padding: 1.75rem 1.35rem;
  }
}

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