* {
  box-sizing: border-box;
}

body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  min-height: 100vh;
  margin: 0;
  font-family: 'Roboto', sans-serif;
  transition: background-color 0.3s ease, color 0.3s ease;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-color-scheme: dark) {
  body {
    background-color: #000;
    color: white;
  }
}

@media (prefers-color-scheme: light) {
  body {
    background-color: #fff;
    color: black;
  }
}

/* Navigation */
.navigation {
  width: 100%;
  background: rgba(102, 126, 234, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(102, 126, 234, 0.3);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: all 0.3s ease;
}

@media (prefers-color-scheme: dark) {
  .navigation {
    background: rgba(76, 96, 204, 0.95);
    border-bottom: 1px solid rgba(76, 96, 204, 0.3);
  }
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
}

.nav-logo-img {
  height: 40px;
  width: auto;
}

.nav-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 2rem;
  align-items: center;
}

.nav-menu a {
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  transition: all 0.3s ease;
}

@media (prefers-color-scheme: dark) {
  .nav-menu a {
    color: white;
  }
  .nav-menu a:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
  }
  .nav-menu a.active {
    background: rgba(255, 255, 255, 0.2);
  }
}

@media (prefers-color-scheme: light) {
  .nav-menu a {
    color: black;
  }
  .nav-menu a:hover {
    background: rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
  }
  .nav-menu a.active {
    background: rgba(0, 0, 0, 0.1);
  }
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  width: 32px;
  height: 24px;
  justify-content: space-between;
}

.hamburger-line {
  width: 24px;
  height: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
  border-radius: 1px;
}

.hamburger-line:nth-child(1) {
  margin-top: -2px;
}

@media (prefers-color-scheme: dark) {
  .hamburger-line {
    background-color: white;
  }
}

@media (prefers-color-scheme: light) {
  .hamburger-line {
    background-color: black;
  }
}

.mobile-menu-toggle.menu-open .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(2.5px, 3.5px);
}

.mobile-menu-toggle.menu-open .hamburger-line:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.menu-open .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(2.5px, -3.5px);
}

/* Content */
.content-container {
  flex: 1;
  width: 100%;
}

/* Hero Section */
.hero-section {
  padding: 3rem 2rem;
  text-align: center;
}

.logo-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-logo {
  max-width: 200px;
  height: auto;
  margin-bottom: 1rem;
}

.page-title {
  font-size: 3.5em;
  font-weight: bold;
  text-align: center;
  margin: 0 0 1rem 0;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.3em;
  text-align: center;
  margin-bottom: 2rem;
  opacity: 0.8;
}

/* Feature Cards */
.features-section {
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0 2rem;
}

.features-section h2 {
  text-align: center;
  font-size: 2.5em;
  margin: 0 0 2rem 0;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

@media (min-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
    max-width: 1000px;
    margin: 0 auto;
  }
}

.feature-card {
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  transition: all 0.3s ease;
}

@media (prefers-color-scheme: dark) {
  .feature-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
  }
  .feature-card:hover {
    background: rgba(255, 255, 255, 0.12);
  }
}

@media (prefers-color-scheme: light) {
  .feature-card {
    background: rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.15);
  }
  .feature-card:hover {
    background: rgba(0, 0, 0, 0.08);
  }
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: block;
}

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

.feature-card p {
  opacity: 0.8;
  font-size: 0.95em;
  line-height: 1.5;
}

/* Intro Section */
.intro-section {
  max-width: 800px;
  margin: 2rem auto 3rem auto;
  padding: 0 2rem;
  text-align: center;
}

.intro-section h2 {
  font-size: 2em;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.intro-section p {
  font-size: 1.2em;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  opacity: 0.9;
}

/* CTA Buttons */
.cta-section {
  text-align: center;
  padding: 3rem 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.cta-section h2 {
  font-size: 2em;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.cta-section p {
  font-size: 1.1em;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-button {
  display: inline-block;
  padding: 1rem 2rem;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
}

.cta-button.primary {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

@media (prefers-color-scheme: light) {
  .cta-button.primary {
    background: linear-gradient(135deg, #4c60c6 0%, #5c3a82 100%);
  }
}

.cta-button.primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(103, 126, 234, 0.3);
}

.cta-button.secondary {
  background: transparent;
  border: 2px solid;
  border-image: linear-gradient(135deg, #667eea 0%, #764ba2 100%) 1;
  color: inherit;
}

@media (prefers-color-scheme: light) {
  .cta-button.secondary {
    border-image: linear-gradient(135deg, #4c60c6 0%, #5c3a82 100%) 1;
  }
}

.cta-button.secondary:hover {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

@media (prefers-color-scheme: light) {
  .cta-button.secondary:hover {
    background: linear-gradient(135deg, #4c60c6 0%, #5c3a82 100%);
  }
}

/* Contact Form */
.contact-main {
  max-width: 600px;
  margin: 0 auto 4rem auto;
  padding: 0 2rem;
}

.contact-form {
  margin: 0 auto 2rem auto;
}

.contact-form button[type="submit"] {
  display: block;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0.2);
  font-family: 'Roboto', sans-serif;
  font-size: 1rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

@media (prefers-color-scheme: dark) {
  .form-group input,
  .form-group textarea {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
    color: white;
  }
  .form-group input::placeholder,
  .form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
  }
}

@media (prefers-color-scheme: light) {
  .form-group input,
  .form-group textarea {
    background-color: #f8f9fa;
    border-color: rgba(0, 0, 0, 0.3);
    color: black;
  }
  .form-group input::placeholder,
  .form-group textarea::placeholder {
    color: rgba(0, 0, 0, 0.5);
  }
}

.contact-email {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.95rem;
  opacity: 0.8;
}

.contact-email a {
  text-decoration: underline;
  color: inherit;
}

/* Privacy Page */
.privacy-content {
  max-width: 800px;
  margin: 0 auto 4rem auto;
  padding: 0 2rem;
}

.privacy-section {
  margin-bottom: 2.5rem;
}

.privacy-section h2 {
  font-size: 1.8em;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.privacy-section p {
  line-height: 1.6;
  margin-bottom: 1rem;
}

.privacy-section a {
  color: #667eea;
  text-decoration: none;
}

.privacy-section a:hover {
  text-decoration: underline;
}

@media (prefers-color-scheme: dark) {
  .privacy-section a {
    color: #8b9bf4;
  }
}

.info-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}

.info-list li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
}

.info-list li::before {
  content: "-";
  position: absolute;
  left: 0;
  color: #667eea;
}

/* Footer */
.footer {
  text-align: center;
  width: 100%;
  padding: 2rem;
  opacity: 0.8;
}

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

.footer a:hover {
  text-decoration: underline;
}

/* Mobile Styles */
@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: flex;
  }

  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: inherit;
    border-bottom: 1px solid;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 1rem 0;
    gap: 0;
  }

  .nav-menu.mobile-menu-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  @media (prefers-color-scheme: dark) {
    .nav-menu {
      background: rgba(0, 0, 0, 0.95);
      border-bottom-color: rgba(255, 255, 255, 0.1);
    }
  }

  @media (prefers-color-scheme: light) {
    .nav-menu {
      background: rgba(255, 255, 255, 0.95);
      border-bottom-color: rgba(0, 0, 0, 0.1);
    }
  }

  .nav-menu li {
    width: 100%;
    text-align: center;
    padding: 0 1rem;
  }

  .nav-menu a {
    font-size: 1.2em;
    padding: 1rem;
    display: block;
    width: 100%;
  }

  .page-title {
    font-size: 2.5em;
  }

  .hero-subtitle {
    font-size: 1.1em;
  }

  .hero-logo {
    max-width: 150px;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .features-section h2,
  .intro-section h2,
  .cta-section h2 {
    font-size: 1.8em;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .cta-button {
    width: 100%;
    max-width: 280px;
    text-align: center;
  }
}
