/* ===== style.css ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: #f6f9fc;
  color: #0a1e2f;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ----- header ----- */
.header {
  background: white;
  border-bottom: 1px solid #e6edf4;
  padding: 12px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(8px);
  background: rgba(255, 255, 255, 0.95);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.logo {
  flex-shrink: 0;
}
.logo-img {
  height: 30px;
  width: auto;
  display: block;
  max-width: 285px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  transition: all 0.3s ease;
}
.nav a {
  text-decoration: none;
  color: #1b3f57;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s;
  white-space: nowrap;
}
.nav a:hover {
  color: #c4452a;
}
.nav-cta {
  background: #0a2a3e;
  color: white !important;
  padding: 8px 22px;
  border-radius: 40px;
  font-weight: 600;
  transition: background 0.2s;
}
.nav-cta:hover {
  background: #c4452a !important;
  color: white !important;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px;
  z-index: 10;
}
.hamburger span {
  display: block;
  width: 26px;
  height: 2.5px;
  background: #0a2a3e;
  border-radius: 4px;
  transition: all 0.25s ease;
  transform-origin: center;
}
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ----- hero ----- */
.hero {
  padding: 40px 0 30px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #eef3f8;
  padding: 6px 18px;
  border-radius: 40px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #1b4057;
  margin-bottom: 20px;
}
.hero-badge i {
  color: #d94b2a;
}

.hero-content h1 {
  font-size: 3.2rem;
  font-weight: 700;
  line-height: 1.15;
  color: #08324b;
}
.hero-content h1 span {
  color: #d94b2a;
}
.hero-content p {
  font-size: 1.15rem;
  color: #2f5775;
  max-width: 480px;
  margin: 20px 0 28px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 32px;
}
.btn-primary {
  background: #d94b2a;
  color: white;
  padding: 12px 28px;
  border-radius: 60px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: background 0.2s;
  border: none;
  cursor: pointer;
  font-size: 0.95rem;
}
.btn-primary:hover {
  background: #b83b1e;
}
.btn-outline {
  background: transparent;
  color: #0a2a3e;
  padding: 12px 28px;
  border-radius: 60px;
  font-weight: 600;
  text-decoration: none;
  border: 1.5px solid #b6cddd;
  transition: all 0.2s;
  font-size: 0.95rem;
}
.btn-outline:hover {
  border-color: #0a2a3e;
  background: rgba(10, 42, 62, 0.06);
}

.hero-stats {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}
.hero-stats div {
  font-weight: 500;
  color: #1b4057;
}
.hero-stats span {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: #d94b2a;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-img {
  width: 100%;
  max-width: 580px;
  height: auto;
  border-radius: 28px;
  box-shadow: 0 24px 40px -16px rgba(0, 0, 0, 0.2);
  object-fit: cover;
  aspect-ratio: 4/3;
  display: block;
}

/* ----- section header ----- */
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 40px;
  padding: 0 12px;
}
.section-header h2 {
  font-size: 2.4rem;
  font-weight: 700;
  color: #08324b;
  line-height: 1.2;
}
.section-header p {
  font-size: 1.1rem;
  color: #2f5775;
  margin-top: 6px;
}

/* ----- systems ----- */
.systems {
  padding: 50px 0 30px;
}
.systems-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}
.system-card {
  background: white;
  border-radius: 24px;
  padding: 28px 22px;
  border: 1px solid #e5edf5;
  transition: all 0.25s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.system-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px -12px rgba(0, 40, 60, 0.12);
  border-color: #c4d5e5;
}
.card-icon {
  font-size: 2.4rem;
  color: #d94b2a;
  margin-bottom: 14px;
}
.system-card h3 {
  font-size: 1.3rem;
  margin-bottom: 8px;
  color: #08324b;
}
.system-card p {
  color: #2f5775;
  margin-bottom: 16px;
  flex-grow: 1;
}
.card-features {
  list-style: none;
  font-size: 0.9rem;
}
.card-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #1b4057;
  margin-bottom: 4px;
}
.card-features i {
  color: #d94b2a;
  font-size: 0.8rem;
}

/* ----- how it works ----- */
.how-it-works {
  background: white;
  padding: 50px 0;
  margin: 10px 0;
}
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 20px;
}
.step {
  text-align: center;
  padding: 20px 12px;
}
.step-num {
  background: #0a2a3e;
  color: white;
  width: 48px;
  height: 48px;
  border-radius: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  font-weight: 700;
  font-size: 1.1rem;
}
.step h4 {
  font-size: 1.05rem;
  color: #08324b;
  margin-bottom: 4px;
}
.step p {
  color: #2f5775;
  font-size: 0.92rem;
}

/* ----- deployments ----- */
.deployments {
  padding: 50px 0 30px;
}
.deployment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}
.deployment-item {
  height: 200px;
  border-radius: 24px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  padding: 16px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.04);
  transition: all 0.25s ease;
  background-color: #3a5f6b;
  background-blend-mode: overlay;
}
.deployment-item:hover {
  transform: scale(1.01);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
}
.deployment-label {
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  color: white;
  padding: 6px 16px;
  border-radius: 40px;
  font-weight: 600;
  font-size: 0.82rem;
}

/* ----- technology ----- */
.technology {
  background: #f0f5fa;
  padding: 50px 0;
}
.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 28px;
}
.tech-item {
  text-align: center;
  padding: 16px 10px;
}
.tech-item i {
  font-size: 2.4rem;
  color: #d94b2a;
  margin-bottom: 10px;
}
.tech-item h4 {
  font-size: 1.1rem;
  color: #08324b;
}
.tech-item p {
  color: #2f5775;
  font-size: 0.92rem;
}

/* ----- contact ----- */
.contact {
  padding: 50px 0 30px;
}
.contact-box {
  background: #0a2a3e;
  border-radius: 36px;
  padding: 40px 32px;
  color: white;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
}
.contact-text {
  flex: 1 1 320px;
}
.quote {
  font-size: 1.4rem;
  font-weight: 500;
  font-style: italic;
  opacity: 0.9;
  margin-bottom: 2px;
  line-height: 1.4;
}
.quote-attribution {
  font-size: 0.92rem;
  opacity: 0.7;
  margin-bottom: 20px;
}
.contact-text h2 {
  font-size: 1.8rem;
  font-weight: 700;
  margin: 8px 0 4px;
  line-height: 1.2;
}
.contact-text p {
  opacity: 0.8;
  margin-bottom: 14px;
}
.contact-info {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.contact-info span {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
}
.contact-action {
  text-align: center;
  flex: 0 0 auto;
}
.btn-primary.large {
  padding: 14px 38px;
  font-size: 1rem;
}

/* ============================================================ */
/* ===== CONTACT MODAL ===== */
/* ============================================================ */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(6px);
  z-index: 1000;
  justify-content: center;
  align-items: center;
  padding: 20px;
  animation: fadeIn 0.3s ease;
}

.modal-overlay.active {
  display: flex;
}

.modal-container {
  background: white;
  border-radius: 32px;
  max-width: 540px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 36px 32px 32px;
  position: relative;
  box-shadow: 0 32px 64px rgba(0, 0, 0, 0.2);
  animation: slideUp 0.35s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  font-size: 1.4rem;
  color: #6b8ba0;
  cursor: pointer;
  padding: 8px;
  border-radius: 50%;
  transition: all 0.2s;
  line-height: 1;
}
.modal-close:hover {
  background: #f0f4f8;
  color: #c4452a;
}

.modal-header {
  text-align: center;
  margin-bottom: 28px;
}
.modal-icon {
  font-size: 2.6rem;
  color: #d94b2a;
  margin-bottom: 10px;
}
.modal-header h2 {
  font-size: 1.6rem;
  font-weight: 700;
  color: #08324b;
}
.modal-header p {
  color: #2f5775;
  font-size: 0.95rem;
  margin-top: 4px;
}

.modal-form .form-group {
  margin-bottom: 18px;
}
.modal-form label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  color: #1b4057;
  margin-bottom: 5px;
}
.modal-form label i {
  color: #d94b2a;
  width: 18px;
}
.modal-form input,
.modal-form select,
.modal-form textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid #dce6ef;
  border-radius: 14px;
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
  background: #fafcfe;
}
.modal-form input:focus,
.modal-form select:focus,
.modal-form textarea:focus {
  outline: none;
  border-color: #d94b2a;
  box-shadow: 0 0 0 4px rgba(217, 75, 42, 0.1);
}
.modal-form textarea {
  resize: vertical;
  min-height: 90px;
}

.btn-submit {
  width: 100%;
  padding: 14px;
  background: #d94b2a;
  color: white;
  border: none;
  border-radius: 60px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 6px;
}
.btn-submit:hover {
  background: #b83b1e;
}

.form-note {
  text-align: center;
  font-size: 0.8rem;
  color: #6b8ba0;
  margin-top: 14px;
}

/* ===== SUCCESS TOAST ===== */
.toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: #0a2a3e;
  color: white;
  padding: 18px 28px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);
  z-index: 1100;
  opacity: 0;
  transition: all 0.5s ease;
  max-width: 90%;
  z-index:0;
}
.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.toast i {
  font-size: 2rem;
  color: #4caf50;
}
.toast strong {
  display: block;
  font-size: 1rem;
}
.toast p {
  font-size: 0.9rem;
  opacity: 0.8;
  margin: 0;
}

/* ----- footer ----- */
.footer {
  border-top: 1px solid #dce6ef;
  padding: 28px 0 20px;
  margin-top: 10px;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.footer-logo-img {
  height: 25px;
  width: auto;
  display: block;
}
.footer-logo p {
  font-size: 0.85rem;
  color: #3d657f;
  margin: 0;
}
.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-links a {
  text-decoration: none;
  color: #1b3f57;
  font-weight: 500;
  font-size: 0.9rem;
}
.footer-links a:hover {
  color: #c4452a;
}
.footer-copy {
  color: #3d657f;
  font-size: 0.85rem;
}

/* ============================================================ */
/* ===== RESPONSIVE BREAKPOINTS ===== */
/* ============================================================ */

@media (max-width: 992px) {
  .hero-grid {
    gap: 30px;
  }
  .hero-content h1 {
    font-size: 2.6rem;
  }
  .hero-img {
    max-width: 100%;
  }
}

@media (max-width: 820px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-content p {
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-stats {
    justify-content: center;
  }
  .hero-visual {
    order: -1;
  }
  .hero-img {
    max-width: 100%;
    aspect-ratio: 16/10;
  }

  .section-header h2 {
    font-size: 2rem;
  }

  .contact-box {
    flex-direction: column;
    text-align: center;
    padding: 32px 20px;
  }
  .contact-info {
    justify-content: center;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
  .footer-logo {
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .container {
    padding: 0 16px;
  }

  .header {
    padding: 10px 0;
  }

  .logo-img {
    height: 34px;
    max-width: 240px;
  }

  .hamburger {
    display: flex;
  }

  .nav {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    padding: 20px 24px;
    gap: 16px;
    border-bottom: 1px solid #e6edf4;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.06);
    align-items: stretch;
    text-align: center;
  }
  .nav.open {
    display: flex;
  }
  .nav a {
    padding: 10px 0;
    border-bottom: 1px solid #f0f4f8;
    font-size: 1rem;
  }
  .nav a:last-child {
    border-bottom: none;
  }
  .nav-cta {
    background: #d94b2a !important;
    text-align: center;
  }
  .nav-cta:hover {
    background: #b83b1e !important;
  }

  .hero {
    padding: 24px 0 20px;
  }
  .hero-content h1 {
    font-size: 2rem;
  }
  .hero-content p {
    font-size: 1rem;
    margin: 14px 0 20px;
  }
  .hero-stats {
    gap: 20px;
  }
  .hero-stats span {
    font-size: 1.6rem;
  }
  .hero-stats div {
    font-size: 0.9rem;
  }

  .btn-primary,
  .btn-outline {
    padding: 10px 20px;
    font-size: 0.88rem;
  }

  .systems-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  .system-card {
    padding: 20px 16px;
  }
  .system-card h3 {
    font-size: 1.1rem;
  }
  .system-card p {
    font-size: 0.9rem;
  }

  .steps {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .step {
    padding: 12px 8px;
  }
  .step-num {
    width: 40px;
    height: 40px;
    font-size: 0.95rem;
  }
  .step h4 {
    font-size: 0.95rem;
  }
  .step p {
    font-size: 0.85rem;
  }

  .deployment-grid {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }
  .deployment-item {
    height: 160px;
    padding: 12px;
    border-radius: 18px;
  }
  .deployment-label {
    font-size: 0.7rem;
    padding: 4px 12px;
  }

  .tech-grid {
    grid-template-columns: 1fr 1fr;
    gap: 18px;
  }
  .tech-item i {
    font-size: 2rem;
  }
  .tech-item h4 {
    font-size: 1rem;
  }
  .tech-item p {
    font-size: 0.85rem;
  }

  .contact-box {
    padding: 24px 16px;
    border-radius: 24px;
  }
  .quote {
    font-size: 1.1rem;
  }
  .contact-text h2 {
    font-size: 1.4rem;
  }
  .contact-info {
    gap: 12px;
    flex-direction: column;
    align-items: center;
  }
  .btn-primary.large {
    padding: 12px 28px;
    font-size: 0.92rem;
  }

  .footer-links {
    gap: 16px;
    justify-content: center;
  }
  .footer-copy {
    font-size: 0.8rem;
  }

  /* Modal responsive */
  .modal-container {
    padding: 28px 20px 24px;
    border-radius: 24px;
    max-height: 95vh;
  }
  .modal-header h2 {
    font-size: 1.3rem;
  }
  .modal-form input,
  .modal-form select,
  .modal-form textarea {
    padding: 10px 14px;
    font-size: 0.9rem;
  }
  .btn-submit {
    padding: 12px;
    font-size: 0.92rem;
  }
}

@media (max-width: 400px) {
  .systems-grid {
    grid-template-columns: 1fr;
  }
  .deployment-grid {
    grid-template-columns: 1fr;
  }
  .tech-grid {
    grid-template-columns: 1fr;
  }
  .steps {
    grid-template-columns: 1fr;
  }
  .hero-content h1 {
    font-size: 1.7rem;
  }
  .hero-stats {
    gap: 14px;
  }
}

