/* ══════════════════════════════════════════════════════════════
   Curarobotic — shared styles for individual robot model pages
   ══════════════════════════════════════════════════════════════ */

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

:root {
  --navy:     #0d0d2b;
  --navy-mid: #16163e;
  --blue:     #1800ff;
  --blue-lit: #3a28ff;
  --lav:      #c5c8ff;
  --white:    #ffffff;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--navy);
  color: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0.9rem 3.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(13, 13, 43, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(197,200,255,0.08);
  transition: background 0.3s, border-color 0.3s;
}

nav.scrolled {
  background: rgba(13, 13, 43, 0.98);
  border-bottom-color: rgba(197,200,255,0.14);
}

.nav-logo img { height: 64px; width: auto; display: block; }

.nav-links { display: flex; gap: 2.4rem; list-style: none; align-items: center; }

.nav-links a {
  color: rgba(197,200,255,0.75);
  text-decoration: none;
  font-size: 0.85rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--white); }
.nav-links a.active { color: var(--white); }

.nav-dropdown { position: relative; }

.nav-dropdown::after {
  content: '';
  position: absolute;
  top: 100%;
  left: -1rem;
  right: -1rem;
  height: 1rem;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: rgba(13,13,43,0.98);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(197,200,255,0.14);
  border-radius: 12px;
  padding: 0.5rem;
  margin-top: 1rem;
  min-width: 200px;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, transform 0.2s ease;
  box-shadow: 0 24px 60px rgba(0,0,0,0.45);
}

.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown-menu a {
  padding: 0.6rem 0.9rem;
  border-radius: 8px;
  font-size: 0.82rem !important;
  text-transform: none !important;
  letter-spacing: normal !important;
  white-space: nowrap;
}

.dropdown-menu a:hover { background: rgba(24,0,255,0.25); color: var(--white); }

.nav-cta {
  background: var(--blue) !important;
  color: var(--white) !important;
  padding: 0.55rem 1.4rem;
  border-radius: 50px;
  font-weight: 700 !important;
  letter-spacing: 0.04em !important;
  transition: background 0.2s, transform 0.2s !important;
}

.nav-cta:hover { background: var(--blue-lit) !important; transform: translateY(-1px); }

/* ── SECTION COMMON ── */
section { padding: 5.5rem 3.5rem; }

.container { max-width: 1200px; margin: 0 auto; }

.tag {
  display: inline-block;
  color: var(--lav);
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
}

.section-title {
  font-size: clamp(1.7rem, 2.8vw, 2.4rem);
  font-weight: 800;
  line-height: 1.18;
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}

.section-sub {
  font-size: 1.02rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.72;
}

.centered-head {
  max-width: 760px;
  margin: 0 auto 3.2rem;
  text-align: center;
}

/* ── PRODUCT HERO ── */
#product-hero {
  padding-top: 10rem;
  background:
    radial-gradient(1000px 520px at 78% 22%, rgba(24,0,255,0.30), transparent 70%),
    linear-gradient(150deg, #0a0a24 0%, #12124a 55%, #0d0d2b 100%);
  border-bottom: 1px solid rgba(197,200,255,0.08);
}

.hero-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.42);
  margin-bottom: 1.6rem;
  flex-wrap: wrap;
}

.breadcrumb a { color: rgba(197,200,255,0.75); text-decoration: none; transition: color 0.2s; }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb span { color: rgba(255,255,255,0.28); }

.model-type {
  display: inline-block;
  background: rgba(24,0,255,0.28);
  color: var(--lav);
  font-size: 0.68rem;
  padding: 0.2rem 0.8rem;
  border-radius: 50px;
  margin-bottom: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-text h1 {
  font-size: clamp(2.6rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.02em;
  margin-bottom: 0.7rem;
}

.hero-tagline {
  font-size: 1.15rem;
  color: var(--lav);
  font-weight: 600;
  margin-bottom: 1.2rem;
  line-height: 1.45;
}

.hero-blurb {
  font-size: 0.98rem;
  color: rgba(255,255,255,0.66);
  line-height: 1.75;
  margin-bottom: 1.8rem;
  max-width: 520px;
}

.mode-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 2rem;
}

.mode-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  background: rgba(197,200,255,0.09);
  border: 1px solid rgba(197,200,255,0.24);
  color: var(--lav);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.36rem 0.9rem;
  border-radius: 50px;
}

.mode-chip svg { width: 13px; height: 13px; stroke-width: 2.2; }

.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }

.btn-primary {
  background: var(--blue);
  color: var(--white);
  padding: 0.85rem 2.1rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  border: 2px solid var(--blue);
  transition: all 0.22s;
  letter-spacing: 0.02em;
}

.btn-primary:hover {
  background: transparent;
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(24,0,255,0.45);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  padding: 0.85rem 2.1rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid rgba(255,255,255,0.36);
  transition: all 0.22s;
}

.btn-ghost:hover { border-color: var(--white); transform: translateY(-2px); }

.hero-visual {
  background: #eef0f7;
  border-radius: 22px;
  border: 1px solid rgba(197,200,255,0.16);
  padding: 2.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.38);
}

.hero-visual img { width: 100%; height: auto; max-height: 420px; object-fit: contain; }

.hero-visual.photo {
  background: transparent;
  border: none;
  padding: 0;
  overflow: hidden;
}

.hero-visual.photo img {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  border-radius: 22px;
}

/* ── SPEC HIGHLIGHT BAR ── */
#highlights {
  background: var(--blue);
  padding: 2.6rem 3.5rem;
}

.highlights-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.highlight-num {
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
}

.highlight-num small { font-size: 0.9rem; font-weight: 600; opacity: 0.85; }

.highlight-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.72);
  margin-top: 0.35rem;
  letter-spacing: 0.03em;
}

/* ── OVERVIEW / COVERAGE ── */
#overview { background: var(--navy); }

.overview-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: start;
}

.overview-text .section-sub { margin-bottom: 1.6rem; }

.coverage-box {
  background: var(--navy-mid);
  border: 1px solid rgba(197,200,255,0.12);
  border-radius: 16px;
  padding: 1.8rem 1.9rem;
}

.coverage-box h3 {
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--lav);
  margin-bottom: 0.7rem;
}

.coverage-value {
  font-size: 1.7rem;
  font-weight: 800;
  line-height: 1.15;
}

.coverage-value small {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255,255,255,0.5);
  margin-top: 0.25rem;
}

.env-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.7rem 1.2rem;
  margin-top: 1.6rem;
}

.env-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.87rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.5;
}

.env-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--blue-lit);
  flex-shrink: 0;
  margin-top: 0.55rem;
  box-shadow: 0 0 10px rgba(58,40,255,0.8);
}

/* ── FEATURES ── */
#features { background: var(--navy-mid); }

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.feature-card {
  background: rgba(13,13,43,0.6);
  border: 1px solid rgba(197,200,255,0.1);
  border-radius: 16px;
  padding: 1.9rem;
  transition: all 0.28s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(24,0,255,0.55);
  box-shadow: 0 18px 48px rgba(24,0,255,0.18);
}

.feature-icon {
  width: 44px; height: 44px;
  border-radius: 11px;
  background: rgba(24,0,255,0.3);
  border: 1px solid rgba(197,200,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.1rem;
}

.feature-icon svg { width: 21px; height: 21px; stroke: var(--lav); stroke-width: 2; }

.feature-card h3 {
  font-size: 1.04rem;
  font-weight: 700;
  margin-bottom: 0.55rem;
  color: var(--white);
}

.feature-card p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.57);
  line-height: 1.68;
}

/* ── SPECIFICATIONS ── */
#specs { background: var(--navy); }

.spec-table {
  max-width: 1000px;
  margin: 0 auto;
  border-top: 1px solid rgba(197,200,255,0.14);
}

.spec-row {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
  padding: 1.15rem 0.4rem;
  border-bottom: 1px solid rgba(197,200,255,0.09);
  transition: background 0.2s;
}

.spec-row:hover { background: rgba(197,200,255,0.03); }

.spec-key {
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
}

.spec-val {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.62);
  text-align: right;
  line-height: 1.7;
}

.spec-note {
  max-width: 1000px;
  margin: 1.4rem auto 0;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.34);
  text-align: right;
  line-height: 1.6;
}

/* ── FLOORING ── */
#flooring { background: var(--navy-mid); }

.floor-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.7rem;
  max-width: 900px;
  margin: 0 auto;
}

.floor-chip {
  background: rgba(13,13,43,0.6);
  border: 1px solid rgba(197,200,255,0.13);
  border-radius: 50px;
  padding: 0.55rem 1.25rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.72);
  transition: all 0.22s;
}

.floor-chip:hover { border-color: rgba(24,0,255,0.5); color: var(--white); }

/* ── OTHER MODELS ── */
#more { background: var(--navy); }

.more-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.more-card {
  background: var(--navy-mid);
  border: 1px solid rgba(197,200,255,0.1);
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: all 0.28s ease;
}

.more-card:hover {
  transform: translateY(-6px);
  border-color: rgba(24,0,255,0.55);
  box-shadow: 0 20px 56px rgba(24,0,255,0.22);
}

.more-img {
  background: #eef0f7;
  height: 150px;
  padding: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.more-img img { width: 100%; height: 100%; object-fit: contain; }

.more-info { padding: 0.95rem 1.1rem 1.15rem; }

.more-info span {
  display: inline-block;
  font-size: 0.66rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--lav);
  opacity: 0.75;
}

.more-info h4 { font-size: 0.98rem; font-weight: 700; margin-top: 0.2rem; }

/* ── CTA ── */
#cta {
  background: linear-gradient(135deg, var(--blue) 0%, #2a12ff 55%, #0d0d2b 100%);
  text-align: center;
}

#cta .cta-inner { max-width: 780px; margin: 0 auto; }

#cta h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.7rem);
  font-weight: 800;
  line-height: 1.18;
  margin-bottom: 1rem;
}

#cta p {
  font-size: 1.02rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.72;
  margin-bottom: 2.2rem;
}

.cta-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.btn-white {
  background: var(--white);
  color: var(--navy);
  padding: 0.88rem 2.3rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.97rem;
  border: 2px solid var(--white);
  transition: all 0.22s;
}

.btn-white:hover { background: transparent; color: var(--white); transform: translateY(-2px); }

/* ── FOOTER ── */
footer {
  background: var(--navy);
  border-top: 1px solid rgba(197,200,255,0.08);
  padding: 2.8rem 3.5rem;
}

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

.footer-logo img { height: 54px; }

.footer-copy {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.36);
  text-align: center;
  line-height: 1.6;
}

.footer-links { display: flex; gap: 2rem; }

.footer-links a {
  color: rgba(255,255,255,0.44);
  text-decoration: none;
  font-size: 0.82rem;
  transition: color 0.2s;
}

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

/* ── FADE-IN UTILITY ── */
.fade-in {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ── */
@media (max-width: 1080px) {
  .hero-grid { gap: 2.5rem; }
  .overview-grid { grid-template-columns: 1fr; gap: 2.6rem; }
}

@media (max-width: 960px) {
  nav { padding: 0.9rem 2rem; }
  .nav-links { gap: 1.5rem; }
  section { padding: 4.5rem 2rem; }
  #product-hero { padding-top: 8.5rem; }
  #highlights { padding: 2.4rem 2rem; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { min-height: 300px; order: -1; padding: 1.6rem; }
  .hero-visual img { max-height: 300px; }
  .highlights-grid { grid-template-columns: repeat(2, 1fr); gap: 1.8rem; }
  .features-grid { grid-template-columns: 1fr; }
  .more-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  nav { padding: 0.8rem 1.4rem; }
  .nav-links { display: none; }
  .env-list { grid-template-columns: 1fr; }
  .spec-row { grid-template-columns: 1fr; gap: 0.3rem; }
  .spec-val { text-align: left; }
  .spec-note { text-align: left; }
  .more-grid { grid-template-columns: 1fr; }
  footer { padding: 2rem 1.5rem; }
  .footer-inner { flex-direction: column; text-align: center; }
}
