:root {
  --primary: #0b1f3b;
  --primary-light: #1f5aa6;
  --accent-amber: #f59e0b;
  --accent-green: #16a34a;
  --bg-light: #F57FA;
  --bg-white: #ffffff;
  --text-charcoal: #0f172a;
  --text-gray: #4b5563;
  --border-gray: #e5e7eb;
  --shadow-subtle:
    0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --radius-md: 12px;
  --container-max: 1200px;
  --transition: all 0.3s ease;
}

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

body {
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    sans-serif;
  line-height: 1.6;
  color: var(--text-charcoal);
  background-color: var(--bg-white);
  scroll-behavior: smooth;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1.5rem;
  color: var(--text-gray);
  font-size: 1.1rem;
}

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

ul {
  list-style: none;
}

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
  width: 100%;
}

header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-gray);
  position: sticky;
  top: 0;
  z-index: 1000;
  height: 80px;
  display: flex;
  align-items: center;
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  position: relative;
  gap: 2rem;
}

.nav-links {
  display: flex;
  align-items: center;
  text-align: center;
  gap: 32px;
}

.nav-links a {
  text-decoration: none;
  font-weight: 500;
  line-height: 1;
}

.github-btn {
  padding: 10px 20px;
  border-radius: 12px;
  background-color: #0b1f3b;
  color: #fff;
  font-weight: 600;
}

.menu-toggle-wrapper {
  display: none;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex: 1 1 0%;
}

.logo img {
  height: 40px;
  width: auto;
}

.nav-menu {
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-links {
  display: flex;
  gap: 2rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

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

.nav-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 1 1 0%;
}

.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  background: 0 0;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 100;
}

.menu-toggle span {
  width: 100%;
  height: 3px;
  background-color: var(--primary);
  border-radius: 3px;
  transition: all 0.3s ease;
}

.menu-toggle.active span:first-child {
  transform: translateY(9px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

@media (max-width: 1100px) {
  header .container {
    padding: 0 16px;
    max-width: 100%;
    width: 100%;
  }

  nav {
    gap: 0;
    width: 100%;
    justify-content: space-between;
  }

  .menu-toggle-wrapper {
    display: flex;
    flex: 0 0 auto;
    justify-content: flex-start;
    align-items: center;
    order: 1;
    margin-right: auto;
  }

  .logo {
    flex: 0 1 auto;
    display: flex;
    justify-content: center;
    order: 2;
    margin: 0 auto;
  }

  .nav-actions {
    order: 3;
    flex: 0 0 auto;
    display: flex;
    justify-content: flex-end;
    margin-left: auto;
  }

  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: center;
    padding: 2rem;
    gap: 1.5rem;
    box-shadow: var(--shadow-md);
    border-radius: var(--radius-lg);
    display: none;
    z-index: 99;
    order: 4;
  }

  .nav-menu.active {
    display: flex;
  }

  .nav-links {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
}

@media (max-width: 480px) {
  header .container {
    padding: 0 8px;
  }

  .nav-links {
    gap: 1rem;
    font-size: 0.85rem;
  }

  .logo img {
    height: 32px;
  }
}

.hero {
  padding: 60px 0 60px;
  background: #f5f7fa;
  text-align: center;
}

.hero h1 {
  font-size: 3rem;
  max-width: 850px;
  margin: 0 auto 1.5rem;
  color: var(--primary);
}

.hero-subtitle {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto 2.5rem;
  color: var(--text-gray);
}

.hero-bullets {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 3.5rem;
  flex-wrap: wrap;
}

.hero-bullet {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  color: var(--primary);
  background: #fff;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-gray);
}

.hero-bullet::before {
  content: "✓";
  color: var(--accent-green);
  font-weight: 700;
}

.hero-trust-strip {
  background: #fff;
  border-bottom: 1px solid var(--border-gray);
  padding: 1.5rem 0;
  text-align: center;
}

.hero-trust-strip p {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--primary);
}

.cta-group {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn {
  padding: 0.875rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: var(--transition);
  border: none;
  font-family: inherit;
  font-size: 1rem;
}

.btn-navy {
  background: var(--primary);
  color: #fff !important;
}

.btn-navy:hover {
  background: #162a4d;
  transform: translateY(-2px);
}

.btn-outline {
  border: 1px solid var(--primary);
  color: var(--primary) !important;
  background: 0 0;
}

.btn-outline:hover {
  background: rgba(11, 31, 59, 0.05);
}

.btn-primary {
  background: var(--primary);
  color: #fff !important;
}

.btn-primary:hover {
  background: #162a4d;
  transform: translateY(-2px);
}

.btn-secondary {
  background: 0 0;
  color: var(--primary) !important;
  border: 2px solid var(--primary);
}

.btn-secondary:hover {
  background: rgba(11, 31, 59, 0.05);
}

.trust-bar {
  padding: 60px 0;
  background: var(--primary);
  color: #fff;
}

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

.trust-card {
  background: rgba(255, 255, 255, 0.05);
  padding: 2rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.trust-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.trust-card p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0;
}

section {
  padding: 50px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  font-size: 2.5rem;
}

.overview-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

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

.modular-col {
  background: #f8fafc;
  padding: 2.5rem;
  border-radius: var(--radius-md);
  border-top: 4px solid var(--primary-light);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.modular-header {
  margin-bottom: 2rem;
}

.badge-area {
  height: 30px;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
}

.title-area {
  height: 54px;
  display: flex;
  align-items: flex-start;
}

.modular-col h3 {
  margin: 0;
  color: var(--primary);
  line-height: 1.3;
}

.modular-col .badge {
  position: static;
  display: inline-block;
  margin-bottom: 0.75rem;
  width: fit-content;
}

.modular-col p {
  margin-top: 0px;
  font-style: italic;
  font-size: 0.95rem;
  padding-top: 1.5rem;
}

.diagram-container svg {
  max-width: 100%;
  height: auto;
}

.how-it-works-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}

.step-card {
  text-align: center;
  padding: 2rem;
}

.step-number {
  width: 40px;
  height: 40px;
  background: var(--primary-light);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-weight: 700;
}

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

.feature-item {
  display: flex;
  gap: 1rem;
  padding: 1.5rem;
  background: #fff;
  border: 1px solid var(--border-gray);
  border-radius: var(--radius-md);
}

.feature-icon {
  color: var(--primary-light);
  font-size: 1.5rem;
}

.deployment-subtitle {
  font-size: 1.1rem;
  color: var(--text-gray);
  margin-bottom: 3rem;
  line-height: 1.6;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  align-items: stretch;
  margin-bottom: 4rem;
}

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

.pricing-card {
  background: var(--bg-white);
  padding: 3rem 2rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-gray);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  position: relative;
  height: 100%;
}

.pricing-card.highlight-pro {
  border: 2px solid var(--primary);
  box-shadow: 0 10px 25px -5px rgba(11, 31, 59, 0.1);
}

.pricing-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--primary);
}

.pricing-card .price {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-charcoal);
  margin: 0.5rem 0 1rem;
}

.pricing-card .positioning {
  font-size: 0.95rem;
  color: var(--text-gray);
  margin-bottom: 2rem;
  min-height: 3rem;
}

.pricing-card .feature-list {
  margin: 0 0 2rem 0;
  padding: 0;
  list-style: none;
}

.pricing-card .feature-list li {
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
  display: flex;
  gap: 0.5rem;
}

.btn-github {
  background-color: var(--accent-green) !important;
  color: #fff !important;
}

.btn-github:hover {
  background-color: #15803d !important;
}

.card-note {
  display: block;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-gray);
  margin-top: 1rem;
}

.pricing-disclaimer {
  text-align: center;
  margin-top: 2.5rem;
  font-size: 0.95rem;
  color: var(--text-gray);
  font-style: italic;
}

.trust-strip {
  background: #f1f5f9;
  padding: 3rem 0;
  margin-top: 4rem;
  border-radius: var(--radius-md);
}

.trust-strip h4 {
  text-align: center;
  margin-bottom: 2rem;
  color: var(--primary);
  font-size: 1.1rem;
}

.trust-pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  text-align: center;
}

.pillar-item {
  font-weight: 600;
  color: var(--primary);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.95rem;
}

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

.roadmap-col {
  background: #f8fafc;
  padding: 2.5rem;
  border-radius: var(--radius-md);
  border-top: 4px solid var(--primary-light);
}

.faq-grid {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-gray);
  padding-bottom: 1.5rem;
}

.faq-question {
  font-weight: 700;
  margin-bottom: 0.5rem;
  display: flex;
  justify-content: space-between;
  cursor: pointer;
}

.contact-container {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.form-group {
  margin-bottom: 1.5rem;
  text-align: left;
}

label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

input,
textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border-gray);
  border-radius: 8px;
  font-family: inherit;
}

footer {
  background: var(--primary);
  color: #fff;
  padding: 80px 0 40px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-copy {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
}

.authority-section {
  padding: 80px 0;
  background: #fff;
}

.authority-content {
  max-width: 800px;
  margin: 0 auto 4rem;
  text-align: center;
}

.authority-content p {
  font-size: 1.1rem;
  color: var(--text-gray);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.credibility-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  border-top: 1px solid var(--border-gray);
  padding-top: 4rem;
}

@media (max-width: 768px) {
  .credibility-strip {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .credibility-item ul {
    display: inline-block;
    text-align: left;
  }
}

.credibility-item h4 {
  color: var(--primary);
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

.credibility-item ul {
  padding: 0;
  list-style: none;
}

.credibility-item li {
  font-size: 0.95rem;
  color: var(--text-gray);
  margin-bottom: 0.5rem;
  position: relative;
  padding-left: 1.25rem;
}

.credibility-item li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--primary-light);
}

@media (max-width: 768px) {
  .nav-links {
    display: flex;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .overview-content {
    grid-template-columns: 1fr;
  }

  .pricing-card.featured {
    transform: none;
  }
}