/* =========================
   Base Reset & Defaults
========================= */

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.7;
  color: #111827;
  background: #ffffff;
}

/* =========================
   Layout
========================= */

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 96px 0;
}

/* =========================
   Header / Navigation
========================= */

.site-header {
  border-bottom: 1px solid #e5e7eb;
  padding: 20px 0;
}

.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-weight: 600;
  font-size: 18px;
}

.main-nav a {
  margin-left: 24px;
  text-decoration: none;
  color: #111827;
  font-size: 15px;
}

.main-nav a:hover {
  text-decoration: underline;
}

.nav-cta {
  padding: 8px 14px;
  border: 1px solid #111827;
  border-radius: 4px;
}

.main-nav a.active {
  border-bottom: 2px solid #111;
  padding-bottom: 4px;
}
/* =========================
   Hero
========================= */

.hero {
  padding-top: 120px;
  padding-bottom: 120px;
}

.hero h1 {
  font-size: 44px;
  line-height: 1.2;
  max-width: 900px;
  margin-bottom: 24px;
}

.hero-subtitle {
  max-width: 820px;
  margin-bottom: 20px;
  font-size: 18px;
}

.hero-actions {
  margin-top: 32px;
}

/* =========================
   Buttons
========================= */

.btn-primary {
  display: inline-block;
  background: #2563eb;
  color: #ffffff;
  padding: 14px 24px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 500;
  margin-right: 16px;
}

.btn-secondary {
  text-decoration: none;
  color: #2563eb;
  font-weight: 500;
}

/* =========================
   Headings & Text
========================= */

h2 {
  font-size: 32px;
  line-height: 1.3;
  margin-bottom: 24px;
  max-width: 800px;
}

h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

p {
  max-width: 760px;
  margin-bottom: 16px;
}

/* =========================
   Capabilities Grid
========================= */

.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
  margin-top: 48px;
}

.capability p {
  font-size: 16px;
}

/* =========================
   System Diagram Placeholder
========================= */

.system-view {
  background: #f9fafb;
}

.diagram-placeholder {
  margin-top: 40px;
  padding: 32px;
  border: 1px dashed #9ca3af;
  text-align: center;
  color: #6b7280;
  font-size: 14px;
}

/* =========================
   Testimonials
========================= */

.testimonials blockquote {
  font-size: 18px;
  font-style: italic;
  margin: 32px 0;
  max-width: 900px;
}

/* =========================
   CTA Section
========================= */

.final-cta {
  background: #111827;
  color: #ffffff;
}

.final-cta h2,
.final-cta p {
  color: #ffffff;
}

.cta-center {
  text-align: center;
}
.final-cta h2,
.final-cta p {
  margin-left: auto;
  margin-right: auto;
}

.cta-center .btn-primary {
  margin-top: 24px;
}
/* =========================
   Footer 
========================= */

.site-footer {
  background: #f9fafb;
  margin-top: 0;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  padding: 64px 0 32px;
}

.footer-left p {
  font-size: 15px;
  color: #4b5563;
  max-width: 420px;
}

.footer-right a {
  display: block;
  margin-bottom: 10px;
  text-decoration: none;
  color: #111827;
  font-size: 15px;
}

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

.footer-meta {
  border-top: 1px solid #e5e7eb;
  padding: 24px 0;
  font-size: 14px;
  color: #6b7280;
}

/* =========================
   System Diagram (Refined)
========================= */

.system-diagram {
  display: grid;
  grid-template-columns: repeat(7, auto);
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 56px;
}

.diagram-step {
  text-align: center;
  max-width: 200px;
}

.diagram-step h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 6px;
}

.diagram-step p {
  font-size: 14px;
  color: #6b7280;
  margin: 0;
}

.diagram-divider {
  width: 40px;
  height: 1px;
  background: #d1d5db;
}
/* =========================
Contact Form
========================= */
.contact-form {
  max-width: 520px;
  margin: 32px auto 0;
  text-align: left;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 14px;
  margin-bottom: 6px;
  color: #111827;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 10px 12px;
  font-size: 15px;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #2563eb;
}

/* Improve form field presence */
.contact-form input,
.contact-form textarea {
  background: #ffffff;
  border-radius: 6px;
  padding: 14px 14px;
}

/* Slightly softer labels */
.contact-form label {
  font-weight: 500;
  color: #e5e7eb;
}

/* Space textarea from button */
.contact-form textarea {
  margin-bottom: 24px;
}

.contact-form button {
  display: block;
  margin: 0 auto;
}

/* Normalize select to match input fields */
.form-group select {
  width: 100%;
  height: 48px;              /* matches input visual height */
  padding: 10px 12px;
  font-size: 15px;
  font-family: inherit;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  background-color: #ffffff;
  appearance: none;          /* removes native styling */
  -webkit-appearance: none;
  -moz-appearance: none;
}

/* Add a custom dropdown arrow */
.form-group {
  position: relative;
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%236b7280' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  padding-right: 40px;
}

/* Focus state */
.form-group select:focus {
  outline: none;
  border-color: #2563eb;
}