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

body {
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  color: #333;
  background: #fafafa;
}

/* Header Styles */
.header {
  background: #64c4ff;
  color: white;
  padding: 2rem;
  text-align: center;
}

.header h1 {
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.header p {
  font-size: 1.1rem;
  opacity: 0.9;
}

/* Container Layout */
.container {
  max-width: 800px;
  margin: 2rem auto;
  padding: 2rem;
  background: white;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Typography */
h1 {
  color: #333;
  margin-bottom: 1.5rem;
  font-size: 2.2rem;
  font-weight: 600;
}

h2 {
  color: #333;
  margin: 2.5rem 0 1rem 0;
  font-size: 1.4rem;
  font-weight: 600;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #eee;
}

h3 {
  color: #555;
  margin: 1.5rem 0 0.5rem 0;
  font-size: 1.1rem;
  font-weight: 500;
}

p {
  margin-bottom: 1rem;
  color: #555;
  line-height: 1.6;
}

p.large {
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

ul {
  margin: 1rem 0 1rem 1.5rem;
  color: #555;
}

li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

strong {
  color: #333;
  font-weight: 500;
}

/* Special Content Blocks */
.intro {
  background: #f8f9fa;
  padding: 1.5rem;
  border-radius: 6px;
  margin-bottom: 2rem;
  border-left: 3px solid #64c4ff;
}

.highlight {
  background: #f8f9fa;
  padding: 1.5rem;
  border-radius: 6px;
  border-left: 3px solid #64c4ff;
  margin: 1.5rem 0;
}

.tip {
  background: #f8f9fa;
  padding: 1rem;
  border-radius: 6px;
  margin: 1rem 0;
  font-size: 0.95rem;
  color: #666;
}

.tip::before {
  content: "💡 ";
  margin-right: 0.5rem;
}

.disclaimer,
.placeholder-notice {
  padding: 1rem;
  border-radius: 5px;
  margin: 1.5rem 0;
  font-size: 0.9rem;
  background: #fff3cd;
  border: 1px solid #ffeaa7;
  color: #856404;
}

/* Buttons and Links */
.back-link {
  display: inline-block;
  background: #64c4ff;
  color: white;
  padding: 0.8rem 1.2rem;
  text-decoration: none;
  border-radius: 5px;
  margin: 2rem 1rem 0 0;
  transition: background 0.2s ease;
}

.back-link:hover {
  background: #5fb7ff;
}

.close-btn {
  display: inline-block;
  background: #888;
  color: white;
  padding: 0.8rem 1.2rem;
  border: none;
  border-radius: 5px;
  margin-top: 2rem;
  font-size: 1rem;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.2s ease;
}

.close-btn:hover {
  background: #777;
}

.close-btn:focus {
  outline: 2px solid #64c4ff;
  outline-offset: 2px;
}

/* Links within content */
a {
  color: #64c4ff;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Grid Layouts (simplified) */
.features,
.contact-methods {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

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

/* Card Components (simplified) */
.feature-card,
.contact-method {
  padding: 1.5rem;
  border-radius: 6px;
  background: #f8f9fa;
  border: 1px solid #eee;
}

.contact-method {
  text-align: center;
}

.feature-card h3,
.contact-method h3 {
  color: #333;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
  font-weight: 500;
}

.contact-method p {
  margin: 0;
  font-size: 1rem;
  color: #555;
}

.contact-card {
  background: #f8f9fa;
  padding: 2rem;
  border-radius: 6px;
  border: 1px solid #eee;
  margin: 1.5rem 0;
  text-align: center;
}

/* Contact Page Specific Styles */
.contact-body {
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  margin: 0;
  padding: 20px;
  background: #fafafa;
}

.contact-header {
  text-align: center;
  margin-bottom: 20px;
}

.contact-container {
  max-width: 800px;
  margin: 2rem auto;
  background: white;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.contact-form {
  display: flex;
  flex-direction: column;
}

.contact-form label {
  margin-top: 10px;
  font-weight: 500;
  color: #333;
}

.contact-form input,
.contact-form textarea {
  margin-top: 5px;
  padding: 8px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: inherit;
}

.contact-submit {
  margin-top: 15px;
  padding: 10px;
  border: none;
  border-radius: 4px;
  background: #64c4ff;
  color: white;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.contact-submit:hover {
  background: #5fb7ff;
}

.contact-close-btn {
  display: inline-block;
  background: #888;
  color: white;
  padding: 0.8rem 1.2rem;
  border: none;
  border-radius: 5px;
  margin-top: 2rem;
  font-size: 1rem;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.2s ease;
}

.contact-close-btn:hover {
  background: #777;
}

.contact-close-btn:focus {
  outline: 2px solid #64c4ff;
  outline-offset: 2px;
}

.thank-you-message {
  background: #e8f5e8;
  border: 2px solid #4caf50;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 20px;
  text-align: center;
  animation: fadeIn 0.5s ease-in;
}

.thank-you-message h2 {
  color: #2e7d32;
  margin: 0 0 10px 0;
}

.thank-you-message p {
  color: #388e3c;
  margin: 0;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.contact-form.hidden {
  display: none;
}

.loading {
  opacity: 0.6;
  pointer-events: none;
}

.contact-submit:disabled {
  background: #ccc;
  cursor: not-allowed;
}

/* Responsive Design */
@media (max-width: 768px) {
  .container {
    margin: 1rem;
    padding: 1.5rem;
  }

  .header {
    padding: 1.5rem 1rem;
  }

  .header h1 {
    font-size: 1.8rem;
  }

  h1 {
    font-size: 1.8rem;
  }

  h2 {
    font-size: 1.3rem;
  }

  .features,
  .contact-methods {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .back-link,
  .close-btn {
    display: block;
    text-align: center;
    margin: 1rem 0;
  }

  .contact-container {
    margin: 1rem;
    padding: 1rem;
    max-width: 100%;
  }
}
