/* =====================
   Burns AI Solutions
   styles.css
   ===================== */

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

:root {
  --bg: #ffffff;
  --surface: #f5f7fa;
  --border: #e2e8f0;
  --accent: #1a56db;
  --accent-dark: #1341b0;
  --text: #0f172a;
  --muted: #475569;
  --light: #94a3b8;
  --radius: 8px;
  --max-width: 900px;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.7;
}

/* ---- NAV ---- */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text);
  text-decoration: none;
}

.nav-logo span {
  color: var(--accent);
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1.75rem;
}

nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}

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

/* ---- LAYOUT ---- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

section {
  padding: 5rem 0;
}

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

/* ---- HERO ---- */
.hero {
  background: var(--surface);
  padding: 6rem 0;
  text-align: center;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  color: var(--text);
}

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

.hero p {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto 2.25rem;
}

.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 0.8rem 2rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
}

.btn:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
}

/* ---- SECTION HEADINGS ---- */
h2 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  letter-spacing: -0.01em;
}

h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

/* ---- WHAT WE DO ---- */
.services-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.services-list li {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  font-size: 0.95rem;
  color: var(--text);
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
}

.services-list li::before {
  content: '✓';
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 0.05rem;
}

/* ---- DEVELOPMENT ---- */
.dev-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  padding: 1.75rem 2rem;
  color: var(--muted);
  font-size: 0.97rem;
  margin-top: 1rem;
}

/* ---- COMPLIANCE ---- */
.compliance-box {
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: var(--radius);
  padding: 1.75rem 2rem;
  margin-top: 1rem;
}

.compliance-box p {
  font-size: 0.92rem;
  color: #78350f;
  margin-bottom: 1rem;
}

.compliance-box p:last-child {
  margin-bottom: 0;
}

.compliance-box strong {
  color: #92400e;
}

/* ---- ABOUT ---- */
.about-text {
  color: var(--muted);
  max-width: 600px;
}

/* ---- CONTACT ---- */
.contact-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  max-width: 480px;
  margin-top: 1rem;
}

.contact-card p {
  font-size: 0.95rem;
  color: var(--muted);
  margin-bottom: 0.6rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.contact-card p:last-child {
  margin-bottom: 0;
}

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

.contact-card a:hover {
  text-decoration: underline;
}

/* ---- FOOTER ---- */
footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 2rem 1.5rem;
  text-align: center;
  font-size: 0.85rem;
  color: var(--light);
}

footer a {
  color: var(--accent);
  text-decoration: none;
  margin: 0 0.5rem;
}

footer a:hover {
  text-decoration: underline;
}

footer p + p {
  margin-top: 0.5rem;
}

/* ---- INNER PAGE (privacy / terms) ---- */
.page-content {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 4rem 1.5rem;
}

.page-content h1 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.page-content .updated {
  font-size: 0.85rem;
  color: var(--light);
  margin-bottom: 3rem;
}

.page-content h2 {
  font-size: 1.2rem;
  margin-top: 2.5rem;
  margin-bottom: 0.6rem;
  color: var(--text);
}

.page-content p,
.page-content li {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}

.page-content ul {
  padding-left: 1.25rem;
  margin-bottom: 0.75rem;
}

.page-content a {
  color: var(--accent);
}

/* ---- RESPONSIVE ---- */
@media (max-width: 640px) {
  nav ul {
    display: none;
  }

  .hero {
    padding: 4rem 0;
  }

  section {
    padding: 3.5rem 0;
  }

  .services-list {
    grid-template-columns: 1fr;
  }
}
