/* AI Prompt Engineering Toolkit Landing Page Styles */
:root {
  --primary-color: #5842e3;
  --secondary-color: #8b5cf6;
  --accent-color: #f97316;
  --text-color: #1f2937;
  --light-bg: #f9fafb;
  --dark-bg: #111827;
  --border-color: #e5e7eb;
  --success-color: #10b981;
  --warning-color: #f59e0b;
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: white;
  overflow-x: hidden;
  width: 100%;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--secondary-color);
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--dark-bg);
}

h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: 2.25rem;
  margin-top: 3rem;
  margin-bottom: 1.5rem;
}

h3 {
  font-size: 1.5rem;
  margin-top: 1.5rem;
}

p {
  margin-bottom: 1.5rem;
}

ul, ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

img {
  max-width: 100%;
  height: auto;
}

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

/* Header & Navigation */
header {
  background-color: white;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
}

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

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.nav-links a {
  font-weight: 500;
}

.cta-button {
  background-color: var(--primary-color);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 0.375rem;
  font-weight: 500;
  text-align: center;
}

.cta-button:hover {
  background-color: var(--secondary-color);
  color: white;
}

/* Mobile Navigation */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--primary-color);
  cursor: pointer;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: white;
  padding: 3rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.hero-content {
  max-width: 600px;
  width: 100%;
}

.hero h1 {
  color: white;
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
}

.subtitle {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.primary-button {
  background-color: white;
  color: var(--primary-color);
  padding: 0.75rem 1.5rem;
  border-radius: 0.375rem;
  font-weight: 600;
  display: inline-block;
  text-align: center;
  width: fit-content;
}

.primary-button:hover {
  background-color: var(--light-bg);
  color: var(--primary-color);
}

.secondary-button {
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 0.375rem;
  font-weight: 600;
  display: inline-block;
  border: 1px solid rgba(255, 255, 255, 0.2);
  text-align: center;
  width: fit-content;
}

.secondary-button:hover {
  background-color: rgba(255, 255, 255, 0.2);
  color: white;
}

.social-proof {
  font-size: 0.875rem;
  opacity: 0.8;
}

.hero-image {
  flex: 1;
  max-width: 500px;
}

/* Pain Points Section */
.pain-points {
  padding: 3rem 1rem;
  background-color: var(--light-bg);
  text-align: center;
}

.pain-points h2 {
  margin-bottom: 2rem;
}

.pain-points-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.pain-point {
  background-color: white;
  padding: 1.5rem;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.transition {
  font-size: 1.25rem;
  font-weight: 500;
}

/* Product Intro Section */
.product-intro {
  padding: 3rem 1rem;
  text-align: center;
}

.tagline {
  font-size: 1.25rem;
  color: var(--secondary-color);
  margin-bottom: 2rem;
}

.product-overview {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.product-image {
  flex: 1;
  min-width: 250px;
}

.product-description {
  flex: 1;
  text-align: left;
  min-width: 250px;
}

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

.benefit h3 {
  color: var(--primary-color);
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

/* Features Detail Section */
.features-detail {
  padding: 3rem 1rem;
  background-color: var(--light-bg);
  text-align: center;
}

.section-subtitle {
  font-size: 1.25rem;
  margin-bottom: 2rem;
}

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

.feature-card {
  background-color: white;
  padding: 1.5rem;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  text-align: left;
}

.testimonial {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-color);
  font-style: italic;
}

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

.frameworks-detail {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 2rem;
}

.framework {
  background-color: white;
  padding: 1.5rem;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  width: 100%;
  max-width: 300px;
}

.framework h4 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

/* Before/After Section */
.before-after {
  padding: 3rem 1rem;
  text-align: center;
}

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

.before, .after {
  text-align: left;
}

.prompt-box {
  background-color: var(--light-bg);
  padding: 1.5rem;
  border-radius: 0.5rem;
  margin-bottom: 1.5rem;
  font-family: monospace;
  white-space: pre-wrap;
  overflow-x: auto;
  font-size: 0.9rem;
}

.after .prompt-box {
  background-color: #f0f9ff;
  border-left: 4px solid var(--primary-color);
}

.result {
  padding: 1.5rem;
  background-color: white;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.problems {
  color: #ef4444;
  font-weight: 600;
  margin-top: 1rem;
}

.benefits {
  color: var(--success-color);
  font-weight: 600;
  margin-top: 1rem;
}

.examples-footer {
  margin: 2rem 0;
}

/* Pricing Section */
.pricing {
  padding: 3rem 1rem;
  background-color: var(--light-bg);
  text-align: center;
}

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

.pricing-card {
  background-color: white;
  padding: 1.5rem;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  position: relative;
  width: 100%;
}

.popular {
  border: 2px solid var(--primary-color);
}

.popular-tag {
  position: absolute;
  top: -1rem;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--primary-color);
  color: white;
  padding: 0.25rem 1rem;
  border-radius: 0.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  white-space: nowrap;
}

.price {
  font-size: 2.5rem;
  font-weight: 700;
  margin: 1.5rem 0;
  color: var(--primary-color);
}

.features-list {
  text-align: left;
  margin-bottom: 2rem;
}

.features-list li {
  margin-bottom: 0.75rem;
}

.buy-button {
  display: inline-block;
  background-color: var(--primary-color);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 0.375rem;
  font-weight: 600;
  width: 100%;
}

.buy-button:hover {
  background-color: var(--secondary-color);
  color: white;
}

/* Guarantee Section */
.guarantee {
  padding: 3rem 1rem;
  text-align: center;
  background-color: white;
}

.guarantee-badge {
  display: inline-block;
  background-color: #ecfdf5;
  color: var(--success-color);
  padding: 0.75rem 1.5rem;
  border-radius: 0.375rem;
  font-weight: 600;
  margin-top: 1.5rem;
}

/* FAQ Section */
.faq {
  padding: 3rem 1rem;
  background-color: var(--light-bg);
}

.faq h2, .faq .section-subtitle {
  text-align: center;
}

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

.faq-item {
  background-color: white;
  padding: 1.5rem;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.faq-item h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

/* Final CTA Section */
.final-cta {
  padding: 3rem 1rem;
  text-align: center;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: white;
}

.final-cta h2 {
  color: white;
}

.bonus-offer {
  display: inline-block;
  background-color: rgba(255, 255, 255, 0.1);
  padding: 0.75rem 1.5rem;
  border-radius: 0.375rem;
  margin: 2rem 0;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.final-testimonial {
  max-width: 800px;
  margin: 0 auto 2rem;
  font-style: italic;
  font-size: 1.25rem;
}

.large {
  font-size: 1.25rem;
  padding: 1rem 2rem;
  width: fit-content;
  margin: 0 auto;
}

/* Footer */
footer {
  background-color: var(--dark-bg);
  color: white;
  padding: 3rem 1rem 1.5rem;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  gap: 2rem;
}

.footer-logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
}

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

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
}

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

.footer-bottom {
  max-width: 1200px;
  margin: 2rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
}

/* Responsive Design */
@media (max-width: 992px) {
  h1 {
    font-size: 2.75rem;
  }
  
  h2 {
    font-size: 2.25rem;
    margin-top: 2rem;
  }
  
  .hero {
    padding: 3rem 1rem;
  }
  
  .hero-content, .hero-image {
    max-width: 100%;
  }
  
  .framework {
    width: calc(50% - 1rem);
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 2.25rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  .hero {
    flex-direction: column;
    padding: 2.5rem 1rem;
    text-align: center;
  }
  
  .hero-content {
    max-width: 100%;
  }
  
  .cta-buttons {
    justify-content: center;
  }
  
  .product-overview {
    flex-direction: column;
    text-align: center;
  }
  
  .product-description {
    text-align: center;
  }
  
  .comparison {
    grid-template-columns: 1fr;
  }
  
  .pricing-card.popular {
    transform: none;
    order: -1;
  }
  
  .nav-links {
    display: none;
  }
  
  .mobile-menu-toggle {
    display: block;
  }
  
  .mobile-menu-active .nav-links {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-top: 1rem;
    align-items: flex-start;
  }
  
  .framework {
    width: 100%;
  }
  
  .footer-content, .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .footer-links {
    justify-content: center;
  }
}

@media (max-width: 576px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  h3 {
    font-size: 1.25rem;
  }
  
  .hero {
    padding: 2rem 1rem;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .primary-button, .secondary-button {
    width: 100%;
    max-width: 250px;
  }
  
  .pain-points-grid, .benefits-grid, .feature-cards, .pricing-cards, .faq-grid {
    grid-template-columns: 1fr;
  }
  
  .prompt-box {
    font-size: 0.8rem;
    padding: 1rem;
  }
  
  .final-testimonial {
    font-size: 1rem;
  }
  
  .large {
    font-size: 1rem;
    padding: 0.75rem 1.5rem;
    width: 100%;
    max-width: 250px;
  }
}

/* Mobile Navigation Menu */
.mobile-nav {
  display: none;
  width: 100%;
  background-color: white;
  padding: 1rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.mobile-nav.active {
  display: block;
}

.mobile-nav a {
  display: block;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border-color);
}

.mobile-nav a:last-child {
  border-bottom: none;
}

/* Fix for mobile viewport height issues */
.vh-100 {
  height: 100vh;
  height: -webkit-fill-available;
  height: fill-available;
}

/* Fix for mobile overflow issues */
html, body {
  max-width: 100%;
  overflow-x: hidden;
}

/* Fix for mobile touch targets */
button, a {
  min-height: 44px;
  min-width: 44px;
}

/* Fix for mobile form elements */
input, select, textarea {
  font-size: 16px; /* Prevents iOS zoom on focus */
}

/* Fix for mobile sticky elements */
.sticky-top {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 1020;
}

/* Fix for mobile scrolling */
.smooth-scroll {
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

/* Fix for mobile tap highlight */
* {
  -webkit-tap-highlight-color: transparent;
}

/* Fix for mobile text sizing */
html {
  -webkit-text-size-adjust: 100%;
}
