/*
Theme Name: Etsy Masterclass
Theme URI: https://waqasakram.com/etsy-masterclass
Author: Waqas Akram
Author URI: https://waqasakram.com
Description: A high-converting custom theme for Etsy Digital Product Masterclass.
Version: 1.0.0
Text Domain: etsy-masterclass
*/

:root {
  --primary: #fbbf24;
  /* Amber 400 (Yellow/Gold) */
  --primary-dark: #f59e0b;
  /* Amber 500 */
  --secondary: #22c55e;
  /* Green 500 */
  --accent: #ef4444;
  /* Red 500 (Urgency) */
  --bg-body: #000000;
  /* Pure Black */
  --bg-card: #000000;
  /* Pure Black */
  --bg-light: #111111;
  /* Very Dark Gray */
  --text-main: #f3f4f6;
  /* Gray 100 */
  --text-muted: #9ca3af;
  /* Gray 400 */
  --border-color: #333333;
  /* Dark Gray Borders for visibility */
  --white: #ffffff;
  --dark: #000000;

  --font-main: 'Inter', sans-serif;
  --font-heading: 'Outfit', sans-serif;
  --max-width: 1200px;
  --header-height: 80px;
  --transition: all 0.3s ease;
}

/* Reset & Base */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-main);
  color: var(--text-main);
  line-height: 1.6;
  background-color: var(--bg-body);
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--white);
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Utilities */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  width: 100%;
}

.section {
  padding: 5rem 0;
}

.text-center {
  text-align: center;
}

.text-primary {
  color: var(--primary);
}

.text-accent {
  color: var(--accent);
}

.btn {
  display: inline-block;
  padding: 1rem 2rem;
  background-color: var(--primary);
  color: #000000;
  /* Black text for yellow button contrast */
  font-weight: 700;
  border-radius: 8px;
  font-size: 1.125rem;
  box-shadow: 0 4px 6px -1px rgba(251, 191, 36, 0.2), 0 2px 4px -1px rgba(251, 191, 36, 0.1);
  border: none;
  cursor: pointer;
}

.btn:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgba(251, 191, 36, 0.3), 0 4px 6px -2px rgba(251, 191, 36, 0.15);
}

.btn-secondary {
  background-color: var(--secondary);
  color: var(--white);
  box-shadow: 0 4px 6px -1px rgba(34, 197, 94, 0.2), 0 2px 4px -1px rgba(34, 197, 94, 0.1);
}

.btn-secondary:hover {
  background-color: #16a34a;
  /* Green 600 */
  box-shadow: 0 10px 15px -3px rgba(34, 197, 94, 0.3), 0 4px 6px -2px rgba(34, 197, 94, 0.15);
}

.btn-large {
  padding: 1.25rem 2.5rem;
  font-size: 1.25rem;
}

.btn-block {
  display: block;
  width: 100%;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.95);
  /* Pure Black background */
  backdrop-filter: blur(10px);
  height: var(--header-height);
  display: flex;
  align-items: center;
  z-index: 1000;
  border-bottom: 1px solid var(--border-color);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--primary);
}

.nav-links {
  display: none;
}

@media (min-width: 768px) {
  .nav-links {
    display: flex;
    gap: 2rem;
  }
}

.header-cta {
  font-size: 0.9rem;
  padding: 0.75rem 1.5rem;
}

/* Hero Section */
.hero-section {
  padding-top: calc(var(--header-height) + 4rem);
  padding-bottom: 6rem;
  background: var(--bg-body);
  /* Pure Black */
  text-align: center;
}

.hero-subheadline {
  color: var(--primary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.hero-headline {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  background: linear-gradient(to right, #fff 20%, var(--primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

@media (min-width: 768px) {
  .hero-headline {
    font-size: 3.5rem;
  }
}

.hero-description {
  font-size: 1.25rem;
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto 2rem;
}

.price-tag-wrapper {
  margin-bottom: 2rem;
  background: var(--bg-card);
  display: inline-block;
  padding: 1rem 2rem;
  border-radius: 12px;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-color);
}

.current-price {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
}

.original-price {
  text-decoration: line-through;
  color: var(--text-muted);
  font-size: 1.25rem;
  margin-right: 0.5rem;
}

.seats-badge {
  background-color: #fee2e2;
  color: #ef4444;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-top: 0.5rem;
  display: inline-block;
}

/* Countdown */
.countdown-container {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 3rem;
}

.countdown-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--white);
  padding: 1rem;
  border-radius: 8px;
  min-width: 80px;
}

.countdown-number {
  font-size: 1.5rem;
  font-weight: 700;
  display: block;
}

.countdown-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  opacity: 0.8;
}

/* Problem Section */
.problem-section {
  background-color: var(--bg-body);
}

.problem-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 3rem;
}

@media (min-width: 768px) {
  .problem-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.problem-card {
  padding: 2rem;
  border-radius: 12px;
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.2);
  text-align: center;
}

.problem-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  display: block;
}

/* Course Structure */
.course-section {
  background-color: var(--bg-body);
}

.week-card {
  background: var(--bg-card);
  padding: 1.5rem;
  border-radius: 12px;
  margin-bottom: 1rem;
  border-left: 4px solid var(--primary);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-color);
}

.week-title {
  font-weight: 700;
  color: var(--primary);
  display: block;
  margin-bottom: 0.5rem;
}

/* Payment Page */
.payment-page {
  padding-top: calc(var(--header-height) + 2rem);
  min-height: 100vh;
  background-color: var(--bg-body);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.payment-card {
  background: var(--bg-card);
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  max-width: 600px;
  width: 100%;
  margin-bottom: 2rem;
  border: 1px solid var(--border-color);
  color: var(--text-main);
}

.bank-details {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px dashed var(--border-color);
  padding: 1.5rem;
  border-radius: 8px;
  margin: 1.5rem 0;
}

.bank-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border-color);
}

.bank-row:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.copy-btn {
  background: none;
  border: none;
  color: var(--primary);
  cursor: pointer;
  font-size: 0.8rem;
  text-decoration: underline;
}

.whatsapp-submit-btn {
  background-color: #25D366;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 1rem;
  border-radius: 8px;
  font-weight: 600;
  margin-top: 1.5rem;
}

.whatsapp-submit-btn:hover {
  background-color: #22c55e;
}

/* FAQ */
.faq-item {
  border-bottom: 1px solid var(--border-color);
  background-color: var(--bg-card);
  margin-bottom: 1rem;
  border-radius: 8px;
  padding: 0 1.5rem;
  transition: background-color 0.2s ease;
}

.faq-item:hover {
  background-color: #262626;
  /* Slightly lighter on hover */
}

.faq-question {
  padding: 1.5rem 0;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--white);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out;
  color: var(--text-muted);
}

.faq-answer p {
  padding-bottom: 1.5rem;
  margin-top: 0;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  /* Increased to ensure visibility */
}

.faq-toggle {
  transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
  transform: rotate(180deg);
}

/* Floating WhatsApp */
.floating-whatsapp {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background-color: #25D366;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  z-index: 999;
}

.floating-whatsapp:hover {
  transform: scale(1.1);
}

/* Bonus styling */
.bonus-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

@media (min-width: 768px) {
  .bonus-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.bonus-card {
  background: rgba(236, 72, 153, 0.1);
  /* Low opacity pink */
  padding: 1.5rem;
  border-radius: 8px;
  border: 1px solid var(--secondary);
}

.value-stack-list li {
  display: flex;
  justify-content: space-between;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border-color);
}

.value-stack-price {
  font-weight: 700;
  color: var(--primary);
}

.total-value {
  font-size: 1.5rem;
  font-weight: 800;
  text-align: center;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 2px solid var(--border-color);
}

.instructions ol {
  color: var(--text-muted);
}