* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
  line-height: 1.6;
  color: #333;
  background: #fff;
}

a {
  color: #0066cc;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  line-height: 1.2;
  margin-bottom: 1rem;
  font-weight: 700;
}

h1 {
  font-size: 2rem;
}

h2 {
  font-size: 1.75rem;
  color: #1a1a1a;
}

h3 {
  font-size: 1.25rem;
}

p {
  margin-bottom: 1rem;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Header & Navigation */
header {
  background: #fff;
  border-bottom: 1px solid #eee;
  position: sticky;
  top: 0;
  z-index: 100;
  transition: box-shadow 0.3s ease, background 0.3s ease;
}

header.scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,0.12);
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(8px);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1a1a1a;
}

.logo img {
  height: 140px;
  width: auto;
  transition: height 0.3s ease;
}

header.scrolled .logo img {
  height: 70px;
}

nav ul {
  list-style: none;
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  background: #fff;
  flex-direction: column;
  width: 100%;
  border-top: 1px solid #eee;
}

nav ul.active {
  display: flex;
}

nav li {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #eee;
}

nav a {
  color: #333;
  font-weight: 500;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background: #333;
  border-radius: 2px;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
  font-size: 1rem;
}

.btn-primary {
  background: #0066cc;
  color: white;
}

.btn-primary:hover {
  background: #0052a3;
  text-decoration: none;
}

.btn-secondary {
  background: #f0f0f0;
  color: #333;
  border: 1px solid #ddd;
}

.btn-secondary:hover {
  background: #e8e8e8;
  text-decoration: none;
}

.btn-large {
  padding: 1rem 2rem;
  font-size: 1.1rem;
}

/* Hero Section */
.hero {
  background-image: url('../assets/hero.jpg');
  background-size: cover;
  background-position: center 30%;
  background-attachment: fixed;
  position: relative;
  padding: 5rem 1rem;
  text-align: center;
  min-height: 600px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,102,204,0.65) 0%, rgba(0,82,163,0.55) 100%);
}

.hero > * {
  position: relative;
  z-index: 1;
}

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

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.hero-subtitle {
  font-size: 1.25rem;
  color: rgba(255,255,255,0.92);
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero .btn {
  margin: 0.5rem;
}

/* Scroll-reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Stagger delays for grid children */
.stagger > *:nth-child(1) { transition-delay: 0s; }
.stagger > *:nth-child(2) { transition-delay: 0.1s; }
.stagger > *:nth-child(3) { transition-delay: 0.2s; }
.stagger > *:nth-child(4) { transition-delay: 0.3s; }
.stagger > *:nth-child(5) { transition-delay: 0.4s; }
.stagger > *:nth-child(6) { transition-delay: 0.5s; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-left, .reveal-right {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Problem Section */
.problem {
  padding: 3rem 1rem;
  background: #fff;
}

.problem-grid {
  display: grid;
  gap: 2rem;
  margin-top: 2rem;
}

.problem-card {
  padding: 2rem;
  border-left: 4px solid #ff6b6b;
  background: #fff5f5;
  border-radius: 4px;
}

.problem-card h3 {
  color: #ff6b6b;
  margin-bottom: 0.5rem;
}

/* How It Works Section */
.how-it-works {
  padding: 3rem 1rem;
  background: #f9f9f9;
}

.steps {
  display: grid;
  gap: 2rem;
  margin-top: 2rem;
}

.step {
  background: white;
  padding: 2rem;
  border-radius: 8px;
  border-top: 4px solid #0066cc;
  text-align: center;
}

.step-number {
  display: inline-block;
  background: #0066cc;
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  line-height: 50px;
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.step h3 {
  margin-bottom: 0.5rem;
}

/* Pricing Section */
.pricing {
  padding: 3rem 1rem;
  background: #fff;
}

.pricing-grid {
  display: grid;
  gap: 2rem;
  margin-top: 2rem;
}

.pricing-card {
  background: white;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  display: flex;
  flex-direction: column;
}

.pricing-card .btn {
  margin-top: auto;
}

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

.pricing-card.featured {
  border-color: #0066cc;
  border-width: 2px;
}

.pricing-card.featured::before {
  content: 'MOST POPULAR';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: #0066cc;
  color: white;
  padding: 0.25rem 1rem;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 20px;
}

.price {
  font-size: 2.5rem;
  font-weight: 700;
  color: #0066cc;
  margin: 1rem 0;
}

.price-label {
  font-size: 0.9rem;
  color: #666;
}

.pricing-features {
  list-style: none;
  text-align: left;
  margin: 2rem 0;
}

.pricing-features li {
  padding: 0.75rem 0;
  border-bottom: 1px solid #f0f0f0;
  color: #666;
}

.pricing-features li:before {
  content: '✓';
  color: #28a745;
  font-weight: bold;
  margin-right: 0.5rem;
}

/* Features Section */
.features {
  padding: 3rem 1rem;
  background: #f9f9f9;
}

.features-grid {
  display: grid;
  gap: 2rem;
  margin-top: 2rem;
}

.feature {
  padding: 1.5rem;
  background: white;
  border-radius: 8px;
  text-align: center;
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

/* Testimonials */
.testimonials {
  padding: 3rem 1rem;
  background: #fff;
}

.testimonial-grid {
  display: grid;
  gap: 2rem;
  margin-top: 2rem;
}

.testimonial {
  background: #f9f9f9;
  padding: 2rem;
  border-radius: 8px;
  border-left: 4px solid #0066cc;
  font-style: italic;
}

.testimonial-author {
  margin-top: 1rem;
  font-style: normal;
  font-weight: 600;
}

/* CTA Section */
.cta {
  background: linear-gradient(135deg, #0066cc 0%, #004a99 100%);
  color: white;
  padding: 3rem 1rem;
  text-align: center;
  border-radius: 8px;
  margin: 3rem 1rem;
}

.cta h2 {
  color: white;
  margin-bottom: 1rem;
}

.cta p {
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

.cta .btn-primary {
  background: white;
  color: #0066cc;
}

.cta .btn-primary:hover {
  background: #f0f0f0;
}

/* About Section */
.about {
  padding: 3rem 1rem;
  background: #fff;
}

.about-grid {
  display: grid;
  gap: 2rem;
  margin-top: 0;
  align-items: stretch;
}

.andrea-video {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.about-text h2 {
  margin-bottom: 1.5rem;
}

.about-text p {
  margin-bottom: 1rem;
  color: #666;
}

.credentials {
  background: #f9f9f9;
  padding: 1.5rem;
  border-radius: 8px;
  margin-top: 1.5rem;
}

.credentials h4 {
  color: #0066cc;
  margin-bottom: 0.5rem;
}

/* FAQ Section */
.faq {
  padding: 3rem 1rem;
  background: #f9f9f9;
}

.faq-item {
  background: white;
  margin-bottom: 1rem;
  border-radius: 8px;
  overflow: hidden;
}

.faq-question {
  padding: 1.5rem;
  background: white;
  cursor: pointer;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
  transition: all 0.3s ease;
}

.faq-question:hover {
  background: #f9f9f9;
}

.faq-question.active {
  background: #0066cc;
  color: white;
}

.faq-toggle {
  font-size: 1.5rem;
}

.faq-answer {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
  background: white;
}

.faq-answer.active {
  padding: 1.5rem;
  max-height: 500px;
}

.faq-answer p {
  color: #666;
  margin-bottom: 0.5rem;
}

/* Footer */
footer {
  background: #1a1a1a;
  color: #fff;
  padding: 3rem 1rem 1rem;
  text-align: center;
}

.footer-content {
  margin-bottom: 2rem;
}

.footer-content h4 {
  margin-bottom: 1rem;
  color: #fff;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: #ccc;
}

.footer-links a:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid #333;
  padding-top: 2rem;
  margin-top: 2rem;
  font-size: 0.9rem;
  color: #999;
}

/* Quiz Section */
.quiz {
  padding: 3rem 1rem;
  background: #fff;
}

.quiz-form {
  max-width: 600px;
  margin: 2rem auto;
  background: #f9f9f9;
  padding: 2rem;
  border-radius: 8px;
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: inherit;
}

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #0066cc;
  box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

.quiz-options {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.quiz-option {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.quiz-option input[type="radio"],
.quiz-option input[type="checkbox"] {
  width: auto;
}

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

  h2 {
    font-size: 2rem;
  }

  .hero {
    padding: 4rem 1rem;
    min-height: 600px;
  }

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

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

  nav ul {
    display: flex;
    position: static;
    background: transparent;
    flex-direction: row;
    width: auto;
    border-top: none;
    align-items: center;
  }

  nav li {
    padding: 0;
    margin-left: 2rem;
    border-bottom: none;
    display: flex;
    align-items: center;
  }

  nav li:first-child {
    margin-left: 0;
  }

  .menu-toggle {
    display: none;
  }

  .problem-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps {
    grid-template-columns: repeat(3, 1fr);
  }

  .pricing-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonial-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .andrea-video {
    max-width: 360px;
  }

  .footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    text-align: left;
  }
}

@media (max-width: 767px) {
  .menu-toggle {
    display: flex;
  }

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

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

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

  .pricing-card.featured::before {
    top: -10px;
  }

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

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

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

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