/*
Theme Name: Success Story Landing Page
Description: A WordPress theme for success story landing pages
Version: 1.0.0
Author: Your Name
*/

/* CSS Variables for Design System */
:root {
  --color-primary: #06b6d4; /* Cyan */
  --color-accent: #f97316; /* Orange */
  --color-background: #ffffff;
  --color-foreground: #0f172a;
  --color-muted: #f8fafc;
  --color-muted-foreground: #64748b;
  --color-card: #ffffff;
  --font-sans: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-serif: "Manrope", Georgia, serif;
}

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

body {
  font-family: var(--font-sans);
  line-height: 1.6;
  color: var(--color-foreground);
  background-color: var(--color-background);
}

/* Typography */
.hero-title {
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-foreground);
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--color-muted-foreground);
  font-family: var(--font-serif);
  max-width: 48rem;
  margin: 0 auto;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-foreground);
}

.text-primary {
  color: var(--color-primary);
}

.highlight-text {
  font-weight: 700;
  color: var(--color-primary);
}

/* Layout */
.max-w-6xl {
  max-width: 72rem;
}

.max-w-4xl {
  max-width: 56rem;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

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

.py-20 {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}

.mb-6 {
  margin-bottom: 1.5rem;
}

.mb-8 {
  margin-bottom: 2rem;
}

.mb-12 {
  margin-bottom: 3rem;
}

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.1) 0%, rgba(249, 115, 22, 0.1) 100%);
}

.badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background-color: var(--color-accent);
  color: white;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 2rem;
  border-radius: 0.5rem;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
  font-size: 1.125rem;
}

.btn-primary {
  background-color: var(--color-primary);
  color: white;
}

.btn-primary:hover {
  background-color: rgba(6, 182, 212, 0.9);
}

.btn-accent {
  background-color: var(--color-accent);
  color: white;
}

.btn-accent:hover {
  background-color: rgba(249, 115, 22, 0.9);
}

.btn-secondary {
  background-color: white;
  color: var(--color-foreground);
  white-space: nowrap;
}

/* Story Section */
.story-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 768px) {
  .story-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.story-text {
  font-size: 1.125rem;
  color: var(--color-muted-foreground);
  font-family: var(--font-serif);
  line-height: 1.7;
}

.story-highlight {
  font-size: 1.125rem;
  color: var(--color-foreground);
  font-family: var(--font-serif);
  line-height: 1.7;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.stat-card {
  text-align: center;
  padding: 1rem;
  background-color: var(--color-card);
  border-radius: 0.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.stat-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.stat-number {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-foreground);
}

.stat-label {
  font-size: 0.875rem;
  color: var(--color-muted-foreground);
}

.story-image-card {
  background-color: var(--color-card);
  padding: 2rem;
  border-radius: 0.75rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.story-image {
  width: 100%;
  height: 16rem;
  object-fit: cover;
  border-radius: 0.5rem;
  margin-bottom: 1.5rem;
}

.story-quote {
  font-size: 1.125rem;
  font-style: italic;
  color: var(--color-muted-foreground);
  font-family: var(--font-serif);
}

/* Background Sections */
.bg-muted {
  background-color: var(--color-muted);
}

.bg-card {
  background-color: var(--color-card);
}

/* Steps Section */
.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .steps-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .steps-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.step-card {
  text-align: center;
  padding: 1.5rem;
  background-color: var(--color-card);
  border-radius: 0.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.step-icon {
  font-size: 2rem;
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.step-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-foreground);
  margin-bottom: 0.75rem;
}

.step-description {
  color: var(--color-muted-foreground);
  font-family: var(--font-serif);
}

/* Achievements Section */
.achievements-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .achievements-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .achievements-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.achievement-item {
  text-align: center;
}

.achievement-icon {
  background-color: rgba(6, 182, 212, 0.1);
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.5rem;
  color: var(--color-primary);
}

.achievement-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-foreground);
  margin-bottom: 0.5rem;
}

.achievement-label {
  color: var(--color-muted-foreground);
  font-family: var(--font-serif);
}

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.testimonial-card {
  padding: 1.5rem;
  background-color: var(--color-card);
  border-radius: 0.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.testimonial-quote {
  color: var(--color-muted-foreground);
  margin-bottom: 1rem;
  font-family: var(--font-serif);
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.author-avatar {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(6, 182, 212, 0.2);
}

.author-name {
  font-weight: 600;
  color: var(--color-foreground);
}

.author-platform {
  font-size: 0.875rem;
  color: var(--color-muted-foreground);
}

/* CTA Section */
.cta-section {
  background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-accent) 100%);
}

.cta-title {
  font-size: 2.5rem;
  font-weight: 700;
}

.cta-subtitle {
  font-size: 1.25rem;
  opacity: 0.9;
  font-family: var(--font-serif);
}

.email-form {
  max-width: 28rem;
  margin: 0 auto;
}

.form-group {
  display: flex;
  gap: 1rem;
}

.email-input {
  flex: 1;
  padding: 0.75rem 1rem;
  border: none;
  border-radius: 0.5rem;
  font-size: 1rem;
  background-color: white;
  color: var(--color-foreground);
}

.form-note {
  font-size: 0.875rem;
  margin-top: 1rem;
  opacity: 0.75;
}

/* Footer */
.footer-text {
  color: var(--color-muted-foreground);
  font-family: var(--font-serif);
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 1rem;
}

.footer-link {
  font-size: 0.875rem;
  color: var(--color-muted-foreground);
  text-decoration: none;
}

.footer-link:hover {
  color: var(--color-primary);
}

/* Responsive Design */
@media (max-width: 767px) {
  .form-group {
    flex-direction: column;
  }

  .btn {
    width: 100%;
    text-align: center;
  }
}
