/* --- VARIABLES based on your palette --- */
:root {
  --primary: #0f172a; /* Ink Black-Blue */
  --secondary: #3b82f6; /* Electric Blue */
  --bg-body: #ffffff; /* Pure White */
  --text-body: #475569; /* Cool Gray */
  --accent: #f1f5f9; /* Ice White */
  --font-main: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* --- RESET & BASE --- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  font-family: var(--font-main);
  background: var(--bg-body);
  color: var(--text-body);
  line-height: 1.6;
}
a {
  text-decoration: none;
  transition: 0.2s;
}
ul {
  list-style: none;
}

/* --- LAYOUT UTILITIES --- */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}
section {
  padding: 80px 0;
  border-bottom: 1px solid var(--accent);
}

/* --- TYPOGRAPHY --- */
h1,
h2,
h3 {
  color: var(--primary);
  margin-bottom: 1rem;
  line-height: 1.2;
}
h1 {
  font-size: 3rem;
  font-weight: 800;
}
h2 {
  font-size: 2.2rem;
  text-align: center;
  margin-bottom: 3rem;
}
h3 {
  font-size: 1.25rem;
  font-weight: 700;
}
p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

/* --- HEADER --- */
header {
  background: rgba(255, 255, 255, 0.95);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--accent);
  backdrop-filter: blur(10px);
}
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}
.logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
}
.nav-links a {
  color: var(--text-body);
  margin-left: 30px;
  font-weight: 500;
  font-size: 0.95rem;
}
.nav-links a:hover {
  color: var(--secondary);
}

.cta-button {
  background: var(--secondary);
  color: #ffffff !important; /* Pure white */
  padding: 10px 24px;
  border-radius: 6px;
  font-weight: 700; /* Made bolder for readability */
  letter-spacing: 0.5px; /* Slight spacing for "premium" feel */
  box-shadow: 0 4px 6px -1px rgba(59, 130, 246, 0.5); /* Soft blue shadow for depth */
  transition: all 0.2s ease;
}

.cta-button:hover {
  background: #2563eb; /* Slightly darker blue on hover */
  transform: translateY(-2px); /* Subtle lift effect */
  box-shadow: 0 6px 8px -1px rgba(59, 130, 246, 0.6);
}

/* --- HERO SECTION --- */
.hero {
  text-align: center;
  padding: 120px 0 100px;
  background: radial-gradient(circle at top, var(--accent) 0%, transparent 70%);
}
.hero p {
  max-width: 700px;
  margin: 0 auto 2rem;
  color: var(--text-body);
}

/* --- SERVICES GRID --- */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}
.card {
  padding: 30px;
  background: white;
  border: 1px solid var(--accent);
  border-radius: 12px;
  transition: transform 0.2s;
}
.card:hover {
  transform: translateY(-5px);
  border-color: var(--secondary);
}
.icon {
  color: var(--secondary);
  font-size: 1.5rem;
  margin-bottom: 15px;
  display: block;
}

/* --- DATA INTEGRITY (Split Layout) --- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.metric-box {
  background: var(--primary);
  color: white;
  padding: 30px;
  border-radius: 12px;
  margin-top: 20px;
}
.metric-box h4 {
  color: var(--secondary);
  margin-bottom: 5px;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.metric-value {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 10px;
}

/* --- FAQ SECTION --- */
.faq-item {
  margin-bottom: 20px;
  border: 1px solid var(--accent);
  border-radius: 8px;
  padding: 20px;
}
.faq-question {
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 10px;
  display: block;
}

/* --- CONTACT FORM --- */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
  background: var(--accent);
  padding: 40px;
  border-radius: 12px;
}
.form-group {
  margin-bottom: 20px;
}
label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--primary);
}
input,
select,
textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  font-family: inherit;
  font-size: 1rem;
}
input:focus,
textarea:focus {
  outline: 2px solid var(--secondary);
  border-color: transparent;
}
button[type="submit"] {
  width: 100%;
  background: var(--primary);
  color: white;
  border: none;
  padding: 15px;
  font-size: 1.1rem;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 700;
  transition: background 0.2s;
}
button[type="submit"]:hover {
  background: var(--secondary);
}

/* --- HONEYPOT (Hidden) --- */
.audit-field {
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  height: 0;
  width: 0;
  z-index: -1;
}

/* --- FOOTER --- */
footer {
  background: var(--primary);
  color: white;
  padding: 40px 0;
  text-align: center;
  font-size: 0.9rem;
}
footer a {
  color: var(--secondary);
}

/* --- MOBILE --- */
@media (max-width: 768px) {
  h1 {
    font-size: 2.5rem;
  }
  .split {
    grid-template-columns: 1fr;
  }
  nav .nav-links {
    display: none;
  } /* Simplified for demo */
}
