/* Base Reset */
* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, 'Apple Color Emoji', 'Segoe UI Emoji';
  color: #e6e6e6;
  background: radial-gradient(1200px 600px at 75% 10%, rgba(255,140,0,0.12), rgba(91,33,182,0.12) 45%, rgba(0,0,0,0.0) 60%),
              linear-gradient(180deg, #0b0d12 0%, #0a0b10 50%, #0a0a0e 100%);
}
img { max-width: 100%; display: block; }

:root {
  --bg: #0b0d12;
  --surface: #12141b;
  --surface-2: #161922;
  --text: #e6e6e6;
  --muted: #b7bcc7;
  --primary: #6f6cf6;
  --primary-600: #5a58e6;
  --accent: #ff8c26; /* orange accent like screenshot */
  --radius: 16px;
  --shadow: 0 8px 24px rgba(0,0,0,.4);
  --card-shadow: 0 6px 18px rgba(0,0,0,.45);
}

.container {
  width: min(1120px, calc(100% - 32px));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(180deg, rgba(10,12,17,0.9) 0%, rgba(10,12,17,0.75) 60%, rgba(10,12,17,0) 100%);
  backdrop-filter: saturate(140%) blur(8px);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}
.brand {
  font-weight: 800;
  letter-spacing: 0.2px;
  text-decoration: none;
  font-size: 22px;
}
.brand-primary { color: #f0f1f6; }
.brand-accent { color: var(--accent); margin-left: 2px; }

.main-nav { display: flex; gap: 28px; align-items: center; }
.main-nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 14.5px;
}
.main-nav a:hover { color: #ffffff; }
.theme-toggle {
  border: 1px solid rgba(255,255,255,.1);
  background: var(--surface);
  color: #d7d9e0;
  width: 36px; height: 36px;
  border-radius: 9px;
  display: inline-grid; place-items: center;
  cursor: pointer;
}
.theme-toggle:hover { border-color: rgba(255,255,255,.18); }

/* Hero */
.hero { padding: 72px 0 56px; }
.hero-grid { display: block; }

/* Centered background box that contains the text */
.hero-box {
  position: relative;
  width: min(1080px, 100%);
  margin: 12px auto 0;
  min-height: 380px;
  padding: 56px 56px 64px;
  border-radius: 18px;
  background: url('/bg.jpg') center / cover no-repeat;
  border: 1px solid rgba(255,255,255,.06);
  box-shadow: 0 18px 40px rgba(0,0,0,.5);
  overflow: hidden;
}
.hero-box::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(11,13,18,0.95) 0%, rgba(11,13,18,0.82) 36%, rgba(11,13,18,0.55) 58%, rgba(11,13,18,0.28) 76%, rgba(11,13,18,0.05) 100%);
  pointer-events: none;
}
.hero-copy { position: relative; z-index: 1; max-width: 640px; }
.hero-copy h1 {
  font-size: clamp(38px, 5.2vw, 64px);
  line-height: 1.04;
  margin: 0 0 18px;
}
.text-accent { color: var(--accent); }
.lead {
  color: var(--muted);
  font-size: 16.5px;
  line-height: 1.75;
  max-width: 52ch;
}
.hero-cta { margin-top: 22px; }
.btn {
  display: inline-block;
  padding: 12px 18px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: .2px;
}
.btn-primary {
  background: linear-gradient(180deg, var(--primary) 0%, var(--primary-600) 100%);
  color: white;
  box-shadow: 0 10px 24px rgba(98, 91, 255, 0.35);
}
.btn-primary:hover { filter: brightness(1.06); }

/* Removed hero-art image; background now on .hero */

/* Sections */
.section { padding: 22px 0 72px; }
.section-title {
  font-size: 28px; font-weight: 800; margin: 8px 0 16px; color: #ffffff;
}

/* Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.card {
  background: var(--surface);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0,0,0,.5);
  border-color: rgba(255,255,255,.12);
}
.card-media { height: 150px; overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 16px; }
.card-body h3 {
  margin: 0 0 8px; font-size: 18px; color: #f7f7f9;
}
.card-body p { margin: 0; color: var(--muted); line-height: 1.6; }

/* Footer */
.footer { border-top: 1px solid rgba(255,255,255,.06); padding: 28px 0; background: #0a0c12; }
.footer-inner { display: flex; justify-content: center; color: #aeb3be; font-size: 14px; }

/* Responsive */
@media (max-width: 1000px) {
  .hero { padding: 56px 0 44px; }
}
@media (max-width: 820px) {
  .main-nav { gap: 18px; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .nav { padding: 14px 0; }
  .main-nav a { display: none; }
  .card-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 36px; }
  .hero-box { padding: 28px; min-height: 280px; border-radius: 14px; }
}

/* -------- Utility/Page Sections for subpages -------- */
.page-hero {
  padding: 72px 0 24px;
  background: radial-gradient(700px 400px at 20% 10%, rgba(111,108,246,0.14), rgba(0,0,0,0) 60%);
}
.page-hero h1 { margin: 0 0 8px; font-size: clamp(28px, 4.6vw, 44px); }
.page-hero .lead { max-width: 72ch; }

.note-box {
  display: flex; gap: 12px; align-items: flex-start;
  background: var(--surface);
  border: 1px solid rgba(255,255,255,.08);
  color: var(--muted);
  padding: 16px 18px;
  border-radius: 12px;
}
.note-box i { color: var(--accent); font-size: 22px; line-height: 1; margin-top: 2px; }

/* -------- Forms -------- */
.form-card {
  background: var(--surface);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px;
  padding: 24px;
  box-shadow: var(--card-shadow);
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 8px;
}
.form-field { display: flex; flex-direction: column; gap: 8px; margin: 8px 0; }
.form-field label, .form-field legend { color: #e9e9f0; font-weight: 600; font-size: 14px; }
.form-field input[type="text"],
.form-field input[type="tel"],
.form-field input[type="email"],
.form-field textarea {
  background: var(--surface-2);
  border: 1px solid rgba(255,255,255,.1);
  color: var(--text);
  border-radius: 12px;
  padding: 12px 14px;
  font: inherit;
}
.form-field textarea { resize: vertical; }
.checks { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px 16px; margin-top: 8px; }
.checks label { color: var(--muted); font-weight: 500; }
.form-actions { margin-top: 16px; }

@media (max-width: 860px) {
  .form-grid { grid-template-columns: 1fr 1fr; }
  .checks { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .form-grid { grid-template-columns: 1fr; }
}
