/* ==========================================================================
   Harditainment — shared styles
   ========================================================================== */

:root {
  --purple-deep: #1a0a3d;
  --purple: #4b0fb0;
  --purple-bright: #6a1fd6;
  --blue: #2877d3;
  --blue-light: #5aa8f0;
  --silver: #e6e9f0;
  --white: #ffffff;
  --bg: #0b0718;
  --bg-elevated: #150c2e;
  --card-bg: rgba(255, 255, 255, 0.04);
  --card-border: rgba(255, 255, 255, 0.09);
  --text: #eceaf5;
  --text-muted: #a9a4c2;
  --gradient-brand: linear-gradient(120deg, var(--purple) 0%, var(--purple-bright) 35%, var(--blue) 75%, var(--blue-light) 100%);
  --radius: 14px;
  --max-width: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 15% 0%, rgba(75, 15, 176, 0.35), transparent 45%),
    radial-gradient(circle at 85% 20%, rgba(40, 119, 211, 0.28), transparent 45%),
    var(--bg);
}

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

a:hover {
  color: var(--silver);
}

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

h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.5rem, 3.2vw, 2.2rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1em; color: var(--text-muted); }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 72px 0;
}

.section-tight {
  padding: 40px 0;
}

.text-center { text-align: center; }

.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  font-weight: 700;
  color: var(--blue-light);
  margin-bottom: 12px;
}

.gradient-text {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Header / Nav ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(11, 7, 24, 0.75);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-weight: 700;
  font-size: 1.1rem;
}

.brand img {
  height: 34px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 500;
}

.nav-links a.active {
  color: var(--blue-light);
}

.nav-cta {
  background: var(--gradient-brand);
  color: var(--white) !important;
  padding: 9px 18px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem !important;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.6rem;
  cursor: pointer;
}

@media (max-width: 800px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-elevated);
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 24px;
    gap: 16px;
    display: none;
    border-bottom: 1px solid var(--card-border);
  }
  .nav-links.open { display: flex; }
}

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

.hero {
  padding: 96px 0 64px;
  text-align: center;
}

.hero-logo {
  width: 120px;
  margin: 0 auto 28px;
}

.hero p.lead {
  max-width: 620px;
  margin: 0 auto 32px;
  font-size: 1.1rem;
}

.btn-row {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

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

.btn-primary {
  background: var(--gradient-brand);
  color: var(--white) !important;
  box-shadow: 0 8px 24px rgba(75, 15, 176, 0.35);
}

.btn-outline {
  border-color: rgba(255, 255, 255, 0.25);
  color: var(--text) !important;
  background: transparent;
}

.btn-outline:hover {
  border-color: var(--blue-light);
}

/* ---------- Cards / Grids ---------- */

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

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

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

.card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 28px;
}

.card-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--gradient-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 16px;
  color: var(--white);
}

.project-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  overflow: hidden;
}

.project-thumb {
  height: 170px;
  background: var(--gradient-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.85);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.85rem;
}

.project-body {
  padding: 22px;
}

.tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(90, 168, 240, 0.15);
  color: var(--blue-light);
  margin: 0 6px 6px 0;
}

/* ---------- Pricing ---------- */

.price-tag {
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 4px;
}

.price-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

ul.feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
}

ul.feature-list li {
  padding: 6px 0;
  color: var(--text-muted);
  border-top: 1px solid var(--card-border);
}

ul.feature-list li:first-child { border-top: none; }

/* ---------- Forms ---------- */

.form-field {
  margin-bottom: 20px;
  text-align: left;
}

.form-field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text);
}

.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--card-border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  font-size: 0.95rem;
  font-family: inherit;
}

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

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

.form-note {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ---------- Legal pages ---------- */

.legal h2 {
  margin-top: 40px;
}

.legal p, .legal li {
  color: var(--text-muted);
}

.legal .updated {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 32px;
}

.placeholder {
  color: #ffb454;
  font-weight: 600;
}

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

.site-footer {
  border-top: 1px solid var(--card-border);
  padding: 48px 0 32px;
  margin-top: 64px;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 32px;
  margin-bottom: 32px;
}

.footer-col h4 {
  color: var(--white);
  font-size: 0.9rem;
  margin-bottom: 14px;
}

.footer-col a {
  display: block;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.footer-bottom {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  border-top: 1px solid var(--card-border);
  padding-top: 24px;
}

.section-header {
  max-width: 640px;
  margin: 0 auto 48px;
  text-align: center;
}
