/* =============================================
   SIMBOTICA — Dark Industrial Cyberpunk Aesthetic
   Fonts: Syne (display) + IBM Plex Mono (body/code)
   ============================================= */

:root {
  --bg:       #080b10;
  --bg-2:     #0d1117;
  --bg-3:     #111820;
  --border:   #1e2d3d;
  --border-2: #243344;
  --accent:   #00e5ff;
  --accent-2: #0099cc;
  --accent-3: #00ff9d;
  --text:     #c9d8e8;
  --text-dim: #667788;
  --text-muted: #3d5060;
  --white:    #eaf2ff;
  --red:      #ff4455;
  --yellow:   #ffd60a;

  --font-display: 'Syne', sans-serif;
  --font-mono:    'IBM Plex Mono', monospace;

  --radius: 4px;
  --radius-lg: 10px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 15px;
  line-height: 1.7;
  overflow-x: hidden;
}

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

/* ---- SCANLINE TEXTURE ---- */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0,0,0,0.08) 2px,
    rgba(0,0,0,0.08) 4px
  );
  pointer-events: none;
  z-index: 9999;
}

/* ==============================
   NAV
   ============================== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 2.5rem;
  background: rgba(8, 11, 16, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: 0.08em;
  color: var(--white);
}

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

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

.nav-links a {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--white); }

.nav-cta {
  border: 1px solid var(--accent);
  color: var(--accent) !important;
  padding: 0.45rem 1.1rem;
  border-radius: var(--radius);
  transition: background 0.2s, color 0.2s !important;
}
.nav-cta:hover {
  background: var(--accent) !important;
  color: var(--bg) !important;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: transform 0.3s;
}

/* ==============================
   HERO
   ============================== */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
  padding: 8rem 2.5rem 4rem;
  max-width: 1280px;
  margin: 0 auto;
  position: relative;
}

.hero-grid-bg {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,229,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,229,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: -1;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
  border: 1px solid var(--border);
  padding: 0.4rem 0.9rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
}

.dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent-3);
  box-shadow: 0 0 8px var(--accent-3);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  font-weight: 800;
  line-height: 1.05;
  color: var(--white);
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}
.hero-title em {
  font-style: normal;
  color: var(--accent);
  text-shadow: 0 0 40px rgba(0,229,255,0.3);
}

.hero-sub {
  color: var(--text-dim);
  font-size: 1rem;
  max-width: 480px;
  margin-bottom: 2rem;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.hero-badges span {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  text-transform: uppercase;
}

/* ---- SIM CARD VISUAL ---- */
.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.sim-card-wrap {
  position: relative;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(-3deg); }
  50%       { transform: translateY(-20px) rotate(-1deg); }
}

.sim-card {
  width: 280px;
  height: 420px;
  background: linear-gradient(135deg, #0d1f2d 0%, #0a1520 40%, #071018 100%);
  border: 1px solid var(--border-2);
  border-radius: 18px;
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(0,229,255,0.08),
    0 40px 80px rgba(0,0,0,0.6),
    inset 0 1px 0 rgba(255,255,255,0.06);
}

.sim-card::before {
  content: '';
  position: absolute;
  top: -1px; left: -1px; right: -1px;
  height: 40%;
  background: linear-gradient(to bottom, rgba(0,229,255,0.06), transparent);
  pointer-events: none;
}

.sim-card::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(0,229,255,0.04) 0%, transparent 70%);
  pointer-events: none;
}

.sim-chip {
  width: 52px;
  height: 40px;
  background: linear-gradient(135deg, #c8a900, #ffd60a 40%, #b89500);
  border-radius: 6px;
  margin-bottom: auto;
  position: relative;
  box-shadow: 0 2px 8px rgba(255,214,10,0.3);
}
.sim-chip::before {
  content: '';
  position: absolute;
  inset: 4px;
  border: 1px solid rgba(0,0,0,0.3);
  border-radius: 3px;
}

.sim-brand {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  color: var(--white);
  margin-bottom: 1.5rem;
}

.sim-lines {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}
.sim-line {
  height: 2px;
  background: linear-gradient(to right, rgba(0,229,255,0.4), transparent);
  width: 100%;
}
.sim-line--short { width: 60%; opacity: 0.4; }

.sim-number {
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.sim-glow {
  position: absolute;
  bottom: -60px;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(0,229,255,0.15) 0%, transparent 70%);
  pointer-events: none;
}

/* ==============================
   BUTTONS
   ============================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}

.btn-primary {
  background: var(--accent);
  color: var(--bg);
  box-shadow: 0 0 20px rgba(0,229,255,0.25);
}
.btn-primary:hover {
  background: #33eeff;
  box-shadow: 0 0 30px rgba(0,229,255,0.4);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--text-dim);
  border: 1px solid var(--border);
}
.btn-ghost:hover { border-color: var(--text-dim); color: var(--white); }

.btn-full { width: 100%; justify-content: center; }

/* ==============================
   SECTIONS (shared)
   ============================== */
.section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 7rem 2.5rem;
}

.section-label {
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 3rem;
  letter-spacing: -0.02em;
}
.section-title em {
  font-style: normal;
  color: var(--accent);
}

/* ==============================
   WHY GRID
   ============================== */
.why { background: var(--bg-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); max-width: 100%; }
.why > * { max-width: 1200px; margin-left: auto; margin-right: auto; }
.why .section-label, .why .section-title { max-width: 1200px; margin-left: auto; margin-right: auto; padding: 0 2.5rem; }
.why .section-title { padding-top: 0; }

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5px;
  background: var(--border);
  border: 1px solid var(--border);
  max-width: 1200px;
  margin: 0 auto;
}

.why-card {
  background: var(--bg-2);
  padding: 2.5rem;
  transition: background 0.2s;
}
.why-card:hover { background: var(--bg-3); }

.why-icon {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  filter: grayscale(0.2);
}

.why-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.75rem;
  letter-spacing: 0.02em;
}

.why-card p {
  font-size: 0.85rem;
  color: var(--text-dim);
  line-height: 1.8;
}

/* ==============================
   FEATURES TABLE
   ============================== */
.features-table {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.feat-row {
  display: grid;
  grid-template-columns: 220px 1fr;
  border-bottom: 1px solid var(--border);
  transition: background 0.15s;
}
.feat-row:last-child { border-bottom: none; }
.feat-row:hover { background: rgba(0,229,255,0.02); }

.feat-label {
  padding: 1.1rem 1.75rem;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  border-right: 1px solid var(--border);
  display: flex;
  align-items: center;
}

.feat-value {
  padding: 1.1rem 1.75rem;
  font-size: 0.88rem;
  color: var(--text);
  display: flex;
  align-items: center;
}

.accent-text { color: var(--accent); font-weight: 500; }
.muted-text  { color: var(--text-muted); }

/* ==============================
   AGENTS
   ============================== */
.agents {
  background: var(--bg);
  max-width: 100%;
  padding: 0;
}

.agents-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 7rem 2.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.agents-text .section-title { margin-bottom: 1.5rem; }
.agents-text p {
  color: var(--text-dim);
  font-size: 0.88rem;
  line-height: 1.9;
  margin-bottom: 1rem;
}

.agents-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 1.5rem;
}
.agents-list li {
  font-size: 0.82rem;
  color: var(--text-dim);
  letter-spacing: 0.03em;
}

/* ---- TERMINAL ---- */
.terminal {
  background: #050810;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0,0,0,0.5), 0 0 0 1px rgba(0,229,255,0.06);
  font-size: 0.8rem;
}

.terminal-bar {
  background: var(--bg-3);
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-bottom: 1px solid var(--border);
}

.t-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
}
.t-dot.red    { background: #ff5f56; }
.t-dot.yellow { background: #ffbd2e; }
.t-dot.green  { background: #27c93f; }

.t-title {
  margin-left: 0.5rem;
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
}

.terminal-body {
  padding: 1.5rem;
  line-height: 1.9;
}

.t-line { display: flex; gap: 0.25rem; }
.t-indent { padding-left: 1.5rem; }
.t-comment { color: #3d5570; }
.t-kw      { color: #7c9cbf; }
.t-var     { color: var(--text); }
.t-fn      { color: var(--accent-2); }
.t-cls     { color: var(--accent-3); }
.t-key     { color: #8faacc; }
.t-str     { color: #ffd60a; }
.t-val     { color: var(--accent); }

.cursor-blink {
  display: inline-block;
  animation: blink 1s step-end infinite;
  color: var(--accent);
}
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

/* ==============================
   ORDER SECTION
   ============================== */
.order {
  background: var(--bg-2);
  max-width: 100%;
  border-top: 1px solid var(--border);
}
.order > * { max-width: 1200px; margin-left: auto; margin-right: auto; }
.order .section-label,
.order .section-title,
.order-sub { padding: 0 2.5rem; max-width: 1200px; margin: 0 auto; }

.order-sub {
  color: var(--text-dim);
  font-size: 0.88rem;
  margin-bottom: 3rem;
  display: block;
}

.order-wrap {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2.5rem;
  align-items: start;
}

/* ---- FORM ---- */
.order-form {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.form-group label {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.form-hint {
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 0.03em;
}

.select-wrap {
  position: relative;
}

select, input[type="email"] {
  width: 100%;
  background: var(--bg-2);
  border: 1px solid var(--border);
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 0.88rem;
  padding: 0.85rem 1.1rem;
  border-radius: var(--radius);
  outline: none;
  appearance: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

select:focus, input[type="email"]:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(0,229,255,0.1);
}

select option {
  background: var(--bg-2);
  color: var(--text);
}

.select-arrow {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
  font-size: 0.8rem;
}

/* Radio Cards */
.radio-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.radio-card {
  display: flex;
  align-items: center;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  user-select: none;
}

.radio-card:has(input:checked) {
  border-color: var(--accent);
  background: rgba(0,229,255,0.04);
}

.radio-card input[type="radio"] {
  display: none;
}

.radio-content {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
}

.radio-icon {
  font-size: 1.3rem;
  color: var(--accent);
  min-width: 24px;
  text-align: center;
}

.radio-title {
  font-size: 0.88rem;
  color: var(--white);
  font-weight: 500;
  margin-bottom: 0.1rem;
}

.radio-desc {
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* Notice */
.form-notice {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  background: rgba(255,68,85,0.06);
  border: 1px solid rgba(255,68,85,0.2);
  border-radius: var(--radius);
  padding: 0.85rem 1.1rem;
  font-size: 0.78rem;
  color: var(--text-dim);
  line-height: 1.6;
}

.notice-icon {
  color: var(--red);
  font-size: 0.9rem;
  margin-top: 0.1rem;
  flex-shrink: 0;
}

/* Form validation */
input.invalid, select.invalid {
  border-color: var(--red);
  box-shadow: 0 0 0 2px rgba(255,68,85,0.15);
}

/* ---- ORDER SIDEBAR ---- */
.order-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: sticky;
  top: 6rem;
}

.order-summary {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
}

.summary-title {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.summary-item {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-dim);
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--border);
}
.summary-item:last-child { border-bottom: none; }

.summary-item--price {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-top: 0.5rem;
}

#summary-total { color: var(--accent); }

.order-perks {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.perk {
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

/* ==============================
   MODAL
   ============================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.8);
  backdrop-filter: blur(8px);
  z-index: 9998;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.modal {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 3rem;
  max-width: 440px;
  width: 100%;
  text-align: center;
}

.modal-icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: rgba(0,255,157,0.1);
  border: 2px solid var(--accent-3);
  color: var(--accent-3);
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.modal h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.modal p {
  color: var(--text-dim);
  font-size: 0.88rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}

/* ==============================
   FOOTER
   ============================== */
.footer {
  border-top: 1px solid var(--border);
  padding: 4rem 2.5rem;
  text-align: center;
}

.footer-logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: 0.08em;
  color: var(--white);
  margin-bottom: 0.75rem;
}
.footer-logo .accent { color: var(--accent); }

.footer-tagline {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  letter-spacing: 0.06em;
}

.footer-fine {
  font-size: 0.72rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 1.5rem;
  line-height: 1.8;
  opacity: 0.6;
}

.footer-copy {
  font-size: 0.7rem;
  color: var(--text-muted);
  opacity: 0.4;
  letter-spacing: 0.08em;
}

/* ==============================
   ANIMATIONS ON SCROLL
   ============================== */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: none;
}

/* ==============================
   RESPONSIVE
   ============================== */
@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr; text-align: center; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-badges { justify-content: center; }
  .hero-visual { display: none; }

  .why-grid { grid-template-columns: repeat(2, 1fr); }

  .agents-inner { grid-template-columns: 1fr; gap: 3rem; }
  .order-wrap { grid-template-columns: 1fr; }
  .order-sidebar { position: static; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 64px; left: 0; right: 0;
    background: var(--bg);
    padding: 2rem;
    border-bottom: 1px solid var(--border);
    gap: 1.5rem;
    z-index: 999;
  }
  .hamburger { display: flex; }

  .why-grid { grid-template-columns: 1fr; }
  .feat-row { grid-template-columns: 1fr; }
  .feat-label { border-right: none; border-bottom: 1px solid var(--border); }

  .section { padding: 4rem 1.5rem; }
  .order-wrap { padding: 0 1.5rem; }
}
