@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700&display=swap');

:root {
  --brand-blue: #1c4586;
  --accent-blue: #66d9ff;
  --bg-dark: #000812;
  --bg: #f0f0f0
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Montserrat', sans-serif;
  background-color: var(--bg);
  color: #f0f0f0;
  line-height: 1.6;
}


.btn {
  display: inline-block;
  margin-top: 12px;
  padding: 10px 18px;
  border-radius: 8px;
  border: 1px solid var(--brand-blue);
  color: var(--brand-blue);
  text-decoration: none;
  font-weight: 600;
  transition: background-color .2s ease, color .2s ease, transform .15s ease;
}
.btn:hover { background: var(--brand-blue); color: #fff; transform: translateY(-1px); }

/* ----------------------------------------
   NAVBAR
-----------------------------------------*/
.navbar {
  background: linear-gradient(-45deg, #001527, #002B49, #00375B, #001527);
  background-size: 500% 500%;
  animation: backgroundMotion 20s ease infinite;
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000;
  flex-wrap: wrap; /* allows items to stack on small screens */
}

/* Make it adapt for smaller screens */
@media (max-width: 768px) {
  .navbar {
    flex-direction: column; /* stack logo and links vertically */
    align-items: flex-start;
    padding: 15px 20px;
  }

  .navbar a {
    display: block;
    width: 100%;
    text-align: left;
    padding: 10px 0;
  }
}

@media (max-width: 480px) {
  .navbar {
    padding: 10px 15px;
  }

  .navbar a {
    font-size: 0.9rem;
  }
}



.logo {
  display: flex;
  align-items: center;
  font-weight: 700;
  font-size: 1.3rem;
  color: #ffffff;
  text-decoration: none;
}


.logo-img {
  width: 50px;
  margin-right: 10px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 30px;
}

.nav-links a {
  color: #cce6ff;
  text-decoration: none;
  font-weight: 500;
  position: relative;
  transition: color 0.3s ease;
  padding-bottom: 2px; /* keeps spacing consistent */
}

/* underline effect */
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background: #66d9ff;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
  border-radius: 2px;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
}

.nav-links a:hover {
  color: #ffffff;
}

.nav-links a.active {
  color: #66d9ff;
  font-weight: 600;
}

/* ======= DROPDOWN MENU ======= */

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 30px;
  position: relative;
}

.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #ffffff;
  color: var(--brand-blue);
  padding: 30px 40px;
  border-radius: 0 0 12px 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  min-width: 280px;
  z-index: 100;
}

/* Dropdown expands smoothly */
.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Section title inside dropdown */
.dropdown-column h4 {
  font-size: 0.85rem;
  font-weight: 700;
  color: #1c4586;
  margin-bottom: 10px;
  letter-spacing: 1px;
}

/* Dropdown links */
.dropdown-column a {
  display: block;
  font-size: 0.95rem;
  color: #0c2440;
  text-decoration: none;
  margin: 6px 0;
  position: relative;
  transition: color 0.3s ease;
  padding-bottom: 2px;
}

/* Underline animation */
.dropdown-column a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--brand-blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.dropdown-column a:hover::after {
  transform: scaleX(1);
}

.dropdown-column a:hover {
  color: #004d85;
}

/* Keep dropdown above other sections */
.navbar {
  position: relative;
  z-index: 1000;
}


/* ----------------------------------------
   HERO SECTION
-----------------------------------------*/


.highlight {
  background: var(--brand-blue);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}


/* Add a dark overlay for text readability */
.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 15, 20, 0.55);
  z-index: 1;
}



.btn {
  display: inline-block;
  margin: 0.5rem;
  padding: 0.75rem 1.5rem;
  background-color: rgba(255, 255, 255, 0.15);
  color: #fff;
  border: 1px solid #fff;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.3s ease, color 0.3s ease;
}

.btn:hover {
  background-color: #fff;
  color: #1a1a1a;
}

.hero-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  text-align: center;
  color: white;
  background: url("../images/dashboard-preview.png") center/cover no-repeat;
  background-attachment: fixed;
  overflow: hidden;
}

.hero-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  text-align: center;
  color: white;
  background: url("../images/dashboard-preview.png") center/cover no-repeat;
  background-attachment: fixed;
  overflow: hidden;
  animation: zoomInBg 20s ease-in-out infinite alternate;
}

/* Slow zoom animation */
@keyframes zoomInBg {
  0% {
    background-size: 100%;
  }
  100% {
    background-size: 110%;
  }
}

/* Add a dark overlay for text readability */
.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 15, 20, 0.55);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding: 2rem;
}

.hero-content h1 {
  font-size: 4rem;
  font-weight: 800;
  letter-spacing: 1px;
  margin-bottom: 1rem;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: #e0e0e0;
}

.btn {
  display: inline-block;
  margin: 0.5rem;
  padding: 0.75rem 1.5rem;
  background-color: rgba(255, 255, 255, 0.15);
  color: #fff;
  border: 1px solid #fff;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.3s ease, color 0.3s ease;
}

.btn:hover {
  background-color: #fff;
  color: #1a1a1a;
}

.hero-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  text-align: center;
  color: #ffffff;
  background: 
    url("../images/dashboard-preview.png") center/cover no-repeat;
  background-attachment: fixed;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding: 2rem;
}


.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: #e0e0e0;
}

.btn {
  display: inline-block;
  margin: 0.5rem;
  padding: 0.75rem 1.5rem;
  background-color: rgba(255, 255, 255, 0.15);
  color: #fff;
  border: 1px solid #fff;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.3s ease, color 0.3s ease;
}

.btn:hover {
  background-color: #fff;
  color: #1a1a1a;
}


/* ----------------------------------------
   FEATURES SECTION
-----------------------------------------*/

.features-section {
  background-color: #fafafa;
  color: #111;
  padding: 100px 20px;
  text-align: center;
  font-family: 'Outfit', sans-serif;
}

.section-subtitle {
  color: #555;
  font-size: 0.9rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-title {
  font-size: 2.3rem;
  font-weight: 700;
  color: #0c2440;
  margin-bottom: 60px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.feature-card {
  background-color: #ffffff;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  transform-style: preserve-3d;
  will-change: transform;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.feature-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-bottom: 1px solid #eee;
}

.feature-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #0c2440;
  margin: 20px 20px 10px;
}

.feature-card p {
  font-size: 1rem;
  color: #444;
  margin: 0 20px 20px;
  line-height: 1.6;
}

.feature-link {
  margin: auto 20px 20px;
  color: #1c4586;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: color 0.2s ease;
}

.feature-link:hover {
  color: #0078d7;
}

/* ---------- Deploy. Connect. Orchestrate. ---------- */
.how-it-works {
  background: #243244;
  font-weight: bolder;
  font-size: large;
  color: white;
  text-align: center;
  padding: 120px 0;
}


.steps-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
}

.step {
  background: white;
  color: #243244;
  border-radius: 12px;
  padding: 24px 28px;
  width: 240px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.step:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.step-icon {
  background: var(--accent);
  color: var(--brand-blue);
  font-weight: 700;
  font-size: 36px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
}

.arrow {
  color: white;
  font-size: 28px;
  opacity: 0.5;
}

.arrow {
  animation: pulse 2s infinite ease-in-out;
}

@keyframes pulse {
  0%, 100% { opacity: 0.5; transform: translateX(0); }
  50% { opacity: 1; transform: translateX(4px); }
}

/* ----------------------------------------
   CTA SECTION
-----------------------------------------*/
/* ----------------------------------------
   PRICING SECTION
-----------------------------------------*/
.pricing-section {
  background: linear-gradient(135deg, #f9fafc, #f2f4f8, #f9fafc);
  padding: 100px 20px;
  text-align: center;
}

.pricing-title {
  font-size: 2.5rem;
  color: #0c2440;
  margin-bottom: 8px;
}

.pricing-subtitle {
  color: #555;
  font-size: 1.1rem;
  margin-bottom: 60px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.pricing-card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  padding: 40px 30px;
  text-align: left;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.pricing-card.featured {
  border: 2px solid #0078d7;
}

.pricing-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #0c2440;
  margin-bottom: 8px;
}

.price {
  font-size: 2.2rem;
  font-weight: 700;
  color: #0c2440;
  margin-bottom: 10px;
}

.price span {
  font-size: 1rem;
  color: #666;
}

.renew-note {
  font-size: 0.9rem;
  color: #777;
  margin-bottom: 20px;
}

.pricing-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.btn-primary {
  background-color: #0c2440;
  color: #fff;
  padding: 10px 18px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.2s ease;
}

.btn-primary:hover {
  background-color: #1c4586;
}

.btn-outline {
  border: 1.5px solid #0c2440;
  color: #0c2440;
  padding: 10px 18px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.2s ease, color 0.2s ease;
}

.btn-outline:hover {
  background: #0c2440;
  color: #fff;
}

.features-list {
  list-style: none;
  padding: 0;
  margin: 0;
  margin-top: 20px;
}

.features-list li {
  margin-bottom: 12px;
  padding-left: 24px;
  position: relative;
  color: #333;
  font-size: 0.95rem;
  line-height: 1.5;
}

.features-list li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 0;
  color: #0078d7;
  font-weight: bold;
}


/* ----------------------------------------
   CONTACT DIRECT SECTION
-----------------------------------------*/
.contact-direct {
  background: #ffffff;
  text-align: center;
  color: var(--brand-blue);
  padding: 80px 20px;
}

.contact-direct h3 {
  font-weight: 600;
  margin-bottom: 10px;
}

.contact-direct p {
  margin: 6px 0;
  font-size: 1.05rem;
}

.contact-link {
  color: var(--brand-blue);
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, color 0.3s ease;
}

.contact-link:hover {
  color: #004d85;
  border-color: #004d85;
}

/* ----------------------------------------
   FAQ SECTION
-----------------------------------------*/
.faq-section {
  background: #fafafa;
  color: #0c2440;
  padding: 100px 20px;
  font-family: 'Outfit', sans-serif;
}

.faq-section .section-title {
  text-align: left;
  font-size: 2.4rem;
  font-weight: 700;
  color: #0c2440;
  margin-bottom: 40px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.faq-item {
  border-top: 1px solid #d0d7e2;
  max-width: 1200px;
  margin: 0 auto;
}

.faq-item:last-child {
  border-bottom: 1px solid #d0d7e2;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  font-size: 1.1rem;
  font-weight: 600;
  color: #0c2440;
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  cursor: pointer;
  transition: color 0.3s ease;
}

.faq-question span:first-child {
  font-weight: 600;
  color: #1c4586;
  margin-right: 12px;
  flex-shrink: 0;
}

.faq-toggle {
  background: var(--brand-blue);
  color: #fff;
  font-size: 1.4rem;
  font-weight: bold;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease, transform 0.3s ease;
}

.faq-question:hover .faq-toggle {
  background: var(--accent-blue);
  color: #001527;
  transform: scale(1.05);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  font-size: 1rem;
  color: #333;
  line-height: 1.6;
  transition: max-height 0.4s ease, opacity 0.3s ease;
  opacity: 0;
  padding-left: 48px;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  opacity: 1;
  padding-bottom: 20px;
}

.faq-item.active .faq-toggle {
  background: #1c4586;
  transform: rotate(45deg);
}


/* ----------------------------------------
   FOOTER
-----------------------------------------*/

.footer {
  background-size: 500% 500%;
  animation: backgroundMotion 20s ease infinite;
  text-align: center;
  background-color: var(--brand-blue);
  padding: 40px 20px;
  color: #8899aa;
  font-size: 0.95rem;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-left {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  flex: 1;
  text-align: left;
}

.footer-logo {
  width: 50px;
  height: auto;
}

.footer-company {
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 5px;
}

.footer-tagline {
  font-style: italic;
  color: #8899aa;
  font-size: 0.9rem;
}

.footer-center {
  display: grid;
  grid-template-columns: repeat(2, auto);
  grid-template-rows: repeat(2, auto);
  gap: 10px 30px;
  justify-content: center;
  flex: 1;
}


.footer-center a {
  color: #66d9ff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.footer-center a:hover {
  color: #ffffff;
}

.footer-right {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 15px;
  flex: 1;
}

.social-icon {
  width: 24px;
  height: 24px;
  filter: brightness(0.85);
  transition: filter 0.3s ease, transform 0.2s ease;
}

.social-icon:hover {
  filter: brightness(1.2);
  transform: scale(1.1);
}

/* ----------------------------------------
   ANIMATIONS
-----------------------------------------*/
@keyframes backgroundMotion {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}