:root {
  --accent: #fe9910;
  --accent-dim: #c9780a;
  --neon-cyan: #30f2ff;
  --neon-magenta: #ff2bd6;
  --bg: #0c0e12;
  --bg-alt: #12151c;
  --surface: #181c26;
  --border: rgba(255, 255, 255, 0.08);
  --text: #e8eaef;
  --muted: #9aa3b5;
  --radius: 14px;
  --font: "Vazirmatn", system-ui, sans-serif;
  --header-h: 72px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.75;
  font-size: 1rem;
  overflow-x: hidden;
}

@media (hover: hover) and (pointer: fine) {
  body {
    cursor: none;
  }
}

main,
.site-header,
.site-footer {
  position: relative;
  z-index: 2;
}

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

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

.container {
  width: min(1120px, 92vw);
  margin-inline: auto;
}

.accent {
  color: var(--accent);
}

.neon-text,
.accent.neon-text {
  background: linear-gradient(120deg, #30f2ff 0%, #fe9910 45%, #ff2bd6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  text-shadow: none;
  filter: drop-shadow(0 0 10px rgba(254, 153, 16, 0.45));
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(12, 14, 18, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(48, 242, 255, 0.2);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 1rem;
}

.brand img {
  height: 44px;
  width: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.site-nav a:not(.btn) {
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s;
}

.site-nav a:not(.btn):hover {
  color: var(--text);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.35rem;
  border-radius: 999px;
  font-weight: 600;
  font-family: inherit;
  border: 1px solid transparent;
  transition: transform 0.15s, background 0.2s, border-color 0.2s;
}

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

.btn-primary {
  background: linear-gradient(120deg, var(--accent), #ffb23d);
  color: #1a1206;
  box-shadow: 0 0 18px rgba(254, 153, 16, 0.45);
}

.btn-primary:hover {
  background: linear-gradient(120deg, #ffb23d, var(--accent));
  box-shadow: 0 0 28px rgba(254, 153, 16, 0.65);
}

.btn-ghost {
  border-color: rgba(48, 242, 255, 0.35);
  color: var(--text);
  box-shadow: inset 0 0 12px rgba(48, 242, 255, 0.08);
}

.btn-ghost:hover {
  border-color: var(--neon-cyan);
  color: var(--neon-cyan);
  box-shadow: 0 0 16px rgba(48, 242, 255, 0.25);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  background: var(--accent);
  color: #1a1206;
}

/* Hero */
.hero {
  padding: clamp(3rem, 8vw, 6rem) 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 0%, rgba(254, 153, 16, 0.12), transparent),
    radial-gradient(ellipse 55% 45% at 80% 20%, rgba(48, 242, 255, 0.13), transparent),
    var(--bg);
  position: relative;
  isolation: isolate;
}

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

#cyber-canvas {
  position: fixed;
  inset: 0;
  z-index: -5;
  pointer-events: none;
}

.fx-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.scanlines {
  z-index: 30;
  opacity: 0.09;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0 2px,
    rgba(255, 255, 255, 0.35) 3px 3px
  );
  animation: scanMove 8s linear infinite;
}

@keyframes scanMove {
  from { background-position-y: 0; }
  to { background-position-y: 24px; }
}

.noise {
  z-index: 29;
  opacity: 0.05;
  background-image:
    radial-gradient(circle at 25% 30%, rgba(255, 255, 255, 0.45) 0 1px, transparent 1px),
    radial-gradient(circle at 65% 70%, rgba(255, 255, 255, 0.35) 0 1px, transparent 1px);
  background-size: 4px 4px, 5px 5px;
}

.vignette {
  z-index: 28;
  background: radial-gradient(circle at center, transparent 42%, rgba(0, 0, 0, 0.58) 100%);
}

.cursor-ring,
.cursor-core {
  position: fixed;
  left: 0;
  top: 0;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 999;
}

.cursor-ring {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(48, 242, 255, 0.85);
  box-shadow: 0 0 16px rgba(48, 242, 255, 0.5), inset 0 0 14px rgba(48, 242, 255, 0.3);
}

.cursor-core {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--neon-cyan);
  box-shadow: 0 0 10px var(--neon-cyan), 0 0 22px var(--neon-magenta);
}

.hero-bg-orbs {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(10px);
  opacity: 0.45;
}

.orb-a {
  width: 220px;
  height: 220px;
  right: 12%;
  top: 12%;
  background: radial-gradient(circle, rgba(48, 242, 255, 0.9), transparent 70%);
  animation: floatOrb 6.5s ease-in-out infinite;
}

.orb-b {
  width: 280px;
  height: 280px;
  left: 8%;
  bottom: 8%;
  background: radial-gradient(circle, rgba(255, 43, 214, 0.7), transparent 70%);
  animation: floatOrb 8.5s ease-in-out infinite reverse;
}

.orb-c {
  width: 150px;
  height: 150px;
  right: 42%;
  bottom: 14%;
  background: radial-gradient(circle, rgba(254, 153, 16, 0.8), transparent 70%);
  animation: floatOrb 7.5s ease-in-out infinite;
}

.pulse-dot {
  width: 9px;
  height: 9px;
  display: inline-block;
  margin-left: 0.5rem;
  border-radius: 50%;
  background: var(--neon-cyan);
  box-shadow: 0 0 12px var(--neon-cyan);
  animation: pulse 1.2s infinite;
}

.glitch-title {
  position: relative;
  color: #f4f7ff;
  text-shadow:
    0 0 18px rgba(48, 242, 255, 0.25),
    0 0 40px rgba(254, 153, 16, 0.12);
}

.glitch-title::before,
.glitch-title::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.35;
  background: none;
  -webkit-text-fill-color: unset;
}

.glitch-title::before {
  color: var(--neon-cyan);
  transform: translateX(2px);
  animation: glitchA 2s infinite;
}

.glitch-title::after {
  color: var(--neon-magenta);
  transform: translateX(-2px);
  animation: glitchB 2.4s infinite;
}

.holo-frame {
  position: relative;
  perspective: 1100px;
}

.holo-ring {
  position: absolute;
  inset: -10% -5%;
  border-radius: 50%;
  border: 1px dashed rgba(48, 242, 255, 0.35);
  transform-origin: center;
}

.holo-ring-1 { animation: spin 15s linear infinite; }
.holo-ring-2 { animation: spin 21s linear infinite reverse; inset: -5% -10%; }
.holo-ring-3 { animation: spin 12s linear infinite; inset: 10% 5%; }

.cyber-panel,
.cyber-card,
.cyber-panel-sm,
.contact-card {
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(2px);
}

.cyber-panel::before,
.cyber-card::before,
.cyber-panel-sm::before,
.contact-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 20%, rgba(48, 242, 255, 0.18) 50%, transparent 80%);
  transform: translateX(-120%);
  transition: transform 0.8s ease;
}

.cyber-panel:hover::before,
.cyber-card:hover::before,
.cyber-panel-sm:hover::before,
.contact-card:hover::before {
  transform: translateX(120%);
}

.corner {
  position: absolute;
  width: 16px;
  height: 16px;
  border: 1px solid var(--neon-cyan);
}

.bracket-tl { top: 10px; left: 10px; border-right: 0; border-bottom: 0; }
.bracket-tr { top: 10px; right: 10px; border-left: 0; border-bottom: 0; }
.bracket-bl { bottom: 10px; left: 10px; border-right: 0; border-top: 0; }
.bracket-br { bottom: 10px; right: 10px; border-left: 0; border-top: 0; }

.hud-line {
  position: absolute;
  height: 1px;
  background: linear-gradient(to left, transparent, rgba(48, 242, 255, 0.7), transparent);
  width: 80%;
  right: 10%;
}

.hud-line-1 { top: 24px; animation: hudShift 2.6s ease-in-out infinite; }
.hud-line-2 { bottom: 24px; animation: hudShift 2.6s ease-in-out infinite reverse; }

.section-title-cyber span {
  position: relative;
  padding-inline: 1rem;
}

.section-title-cyber span::before,
.section-title-cyber span::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 38px;
  height: 1px;
  background: linear-gradient(to left, var(--neon-cyan), transparent);
}

.section-title-cyber span::before { right: 100%; }
.section-title-cyber span::after { left: 100%; transform: scaleX(-1); }

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.45); opacity: 0.5; }
}

@keyframes floatOrb {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -15px, 0); }
}

@keyframes glitchA {
  0%, 92%, 100% { clip-path: inset(0 0 0 0); }
  93% { clip-path: inset(12% 0 48% 0); }
  96% { clip-path: inset(70% 0 5% 0); }
}

@keyframes glitchB {
  0%, 92%, 100% { clip-path: inset(0 0 0 0); }
  94% { clip-path: inset(35% 0 35% 0); }
  97% { clip-path: inset(10% 0 66% 0); }
}

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

@keyframes hudShift {
  0%, 100% { transform: translateX(0); opacity: 0.35; }
  50% { transform: translateX(-20px); opacity: 0.9; }
}

.eyebrow {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.9rem;
  margin: 0 0 0.75rem;
}

.hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.65rem);
  line-height: 1.35;
  margin: 0 0 1rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.section-head h2,
.section h2,
.split h2,
.contact-grid h2 {
  background: linear-gradient(100deg, #e8eaef 20%, #30f2ff 55%, #fe9910 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.lead {
  color: var(--muted);
  margin: 0 0 1.75rem;
  max-width: 36em;
}

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

.orbit-card {
  position: relative;
  padding: 2.5rem;
  background: linear-gradient(160deg, rgba(24, 28, 38, 0.95), rgba(12, 14, 18, 0.85));
  border: 1px solid rgba(48, 242, 255, 0.35);
  border-radius: calc(var(--radius) + 6px);
  text-align: center;
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.45),
    0 0 40px rgba(48, 242, 255, 0.12),
    inset 0 0 30px rgba(255, 43, 214, 0.06);
}

.orbit-logo,
.holo-logo {
  width: min(200px, 60%);
  margin: 0 auto 1.5rem;
}

.holo-logo {
  animation: holoFloat 4.2s ease-in-out infinite;
  filter: drop-shadow(0 0 16px rgba(254, 153, 16, 0.55));
}

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

.orbit-tags {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}

.orbit-tags li {
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-size: 0.85rem;
  background: rgba(254, 153, 16, 0.12);
  color: var(--accent);
  border: 1px solid rgba(254, 153, 16, 0.25);
}

/* Sections */
.section {
  padding: clamp(3rem, 7vw, 5rem) 0;
}

.section-alt {
  background: var(--bg-alt);
  border-block: 1px solid var(--border);
}

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

.section-head h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.section-head p {
  margin: 0;
  color: var(--muted);
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}

.card {
  padding: 1.5rem;
  background: linear-gradient(145deg, rgba(24, 28, 38, 0.92), rgba(15, 18, 26, 0.88));
  border: 1px solid rgba(48, 242, 255, 0.22);
  border-radius: var(--radius);
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.25s;
  transform-style: preserve-3d;
}

.card:hover {
  border-color: rgba(254, 153, 16, 0.55);
  box-shadow: 0 0 24px rgba(48, 242, 255, 0.18);
}

.card-icon {
  font-size: 1.5rem;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

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

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

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

.split h2 {
  margin-top: 0;
}

.check-list {
  padding: 0;
  list-style: none;
  margin: 1.25rem 0 0;
}

.check-list li {
  position: relative;
  padding-right: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--muted);
}

.check-list li::before {
  content: "✓";
  position: absolute;
  right: 0;
  color: var(--accent);
  font-weight: 700;
}

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

.stat {
  padding: 1.25rem 1.5rem;
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.stat-label {
  display: block;
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 0.25rem;
}

.stat-value {
  font-weight: 700;
  font-size: 1.1rem;
}

.stat-link {
  font-weight: 700;
  color: var(--accent);
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 2rem;
  align-items: start;
}

.contact-grid h2 {
  margin-top: 0;
}

.contact-cards {
  display: grid;
  gap: 0.75rem;
  font-style: normal;
}

.contact-card {
  display: block;
  padding: 1rem 1.25rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.2s;
}

.contact-card:hover {
  border-color: rgba(254, 153, 16, 0.4);
}

.contact-card-static:hover {
  border-color: var(--border);
}

.contact-label {
  display: block;
  font-size: 0.8rem;
  color: var(--muted);
}

.contact-value {
  font-weight: 600;
}

/* Footer */
.site-footer {
  padding: 2rem 0;
  border-top: 1px solid var(--border);
  background: var(--bg-alt);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-logo {
  opacity: 0.9;
  height: 38px;
  width: auto;
}

.site-footer p {
  margin: 0;
  color: var(--muted);
  font-size: 0.875rem;
}

@media (max-width: 900px) {
  .hero-grid,
  .split,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: fixed;
    inset-inline: 0;
    top: var(--header-h);
    flex-direction: column;
    padding: 1.5rem;
    background: var(--bg-alt);
    border-bottom: 1px solid var(--border);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.25s, opacity 0.25s;
  }

  .site-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .cursor-ring,
  .cursor-core {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}
