/* ===== PURE COPY LANDING PAGE STYLES ===== */

/* CSS Variables */
:root {
  /* Colors */
  --primary: #667eea;
  --primary-dark: #5a67d8;
  --primary-light: #818cf8;
  --secondary: #10b981;
  --secondary-dark: #059669;

  --text-primary: #1f2937;
  --text-secondary: #6b7280;
  --text-muted: #9ca3af;

  --bg-primary: #ffffff;
  --bg-secondary: #f9fafb;
  --bg-accent: #f3f4f6;

  --border: #e5e7eb;
  --border-dark: #d1d5db;

  /* Typography */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-size-base: 16px;

  /* Spacing */
  --container-width: 1200px;
  --section-padding: 80px 20px;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);

  /* Transitions */
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  font-size: var(--font-size-base);
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul, ol {
  list-style: none;
}

/* Container */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 8px;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

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

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

.btn-large {
  padding: 16px 32px;
  font-size: 18px;
}

.btn-xlarge {
  padding: 20px 40px;
  font-size: 20px;
}

.btn-icon {
  width: 20px;
  height: 20px;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  z-index: 100;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 20px;
  font-weight: 700;
  text-decoration: none;
  color: var(--text-primary);
  transition: opacity 0.2s ease;
}

.nav-brand:hover {
  opacity: 0.8;
}

.brand-name {
  background: linear-gradient(135deg, var(--primary) 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  display: none;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links li {
  display: inline-block;
}

.nav-link {
  font-weight: 500;
  color: var(--text-secondary);
  transition: var(--transition);
}

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

/* Hero Section */
.hero {
  padding: var(--section-padding);
  padding-top: 60px;
  padding-bottom: 80px;
  background: linear-gradient(180deg, #f9fafb 0%, #ffffff 100%);
}

.hero-content {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.hero-title {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
  background: linear-gradient(135deg, var(--text-primary) 0%, #4b5563 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 22px;
  color: var(--text-secondary);
  margin-bottom: 40px;
  line-height: 1.5;
}

.hero-cta {
  margin-bottom: 60px;
}

.hero-cta-note {
  margin-top: 12px;
  font-size: 14px;
  color: var(--text-muted);
}

.hero-demo {
  margin-top: 60px;
}

.demo-window {
  background: white;
  border-radius: 12px;
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  max-width: 600px;
  margin: 0 auto;
}

.demo-header {
  display: flex;
  gap: 8px;
  padding: 12px 16px;
  background: #f3f4f6;
  border-bottom: 1px solid var(--border);
}

.demo-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #d1d5db;
}

.demo-content {
  padding: 32px;
  font-family: 'Monaco', monospace;
  font-size: 16px;
}

.demo-line {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}

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

.demo-kbd,
kbd {
  display: inline-block;
  padding: 4px 8px;
  font-size: 14px;
  font-weight: 600;
  font-family: 'Monaco', monospace;
  background: linear-gradient(180deg, #ffffff 0%, #f3f4f6 100%);
  border: 1px solid var(--border);
  border-radius: 4px;
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.05);
}

.demo-result {
  min-height: 60px;
  padding: 16px;
  background: #f9fafb;
  border-radius: 8px;
  color: var(--text-primary);
}

.typing-cursor {
  animation: blink 1s infinite;
}

@keyframes blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

/* Section Styles */
section {
  padding: var(--section-padding);
}

.section-title {
  font-size: 42px;
  font-weight: 800;
  text-align: center;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.section-subtitle {
  font-size: 18px;
  font-weight: 400;
  text-align: center;
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0 auto 48px;
  line-height: 1.6;
}

/* Problem Section */
.problem {
  background: white;
}

.target-tabs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.tab-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 20px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-secondary);
  background: var(--bg-secondary);
  border: 2px solid transparent;
  border-radius: 12px;
  transition: var(--transition);
}

.tab-btn:hover {
  color: var(--primary);
  background: var(--bg-primary);
  border-color: var(--border-dark);
}

.tab-btn.active {
  color: var(--primary);
  background: var(--bg-primary);
  border-color: var(--primary);
}

.tab-icon {
  width: 24px;
  height: 24px;
}

.tab-content {
  display: none;
  max-width: 700px;
  margin: 0 auto;
}

.tab-content.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.problem-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.problem-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: var(--bg-secondary);
  border-radius: 12px;
}

.problem-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  color: var(--primary);
}

.problem-item p {
  font-size: 18px;
  color: var(--text-secondary);
}

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

/* Solution Section */
.solution {
  background: linear-gradient(180deg, #ffffff 0%, #f9fafb 100%);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
  align-items: stretch;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  height: 100%;
}

.step-number {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 800;
  color: white;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-radius: 50%;
  margin-bottom: 24px;
  box-shadow: var(--shadow-md);
}

.step-content {
  display: flex;
  flex-direction: column;
  width: 100%;
  flex: 1;
}

.step-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.step-desc {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.step-visual {
  width: 100%;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 150px;
}

.mockup-card {
  padding: 24px;
  background: white;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.mockup-input {
  padding: 12px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 6px;
  margin-bottom: 12px;
  color: var(--text-muted);
}

.mockup-btn {
  width: 100%;
  padding: 10px;
  background: var(--primary);
  color: white;
  border-radius: 6px;
  font-weight: 600;
}

.mockup-kbd-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 18px;
}

.mockup-result {
  padding: 16px;
  background: #ecfdf5;
  color: #065f46;
  border-radius: 6px;
  font-weight: 600;
}

/* Features Section */
.features {
  background: white;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  max-width: 1000px;
  margin: 0 auto;
}

.features-grid-3 {
  grid-template-columns: repeat(3, 1fr);
  max-width: 1200px;
  margin-bottom: 48px;
}

.feature-card {
  padding: 32px;
  background: var(--bg-secondary);
  border-radius: 16px;
  transition: var(--transition);
}

.feature-card-large {
  padding: 40px;
  border: 2px solid var(--border);
}

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

.feature-list {
  margin-top: 20px;
  padding-left: 0;
  list-style: none;
}

.feature-list li {
  padding: 8px 0 8px 28px;
  position: relative;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.6;
}

.feature-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
  font-size: 18px;
}

.secondary-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.secondary-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: var(--bg-accent);
  border-radius: 12px;
  font-size: 14px;
  color: var(--text-secondary);
}

.secondary-icon {
  font-size: 20px;
  flex-shrink: 0;
}

.feature-icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.feature-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.feature-desc {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Use Cases / Testimonials */
.use-cases {
  background: linear-gradient(180deg, #f9fafb 0%, #ffffff 100%);
}

.testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  margin-bottom: 60px;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

.testimonial {
  padding: 32px;
  background: white;
  border-radius: 16px;
  box-shadow: var(--shadow-md);
}

.testimonial-content {
  margin-bottom: 24px;
}

.testimonial-text {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-secondary);
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 16px;
}

.author-avatar {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  color: white;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-radius: 50%;
}

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

.author-role {
  font-size: 14px;
  color: var(--text-muted);
}

/* Stats */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
}

.stat {
  text-align: center;
  padding: 24px;
}

.stat-number {
  font-size: 32px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
  white-space: nowrap;
}

.stat-label {
  font-size: 16px;
  color: var(--text-secondary);
  font-weight: 500;
}

/* Pricing */
.pricing {
  background: white;
}

.pricing-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  max-width: 800px;
  margin: 0 auto 24px;
}

.pricing-card {
  position: relative;
  padding: 40px 32px;
  background: var(--bg-secondary);
  border: 2px solid var(--border);
  border-radius: 16px;
  transition: var(--transition);
}

.pricing-card.featured {
  background: linear-gradient(180deg, #f0f4ff 0%, #e9f0ff 100%);
  border-color: var(--primary);
  transform: scale(1.05);
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.pricing-card.featured:hover {
  transform: translateY(-4px) scale(1.05);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 16px;
  background: var(--secondary);
  color: white;
  font-size: 12px;
  font-weight: 700;
  border-radius: 20px;
  text-transform: uppercase;
}

.pricing-badge.premium {
  background: var(--primary);
}

.pricing-title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 16px;
  text-align: center;
  color: var(--text-primary);
}

.pricing-price {
  text-align: center;
  margin-bottom: 8px;
}

.price-amount {
  font-size: 52px;
  font-weight: 800;
  color: var(--text-primary);
}

.price-period {
  font-size: 18px;
  color: var(--text-muted);
}

.pricing-annual {
  text-align: center;
  margin-bottom: 24px;
  font-size: 14px;
  color: var(--primary);
  font-weight: 600;
}

.pricing-features {
  margin-bottom: 32px;
}

.pricing-features li {
  padding: 12px 0;
  font-size: 16px;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border);
}

.pricing-features li:last-child {
  border-bottom: none;
}

.pricing-note {
  text-align: center;
  font-size: 14px;
  color: var(--text-muted);
}

/* FAQ */
.faq {
  background: var(--bg-secondary);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 16px;
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  text-align: left;
  transition: var(--transition);
}

.faq-question:hover {
  color: var(--primary);
}

.faq-icon {
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

.faq-answer p {
  padding: 0 24px 20px;
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Final CTA */
.final-cta {
  padding: 100px 20px;
  background: linear-gradient(135deg, var(--primary) 0%, #764ba2 100%);
  text-align: center;
  color: white;
}

.final-cta-title {
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 16px;
}

.final-cta-subtitle {
  font-size: 22px;
  margin-bottom: 40px;
  opacity: 0.9;
}

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

.final-cta .btn-primary:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 30px rgba(0, 0, 0, 0.2);
}

.final-cta-note {
  margin-top: 16px;
  font-size: 14px;
  opacity: 0.8;
}

/* Footer */
.footer {
  padding: 40px 20px 20px;
  background: var(--text-primary);
  color: white;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  margin-bottom: 24px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 18px;
  font-weight: 700;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}

.footer-link {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition);
}

.footer-link:hover {
  color: white;
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.footer-bottom p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
}

/* Responsive Design */
@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }

  .hero-title {
    font-size: 64px;
  }

  .hero-subtitle {
    font-size: 24px;
  }

  .section-title {
    font-size: 48px;
  }

  .final-cta-title {
    font-size: 56px;
  }

  .footer-content {
    flex-direction: row;
    justify-content: space-between;
  }
}

@media (max-width: 767px) {
  .hero-title {
    font-size: 36px;
  }

  .section-title {
    font-size: 32px;
  }

  .target-tabs {
    grid-template-columns: 1fr 1fr;
  }

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

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

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

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

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

  .pricing-card.featured {
    transform: none;
  }

  .final-cta-title {
    font-size: 32px;
  }
}

/* Animations */
@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-in {
  animation: slideInUp 0.6s ease-out;
}
/* ===== RESOURCES / BLOG SECTION ===== */
.resources {
  background: var(--bg-secondary);
  padding: var(--section-padding);
}

.resources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  margin-top: 48px;
  align-items: stretch;
}

.resource-card {
  background: var(--bg-primary);
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transition: var(--transition);
  border: 1px solid var(--border);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.resource-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
  border-color: var(--primary);
}

.resource-icon {
  font-size: 48px;
  margin-bottom: 16px;
  display: inline-block;
}

.resource-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
  line-height: 1.3;
}

.resource-excerpt {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 20px;
  line-height: 1.6;
  flex: 1;
}

.resource-toggle {
  width: 100%;
  margin-top: auto;
}

.resource-content {
  display: none;
}

/* ===== RESOURCE MODAL ===== */
.resource-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.resource-modal.active {
  display: flex;
}

.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  animation: fadeIn 0.3s ease;
}

.modal-container {
  position: relative;
  background: var(--bg-primary);
  border-radius: 20px;
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.3);
  animation: slideUp 0.3s ease;
  z-index: 1;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 32px 40px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}

.modal-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
  padding-right: 40px;
  line-height: 1.3;
}

.modal-close {
  background: none;
  border: none;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-secondary);
  border-radius: 50%;
  transition: var(--transition);
  flex-shrink: 0;
}

.modal-close:hover {
  background: var(--bg-accent);
  color: var(--text-primary);
}

.modal-body {
  padding: 40px;
  overflow-y: auto;
  flex: 1;
}

/* Modal Content Styling */
.modal-body h4 {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 24px;
  margin-top: 0;
}

.modal-body h5 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin-top: 32px;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--border);
  display: flex;
  align-items: center;
  gap: 8px;
}

.modal-body h5::before {
  content: '';
  width: 4px;
  height: 18px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 2px;
  flex-shrink: 0;
}

.modal-body h5:first-of-type {
  margin-top: 0;
}

/* Content elements - indented under h5 */
.modal-body p,
.modal-body ul,
.modal-body ol {
  margin-left: 12px;
  padding-left: 16px;
  border-left: 2px solid var(--border);
}

.modal-body p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 12px;
}

.modal-body ul,
.modal-body ol {
  margin-bottom: 16px;
}

.modal-body ul {
  padding-left: 36px;
}

.modal-body ol {
  padding-left: 36px;
}

.modal-body li {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 8px;
}

.modal-body ul li::marker {
  color: var(--primary);
}

.modal-body ol li::marker {
  color: var(--primary);
  font-weight: 600;
}

/* Tip box should not have left border (it has its own styling) */
.modal-body .tip-box {
  border-left: 4px solid var(--primary);
  margin-left: 0;
}

.modal-body pre {
  background: var(--bg-accent);
  border: 1px solid var(--border);
  border-left: 4px solid var(--primary);
  border-radius: 0 12px 12px 0;
  padding: 16px 20px;
  overflow-x: auto;
  margin: 16px 0 16px 12px;
}

.modal-body code {
  font-family: 'Monaco', 'Menlo', 'Courier New', monospace;
  font-size: 14px;
  color: var(--text-primary);
  line-height: 1.7;
}

.modal-body strong {
  font-weight: 600;
  color: var(--text-primary);
}

.modal-body em {
  color: var(--text-secondary);
  font-style: italic;
}

.modal-body kbd {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  padding: 4px 10px;
  border-radius: 6px;
  font-family: 'Monaco', 'Menlo', 'Courier New', monospace;
  font-size: 13px;
  font-weight: 600;
  margin-right: 8px;
  box-shadow: 0 2px 4px rgba(102, 126, 234, 0.3);
}

.modal-body .text-warning {
  color: #e74c3c;
  font-weight: 600;
}

.modal-body .tip-box {
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
  border-left: 4px solid var(--primary);
  padding: 16px 20px;
  border-radius: 0 12px 12px 0;
  margin: 24px 0;
}

.modal-body .tip-box strong {
  color: var(--primary);
}

/* Modal Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(40px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Scrollbar Styling for Modal */
.modal-body::-webkit-scrollbar {
  width: 8px;
}

.modal-body::-webkit-scrollbar-track {
  background: var(--bg-secondary);
  border-radius: 4px;
}

.modal-body::-webkit-scrollbar-thumb {
  background: var(--border-dark);
  border-radius: 4px;
}

.modal-body::-webkit-scrollbar-thumb:hover {
  background: var(--text-muted);
}

/* Prevent body scroll when modal is open */
body.modal-open {
  overflow: hidden;
}

/* Responsive Modal */
@media (max-width: 768px) {
  .modal-container {
    max-height: 95vh;
    border-radius: 16px;
  }

  .modal-header {
    padding: 24px;
  }

  .modal-title {
    font-size: 22px;
    padding-right: 20px;
  }

  .modal-close {
    width: 36px;
    height: 36px;
  }

  .modal-body {
    padding: 24px;
  }

  .modal-body h4 {
    font-size: 20px;
  }

  .modal-body h5 {
    font-size: 18px;
  }

  .resource-card {
    padding: 24px;
  }

  .resource-title {
    font-size: 20px;
  }

  .resource-icon {
    font-size: 40px;
  }

  .resources-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .features-grid-3 {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .secondary-features {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}
