/*
 * Developer Info Header
 * Developed by Maria Skampoura
 * DEVELOPABLE LTD
 * maria@developable.tech
 * https://developable.tech/
 * Version: 1.0
 * Updated: 03/02/2026 (MM/DD/YYYY)
 */

:root {
  --primary: #1468ff;
  --primary-hover: #0f58dc;
  --accent: #00c39a;
  --bg: #f6f7fb;
  --card-bg: rgba(255, 255, 255, 0.9);
  --card-border: rgba(14, 42, 88, 0.12);
  --text-primary: #0f1f34;
  --text-secondary: #50607a;
  --input-bg: #ffffff;
  --input-border: rgba(12, 37, 76, 0.18);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  background: radial-gradient(circle at 8% 15%, #d7e8ff 0%, transparent 45%),
    radial-gradient(circle at 92% 0%, #dfe2ff 0%, transparent 35%),
    linear-gradient(145deg, #f3f6ff 0%, #f5f9ff 42%, #f7fcff 100%);
  color: var(--text-primary);
  font-family: 'Plus Jakarta Sans', sans-serif;
  overflow-x: hidden;
}

#theme-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #0b1320;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  color: #d2d9e8;
  font-family: 'Space Grotesk', sans-serif;
  letter-spacing: 0.03em;
}

.loader-ring {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.18);
  border-top-color: #25d7b2;
  animation: spin 0.95s linear infinite;
}

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

.page-shell {
  position: relative;
  max-width: 1240px;
  margin: 0 auto;
  padding: 1.8rem 1.25rem 2rem;
}

.bg-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(2px);
  pointer-events: none;
  z-index: -2;
}

.bg-orb-a {
  width: 380px;
  height: 380px;
  top: -120px;
  left: -110px;
  background: radial-gradient(circle, rgba(20, 104, 255, 0.26) 0%, rgba(20, 104, 255, 0) 68%);
}

.bg-orb-b {
  width: 360px;
  height: 360px;
  right: -100px;
  bottom: -140px;
  background: radial-gradient(circle, rgba(88, 100, 255, 0.2) 0%, rgba(88, 100, 255, 0) 72%);
}

.bg-grid {
  position: fixed;
  inset: 0;
  background-image: linear-gradient(rgba(23, 51, 103, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 51, 103, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  z-index: -3;
}

.top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.4rem;
  animation: riseIn 0.55s ease both;
}

.developable-lockup {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border: 1px solid rgba(15, 43, 84, 0.15);
  border-radius: 14px;
  padding: 0.6rem 0.7rem;
  box-shadow: 0 10px 22px rgba(9, 26, 53, 0.08);
  text-decoration: none;
}

.developable-logo {
  width: clamp(124px, 17vw, 164px);
  height: auto;
  display: block;
}

.saasops-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(15, 43, 84, 0.15);
  border-radius: 14px;
  padding: 0.56rem 0.7rem;
  box-shadow: 0 10px 22px rgba(9, 26, 53, 0.08);
}

.chip-logo {
  width: clamp(94px, 13vw, 122px);
  height: auto;
}

.workspace {
  animation: riseIn 0.6s ease 0.08s both;
}

.hero-block {
  margin-bottom: 1.25rem;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #21406f;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(18, 63, 133, 0.17);
  border-radius: 999px;
  padding: 0.35rem 0.78rem;
}

.hero-eyebrow i {
  color: #ff8a3d;
}

.hero-block h1 {
  margin: 0.7rem 0 0.45rem;
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.9rem, 4vw, 3.05rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  max-width: 860px;
  color: #0e2342;
}

.hero-block p {
  margin: 0;
  max-width: 860px;
  color: var(--text-secondary);
  font-size: clamp(0.98rem, 1.8vw, 1.08rem);
  line-height: 1.55;
}

.layout-grid {
  display: grid;
  grid-template-columns: minmax(250px, 290px) minmax(0, 1fr);
  gap: 1.1rem;
  align-items: start;
}

.insight-panel {
  background: linear-gradient(160deg, rgba(16, 42, 83, 0.96), rgba(18, 65, 132, 0.95));
  border: 1px solid rgba(77, 124, 211, 0.45);
  border-radius: 18px;
  color: #e8f2ff;
  padding: 1.2rem 1.1rem 1rem;
  box-shadow: 0 16px 34px rgba(9, 21, 41, 0.25);
}

.insight-panel h2 {
  margin: 0 0 0.7rem;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.02rem;
  letter-spacing: 0.01em;
}

.insight-panel ul {
  margin: 0;
  padding-left: 1.15rem;
  display: grid;
  gap: 0.58rem;
  font-size: 0.86rem;
  line-height: 1.43;
}

.quick-note {
  margin-top: 1.05rem;
  border: 1px dashed rgba(186, 226, 255, 0.45);
  background: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 0.65rem 0.72rem;
  display: grid;
  gap: 0.08rem;
}

.note-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.67rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(220, 245, 255, 0.78);
}

.quick-note strong {
  font-size: 0.96rem;
  font-weight: 700;
}

.quick-note small {
  font-size: 0.77rem;
  color: rgba(226, 242, 255, 0.84);
}

.form-panel {
  background: var(--card-bg);
  backdrop-filter: blur(6px);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  box-shadow: 0 18px 36px rgba(16, 34, 63, 0.14);
  padding: 1.15rem 1.15rem 1rem;
}

.section-row {
  margin-bottom: 0.95rem;
}

.field-label {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  margin-bottom: 0.42rem;
  font-size: 0.82rem;
  color: #30496f;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-weight: 700;
}

.req {
  color: #dc3558;
}

.form-control,
.form-select {
  width: 100%;
  border: 1px solid var(--input-border);
  background: var(--input-bg);
  border-radius: 12px;
  color: #0f2548;
  min-height: 46px;
  padding: 0.67rem 0.86rem;
  font-size: 0.94rem;
  font-weight: 500;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(20, 104, 255, 0.18);
  outline: none;
}

.form-control::placeholder {
  color: rgba(86, 103, 132, 0.72);
}

.field-help {
  margin: 0.34rem 0 0;
  color: #5f6f88;
  font-size: 0.75rem;
}

.field-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.divider {
  height: 1px;
  background: linear-gradient(90deg, rgba(17, 65, 139, 0), rgba(17, 65, 139, 0.25), rgba(17, 65, 139, 0));
  margin: 0.28rem 0 0.92rem;
}

.addon-grid {
  display: grid;
  gap: 0.68rem;
}

.addon-card {
  border: 1px solid rgba(15, 52, 109, 0.18);
  border-radius: 12px;
  background: #ffffff;
  padding: 0.65rem 0.78rem;
  cursor: pointer;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.addon-card:hover {
  border-color: rgba(20, 104, 255, 0.5);
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(15, 43, 84, 0.12);
}

.addon-card.selected {
  background: linear-gradient(130deg, rgba(20, 104, 255, 0.1), rgba(0, 195, 154, 0.12));
  border-color: rgba(20, 104, 255, 0.55);
}

.addon-card .form-check {
  margin: 0;
  display: flex;
  align-items: center;
}

.addon-card .form-check-input {
  margin: 0 0.62rem 0 0;
  width: 1.08rem;
  height: 1.08rem;
  cursor: pointer;
}

.addon-card .form-check-label {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.44rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: #132f59;
  cursor: pointer;
}

.addon-card .form-check-label i {
  color: var(--primary);
}

.form-actions {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 0.38rem;
  border-top: 1px solid rgba(10, 45, 97, 0.12);
  padding-top: 1rem;
}

.btn-reset,
.btn-provision {
  border-radius: 12px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  letter-spacing: 0.01em;
  border: 0;
  min-height: 44px;
  padding: 0.68rem 1.02rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn-reset {
  background: #f1f5fc;
  border: 1px solid rgba(19, 63, 129, 0.18);
  color: #294871;
  width: 34%;
}

.btn-reset:hover {
  transform: translateY(-1px);
  background: #e9f0fb;
}

.btn-provision {
  background: #5864ff;
  color: #ffffff;
  box-shadow: 0 12px 20px rgba(88, 100, 255, 0.3);
  width: 66%;
}

.btn-provision:hover {
  background: #4a56f2;
  transform: translateY(-1px);
}

.response-slot {
  margin-top: 0.85rem;
}

.toast-container {
  position: fixed;
  top: 14px;
  right: 14px;
  z-index: 1080;
}

.modal-themed {
  background: #f8fbff;
  border: 1px solid rgba(20, 104, 255, 0.25);
  border-radius: 16px;
}

.modal-themed .spinner-border {
  color: var(--primary);
}

.modal-themed h5 {
  font-family: 'Space Grotesk', sans-serif;
  color: #123264;
}

.modal-themed p {
  color: #4f668b;
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 980px) {
  .layout-grid {
    grid-template-columns: 1fr;
  }

  .insight-panel {
    order: 2;
  }

  .form-panel {
    order: 1;
  }
}

@media (max-width: 700px) {
  .page-shell {
    padding: 1rem 0.82rem 1.5rem;
  }

  .top-bar {
    margin-bottom: 1rem;
  }

  .form-panel {
    padding: 0.92rem 0.88rem 0.9rem;
    border-radius: 16px;
  }

  .field-pair {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }

  .form-actions {
    flex-direction: column-reverse;
  }

  .btn-reset,
  .btn-provision {
    width: 100%;
  }

  .hero-block h1 {
    margin-top: 0.62rem;
  }
}
