/* =====================================================================
   sscs-landing.css  -  RECONSTRUCTED

   The original React page imports "css/sscs-landing.css", but that file was
   not inside landing_finaL.zip. This file re-creates every custom class the
   home page / navbar / footer use (nav-blur, btn-neon, card-hover, glass,
   gradient-text, reveal, stat-num, orbit-*, modal-*, sol-item-v2 ...) so the
   page works out of the box.

   If you have the original sscs-landing.css, simply overwrite this file with
   it - the class names are identical and nothing else needs to change.
   ===================================================================== */

:root {
  --bg-primary: #050508;
  --bg-secondary: #0d1117;
  --text-primary: #f1f5f9;
  --text-muted: #94a3b8;
}
[data-theme="light"] {
  --bg-primary: #f8fafc;
  --bg-secondary: #eef2f7;
  --text-primary: #0f172a;
  --text-muted: #475569;
}

html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
}

/* ---------------- Keyframes / animation utilities ---------------- */
@keyframes moveBackground {
  0%, 100% { transform: scale(1) translate(0, 0); }
  50% { transform: scale(1.06) translate(-1.5%, 1%); }
}
@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes pulseSlow { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.08); opacity: 0.85; } }
@keyframes spinSlow { to { transform: rotate(360deg); } }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

.animate-float-slow { animation: floatY 6s ease-in-out infinite; }
.animate-float-medium { animation: floatY 4.5s ease-in-out infinite; }
.animate-float-fast { animation: floatY 3.2s ease-in-out infinite; }
.animate-pulse-slow { animation: pulseSlow 3.5s ease-in-out infinite; }
.animate-spin-slow { animation: spinSlow 8s linear infinite; }
.animate-fadeIn { animation: fadeIn 0.3s ease-out; }

/* ---------------- Scroll reveal ---------------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ---------------- Navbar ---------------- */
.nav-blur {
  background: rgba(5, 5, 8, 0.82);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.theme-toggle {
  width: 38px;
  height: 38px;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #cbd5e1;
  cursor: pointer;
  transition: all 0.2s ease;
}
.theme-toggle:hover { background: rgba(255, 255, 255, 0.1); color: #fff; }
.theme-toggle svg { width: 18px; height: 18px; }

.sol-item-v2 {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
}
.sol-item-v2:hover { background: rgba(255, 255, 255, 0.05); transform: translateX(2px); }
.sol-icon-v2 {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.chevron-rotate { transition: transform 0.2s ease; }

/* ---------------- Buttons ---------------- */
.btn-neon {
  background: linear-gradient(135deg, #5b8cff 0%, #8b5cf6 100%);
  color: #fff !important;
  border: none;
  box-shadow: 0 4px 14px rgba(91, 140, 255, 0.4), 0 2px 6px rgba(139, 92, 246, 0.3);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  cursor: pointer;
  text-decoration: none;
}
.btn-neon:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(91, 140, 255, 0.6), 0 4px 12px rgba(139, 92, 246, 0.5);
}
.btn-outline {
  background: transparent;
  color: #cbd5e1;
  border: 1px solid rgba(79, 142, 247, 0.45);
  transition: all 0.2s ease;
  text-decoration: none;
}
.btn-outline:hover { background: rgba(79, 142, 247, 0.12); color: #fff; }

/* ---------------- Cards / glass / text ---------------- */
.card-hover { transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease; }
.card-hover:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(79, 142, 247, 0.15); }

.glass {
  background: rgba(255, 255, 255, 0.04);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.gradient-text {
  background: linear-gradient(135deg, #06b6d4 0%, #4f8ef7 50%, #8b5cf6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.pricing-popular {
  background: linear-gradient(160deg, rgba(79, 142, 247, 0.14), rgba(139, 92, 246, 0.14));
  border-color: rgba(139, 92, 246, 0.55) !important;
  box-shadow: 0 0 40px rgba(139, 92, 246, 0.25);
}
.pricing-selected { box-shadow: 0 20px 60px rgba(79, 142, 247, 0.5); }

/* ---------------- Hero ---------------- */
.stat-num {
  font-family: "Poppins", "Inter", sans-serif;
  font-weight: 800;
  font-size: 1.75rem;
  line-height: 1.1;
  background: linear-gradient(135deg, #06b6d4, #4f8ef7);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat-label {
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  color: #94a3b8;
}

.stars-bg {
  background-image:
    radial-gradient(1px 1px at 20px 30px, #fff, transparent),
    radial-gradient(1px 1px at 90px 120px, #fff, transparent),
    radial-gradient(1.5px 1.5px at 160px 60px, #9fd8ff, transparent),
    radial-gradient(1px 1px at 230px 170px, #fff, transparent),
    radial-gradient(1px 1px at 300px 90px, #cdb8ff, transparent);
  background-size: 320px 220px;
}

/* dark / light hero backgrounds */
.light-mode-robotics-bg { display: none; }
[data-theme="light"] .dark-mode-bg { display: none; }
[data-theme="light"] .light-mode-robotics-bg { display: block; }

.particle {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 9999px;
  background: #4f8ef7;
  opacity: 0.5;
  animation: floatY 7s ease-in-out infinite;
}
.particle-1 { top: 12%; left: 8%; }
.particle-2 { top: 22%; left: 78%; background: #8b5cf6; animation-delay: -1s; }
.particle-3 { top: 40%; left: 16%; background: #06b6d4; animation-delay: -2s; }
.particle-4 { top: 55%; left: 88%; animation-delay: -3s; }
.particle-5 { top: 70%; left: 30%; background: #8b5cf6; animation-delay: -4s; }
.particle-6 { top: 82%; left: 66%; background: #06b6d4; animation-delay: -5s; }
.particle-7 { top: 30%; left: 50%; animation-delay: -2.5s; }
.particle-8 { top: 64%; left: 8%; background: #06b6d4; animation-delay: -1.5s; }

.geo-shape { position: absolute; border: 2px solid rgba(79, 142, 247, 0.25); animation: floatY 9s ease-in-out infinite; }
.geo-hexagon-1 { top: 14%; left: 62%; width: 90px; height: 90px; clip-path: polygon(25% 5%, 75% 5%, 100% 50%, 75% 95%, 25% 95%, 0 50%); background: rgba(79, 142, 247, 0.08); border: none; }
.geo-hexagon-2 { top: 68%; left: 12%; width: 60px; height: 60px; clip-path: polygon(25% 5%, 75% 5%, 100% 50%, 75% 95%, 25% 95%, 0 50%); background: rgba(139, 92, 246, 0.1); border: none; animation-delay: -3s; }
.geo-circle-1 { top: 20%; left: 20%; width: 70px; height: 70px; border-radius: 9999px; border-color: rgba(6, 182, 212, 0.3); animation-delay: -2s; }
.geo-circle-2 { top: 74%; left: 80%; width: 110px; height: 110px; border-radius: 9999px; border-color: rgba(139, 92, 246, 0.25); animation-delay: -5s; }
.geo-triangle-1 { top: 48%; left: 74%; width: 60px; height: 60px; clip-path: polygon(50% 5%, 100% 95%, 0 95%); background: rgba(6, 182, 212, 0.12); border: none; animation-delay: -4s; }

.dna-line {
  position: absolute;
  width: 2px;
  height: 60%;
  background: linear-gradient(to bottom, transparent, rgba(79, 142, 247, 0.4), transparent);
}
.dna-line-1 { top: 10%; left: 35%; }
.dna-line-2 { top: 25%; left: 68%; background: linear-gradient(to bottom, transparent, rgba(139, 92, 246, 0.4), transparent); }

/* ---------------- Orbit (AI Core) ---------------- */
.orbit-stage { min-height: 620px; padding: 20px 0; }
.orbit-scale-wrap { position: relative; width: 560px; height: 560px; flex-shrink: 0; }
@media (max-width: 640px) {
  .orbit-stage { min-height: 400px; }
  .orbit-scale-wrap { transform: scale(0.62); }
}
@media (min-width: 641px) and (max-width: 1023px) {
  .orbit-scale-wrap { transform: scale(0.85); }
}

/* ---------------- Feature detail modal ---------------- */
.modal-stat-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
}
.modal-stat-val { font-family: "Poppins", "Inter", sans-serif; font-size: 1.75rem; font-weight: 800; line-height: 1.1; }
.modal-stat-lbl { font-size: 0.75rem; color: #94a3b8; }
.modal-feat {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.modal-feat-dot { width: 7px; height: 7px; border-radius: 9999px; margin-top: 7px; flex-shrink: 0; }
.modal-feat-text { font-size: 0.875rem; color: #cbd5e1; line-height: 1.5; }
.modal-step { display: flex; align-items: flex-start; gap: 14px; }
.modal-step-num {
  width: 28px;
  height: 28px;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  flex-shrink: 0;
}
.modal-step-text { font-size: 0.9rem; color: #cbd5e1; line-height: 1.6; padding-top: 3px; }

/* =====================================================================
   LIGHT THEME
   ===================================================================== */
[data-theme="light"] .nav-blur {
  background: rgba(248, 250, 252, 0.88);
  border-bottom-color: rgba(15, 23, 42, 0.08);
}
[data-theme="light"] .nav-blur .text-slate-400 { color: #475569; }
[data-theme="light"] .nav-blur .text-slate-400:hover { color: #0f172a; }
[data-theme="light"] .theme-toggle { background: rgba(15, 23, 42, 0.05); border-color: rgba(15, 23, 42, 0.12); color: #334155; }
[data-theme="light"] .btn-outline { color: #1e293b; border-color: rgba(79, 142, 247, 0.5); }
[data-theme="light"] .btn-outline:hover { color: #0f172a; }
[data-theme="light"] .sol-item-v2:hover { background: rgba(15, 23, 42, 0.05); }

/* page sections */
[data-theme="light"] main section { background-color: #f8fafc !important; }
[data-theme="light"] main .stats-bar-container { background-color: rgba(255, 255, 255, 0.85) !important; }
[data-theme="light"] main .text-white { color: #0f172a; }
[data-theme="light"] main .text-slate-300 { color: #334155; }
[data-theme="light"] main .text-slate-400 { color: #475569; }
[data-theme="light"] main .text-slate-500 { color: #64748b; }
[data-theme="light"] main .bg-white\/5 { background-color: #ffffff; border-color: rgba(15, 23, 42, 0.1); }
[data-theme="light"] main .border-white\/5,
[data-theme="light"] main .border-white\/10 { border-color: rgba(15, 23, 42, 0.1); }
[data-theme="light"] main .glass { background: #ffffff; border: 1px solid rgba(15, 23, 42, 0.08); }
[data-theme="light"] main .bg-slate-900\/60 { background-color: #ffffff; }
[data-theme="light"] main .card-hover { box-shadow: 0 6px 20px rgba(15, 23, 42, 0.06); }
[data-theme="light"] .stat-label { color: #475569; }
[data-theme="light"] .btn-neon,
[data-theme="light"] .hero-cta,
[data-theme="light"] main .btn-neon { color: #fff !important; }
[data-theme="light"] main .modal-stat-box,
[data-theme="light"] main .modal-feat { background: #fff; }

/* the feature detail pop-up stays a dark card in both themes */
[data-theme="light"] #feature-modal .text-white { color: #ffffff; }
[data-theme="light"] #feature-modal .text-slate-300 { color: #cbd5e1; }
[data-theme="light"] #feature-modal .text-slate-500 { color: #64748b; }
[data-theme="light"] #feature-modal .modal-stat-box,
[data-theme="light"] #feature-modal .modal-feat { background: rgba(255, 255, 255, 0.04); }
[data-theme="light"] #feature-modal .modal-stat-lbl { color: #94a3b8; }
[data-theme="light"] #feature-modal .modal-feat-text,
[data-theme="light"] #feature-modal .modal-step-text { color: #cbd5e1; }
