@font-face {
  font-family: "Vazirmatn";
  src: url("/static/vendor/Vazirmatn-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Vazirmatn";
  src: url("/static/vendor/Vazirmatn-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Vazirmatn";
  src: url("/static/vendor/Vazirmatn-ExtraBold.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg-void: #020612;
  --bg-glass: rgba(12, 19, 38, 0.62);
  --border-glass: rgba(148, 163, 184, 0.16);
  --cyan: #38bdf8;
  --indigo: #818cf8;
  --violet: #c084fc;
  --emerald: #10b981;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Vazirmatn", system-ui, -apple-system, "Segoe UI", Tahoma, sans-serif;
  background: var(--bg-void);
  color: var(--text-main);
  line-height: 1.75;
  overflow-x: hidden;
}

#camgpt-hero-3d {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
}

.nebula-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(130px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.32;
}

.nebula-glow.g1 {
  width: 560px;
  height: 560px;
  background: radial-gradient(circle, #0284c7, transparent 70%);
  top: -160px;
  right: -120px;
}

.nebula-glow.g2 {
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, #7c3aed, transparent 70%);
  bottom: -160px;
  left: -120px;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(3, 7, 18, 0.72);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border-bottom: 1px solid var(--border-glass);
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 16px;
  flex-wrap: wrap;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #fff;
}

.brand-holo-orb {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  background: linear-gradient(135deg, #0ea5e9, #6366f1, #a855f7);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0 0 26px rgba(56, 189, 248, 0.6);
}

.brand-holo-orb strong {
  font-size: 1.25rem;
  font-weight: 900;
}

.orb-ring {
  position: absolute;
  inset: -4px;
  border-radius: 16px;
  border: 1.5px solid rgba(56, 189, 248, 0.55);
  animation: pulseOrb 3s ease-in-out infinite;
}

@keyframes pulseOrb {
  0%, 100% { transform: scale(1); opacity: 0.7; }
  50% { transform: scale(1.1); opacity: 0.25; }
}

.brand-text-stack {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-name {
  font-size: 1.4rem;
  font-weight: 900;
  letter-spacing: -0.5px;
}

.brand-tagline {
  font-size: 0.72rem;
  color: #93c5fd;
  font-weight: 600;
  opacity: 0.92;
  margin-top: 2px;
}

.brand-name span {
  background: linear-gradient(90deg, #38bdf8, #c084fc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.main-links {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.main-links a {
  color: #cbd5e1;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  transition: color 0.2s;
}

.main-links a:hover {
  color: var(--cyan);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang-switcher {
  display: inline-flex;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid var(--border-glass);
  border-radius: 999px;
  padding: 3px;
  gap: 2px;
}

.lang-switcher a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 5px 11px;
  border-radius: 999px;
  transition: all 0.2s;
}

.lang-switcher a.active {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.25), rgba(99, 102, 241, 0.3));
  color: #fff;
  border: 1px solid rgba(56, 189, 248, 0.45);
}

.btn-glow {
  text-decoration: none;
  background: linear-gradient(135deg, #0ea5e9, #6366f1);
  color: #fff;
  font-weight: 800;
  font-size: 0.86rem;
  padding: 9px 18px;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(14, 165, 233, 0.4);
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-glow:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(14, 165, 233, 0.6);
}

/* Hero Section */
.hero-section {
  padding: 68px 24px 40px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 38px;
  align-items: center;
}

@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .main-links {
    display: none;
  }
}

.hero-pill {
  display: inline-block;
  padding: 6px 15px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #bae6fd;
  background: rgba(14, 165, 233, 0.14);
  border: 1px solid rgba(56, 189, 248, 0.38);
  margin-bottom: 18px;
  box-shadow: 0 0 22px rgba(14, 165, 233, 0.2);
}

.hero-copy h1 {
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 900;
  line-height: 1.28;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.gradient-word {
  background: linear-gradient(95deg, #38bdf8 10%, #818cf8 55%, #e879f9 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 28px rgba(56, 189, 248, 0.35));
}

.hero-lead {
  font-size: 1.03rem;
  color: #cbd5e1;
  margin-bottom: 28px;
  max-width: 640px;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn-primary-3d {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 14px;
  font-weight: 800;
  font-size: 0.98rem;
  color: #fff;
  background: linear-gradient(135deg, #0ea5e9, #6366f1, #9333ea);
  box-shadow: 0 16px 38px rgba(14, 165, 233, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.btn-primary-3d:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 22px 48px rgba(99, 102, 241, 0.55);
}

.btn-glass-3d {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  padding: 14px 24px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 0.95rem;
  color: #e2e8f0;
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(56, 189, 248, 0.35);
  backdrop-filter: blur(14px);
  transition: all 0.2s;
}

.btn-glass-3d:hover {
  border-color: var(--cyan);
  color: #fff;
  transform: translateY(-2px);
}

/* 3D Holographic Turntable Showcase */
.holo-turntable-wrap {
  position: relative;
  background: radial-gradient(circle at 50% 45%, rgba(14, 165, 233, 0.16), rgba(8, 13, 27, 0.88));
  border: 1px solid rgba(56, 189, 248, 0.36);
  border-radius: 28px;
  padding: 14px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.72), 0 0 45px rgba(56, 189, 248, 0.15);
  overflow: hidden;
}

#camgpt-turntable-3d {
  width: 100%;
  height: auto;
  display: block;
  cursor: grab;
}

.holo-floating-tag {
  position: absolute;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 800;
  direction: ltr;
  backdrop-filter: blur(12px);
  animation: floatBadge 4s ease-in-out infinite alternate;
}

.holo-floating-tag.t1 {
  top: 18px;
  left: 18px;
  background: rgba(16, 185, 129, 0.18);
  color: #6ee7b7;
  border: 1px solid rgba(16, 185, 129, 0.45);
}

.holo-floating-tag.t2 {
  bottom: 58px;
  right: 18px;
  background: rgba(244, 63, 94, 0.2);
  color: #fda4af;
  border: 1px solid rgba(244, 63, 94, 0.5);
  animation-delay: -1.5s;
}

.holo-floating-tag.t3 {
  bottom: 18px;
  left: 18px;
  background: rgba(56, 189, 248, 0.16);
  color: #7dd3fc;
  border: 1px solid rgba(56, 189, 248, 0.42);
  animation-delay: -2.8s;
}

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

/* Stats Ribbon */
.stats-ribbon {
  margin-top: 46px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.stat-prism {
  background: var(--bg-glass);
  backdrop-filter: blur(18px);
  border: 1px solid var(--border-glass);
  border-radius: 18px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.4);
}

.stat-prism strong {
  display: block;
  font-size: 2rem;
  font-weight: 900;
  background: linear-gradient(90deg, #38bdf8, #c084fc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-prism span {
  font-size: 0.84rem;
  color: var(--text-muted);
}

/* Sections */
.section-block {
  padding: 64px 24px;
}

.section-head {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 42px;
}

.section-head h2 {
  font-size: clamp(1.6rem, 2.8vw, 2.35rem);
  font-weight: 900;
  margin-bottom: 12px;
  background: linear-gradient(90deg, #ffffff, #bae6fd, #e9d5ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-head p {
  color: var(--text-muted);
  font-size: 0.98rem;
}

/* 3D Tilt Cards */
.tilt-card {
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.18s ease-out, border-color 0.25s ease, box-shadow 0.25s ease;
}

.tilt-card:hover {
  border-color: rgba(56, 189, 248, 0.48);
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.58), 0 0 30px rgba(56, 189, 248, 0.14);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
  gap: 20px;
}

.feat-card {
  background: var(--bg-glass);
  backdrop-filter: blur(18px);
  border: 1px solid var(--border-glass);
  border-radius: 22px;
  padding: 26px;
}

.feat-orb {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.22), rgba(129, 140, 248, 0.22));
  border: 1px solid rgba(56, 189, 248, 0.42);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  color: var(--cyan);
  margin-bottom: 16px;
}

.feat-card h3 {
  font-size: 1.12rem;
  font-weight: 800;
  margin-bottom: 10px;
  color: #f8fafc;
}

.feat-card p {
  font-size: 0.9rem;
  color: #cbd5e1;
}

/* Steps */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 18px;
}

.step-card {
  background: linear-gradient(160deg, rgba(15, 23, 42, 0.78), rgba(8, 12, 24, 0.9));
  border: 1px solid var(--border-glass);
  border-radius: 20px;
  padding: 24px;
}

.step-num {
  display: inline-block;
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--cyan);
  opacity: 0.85;
  margin-bottom: 8px;
}

.step-card h3 {
  font-size: 1.06rem;
  margin-bottom: 8px;
}

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

/* Comparison Table */
.comp-table-wrap {
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: 22px;
  overflow-x: auto;
}

.comp-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.comp-table th, .comp-table td {
  padding: 16px 20px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.1);
  text-align: inherit;
}

.comp-table th {
  background: rgba(4, 9, 20, 0.72);
  color: #7dd3fc;
  font-weight: 800;
}

.comp-table .win-col {
  color: #6ee7b7;
  font-weight: 700;
  background: rgba(16, 185, 129, 0.05);
}

.comp-table .old-col {
  color: #94a3b8;
}

/* Use cases */
.usecases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}

.usecase-card {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: 20px;
  padding: 24px;
}

.usecase-card h3 {
  color: #bae6fd;
  font-size: 1.06rem;
  margin-bottom: 8px;
}

.usecase-card p {
  font-size: 0.88rem;
  color: #cbd5e1;
}

/* FAQ */
.faq-list {
  max-width: 880px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  padding: 18px 22px;
  transition: border-color 0.2s;
}

.faq-item[open] {
  border-color: rgba(56, 189, 248, 0.45);
}

.faq-item summary {
  font-weight: 800;
  font-size: 1rem;
  cursor: pointer;
  color: #f8fafc;
}

.faq-item p {
  margin-top: 12px;
  color: #cbd5e1;
  font-size: 0.92rem;
}

/* CTA Portal */
.cta-portal {
  background: radial-gradient(circle at top, rgba(56, 189, 248, 0.22), rgba(15, 23, 42, 0.92));
  border: 1px solid rgba(56, 189, 248, 0.42);
  border-radius: 28px;
  padding: 52px 32px;
  text-align: center;
}

.cta-portal h2 {
  font-size: clamp(1.5rem, 2.8vw, 2.2rem);
  margin-bottom: 12px;
}

.cta-portal p {
  color: #cbd5e1;
  margin-bottom: 26px;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border-glass);
  background: rgba(2, 6, 16, 0.88);
  padding: 28px 0;
  position: relative;
  z-index: 2;
}

.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-links a {
  color: #bae6fd;
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}
