/* StrainChain Multi-Page Site Styles */
:root {
  --primary: #1e6fff;
  --primary-dark: #1557e6;
  --secondary: #6c757d;
  --success: #28a745;
  --warning: #ffc107;
  --danger: #dc3545;
  --light: #f8f9fa;
  --dark: #212529;
  --bg: #ffffff;
  --bg-alt: #f7f9fb;
  --text: #212529;
  --text-muted: #6c757d;
  --border: #dee2e6;
  --shadow: 0 2px 10px rgba(0,0,0,0.1);
  --shadow-lg: 0 4px 20px rgba(0,0,0,0.15);
  --radius: 8px;
  --radius-lg: 12px;
  --max-width: 1200px;
  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

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

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

/* Navigation */
.navbar {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 20px;
}

.nav-brand a {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-links a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.nav-toggle span {
  width: 25px;
  height: 3px;
  background: var(--text);
  margin: 3px 0;
  transition: 0.3s;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  padding: 4rem 0;
  text-align: center;
}

.hero-content h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

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

.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Page Headers */
.page-header {
  background: var(--bg-alt);
  padding: 3rem 0;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.page-header h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text);
}

.page-header p {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

.masterclass-header,
.community-header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
}

.masterclass-header h1,
.community-header h1 {
  color: white;
}

.masterclass-header p,
.community-header p {
  color: rgba(255,255,255,0.9);
}

.value-badge {
  display: inline-block;
  background: rgba(255,255,255,0.2);
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  font-weight: 600;
  margin-top: 1rem;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: var(--primary);
  color: white;
  text-decoration: none;
  border-radius: var(--radius);
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  text-align: center;
}

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

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

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

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

/* Features Grid */
.features {
  padding: 4rem 0;
  background: var(--bg-alt);
}

.features h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: var(--text);
}

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

.feature-card {
  background: var(--bg);
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  text-align: center;
  transition: transform 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
}

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

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

.feature-card p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.feature-link {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
}

.feature-link:hover {
  text-decoration: underline;
}

/* Bonus Cards */
.bonus-card {
  background: var(--bg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  margin: 2rem 0;
  overflow: hidden;
}

.bonus-header {
  background: var(--bg-alt);
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.bonus-header h2 {
  font-size: 1.5rem;
  color: var(--text);
  margin: 0;
}

.bonus-value {
  background: var(--success);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.9rem;
}

.bonus-badge {
  background: var(--warning);
  color: var(--dark);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.9rem;
}

.bonus-card > p,
.bonus-card .license-info {
  padding: 1.5rem 2rem;
}

.bonus-actions {
  padding: 0 2rem 2rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.license-info ul {
  margin-top: 1rem;
  padding-left: 1.5rem;
}

.license-info li {
  margin-bottom: 0.5rem;
  color: var(--text-muted);
}

/* Content Grids */
.content-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  margin: 3rem 0;
}

.content-main {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.content-sidebar {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.masterclass-card,
.community-card,
.access-card,
.stats-card,
.join-card,
.contact-card {
  background: var(--bg);
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.masterclass-card h2,
.community-card h2 {
  margin-bottom: 1.5rem;
  color: var(--text);
}

.learning-points {
  list-style: none;
  padding: 0;
}

.learning-points li {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
  position: relative;
  padding-left: 2rem;
}

.learning-points li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: bold;
}

.learning-points li:last-child {
  border-bottom: none;
}

.modules-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.module {
  padding: 1.5rem;
  background: var(--bg-alt);
  border-radius: var(--radius);
  border-left: 4px solid var(--primary);
}

.module h3 {
  margin-bottom: 0.5rem;
  color: var(--text);
}

.module p {
  color: var(--text-muted);
  margin: 0;
}

/* Stats */
.stats-card h3,
.join-card h3,
.access-card h3 {
  margin-bottom: 1rem;
  color: var(--text);
}

.stat {
  text-align: center;
  margin-bottom: 1.5rem;
}

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

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

.access-note,
.join-note {
  margin-top: 1rem;
  padding: 1rem;
  background: var(--bg-alt);
  border-radius: var(--radius);
  font-size: 0.9rem;
}

/* Benefits Grid */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.benefit {
  text-align: center;
  padding: 1.5rem;
  background: var(--bg-alt);
  border-radius: var(--radius);
}

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

.benefit h3 {
  margin-bottom: 0.5rem;
  color: var(--text);
}

.benefit p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.community-features {
  list-style: none;
  padding: 0;
}

.community-features li {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
  position: relative;
  padding-left: 2rem;
}

.community-features li:before {
  content: "🎯";
  position: absolute;
  left: 0;
}

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

.guidelines {
  margin-top: 1.5rem;
}

.guidelines h3 {
  margin: 1.5rem 0 0.5rem 0;
  color: var(--text);
}

.guidelines ul {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

.guidelines li {
  margin-bottom: 0.5rem;
  color: var(--text-muted);
}

/* Recent Activity */
.recent-activity {
  background: var(--bg);
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.recent-activity h3 {
  margin-bottom: 1rem;
  color: var(--text);
}

.activity-item {
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}

.activity-item:last-child {
  border-bottom: none;
}

.activity-item p {
  margin: 0 0 0.25rem 0;
  color: var(--text);
}

.activity-time {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Testimonials */
.testimonials {
  padding: 4rem 0;
  background: var(--bg-alt);
}

.testimonials h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: var(--text);
}

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

.testimonial {
  background: var(--bg);
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.testimonial p {
  font-style: italic;
  margin-bottom: 1rem;
  color: var(--text);
}

.testimonial cite {
  color: var(--text-muted);
  font-weight: 600;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin: 3rem 0;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.contact-method {
  padding: 1.5rem;
  background: var(--bg-alt);
  border-radius: var(--radius);
}

.contact-method h3 {
  margin-bottom: 0.5rem;
  color: var(--text);
}

.contact-method p {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.faq-section {
  margin-top: 3rem;
}

.faq-section h2 {
  margin-bottom: 2rem;
  color: var(--text);
}

.faq-item {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-item h3 {
  margin-bottom: 0.5rem;
  color: var(--text);
}

.faq-item p {
  color: var(--text-muted);
}

.faq-item a {
  color: var(--primary);
  text-decoration: none;
}

.faq-item a:hover {
  text-decoration: underline;
}

/* Forms */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--text);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
}

.contact-note {
  margin-top: 1rem;
  padding: 1rem;
  background: var(--bg-alt);
  border-radius: var(--radius);
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* CTA Section */
.cta-section {
  background: var(--bg-alt);
  padding: 4rem 0;
  text-align: center;
}

.cta-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--text);
}

.cta-content p {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

/* Footer */
.site-footer {
  background: var(--dark);
  color: white;
  padding: 3rem 0 1rem;
  margin-top: 4rem;
}

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

.footer-section h4 {
  margin-bottom: 1rem;
  color: white;
}

.footer-section p {
  color: rgba(255,255,255,0.8);
  line-height: 1.6;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

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

.footer-section ul li a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color: white;
}

.legal-text {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
}

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

.footer-bottom p {
  color: rgba(255,255,255,0.6);
  margin: 0;
}

/* Legal Notice */
.legal-notice {
  margin: 3rem 0;
  padding: 1.5rem;
  background: var(--bg-alt);
  border-radius: var(--radius);
  text-align: center;
}

.legal-notice p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 0;
}

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

  .nav-toggle {
    display: flex;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-cta {
    flex-direction: column;
    align-items: center;
  }

  .content-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .bonus-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .bonus-actions {
    flex-direction: column;
  }

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

  .container {
    padding: 0 15px;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 2rem 0;
  }

  .page-header {
    padding: 2rem 0;
  }

  .page-header h1 {
    font-size: 2rem;
  }

  .features {
    padding: 2rem 0;
  }

  .features h2,
  .testimonials h2,
  .cta-content h2 {
    font-size: 2rem;
  }

  .feature-card,
  .bonus-card,
  .masterclass-card,
  .community-card {
    padding: 1.5rem;
  }

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