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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background: #fff;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
  line-height: 1.2;
  font-weight: 600;
}

a {
  color: #bb8648;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

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

img {
  max-width: 100%;
  height: auto;
  display: block;
}
:root {
  --bg-primary: #ffffff;
  --bg-secondary: #f8f9fa;
  --text-primary: #1a1a1a;
  --text-secondary: #666666;
  --brand-primary: #bb8648;
  --brand-secondary: #1a1a1a;
  --accent: #bb8648;
  --border: #e0e0e0;
}

[data-theme="dark"] {
  --bg-primary: #1a1a1a;
  --bg-secondary: #2d2d2d;
  --text-primary: #ffffff;
  --text-secondary: #cccccc;
  --border: #444444;
}
h1 {
  font-size: clamp(1.8rem, 5vw, 3rem);
  font-weight: 600;
}

h2 {
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  font-weight: 600;
}

h3 {
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  font-weight: 500;
}

p {
  font-size: min(1rem, 18px);
  line-height: 1.6;
}
.layout {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.layout__header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg-primary);
  border-bottom: 1px solid var(--border);
}

.layout__body {
  display: flex;
  flex: 1;
  flex-direction: column;
}

.layout__main {
  display: flex;
  flex-direction: column;
  gap: max(2rem, 3vw);
  flex: 1;
}

.layout__content {
  flex: 1 1 auto;
}

.layout__footer {
  margin-top: auto;
}
.Header {
  padding: 1rem 0;
}

.Header-container {
  max-width: min(90%, 1200px);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

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

.Header-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
}

.Header-toggle span {
  width: 25px;
  height: 3px;
  background: var(--text-primary);
  transition: all 0.3s ease;
}
.nav--mega {
  display: flex;
}

.mega-menu {
  display: flex;
  list-style: none;
  gap: max(1rem, 2vw);
  align-items: center;
}

.mega-menu__item {
  position: relative;
}

.mega-menu__link {
  color: var(--text-primary);
  padding: 0.5rem 1rem;
  display: block;
  transition: color 0.3s ease;
}

.mega-menu__link:hover {
  color: var(--brand-primary);
  text-decoration: none;
}
.Section {
  flex: 1 1 auto;
  position: relative;
}

.Section-wrapper {
  max-width: min(90%, 1200px);
  margin: 0 auto;
}
.Section:nth-child(odd) {
  padding: 3rem 1rem 5rem;
}

.Section:nth-child(even) {
  padding: 5rem 1rem 3rem;
}

.Section-content {
  padding-left: 10%;
  padding-right: 5%;
}

.Section-title {
  margin-bottom: max(1rem, 2vw);
  color: var(--text-primary);
}

.Section-subtitle {
  margin-bottom: max(1.5rem, 3vw);
  color: var(--text-secondary);
  font-size: 1.1rem;
}

.Section-text {
  margin-bottom: max(1rem, 2vw);
}

.Section-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: max(2rem, 3vw);
}
.Section::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.Button {
  display: inline-block;
  padding: min(0.75rem, 12px) min(1.5rem, 24px);
  border-radius: 4px;
  font-weight: 500;
  transition: all 0.3s ease;
  text-align: center;
}

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

.Button--primary:hover {
  background: #9a6d39;
  text-decoration: none;
  transform: translateY(-2px);
}

.Button--secondary {
  background: transparent;
  color: var(--brand-primary);
  border: 2px solid var(--brand-primary);
}

.Button--secondary:hover {
  background: var(--brand-primary);
  color: white;
  text-decoration: none;
}

.Button--large {
  padding: max(1rem, 14px) max(2rem, 32px);
  font-size: 1.1rem;
}
.Card {
  background: var(--bg-primary);
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.Card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.Card-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/9;
  background: #f0f0f0;
}

.Card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.Card-content {
  padding: min(1.5rem, 20px);
}

.Card-title {
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.Card-text {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.Card--featured {
  border: 3px solid var(--brand-primary);
  position: relative;
}
.section-hero {
  min-height: clamp(400px, 60vh, 700px);
  display: flex;
  align-items: center;
  color: white;
}

.section-hero .Section-title {
  color: white;
}

.section-hero .Section-text {
  color: rgba(255,255,255,0.95);
  font-size: 1.2rem;
}

.hero-video-preview {
  margin-top: 2rem;
}

.video-placeholder {
  background: rgba(0,0,0,0.3);
  padding: 3rem;
  border-radius: 12px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.video-placeholder:hover {
  background: rgba(0,0,0,0.4);
  transform: scale(1.05);
}
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr));
  gap: max(2rem, 3vw);
  margin: 2rem 0;
}

.metric-Card {
  text-align: center;
  padding: 2rem 1rem;
}

.metric-Card .Card-number {
  font-size: clamp(2rem, 6vw, 3.5rem);
  font-weight: 700;
  color: var(--brand-primary);
  margin-bottom: 0.5rem;
}
.featured-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr));
  gap: max(2rem, 3vw);
}

.VideoCard {
  cursor: pointer;
}

.video-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.3);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.VideoCard:hover .video-overlay {
  opacity: 1;
}

.video-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #e74c3c;
  color: white;
  padding: 0.3rem 0.6rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 700;
}

.video-duration {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(0,0,0,0.8);
  color: white;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-size: 0.8rem;
}
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr));
  gap: max(1.5rem, 2vw);
}

.CategoryCard {
  text-align: center;
  padding: 2rem 1rem;
}

.CategoryCard .Card-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}
.instructors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr));
  gap: max(2rem, 3vw);
}

.instructor-stats {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: max(2rem, 3vw);
  margin: 3rem 0;
}

.PricingCard {
  position: relative;
  padding: 2rem;
  text-align: center;
}

.PricingCard .price {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 1.5rem 0;
}

.price .currency {
  font-size: 1.2rem;
  align-self: flex-start;
}

.price .amount {
  font-size: clamp(2.5rem, 8vw, 4rem);
  font-weight: 700;
  color: var(--brand-primary);
}

.price .period {
  font-size: 1rem;
  color: var(--text-secondary);
  align-self: flex-end;
}

.features-list {
  list-style: none;
  margin: 2rem 0;
  text-align: left;
}

.features-list li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
}

.badge-popular {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--brand-primary);
  color: white;
  padding: 0.3rem 1rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
}

.save-badge {
  color: #27ae60;
  font-weight: 600;
  margin-top: 0.5rem;
}
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.FaqItem {
  border-bottom: 1px solid var(--border);
  margin-bottom: 1rem;
}

.FaqItem-question {
  width: 100%;
  padding: 1.5rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  font-size: 1.1rem;
  font-weight: 500;
  cursor: pointer;
  background: none;
  border: none;
}

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

.FaqItem-question .toggle {
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

.FaqItem.is-active .toggle {
  transform: rotate(45deg);
}

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

.FaqItem.is-active .FaqItem-answer {
  max-height: 500px;
  padding-bottom: 1.5rem;
}
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(400px, 100%), 1fr));
  gap: max(3rem, 4vw);
  margin-top: 2rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.ContactCard {
  padding: 1.5rem;
  background: var(--bg-secondary);
  border-radius: 8px;
}

.ContactCard h3 {
  margin-bottom: 0.5rem;
  color: var(--brand-primary);
}
.Form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.Form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.Form-label {
  font-weight: 500;
  color: var(--text-primary);
}

.Form-input {
  padding: min(0.75rem, 12px);
  border: 2px solid var(--border);
  border-radius: 4px;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.3s ease;
}

.Form-input:focus {
  outline: none;
  border-color: var(--brand-primary);
}

textarea.Form-input {
  resize: vertical;
  min-height: 120px;
}
.Footer {
  background: var(--text-primary);
  color: white;
  padding: 3rem 1rem 2rem;
  margin-top: auto;
}

.Footer-container {
  max-width: min(90%, 1200px);
  margin: 0 auto;
}

.Footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr));
  gap: max(2rem, 3vw);
  margin-bottom: 2rem;
}

.Footer-section h3,
.Footer-section h4 {
  margin-bottom: 1rem;
  color: var(--brand-primary);
}

.Footer-section ul {
  list-style: none;
}

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

.Footer-section a {
  color: rgba(255,255,255,0.8);
  transition: color 0.3s ease;
}

.Footer-section a:hover {
  color: white;
  text-decoration: none;
}

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

.social-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.auth-section {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.auth-container {
  width: 100%;
  max-width: 450px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.auth-card {
  padding: 3rem 2rem;
}

.auth-title {
  text-align: center;
  margin-bottom: 0.5rem;
}

.auth-subtitle {
  text-align: center;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.auth-form {
  margin-top: 2rem;
}

.auth-links {
  text-align: center;
  margin-top: 1.5rem;
}

.checkbox-group {
  flex-direction: row;
  align-items: center;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-full {
  width: 100%;
}
.alert {
  padding: 1rem;
  border-radius: 4px;
  margin-bottom: 1.5rem;
}

.alert-error {
  background: #fee;
  color: #c33;
  border: 1px solid #fcc;
}

.alert-success {
  background: #efe;
  color: #3c3;
  border: 1px solid #cfc;
}
.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.dashboard-card {
  padding: 2rem;
}

.status-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-weight: 600;
  margin: 1rem 0;
}

.status-badge.premium {
  background: linear-gradient(135deg, #bb8648, #d4a574);
  color: white;
}

.status-badge.free {
  background: #e0e0e0;
  color: #666;
}

.quick-links {
  list-style: none;
}

.quick-links li {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
}

.quick-links a {
  display: block;
  color: var(--text-primary);
  transition: color 0.3s ease;
}

.quick-links a:hover {
  color: var(--brand-primary);
  text-decoration: none;
  padding-left: 0.5rem;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(250px, 100%), 1fr));
  gap: 2rem;
  margin-top: 2rem;
}
.cta-box {
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary));
  color: white;
  text-align: center;
  padding: 3rem 2rem;
  border-radius: 12px;
  margin: 3rem 0;
}

.cta-box h3 {
  color: white;
  margin-bottom: 1rem;
}

.cta-box p {
  margin-bottom: 2rem;
  font-size: 1.1rem;
}
.payment-methods {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 2rem;
  font-size: 1.1rem;
}
.video-filters {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 2rem 0;
}

.filter-btn {
  padding: 0.6rem 1.2rem;
  border: 2px solid var(--border);
  border-radius: 4px;
  background: white;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-btn:hover, .filter-btn.active {
  background: var(--brand-primary);
  color: white;
  border-color: var(--brand-primary);
}
@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.Section {
  animation: slideIn 0.5s ease;
}
@media (max-width: 768px) {
  .Header-toggle {
    display: flex;
  }

  .Header-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
  }

  .Header-nav.is-active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .mega-menu {
    flex-direction: column;
    gap: 0;
  }

  .mega-menu__item {
    width: 100%;
    border-bottom: 1px solid var(--border);
  }

  .mega-menu__link {
    padding: 1rem;
  }

  .Section:nth-child(odd),
  .Section:nth-child(even) {
    padding: 2rem 1rem;
  }

  .Section-content {
    padding-left: 0;
    padding-right: 0;
  }

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

  .Button {
    width: 100%;
  }

  h1 {
    font-size: 1.8rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  h3 {
    font-size: 1.3rem;
  }
}

@media (min-width: 768px) {
  body {
    gap: 2rem;
  }

  .layout__main {
    gap: 3rem;
  }
}

@media (min-width: 1024px) {
  .layout__main {
    gap: 4rem;
  }
}
