/* Landing Page Styles */

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

html, body {
  margin: 0;
  padding: 0;
}

:root {
  --primary: #E52D1D;
  --primary-dark: #B82218;
  --secondary: #FDC233;
  --background: #F5F5F4;
  --surface: #ffffff;
  --text: #2F1B0D;
  --text-secondary: #191816;
  --border: #e2e8f0;
  --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
}

body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--background);
  line-height: 1.6;
}

/* Inline links */
.inline-link {
  color: var(--primary);
  text-decoration: underline;
  transition: color 0.2s;
}

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

/* Navigation */
.nav {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow);
  margin: 0;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-img {
  height: 40px;
  width: auto;
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
  font-family: inherit;
}

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

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(229, 45, 29, 0.4);
}

.btn-secondary {
  background: var(--secondary);
  color: var(--text);
}

.btn-secondary:hover {
  background: #E5A31A;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(253, 194, 51, 0.4);
}

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

/* Hero Section */
.hero {
  background: var(--background);
  color: var(--text);
  padding-bottom: 1rem;
  margin: 0;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 2rem 1rem 2rem;
  text-align: center;
}

.hero-title {
  font-size: 5.5rem;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 1.5rem;
  color: var(--text);
}

.hero-subtitle {
  font-size: 1.4rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  color: var(--text-secondary);
}

.sample-wrapper {
  display: inline-block;
  text-align: center;
}

.btn-sample {
  font-size: 0.95rem;
  padding: 0.75rem 1.25rem;
  display: inline-flex;
}

.sample-note {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
  opacity: 0.8;
}

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

/* Sections */
section {
  padding: 3rem 0;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 1rem;
  color: var(--text);
}

.section-subtitle {
  font-size: 1.25rem;
  text-align: center;
  color: var(--text-secondary);
  margin-bottom: 3rem;
  opacity: 0.8;
}

/* Problem Section */
.problem {
  background: var(--surface);
}

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

.problem-card {
  background: var(--background);
  padding: 2rem;
  border-radius: 1rem;
  text-align: center;
  border: 2px solid var(--border);
  transition: all 0.3s;
}

.problem-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.problem-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.problem-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text);
}

.problem-card p {
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Solution Section */
.solution {
  background: var(--background);
}

/* Sample Preview Section */
.sample-preview {
  background: var(--surface);
  text-align: center;
  padding: 3rem 0;
}

.sample-preview .section-title {
  margin-bottom: 1rem;
}

.sample-preview .section-subtitle {
  margin-bottom: 2rem;
}

.sample-preview .btn {
  margin: 0 auto;
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  margin-top: 3rem;
}

.step {
  display: flex;
  gap: 2rem;
  background: var(--surface);
  padding: 2.5rem;
  border-radius: 1rem;
  box-shadow: var(--shadow);
  transition: all 0.3s;
}

.step:hover {
  box-shadow: var(--shadow-lg);
  transform: translateX(8px);
}

.step-number {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
}

.step-content {
  flex: 1;
}

.step-content h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--text);
}

.step-content p {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.step-feature {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary);
  font-weight: 500;
  font-size: 0.95rem;
}

.step-feature svg {
  flex-shrink: 0;
}

/* Features Section */
.features {
  background: var(--surface);
}

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

.feature-card {
  background: var(--background);
  padding: 2rem;
  border-radius: 1rem;
  text-align: center;
  border: 2px solid transparent;
  transition: all 0.3s;
}

.feature-card:hover {
  border-color: var(--secondary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

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

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--text);
}

.feature-card p {
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: 0.95rem;
}

/* CTA Section */
.cta {
  background: linear-gradient(135deg, var(--secondary) 0%, #E5A31A 100%);
  color: var(--text);
  text-align: center;
  padding: 5rem 2rem;
}

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

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

.cta-note {
  margin-top: 1rem;
  font-size: 0.875rem;
  opacity: 0.8;
}

/* Footer */
.footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 3rem 0;
}

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

.footer-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.footer-logo-img {
  height: 32px;
  width: auto;
}

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

.footer-text {
  color: var(--text-secondary);
  opacity: 0.8;
  margin-bottom: 0.5rem;
}

.footer-credit {
  color: var(--text-secondary);
  opacity: 0.7;
  font-size: 0.875rem;
}

.footer-link {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-link:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1.125rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .section-subtitle {
    font-size: 1.125rem;
  }

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

  .step {
    flex-direction: column;
    text-align: center;
  }

  .step:hover {
    transform: translateY(-4px);
  }

  .step-number {
    margin: 0 auto;
  }

  .nav-content {
    padding: 0 1rem;
  }

  .container {
    padding: 0 1rem;
  }

  section {
    padding: 3rem 0;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.75rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .btn-large {
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
  }

  .logo-text {
    font-size: 1.25rem;
  }

  .logo-img {
    height: 32px;
  }

  .step {
    padding: 1.5rem;
  }

  .problem-card,
  .feature-card {
    padding: 1.5rem;
  }

  .cta-title {
    font-size: 2rem;
  }

  .cta-subtitle {
    font-size: 1.125rem;
  }
}
