/* ========== GLOBAL STYLES ========== */
body {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: #0a001a;
  color: #ffffff;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
  padding: 0;
}

/* ========== NAVIGATION ========== */
nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #1a0033;
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 10px rgba(159, 122, 234, 0.2);
}


.logo {
  font-size: 1.8em;
  font-weight: bold;
  color: #9f7aea;
  text-shadow: 0 0 8px #9f7aea88;
}

.nav-links {
  display: flex;
  gap: 25px;
}

.nav-links li a {
  color: #fff;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links li a:hover {
  color: #9f7aea;
}

/* ========== HERO SECTION ========== */
.hero {
  height: 40vh;
  background: linear-gradient(to right, #1f003d, #3d0066);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px;
}

.hero h1 {
  font-size: 3em;
  margin-bottom: 20px;
  color: #ffffff;
  text-shadow: 0 0 12px #9f7aea;
}

.hero p {
  font-size: 1.2em;
  color: #ccc;
  max-width: 600px;
  margin: 0 auto 30px;
}

.cta-button {
  padding: 12px 30px;
  background: linear-gradient(to right, #9f7aea, #7f5bdc);
  border-radius: 30px;
  font-weight: bold;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 0 15px #9f7aea66;
  transition: 0.3s ease;
}

.cta-button:hover {
  transform: scale(1.05);
  background: linear-gradient(to right, #7f5bdc, #9f7aea);
}

/* ========== FEATURES SECTION ========== */
.features {
  background: #140029;
  padding: 80px 40px;
  text-align: center;
}

.features h2 {
  font-size: 2.2em;
  margin-bottom: 40px;
  text-shadow: 0 0 8px #9f7aea88;
}

.feature-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.feature {
  background: #1f003d;
  border: 2px solid #7f5bdc44;
  border-radius: 12px;
  padding: 30px;
  width: 280px;
  box-shadow: 0 0 15px rgba(127, 91, 220, 0.2);
}

.feature h3 {
  color: #9f7aea;
  margin-bottom: 10px;
}

.feature p {
  font-size: 0.95em;
  color: #ccc;
}

/* ========== PRICING SECTION ========== */
.pricing {
  padding: 80px 20px;
  background: #12002e;
  text-align: center;
}

.pricing h2 {
  font-size: 2.4em;
  margin-bottom: 40px;
  color: #ffffff;
  text-shadow: 0 0 10px #9f7aea99;
}

.pricing-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.pricing-plan {
  background: rgba(31, 0, 61, 0.95);
  border-radius: 18px;
  width: 300px;
  padding: 30px 25px 50px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 2px solid #9f7aea;
  box-shadow:
    0 0 15px rgba(159, 122, 234, 0.4),
    0 0 30px rgba(127, 91, 220, 0.3),
    inset 0 0 25px rgba(127, 91, 220, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin: 15px;
}

.pricing-plan:hover {
  transform: translateY(-8px);
  box-shadow:
    0 0 35px rgba(159, 122, 234, 0.8),
    0 0 50px rgba(127, 91, 220, 0.6),
    inset 0 0 40px rgba(127, 91, 220, 0.5);
}

.pricing-plan h3 {
  font-size: 1.4em;
  margin-bottom: 10px;
  color: #9f7aea;
  text-shadow: 0 0 5px #7f5bdc;
}

.price {
  font-size: 2em;
  font-weight: bold;
  margin: 10px 0 25px;
  color: #ffffff;
  text-shadow: 0 0 10px #9f7aea77;
}

.pricing-plan ul {
  padding-left: 20px;
  list-style-type: disc;
  margin-bottom: 35px;
  text-align: left;
}

.pricing-plan ul li {
  margin-bottom: 10px;
  color: #ccc;
  font-size: 0.95em;
}

.plan-btn {
  margin-top: 20px;
  padding: 14px 28px;
  background: linear-gradient(to right, #9f7aea, #7f5bdc);
  border-radius: 30px;
  font-weight: bold;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 0 15px #a78bfa;
  transition: all 0.3s ease;
  font-size: 1rem;
}

.plan-btn:hover {
  background: linear-gradient(to right, #7f5bdc, #9f7aea);
  transform: scale(1.05);
}


/* ========== FOOTER ========== */
footer {
  background: #1a0033;
  text-align: center;
  padding: 30px;
  font-size: 0.9em;
  color: #aaa;
  border-top: 1px solid #7f5bdc33;
}


.welcome-section {
  background: #0e0020;
  padding: 60px 20px;
  text-align: center;
}

.welcome-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

.welcome-section h2 {
  font-size: 2em;
  margin-bottom: 20px;
  color: #ffffff;
  text-shadow: 0 0 8px #9f7aea99;
}

.welcome-section p {
  font-size: 1.1em;
  color: #ddd;
  line-height: 1.8;
}

html {
  scroll-behavior: smooth;
}


/* ========== blog page ========== */
.blog-index {
  padding: 80px 20px;
  max-width: 1000px;
  margin: 0 auto;
  color: #fff;
  text-align: center;
}

.blog-index h1 {
  font-size: 2.5em;
  margin-bottom: 40px;
  text-shadow: 0 0 10px #9f7aeaaa;
}

.blog-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.post-link {
  background: #1f003d;
  padding: 30px;
  border-radius: 16px;
  text-align: left;
  color: #fff;
  box-shadow: 0 0 15px rgba(127, 91, 220, 0.3);
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.post-link h3 {
  margin-top: 0;
  color: #9f7aea;
}

.post-link p {
  color: #ccc;
  font-size: 0.95em;
}

.post-link:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 25px rgba(159, 122, 234, 0.6);
}

/*Article styling*/

/* ========== BLOG POST STYLES ========== */
.blog-post-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 20px;
  color: #ffffff;
  line-height: 1.8;
  font-size: 1.05em;
}

.blog-post-container h1 {
  font-size: 2.5em;
  margin-bottom: 20px;
  color: #9f7aea;
  text-shadow: 0 0 8px #7f5bdc77;
}

.blog-post-container p {
  margin-bottom: 20px;
  color: #ddd;
}

.blog-post-container ul {
  margin-left: 20px;
  padding-left: 20px;
  color: #ccc;
}

.blog-post-container li {
  margin-bottom: 10px;
}

.blog-post-container blockquote {
  background: #1f003d;
  border-left: 4px solid #9f7aea;
  padding: 15px 25px;
  margin: 30px 0;
  font-style: italic;
  color: #ccc;
  box-shadow: 0 0 10px rgba(127, 91, 220, 0.2);
}

.blog-post-container h2 {
  margin-top: 40px;
  color: #9f7aea;
  text-shadow: 0 0 6px #7f5bdc99;
}

/* FAQ Section */
.faq-section {
  padding: 60px 20px;
  background-color: #100026;
  color: #ffffff;
  text-align: center;
}

.faq-section h2 {
  font-size: 2.5rem;
  margin-bottom: 40px;
  color: #ffffff;
  text-shadow: 0 0 8px #a66bff;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
}

.faq-item {
  margin-bottom: 20px;
  border-bottom: 1px solid #5a2ebf;
  padding-bottom: 10px;
}

.faq-question {
  background: none;
  border: none;
  color: #a66bff;
  font-size: 1.2rem;
  font-weight: bold;
  cursor: pointer;
  padding: 10px 0;
  width: 100%;
  text-align: left;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.4s ease;
  opacity: 0;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  opacity: 1;
}

/* CONTACT PAGE */
.contact-section {
  padding: 60px 20px;
  background-color: #100026;
  color: #ffffff;
  text-align: center;
}

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

.contact-section h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: #ffffff;
  text-shadow: 0 0 8px #a66bff;
}

.contact-section p {
  font-size: 1.1rem;
  margin-bottom: 40px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-form input,
.contact-form textarea {
  padding: 15px;
  border: none;
  border-radius: 10px;
  background: #1c0036;
  color: #fff;
  font-size: 1rem;
  box-shadow: 0 0 5px #a66bff33;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #bbb;
}

.contact-form button {
  background: #a66bff;
  border: none;
  padding: 15px;
  font-size: 1rem;
  font-weight: bold;
  color: #fff;
  border-radius: 30px;
  cursor: pointer;
  box-shadow: 0 0 12px #a66bff80;
  transition: background 0.3s ease;
}

.contact-form button:hover {
  background: #8c4ef0;
}

/* Highlighted links inside blog posts */
.blog-post-container a {
  color: #00ffc8; /* Neon turquoise */
  font-weight: bold;
  text-decoration: underline;
  transition: all 0.3s ease;
  background: linear-gradient(90deg, rgba(0,255,200,0.1) 0%, rgba(0,255,255,0.15) 100%);
  padding: 2px 4px;
  border-radius: 4px;
}

.blog-post-container a:hover {
  color: #ffffff;
  background: #00ffc8;
  text-decoration: none;
}

.IQuantum-Logo {
  height: 80px;        /* Adjust height as needed */
  width: auto;               /* Keeps aspect ratio */
  display: block;            /* Removes extra spacing */
  object-fit: contain;       /* Ensures it scales nicely */
  transition: transform 0.3s ease; /* Optional hover effect */
}

.IQuantum-Logo:hover {
  transform: scale(1.05);    /* Slight zoom on hover */
}

/* Desktop nav by default */
.nav-links {
  display: flex;
  gap: 1rem;
  list-style: none;
}

/* Hide hamburger by default (desktop) */
.hamburger {
  display: none;
  font-size: 24px;
  cursor: pointer;
  color: white;
  padding: 10px;
}

/* Mobile styles */
@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    background-color: #180028;
    position: absolute;
    top: 60px;
    right: 0;
    width: 100%;
    padding: 10px 0;
    z-index: 1000;
  }

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

  .nav-links li {
    margin: 10px 0;
    text-align: center;
  }

  nav {
    flex-direction: column;
    align-items: flex-start;
  }
}
