/* Landing Page Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: #1a1a1a;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

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

    /* Header */
    .header {
      background: rgba(255, 255, 255, 0.95);
      backdrop-filter: blur(10px);
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      z-index: 1000;
      padding: 1rem 0;
      box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    }

    /* Adjust header position when flash message is present */
    body:has(.flash-message) .header {
      top: 80px;
    }

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

    .logo-container {
      display: flex;
      align-items: center;
      gap: 12px;
    }

    .logo {
      height: 40px;
      width: auto;
    }

    .app-name {
      font-size: 1.5rem;
      font-weight: 700;
      color: #A6316F;
    }

    .logo-link {
      text-decoration: none;
      color: inherit;
      display: flex;
      align-items: center;
      gap: 12px;
    }

    .download-btn {
      background: linear-gradient(135deg, #E8AEB7 0%, #A6316F 100%);
      color: white;
      padding: 12px 24px;
      border-radius: 25px;
      text-decoration: none;
      font-weight: 600;
      transition: all 0.3s ease;
      box-shadow: 0 4px 15px rgba(232, 174, 183, 0.3);
    }

    .download-btn:hover {
      transform: translateY(-2px);
      box-shadow: 0 6px 20px rgba(232, 174, 183, 0.4);
    }

    /* Hero Section */
    .hero {
      padding: 120px 0 80px;
      text-align: center;
      background: linear-gradient(135deg, #E8AEB7 0%, #A6316F 100%);
      color: white;
      position: relative;
      overflow: hidden;
    }

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.1"/><circle cx="10" cy="60" r="0.5" fill="white" opacity="0.1"/><circle cx="90" cy="40" r="0.5" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  opacity: 0.3;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.9;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-image {
  max-width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  margin-top: 3rem;
}

/* Features Section */
.features {
  padding: 80px 0;
  background: white;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 3rem;
  color: #1a1a1a;
}

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

.feature-card {
  background: white;
  padding: 2rem;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: 1px solid #f0f0f0;
}

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

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

.feature-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #1a1a1a;
}

.feature-description {
  color: #666;
  line-height: 1.6;
}

/* About Section */
.about {
  padding: 80px 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-text h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: #1a1a1a;
}

.about-text p {
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.about-image {
  text-align: center;
}

.about-image img {
  max-width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

    /* CTA Section */
    .cta {
      padding: 80px 0;
      background: linear-gradient(135deg, #E8AEB7 0%, #A6316F 100%);
      color: white;
      text-align: center;
    }

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

.cta p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

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

    .cta-btn {
      background: white;
      color: #A6316F;
      padding: 15px 30px;
      border-radius: 30px;
      text-decoration: none;
      font-weight: 600;
      transition: all 0.3s ease;
      box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    }

.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.cta-btn.secondary {
  background: transparent;
  color: white;
  border: 2px solid white;
}

    .cta-btn.secondary:hover {
      background: white;
      color: #A6316F;
    }

    /* Footer */
    .footer {
      background: #1a1a1a;
      color: white;
      padding: 40px 0;
    }

    .footer-content {
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
      gap: 1rem;
    }

    .footer p {
      opacity: 0.8;
      margin: 0;
    }

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

    .footer-link {
      color: white;
      text-decoration: none;
      opacity: 0.8;
      transition: opacity 0.3s ease;
    }

    .footer-link:hover {
      opacity: 1;
    }

    /* Legal and Support Pages */
    .legal-content,
    .support-content {
      padding: 120px 0 80px;
      background: white;
    }

    .legal-content h1,
    .support-content h1 {
      font-size: 2.5rem;
      font-weight: 700;
      margin-bottom: 2rem;
      color: #1a1a1a;
      text-align: center;
    }

    .support-intro {
      font-size: 1.2rem;
      color: #666;
      text-align: center;
      margin-bottom: 3rem;
      max-width: 600px;
      margin-left: auto;
      margin-right: auto;
    }

    .support-form-container {
      max-width: 600px;
      margin: 0 auto;
      background: #f8f9fa;
      padding: 2rem;
      border-radius: 20px;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }

    .support-form-container h2 {
      font-size: 1.8rem;
      font-weight: 600;
      margin-bottom: 1.5rem;
      color: #1a1a1a;
    }

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

    .form-label {
      display: block;
      font-weight: 600;
      margin-bottom: 0.5rem;
      color: #1a1a1a;
    }

    .form-input {
      width: 100%;
      padding: 12px 16px;
      border: 2px solid #e9ecef;
      border-radius: 10px;
      font-size: 1rem;
      transition: border-color 0.3s ease;
      background: white;
    }

    .form-input:focus {
      outline: none;
      border-color: #A6316F;
      box-shadow: 0 0 0 3px rgba(166, 49, 111, 0.1);
    }

    .form-actions {
      text-align: center;
      margin-top: 2rem;
    }

    .submit-btn {
      background: linear-gradient(135deg, #E8AEB7 0%, #A6316F 100%);
      color: white;
      padding: 15px 30px;
      border: none;
      border-radius: 25px;
      font-size: 1rem;
      font-weight: 600;
      cursor: pointer;
      transition: all 0.3s ease;
      box-shadow: 0 4px 15px rgba(232, 174, 183, 0.3);
    }

    .submit-btn:hover {
      transform: translateY(-2px);
      box-shadow: 0 6px 20px rgba(232, 174, 183, 0.4);
    }

    .content-placeholder {
      background: #f8f9fa;
      padding: 2rem;
      border-radius: 15px;
      text-align: center;
      color: #666;
    }

    /* Privacy Policy Styles */
    .privacy-content {
      max-width: 800px;
      margin: 0 auto;
      line-height: 1.7;
    }

    .privacy-date {
      font-style: italic;
      color: #666;
      margin-bottom: 2rem;
      text-align: center;
    }

    .privacy-content h2 {
      font-size: 1.5rem;
      font-weight: 600;
      color: #A6316F;
      margin: 2rem 0 1rem 0;
      border-bottom: 2px solid #E8AEB7;
      padding-bottom: 0.5rem;
    }

    .privacy-content h2:first-of-type {
      margin-top: 0;
    }

    .privacy-content p {
      margin-bottom: 1rem;
      color: #333;
    }

    .privacy-content ul {
      margin: 1rem 0 1.5rem 2rem;
      color: #333;
    }

    .privacy-content li {
      margin-bottom: 0.5rem;
    }

    .privacy-content a {
      color: #A6316F;
      text-decoration: none;
      font-weight: 500;
    }

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

    .privacy-content strong {
      color: #1a1a1a;
    }

    /* Terms & Conditions Styles */
    .terms-content {
      max-width: 800px;
      margin: 0 auto;
      line-height: 1.7;
    }

    .terms-date {
      font-style: italic;
      color: #666;
      margin-bottom: 2rem;
      text-align: center;
    }

    .terms-content h2 {
      font-size: 1.5rem;
      font-weight: 600;
      color: #A6316F;
      margin: 2rem 0 1rem 0;
      border-bottom: 2px solid #E8AEB7;
      padding-bottom: 0.5rem;
    }

    .terms-content h2:first-of-type {
      margin-top: 0;
    }

    .terms-content p {
      margin-bottom: 1rem;
      color: #333;
    }

    .terms-content ul {
      margin: 1rem 0 1.5rem 2rem;
      color: #333;
    }

    .terms-content li {
      margin-bottom: 0.5rem;
    }

    .terms-content a {
      color: #A6316F;
      text-decoration: none;
      font-weight: 500;
    }

    .terms-content a:hover {
      text-decoration: underline;
    }

    .terms-content strong {
      color: #1a1a1a;
    }

    /* Flash Messages */
    .flash-message {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      z-index: 9999;
      padding: 1rem 0;
    }

    .flash-notice {
      background: rgba(25, 135, 84, 0.1);
    }

    .flash-alert {
      background: rgba(220, 53, 69, 0.1);
    }

    .flash-message .alert {
      margin: 0;
      border: none;
      border-radius: 0;
    }

    .flash-message .alert-success {
      background: linear-gradient(135deg, #E8AEB7 0%, #A6316F 100%);
      color: white;
      border: none;
    }

    .flash-message .alert-danger {
      background: #dc3545;
      color: white;
      border: none;
    }

    .flash-message .btn-close {
      filter: invert(1);
    }

    .flash-message {
      transition: opacity 0.3s ease, transform 0.3s ease;
    }

/* Responsive Design */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }

  .hero p {
    font-size: 1.1rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

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

        .cta-btn {
        width: 100%;
        max-width: 300px;
      }

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

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

      .support-form-container {
        margin: 0 1rem;
      }

      .privacy-content {
        margin: 0 1rem;
      }

      .privacy-content h2 {
        font-size: 1.3rem;
      }

      .terms-content {
        margin: 0 1rem;
      }

      .terms-content h2 {
        font-size: 1.3rem;
      }
    }

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }

  .hero {
    padding: 100px 0 60px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .section-title {
    font-size: 1.8rem;
  }
}
