/* ============================================
   TAJIMARTISTA - Landing Page Design System
   Palette: Navy + Amber | Style: Frosted Glass
   ============================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;700&family=Inter:wght@400;500;600&family=JetBrains+Mono:wght@400;500&display=swap');

/* --- Root Variables --- */
:root {
  --bg-deep: #0B1120;
  --bg-mid: #0F1A2E;
  --bg-card: #111D33;
  --bg-glass: rgba(255, 255, 255, 0.04);
  --bg-glass-hover: rgba(255, 255, 255, 0.08);
  --border-glass: rgba(255, 255, 255, 0.08);
  --border-glass-hover: rgba(255, 255, 255, 0.15);
  --amber: #D4A853;
  --amber-bright: #F5A623;
  --amber-glow: rgba(245, 166, 35, 0.25);
  --amber-soft: rgba(212, 168, 83, 0.15);
  --text-primary: #F0EDE5;
  --text-secondary: #8A95A8;
  --text-muted: #556178;
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --transition-fast: 0.2s ease;
  --transition-normal: 0.4s ease;
  --transition-slow: 0.6s cubic-bezier(0.25, 0.1, 0.25, 1);
  --container-max: 1200px;
  --gutter: clamp(1rem, 4vw, 2rem);
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden; width: 100%; }
body { font-family: var(--font-body); background: var(--bg-deep); color: var(--text-primary); line-height: 1.6; overflow-x: hidden; width: 100%; position: relative; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
button { border: none; background: none; cursor: pointer; font-family: inherit; color: inherit; }

/* --- Noise Overlay (fosco texture) --- */
body::before {
  content: '';
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  pointer-events: none; z-index: 9999;
  opacity: 0.03;
  background-image: repeating-linear-gradient(
    0deg, transparent, transparent 2px,
    rgba(255,255,255,0.03) 2px, rgba(255,255,255,0.03) 4px
  );
}

/* --- Container --- */
.container {
  width: 100%; max-width: var(--container-max);
  margin: 0 auto; padding: 0 var(--gutter);
}

/* --- Typography --- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 700; line-height: 1;
  text-transform: uppercase;
  letter-spacing: -0.03em;
}
h1 { font-size: clamp(2.2rem, 7vw, 5rem); line-height: 0.9; }
h2 { font-size: clamp(1.6rem, 4vw, 3rem); line-height: 0.95; }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
.mono { font-family: var(--font-mono); letter-spacing: 0.05em; text-transform: uppercase; }
.text-amber { color: var(--amber); }
.text-muted { color: var(--text-secondary); }

/* --- Glass Card --- */
.glass {
  background: var(--bg-glass);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  box-shadow: 0 8px 32px rgba(0,0,0,0.4), inset 0 1px 1px rgba(255,255,255,0.04);
  transition: all var(--transition-normal);
}
.glass:hover {
  background: var(--bg-glass-hover);
  border-color: var(--border-glass-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 48px rgba(0,0,0,0.5), 0 0 30px var(--amber-glow);
}

/* --- Buttons --- */
.btn-primary {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 1rem 2.5rem;
  background: linear-gradient(135deg, var(--amber), var(--amber-bright));
  color: var(--bg-deep); font-family: var(--font-display);
  font-weight: 700; font-size: 0.95rem;
  text-transform: uppercase; letter-spacing: 0.05em;
  border: none; cursor: pointer;
  transition: all var(--transition-fast);
  box-shadow: 0 4px 20px var(--amber-glow);
  position: relative; overflow: hidden;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 40px rgba(245,166,35,0.4);
}
.btn-primary::after {
  content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left 0.5s;
}
.btn-primary:hover::after { left: 100%; }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 1rem 2.5rem;
  border: 2px solid var(--amber);
  color: var(--amber); font-family: var(--font-display);
  font-weight: 700; font-size: 0.95rem;
  text-transform: uppercase; letter-spacing: 0.05em;
  background: transparent; cursor: pointer;
  transition: all var(--transition-fast);
}
.btn-ghost:hover {
  background: var(--amber); color: var(--bg-deep);
}

/* --- Badge --- */
.badge {
  display: inline-block;
  font-family: var(--font-mono); font-size: 0.7rem;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--amber); padding: 0.4rem 1rem;
  border: 1px solid rgba(212,168,83,0.3);
  background: rgba(212,168,83,0.08);
  margin-bottom: 1.2rem;
}

/* --- Section Spacing --- */
section { padding: clamp(4rem, 10vh, 8rem) 0; position: relative; }
.section-label {
  font-family: var(--font-mono); font-size: 0.7rem;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--text-muted); margin-bottom: 1rem;
}
.section-title { margin-bottom: 1.5rem; }
.section-subtitle {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--text-secondary); max-width: 600px;
  line-height: 1.7;
}

/* ===== NAVIGATION ===== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 1rem 0;
  background: rgba(11, 17, 32, 0.8);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-glass);
  transition: all var(--transition-fast);
}
.nav .container { display: flex; justify-content: space-between; align-items: center; }
.nav-logo {
  font-family: var(--font-display); font-weight: 700;
  font-size: 1.2rem; text-transform: uppercase;
  letter-spacing: 0.05em;
}
.nav-logo span { color: var(--amber); }
.nav-cta {
  padding: 0.6rem 1.5rem; font-size: 0.75rem;
  background: var(--amber); color: var(--bg-deep);
  font-family: var(--font-display); font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.05em;
  transition: all var(--transition-fast);
}
.nav-cta:hover { box-shadow: 0 4px 20px var(--amber-glow); transform: translateY(-1px); }

/* ===== HERO ===== */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  position: relative; overflow: hidden;
  padding-top: 5rem;
}
.hero-bg {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  z-index: 0;
}
.hero-bg img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(0.6) brightness(0.3) contrast(1.1);
}
.hero-bg::after {
  content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(180deg,
    rgba(11,17,32,0.7) 0%,
    rgba(11,17,32,0.5) 40%,
    rgba(11,17,32,0.9) 100%
  );
}
.hero-content { position: relative; z-index: 2; }
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem; align-items: center;
}
.hero h1 { margin-bottom: 1.5rem; }
.hero h1 .highlight {
  color: var(--amber);
  text-shadow: 0 0 40px var(--amber-glow);
}
.hero-description {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--text-secondary); line-height: 1.8;
  margin-bottom: 2rem; max-width: 520px;
}
.hero-photo {
  display: flex; justify-content: center;
}
.hero-photo img {
  width: clamp(450px, 80vw, 950px);
  max-width: 130%;
  transform: translateX(5%) scale(1.2);
  filter: contrast(1.05) saturate(0.9);
}
.hero-stats {
  display: flex; gap: 2rem; margin-top: 2.5rem;
  padding-top: 2rem; border-top: 1px solid var(--border-glass);
}
.hero-stat-number {
  font-family: var(--font-display); font-size: 2rem;
  font-weight: 700; color: var(--amber); line-height: 1;
}
.hero-stat-label {
  font-size: 0.8rem; color: var(--text-muted); margin-top: 0.3rem;
}

/* ===== PAIN SECTION ===== */
.pain { background: var(--bg-mid); }
.pain-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem; margin-top: 3rem;
}
.pain-card {
  padding: 2rem; position: relative;
}
.pain-card .pain-icon {
  font-size: 2rem; margin-bottom: 1rem;
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.2);
  color: #ef4444;
}
.pain-card h3 {
  font-size: 1.1rem; margin-bottom: 0.75rem;
  text-transform: none; letter-spacing: 0;
}
.pain-card p { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.7; }

/* ===== SOLUTION ===== */
.solution-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem; margin-top: 3rem; align-items: center;
}
.solution-features { display: flex; flex-direction: column; gap: 1.5rem; }
.solution-feature {
  display: flex; gap: 1rem; align-items: flex-start;
}
.solution-check {
  width: 32px; height: 32px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(212,168,83,0.1);
  border: 1px solid rgba(212,168,83,0.3);
  color: var(--amber); font-size: 1rem;
}
.solution-feature h4 {
  font-size: 1rem; text-transform: none;
  letter-spacing: 0; margin-bottom: 0.3rem;
}
.solution-feature p { font-size: 0.85rem; color: var(--text-secondary); }

.solution-visual {
  padding: 2rem; text-align: center;
}
.solution-visual .mockup-title {
  font-family: var(--font-mono); font-size: 0.7rem;
  color: var(--amber); letter-spacing: 0.15em;
  margin-bottom: 1rem; text-transform: uppercase;
}
.module-preview {
  display: flex; flex-direction: column; gap: 0.5rem;
  text-align: left;
}
.module-preview-item {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-glass);
  background: rgba(255,255,255,0.02);
  font-size: 0.85rem;
  transition: all var(--transition-fast);
}
.module-preview-item:hover {
  border-color: rgba(212,168,83,0.3);
  background: rgba(212,168,83,0.05);
}
.module-preview-item .num {
  font-family: var(--font-mono); font-size: 0.7rem;
  color: var(--amber); min-width: 28px;
}

/* ===== MODULES ===== */
.modules { background: var(--bg-mid); }
.modules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem; margin-top: 3rem;
}
.module-card {
  padding: 2rem; position: relative; overflow: hidden;
}
.module-card::before {
  content: '';
  position: absolute; top: 0; left: 0; width: 4px; height: 100%;
  background: linear-gradient(180deg, var(--amber), transparent);
  opacity: 0; transition: opacity var(--transition-normal);
}
.module-card:hover::before { opacity: 1; }
.module-number {
  font-family: var(--font-mono); font-size: 0.65rem;
  color: var(--amber); letter-spacing: 0.15em;
  margin-bottom: 1rem; text-transform: uppercase;
}
.module-card h3 {
  font-size: 1.15rem; margin-bottom: 0.75rem;
  text-transform: none; letter-spacing: 0;
}
.module-card p {
  font-size: 0.85rem; color: var(--text-secondary);
  line-height: 1.7; margin-bottom: 1rem;
}
.module-lessons {
  display: flex; flex-direction: column; gap: 0.4rem;
}
.module-lesson {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.8rem; color: var(--text-muted);
  padding: 0.3rem 0;
}
.module-lesson::before {
  content: ''; width: 6px; height: 1px;
  background: var(--amber); flex-shrink: 0;
}
.module-locked {
  opacity: 0.5; position: relative;
}
.module-locked .badge {
  position: absolute; top: 1rem; right: 1rem;
  font-size: 0.6rem; padding: 0.2rem 0.6rem;
}

/* ===== INSTRUCTOR ===== */
.instructor-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem; margin-top: 3rem; align-items: center;
}
.instructor-photo {
  display: flex; justify-content: center;
}
.instructor-photo img {
  width: clamp(200px, 35vw, 320px);
  border: 2px solid rgba(212,168,83,0.15);
  filter: contrast(1.05) saturate(0.85);
}
.instructor-bio h3 {
  font-size: 1.5rem; margin-bottom: 0.5rem;
  text-transform: none; letter-spacing: 0;
}
/* ===== BONUS ===== */
.bonus-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem; margin-top: 3rem; align-items: center;
}
.bonus-image {
  display: flex; justify-content: center;
}
.bonus-image img {
  width: clamp(200px, 45vw, 420px);
  border: 1px solid rgba(212,168,83,0.3);
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}
.bonus-text h3 {
  font-size: 1.5rem; margin-bottom: 0.5rem;
  color: var(--amber);
}
.bonus-text p {
  font-size: 0.95rem; color: var(--text-secondary);
  line-height: 1.8; margin-bottom: 1.5rem;
}
.bonus-value {
  font-family: var(--font-mono); font-size: 0.85rem;
  color: #ef4444; text-decoration: line-through;
  margin-right: 1rem;
}
.bonus-free {
  font-family: var(--font-mono); font-size: 0.95rem;
  color: #10b981; font-weight: 700;
}
.instructor-role {
  font-family: var(--font-mono); font-size: 0.75rem;
  color: var(--amber); letter-spacing: 0.1em;
  text-transform: uppercase; margin-bottom: 1.5rem;
}
.instructor-text {
  font-size: 0.95rem; color: var(--text-secondary);
  line-height: 1.8; margin-bottom: 1.5rem;
}
.instructor-credentials {
  display: flex; flex-wrap: wrap; gap: 1rem;
}
.credential {
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.5rem 1rem; font-size: 0.8rem;
  background: rgba(212,168,83,0.06);
  border: 1px solid rgba(212,168,83,0.15);
  color: var(--text-secondary);
}
.credential svg { width: 16px; height: 16px; color: var(--amber); fill: var(--amber); }

/* ===== TESTIMONIALS ===== */
.testimonials { background: var(--bg-mid); }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem; margin-top: 3rem;
}
.testimonial-card {
  padding: 2rem; position: relative;
}
.testimonial-card::before {
  content: '\201C'; position: absolute; top: 1rem; left: 1.5rem;
  font-size: 4rem; color: rgba(212,168,83,0.15);
  font-family: Georgia, serif; line-height: 1;
}
.testimonial-text {
  font-size: 0.9rem; color: var(--text-secondary);
  line-height: 1.8; font-style: italic;
  margin-bottom: 1.5rem; padding-top: 1rem;
}
.testimonial-author {
  display: flex; align-items: center; gap: 0.75rem;
}
.testimonial-avatar {
  width: 36px; height: 36px;
  background: rgba(212,168,83,0.15);
  border: 1px solid rgba(212,168,83,0.3);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem; color: var(--amber); font-weight: 600;
}
.testimonial-name { font-size: 0.85rem; font-weight: 600; }
.testimonial-source {
  font-family: var(--font-mono); font-size: 0.65rem;
  color: var(--text-muted); letter-spacing: 0.05em;
}

/* ===== PRICING ===== */
.pricing-card {
  max-width: 560px; margin: 3rem auto 0;
  padding: 3rem; text-align: center;
  border: 1px solid rgba(212,168,83,0.2);
  background: rgba(212,168,83,0.03);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  position: relative; overflow: hidden;
}
.pricing-card::before {
  content: ''; position: absolute; top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle, var(--amber-glow) 0%, transparent 60%);
  opacity: 0.1; pointer-events: none;
}
.pricing-badge {
  display: inline-block; padding: 0.3rem 1rem;
  background: var(--amber); color: var(--bg-deep);
  font-family: var(--font-mono); font-size: 0.65rem;
  font-weight: 700; letter-spacing: 0.15em;
  text-transform: uppercase; margin-bottom: 2rem;
}
.pricing-amount {
  font-family: var(--font-display); font-weight: 700;
  margin-bottom: 0.5rem;
}
.pricing-amount .installment-prefix {
  display: block; font-size: 1.2rem; color: var(--text-primary);
  font-weight: 700; margin-bottom: -0.5rem; text-transform: uppercase;
}
.pricing-amount .currency {
  font-size: 1.5rem; vertical-align: super; color: var(--amber);
}
.pricing-amount .value {
  font-size: clamp(3rem, 8vw, 4.5rem); color: var(--text-primary);
}
.pricing-full {
  font-size: 0.9rem; color: var(--text-muted);
  margin-bottom: 2rem; margin-top: 0.5rem;
}
.pricing-features {
  text-align: left; margin-bottom: 2rem;
  display: flex; flex-direction: column; gap: 0.75rem;
}
.pricing-feature {
  display: flex; align-items: center; gap: 0.75rem;
  font-size: 0.9rem; color: var(--text-secondary);
}
.pricing-feature svg { width: 18px; height: 18px; color: var(--amber); fill: var(--amber); flex-shrink: 0; }
.pricing-card .btn-primary { width: 100%; justify-content: center; font-size: 1rem; padding: 1.2rem; }

/* ===== GUARANTEE ===== */
.guarantee-box {
  max-width: 700px; margin: 3rem auto 0;
  padding: 2.5rem; text-align: center;
  border: 1px solid rgba(212,168,83,0.15);
  background: rgba(212,168,83,0.03);
}
.guarantee-days {
  font-family: var(--font-display); font-size: 3rem;
  font-weight: 700; color: var(--amber); line-height: 1;
}
.guarantee-label {
  font-family: var(--font-mono); font-size: 0.7rem;
  color: var(--amber); letter-spacing: 0.15em;
  text-transform: uppercase; margin-bottom: 1rem;
}
.guarantee-text {
  font-size: 0.9rem; color: var(--text-secondary);
  line-height: 1.8; max-width: 500px; margin: 0 auto;
}

/* ===== FAQ ===== */
.faq { background: var(--bg-mid); }
.faq-list {
  max-width: 700px; margin: 3rem auto 0;
  display: flex; flex-direction: column; gap: 0.75rem;
}
.faq-item {
  border: 1px solid var(--border-glass);
  background: var(--bg-glass);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}
.faq-item.active { border-color: rgba(212,168,83,0.3); }
.faq-question {
  width: 100%; padding: 1.25rem 1.5rem;
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-display); font-size: 0.95rem;
  font-weight: 600; text-align: left;
  cursor: pointer; transition: color var(--transition-fast);
}
.faq-question:hover { color: var(--amber); }
.faq-icon {
  width: 24px; height: 24px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  color: var(--amber); font-size: 1.2rem;
  transition: transform var(--transition-fast);
}
.faq-item.active .faq-icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0; overflow: hidden;
  transition: max-height var(--transition-normal);
}
.faq-answer-inner {
  padding: 0 1.5rem 1.25rem;
  font-size: 0.9rem; color: var(--text-secondary); line-height: 1.8;
}

/* ===== FOOTER ===== */
.footer {
  padding: 3rem 0; border-top: 1px solid var(--border-glass);
  text-align: center;
}
.footer-brand {
  font-family: var(--font-display); font-size: 1rem;
  font-weight: 700; margin-bottom: 0.5rem;
}
.footer-brand span { color: var(--amber); }
.footer-copy { font-size: 0.75rem; color: var(--text-muted); }

/* ===== SCROLL ANIMATIONS ===== */
.reveal {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ===== AMBIENT GLOW ===== */
.glow-ambient {
  position: absolute; pointer-events: none; z-index: 0;
  border-radius: 50%; filter: blur(120px); opacity: 0.15;
}
.glow-amber {
  background: var(--amber-bright);
  width: 400px; height: 400px;
}
.glow-navy {
  background: #1e3a6e;
  width: 500px; height: 500px;
}

/* ===== RESPONSIVE ===== */
@media (min-width: 768px) {
  .hero-grid { grid-template-columns: 1fr 1fr; }
  .solution-grid { grid-template-columns: 1fr 1fr; }
  .instructor-grid { grid-template-columns: auto 1fr; }
  .bonus-grid { grid-template-columns: 1fr 1fr; }
  .pain-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 767px) {
  .nav-logo img { height: 26px !important; }
  .hero { text-align: center; }
  .hero-description { margin-left: auto; margin-right: auto; }
  .hero-stats { justify-content: center; flex-wrap: wrap; gap: 1.5rem; }
  .hero-photo { order: -1; margin-bottom: 1rem; }
  .hero-photo img {
    width: 90vw;
    max-width: 100%;
    transform: none;
    margin: 0 auto;
  }
  .section-subtitle { margin-left: auto; margin-right: auto; }
  .instructor-photo { order: -1; }
  .nav-cta { padding: 0.4rem 0.8rem; font-size: 0.65rem; white-space: nowrap; }
  .nav-logo { font-size: 1rem; }
  .nav .container { gap: 0.5rem; justify-content: space-between; }
  .hide-mobile { display: none; }
  .modules-grid { grid-template-columns: 1fr; }
}
