/* ============================================================
   Blazing Horizon LLC — global stylesheet
   Modern tech / dark theme, accent #6bccdb
   ============================================================ */

:root {
  --accent: #6bccdb;
  --accent-bright: #8fdcea;
  --accent-deep: #3ba9bd;
  --accent-soft: rgba(107, 204, 219, 0.14);
  --accent-glow: rgba(107, 204, 219, 0.45);

  --bg-0: #0a141d;
  --bg-1: #0d1c28;
  --bg-2: #10222f;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-2: rgba(255, 255, 255, 0.06);
  --border: rgba(107, 204, 219, 0.16);
  --border-strong: rgba(107, 204, 219, 0.38);

  --text: #e7f2f5;
  --text-muted: #9db2bd;
  --text-dim: #6c828d;

  --radius: 16px;
  --radius-lg: 22px;
  --shadow: 0 18px 50px -20px rgba(0, 0, 0, 0.7);
  --shadow-glow: 0 0 0 1px var(--border-strong), 0 20px 60px -18px var(--accent-glow);

  --font-head: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --maxw: 1160px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background:
    radial-gradient(1200px 700px at 78% -8%, rgba(107, 204, 219, 0.10), transparent 60%),
    radial-gradient(900px 600px at 10% 110%, rgba(107, 204, 219, 0.07), transparent 55%),
    linear-gradient(160deg, var(--bg-0), var(--bg-1) 55%, var(--bg-2));
  background-attachment: fixed;
  min-height: 100vh;
  line-height: 1.65;
  overflow-x: hidden;
  position: relative;
}

/* ---------- Animated starfield background ---------- */
#starfield {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  display: block;
}
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
}

/* content sits above the stars */
header, main, footer { position: relative; z-index: 2; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }

a { color: var(--accent); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--accent-bright); }

h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 600; line-height: 1.15; letter-spacing: -0.01em; }

.accent { color: var(--accent); }
.muted { color: var(--text-muted); }

/* ============================================================
   Header / navigation
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(10, 20, 29, 0.72);
  border-bottom: 1px solid var(--border);
}
.topbar {
  font-size: 0.82rem;
  color: var(--text-muted);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(0, 0, 0, 0.18);
}
.topbar .container {
  display: flex;
  gap: 22px;
  justify-content: flex-end;
  align-items: center;
  padding-top: 8px;
  padding-bottom: 8px;
  flex-wrap: wrap;
}
.topbar a { color: var(--text-muted); display: inline-flex; align-items: center; gap: 7px; }
.topbar a:hover { color: var(--accent-bright); }
.topbar svg { width: 15px; height: 15px; fill: var(--accent); flex: none; }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 22px;
  max-width: var(--maxw);
  margin: 0 auto;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 44px; width: auto; display: block; filter: drop-shadow(0 0 10px rgba(107,204,219,.25)); }
.brand-name { font-family: var(--font-head); font-weight: 600; font-size: 1.15rem; letter-spacing: .2px; }
.brand-name span { color: var(--accent); }

.nav-links { display: flex; align-items: center; gap: 6px; list-style: none; }
.nav-links a {
  color: var(--text);
  padding: 9px 14px;
  border-radius: 10px;
  font-size: 0.94rem;
  font-weight: 500;
  transition: background .2s ease, color .2s ease;
}
.nav-links a:hover, .nav-links a.active { background: var(--accent-soft); color: var(--accent-bright); }

.nav-cta {
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  color: #04222a !important;
  font-weight: 600;
  padding: 10px 18px !important;
  border-radius: 10px;
  box-shadow: 0 8px 22px -8px var(--accent-glow);
}
.nav-cta:hover { filter: brightness(1.08); }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 8px 10px;
  cursor: pointer;
}
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--text); margin: 4px 0; transition: .25s; }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  padding: 96px 0 78px;
  text-align: center;
}
.hero .eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--border);
  padding: 6px 16px;
  border-radius: 999px;
  background: var(--accent-soft);
  margin-bottom: 22px;
}
.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.3rem);
  margin-bottom: 20px;
}
.hero h1 .grad {
  background: linear-gradient(120deg, var(--accent-bright), var(--accent) 45%, #d9f5fb);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero p.lead {
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto 34px;
}
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.98rem;
  padding: 13px 26px;
  border-radius: 12px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .25s ease, filter .2s ease, background .2s ease;
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  color: #04222a;
  box-shadow: 0 12px 30px -12px var(--accent-glow);
}
.btn-primary:hover { transform: translateY(-2px); filter: brightness(1.08); color: #04222a; }
.btn-ghost {
  background: var(--surface);
  border: 1px solid var(--border-strong);
  color: var(--text);
}
.btn-ghost:hover { transform: translateY(-2px); background: var(--accent-soft); color: var(--accent-bright); }

/* ============================================================
   Sections
   ============================================================ */
section { padding: 68px 0; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 46px; }
.section-head .eyebrow {
  font-size: 0.76rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 12px; display: block;
}
.section-head h2 { font-size: clamp(1.8rem, 4vw, 2.7rem); margin-bottom: 14px; }
.section-head p { color: var(--text-muted); font-size: 1.05rem; }

/* ============================================================
   Service cards (squares w/ hover)
   ============================================================ */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 22px;
}
.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px 26px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform .3s cubic-bezier(.2,.7,.2,1), box-shadow .3s ease, border-color .3s ease, background .3s ease;
  min-height: 230px;
}
.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(340px 200px at var(--mx, 50%) var(--my, 0%), var(--accent-soft), transparent 60%);
  opacity: 0;
  transition: opacity .3s ease;
  pointer-events: none;
}
.service-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-strong);
  background: var(--surface-2);
  box-shadow: var(--shadow-glow);
}
.service-card:hover::before { opacity: 1; }
.service-card .icon {
  width: 54px; height: 54px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: var(--accent-soft);
  border: 1px solid var(--border);
  margin-bottom: 18px;
  transition: transform .3s ease;
}
.service-card:hover .icon { transform: scale(1.08) rotate(-4deg); }
.service-card .icon svg { width: 28px; height: 28px; stroke: var(--accent-bright); fill: none; stroke-width: 1.7; }
.service-card h3 { font-size: 1.25rem; margin-bottom: 10px; }
.service-card p { color: var(--text-muted); font-size: 0.96rem; flex-grow: 1; }
.service-card .go {
  margin-top: 18px;
  display: inline-flex; align-items: center; gap: 7px;
  font-weight: 600; font-size: 0.9rem; color: var(--accent-bright);
}
.service-card .go svg { width: 16px; height: 16px; transition: transform .25s ease; stroke: currentColor; fill:none; stroke-width:2; }
.service-card:hover .go svg { transform: translateX(5px); }

/* ============================================================
   Generic glass panel / feature rows
   ============================================================ */
.panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 34px;
}
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.split.reverse .split-media { order: 2; }
.stat-row { display: flex; gap: 34px; flex-wrap: wrap; margin-top: 26px; }
.stat { }
.stat b { font-family: var(--font-head); font-size: 1.9rem; color: var(--accent-bright); display: block; }
.stat span { color: var(--text-muted); font-size: 0.9rem; }

.pill-list { list-style: none; display: flex; flex-direction: column; gap: 14px; margin-top: 10px; }
.pill-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--text-muted); }
.pill-list li svg { width: 22px; height: 22px; flex: none; stroke: var(--accent); fill: none; stroke-width: 2; margin-top: 2px; }
.pill-list li b { color: var(--text); font-weight: 600; }

/* ============================================================
   Page banner (interior pages)
   ============================================================ */
.page-banner { padding: 74px 0 40px; text-align: center; }
.page-banner .eyebrow {
  font-size: 0.76rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent);
  display: inline-block; margin-bottom: 14px; padding: 6px 16px; border-radius: 999px;
  border: 1px solid var(--border); background: var(--accent-soft);
}
.page-banner h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); margin-bottom: 14px; }
.page-banner h1 .grad {
  background: linear-gradient(120deg, var(--accent-bright), #d9f5fb);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.page-banner p { color: var(--text-muted); max-width: 620px; margin: 0 auto; font-size: 1.08rem; }

/* ============================================================
   Art gallery
   ============================================================ */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 22px;
}
.art-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.art-item:hover { transform: translateY(-6px); box-shadow: var(--shadow-glow); border-color: var(--border-strong); }
.art-item .frame { aspect-ratio: 4 / 5; overflow: hidden; background: #0a1219; }
.art-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.art-item:hover img { transform: scale(1.06); }
.art-item .caption {
  padding: 16px 18px;
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
}
.art-item .caption h4 { font-size: 1.02rem; }
.art-item .caption .tag {
  font-size: 0.72rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--accent-bright); background: var(--accent-soft);
  border: 1px solid var(--border); padding: 4px 10px; border-radius: 999px; white-space: nowrap;
}
.original-badge {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--accent-soft); border: 1px solid var(--border-strong);
  color: var(--accent-bright); padding: 10px 18px; border-radius: 999px;
  font-weight: 600; font-size: 0.9rem; margin: 0 auto 6px;
}
.original-badge svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2; }

/* ============================================================
   Showcase cards (website building)
   ============================================================ */
.showcase-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; }
.showcase {
  display: block;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.showcase:hover { transform: translateY(-6px); box-shadow: var(--shadow-glow); border-color: var(--border-strong); }
.showcase .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px var(--accent-glow); margin-bottom: 16px; }
.showcase h3 { font-size: 1.16rem; margin-bottom: 8px; color: var(--text); }
.showcase .url { color: var(--accent-bright); font-size: 0.9rem; word-break: break-all; }
.showcase p { color: var(--text-muted); font-size: 0.93rem; margin-top: 10px; }

/* ============================================================
   Forms
   ============================================================ */
.form-wrap {
  max-width: 720px;
  margin: 0 auto;
}
.form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 0.86rem; font-weight: 600; color: var(--text); }
.field label .req { color: var(--accent); }
.field input, .field select, .field textarea {
  width: 100%;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--border);
  border-radius: 11px;
  padding: 12px 14px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.96rem;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field textarea { resize: vertical; min-height: 128px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(107, 204, 219, 0.18);
}
.field select { appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236bccdb' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px;
}
.field select option { background: #0d1c28; color: var(--text); }
.form-note { font-size: 0.85rem; color: var(--text-dim); margin-top: 4px; }
.form-actions { margin-top: 24px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.form-status { font-size: 0.92rem; }
.form-status.ok { color: #7ee0b0; }
.form-status.err { color: #ff9d9d; }

/* ============================================================
   Contact strip
   ============================================================ */
.contact-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; margin-top: 40px; }
.contact-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px; display: flex; gap: 15px; align-items: center;
}
.contact-card .ci { width: 46px; height: 46px; border-radius: 12px; background: var(--accent-soft); border: 1px solid var(--border); display: grid; place-items: center; flex: none; }
.contact-card .ci svg { width: 22px; height: 22px; stroke: var(--accent-bright); fill: none; stroke-width: 1.8; }
.contact-card .cl { font-size: 0.78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--text-dim); }
.contact-card .cv { font-weight: 600; color: var(--text); font-size: 1rem; }
.contact-card .cv a { color: var(--text); }
.contact-card .cv a:hover { color: var(--accent-bright); }

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  border-top: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.25);
  padding: 52px 0 26px;
  margin-top: 40px;
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; }
.footer-brand .brand { margin-bottom: 14px; }
.footer-brand p { color: var(--text-muted); font-size: 0.92rem; max-width: 320px; }
.footer-col h4 { font-size: 0.82rem; text-transform: uppercase; letter-spacing: .12em; color: var(--accent); margin-bottom: 16px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a { color: var(--text-muted); font-size: 0.94rem; }
.footer-col ul a:hover { color: var(--accent-bright); }
.footer-contact li { display: flex; gap: 10px; align-items: center; color: var(--text-muted); font-size: 0.94rem; margin-bottom: 10px; }
.footer-contact svg { width: 17px; height: 17px; fill: var(--accent); flex: none; }
.footer-contact a { color: var(--text-muted); }
.footer-contact a:hover { color: var(--accent-bright); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  margin-top: 40px; padding-top: 22px;
  display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  color: var(--text-dim); font-size: 0.86rem;
}

/* ============================================================
   Scroll reveal (float-in)
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1);
  will-change: opacity, transform;
}
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; }
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 860px) {
  .split, .split.reverse .split-media { grid-template-columns: 1fr; order: 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .nav-links {
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    width: min(78vw, 320px);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 6px;
    padding: 90px 22px 22px;
    background: rgba(10, 20, 29, 0.97);
    backdrop-filter: blur(16px);
    border-left: 1px solid var(--border);
    transform: translateX(100%);
    transition: transform .32s cubic-bezier(.2,.7,.2,1);
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { padding: 14px 16px; font-size: 1.02rem; }
  .nav-toggle { display: block; z-index: 60; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
}
@media (max-width: 560px) {
  .form-grid { grid-template-columns: 1fr; }
  .topbar .container { justify-content: center; gap: 16px; }
  section { padding: 52px 0; }
  .panel, .form-card { padding: 24px; }
}
