/* اوفیش — لندینگ لاکچری سورمه‌ای */

@import url("../vendors/fonts/IRANSans/IRANSans.css");

:root {
  --bg-deep: #060b18;
  --bg: #0b1020;
  --panel: #111a33;
  --panel2: #0f1730;
  --text: #e9eeff;
  --muted: #a8b3d8;
  --primary: #4f7cff;
  --primary-glow: rgba(79, 124, 255, 0.35);
  --gold: #c9a962;
  --gold-soft: rgba(201, 169, 98, 0.18);
  --champagne: #e8dcc4;
  --border: rgba(255, 255, 255, 0.1);
  --radius: 14px;
  --header-h: 72px;
  --section-py: clamp(4.5rem, 9vw, 6.5rem);
  --section-px: clamp(1.25rem, 4vw, 2rem);
  --scroll-offset: calc(var(--header-h) + 1.25rem);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--scroll-offset);
}

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

body {
  margin: 0;
  font-family: IRANSans, Tahoma, "Segoe UI", sans-serif;
  background: var(--bg-deep);
  color: var(--text);
  line-height: 1.75;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(79, 124, 255, 0.12), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 50%, rgba(201, 169, 98, 0.06), transparent 50%),
    linear-gradient(180deg, var(--bg-deep) 0%, var(--bg) 40%, var(--bg-deep) 100%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.04;
  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");
}

.landing-wrap {
  position: relative;
  z-index: 1;
}

main {
  display: block;
  min-height: 50vh;
}

a {
  color: var(--champagne);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--gold);
}

/* ── Header ── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  display: flex;
  align-items: center;
  padding: 0 1.25rem;
  background: rgba(11, 16, 32, 0.72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s ease, background 0.3s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
  background: rgba(11, 16, 32, 0.92);
}

.header-inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.65rem;
}

.brand-logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 0;
  line-height: 1.2;
}

.brand-fa {
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--text) 0%, var(--champagne) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.brand-en {
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: 0.22em;
  text-transform: lowercase;
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 1.75rem;
}

.nav-desktop a {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
}

.nav-desktop a:hover {
  color: var(--text);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.55rem 1.1rem;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 10px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}

.btn:active {
  transform: scale(0.98);
}

.btn-gold-outline {
  background: transparent;
  color: var(--gold);
  border-color: rgba(201, 169, 98, 0.45);
}

.btn-gold-outline:hover {
  background: var(--gold-soft);
  border-color: var(--gold);
  color: var(--champagne);
}

.btn-primary-gold {
  background: linear-gradient(135deg, var(--gold) 0%, #a88b4a 100%);
  color: #0b1020;
  border: none;
  box-shadow: 0 4px 20px rgba(201, 169, 98, 0.25);
}

.btn-primary-gold:hover {
  box-shadow: 0 6px 28px rgba(201, 169, 98, 0.4);
  color: #060b18;
}

.btn-blue {
  background: linear-gradient(135deg, var(--primary) 0%, #3d63d4 100%);
  color: #fff;
  border: none;
  box-shadow: 0 4px 20px var(--primary-glow);
}

.btn-blue:hover {
  box-shadow: 0 6px 28px var(--primary-glow);
  color: #fff;
}

.btn-lg {
  padding: 0.75rem 1.5rem;
  font-size: 0.95rem;
}

.btn-nav-toggle {
  display: flex;
  width: 42px;
  height: 42px;
  padding: 0;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  font-size: 1.1rem;
}

.nav-mobile {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  z-index: 999;
  background: rgba(6, 11, 24, 0.97);
  backdrop-filter: blur(12px);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.nav-mobile a {
  padding: 0.85rem 0;
  color: var(--muted);
  font-size: 1rem;
  border-bottom: 1px solid var(--border);
}

.nav-mobile a:hover {
  color: var(--text);
}

.nav-mobile-actions {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-top: 1.5rem;
}

@media (min-width: 992px) {
  .nav-desktop {
    display: flex;
  }
  .btn-nav-toggle {
    display: none;
  }
  .header-actions .btn-gold-outline.d-none-desktop {
    display: none;
  }
}

@media (max-width: 991.98px) {
  .header-actions .btn-primary-gold.d-none-mobile {
    display: none;
  }
}

/* ── Sections ── */
section {
  position: relative;
  padding: var(--section-py) var(--section-px);
  scroll-margin-top: var(--scroll-offset);
}

#why,
#ecosystem {
  background: rgba(17, 26, 51, 0.32);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
  margin: 0 0 1rem;
  line-height: 1.35;
}

.section-lead {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 36rem;
  margin: 0 0 2.5rem;
}

/* ── Hero ── */
.hero {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--header-h) + 2.5rem);
  padding-bottom: clamp(3.5rem, 7vw, 5.5rem);
  scroll-margin-top: 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

.hero h1 {
  font-size: clamp(1.75rem, 5vw, 2.65rem);
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 1.25rem;
}

.hero h1 .highlight {
  color: var(--champagne);
}

.hero-sub {
  color: var(--muted);
  font-size: 1.1rem;
  margin: 0 0 2rem;
  max-width: 32rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 2rem;
  padding: 0.5rem 1rem;
  background: var(--gold-soft);
  border: 1px solid rgba(201, 169, 98, 0.25);
  border-radius: 999px;
  font-size: 0.8rem;
  color: var(--champagne);
}

.hero-badge i {
  color: var(--gold);
}

/* Hero mockup */
.hero-visual {
  position: relative;
  min-height: 320px;
  perspective: 900px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.mockup-stack {
  position: relative;
  width: 100%;
  max-width: 420px;
  margin: -1.95rem auto 0;
  height: 340px;
  animation: mockupFloat 7s ease-in-out infinite;
}

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

@media (prefers-reduced-motion: reduce) {
  .mockup-stack {
    animation: none;
  }
}

.mockup-layer {
  position: absolute;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(17, 26, 51, 0.75);
  backdrop-filter: blur(12px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  overflow: hidden;
}

.mockup-doc {
  width: 88%;
  height: 72%;
  top: 8%;
  right: 0;
  z-index: 1;
  padding: 1.25rem;
}

.mockup-doc .line {
  height: 8px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  margin-bottom: 0.65rem;
}

.mockup-doc .line.w80 { width: 80%; }
.mockup-doc .line.w60 { width: 60%; }
.mockup-doc .line.w40 { width: 40%; }
.mockup-doc .line.gold {
  background: linear-gradient(90deg, var(--gold-soft), transparent);
  border: 1px dashed rgba(201, 169, 98, 0.3);
}

.mockup-knowledge {
  width: 70%;
  height: 45%;
  top: 28%;
  left: 0;
  z-index: 2;
  padding: 1rem;
  border-color: rgba(79, 124, 255, 0.25);
}

.mockup-knowledge .tag {
  display: inline-block;
  font-size: 0.65rem;
  padding: 0.2rem 0.5rem;
  background: rgba(79, 124, 255, 0.15);
  color: var(--primary);
  border-radius: 6px;
  margin: 0 0 0.5rem 0.25rem;
}

.mockup-command {
  width: 75%;
  bottom: 5%;
  right: 10%;
  z-index: 5;
  padding: 0.75rem 1rem;
  border-color: rgba(201, 169, 98, 0.35);
  font-size: 0.8rem;
  color: var(--champagne);
  direction: rtl;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.mockup-command-logo {
  flex-shrink: 0;
  width: 1.35rem;
  height: 1.35rem;
  object-fit: contain;
  filter: drop-shadow(0 0 6px rgba(201, 169, 98, 0.45));
}

.mockup-command-text {
  line-height: 1.45;
}

.hero-logo-mark {
  position: relative;
  z-index: 6;
  flex-shrink: 0;
  width: clamp(5.5rem, 15vw, 7rem);
  height: clamp(5.5rem, 15vw, 7rem);
  margin-bottom: -0.35rem;
  object-fit: contain;
  filter: drop-shadow(0 8px 28px rgba(0, 0, 0, 0.45));
  pointer-events: none;
}

/* ── Trust bar ── */
.trust-bar {
  padding: clamp(2.25rem, 5vw, 3.25rem) var(--section-px);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(17, 26, 51, 0.35);
  scroll-margin-top: var(--scroll-offset);
}

.trust-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem 1rem;
}

@media (min-width: 576px) {
  .trust-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 992px) {
  .trust-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 1.25rem;
  }
}

.trust-item {
  position: relative;
  display: block;
  width: 100%;
  padding-top: calc(3rem + 0.75rem);
  text-align: center;
}

.trust-item-icon {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  background: var(--gold-soft);
  border: 1px solid rgba(201, 169, 98, 0.22);
  border-radius: 12px;
  direction: ltr;
}

.trust-item-icon i {
  margin: 0;
  font-size: 1.25rem;
  line-height: 1;
  color: var(--gold);
}

.trust-item-label {
  display: block;
  margin: 0 auto;
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 500;
  text-align: center;
}

/* ── Cards ── */
.card-lux {
  background: rgba(17, 26, 51, 0.55);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  backdrop-filter: blur(10px);
  height: 100%;
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.card-lux:hover {
  border-color: rgba(201, 169, 98, 0.25);
}

.card-lux .icon-wrap {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gold-soft);
  border-radius: 12px;
  margin-bottom: 1.25rem;
  color: var(--gold);
  font-size: 1.25rem;
}

.card-lux h3 {
  font-size: 1.1rem;
  margin: 0 0 0.65rem;
  font-weight: 700;
}

.card-lux p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

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

html.has-reveal-anim .reveal:not(.is-visible) {
  opacity: 0;
  transform: translateY(24px);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ── Pillars ── */
.pillars-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .pillars-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.pillar-num {
  font-size: 2.5rem;
  font-weight: 700;
  color: rgba(201, 169, 98, 0.15);
  line-height: 1;
  margin-bottom: 0.5rem;
}

/* ── Ecosystem ── */
.eco-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 576px) {
  .eco-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.eco-card {
  text-align: center;
  padding: 2rem 1.25rem;
  position: relative;
}

.eco-card .eco-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.eco-card.word .eco-icon { color: #2b579a; }
.eco-card.excel .eco-icon { color: #217346; opacity: 0.7; }
.eco-card.ppt .eco-icon { color: #d24726; opacity: 0.7; }

.eco-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
}

.eco-card p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
}

.badge-status {
  display: inline-block;
  margin-top: 0.75rem;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 600;
}

.badge-active {
  background: rgba(79, 124, 255, 0.2);
  color: #8eb4ff;
  border: 1px solid rgba(79, 124, 255, 0.35);
}

.badge-soon {
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted);
  border: 1px solid var(--border);
}

.eco-note {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.eco-note i {
  color: var(--gold);
  margin-left: 0.35rem;
}

/* ── Demo CTA section (parallax + dynamic bg) ── */
.demo-section {
  text-align: center;
  padding-top: var(--section-py);
  padding-bottom: clamp(5rem, 10vw, 7rem);
  overflow: hidden;
  isolation: isolate;
}

.demo-section::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 120px;
  pointer-events: none;
  z-index: 2;
  background: linear-gradient(180deg, transparent, var(--bg-deep));
}

.demo-parallax {
  position: absolute;
  inset: -18% 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.demo-bg-base {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 70% at 50% 40%, rgba(79, 124, 255, 0.14), transparent 62%),
    radial-gradient(ellipse 55% 45% at 15% 75%, rgba(201, 169, 98, 0.1), transparent 55%),
    radial-gradient(ellipse 50% 40% at 88% 30%, rgba(79, 124, 255, 0.08), transparent 50%),
    linear-gradient(180deg, rgba(6, 11, 24, 0.35) 0%, rgba(11, 16, 32, 0.92) 100%);
}

.demo-bg-mesh {
  position: absolute;
  inset: -25%;
  opacity: 0.55;
  background:
    conic-gradient(
      from 210deg at 50% 50%,
      rgba(79, 124, 255, 0.22),
      transparent 28%,
      rgba(201, 169, 98, 0.16) 48%,
      transparent 72%,
      rgba(79, 124, 255, 0.18) 100%
    );
  filter: blur(48px);
  animation: demoMeshSpin 28s linear infinite;
  will-change: transform;
}

.demo-bg-grid {
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 75% 65% at 50% 45%, #000 20%, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse 75% 65% at 50% 45%, #000 20%, transparent 72%);
}

.demo-parallax-layer {
  position: absolute;
  display: block;
  will-change: transform;
  transform: translate3d(0, 0, 0);
}

.demo-bg-orb {
  position: absolute;
  inset: 0;
  display: block;
  border-radius: 50%;
  filter: blur(42px);
}

.demo-parallax-layer:has(.demo-bg-orb--1) {
  width: min(420px, 55vw);
  height: min(420px, 55vw);
  top: 8%;
  right: 12%;
}

.demo-bg-orb--1 {
  background: radial-gradient(circle, rgba(79, 124, 255, 0.55) 0%, transparent 68%);
  animation: demoOrbDrift1 16s ease-in-out infinite;
}

.demo-parallax-layer:has(.demo-bg-orb--2) {
  width: min(360px, 48vw);
  height: min(360px, 48vw);
  bottom: 6%;
  left: 8%;
}

.demo-bg-orb--2 {
  background: radial-gradient(circle, rgba(201, 169, 98, 0.42) 0%, transparent 70%);
  animation: demoOrbDrift2 19s ease-in-out infinite;
}

.demo-parallax-layer:has(.demo-bg-orb--3) {
  width: min(280px, 38vw);
  height: min(280px, 38vw);
  top: 42%;
  left: 42%;
}

.demo-bg-orb--3 {
  background: radial-gradient(circle, rgba(142, 180, 255, 0.35) 0%, transparent 72%);
  animation: demoOrbDrift3 13s ease-in-out infinite;
}

.demo-parallax-layer:has(.demo-bg-orb--4) {
  width: min(220px, 32vw);
  height: min(220px, 32vw);
  bottom: 28%;
  right: 28%;
}

.demo-bg-orb--4 {
  background: radial-gradient(circle, rgba(201, 169, 98, 0.28) 0%, transparent 70%);
  animation: demoOrbPulse 9s ease-in-out infinite;
}

.demo-bg-shine-wrap {
  top: 18%;
  left: 50%;
  width: min(640px, 92vw);
  height: 2px;
  margin-left: calc(min(640px, 92vw) / -2);
}

.demo-bg-shine {
  position: absolute;
  inset: 0;
  display: block;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(201, 169, 98, 0.55) 45%,
    rgba(79, 124, 255, 0.65) 55%,
    transparent
  );
  filter: blur(0.5px);
  opacity: 0.7;
}

.demo-section-inner {
  position: relative;
  z-index: 1;
}

.demo-section .section-lead {
  margin-left: auto;
  margin-right: auto;
}

.demo-box {
  position: relative;
  max-width: 520px;
  margin: 0 auto;
  padding: 2.5rem;
  background: linear-gradient(
    145deg,
    rgba(17, 26, 51, 0.72),
    rgba(15, 23, 48, 0.82)
  );
  border: 1px solid rgba(201, 169, 98, 0.28);
  border-radius: calc(var(--radius) + 4px);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.demo-box::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(
    135deg,
    rgba(201, 169, 98, 0.45),
    transparent 40%,
    rgba(79, 124, 255, 0.35) 70%,
    transparent
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.85;
}

.demo-box h2 {
  margin: 0 0 0.75rem;
  font-size: 1.5rem;
}

.demo-box p {
  color: var(--muted);
  margin: 0 0 1.5rem;
  font-size: 0.95rem;
}

@keyframes demoMeshSpin {
  from { transform: rotate(0deg) scale(1); }
  to { transform: rotate(360deg) scale(1.05); }
}

@keyframes demoOrbDrift1 {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(-28px, 22px, 0) scale(1.06); }
}

@keyframes demoOrbDrift2 {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(32px, -18px, 0) scale(1.08); }
}

@keyframes demoOrbDrift3 {
  0%, 100% { transform: translate3d(0, 0, 0); }
  33% { transform: translate3d(18px, 14px, 0); }
  66% { transform: translate3d(-14px, -20px, 0); }
}

@keyframes demoOrbPulse {
  0%, 100% { opacity: 0.75; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.12); }
}

@media (prefers-reduced-motion: reduce) {
  .demo-bg-mesh,
  .demo-bg-orb {
    animation: none;
  }
}

/* ── Footer ── */
.site-footer {
  position: relative;
  margin-top: 0;
  padding: 0;
  overflow: hidden;
  background:
    linear-gradient(180deg, transparent 0%, rgba(6, 11, 24, 0.55) 12%),
    radial-gradient(ellipse 70% 50% at 50% 100%, rgba(79, 124, 255, 0.08), transparent 60%),
    rgba(6, 11, 24, 0.95);
  border-top: 1px solid var(--border);
}

.footer-accent {
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(201, 169, 98, 0.15) 20%,
    rgba(201, 169, 98, 0.75) 50%,
    rgba(201, 169, 98, 0.15) 80%,
    transparent
  );
  box-shadow: 0 0 24px rgba(201, 169, 98, 0.25);
}

.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(3rem, 7vw, 4.5rem) var(--section-px) clamp(1.75rem, 4vw, 2.5rem);
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--border);
}

@media (min-width: 768px) {
  .footer-top {
    grid-template-columns: 1.4fr 0.9fr 1.1fr;
    gap: 2rem;
    align-items: start;
  }
}

.footer-brand-link {
  display: inline-flex;
  flex-direction: column;
  gap: 0;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.footer-brand-fa {
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--text) 0%, var(--champagne) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-brand-en {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: 0.22em;
  text-transform: lowercase;
}

.footer-tagline {
  margin: 0 0 1.25rem;
  max-width: 22rem;
  font-size: 0.92rem;
  line-height: 1.75;
  color: var(--muted);
}

.footer-site-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
}

.footer-site-links a {
  color: var(--champagne);
  font-size: 0.85rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

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

.footer-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(201, 169, 98, 0.5);
  flex-shrink: 0;
}

.footer-heading {
  margin: 0 0 1rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}

.footer-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.footer-nav a {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s ease, padding 0.2s ease;
}

.footer-nav a:hover {
  color: var(--text);
  padding-right: 0.25rem;
}

.footer-cta-block p {
  margin: 0 0 1.25rem;
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--muted);
  max-width: 18rem;
}

.footer-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.footer-cta-actions .btn {
  font-size: 0.82rem;
}

.footer-contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 2.5rem;
}

@media (min-width: 576px) {
  .footer-contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .footer-contact-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.footer-contact-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem 1.15rem;
  background: rgba(17, 26, 51, 0.5);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(10px);
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.footer-contact-card:hover {
  border-color: rgba(201, 169, 98, 0.3);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
}

.footer-contact-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border-radius: 11px;
  background: var(--gold-soft);
  border: 1px solid rgba(201, 169, 98, 0.22);
  color: var(--gold);
  font-size: 1rem;
}

.footer-contact-card h4 {
  margin: 0 0 0.35rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--champagne);
}

.footer-contact-card p {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.65;
  color: var(--muted);
}

.footer-contact-card a {
  color: var(--champagne);
  transition: color 0.2s ease;
}

.footer-contact-card a:hover {
  color: var(--gold);
}

.footer-ltr {
  direction: ltr;
  text-align: right;
  unicode-bidi: plaintext;
}

.footer-phone-sep {
  margin: 0 0.35rem;
  color: rgba(168, 179, 216, 0.45);
}

.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  text-align: center;
}

.footer-copy {
  margin: 0;
  font-size: 0.78rem;
  color: rgba(168, 179, 216, 0.75);
  letter-spacing: 0.02em;
  line-height: 1.85;
  max-width: 36rem;
  margin-inline: auto;
}

.footer-copy a {
  color: var(--champagne);
  font-weight: 600;
  transition: color 0.2s ease;
}

.footer-copy a:hover {
  color: var(--gold);
}

.site-footer a {
  text-decoration: none;
}

/* ── Modal overrides ── */
.modal-content {
  background: var(--panel);
  border: 1px solid var(--border);
  color: var(--text);
}

.modal-header {
  border-bottom-color: var(--border);
}

.modal-footer {
  border-top-color: var(--border);
}

.modal-footer-submit {
  padding: 1.25rem 1.5rem 1.5rem;
  border-top: 1px solid var(--border);
}

.modal-footer-submit .btn-lg {
  padding: 0.9rem 1.5rem;
  font-size: 1.05rem;
  font-weight: 700;
  box-shadow: 0 6px 28px rgba(201, 169, 98, 0.35);
}

.form-control,
.form-select {
  background: var(--panel2);
  border-color: var(--border);
  color: var(--text);
}

.form-control:focus,
.form-select:focus {
  background: var(--panel2);
  border-color: rgba(201, 169, 98, 0.45);
  color: var(--text);
  box-shadow: 0 0 0 0.2rem rgba(201, 169, 98, 0.15);
}

.form-control::placeholder {
  color: rgba(168, 179, 216, 0.6);
}

.form-label {
  color: var(--muted);
  font-size: 0.875rem;
}

.btn-close {
  filter: invert(1) grayscale(1);
}

.demo-captcha-field {
  text-align: center;
}

.demo-captcha-block {
  --captcha-w: 168px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.5rem;
  width: var(--captcha-w);
  max-width: 100%;
  margin-inline: auto;
}

.demo-captcha-visual {
  position: relative;
  width: var(--captcha-w);
  max-width: 100%;
}

.demo-captcha-img {
  display: block;
  width: var(--captcha-w);
  max-width: 100%;
  height: auto;
  aspect-ratio: 168 / 52;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--panel2);
}

.demo-captcha-refresh {
  position: absolute;
  top: 4px;
  inset-inline-start: 4px;
  padding: 0.35rem 0.5rem;
  line-height: 1;
}

.demo-captcha-input {
  width: 100%;
  box-sizing: border-box;
  letter-spacing: 0.12em;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.demo-captcha-hint {
  margin-top: 0.45rem;
  font-size: 0.78rem;
  color: var(--muted);
  text-align: center;
}

.modal-alt-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.btn-whatsapp {
  background: #25d366;
  color: #fff;
  border: none;
}

.btn-whatsapp:hover {
  background: #1fb855;
  color: #fff;
}

.btn-telegram {
  background: #229ed9;
  color: #fff;
  border: none;
}

.btn-telegram:hover {
  background: #1a8bc4;
  color: #fff;
}

[x-cloak] {
  display: none !important;
}
