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

:root {
  --primary: #00C9FF;
  --secondary: #FF007A;
  --dark: #111827;
  --light: #F9FAFB;
  --gray: #6B7280;
  --border-radius: 10px;
}

body {
  font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
  color: var(--dark);
  background-color: #f5f5f7;
}

.container {
  width: 90%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

ul {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
}

img, svg {
  max-width: 100%;
  height: auto;
}

/* Top Banner */
.top-banner {
  background: linear-gradient(to right, var(--primary), var(--secondary));
  color: white;
  padding: 0.5rem 0;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 500;
}

/* Header Styles */
header {
  background-color: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo h1 {
  font-size: 1.25rem;
  color: var(--dark);
  background: linear-gradient(to right, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.logo-icon {
  flex-shrink: 0;
}

.menu-toggle {
  display: none;
  cursor: pointer;
  width: 30px;
  height: 22px;
  flex-direction: column;
  justify-content: space-between;
}

.menu-toggle span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: var(--dark);
  border-radius: 3px;
  transition: all 0.3s ease;
}

nav .main-menu {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

nav .main-menu a {
  font-weight: 500;
  color: var(--dark);
  padding: 0.5rem 0.25rem;
  border-bottom: 2px solid transparent;
  transition: all 0.3s ease;
}

nav .main-menu a:hover {
  color: var(--secondary);
  border-bottom: 2px solid var(--secondary);
}

/* Hero Section */
.hero {
  padding: 4rem 0;
  background-color: white;
  overflow: hidden;
  position: relative;
}

.hero .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.hero-text {
  flex: 1;
  z-index: 1;
}

.hero-text h2 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  color: var(--dark);
}

.hero-text p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: var(--gray);
}

.highlight-text {
  background: linear-gradient(to right, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-visual {
  flex: 1;
  z-index: 1;
}

.image-placeholder {
  width: 100%;
  height: 300px;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Button Styles */
.btn {
  display: inline-block;
  font-weight: 600;
  padding: 0.9rem 2rem;
  border-radius: 50px;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
}

.btn-cta {
  background: linear-gradient(to right, var(--primary), var(--secondary));
  color: white;
  box-shadow: 0 6px 15px rgba(255, 0, 122, 0.2);
}

.btn-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(255, 0, 122, 0.3);
}

.btn-block {
  width: 100%;
  display: block;
}

.btn-large {
  font-size: 1.2rem;
  padding: 1.2rem 3rem;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
}

/* Stats Bar */
.stats-bar {
  background-color: white;
  padding: 2rem 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

.stats-bar .container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--dark);
}

.stat-item svg {
  color: var(--primary);
  flex-shrink: 0;
}

.stat-item h4 {
  margin-bottom: 0.25rem;
  font-size: 1.1rem;
}

.stat-item p {
  color: var(--gray);
  font-size: 0.9rem;
}

/* Categories Section */
.categories {
  padding: 5rem 0;
}

.categories h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}

.category-card {
  background-color: white;
  border-radius: var(--border-radius);
  padding: 2rem;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

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

.category-card h3 {
  margin: 1.5rem 0 0.5rem;
  color: var(--dark);
}

.category-card p {
  color: var(--gray);
  font-size: 0.9rem;
}

/* Generator Section */
.generator {
  padding: 5rem 0;
  background-color: white;
}

.generator h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
}

.generator-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.generator-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-weight: 600;
}

.form-group textarea {
  height: 150px;
  resize: none;
  padding: 1rem;
  border: 1px solid #e0e0e0;
  border-radius: var(--border-radius);
  font-family: inherit;
  font-size: 0.95rem;
}

.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
}

.form-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-option label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.form-option select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #e0e0e0;
  border-radius: var(--border-radius);
  font-family: inherit;
  appearance: none;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23333333' viewBox='0 0 16 16'><path d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/></svg>") no-repeat;
  background-position: calc(100% - 15px) 50%;
}

.form-option select:focus {
  outline: none;
  border-color: var(--primary);
}

.generator-preview {
  border-radius: var(--border-radius);
  overflow: hidden;
  background-color: white;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.preview-container {
  height: 100%;
}

.age-notice {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--gray);
}

.age-notice svg {
  color: var(--primary);
}

/* How It Works Section */
.how-it-works {
  padding: 5rem 0;
  background-color: #f8f9fa;
}

.how-it-works h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
}

.steps {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.step-item {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.step-number {
  width: 50px;
  height: 50px;
  min-width: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(to bottom right, var(--primary), var(--secondary));
  color: white;
  font-size: 1.5rem;
  font-weight: bold;
  border-radius: 50%;
}

.step-content h3 {
  margin-bottom: 0.5rem;
  color: var(--dark);
}

.step-content p {
  color: var(--gray);
}

/* About Section */
.about {
  padding: 5rem 0;
  background-color: white;
}

.about h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 2rem;
}

.about-content {
  max-width: 800px;
  margin: 0 auto;
}

.about-content p {
  margin-bottom: 1.5rem;
  color: var(--gray);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--dark);
}

.feature svg {
  color: var(--secondary);
}

/* CTA Section */
.cta-section {
  padding: 5rem 0;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  text-align: center;
}

.cta-content {
  max-width: 700px;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.cta-content p {
  margin-bottom: 2rem;
  font-size: 1.2rem;
  opacity: 0.9;
}

/* Footer */
footer {
  background-color: var(--dark);
  color: white;
  padding: 4rem 0 1rem;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand {
  max-width: 300px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
}

.footer-group h4 {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  color: white;
  position: relative;
}

.footer-group h4::after {
  content: "";
  position: absolute;
  bottom: -0.5rem;
  left: 0;
  width: 30px;
  height: 3px;
  background: linear-gradient(to right, var(--primary), var(--secondary));
}

.footer-group ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-group ul a {
  color: rgba(255, 255, 255, 0.7);
  transition: all 0.3s ease;
}

.footer-group ul a:hover {
  color: white;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: 0.9rem;
}

.footer-bottom p {
  margin-bottom: 0.5rem;
  color: rgba(255, 255, 255, 0.7);
}

.disclaimer {
  font-size: 0.8rem;
  opacity: 0.7;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .hero-text h2 {
    font-size: 2.5rem;
  }

  .generator-content {
    grid-template-columns: 1fr;
  }

  .categories-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
    z-index: 1001;
  }

  .menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
  }

  nav .main-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background-color: white;
    flex-direction: column;
    padding-top: 5rem;
    transition: all 0.3s ease;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
    z-index: 1000;
  }

  nav .main-menu.active {
    right: 0;
  }

  nav .main-menu a {
    display: block;
    width: 100%;
    padding: 1rem 2rem;
    border-bottom: 1px solid #f0f0f0;
  }

  .hero .container {
    flex-direction: column;
  }

  .hero-text {
    text-align: center;
  }

  .hero-text h2 {
    font-size: 2rem;
  }

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

  .stats-bar .container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .stat-item {
    flex-direction: column;
  }

  .step-item {
    flex-direction: column;
    text-align: center;
  }

  .step-number {
    margin: 0 auto 1rem;
  }

  .footer-content {
    flex-direction: column;
  }

  .footer-brand {
    text-align: center;
    max-width: 100%;
  }

  .footer-logo {
    justify-content: center;
  }

  .footer-links {
    justify-content: space-around;
    width: 100%;
  }

  .footer-group h4::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .footer-group {
    text-align: center;
  }
}
