:root {
  --bg: #05060a;
  --bg-alt: #0a0c12;
  --panel: #101321;
  --panel-alt: #141728;
  --accent: #4de1b0;
  --accent-soft: rgba(77, 225, 176, 0.16);
  --text: #f5f7ff;
  --text-soft: #a5abc7;
  --danger: #ff4b6e;
  --border-subtle: rgba(255, 255, 255, 0.08);
  --shadow-soft: 0 18px 60px rgba(0, 0, 0, 0.65);
  --radius-lg: 18px;
  --radius-pill: 999px;
  --transition-fast: 160ms ease-out;
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
    "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
}

body {
  font-family: var(--font-sans);
  background: radial-gradient(circle at top, #15182a 0, #05060a 55%, #020308 100%);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

/* PAGE SHELL */

.page-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* HERO */

.hero {
  position: relative;
  padding: 3.5rem 1.5rem 3rem;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top left, rgba(77, 225, 176, 0.16), transparent 55%),
    radial-gradient(circle at bottom right, rgba(255, 75, 110, 0.16), transparent 60%);
  opacity: 0.9;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  max-width: 1120px;
  margin: 0 auto;
  padding: 1.75rem 1.75rem 2rem;
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(5, 6, 15, 0.95), rgba(11, 13, 25, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: var(--shadow-soft);
}

.hero-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* REAL LOGO */

.hero-logo-img {
  height: 140px; /* tweak if you want it bigger/smaller */
  width: auto;
  display: block;
}

.hero-brand-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.hero-title {
  margin: 0;
  font-size: clamp(1.9rem, 3.1vw, 2.4rem);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.hero-subtitle {
  margin: 0;
  font-size: 0.98rem;
  color: var(--text-soft);
}

.hero-tagline {
  margin: 1.4rem 0 1.5rem;
  max-width: 560px;
  font-size: 1.02rem;
  color: var(--text-soft);
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 1.4rem;
}

/* BUTTONS */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.4rem;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  font-size: 0.96rem;
  font-weight: 550;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast),
    border-color var(--transition-fast), background-color var(--transition-fast),
    color var(--transition-fast);
}

.btn-primary {
  background: linear-gradient(135deg, #4de1b0, #2bb58b);
  color: #020308;
  box-shadow: 0 0 24px rgba(77, 225, 176, 0.6);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 30px rgba(77, 225, 176, 0.8);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-soft);
  border-color: rgba(255, 255, 255, 0.18);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.hero-meta-pill {
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0.3rem 0.75rem;
  font-size: 0.76rem;
  color: var(--text-soft);
  background: rgba(5, 7, 16, 0.9);
}

/* CONTENT */

.content {
  flex: 1;
}

.section {
  padding: 2.75rem 1.5rem;
}

.section-alt {
  background: radial-gradient(circle at top, #10121f 0, #05060a 70%);
}

.section-inner {
  max-width: 1120px;
  margin: 0 auto;
}

.section-title {
  margin: 0 0 0.4rem;
  font-size: 1.6rem;
}

.section-lead {
  margin: 0 0 1.8rem;
  max-width: 640px;
  color: var(--text-soft);
}

/* CARDS */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.1rem;
}

.card {
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, rgba(15, 18, 34, 0.98), rgba(10, 11, 20, 0.98));
  border: 1px solid var(--border-subtle);
  padding: 1.1rem 1.2rem;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.55);
}

.card-title {
  margin: 0 0 0.35rem;
  font-size: 1rem;
}

.card-body {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-soft);
}

/* TOOLKIT SECTION */

.toolkit-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 1.5rem;
  align-items: stretch;
}

.toolkit-list {
  display: grid;
  gap: 1rem;
}

.toolkit-item {
  border-radius: var(--radius-lg);
  background: rgba(10, 13, 24, 0.9);
  border: 1px solid var(--border-subtle);
  padding: 0.9rem 1rem;
}

.toolkit-title {
  margin: 0 0 0.3rem;
  font-size: 1rem;
}

.toolkit-body {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.9rem;
}

.toolkit-panel {
  min-height: 100%;
}

/* TERMINAL MOCK */

.terminal-mock {
  border-radius: 18px;
  border: 1px solid rgba(77, 225, 176, 0.35);
  background: radial-gradient(circle at top left, rgba(77, 225, 176, 0.18), #05060a);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.75);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.terminal-header {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.7rem;
  background: rgba(4, 6, 11, 0.95);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.terminal-header .dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
}

.terminal-header .dot:nth-child(1) {
  background: #ff4b6e;
}

.terminal-header .dot:nth-child(2) {
  background: #ffc94b;
}

.terminal-header .dot:nth-child(3) {
  background: #4de1b0;
}

.terminal-title {
  font-size: 0.8rem;
  color: var(--text-soft);
  margin-left: auto;
}

.terminal-body {
  padding: 0.8rem 0.9rem 1rem;
  font-family: "JetBrains Mono", ui-monospace, Menlo, Monaco, Consolas,
    "Liberation Mono", "Courier New", monospace;
  font-size: 0.8rem;
  line-height: 1.5;
  color: #d0f9eb;
  min-height: 180px;
}

.terminal-body p {
  margin: 0 0 0.15rem;
}

.terminal-accent {
  color: var(--accent);
}

/* WHY SECTION */

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.9rem;
}

.pill {
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 0.35rem 0.8rem;
  font-size: 0.8rem;
  color: var(--text-soft);
  background: rgba(5, 8, 15, 0.96);
}

/* CONTACT */

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 1.4rem;
}

.contact-form {
  border-radius: var(--radius-lg);
  background: rgba(8, 10, 18, 0.98);
  border: 1px solid var(--border-subtle);
  padding: 1.1rem 1.2rem 1.2rem;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.75);
}

.field {
  margin-bottom: 0.85rem;
}

.field label {
  display: block;
  font-size: 0.8rem;
  margin-bottom: 0.25rem;
  color: var(--text-soft);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.6rem 0.7rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(5, 6, 12, 0.96);
  color: var(--text);
  font-size: 0.88rem;
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast),
    background-color var(--transition-fast);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(77, 225, 176, 0.6);
  background: #050712;
}

.field textarea {
  resize: vertical;
  min-height: 120px;
}

.form-note {
  margin-top: 0.6rem;
  font-size: 0.75rem;
  color: var(--text-soft);
}

.contact-side {
  padding-top: 0.4rem;
  font-size: 0.9rem;
  color: var(--text-soft);
}

.contact-side h3 {
  margin-top: 0;
}

.contact-line {
  margin: 0 0 0.4rem;
}

.contact-line a {
  color: var(--accent);
  text-decoration: none;
}

.contact-line a:hover {
  text-decoration: underline;
}

/* FOOTER */

.footer {
  padding: 1.6rem 1.5rem 2rem;
  background: #05060c;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  font-size: 0.8rem;
  color: var(--text-soft);
}

.footer-sub {
  margin-top: 0.25rem;
  max-width: 540px;
}

/* RESPONSIVE */

@media (max-width: 880px) {
  .toolkit-layout,
  .contact-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  .hero-inner {
    padding: 1.3rem 1.1rem 1.4rem;
  }

  .hero-cta-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .section {
    padding-inline: 1.1rem;
  }

  .footer {
    padding-inline: 1.1rem;
  }
}
