/* ==========================================================================
   1. Design System & Variables (The Secure Data Core Palette)
   ========================================================================== */
:root {
  --bg-dark: #0a1128; /* Deep Midnight Blue for Hero & Footer frameworks */
  --text-main: #1c2541; /* Dark Navy Slate for dominant page headlines */
  --text-muted: #475569; /* Clean Slate Gray for readable paragraph descriptions */
  --accent: #00b4d8; /* Electric Cyan for high-contrast, conversion buttons */
  --accent-hover: #0096c7; /* Deep Sea Blue for interactive layout hover states */
  --card-border: #e2e8f0; /* Light Platinum Gray separating app card blocks */
}

/* ==========================================================================
     2. Global Reset & Base Layout Setup
     ========================================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--text-main);
}

/* ==========================================================================
     3. Header Navigation (Full Width Structural Edge Screen Setup)
     ========================================================================== */
header {
  background: #ffffff;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  border-bottom: 1px solid #f1f5f9;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 100%;
  margin: 0 auto;
  padding: 18px 48px;
}

.logo {
  font-size: 22px;
  font-weight: 800;
  color: var(--bg-dark);
}

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

.nav-links {
  display: flex;
  list-style: none;
  align-items: center;
}

.nav-links li {
  margin-left: 24px;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-weight: 500;
  font-size: 15px;
  transition: color 0.2s;
}

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

.nav-btn {
  background: var(--bg-dark);
  color: #ffffff !important;
  padding: 8px 16px;
  border-radius: 6px;
  font-weight: 600;
}

/* ==========================================================================
     4. Hero & Main Call-To-Action Sections
     ========================================================================== */
.hero-section {
  background: var(--bg-dark);
  color: #ffffff;
  padding: 160px 24px 100px 24px;
  text-align: center;
}

.hero-content {
  max-width: 780px;
  margin: 0 auto;
}

.badge {
  background: rgba(0, 180, 216, 0.15); /* Tinted transparent layout to match accent color */
  color: #60a5fa;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 20px;
}

.hero-content h1 {
  font-size: 46px;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 24px;
  letter-spacing: -1px;
}

.hero-content p {
  font-size: 19px;
  color: #94a3b8;
  line-height: 1.6;
  margin-bottom: 35px;
}

.btn-primary {
  display: inline-block;
  background: var(--accent);
  color: #ffffff;
  padding: 14px 32px;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  transition: background 0.2s;
}

.btn-primary:hover {
  background: var(--accent-hover);
}

/* ==========================================================================
     5. Modular Content Grid Layout Blocks
     ========================================================================== */
.content-section {
  padding: 90px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

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

.section-header h2 {
  font-size: 32px;
  font-weight: 800;
  color: var(--bg-dark);
  margin-bottom: 16px;
}

.section-header p {
  color: var(--text-muted);
  font-size: 17px;
  line-height: 1.5;
}

.features-grid,
.apps-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 100%));
  gap: 24px;
}

.feature-card,
.app-card {
  border: 1px solid var(--card-border);
  padding: 35px;
  border-radius: 12px;
  transition: transform 0.2s;
  background: #ffffff;
}

.feature-card:hover,
.app-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
}

.feature-card h3,
.app-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
  color: var(--bg-dark);
}

.feature-card p,
.app-card p {
  color: var(--text-muted);
  line-height: 1.6;
  font-size: 15px;
}

.light-bg {
  background-color: #f4f7f8;
  max-width: 100%;
  border-top: 1px solid #f1f5f9;
  border-bottom: 1px solid #f1f5f9;
}

/* ==========================================================================
     6. Custom Platform Elements (Logos, Labels & Schema Lists)
     ========================================================================== */
.app-logo-box {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8fafc;
  border-radius: 8px;
  padding: 8px;
  border: 1px solid #e2e8f0;
}

.platform-logo {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.pipeline-tag {
  display: inline-block;
  background: #f1f5f9;
  color: #475569;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 4px;
  margin-bottom: 15px;
}

.schema-list {
  text-align: left;
  margin-top: 15px;
  padding-left: 20px;
}

.schema-list li {
  margin-bottom: 8px;
  font-size: 14px;
  color: var(--text-muted);
}

/* ==========================================================================
     7. Secure B2B Contact Form Systems
     ========================================================================== */
.contact-box {
  max-width: 580px;
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid var(--card-border);
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
}

.contact-box h2 {
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 10px;
  text-align: center;
}

.contact-box p {
  color: var(--text-muted);
  text-align: center;
  font-size: 15px;
  margin-bottom: 30px;
  line-height: 1.5;
}

.body-email {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}

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

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--bg-dark);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--card-border);
  border-radius: 6px;
  font-size: 15px;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.btn-submit {
  width: 100%;
  background: var(--bg-dark);
  color: #ffffff;
  border: none;
  padding: 14px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  transition: opacity 0.2s;
}

.btn-submit:hover {
  opacity: 0.9;
}

#form-status {
  margin-top: 15px;
  text-align: center;
  font-weight: 600;
}

/* ==========================================================================
     8. Split-Sided Corner Technical Footer
     ========================================================================== */
footer {
  background: var(--bg-dark);
  padding: 30px 48px;
  border-top: 1px solid #1e293b;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 100%;
  margin: 0 auto;
  color: #64748b;
  font-size: 14px;
}

.footer-right a {
  color: #94a3b8;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.footer-right a:hover {
  color: var(--accent);
}
