/* ============================================================
   BLASTWORKS — site stylesheet
   Dark theme · brand orange #ffab01
   ============================================================ */

:root {
  --bg: #0a0a0a;
  --bg-raised: #111111;
  --bg-panel: #141414;
  --accent: #ffab01;
  --border: #1e1e1e;
  --text: #e8e8e8;
  --muted: #888;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Helvetica Neue", Helvetica, Arial, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--accent);
  text-decoration: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ------------------------------------------------------------
   Navigation
   ------------------------------------------------------------ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 32px;
}

.nav-logo {
  display: flex;
  align-items: center;
  min-height: 48px;
}

.nav-logo img {
  height: 44px;
  width: auto;
}

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

.nav-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  min-width: 48px;
  padding: 0 16px;
  color: var(--text);
  font-size: 15px;
  letter-spacing: 0.02em;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--accent);
}

.nav-links a.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

/* Hamburger toggle — hidden on desktop */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 48px;
  height: 48px;
  background: none;
  border: 1px solid var(--border);
  border-radius: 6px;
  cursor: pointer;
}

.nav-toggle .bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

body.nav-open .nav-toggle .bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

body.nav-open .nav-toggle .bar:nth-child(2) {
  opacity: 0;
}

body.nav-open .nav-toggle .bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ------------------------------------------------------------
   Hero
   ------------------------------------------------------------ */

.hero {
  padding: 56px 0 48px;
  background: radial-gradient(ellipse 70% 60% at 85% 20%, rgba(255, 171, 1, 0.07), transparent 60%);
}

.hero h1 {
  font-size: 52px;
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -0.01em;
  max-width: 760px;
}

.hero h1 .accent {
  color: var(--accent);
  display: block;
}

.hero .lede {
  margin-top: 24px;
  max-width: 560px;
  font-size: 18px;
  color: var(--muted);
}

.hero-split {
  display: flex;
  align-items: center;
  gap: 48px;
  justify-content: space-between;
}

.hero-split .hero-text {
  flex: 1 1 60%;
}

.hero-photo {
  flex: 0 0 240px;
}

.hero-photo img {
  width: 240px;
  height: 240px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--bg-panel);
}

/* ------------------------------------------------------------
   Sections
   ------------------------------------------------------------ */

.section {
  padding: 52px 0;
}

.section + .section {
  border-top: 1px solid var(--border);
}

.section-dark {
  background: var(--bg-raised);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-title {
  font-size: 30px;
  font-weight: 700;
  margin-bottom: 8px;
}

.section-sub {
  color: var(--muted);
  font-size: 17px;
  max-width: 640px;
  margin-bottom: 40px;
}

.kicker {
  display: block;
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

/* ------------------------------------------------------------
   Icons — consistent 32px line-style, brand orange
   ------------------------------------------------------------ */

.icon {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ------------------------------------------------------------
   Cards & grids
   ------------------------------------------------------------ */

.grid {
  display: grid;
  gap: 24px;
}

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

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

.card {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  color: var(--text);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

a.card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
}

.card .card-label {
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.card h3 {
  font-size: 21px;
  font-weight: 700;
  line-height: 1.3;
}

.card p {
  color: var(--muted);
  font-size: 15px;
  flex-grow: 1;
}

.card .card-arrow {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  color: var(--accent);
  font-size: 18px;
  font-weight: 700;
}

/* Feature rows (icon + title + one-liner) */
.feature {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px 28px;
}

.feature h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 4px;
}

.feature p {
  color: var(--muted);
  font-size: 15px;
}

/* ------------------------------------------------------------
   Tagline row (home, bottom)
   ------------------------------------------------------------ */

.tagline-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.tagline {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 24px 0;
}

.tagline .tag-label {
  display: block;
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.tagline h3 {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 4px;
}

.tagline p {
  color: var(--muted);
  font-size: 14px;
}

/* ------------------------------------------------------------
   Credentials bar
   ------------------------------------------------------------ */

.cred-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.cred {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

.cred h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 4px;
}

.cred p {
  color: var(--muted);
  font-size: 14px;
}

/* ------------------------------------------------------------
   Two-column panels
   ------------------------------------------------------------ */

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.panel {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px;
}

.panel h3 {
  font-size: 21px;
  font-weight: 700;
  margin-bottom: 18px;
}

.panel ul {
  list-style: none;
}

.panel li {
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  font-size: 15px;
}

.panel li:last-child {
  border-bottom: none;
}

.panel li .li-mark {
  color: var(--accent);
  margin-right: 10px;
  font-weight: 700;
}

.panel li .li-sub {
  display: block;
  color: var(--muted);
  font-size: 14px;
  margin-left: 24px;
}

/* ------------------------------------------------------------
   Buttons & CTA
   ------------------------------------------------------------ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  min-width: 48px;
  padding: 12px 32px;
  background: var(--accent);
  color: #0a0a0a;
  font-size: 16px;
  font-weight: 700;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: filter 0.2s ease, transform 0.2s ease;
}

.btn:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
}

.cta-strip {
  text-align: center;
  padding: 52px 0;
}

.cta-strip h2 {
  font-size: 30px;
  font-weight: 700;
  margin-bottom: 12px;
}

.cta-strip p {
  color: var(--muted);
  margin-bottom: 28px;
}

/* ------------------------------------------------------------
   Module groups
   ------------------------------------------------------------ */

.module-group {
  margin-bottom: 56px;
}

.module-group:last-child {
  margin-bottom: 0;
}

.module-group > h2 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 6px;
}

.module-group > .group-sub {
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 24px;
}

/* ------------------------------------------------------------
   Example callout (DaaS)
   ------------------------------------------------------------ */

.callout {
  display: flex;
  align-items: flex-start;
  gap: 22px;
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: 12px;
  padding: 32px;
}

.callout .callout-label {
  display: block;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.callout p {
  font-size: 17px;
  line-height: 1.7;
}

.callout p strong {
  color: var(--accent);
}

/* ------------------------------------------------------------
   About — timeline
   ------------------------------------------------------------ */

.timeline {
  list-style: none;
}

.timeline li {
  position: relative;
  padding: 0 0 28px 32px;
  border-left: 1px solid var(--border);
  margin-left: 8px;
}

.timeline li:last-child {
  padding-bottom: 0;
}

.timeline li::before {
  content: "";
  position: absolute;
  left: -6px;
  top: 6px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--accent);
}

.timeline li span {
  font-size: 16px;
}

/* Footer tagline bar (About) */
.footer-bar {
  text-align: center;
  padding: 56px 0;
}

.footer-bar h2 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 8px;
}

.footer-bar h2 .accent {
  color: var(--accent);
}

.footer-bar p {
  color: var(--muted);
}

/* ------------------------------------------------------------
   Contact
   ------------------------------------------------------------ */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: start;
}

.service-selector {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 40px;
}

.service-btn {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 12px 20px;
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-size: 16px;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.service-btn:hover {
  border-color: var(--accent);
}

.service-btn input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.service-btn:has(input:checked),
.service-btn:focus-within {
  border-color: var(--accent);
  color: var(--accent);
}

.contact-details {
  list-style: none;
}

.contact-details li {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 48px;
  padding: 8px 0;
  font-size: 16px;
}

.contact-details a {
  color: var(--text);
}

.contact-details a:hover {
  color: var(--accent);
}

.contact-details .detail-note {
  color: var(--muted);
  font-size: 14px;
  display: block;
}

.contact-form {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 36px;
}

.form-field {
  margin-bottom: 22px;
}

.form-field label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 8px;
}

.form-field input[type="text"],
.form-field input[type="email"],
.form-field input[type="tel"],
.form-field textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 16px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-size: 16px;
  font-family: inherit;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.form-field textarea {
  min-height: 140px;
  resize: vertical;
}

.radio-group {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.radio-group label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 18px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 15px;
  font-weight: 400;
  cursor: pointer;
  margin-bottom: 0;
}

.radio-group input[type="radio"] {
  accent-color: var(--accent);
  width: 16px;
  height: 16px;
}

.radio-group label:has(input:checked) {
  border-color: var(--accent);
  color: var(--accent);
}

/* ------------------------------------------------------------
   Footer
   ------------------------------------------------------------ */

.site-footer {
  border-top: 1px solid var(--border);
  padding: 36px 0;
}

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

.site-footer img {
  height: 28px;
  width: auto;
}

.site-footer p {
  color: var(--muted);
  font-size: 14px;
}

/* ------------------------------------------------------------
   Responsive — tablet & mobile
   ------------------------------------------------------------ */

@media (max-width: 1024px) {
  .grid-3,
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }

  /* Hamburger nav */
  .nav {
    padding: 10px 20px;
    flex-wrap: wrap;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 0;
    padding-top: 12px;
  }

  body.nav-open .nav-links {
    display: flex;
  }

  .nav-links a {
    width: 100%;
    justify-content: flex-start;
    min-height: 48px;
    padding: 12px 8px;
    border-bottom: 1px solid var(--border);
  }

  .nav-links a.active {
    border-bottom: 1px solid var(--accent);
  }

  /* Hero padding — min 80px top/bottom on mobile */
  .hero {
    padding: 80px 0;
  }

  .hero h1 {
    font-size: 34px;
  }

  .hero .lede {
    font-size: 16px;
  }

  .hero-split {
    flex-direction: column;
    align-items: flex-start;
  }

  .section {
    padding: 56px 0;
  }

  .grid-3,
  .grid-4,
  .tagline-row,
  .cred-bar,
  .two-col,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .tagline {
    padding: 16px 0;
  }

  .contact-form {
    padding: 24px;
  }

  .site-footer .container {
    flex-direction: column;
    text-align: center;
  }
}

.card.card-soon {
  opacity: 0.55;
  cursor: default;
  pointer-events: none;
}

.card.card-soon:hover {
  border-color: var(--border);
  transform: none;
}

.badge-soon {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 2px 8px;
  margin-bottom: 12px;
}

.hero .lede-sub {
  margin-top: 12px;
  max-width: 560px;
  font-size: 16px;
  color: var(--muted);
  font-style: italic;
}

.step-num {
  display: block;
  font-size: 36px;
  font-weight: 800;
  color: var(--accent);
  opacity: 0.4;
  margin-bottom: 12px;
  line-height: 1;
}
