/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  background: linear-gradient(
    135deg,
    #0f0f23 0%,
    #1a1a2e 25%,
    #16213e 50%,
    #0f3460 75%,
    #1e3c72 100%
  );
  background-size: 400% 400%;
  animation: gradientShift 20s ease infinite;
  min-height: 100vh;
  color: #ffffff;
  position: relative;
  overflow-x: hidden;
}

/* Modern background pattern overlay */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(
      circle at 25% 25%,
      rgba(77, 208, 225, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 75% 75%,
      rgba(129, 199, 132, 0.1) 0%,
      transparent 50%
    ),
    linear-gradient(
      45deg,
      transparent 40%,
      rgba(77, 208, 225, 0.02) 50%,
      transparent 60%
    );
  z-index: -1;
  animation: patternMove 30s ease-in-out infinite;
}

@keyframes patternMove {
  0%,
  100% {
    transform: translateX(0) translateY(0);
  }
  25% {
    transform: translateX(-10px) translateY(-10px);
  }
  50% {
    transform: translateX(10px) translateY(10px);
  }
  75% {
    transform: translateX(-5px) translateY(15px);
  }
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

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

/* Header Styles */
.header {
  background: rgba(15, 15, 35, 0.95);
  backdrop-filter: blur(20px);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  transition: all 0.3s ease;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
  border-bottom: 1px solid rgba(77, 208, 225, 0.2);
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 20px;
}

.logo {
  display: flex;
  align-items: center;
  font-size: 1.5rem;
  font-weight: bold;
  color: #4dd0e1;
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(1.05);
}

.logo i {
  margin-right: 0.5rem;
  font-size: 1.8rem;
}

.nav {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-item {
  position: relative;
}

.nav-link {
  text-decoration: none;
  color: #ffffff;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 25px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.dropdown-arrow {
  font-size: 0.8rem;
  transition: transform 0.3s ease;
}

.dropdown:hover .dropdown-arrow {
  transform: rotate(180deg);
}

.nav-link::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #4dd0e1, #81c784);
  transition: left 0.3s ease;
  z-index: -1;
}

.nav-link:hover::before {
  left: 0;
}

.nav-link:hover {
  color: white;
  transform: translateY(-2px);
}

/* Dropdown Menu */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(15, 15, 35, 0.98);
  backdrop-filter: blur(20px);
  border-radius: 15px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(77, 208, 225, 0.3);
  min-width: 600px;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1000;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown-section {
  display: flex;
  flex-direction: column;
}

.dropdown-section h4 {
  color: #4dd0e1;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid rgba(77, 208, 225, 0.2);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.dropdown-link {
  text-decoration: none;
  color: #ffffff;
  padding: 0.6rem 0.8rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.9rem;
  margin-bottom: 0.2rem;
  position: relative;
  overflow: hidden;
}

.dropdown-link::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(77, 208, 225, 0.1),
    rgba(129, 199, 132, 0.1)
  );
  transition: left 0.3s ease;
  z-index: -1;
}

.dropdown-link:hover::before {
  left: 0;
}

.dropdown-link:hover {
  color: #4dd0e1;
  transform: translateX(5px);
  background: rgba(77, 208, 225, 0.05);
}

.dropdown-link i {
  font-size: 1rem;
  width: 16px;
  text-align: center;
  color: #81c784;
  transition: all 0.3s ease;
}

.dropdown-link:hover i {
  color: #4dd0e1;
  transform: scale(1.1);
}

.dropdown-link.disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

.dropdown-link.disabled i {
  color: #ccc;
}

/* Hero Section */
.hero {
  margin-top: 80px;
  padding: 5rem 0;
  text-align: center;
  color: white;
  position: relative;
}

.hero-bg-pattern {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
      circle at 20% 80%,
      rgba(77, 208, 225, 0.15) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 20%,
      rgba(129, 199, 132, 0.15) 0%,
      transparent 50%
    );
  animation: heroPattern 15s ease-in-out infinite;
}

@keyframes heroPattern {
  0%,
  100% {
    opacity: 0.7;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.05);
  }
}

.hero-title {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 1s ease;
}

.hero-subtitle {
  font-size: 1.2rem;
  opacity: 0.9;
  animation: fadeInUp 1s ease 0.2s both;
}

.hero-features {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.feature-badge {
  background: rgba(77, 208, 225, 0.2);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(77, 208, 225, 0.3);
  padding: 0.5rem 1rem;
  border-radius: 25px;
  font-size: 0.9rem;
  color: #4dd0e1;
  transition: all 0.3s ease;
}

.feature-badge:hover {
  background: rgba(77, 208, 225, 0.3);
  transform: translateY(-2px);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Tools Section */
.tools-section {
  padding: 4rem 0;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: white;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

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

.tool-card {
  background: rgba(15, 15, 35, 0.8);
  backdrop-filter: blur(15px);
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1px solid rgba(77, 208, 225, 0.2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.tool-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(77, 208, 225, 0.2);
  background: rgba(15, 15, 35, 0.95);
  border-color: rgba(77, 208, 225, 0.4);
}

.tool-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #4dd0e1, #81c784);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  transition: all 0.3s ease;
}

.tool-card:hover .tool-icon {
  background: linear-gradient(135deg, #26c6da, #66bb6a);
  transform: scale(1.1);
}

.tool-icon i {
  font-size: 2rem;
  color: white;
}

.tool-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: #ffffff;
}

.tool-card p {
  color: #b0b0b0;
  font-size: 0.9rem;
}

/* SEO Content Sections */
.content-section {
  padding: 4rem 0;
}

.content-section.alt-bg {
  background: rgba(10, 10, 20, 0.5);
}

.section-subtitle {
  text-align: center;
  font-size: 1.1rem;
  color: #b0b0b0;
  margin-top: -2rem;
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Features Grid (Card Design) */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.feature-card {
  text-align: center;
  padding: 2.5rem 2rem;
  background: rgba(15, 15, 35, 0.8);
  border-radius: 20px;
  border: 1px solid rgba(77, 208, 225, 0.2);
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(77, 208, 225, 0.2);
  border-color: rgba(77, 208, 225, 0.4);
}

.feature-icon {
  font-size: 2.5rem;
  color: #4dd0e1;
  margin-bottom: 1rem;
}

.feature-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.feature-card p {
  color: #b0b0b0;
  font-size: 0.9rem;
}

/* FAQ Section (Accordion) */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: rgba(15, 15, 35, 0.8);
  border-radius: 10px;
  margin-bottom: 1rem;
  border: 1px solid rgba(77, 208, 225, 0.2);
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-question {
  padding: 1.5rem;
  font-size: 1.1rem;
  cursor: pointer;
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
}

.faq-question::after {
  content: "+";
  font-size: 1.8rem;
  color: #4dd0e1;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-question::after {
  transform: rotate(45deg);
}

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

.faq-answer p {
  padding: 0 1.5rem 1.5rem;
  color: #b0b0b0;
  line-height: 1.7;
  border-top: 1px solid rgba(77, 208, 225, 0.1);
  padding-top: 1.5rem;
  margin-top: -1px;
}

.faq-item.active .faq-answer {
  max-height: 200px; /* Adjust if answers are longer */
}

/* Footer */
.footer {
  background: rgba(10, 10, 20, 0.95);
  backdrop-filter: blur(10px);
  color: white;
  margin-top: 4rem;
  border-top: 1px solid rgba(77, 208, 225, 0.2);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  padding: 3rem 0;
}

.footer-section h4 {
  color: #4dd0e1;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  font-size: 1.5rem;
  font-weight: bold;
  color: #4dd0e1;
  margin-bottom: 1rem;
  gap: 0.5rem;
}

.footer-desc {
  color: #b0b0b0;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(77, 208, 225, 0.1);
  border: 1px solid rgba(77, 208, 225, 0.3);
  border-radius: 50%;
  color: #4dd0e1;
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-links a:hover {
  background: rgba(77, 208, 225, 0.2);
  transform: translateY(-2px);
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: #b0b0b0;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #4dd0e1;
}

.footer-bottom {
  border-top: 1px solid rgba(77, 208, 225, 0.1);
  padding: 2rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-badges {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.badge {
  background: rgba(77, 208, 225, 0.1);
  border: 1px solid rgba(77, 208, 225, 0.3);
  padding: 0.3rem 0.8rem;
  border-radius: 15px;
  font-size: 0.8rem;
  color: #4dd0e1;
}
.button-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

/* UPDATED: Universal Button Styling */
.gradient-btn {
  background: transparent;
  color: white;
  border: 2px solid #4dd0e1;
  padding: 1rem 2rem;
  border-radius: 25px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.gradient-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #4dd0e1, #81c784);
  transition: left 0.4s ease;
  z-index: -1;
}

.gradient-btn:hover::before {
  left: 0;
}

.gradient-btn:hover {
  color: white;
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(77, 208, 225, 0.3);
}

.gradient-btn.secondary {
  border-color: #81c784;
}
/* Responsive Design */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .tools-grid {
    grid-template-columns: 1fr;
  }

  .input-group {
    flex-direction: column;
  }

  .input-field {
    min-width: 100%;
  }

  .button-group {
    justify-content: center;
  }

  .nav {
    gap: 1rem;
  }

  .nav-link {
    padding: 0.3rem 0.8rem;
    font-size: 0.9rem;
  }

  .dropdown-menu {
    position: fixed;
    top: 80px;
    left: 20px;
    right: 20px;
    min-width: unset;
    transform: translateY(-10px);
    grid-template-columns: 1fr;
  }

  .dropdown:hover .dropdown-menu {
    transform: translateY(0);
  }

  .header .container {
    flex-wrap: wrap;
  }

  .nav {
    flex-wrap: wrap;
    justify-content: center;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .hero-features {
    justify-content: center;
  }
}
