/* style/style.css */
:root {
  /* Dynamic Hue for primary color */
  --hue: 198;
  
  --bg: hsl(240, 20%, 98%);
  --surface: hsl(0, 0%, 100%);
  --ink: hsl(240, 10%, 10%);
  --ink-soft: hsl(240, 8%, 40%);
  --ink-faint: hsl(240, 6%, 60%);
  --line: hsl(240, 12%, 90%);
  
  --primary: hsl(var(--hue), 85%, 65%);
  --secondary: hsl(calc(var(--hue) + 9), 32%, 15%);
  --primary-dark: hsl(var(--hue), 85%, 55%);
  --primary-tint: hsl(var(--hue), 85%, 95%);
  
  --purple: var(--primary);
  --purple-dark: var(--primary-dark);
  --purple-tint: var(--primary-tint);

  --rose: var(--secondary);
  --rose-tint: hsl(calc(var(--hue) + 9), 32%, 95%);
  --indigo: var(--primary);
  --indigo-tint: var(--primary-tint);
  --amber: var(--secondary);
  --amber-tint: hsl(calc(var(--hue) + 9), 32%, 95%);
  --sky: var(--primary);
  --sky-tint: var(--primary-tint);
  --violet: var(--secondary);
  --violet-tint: hsl(calc(var(--hue) + 9), 32%, 95%);
  --mint: var(--primary);
  --mint-tint: var(--primary-tint);
  --orange: var(--secondary);
  --orange-tint: hsl(calc(var(--hue) + 9), 32%, 95%);
  --green-check: var(--primary);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  
  --shadow-sm: 0 4px 12px rgba(0,0,0,0.05);
  --shadow-md: 0 8px 24px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 32px rgba(0,0,0,0.12);
}

html[data-theme="dark"] {
  --bg: hsl(224, 30%, 12%);
  --surface: hsl(224, 30%, 16%);
  --ink: hsl(224, 20%, 96%);
  --ink-soft: hsl(224, 15%, 70%);
  --ink-faint: hsl(224, 15%, 50%);
  --line: hsl(224, 25%, 26%);
  
  --primary-tint: hsl(var(--hue), 50%, 18%);
  --purple-tint: hsl(var(--hue), 50%, 18%);
  
  --secondary-tint: hsl(calc(var(--hue) + 9), 50%, 18%);
  --rose-tint: var(--secondary-tint);
  --indigo-tint: var(--primary-tint);
  --amber-tint: var(--secondary-tint);
  --sky-tint: var(--primary-tint);
  --violet-tint: var(--secondary-tint);
  --mint-tint: var(--primary-tint);
  --orange-tint: var(--secondary-tint);

  --shadow-sm: 0 4px 12px rgba(0,0,0,0.2);
  --shadow-md: 0 8px 24px rgba(0,0,0,0.3);
  --shadow-lg: 0 12px 32px rgba(0,0,0,0.4);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: 'Outfit', sans-serif;
  background: var(--bg); color: var(--ink);
  transition: background-color 0.4s ease, color 0.4s ease;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
.wrap { max-width: 1260px; margin: 0 auto; padding: 0 32px; }

/* ---------- nav ---------- */
.nav { 
  border: 1px solid var(--line); 
  background: color-mix(in srgb, var(--bg) 60%, transparent); 
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 48px);
  max-width: 1200px;
  border-radius: 99px;
  z-index: 100;
  box-shadow: var(--shadow-sm);
  transition: background-color 0.4s ease, border-color 0.4s ease;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 32px; gap: 24px; }
.logo { display: flex; align-items: center; gap: 9px; cursor: pointer; transition: transform 0.2s ease; }
.logo:hover { transform: scale(1.02); }
.logo-mark { width: 24px; height: 24px; position: relative; flex-shrink: 0; }
.logo-mark svg { width: 100%; height: 100%; transition: stroke 0.3s ease; }
.logo-text b { font-size: 16px; font-weight: 800; display: block; line-height: 1.1; letter-spacing: -0.02em; }
.logo-text span { font-size: 10px; color: var(--ink-faint); font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; }
.nav-links { display: flex; align-items: center; gap: 28px; font-size: 14px; font-weight: 600; color: var(--ink-soft); }
.nav-links a { 
  display: flex; align-items: center; gap: 6px; padding: 10px 0;
  position: relative; transition: color 0.2s ease; 
}
.nav-links a::after {
  content: ''; position: absolute; bottom: 0; left: 0; width: 0%; height: 2px;
  background: var(--primary); transition: width 0.3s ease; border-radius: 2px;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { width: 100%; }
.nav-links a.active { color: var(--ink); }
.nav-links a.active::after { width: 100%; background: var(--primary); }
.nav-links a .ico { font-size: 13px; opacity: 0.8; }
.nav-right { display: flex; align-items: center; gap: 16px; }


.theme-btn {
  width: 36px; height: 36px; border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center;
  cursor: pointer; color: var(--ink-soft); border: 1px solid transparent; transition: all 0.2s ease;
  background: var(--surface);
}
.theme-btn:hover { background: var(--line); color: var(--ink); transform: rotate(15deg); }
.theme-btn svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2; transition: all 0.3s ease; }

.login-link { font-size: 14px; font-weight: 600; color: var(--ink-soft); cursor: pointer; transition: color 0.2s ease; }
.login-link:hover { color: var(--ink); }

.get-started {
  background: var(--primary); color: #fff; font-size: 14px; font-weight: 700; padding: 10px 20px;
  border-radius: var(--radius-sm); cursor: pointer; border: none; transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.get-started:hover { 
  background: var(--primary-dark); transform: translateY(-2px); 
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

/* ---------- page header ---------- */
.page-head { padding: 140px 0 60px; animation: fadeInDown 0.6s ease; text-align: center; }
.page-head h1 { font-size: 48px; font-weight: 800; margin-bottom: 16px; letter-spacing: -0.03em; background: linear-gradient(135deg, var(--ink) 0%, var(--primary) 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.page-head p { font-size: 18px; color: var(--ink-soft); line-height: 1.6; max-width: 600px; margin: 0 auto; }

/* ---------- hero split ---------- */
.hero-split {
  display: flex; align-items: center; justify-content: space-between; gap: 40px;
  padding: 140px 0 80px; animation: fadeInDown 0.8s ease;
}
.hero-text { flex: 1; max-width: 480px; }
.hero-text h1 { font-size: 38px; font-weight: 900; margin-bottom: 16px; line-height: 1.15; letter-spacing: -0.03em; background: linear-gradient(135deg, var(--ink) 0%, var(--primary-dark) 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero-text p { font-size: 15px; color: var(--ink-soft); line-height: 1.6; margin-bottom: 24px; }
.hero-actions { display: flex; gap: 12px; align-items: center; }
.hero-btn { padding: 11px 22px; border-radius: 99px; font-size: 14px; font-weight: 700; cursor: pointer; transition: all 0.3s ease; }
.hero-btn.outline { background: transparent; border: 2px solid var(--line); color: var(--ink); }
.hero-btn.outline:hover { border-color: var(--primary); color: var(--primary); }
.hero-graphic {
  position: relative; flex: 1; height: 280px; display: flex; justify-content: center; align-items: center;
}
.floating-qr {
  width: 180px; height: 180px; background: color-mix(in srgb, var(--surface) 60%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  display: flex; align-items: center; justify-content: center; z-index: 2; color: var(--primary);
  animation: float 6s ease-in-out infinite;
}
.floating-qr svg { width: 120px; height: 120px; }
.orb { position: absolute; border-radius: 50%; filter: blur(60px); z-index: 1; animation: pulse 8s ease-in-out infinite alternate; }
.orb-1 { width: 220px; height: 220px; background: var(--primary-tint); top: -10px; right: 20px; opacity: 0.6; }
.orb-2 { width: 180px; height: 180px; background: var(--primary-tint); bottom: -10px; left: 60px; opacity: 0.5; animation-delay: 2s; }
@keyframes float { 0% { transform: translateY(0px) rotate(0deg); } 50% { transform: translateY(-15px) rotate(2deg); } 100% { transform: translateY(0px) rotate(0deg); } }
@keyframes pulse { 0% { transform: scale(1); opacity: 0.5; } 100% { transform: scale(1.2); opacity: 0.8; } }

/* ---------- steps section (How it works) ---------- */
.steps-section { 
  padding: 120px 0; 
  position: relative;
  z-index: 1;
}
.steps-section::before {
  content: '';
  position: absolute;
  top: 0; left: 50%; transform: translateX(-50%);
  width: 100vw;
  height: 100%;
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  z-index: -1;
}
.steps-header { text-align: center; margin-bottom: 60px; }
.steps-header h2 {
  font-size: 36px; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 16px;
  background: linear-gradient(135deg, var(--ink) 0%, var(--primary) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.steps-header p { font-size: 16px; color: var(--ink-soft); max-width: 600px; margin: 0 auto; line-height: 1.6; }

.steps-grid { display: flex; flex-direction: column; gap: 32px; }

.step-card {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center;
  background: linear-gradient(135deg, var(--secondary), hsl(calc(var(--hue) + 5), 38%, 22%));
  border-radius: 24px; padding: 40px 48px; color: #fff;
  border: 1px solid rgba(255,255,255,0.08);
  animation: fadeInUp 0.5s backwards;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.step-card:hover { transform: translateY(-4px); box-shadow: 0 24px 48px rgba(0,0,0,0.3); }
.step-card:nth-child(1) { animation-delay: 0.1s; }
.step-card:nth-child(2) { animation-delay: 0.2s; }
.step-card:nth-child(3) { animation-delay: 0.3s; }

.step-visual { display: flex; align-items: flex-start; gap: 24px; }
.step-number { font-size: 64px; font-weight: 900; opacity: 0.15; line-height: 0.8; letter-spacing: -0.04em; flex-shrink: 0; }
.step-graphic { display: flex; flex-wrap: wrap; gap: 12px; flex: 1; }

.step-mini-card {
  display: flex; align-items: center; gap: 8px; background: rgba(255,255,255,0.95);
  padding: 10px 16px; border-radius: 12px; box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.2s ease;
}
.step-mini-card:hover { transform: translateY(-3px) rotate(-1deg); box-shadow: 0 8px 16px rgba(0,0,0,0.15); }
.step-mini-card svg { width: 20px; height: 20px; flex-shrink: 0; }
.step-mini-card span { font-size: 13px; font-weight: 700; color: var(--secondary); white-space: nowrap; }

.more-trigger {
  position: relative; cursor: default;
  background: rgba(255,255,255,0.15); box-shadow: none;
}
.more-trigger span { color: #fff; font-weight: 700; }
.more-trigger:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,0.15); }

.tags-dropdown {
  position: absolute; top: calc(100% + 12px); left: 0;
  width: 620px; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-md); padding: 20px;
  box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; z-index: 100;
}
.more-trigger:hover .tags-dropdown {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.tags-dropdown .step-mini-card {
  background: var(--bg); box-shadow: none; border: 1px solid var(--line);
  width: 100%; justify-content: flex-start;
}
.tags-dropdown .step-mini-card span {
  color: var(--ink);
}
.tags-dropdown .step-mini-card:hover {
  border-color: var(--primary); box-shadow: 0 4px 12px rgba(0,0,0,0.05); transform: translateY(-2px);
}

.step-url-bar {
  display: flex; align-items: center; gap: 8px; background: #fff;
  padding: 12px 20px; border-radius: 12px; box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  width: 100%; max-width: 320px;
}
.url-protocol { font-size: 13px; color: var(--primary); font-weight: 700; }
.url-dropdown { font-size: 11px; color: var(--secondary); margin-right: 4px; }
.url-input { font-size: 13px; color: var(--secondary); font-weight: 500; }
.url-cursor { color: var(--primary); animation: blink 1s step-end infinite; }
@keyframes blink { 50% { opacity: 0; } }
.step-cta-small {
  display: inline-flex; align-items: center; background: var(--primary); color: #fff;
  padding: 10px 20px; border-radius: 10px; font-size: 13px; font-weight: 700;
  margin-top: 12px; cursor: pointer; transition: transform 0.2s ease;
}
.step-cta-small:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,0.2); }

.step-qr-preview {
  position: relative; width: 90px; height: 90px; background: #fff;
  border-radius: 14px; padding: 14px; box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}
.step-qr-preview .qr-result { width: 100%; height: 100%; }
.step-check-badge {
  position: absolute; top: -10px; right: -10px; width: 28px; height: 28px;
  background: var(--primary); border-radius: 50%; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
.step-check-badge svg { width: 16px; height: 16px; }
.step-download-btn {
  display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,0.95);
  padding: 10px 16px; border-radius: 12px; margin-top: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1); cursor: pointer; transition: transform 0.2s ease;
}
.step-download-btn:hover { transform: translateY(-3px); box-shadow: 0 8px 16px rgba(0,0,0,0.15); }
.step-download-btn svg { width: 18px; height: 18px; }
.step-download-btn span { font-size: 13px; font-weight: 700; color: var(--secondary); }

.step-info h3 { font-size: 24px; font-weight: 800; margin-bottom: 12px; color: #fff; }
.step-info p { font-size: 15px; color: rgba(255,255,255,0.8); line-height: 1.6; margin-bottom: 24px; }
.step-cta {
  background: var(--primary); color: #fff; border: none; padding: 12px 24px;
  border-radius: 12px; font-size: 14px; font-weight: 700; cursor: pointer;
  font-family: inherit; transition: all 0.2s ease;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}
.step-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.3); }

/* ---------- power features grid ---------- */
.power-section { padding: 100px 0 140px; }
.power-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.power-card {
  display: flex; flex-direction: column; padding: 28px; border-radius: 16px;
  background: var(--surface); border: 1px solid var(--line);
  text-decoration: none; color: inherit; cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  animation: fadeInUp 0.5s backwards;
  box-shadow: 0 2px 12px rgba(0,0,0,0.03);
}
.power-card:nth-child(1) { animation-delay: 0.05s; }
.power-card:nth-child(2) { animation-delay: 0.1s; }
.power-card:nth-child(3) { animation-delay: 0.15s; }
.power-card:nth-child(4) { animation-delay: 0.2s; }
.power-card:nth-child(5) { animation-delay: 0.25s; }
.power-card:nth-child(6) { animation-delay: 0.3s; }
.power-card:hover {
  transform: translateY(-6px); border-color: var(--primary);
  box-shadow: 0 16px 40px rgba(0,0,0,0.1);
}
.power-ico {
  width: 40px; height: 40px; border-radius: 10px; background: var(--primary-tint);
  color: var(--primary); display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.power-ico svg { width: 20px; height: 20px; }
.power-card h3 { font-size: 16px; font-weight: 800; margin-bottom: 8px; letter-spacing: -0.01em; }
.power-card p { font-size: 13px; color: var(--ink-soft); line-height: 1.5; margin-bottom: 16px; flex: 1; }
.power-link {
  font-size: 13px; font-weight: 700; color: var(--primary);
  transition: transform 0.2s ease; display: inline-block;
}
.power-card:hover .power-link { transform: translateX(4px); }

/* ---------- filter bar ---------- */
.filter-bar {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding-bottom: 32px; margin-bottom: 32px;
  border-bottom: 1px solid var(--line); animation: fadeIn 0.8s ease;
}
.search-box {
  flex: 1; min-width: 240px; display: flex; align-items: center; gap: 10px; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius-md); padding: 12px 16px; font-size: 14px; color: var(--ink-faint);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.search-box:focus-within { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-tint); }
.search-box svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; flex-shrink: 0; }
.search-box input {
  border: none; outline: none; background: transparent; font-family: inherit; font-size: 14px; color: var(--ink);
  width: 100%;
}
.search-box input::placeholder { color: var(--ink-faint); }
.filter-pill {
  display: flex; align-items: center; gap: 8px; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-md); padding: 10px 16px; font-size: 13px; font-weight: 600; color: var(--ink-soft); cursor: pointer;
  transition: all 0.2s ease; white-space: nowrap; user-select: none;
}
.filter-pill:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-1px); background: var(--primary-tint); }
.filter-pill.tagdrop::after { content: "⌄"; margin-left: 4px; font-size: 14px; }

/* ---------- template grid ---------- */
.count-line { font-size: 14px; font-weight: 600; color: var(--ink-soft); margin-bottom: 20px; animation: fadeIn 1s ease; }
.tmpl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding-bottom: 80px; }
.tmpl-card {
  border: 1px solid var(--line); border-radius: 20px; padding: 24px; background: var(--surface);
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1); display: flex; flex-direction: column;
  position: relative; overflow: hidden; animation: fadeInUp 0.5s backwards; box-shadow: 0 4px 20px rgba(0,0,0,0.02);
}
.tmpl-card::before {
  content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 6px;
  background: var(--line); transition: background 0.4s ease;
}
.tmpl-card:hover { transform: translateY(-8px); border-color: var(--primary); box-shadow: 0 20px 40px rgba(0,0,0,0.08); }
.tmpl-card:hover::before { background: var(--primary); }

.tmpl-card.accent-rose:hover::before { background: var(--rose); }
.tmpl-card.accent-rose:hover { border-color: var(--rose); }

.tmpl-card.accent-indigo:hover::before { background: var(--indigo); }
.tmpl-card.accent-indigo:hover { border-color: var(--indigo); }

.badges { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.badge {
  display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 700; padding: 4px 10px;
  border-radius: 6px; letter-spacing: .02em; text-transform: uppercase;
}
.badge.pro { background: var(--rose-tint); color: var(--rose); }
.badge.cat { background: var(--indigo-tint); color: var(--indigo); }
.badge.new { background: var(--amber-tint); color: var(--amber); }
.badge.free { background: var(--mint-tint); color: var(--mint); }

.tmpl-card h3 { font-size: 18px; font-weight: 800; margin-bottom: 4px; letter-spacing: -0.01em; }
.tmpl-slug { font-size: 12px; color: var(--primary); margin-bottom: 16px; font-weight: 600; }
.tmpl-desc { font-size: 13.5px; color: var(--ink-soft); line-height: 1.6; margin-bottom: 20px; flex: 1; }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.tag {
  display: inline-flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 600; padding: 4px 10px;
  border-radius: 6px; transition: transform 0.2s ease; cursor: default;
}
.tag:hover { transform: scale(1.05); }
.tag.t-sky { background: var(--sky-tint); color: var(--sky); }
.tag.t-violet { background: var(--violet-tint); color: var(--violet); }
.tag.t-mint { background: var(--mint-tint); color: var(--mint); }
.tag.t-orange { background: var(--orange-tint); color: var(--orange); }

.tmpl-foot {
  display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: var(--ink-faint);
  border-top: 1px solid var(--line); padding-top: 16px; font-weight: 500;
}
.tmpl-foot .right { color: var(--ink-soft); font-weight: 700; }

/* ---------- pricing page ---------- */
.pricing-hero { text-align: center; padding: 160px 0 80px; animation: fadeInDown 0.6s ease; }
.pricing-tag {
  display: inline-flex; align-items: center; gap: 8px; background: var(--primary-tint); color: var(--primary);
  font-size: 13px; font-weight: 800; padding: 8px 16px; border-radius: 99px; margin-bottom: 24px;
  text-transform: uppercase; letter-spacing: 0.05em;
}
.pricing-hero h1 { font-size: 48px; font-weight: 800; margin-bottom: 16px; letter-spacing: -0.02em; }
.pricing-hero p { font-size: 16px; color: var(--ink-soft); }

.price-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding-bottom: 100px; }
.price-card {
  border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px 24px; background: var(--surface);
  display: flex; flex-direction: column; position: relative; transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  animation: fadeInUp 0.5s backwards;
}
.price-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: var(--primary); }
.price-card.popular { 
  border-color: var(--primary); border-width: 2px;
  box-shadow: 0 12px 32px rgba(var(--primary), 0.15); 
  transform: scale(1.02);
}
.price-card.popular:hover { transform: scale(1.02) translateY(-8px); }

.pop-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--primary); color: #fff; font-size: 11px; font-weight: 800; 
  padding: 4px 12px; border-radius: 99px; text-transform: uppercase; letter-spacing: 0.05em;
  box-shadow: 0 4px 12px rgba(var(--primary), 0.3);
}
.plan-name { font-size: 14px; color: var(--primary); font-weight: 800; margin-bottom: 12px; text-transform: uppercase; letter-spacing: 0.02em; }
.plan-price { font-size: 36px; font-weight: 800; margin-bottom: 20px; letter-spacing: -0.02em; }
.plan-price span { font-size: 14px; font-weight: 600; color: var(--ink-faint); margin-left: 4px; }
.plan-stats { margin-bottom: 16px; background: var(--bg); padding: 12px; border-radius: var(--radius-sm); }
.plan-stat { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--ink-soft); padding: 4px 0; }
.plan-stat b { color: var(--ink); font-weight: 700; }
.plan-desc { font-size: 13px; color: var(--ink-soft); line-height: 1.6; margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.plan-features { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-bottom: 24px; flex: 1; }
.plan-features li { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; }
.feat-ico { width: 18px; height: 18px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.feat-ico svg { width: 100%; height: 100%; }
.on .feat-ico { color: var(--green-check); }
.on { color: var(--ink); }
.off { color: var(--ink-faint); }
.off .feat-ico { color: var(--ink-faint); opacity: 0.5; }

.plan-btn {
  width: 100%; padding: 14px; border-radius: var(--radius-sm); border: none; font-family: inherit; font-size: 14px;
  font-weight: 800; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--ink); color: var(--bg); transition: all 0.2s ease;
}
.plan-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0,0,0,0.1); background: var(--ink-soft); color: #fff;}
.plan-btn.primary { background: var(--primary); color: #fff; box-shadow: 0 4px 12px rgba(var(--primary), 0.2); }
.plan-btn.primary:hover { background: var(--primary-dark); box-shadow: 0 6px 16px rgba(var(--primary), 0.3); color: #fff; }

.page { display: none; opacity: 0; transition: opacity 0.4s ease; }
.page.visible { display: block; opacity: 1; }

/* Animations */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeInDown { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: translateY(0); } }

/* Grid delays for template cards */
.tmpl-card:nth-child(1) { animation-delay: 0.05s; }
.tmpl-card:nth-child(2) { animation-delay: 0.1s; }
.tmpl-card:nth-child(3) { animation-delay: 0.15s; }
.tmpl-card:nth-child(4) { animation-delay: 0.2s; }
.tmpl-card:nth-child(5) { animation-delay: 0.25s; }
.tmpl-card:nth-child(6) { animation-delay: 0.3s; }
.tmpl-card:nth-child(7) { animation-delay: 0.35s; }
.tmpl-card:nth-child(8) { animation-delay: 0.4s; }
.tmpl-card:nth-child(9) { animation-delay: 0.45s; }
.tmpl-card:nth-child(10) { animation-delay: 0.5s; }
.tmpl-card:nth-child(11) { animation-delay: 0.55s; }
.tmpl-card:nth-child(12) { animation-delay: 0.6s; }

/* Grid delays for price cards */
.price-card:nth-child(1) { animation-delay: 0.1s; }
.price-card:nth-child(2) { animation-delay: 0.2s; }
.price-card:nth-child(3) { animation-delay: 0.3s; }
.price-card:nth-child(4) { animation-delay: 0.4s; }
.price-card:nth-child(5) { animation-delay: 0.5s; }
.price-card:nth-child(6) { animation-delay: 0.6s; }
.price-card:nth-child(7) { animation-delay: 0.7s; }
.price-card:nth-child(8) { animation-delay: 0.8s; }

@media(max-width: 1024px){
  .tmpl-grid { grid-template-columns: repeat(2, 1fr); }
  .price-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-split { flex-direction: column; text-align: center; padding: 100px 0 40px; }
  .hero-actions { justify-content: center; }
  .step-card { grid-template-columns: 1fr; }
  .power-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-section { padding: 80px 0; }
  .power-section { padding: 80px 0 100px; }
  .page-head { padding: 100px 0 40px; }
  .pricing-hero { padding: 120px 0 60px; }
  .tags-dropdown { width: 440px; grid-template-columns: repeat(2, 1fr); }
}

@media(max-width: 640px){
  .tmpl-grid { grid-template-columns: 1fr; }
  .price-grid { grid-template-columns: 1fr; }
  .power-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .nav { border-radius: 0; top: 0; width: 100%; max-width: none; }
  .step-card { padding: 32px 24px; gap: 32px; }
  .step-visual { flex-direction: column; gap: 16px; align-items: center; }
  .step-info { text-align: center; }
  .step-graphic { justify-content: center; }
  .hero-text h1 { font-size: 32px; }
  .page-head h1, .pricing-hero h1 { font-size: 32px; }
  .steps-header h2 { font-size: 26px; }
  .hero-split { padding: 100px 0 32px; }
  .steps-section, .power-section { padding: 60px 0; }
  .page-head, .pricing-hero { padding: 100px 0 40px; }
  
  .tags-dropdown { 
    width: 280px; grid-template-columns: 1fr; 
    left: 50%; transform: translateX(-50%) translateY(10px); 
  }
  .more-trigger:hover .tags-dropdown { transform: translateX(-50%) translateY(0); }
  
  .step-url-bar { max-width: 100%; }
}
