/* style.css */

/* GLOBAL RESET & BASE STYLES */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background-color: #f3f4f6;
  color: #111827;
  line-height: 1.5;
  letter-spacing: -0.01em;
}

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

/* HEADER NAVIGATION */
.site-header {
  background-color: #ffffff;
  /* border: 1px solid #e5e7eb; */
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand-text {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #111827;
}

.site-nav a {
  font-size: 14px;
  font-weight: 500;
  color: #4b5563;
  margin-left: 24px;
  transition: color 0.2s ease;
}

.site-nav a:hover {
  color: #7c3aed;
}

/* HERO SECTION */
.hero-section {
  max-width: 800px;
  margin: 0 auto;
  padding: 64px 16px 80px 16px;
  text-align: center;
}

.badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background-color: #7c3aed;
  color: #ffffff;
  padding: 4px 12px;
  border-radius: 9999px;
  margin-bottom: 16px;
}

.hero-title {
  font-size: 40px;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: #111827;
  margin-bottom: 24px;
}

.accent-text {
  color: #7c3aed;
}

.hero-description {
  font-size: 18px;
  color: #4b5563;
  max-width: 600px;
  margin: 0 auto 32px auto;
  line-height: 1.6;
}

.primary-button {
  display: inline-block;
  background-color: #7c3aed;
  color: #ffffff;
  font-weight: 700;
  font-size: 15px;
  padding: 12px 24px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(124, 58, 237, 0.2);
  transition: background-color 0.2s ease;
}

.primary-button:hover {
  background-color: #6d28d9;
}

/* FEATURES SECTION */
.features-section {
  background-color: #ffffff;
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
  padding: 64px 16px;
}

.section-container {
  max-width: 1000px;
  margin: 0 auto;
}

.section-title {
  font-size: 24px;
  font-weight: 800;
  text-align: center;
  letter-spacing: -0.02em;
  margin-bottom: 48px;
}

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

.feature-card {
  background-color: #f9fafb;
  border: 1px solid #e5e7eb;
  padding: 24px;
  border-radius: 16px;
}

.feature-card-title {
  font-size: 16px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 8px;
}

.feature-card-text {
  font-size: 14px;
  color: #4b5563;
  line-height: 1.5;
}

/* HELP CENTER / FAQ STYLES */
.help-section {
    background-color: #ffffff;
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
    padding: 64px 16px;
  }
  
.faq-grid {
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 32px;
  }
  
.faq-item {
    background-color: #f9fafb;
    border: 1px solid #e5e7eb;
    padding: 24px;
    border-radius: 12px;
  }
  
.faq-question {
    font-size: 16px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
  }
  
.faq-answer {
    font-size: 14px;
    color: #4b5563;
    line-height: 1.6;
} 

/* MATH FORMULA LAYOUT FOR FAQ */
.faq-answer code {
    display: inline-block;
    font-family: "Courier New", Courier, monospace;
    background-color: #f3f4f6;
    border: 1px solid #e5e7eb;
    color: #111827;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 13px;
    margin-top: 4px;
    margin-bottom: 4px;
  }
  

/* FEEDBACK SECTION & CONTACT FORM */
.contact-section {
  padding: 64px 16px;
}

.form-container {
  max-width: 500px;
  margin: 0 auto;
}

.section-subtitle {
  font-size: 14px;
  color: #4b5563;
  text-align: center;
  margin-top: -40px;
  margin-bottom: 32px;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.form-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #374151;
}

.form-input, .form-textarea {
  width: 100%;
  background-color: #ffffff;
  border: 1px solid #d1d5db;
  border-radius: 12px;
  padding: 12px;
  font-family: inherit;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s ease;
}

.form-input:focus, .form-textarea:focus {
  border-color: #7c3aed;
}

.submit-button {
  background-color: #7c3aed;
  color: #ffffff;
  border: none;
  font-weight: 700;
  font-size: 15px;
  padding: 12px;
  border-radius: 12px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.submit-button:hover {
  background-color: #6d28d9;
}

/* LEGAL FOOTER */
.site-footer {
  background-color: #111827;
  color: #9ca3af;
  font-size: 12px;
  padding: 48px 16px;
}

.footer-container {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

@media (min-width: 768px) {
  .footer-container {
    flex-direction: row;
  }
}

.footer-brand {
  font-weight: 700;
  color: #f3f4f6;
  margin-bottom: 4px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-links a {
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #ffffff;
}

@media (max-width: 375px) {
  .header-container {
      padding: 12px 16px;
  }
    
  .site-nav a {
    margin-left: 8px;
  }
}

@media (max-width: 325px) {   
  .site-nav {
    display: none
  }
}
