/* =========================================================
   Methods page styles
   ========================================================= */

/* ---------- Page hero ---------- */
.page-hero {
  position: relative;
  padding: clamp(60px, 9vw, 110px) 0 30px;
  overflow: hidden;
}

.page-hero .hero-blob {
  position: absolute;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.45;
  pointer-events: none;
  z-index: 0;
  transition: transform .25s ease-out;
}

.page-hero .hero-blob-a { background: #8b5cf6; top: -100px; left: 5%; }
.page-hero .hero-blob-b { background: #06b6d4; top: -50px; right: 5%; }

.ph-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
}

.ph-inner h1 { margin: 22px 0; }

.ph-inner p {
  font-size: 1.1rem;
  max-width: 680px;
  margin: 0 auto;
}

.ph-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 22px 28px;
  margin-top: 36px;
  padding: 16px 22px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px;
  backdrop-filter: blur(8px);
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.ph-meta > div { text-align: center; }

.ph-meta strong {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.28rem;
  font-weight: 700;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.ph-meta span {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ---------- Method section ---------- */
.method-section { scroll-margin-top: 80px; }

/* Помалку воздух помеѓу методите (meta-grid е отстранет) */
.section.method-section {
  padding: clamp(26px, 3.5vw, 48px) 0;
}

.method-detail {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(20px, 3.2vw, 36px);
  align-items: center;
  margin-bottom: 16px;
}

.method-detail.reverse {
  grid-template-columns: 1fr 1.05fr;
}

.method-detail.reverse .md-info { order: 2; }
.method-detail.reverse .md-visual { order: 1; }

.md-info h2 { margin: 16px 0 12px; }

.md-lead {
  font-size: 1.05rem;
  margin-bottom: 22px;
  color: var(--text-dim);
}

.md-lead-follow {
  margin-top: -10px;
  margin-bottom: 22px;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-dim);
}

.md-features { display: grid; gap: 14px; }

.md-feature {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 14px;
  align-items: start;
}

.check {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(16,185,129,0.15);
  border: 1px solid rgba(16,185,129,0.4);
  color: #10b981;
  display: grid;
  place-items: center;
  font-size: 0.85rem;
  font-weight: 700;
  flex-shrink: 0;
}

.md-feature strong { color: #fff; font-size: 1rem; display: block; margin-bottom: 4px; }
.md-feature p { font-size: 0.94rem; }

/* ---------- Method visuals ---------- */
.md-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 340px;
}

/* AI Influencer card */
.md-card {
  width: 100%;
  max-width: 380px;
  background: linear-gradient(180deg, rgba(20,20,28,0.9), rgba(13,13,20,0.9));
  border: 1px solid var(--border-strong);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5), 0 0 60px rgba(236,72,153,0.18);
  backdrop-filter: blur(14px);
  animation: float 7s ease-in-out infinite;
}

.md-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
}

.md-card-head small { display: block; color: var(--text-muted); font-size: 0.78rem; }
.md-card-head strong { color: #fff; font-size: 0.98rem; }

.md-badge {
  background: linear-gradient(135deg,#ef4444,#f59e0b);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  letter-spacing: 0.08em;
}

.md-feed {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 16px;
}

.md-post {
  aspect-ratio: 9/12;
  border-radius: 12px;
  position: relative;
  overflow: hidden;
}

.md-post img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  z-index: 0;
}

.md-post::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.5));
  z-index: 1;
  pointer-events: none;
}

/* AI Design grid */
.md-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  width: 100%;
  max-width: 440px;
}

.md-design-card {
  aspect-ratio: 1;
  border-radius: 18px;
  position: relative;
  overflow: hidden;
  background: rgba(255,255,255,0.04);
  box-shadow: 0 20px 50px rgba(0,0,0,0.4);
  transition: transform .3s ease;
  animation: float 7s ease-in-out infinite;
}

.md-design-card:nth-child(1) { animation-delay: 0s; }
.md-design-card:nth-child(2) { animation-delay: -2s; }
.md-design-card:nth-child(3) { animation-delay: -4s; }
.md-design-card:nth-child(4) { animation-delay: -6s; }

.md-design-card:hover { transform: scale(1.04); }

.md-design-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.md-design-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 58%, rgba(0,0,0,0.58));
  pointer-events: none;
}

.md-design-tag {
  position: absolute;
  bottom: 12px;
  left: 12px;
  right: 12px;
  z-index: 1;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(10px);
  color: #fff;
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  text-align: center;
}

/* Dropshipping shop */
.md-shop {
  width: 100%;
  max-width: 400px;
  background: linear-gradient(180deg, rgba(20,20,28,0.9), rgba(13,13,20,0.9));
  border: 1px solid var(--border-strong);
  border-radius: 20px;
  overflow: hidden;
  backdrop-filter: blur(14px);
  box-shadow: 0 30px 80px rgba(0,0,0,0.5), 0 0 60px rgba(16,185,129,0.18);
  animation: float 7s ease-in-out infinite;
}

.md-shop-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  font-family: 'Space Grotesk', monospace;
  font-size: 0.82rem;
  color: var(--text-dim);
}

.md-shop-dot {
  width: 8px;
  height: 8px;
  background: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 8px #10b981;
}

.md-products {
  padding: 16px;
  display: grid;
  gap: 12px;
}

.md-product {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 14px;
  align-items: center;
  padding: 12px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 12px;
}

.md-product-img {
  width: 48px;
  height: 48px;
  border-radius: 10px;
}

.md-product strong { display: block; font-size: 0.92rem; color: #fff; }
.md-product small { color: var(--text-muted); font-size: 0.8rem; }

.md-shop-stats {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  border-top: 1px solid var(--border);
  background: linear-gradient(180deg, transparent, rgba(16,185,129,0.06));
}

.md-shop-stats small { display: block; font-size: 0.78rem; color: var(--text-muted); margin-bottom: 4px; }

.md-shop-stats strong {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.5rem;
  color: #fff;
}

.md-shop-trend {
  background: rgba(16,185,129,0.15);
  border: 1px solid rgba(16,185,129,0.3);
  color: #10b981;
  padding: 6px 14px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.85rem;
}

/* No-code browser */
.md-browser {
  width: 100%;
  max-width: 460px;
  background: linear-gradient(180deg, rgba(20,20,28,0.9), rgba(13,13,20,0.9));
  border: 1px solid var(--border-strong);
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5), 0 0 60px rgba(245,158,11,0.18);
  animation: float 7s ease-in-out infinite;
}

.md-browser-head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,0.02);
}

.md-browser-dots {
  display: flex;
  gap: 6px;
}

.md-browser-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
}

.md-browser-dots span:nth-child(1) { background: #ef4444; }
.md-browser-dots span:nth-child(2) { background: #f59e0b; }
.md-browser-dots span:nth-child(3) { background: #10b981; }

.md-browser-url {
  flex: 1;
  padding: 6px 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: 'Space Grotesk', monospace;
  font-size: 0.78rem;
  color: var(--text-dim);
}

.md-browser-body { padding: 18px; }

.md-nocode-hero {
  min-height: 170px;
  border-radius: 14px;
  padding: 20px;
  margin-bottom: 14px;
  background:
    radial-gradient(circle at 82% 18%, rgba(245,158,11,0.36), transparent 30%),
    linear-gradient(135deg, rgba(245,158,11,0.18), rgba(139,92,246,0.18) 58%, rgba(6,182,212,0.14));
  border: 1px solid rgba(245,158,11,0.24);
}

.md-nocode-kicker {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  color: #fcd34d;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.md-nocode-hero h4 {
  max-width: 310px;
  margin: 0 0 8px;
  color: #fff;
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  line-height: 1.06;
  letter-spacing: -0.04em;
}

.md-nocode-hero p {
  max-width: 330px;
  margin: 0;
  color: var(--text-dim);
  font-size: 0.88rem;
  line-height: 1.45;
}

.md-nocode-actions,
.md-nocode-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.md-nocode-actions {
  margin-top: 14px;
}

.md-nocode-actions span,
.md-nocode-chips span {
  padding: 6px 10px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  color: var(--text-dim);
  font-size: 0.72rem;
  font-weight: 600;
}

.md-nocode-actions span:first-child {
  color: #111827;
  background: linear-gradient(135deg, #f59e0b, #fcd34d);
  border-color: rgba(245,158,11,0.45);
}

/* ---------- Method inline buy CTA ---------- */
.md-method-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 20px;
  margin-top: 0;
  padding: 14px 18px;
  background: rgba(139, 92, 246, 0.06);
  border: 1px solid rgba(139, 92, 246, 0.18);
  border-radius: 14px;
}

.md-method-cta-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px 14px;
}

.md-method-price-row {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px 12px;
}

.md-method-price-old {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: line-through;
  text-decoration-color: rgba(239, 68, 68, 0.65);
  text-decoration-thickness: 2px;
  letter-spacing: -0.02em;
}

.md-method-price {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.65rem;
  font-weight: 700;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: -0.02em;
  line-height: 1;
}

.md-method-price-hint {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.md-method-cta .btn-primary {
  flex-shrink: 0;
}

.md-method-cta .btn-method-buy--secondary {
  margin-left: 10px;
  flex-shrink: 0;
}

/* Различни акценти по метод (рамка + нијанса на кутијата) */
.md-method-cta--m01 {
  border-color: rgba(236, 72, 153, 0.28);
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.07), rgba(139, 92, 246, 0.04));
}

.md-method-cta--m02 {
  border-color: rgba(6, 182, 212, 0.28);
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.08), rgba(59, 130, 246, 0.04));
}

.md-method-cta--m03 {
  border-color: rgba(16, 185, 129, 0.28);
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.08), rgba(6, 182, 212, 0.04));
}

.md-method-cta--m04 {
  border-color: rgba(245, 158, 11, 0.3);
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.08), rgba(236, 72, 153, 0.04));
}

/* Различни градиенти на копчињата по метод */
.btn-method-buy {
  white-space: normal;
  text-align: center;
  line-height: 1.3;
  max-width: min(100%, 280px);
}

.btn-method-buy--m01 {
  background: linear-gradient(135deg, #ec4899, #a855f7) !important;
  box-shadow: 0 10px 28px rgba(236, 72, 153, 0.38) !important;
}
.btn-method-buy--m01:hover {
  box-shadow: 0 16px 38px rgba(236, 72, 153, 0.52) !important;
}

.btn-method-buy--m02 {
  background: linear-gradient(135deg, #06b6d4, #3b82f6) !important;
  box-shadow: 0 10px 28px rgba(6, 182, 212, 0.38) !important;
}
.btn-method-buy--m02:hover {
  box-shadow: 0 16px 38px rgba(6, 182, 212, 0.52) !important;
}

.btn-method-buy--m03 {
  background: linear-gradient(135deg, #10b981, #06b6d4) !important;
  box-shadow: 0 10px 28px rgba(16, 185, 129, 0.38) !important;
}
.btn-method-buy--m03:hover {
  box-shadow: 0 16px 38px rgba(16, 185, 129, 0.52) !important;
}

.btn-method-buy--m04 {
  background: linear-gradient(135deg, #f59e0b, #ec4899) !important;
  box-shadow: 0 10px 28px rgba(245, 158, 11, 0.36) !important;
}
.btn-method-buy--m04:hover {
  box-shadow: 0 16px 38px rgba(245, 158, 11, 0.5) !important;
}

@media (max-width: 640px) {
  .md-method-cta {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    padding: 14px;
    margin-top: 4px;
  }

  .md-method-cta-inner {
    justify-content: center;
  }

  .md-method-cta .btn-primary {
    width: 100%;
    justify-content: center;
  }

  .btn-method-buy {
    max-width: none;
  }

  .md-method-cta .btn-method-buy--secondary {
    width: 100%;
    margin-left: 0;
    justify-content: center;
  }
}

/* ---------- Single package ---------- */
.single-pack {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 32px;
  align-items: stretch;
  background: linear-gradient(135deg, rgba(139,92,246,0.12), rgba(6,182,212,0.06));
  border: 1px solid var(--border-strong);
  border-radius: 24px;
  padding: 40px;
  backdrop-filter: blur(14px);
  box-shadow: 0 30px 80px rgba(0,0,0,0.4), 0 0 80px rgba(139,92,246,0.12);
  max-width: 1080px;
  margin: 0 auto;
}

.sp-left { display: flex; flex-direction: column; }

.price-tag {
  display: inline-block;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #c4b5fd;
  font-weight: 600;
  padding: 5px 12px;
  background: rgba(139,92,246,0.12);
  border: 1px solid rgba(139,92,246,0.3);
  border-radius: 999px;
  width: fit-content;
}

.sp-price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 22px;
}

.sp-price-old {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: line-through;
  text-decoration-color: rgba(239,68,68,0.7);
  text-decoration-thickness: 2px;
}

.sp-price-new {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 3.4rem;
  font-weight: 700;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: -0.02em;
  line-height: 1;
}

.sp-price-suffix {
  font-size: 0.82rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.sp-features {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: grid;
  gap: 12px;
}

.sp-features li {
  font-size: 0.96rem;
  color: var(--text-dim);
  line-height: 1.55;
}

.sp-features strong { color: #fff; font-weight: 600; }

.sp-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}

.sp-buy {
  background: linear-gradient(135deg, #10b981, #06b6d4) !important;
  box-shadow: 0 14px 32px rgba(16,185,129,0.4) !important;
  flex: 1;
  min-width: 240px;
  justify-content: center;
}

.sp-buy:hover {
  box-shadow: 0 20px 44px rgba(16,185,129,0.55) !important;
}

.sp-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 6px;
}

.sp-note strong { color: #c4b5fd; }

.sp-note-legal {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 8px;
  line-height: 1.5;
  text-align: left;
  max-width: 100%;
}

/* Right column */
.sp-right {
  display: flex;
  align-items: center;
  justify-content: center;
}

.sp-badge-stack {
  display: grid;
  gap: 12px;
  width: 100%;
  max-width: 280px;
}

.sp-mini-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: rgba(7,7,11,0.5);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: border-color .2s ease, transform .2s ease;
}

.sp-mini-card:hover {
  border-color: var(--border-strong);
  transform: translateX(4px);
}

.sp-mini-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.sp-mini-card strong {
  font-size: 0.92rem;
  color: #fff;
  font-weight: 600;
}


/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .section.method-section {
    padding: clamp(22px, 3vw, 40px) 0;
  }
  .method-detail,
  .method-detail.reverse {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .method-detail.reverse .md-info,
  .method-detail.reverse .md-visual { order: initial; }
  .md-visual { min-height: 280px; }
  .method-picker-grid { gap: 14px; }
  .single-pack { grid-template-columns: 1fr; padding: 28px; }
  .sp-right { order: -1; }
  .sp-badge-stack { max-width: 100%; grid-template-columns: 1fr 1fr; }
  .ph-meta { gap: 16px 20px; padding: 14px 18px; }
  .ph-meta strong { font-size: 1.15rem; }
}

@media (max-width: 640px) {
  .ph-meta {
    gap: 12px 16px;
    padding: 14px;
    margin-top: 26px;
    border-radius: 12px;
  }
  .ph-meta strong { font-size: 1.05rem; }
  .ph-meta span { font-size: 0.7rem; }

  .section.method-section {
    padding: 24px 0;
  }

  .method-detail { gap: 18px; margin-bottom: 12px; }
  .md-info h2 { margin: 14px 0 10px; }
  .md-lead { font-size: 0.98rem; margin-bottom: 16px; }
  .md-lead-follow { font-size: 0.94rem; margin-top: -6px; margin-bottom: 16px; }
  .md-features { gap: 12px; }
  .md-feature { grid-template-columns: 24px 1fr; gap: 12px; }
  .check { width: 24px; height: 24px; font-size: 0.78rem; }
  .md-feature p { font-size: 0.9rem; }
  .md-visual { min-height: 240px; }

  .method-picker-grid { grid-template-columns: 1fr; gap: 12px; }
  .picker-card { padding: 18px 16px 16px; }
  .picker-title { font-size: 1.05rem; }
  .picker-lead { font-size: 0.88rem; }

  .single-pack { padding: 24px; gap: 24px; border-radius: 18px; }
  .sp-price-new { font-size: 2.6rem; }
  .sp-price { gap: 10px; margin-bottom: 18px; }
  .sp-features li { font-size: 0.92rem; }
  .sp-buy { min-width: 100%; }

  .sp-badge-stack { grid-template-columns: 1fr; max-width: 100%; }
}
