:root {
  --primary: #0a0a0a;
  --secondary: #0070F3;
  --accent: #D4AF37;
  --accent-light: #F5D77A;
  --light: #f5f5f7;
  --white: #ffffff;
  --text-muted: #666666;
  --text-light: rgba(255,255,255,0.7);
  --font-family: 'Inter', 'Noto Sans Arabic', -apple-system, sans-serif;

  --glass-bg: rgba(255,255,255,0.08);
  --glass-border: rgba(255,255,255,0.15);
  --glass-shadow: 0 8px 32px rgba(0,0,0,0.12);
  --glass-blur: blur(20px);

  --gradient-primary: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 100%);
  --gradient-accent: linear-gradient(135deg, var(--accent), var(--accent-light));
  --gradient-hero: radial-gradient(ellipse at 30% 20%, rgba(0,112,243,0.15) 0%, transparent 50%),
                   radial-gradient(ellipse at 70% 80%, rgba(212,175,55,0.1) 0%, transparent 50%);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-family);
  background: var(--gradient-primary);
  background-attachment: fixed;
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

[dir="rtl"] { direction: rtl; text-align: right; }
[dir="rtl"] .nav-links { flex-direction: row-reverse; }
[dir="rtl"] .contact-item { flex-direction: row-reverse; }
[dir="rtl"] .legal-content ul li { padding-left: 0; padding-right: 24px; }
[dir="rtl"] .legal-content ul li::before { left: auto; right: 0; }

/* Glass Card Base */
.glass {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
}

/* Scroll Animation */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Language Switcher */
.nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
}
.lang-switcher {
  display: flex;
  gap: 4px;
  padding: 4px;
  border-radius: 20px;
  background: rgba(255,255,255,0.08);
}
.lang-btn {
  padding: 8px 16px;
  border: none;
  background: transparent;
  cursor: pointer;
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 13px;
  color: var(--text-light);
  border-radius: 24px;
  transition: all 0.3s ease;
}
.lang-btn.active {
  background: var(--accent);
  color: var(--primary);
}
.lang-btn:hover:not(.active) { background: rgba(255,255,255,0.1); }

/* Navigation */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  padding: 16px 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(10,10,10,0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.logo {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 4px;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.logo span {
  -webkit-text-fill-color: var(--white);
  background: none;
}
.nav-links {
  display: flex;
  gap: 40px;
  list-style: none;
}
.nav-links a {
  text-decoration: none;
  color: var(--text-light);
  font-weight: 500;
  font-size: 14px;
  transition: color 0.3s ease;
}
.nav-links a:hover { color: var(--accent); }
.cta-btn {
  padding: 10px 24px;
  background: var(--gradient-accent);
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  font-size: 13px;
  border-radius: 24px;
  transition: all 0.3s ease;
}
.cta-btn:hover { transform: scale(1.05); box-shadow: 0 4px 20px rgba(212,175,55,0.3); }

/* Hero */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 60px 80px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 60% 40%, rgba(0,112,243,0.08) 0%, transparent 40%),
              radial-gradient(circle at 40% 60%, rgba(212,175,55,0.06) 0%, transparent 40%);
  animation: float 20s ease-in-out infinite;
  pointer-events: none;
}
@keyframes float {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(-2%, 2%) rotate(1deg); }
}

.hero-content {
  max-width: 900px;
  text-align: center;
  position: relative;
  z-index: 10;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 30px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 32px;
}
.hero h1 {
  font-size: 88px;
  font-weight: 800;
  letter-spacing: 12px;
  line-height: 1;
  margin-bottom: 24px;
  background: linear-gradient(180deg, var(--white) 0%, rgba(255,255,255,0.6) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero h1 span {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-subtitle {
  font-size: 24px;
  color: var(--text-light);
  margin-bottom: 16px;
  font-weight: 400;
  letter-spacing: 2px;
}
/* Code Animation Background */
.hero-code {
  position: absolute;
  inset: 0;
  overflow: hidden;
  opacity: 0.07;
  font-family: 'SF Mono', 'Fira Code', 'Consolas', monospace;
  font-size: 12px;
  line-height: 1.8;
  color: var(--accent);
  z-index: 1;
  padding: 120px 60px;
  pointer-events: none;
}
.code-container {
  display: flex;
  flex-direction: column;
}
.code-line {
  display: flex;
  align-items: center;
  height: 22px;
  white-space: nowrap;
}
.line-num {
  width: 30px;
  color: rgba(212,175,55,0.3);
  text-align: right;
  margin-right: 20px;
  flex-shrink: 0;
}
.code-keyword { color: #c792ea; }
.code-function { color: #82aaff; }
.code-string { color: #c3e88d; }
.code-comment { color: rgba(255,255,255,0.3); font-style: italic; }
.code-variable { color: #f78c6c; }
.code-number { color: #f5d77a; }
.code-cursor {
  position: absolute;
  left: 60px;
  height: 18px;
  display: flex;
  align-items: center;
}
.cursor-blink {
  display: inline-block;
  width: 8px;
  height: 16px;
  background: var(--accent);
  animation: blink 1s step-end infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.hero-tagline {
  font-size: 16px;
  color: var(--accent);
  font-weight: 500;
  letter-spacing: 4px;
  text-transform: uppercase;
}

.hero-headline {
  font-size: 40px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
  line-height: 1.3;
}

.hero-painpoints {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.hero-painpoints span {
  padding: 8px 16px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  font-size: 13px;
  color: var(--text-light);
}

/* Shadow AI Section */
.shadow-ai {
  padding: 120px 60px;
  background: linear-gradient(180deg, rgba(139, 0, 0, 0.1) 0%, rgba(10,10,10,0) 100%);
  text-align: center;
}
.shadow-content {
  max-width: 800px;
  margin: 60px auto 0;
}
.shadow-stat {
  margin-bottom: 48px;
}
.shadow-stat-value {
  font-size: 96px;
  font-weight: 800;
  color: #e53935;
  line-height: 1;
  margin-bottom: 16px;
}
.shadow-stat-label {
  font-size: 20px;
  color: var(--text-light);
}
.shadow-consequences {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}
.shadow-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 24px;
  background: rgba(229, 57, 53, 0.1);
  border: 1px solid rgba(229, 57, 53, 0.3);
  border-radius: 12px;
  color: #ef5350;
  font-weight: 500;
}
.shadow-item svg { stroke: #ef5350; }
.shadow-solution {
  font-size: 24px;
  font-weight: 700;
  color: var(--accent);
}

/* Architecture Section */
.architecture {
  padding: 120px 60px;
  position: relative;
}
.section-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.section-title {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
}
.section-desc {
  font-size: 18px;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
}
.architecture-diagram {
  max-width: 900px;
  margin: 60px auto;
  padding: 48px;
  border-radius: 24px;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
}
.diagram-row {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
}
.diagram-box {
  flex: 1;
  min-width: 280px;
  max-width: 400px;
  padding: 32px;
  border-radius: 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  text-align: center;
}
.diagram-box h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 2px;
  margin-bottom: 20px;
  text-transform: uppercase;
}
.diagram-box ul {
  list-style: none;
  text-align: left;
  font-size: 14px;
  color: var(--text-light);
  line-height: 2;
}
.diagram-box .tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  margin-top: 16px;
}
.tag.green { background: rgba(76,175,80,0.2); color: #81c784; }
.tag.blue { background: rgba(33,150,243,0.2); color: #64b5f6; }
.arrow-down {
  text-align: center;
  font-size: 24px;
  color: var(--accent);
  margin: 32px 0;
}
.models-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 40px;
  font-size: 14px;
}
.models-table th {
  text-align: left;
  padding: 16px;
  color: var(--accent);
  font-weight: 600;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.models-table td {
  padding: 14px 16px;
  color: var(--text-light);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.models-table tr:hover td { background: rgba(255,255,255,0.02); }

/* Agent Catalog */
.agents {
  padding: 120px 60px;
  background: rgba(0,0,0,0.3);
}
.agents-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1200px;
  margin: 60px auto 0;
}
.agent-card {
  padding: 32px 24px;
  border-radius: 20px;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  text-align: center;
  transition: all 0.4s ease;
}
.agent-card:hover {
  transform: translateY(-8px);
  border-color: var(--accent);
  box-shadow: 0 20px 60px rgba(212,175,55,0.1);
}
.agent-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(0,112,243,0.2), rgba(212,175,55,0.2));
}
.agent-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--white);
}
.agent-card p {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.6;
}
.agent-card .autonomy {
  display: inline-block;
  margin-top: 16px;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  background: rgba(212,175,55,0.15);
  color: var(--accent);
}

/* Orchestrator */
.orchestrator {
  padding: 120px 60px;
}
.swarm-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 60px auto 0;
}
.swarm-card {
  padding: 36px 28px;
  border-radius: 20px;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  transition: all 0.4s ease;
}
.swarm-card:hover {
  transform: scale(1.02);
  border-color: var(--secondary);
}
.swarm-card h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--white);
}
.swarm-card .duration {
  font-size: 12px;
  color: var(--secondary);
  font-weight: 600;
  margin-bottom: 16px;
}
.swarm-card p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 16px;
}
.swarm-agents {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.swarm-agents span {
  padding: 4px 12px;
  border-radius: 16px;
  font-size: 11px;
  font-weight: 500;
  background: rgba(255,255,255,0.08);
  color: var(--text-light);
}

/* Compliance */
.compliance {
  padding: 120px 60px;
  background: rgba(0,0,0,0.3);
}
.compliance-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 900px;
  margin: 60px auto 0;
}
.compliance-card {
  text-align: center;
  padding: 48px 32px;
  border-radius: 20px;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  transition: all 0.4s ease;
}
.compliance-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
}
.compliance-card .flag {
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
}
.compliance-card .flag svg {
  width: 56px;
  height: 56px;
  border-radius: 4px;
}
.compliance-card h4 {
  font-size: 20px;
  margin-bottom: 8px;
}
.compliance-card p {
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 20px;
}
.compliance-card .badge {
  display: inline-block;
  padding: 8px 20px;
  background: var(--gradient-accent);
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
  border-radius: 20px;
  text-transform: uppercase;
}

/* Pricing */
.pricing {
  padding: 120px 60px;
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1200px;
  margin: 60px auto 0;
}
.pricing-card {
  padding: 40px 28px;
  border-radius: 24px;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  text-align: center;
  transition: all 0.4s ease;
}
.pricing-card:hover { transform: scale(1.03); }
.pricing-card.featured {
  background: linear-gradient(135deg, rgba(0,112,243,0.3), rgba(212,175,55,0.2));
  border-color: var(--accent);
}
.pricing-badge {
  display: inline-block;
  padding: 6px 16px;
  background: var(--gradient-accent);
  color: var(--primary);
  font-size: 11px;
  font-weight: 700;
  border-radius: 20px;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.pricing-name {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--white);
}
.pricing-price {
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 8px;
}
.pricing-price span {
  font-size: 14px;
  font-weight: 400;
  color: var(--text-light);
}
.pricing-period {
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 28px;
}
.pricing-features {
  list-style: none;
  text-align: left;
  margin-bottom: 28px;
}
.pricing-features li {
  padding: 10px 0;
  font-size: 13px;
  color: var(--text-light);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.pricing-features li::before {
  content: '✓';
  color: var(--accent);
  font-weight: 700;
  margin-right: 10px;
}
.pricing-btn {
  width: 100%;
  padding: 14px;
  border: 1px solid var(--glass-border);
  background: transparent;
  color: var(--white);
  font-weight: 600;
  font-size: 14px;
  border-radius: 24px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: var(--font-family);
}
.pricing-card.featured .pricing-btn {
  background: var(--gradient-accent);
  border-color: var(--accent);
  color: var(--primary);
}
.pricing-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--primary);
}

/* Contact */
.contact {
  padding: 120px 60px;
  text-align: center;
  background: radial-gradient(ellipse at center, rgba(0,112,243,0.1) 0%, transparent 60%);
}
.contact .section-label { color: var(--accent); }
.contact h2 {
  font-size: 48px;
  margin-bottom: 20px;
}
.contact p {
  font-size: 18px;
  color: var(--text-light);
  margin-bottom: 48px;
}
.contact-info {
  display: flex;
  justify-content: center;
  gap: 60px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}
.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
}
.contact-item .icon { font-size: 24px; }
.contact-btn {
  display: inline-block;
  padding: 16px 48px;
  background: var(--gradient-accent);
  color: var(--primary);
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  border-radius: 30px;
  transition: all 0.3s ease;
}
.contact-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 30px rgba(212,175,55,0.3);
}

/* Footer */
.footer {
  padding: 40px 60px;
  border-top: 1px solid rgba(255,255,255,0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: rgba(255,255,255,0.4);
  font-size: 14px;
}
.footer-links { display: flex; gap: 30px; }
.footer-links a {
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  transition: color 0.3s ease;
}
.footer-links a:hover { color: var(--accent); }

/* Hamburger Menu */
.hamburger {
display: none;
flex-direction: column;
gap: 5px;
padding: 8px;
background: transparent;
border: none;
cursor: pointer;
z-index: 1001;
}
.hamburger span {
display: block;
width: 24px;
height: 2px;
background: var(--white);
transition: all 0.3s ease;
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile Navigation */
@media (max-width: 768px) {
.nav-links {
position: fixed;
top: 0;
right: -100%;
width: 280px;
height: 100vh;
background: rgba(10,10,10,0.98);
backdrop-filter: blur(20px);
flex-direction: column;
padding: 100px 40px 40px;
gap: 24px;
transition: right 0.3s ease;
}
.nav-links.open { right: 0; }
.hamburger { display: flex; }
.mobile-only { display: block; }
.nav-links li { opacity: 0; }
.nav-links.open li { opacity: 1; }
.nav-links.open li:nth-child(1) { transition: opacity 0.3s ease 0.1s; }
.nav-links.open li:nth-child(2) { transition: opacity 0.3s ease 0.15s; }
.nav-links.open li:nth-child(3) { transition: opacity 0.3s ease 0.2s; }
.nav-links.open li:nth-child(4) { transition: opacity 0.3s ease 0.25s; }
.nav-links.open li:nth-child(5) { transition: opacity 0.3s ease 0.3s; }
.nav-links.open li:nth-child(6) { transition: opacity 0.3s ease 0.35s; }
.nav-links.open li:nth-child(7) { transition: opacity 0.3s ease 0.4s; }
.nav-links.open li:nth-child(8) { transition: opacity 0.3s ease 0.45s; }
.nav-links a { font-size: 18px; color: var(--white); }
}
@media (min-width: 769px) {
.mobile-only { display: none; }
}

/* Active Nav Link */
.nav-links a.active { color: var(--accent); }

/* Hero CTA */
.hero-cta {
display: flex;
gap: 16px;
justify-content: center;
margin: 32px 0;
}
.btn-primary, .btn-secondary {
padding: 14px 32px;
border-radius: 30px;
font-weight: 600;
font-size: 14px;
text-decoration: none;
transition: all 0.3s ease;
}
.btn-primary {
background: var(--gradient-accent);
color: var(--primary);
}
.btn-primary:hover { transform: scale(1.05); box-shadow: 0 8px 30px rgba(212,175,55,0.3); }
.btn-secondary {
background: transparent;
border: 1px solid var(--glass-border);
color: var(--white);
}
.btn-secondary:hover { background: var(--glass-bg); border-color: var(--accent); }

/* Hero Stats */
.hero-stats {
display: flex;
gap: 48px;
justify-content: center;
margin-top: 40px;
padding-top: 32px;
border-top: 1px solid rgba(255,255,255,0.1);
}
.stat { text-align: center; }
.stat-value {
display: block;
font-size: 28px;
font-weight: 700;
color: var(--accent);
}
.stat-label {
font-size: 12px;
color: var(--text-light);
text-transform: uppercase;
letter-spacing: 1px;
}

/* Hero Badge Icon */
.hero-badge svg { stroke: var(--accent); }

/* Agent Icon SVG */
.agent-icon {
width: 64px;
height: 64px;
margin: 0 auto 20px;
display: flex;
align-items: center;
justify-content: center;
font-size: 28px;
border-radius: 16px;
background: linear-gradient(135deg, rgba(0,112,243,0.2), rgba(212,175,55,0.2));
}
.agent-icon svg { stroke: var(--accent); }

/* FAQ Section */
.faq {
padding: 120px 60px;
background: rgba(0,0,0,0.3);
}
.faq-list {
max-width: 800px;
margin: 60px auto 0;
}
.faq-item {
border-bottom: 1px solid rgba(255,255,255,0.1);
}
.faq-question {
width: 100%;
display: flex;
justify-content: space-between;
align-items: center;
padding: 24px 0;
background: transparent;
border: none;
color: var(--white);
font-size: 16px;
font-weight: 500;
text-align: left;
cursor: pointer;
font-family: var(--font-family);
}
[dir="rtl"] .faq-question { text-align: right; }
.faq-question:hover { color: var(--accent); }
.faq-icon {
width: 20px;
height: 20px;
position: relative;
flex-shrink: 0;
}
.faq-icon::before, .faq-icon::after {
content: '';
position: absolute;
background: currentColor;
transition: transform 0.3s ease;
}
.faq-icon::before { width: 100%; height: 2px; top: 50%; left: 0; transform: translateY(-50%); }
.faq-icon::after { width: 2px; height: 100%; left: 50%; top: 0; transform: translateX(-50%); }
.faq-question.open .faq-icon::after { transform: translateX(-50%) rotate(90deg); }
.faq-answer {
max-height: 0;
overflow: hidden;
transition: max-height 0.3s ease, padding 0.3s ease;
}
.faq-answer.open { max-height: 300px; }
.faq-answer p {
padding: 0 0 24px;
color: var(--text-light);
line-height: 1.8;
}

/* Contact Form */
.contact-wrapper {
max-width: 900px;
margin: 0 auto;
}
.contact-form {
display: flex;
flex-direction: column;
gap: 16px;
margin-bottom: 48px;
}
.form-row {
display: flex;
gap: 16px;
}
.contact-form input {
width: 100%;
padding: 16px 20px;
background: var(--glass-bg);
border: 1px solid var(--glass-border);
border-radius: 12px;
color: var(--white);
font-size: 14px;
font-family: var(--font-family);
transition: border-color 0.3s ease;
}
.contact-form input::placeholder { color: var(--text-muted); }
.contact-form input:focus { outline: none; border-color: var(--accent); }
.contact-form .contact-btn {
width: auto;
align-self: flex-start;
padding: 16px 48px;
background: var(--gradient-accent);
color: var(--primary);
border: none;
font-weight: 700;
font-size: 15px;
border-radius: 30px;
cursor: pointer;
transition: all 0.3s ease;
font-family: var(--font-family);
}
.contact-form .contact-btn:hover { transform: scale(1.05); box-shadow: 0 8px 30px rgba(212,175,55,0.3); }
.contact-form .contact-btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

.form-success {
  display: none;
  padding: 32px 24px;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  margin-bottom: 32px;
  text-align: center;
}
.form-success p {
  color: var(--accent);
  font-size: 18px;
  font-weight: 600;
  margin: 0;
}
.form-success svg {
  display: block;
  margin: 0 auto 16px;
  width: 48px;
  height: 48px;
  stroke: var(--accent);
}

.form-error {
  display: none;
  padding: 16px;
  background: rgba(229,57,53,0.15);
  border: 1px solid rgba(229,57,53,0.4);
  border-radius: 12px;
  margin-bottom: 24px;
  color: #ef5350;
  font-size: 14px;
}

[data-fs-error] { color: #ef5350; font-size: 13px; margin-top: 4px; display: block; }

.contact-form.hidden { display: none; }

/* Contact Icons */
.contact-item svg { stroke: var(--accent); flex-shrink: 0; }

/* Back to Top */
.back-to-top {
position: fixed;
bottom: 30px;
right: 30px;
width: 48px;
height: 48px;
background: var(--glass-bg);
backdrop-filter: blur(10px);
border: 1px solid var(--glass-border);
border-radius: 50%;
color: var(--accent);
cursor: pointer;
opacity: 0;
visibility: hidden;
transform: translateY(20px);
transition: all 0.3s ease;
z-index: 999;
display: flex;
align-items: center;
justify-content: center;
}
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--accent); color: var(--primary); transform: scale(1.1); }
[dir="rtl"] .back-to-top { right: auto; left: 30px; }

/* Focus States */
*:focus-visible {
outline: 2px solid var(--accent);
outline-offset: 2px;
}
button:focus-visible, a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
*, *::before, *::after {
animation-duration: 0.01ms !important;
animation-iteration-count: 1 !important;
transition-duration: 0.01ms !important;
}
.reveal { opacity: 1; transform: none; }
.hero-content > * { animation: none; opacity: 1; }
}

/* Architecture Arrow with SVG */
.arrow-down svg {
  width: 24px;
  height: 24px;
  stroke: var(--accent);
}

/* Responsive */
@media (max-width: 1024px) {
  .agents-grid, .swarm-grid, .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .hero h1 { font-size: 56px; }
  .nav { padding: 16px 30px; }
  .hero-stats { gap: 32px; }
}
@media (max-width: 768px) {
  .agents-grid, .swarm-grid, .pricing-grid, .compliance-grid { grid-template-columns: 1fr; }
  .hero { padding: 100px 30px 60px; }
  .hero h1 { font-size: 36px; letter-spacing: 6px; }
  .hero-subtitle { font-size: 18px; }
  .section-title { font-size: 32px; }
  .contact-info { flex-direction: column; gap: 20px; }
  .nav-links { display: none; }
  .footer { flex-direction: column; gap: 20px; text-align: center; }
  .architecture, .agents, .orchestrator, .compliance, .pricing, .contact, .faq, .shadow-ai { padding: 80px 30px; }
  .hero-cta { flex-direction: column; align-items: center; }
  .hero-stats { flex-direction: column; gap: 24px; }
  .shadow-stat-value { font-size: 64px; }
  .shadow-consequences { flex-direction: column; gap: 16px; }
  .hero-painpoints { flex-direction: column; gap: 12px; }
  .hero-headline { font-size: 28px; }
  .form-row { flex-direction: column; }
  .faq-question { font-size: 14px; padding: 20px 0; }
}

/* Entry Animations */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-content > * { animation: fadeInUp 0.8s ease forwards; opacity: 0; }
.hero-content > :nth-child(1) { animation-delay: 0.1s; }
.hero-content > :nth-child(2) { animation-delay: 0.2s; }
.hero-content > :nth-child(3) { animation-delay: 0.3s; }
.hero-content > :nth-child(4) { animation-delay: 0.4s; }

/* Legal Overlay */
.legal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.legal-overlay.active {
  opacity: 1;
  visibility: visible;
}
.legal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
}
.legal-panel {
  position: relative;
  width: 90%;
  max-width: 800px;
  max-height: 85vh;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  transform: translateY(20px) scale(0.95);
  transition: transform 0.3s ease;
}
.legal-overlay.active .legal-panel {
  transform: translateY(0) scale(1);
}
.legal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 48px;
  height: 48px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10;
  flex-shrink: 0;
}
.legal-close-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  transform: scale(1.1);
}
.legal-close-btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.legal-close-btn svg {
  stroke: var(--white);
  width: 24px;
  height: 24px;
}
.legal-scroll {
  overflow-y: auto;
  padding: 60px 48px 48px;
  scrollbar-width: thin;
  scrollbar-color: var(--accent) rgba(255,255,255,0.1);
}
.legal-scroll::-webkit-scrollbar {
  width: 8px;
}
.legal-scroll::-webkit-scrollbar-track {
  background: rgba(255,255,255,0.05);
  border-radius: 4px;
}
.legal-scroll::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 4px;
}
.legal-section {
  display: none;
}
.legal-section.active {
  display: block;
}
.legal-header {
  text-align: center;
  margin-bottom: 32px;
}
.legal-content {
  background: rgba(0,0,0,0.3);
  border-radius: 16px;
  padding: 32px;
}
.legal-content h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--accent);
  margin: 28px 0 12px;
}
.legal-content h3:first-child {
  margin-top: 0;
}
.legal-content p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 12px;
}
.legal-content ul {
  list-style: none;
  margin: 12px 0;
}
.legal-content ul li {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.8;
  padding: 6px 0;
  padding-left: 20px;
  position: relative;
}
.legal-content ul li::before {
  content: '•';
  color: var(--accent);
  position: absolute;
  left: 0;
  font-weight: bold;
}
.legal-content ul li strong {
  color: var(--white);
}
.security-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 20px 0;
}
.security-badge {
  padding: 10px 20px;
  background: var(--gradient-accent);
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
  border-radius: 20px;
}

body.legal-open {
  overflow: hidden;
}

@media (max-width: 768px) {
  .legal-panel {
    width: 95%;
    max-height: 90vh;
  }
  .legal-scroll {
    padding: 50px 24px 32px;
  }
  .legal-content {
    padding: 24px 20px;
  }
  .security-badges {
    justify-content: center;
  }
}
