:root {
  --bg-main: #09090b;    /* Zinc 950 */
  --bg-surface: #18181b; /* Zinc 900 */
  --bg-hover: #27272a;   /* Zinc 800 */
  --border: #3f3f46;     /* Zinc 700 */
  --text-main: #f4f4f5;  /* Zinc 50 */
  --text-muted: #a1a1aa; /* Zinc 400 */
  --accent: #ffffff;

  --font-sans: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

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

html {
  background-color: var(--bg-main);
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-main);
  color: var(--text-main);
  font-family: var(--font-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  width: 100%;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.main-wrapper {
  flex: 1;
  width: 100%;
  position: relative;
  isolation: isolate;
}

.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 1.5rem;
  width: 100%;
}

h1, h2, h3 {
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.025em;
  overflow-wrap: break-word;
}

h1 { font-size: clamp(2.2rem, 8vw, 4rem); margin-bottom: 1.5rem; }
h2 { font-size: clamp(1.8rem, 6vw, 2.5rem); margin-bottom: 2rem; }

p {
  color: var(--text-muted);
  font-size: 1.125rem;
  margin-bottom: 2rem;
  width: 100%;
  max-width: 100%;
}

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

header {
  padding: 2rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border);
}

.header-nav {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo img {
  max-height: 50px;
  width: auto;
  object-fit: contain;
}

.logo-text {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.5px;
}

.btn {
  display: inline-block;
  background-color: var(--text-main);
  color: var(--bg-main);
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  text-align: center;
  border: 1px solid var(--text-main);
  cursor: pointer;
  transition: all 0.2s ease;
  -webkit-appearance: none;
  appearance: none;
  border-radius: 0;
  font-size: 0.875rem;
}

.btn:hover {
  background-color: #d4d4d8;
  border-color: #d4d4d8;
}

.btn-outline {
  background-color: transparent;
  color: var(--text-main);
  border: 1px solid var(--border);
}

.btn-outline:hover {
  background-color: var(--bg-surface);
  border-color: var(--text-muted);
}

section {
  padding: 6rem 0;
  border-bottom: 1px solid var(--border);
  contain: paint;
  position: relative;
}

.hero { padding: 8rem 0; }
.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; }

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.standards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 2rem;
}

.workflow-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border);
  padding: 2.5rem;
}

.metric-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border);
  padding: 2.5rem;
}

.metric-value {
  display: block;
  font-family: var(--font-mono);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

.metric-label {
  color: var(--text-muted);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.architecture-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.arch-col {
  background-color: var(--bg-surface);
  padding: 2.5rem;
  border: 1px solid var(--border);
}

.arch-col h3 {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.arch-list { list-style: none; }
.arch-list li { padding: 1rem 0; border-bottom: 1px solid var(--border); }
.arch-list li:last-child { border-bottom: none; }
.bad-arch li { color: var(--text-muted); }

.form-container { width: 100%; max-width: 1000px; margin: 0 auto; text-align: left; }
.form-group { margin-bottom: 1.5rem; }
label { display: block; font-family: var(--font-mono); font-size: 0.875rem; color: var(--text-muted); margin-bottom: 0.5rem; }

 input, select, textarea {
  width: 100%; 
  background-color: var(--bg-main); 
  color: var(--text-main); 
  border: 1px solid var(--border);
  padding: 0.875rem; 
  font-family: var(--font-sans); 
  font-size: 16px; 
  transition: border-color 0.2s; 
  border-radius: 0;
  appearance: none;
  -webkit-appearance: none;
}

input:focus, select:focus, textarea:focus { outline: none; border-color: var(--text-main); }
select {
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a1a1aa' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat; background-position: right 1rem center; background-size: 1em;
}

.cf-turnstile { width: 100%; min-height: 65px; display: flex; justify-content: center; margin: 1.5rem 0; overflow: hidden; }
footer { padding: 3rem 0; text-align: center; color: var(--text-muted); font-family: var(--font-mono); font-size: 0.875rem; }

@media (max-width: 768px) {
  header { flex-direction: column; gap: 1.5rem; text-align: center; }
  .hero { padding: 5rem 0; }
  .architecture-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .arch-col { padding: 1.5rem; }
  .standards-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .workflow-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  section { padding: 4rem 0; }
  .btn { width: 100%; }

  .logo {
    flex-direction: column;
    gap: 0.5rem;
  }

  .logo img {
    max-height: 120px;
  }

  .header-nav {
    flex-direction: column;
    width: 100%;
    gap: 0.5rem;
  }

  .header-nav .btn, 
  .header-nav .btn-outline {
    width: 100%;
    display: block;
    padding: 0.875rem 1.5rem;
    height: 52px;
    line-height: 1.2;
  }
}

/* Testimonials Section */
.viewport { 
  overflow: hidden; 
  width: 100%; 
  position: relative;
}

.track { 
  display: flex; 
  gap: 1.5rem;
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1); 
  align-items: stretch;
}

.testimonial-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  
  flex: 0 0 calc((100% - 3rem) / 3);
  width: calc((100% - 3rem) / 3);
}

.quote-text {
  font-size: 1rem;
  color: var(--text-main);
  margin-bottom: 1.5rem;
  position: relative;
  line-height: 1.5;
}

.quote-text::before {
  content: "“";
  position: absolute;
  left: -0.75rem;
  top: -0.5rem;
  font-size: 2.5rem;
  color: var(--border);
  line-height: 1;
  opacity: 0.8;
}

.author-name {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent);
}

.author-role {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

@media (max-width: 1024px) {
  .testimonial-card { 
    flex: 0 0 calc((100% - 1.5rem) / 2);
    width: calc((100% - 1.5rem) / 2);
  } 
}

@media (max-width: 768px) {
  .testimonial-card { 
    flex: 0 0 100%;
    width: 100%;
    padding: 1.5rem;
  } 
  .track {
    gap: 1rem;
  }
}

/* Compliance */
.compliance-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}

.compliance-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border);
  padding: 2rem;
  position: relative;
  display: flex;
  flex-direction: column;
}

.comp-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem; /* Reduced from 1.5rem */
}

.comp-title {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--accent);
}

.comp-details {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.25rem; /* Slightly reduced */
  flex-grow: 1;
}

.tech-specs {
  border-top: 1px solid var(--border);
  padding-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.spec-item {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.spec-item::before {
  content: "->";
  color: var(--border);
}

@media (max-width: 768px) {
  .compliance-grid { grid-template-columns: 1fr; }
}