body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background-color: #0e1a2b;
  color: white;
  overflow-x: hidden;
  zoom: 0.9; /* Simulates CMD-minus effect */
}

.nav-wrapper {
  padding: 0 20px;
  background-color: transparent;
  position: relative;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  background-color: transparent;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.logo {
  font-weight: 700;
  font-size: 20px;
  color: white;
  transition: color 0.3s ease, transform 0.3s ease;
}

.nav-container {
  display: flex;
  align-items: center;
  gap: 20px;
}

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

.nav-links li a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  position: relative;
  transition: color 0.3s ease;
}

.nav-links li a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: #5cc8ff;
  transition: width 0.3s ease;
}

.nav-links li a:hover {
  color: #5cc8ff;
}

.nav-links li a:hover::after {
  width: 100%;
}

.btn-nav {
  padding: 8px 16px;
  background-color: #1c2f4d;
  border-radius: 8px;
  text-decoration: none;
  color: white;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.btn-nav:hover {
  background-color: #2a4066;
  transform: scale(1.05);
}

.mobile-menu-button {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
  z-index: 1000;
}

/* Mobile menu styles */
@media screen and (max-width: 768px) {
  .mobile-menu-button {
    display: block;
  }
  
  .nav-container {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 250px;
    background-color: #162842;
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 70px;
    transition: right 0.3s ease;
    z-index: 100;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2);
  }
  
  .nav-container.mobile-active {
    right: 0;
  }
  
  .nav-links {
    flex-direction: column;
    width: 100%;
    align-items: center;
  }
  
  .nav-links li {
    margin: 15px 0;
  }
}

header {
  padding: 60px 20px;
  background: radial-gradient(circle at top left, #162842, #0e1a2b);
  position: relative;
  overflow: hidden;
}

.header-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.header-content {
  max-width: 600px;
  z-index: 2;
  flex: 1;
  min-width: 300px;
}

.header-image {
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1;
  flex-shrink: 0;
}

h1 {
  font-size: 42px;
  margin-bottom: 20px;
  line-height: 1.2;
}

.highlight {
  color: #5cc8ff;
}

header p {
  font-size: 18px;
  color: #c5d0e0;
  margin-bottom: 30px;
}

.btn-primary {
  background-color: #338fff;
  color: white;
  text-decoration: none;
  padding: 14px 24px;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-block;
}

.btn-primary:hover {
  background-color: #1a78ff;
  transform: scale(1.05);
}

.cat-image {
  width: 300px;
  max-width: 100%;
  height: auto;
  transition: transform 0.3s ease;
}

/* Responsive header */
@media screen and (max-width: 768px) {
  header {
    padding: 40px 20px;
  }
  
  .header-container {
    flex-direction: column;
    text-align: center;
  }
  
  .header-content {
    order: 2;
  }
  
  .header-image {
    order: 1;
    margin-bottom: 30px;
  }
  
  h1 {
    font-size: 32px;
  }
  
  header p {
    font-size: 16px;
  }
  
  .cat-image {
    width: 220px;
  }
}

.features-wrapper {
  width: 100%;
  background-color: #14273d;
  padding: 60px 0;
}

.features {
  display: flex;
  justify-content: center;
  gap: 40px;
  padding: 0 20px;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.feature-box {
  flex: 1;
  min-width: 280px;
  max-width: 400px;
  background-color: #1c344e;
  padding: 30px;
  border-radius: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeIn 0.5s forwards;
  margin-bottom: 20px;
}

.feature-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.feature-active {
  background-color: #234263;
  box-shadow: 0 5px 15px rgba(92, 200, 255, 0.3);
}

/* Domain Analyzer Styles */
.domain-analyzer {
  width: calc(100% - 30px);
  max-width: 800px;
  background-color: #1c344e;
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  margin: 0 auto;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeIn 0.5s forwards;
  box-sizing: border-box;
}

.analyzer-header {
  text-align: center;
  margin-bottom: 30px;
}

.analyzer-header h2 {
  color: white;
  font-size: 32px;
  margin-bottom: 10px;
}

.analyzer-header p {
  color: #c5d0e0;
  font-size: 16px;
}

.domain-form {
  display: flex;
  gap: 15px;
  margin-bottom: 30px;
}

.input-container {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
  background-color: #14273d;
  border-radius: 8px;
  border: 2px solid #2a4066;
  padding: 0 15px;
  transition: all 0.3s ease;
}

.input-container:focus-within {
  border-color: #5cc8ff;
  box-shadow: 0 0 0 3px rgba(92, 200, 255, 0.2);
}

.input-container i {
  color: #5cc8ff;
  margin-right: 10px;
}

#domain-input {
  flex: 1;
  background: none;
  border: none;
  color: white;
  font-size: 16px;
  padding: 15px 0;
  outline: none;
  width: 100%;
}

#domain-input::placeholder {
  color: #8899aa;
}

.input-error {
  animation: shake 0.5s cubic-bezier(.36,.07,.19,.97) both;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-5px); }
  40%, 80% { transform: translateX(5px); }
}

.btn-analyze {
  background-color: #338fff;
  color: white;
  border: none;
  padding: 0 25px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-analyze:hover {
  background-color: #1a78ff;
  transform: scale(1.05);
}

.btn-analyze i {
  font-size: 16px;
}

.domain-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.domain-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  background-color: #14273d;
  padding: 15px;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.domain-feature:hover {
  background-color: #1a2e44;
  transform: translateY(-3px);
}

.domain-feature i {
  color: #5cc8ff;
  font-size: 18px;
}

.domain-feature span {
  font-size: 14px;
  font-weight: 500;
}

/* Responsive domain analyzer */
@media screen and (max-width: 768px) {
  .domain-analyzer {
    padding: 20px;
    width: calc(100% - 20px);
    margin: 0 auto;
  }
  
  .domain-form {
    flex-direction: column;
  }
  
  .btn-analyze {
    width: 100%;
    justify-content: center;
    padding: 15px;
  }
  
  .domain-features {
    grid-template-columns: 1fr 1fr;
  }
  
  .features {
    padding: 0 10px;
  }
}

@keyframes fadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeIn 0.5s forwards;
}

.feature-content {
  display: flex;
  align-items: flex-start;
  text-align: left;
}

.feature-text {
  flex: 1;
}

.feature-box h3 {
  color: #5cc8ff;
  margin-top: 0;
  margin-bottom: 10px;
}

.icon {
  margin-right: 20px;
  font-size: 42px;
  color: #5cc8ff;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background-color: rgba(92, 200, 255, 0.1);
  border-radius: 12px;
  margin-top: 5px;
}

.audience {
  padding: 60px 20px;
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
  background-color: #0e1a2b;
}

.audience h2 {
  font-size: 28px;
  margin-bottom: 30px;
}

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

.audience-box {
  background-color: #1a2e44;
  padding: 20px;
  border-radius: 12px;
  max-width: 280px;
  min-width: 220px;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 0;
  transform: translateY(20px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.audience-cat {
  width: 120px;
  height: auto;
  margin-bottom: 15px;
  transition: transform 0.3s ease;
}

.audience-box:hover .audience-cat {
  transform: scale(1.1);
}

.footer-wrapper {
  background-color: #0c1626;
  padding: 40px;
  text-align: center;
}

footer {
  text-align: center;
  font-size: 14px;
  color: #8899aa;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Responsive features section */
@media screen and (max-width: 768px) {
  .features {
    flex-direction: column;
    align-items: center;
    padding: 0 15px;
  }
  
  .feature-box {
    width: 100%;
    min-width: auto;
    max-width: 100%;
    padding: 20px;
    margin-left: 10px;
    margin-right: 10px;
    box-sizing: border-box;
  }
  
  .feature-content {
    flex-direction: column;
  }
  
  .icon {
    margin-right: 0;
    margin-bottom: 15px;
  }
  
  .feature-text {
    text-align: center;
  }
  
  .audience-grid {
    flex-direction: column;
    align-items: center;
  }
  
  .audience-box {
    width: 100%;
    max-width: 320px;
  }
}


