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

:root {
  --bg: #050b14;
  --panel: #0b1626;
  --panel2: #101e31;
  --border: #20334d;
  --text: #eef6ff;
  --muted: #91a4ba;
  --accent: #00d9ff;
  --accent2: #5b7cff;
  --success: #35e38f;
  --danger: #ff6b6b;
}

body {
  min-height: 100vh;
  background:
    radial-gradient(circle at 80% 10%, #12345c 0, transparent 35%),
    radial-gradient(circle at 10% 50%, #092b3b 0, transparent 30%),
    var(--bg);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.topbar {
  min-height: 76px;
  padding: 14px 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--border);
  background: rgba(5, 11, 20, 0.88);
  backdrop-filter: blur(15px);
  position: sticky;
  top: 0;
  z-index: 20;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 44px;
  height: 44px;
  border: 1px solid var(--accent);
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: var(--accent);
  font-weight: 800;
}

.brand h1 {
  font-size: 15px;
  letter-spacing: 1px;
}

.brand span {
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 1px;
}

.system-status {
  font-size: 12px;
  color: var(--success);
  display: flex;
  gap: 8px;
  align-items: center;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 12px var(--success);
}

.app-container {
  width: min(1200px, 92%);
  margin: auto;
  padding: 35px 0 70px;
}

.hero {
  min-height: 440px;
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  align-items: center;
  gap: 30px;
}

.eyebrow,
.section-label {
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.8px;
}

.hero h2 {
  margin-top: 14px;
  font-size: clamp(38px, 6vw, 76px);
  line-height: 0.98;
}

.hero p {
  max-width: 650px;
  margin: 20px 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.primary-btn,
.secondary-btn {
  border-radius: 12px;
  padding: 14px 20px;
  border: 1px solid var(--accent);
  font-weight: 800;
  transition: 0.2s;
}

.primary-btn {
  background: var(--accent);
  color: #001018;
}

.secondary-btn {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}

.primary-btn:hover,
.secondary-btn:hover,
.module-card:hover {
  transform: translateY(-2px);
}

.wide {
  width: 100%;
}

.jarvis-core {
  display: grid;
  place-items: center;
}

.core-ring {
  width: 240px;
  height: 240px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  box-shadow:
    0 0 35px rgba(0, 217, 255, 0.2),
    inset 0 0 35px rgba(0, 217, 255, 0.1);
  display: grid;
  place-items: center;
}

.core-center {
  width: 125px;
  height: 125px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  align-content: center;
  border: 1px solid var(--accent2);
  background: #091425;
  box-shadow: 0 0 35px rgba(91, 124, 255, 0.3);
}

.core-center span {
  font-weight: 900;
  letter-spacing: 2px;
}

.core-center small {
  color: var(--accent);
  margin-top: 5px;
}

.section {
  margin-top: 30px;
}

.section-heading {
  margin-bottom: 18px;
}

.section-heading h3,
.workspace-header h3 {
  font-size: 25px;
  margin-top: 5px;
}

.module-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.module-card {
  text-align: left;
  min-height: 180px;
  padding: 20px;
  background: rgba(11, 22, 38, 0.9);
  border: 1px solid var(--border);
  border-radius: 18px;
  color: var(--text);
  transition: 0.2s;
}

.module-icon {
  display: block;
  font-size: 30px;
  margin-bottom: 18px;
}

.module-card strong {
  display: block;
  font-size: 16px;
}

.module-card p {
  margin-top: 9px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.workspace {
  margin-top: 30px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: rgba(8, 18, 31, 0.95);
}

.hidden {
  display: none !important;
}

.workspace-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 25px;
}

.close-btn {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--muted);
  width: 38px;
  height: 38px;
  border-radius: 10px;
}

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

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

.form-group.full {
  grid-column: 1 / -1;
}

label {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid var(--border);
  background: #07111f;
  color: var(--text);
  padding: 13px;
  border-radius: 10px;
  outline: none;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--accent);
}

.safety-note {
  margin: 20px 0;
  padding: 14px;
  border: 1px solid #664f23;
  border-radius: 12px;
  background: #211a0c;
  color: #e8d39a;
  font-size: 13px;
  line-height: 1.5;
}

.result-panel {
  margin-top: 20px;
  padding: 20px;
  border: 1px solid var(--accent);
  border-radius: 14px;
  background: #081625;
  line-height: 1.6;
}

.result-panel h4 {
  color: var(--accent);
  margin-bottom: 10px;
}

.workflow {
  display: grid;
  gap: 10px;
}

.workflow-step {
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--panel);
  color: var(--muted);
}

.workflow-step span {
  color: var(--accent);
  font-weight: 900;
  margin-right: 12px;
}

.workflow-step.active {
  border-color: var(--accent);
  color: var(--text);
}

.module-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.module-list div {
  padding: 17px;
  border: 1px solid var(--border);
  background: var(--panel);
  border-radius: 12px;
}

.job-dashboard {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 18px;
}

.stat-card {
  padding: 22px;
  border: 1px solid var(--border);
  background: var(--panel);
  border-radius: 14px;
}

.stat-card span {
  display: block;
  color: var(--muted);
  font-size: 11px;
}

.stat-card strong {
  display: block;
  margin-top: 8px;
  font-size: 32px;
}

.owner-panel {
  text-align: center;
  padding: 40px 20px;
}

.owner-icon {
  font-size: 50px;
  margin-bottom: 15px;
}

.owner-panel h4 {
  font-size: 22px;
}

.owner-panel p {
  max-width: 600px;
  margin: 12px auto;
  color: var(--muted);
  line-height: 1.6;
}

footer {
  border-top: 1px solid var(--border);
  padding: 20px 5%;
  display: flex;
  justify-content: space-between;
  gap: 15px;
  color: var(--muted);
  font-size: 11px;
}

@media (max-width: 900px) {

  .hero {
    grid-template-columns: 1fr;
    padding-top: 30px;
  }

  .jarvis-core {
    display: none;
  }

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

}

@media (max-width: 600px) {

  .topbar {
    align-items: flex-start;
  }

  .system-status {
    font-size: 9px;
  }

  .hero h2 {
    font-size: 42px;
  }

  .form-grid,
  .module-list,
  .job-dashboard,
  .module-grid {
    grid-template-columns: 1fr;
  }

  .form-group.full {
    grid-column: auto;
  }

  .workspace {
    padding: 17px;
  }

  footer {
    flex-direction: column;
  }

    }
