/* ==========================================================================
   OTODUS QUANTUM - MINIMALIST HIGH-TECH DESIGN SYSTEM
   Aesthetic: Clean Quantum AI, 3D Perspective Wireframe Grid, Frosted Glass
   ========================================================================== */

:root {
  --bg-deep: #030712;
  --bg-glass: rgba(10, 16, 36, 0.65);
  --bg-glass-hover: rgba(15, 23, 50, 0.85);
  
  --border-glass: rgba(255, 255, 255, 0.08);
  --border-cyan-glow: rgba(0, 240, 255, 0.4);
  --border-violet-glow: rgba(139, 92, 246, 0.4);

  --cyan: #00f0ff;
  --cyan-dim: rgba(0, 240, 255, 0.15);
  --violet: #8b5cf6;
  --violet-dim: rgba(139, 92, 246, 0.15);
  --emerald: #10b981;
  --rose: #f43f5e;

  --text-main: #ffffff;
  --text-muted: #e2e8f0;
  --text-sub: #cbd5e1;

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Space Grotesk', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-pill: 9999px;

  --transition: 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body.quantum-body {
  background-color: var(--bg-deep);
  color: var(--text-main);
  font-family: var(--font-sans);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

/* FULLSCREEN 3D PERSPECTIVE GRID CANVAS */
#quantum-bg-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
}

.quantum-vignette {
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at center, transparent 30%, rgba(3, 7, 18, 0.82) 85%, #030712 100%);
  pointer-events: none;
  z-index: 1;
}

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

/* NAVBAR */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 18px 0;
  transition: background var(--transition), backdrop-filter var(--transition), border-color var(--transition);
  border-bottom: 1px solid transparent;
}

.site-header.scrolled {
  background: rgba(3, 7, 18, 0.85);
  backdrop-filter: blur(16px);
  border-bottom-color: var(--border-glass);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-main);
}

.logo-icon {
  width: 32px;
  height: 32px;
}

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

.brand-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.08em;
  color: #fff;
}

.brand-sub {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  color: var(--cyan);
  margin-top: 2px;
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--transition);
}

.nav-link:hover {
  color: var(--cyan);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.status-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: var(--radius-pill);
}

.pulse-dot {
  width: 7px;
  height: 7px;
  background: var(--emerald);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--emerald);
  animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.status-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--emerald);
  letter-spacing: 0.05em;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all var(--transition);
  border: 1px solid transparent;
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 14px 28px;
  font-size: 0.98rem;
}

.btn-primary {
  background: linear-gradient(135deg, #00f0ff 0%, #0099ff 100%);
  color: #030712;
  box-shadow: 0 4px 20px rgba(0, 240, 255, 0.35);
}

.btn-primary:hover {
  box-shadow: 0 6px 30px rgba(0, 240, 255, 0.55);
  transform: translateY(-2px);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-main);
  border-color: var(--border-glass);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.btn-arrow {
  width: 16px;
  height: 16px;
  transition: transform var(--transition);
}

.btn-primary:hover .btn-arrow {
  transform: translateX(4px);
}

/* HERO SECTION */
.hero-section {
  padding: 180px 0 100px 0;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-container {
  max-width: 880px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.text-center {
  text-align: center;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(0, 240, 255, 0.06);
  border: 1px solid var(--border-cyan-glow);
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--cyan);
  margin-bottom: 28px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.sparkle {
  color: var(--cyan);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 3.8rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.text-gradient {
  background: linear-gradient(135deg, #00f0ff 0%, #8b5cf6 50%, #f43f5e 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.18rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 720px;
}

.hero-cta-wrap {
  display: flex;
  gap: 16px;
  margin-bottom: 0;
}

.metric-ribbon {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 16px 28px;
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  backdrop-filter: blur(12px);
  margin-bottom: 24px;
}

.metric-item {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.metric-num {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
}

.metric-desc {
  font-size: 0.75rem;
  color: var(--text-sub);
  margin-top: 4px;
}

.metric-sep {
  width: 1px;
  height: 32px;
  background: var(--border-glass);
}

.interactive-hint {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-sub);
  margin-top: 8px;
}

.hint-dot {
  width: 6px;
  height: 6px;
  background: var(--cyan);
  border-radius: 50%;
  animation: pulse-ring 1.5s infinite;
}

/* SECTIONS */
.section {
  padding: 90px 0;
  position: relative;
  z-index: 2;
}

.section-head {
  max-width: 740px;
  margin: 0 auto 52px auto;
}

.section-tag {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--cyan);
  letter-spacing: 0.15em;
  margin-bottom: 10px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.3rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* GLASS CARDS */
.glass-card {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 32px;
  backdrop-filter: blur(14px);
  transition: transform var(--transition), border-color var(--transition), background-color var(--transition);
}

.glass-card:hover {
  transform: translateY(-4px);
  background: var(--bg-glass-hover);
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45);
}

/* FEATURES / WHAT WE DO */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  display: flex;
  flex-direction: column;
}

.card-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--cyan-dim);
  border: 1px solid var(--border-cyan-glow);
  color: var(--cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.card-icon-wrap svg {
  width: 22px;
  height: 22px;
}

.card-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.card-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* SOLVERS */
.solvers-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.solver-card {
  display: flex;
  flex-direction: column;
  padding: 36px;
}

.solver-pill {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 8px;
  margin-bottom: 18px;
  width: fit-content;
}

.solver-pill.cyan {
  background: var(--cyan-dim);
  color: var(--cyan);
  border: 1px solid var(--border-cyan-glow);
}

.solver-pill.violet {
  background: var(--violet-dim);
  color: var(--violet);
  border: 1px solid var(--border-violet-glow);
}

.solver-heading {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.solver-text {
  font-size: 0.98rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  line-height: 1.6;
}

.solver-bullet-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.solver-bullet-list li {
  font-size: 0.88rem;
  color: var(--text-muted);
  position: relative;
  padding-left: 20px;
  line-height: 1.5;
}

.solver-bullet-list li::before {
  content: '◆';
  position: absolute;
  left: 0;
  font-size: 0.65rem;
  color: var(--cyan);
  top: 4px;
}

.solver-bullet-list li strong {
  color: var(--text-main);
}

/* MARKETS */
.markets-pills-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 40px;
}

.market-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-pill);
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-main);
  backdrop-filter: blur(8px);
  transition: all var(--transition);
}

.market-badge:hover {
  border-color: var(--border-cyan-glow);
  background: rgba(0, 240, 255, 0.08);
  transform: translateY(-2px);
}

.business-summary {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 32px;
  padding: 28px 36px;
  border-color: var(--border-cyan-glow);
}

.business-col {
  display: flex;
  flex-direction: column;
}

.biz-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--cyan);
}

.biz-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.biz-divider {
  width: 1px;
  height: 48px;
  background: var(--border-glass);
}

/* CONTACT SECTION & FORM */
.contact-section {
  padding-bottom: 110px;
}

.contact-card {
  padding: 44px;
  border-color: var(--border-cyan-glow);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 48px;
}

.contact-title {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 14px;
}

.contact-p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 28px;
}

.contact-perks {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 32px;
}

.perk-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.perk-icon {
  color: var(--cyan);
  font-size: 0.9rem;
}

.nda-note {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-sub);
  border-top: 1px solid var(--border-glass);
  padding-top: 18px;
}

.shield-icon {
  width: 16px;
  height: 16px;
  color: var(--emerald);
  flex-shrink: 0;
}

/* CLEAN FORM */
.clean-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-main);
}

.req {
  color: var(--rose);
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  background: rgba(3, 7, 18, 0.7);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  color: var(--text-main);
  font-family: var(--font-sans);
  font-size: 0.92rem;
  transition: all var(--transition);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(0, 240, 255, 0.15);
  background: rgba(3, 7, 18, 0.95);
}

.form-select option {
  background: #030712;
  color: #fff;
}

.err-msg {
  display: none;
  font-size: 0.75rem;
  color: var(--rose);
}

.has-error .form-input,
.has-error .form-select,
.has-error .form-textarea {
  border-color: var(--rose);
}

.has-error .err-msg {
  display: block;
}

.btn-submit {
  width: 100%;
  padding: 13px;
  font-size: 0.98rem;
  position: relative;
}

.spinner {
  display: none;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(0, 0, 0, 0.2);
  border-top-color: #000;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.btn-submit.loading .btn-text {
  visibility: hidden;
}

.btn-submit.loading .spinner {
  display: inline-block;
  position: absolute;
}

.form-status-msg {
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  line-height: 1.5;
  margin-top: 6px;
}

.status-success {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #34d399;
}

/* FOOTER */
.site-footer {
  border-top: 1px solid var(--border-glass);
  background: rgba(3, 7, 18, 0.92);
  padding: 44px 0;
  position: relative;
  z-index: 2;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-left {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-desc {
  font-size: 0.85rem;
  color: var(--text-sub);
}

.footer-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}

.domain-badge {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--cyan);
}

.copyright {
  font-size: 0.78rem;
  color: var(--text-sub);
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .hero-title {
    font-size: 2.6rem;
  }

  .metric-ribbon {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .metric-sep {
    display: none;
  }

  .features-grid,
  .solvers-grid {
    grid-template-columns: 1fr;
  }

  .business-summary {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .biz-divider {
    display: none;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .footer-right {
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .nav-links {
    display: none;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-card {
    padding: 24px;
  }
}
