/* ============================================================
   Node Shop 官网 - 共享样式
   SaaS 电商建站平台
   ============================================================ */

/* --- CSS Variables --- */
:root {
  --primary: #1677ff;
  --primary-hover: #4096ff;
  --primary-dark: #0958d9;
  --primary-light: #e6f4ff;
  --primary-gradient: linear-gradient(135deg, #1677ff 0%, #722ed1 100%);
  --success: #52c41a;
  --warning: #faad14;
  --danger: #ff4d4f;
  --purple: #722ed1;
  --cyan: #13c2c2;
  --orange: #fa8c16;

  --text: #1d2129;
  --text-secondary: #4e5969;
  --text-muted: #86909c;
  --text-light: #c9cdd4;
  --border: #e5e6eb;
  --border-light: #f2f3f5;
  --bg: #f7f8fa;
  --bg-white: #ffffff;
  --bg-dark: #1d2129;

  --radius-sm: 6px;
  --radius: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-2xl: 24px;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 2px rgba(0,0,0,.06);
  --shadow: 0 2px 8px rgba(0,0,0,.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,.08);
  --shadow-lg: 0 8px 32px rgba(0,0,0,.1);
  --shadow-xl: 0 16px 48px rgba(0,0,0,.12);
  --shadow-glow: 0 4px 24px rgba(22,119,255,.2);

  --transition: .25s cubic-bezier(.4,0,.2,1);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
}

/* --- Reset --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; vertical-align: middle; }

/* --- Container --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Typography --- */
.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  background: var(--primary-light);
  padding: 4px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
  letter-spacing: .3px;
}

.section-title {
  font-size: 36px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -.5px;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 600px;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}
.section-header .section-subtitle {
  margin: 0 auto;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border: none;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 600;
  font-family: var(--font);
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
  line-height: 1.4;
}
.btn-primary {
  background: var(--primary-gradient);
  color: #fff;
  box-shadow: var(--shadow-glow);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 32px rgba(22,119,255,.35);
}
.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border);
}
.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-light);
}
.btn-lg {
  padding: 16px 36px;
  font-size: 16px;
  border-radius: var(--radius-lg);
}
.btn-sm {
  padding: 8px 18px;
  font-size: 13px;
}
.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
}
.btn-ghost:hover {
  color: var(--primary);
  background: var(--primary-light);
}

/* --- Navbar --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: var(--transition);
}
.navbar.scrolled {
  border-bottom-color: var(--border-light);
  box-shadow: var(--shadow-sm);
}
.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.navbar-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
}
.navbar-logo .logo-icon {
  width: 36px;
  height: 36px;
  background: var(--primary-gradient);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #fff;
}
.navbar-logo span { color: var(--primary); }
.navbar-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.navbar-links a {
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius);
  transition: var(--transition);
}
.navbar-links a:hover,
.navbar-links a.active {
  color: var(--primary);
  background: var(--primary-light);
}
.navbar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.navbar-lang-select {
  padding: 6px 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  background: var(--bg-white);
  color: var(--text-secondary);
  font-size: 13px;
  cursor: pointer;
  transition: var(--transition);
}
.navbar-lang-select:hover,
.navbar-lang-select:focus {
  border-color: var(--primary);
  color: var(--primary);
  outline: none;
}
.navbar-mobile-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: none;
  background: none;
  cursor: pointer;
  font-size: 22px;
  color: var(--text);
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
}
.navbar-mobile-toggle:hover { background: var(--border-light); }

/* --- Hero --- */
.hero {
  padding: 120px 0 80px;
  background: linear-gradient(180deg, #f0f5ff 0%, #f5f0ff 30%, #fff 100%);
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
}
.hero-bg-decoration {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.hero-circle {
  position: absolute;
  border-radius: 50%;
  background: var(--primary);
  opacity: .04;
}
.hero-circle.c1 { width: 700px; height: 700px; top: -200px; right: -200px; }
.hero-circle.c2 { width: 500px; height: 500px; bottom: -100px; left: -100px; opacity: .03; }
.hero-circle.c3 { width: 300px; height: 300px; top: 30%; left: 60%; opacity: .02; }
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(22,119,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(22,119,255,.03) 1px, transparent 1px);
  background-size: 80px 80px;
}
.hero .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero-content { max-width: 560px; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--primary);
  background: var(--primary-light);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 24px;
  border: 1px solid rgba(22,119,255,.15);
}
.hero-badge .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
  animation: pulse-dot 2s ease infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: .4; }
}
.hero h1 {
  font-size: 52px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 20px;
}
.hero h1 .gradient-text {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero p {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 36px;
}
.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border-light);
}
.hero-stat h3 {
  font-size: 28px;
  font-weight: 700;
  color: var(--text);
}
.hero-stat h3 span { color: var(--primary); }
.hero-stat p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* Hero Preview */
.hero-preview {
  position: relative;
}
.hero-preview-card {
  background: var(--bg-white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  border: 1px solid var(--border-light);
}
.hero-preview-card .preview-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 20px;
  background: #fafafa;
  border-bottom: 1px solid var(--border-light);
}
.preview-dots { display: flex; gap: 6px; }
.preview-dots span {
  width: 10px; height: 10px;
  border-radius: 50%;
}
.preview-dots span:nth-child(1) { background: #ff5f57; }
.preview-dots span:nth-child(2) { background: #febc2e; }
.preview-dots span:nth-child(3) { background: #28c840; }
.preview-url {
  font-size: 12px;
  color: var(--text-muted);
  background: var(--bg);
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  flex: 1;
  text-align: center;
}
.hero-preview-card .preview-body {
  padding: 24px;
}
.hero-preview-card .preview-body img {
  width: 100%;
  border-radius: var(--radius);
  display: block;
}
.preview-float-badge {
  position: absolute;
  bottom: -16px;
  right: -16px;
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--border-light);
}
.preview-float-badge .badge-icon {
  width: 44px;
  height: 44px;
  background: var(--success-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}
.preview-float-badge .badge-text h4 { font-size: 14px; font-weight: 600; }
.preview-float-badge .badge-text p { font-size: 12px; color: var(--text-muted); margin: 0; }

/* --- Partners / Trust Bar --- */
.partners {
  padding: 48px 0;
  background: var(--bg);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}
.partners-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}
.partners-label {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.partner-logo {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-light);
  transition: var(--transition);
  white-space: nowrap;
}
.partner-logo:hover { color: var(--text-muted); }

/* --- Features Grid --- */
.features {
  padding: 100px 0;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--primary-gradient);
  opacity: 0;
  transition: var(--transition);
}
.feature-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.feature-card:hover::before { opacity: 1; }
.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
}
.feature-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
}
.feature-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* --- Showcase / Demo --- */
.showcase {
  padding: 100px 0;
  background: var(--bg);
}
.showcase-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.showcase-image {
  position: relative;
}
.showcase-image img {
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
  width: 100%;
}
.showcase-image .play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  background: rgba(255,255,255,.95);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  transition: var(--transition);
  font-size: 24px;
  color: var(--primary);
}
.showcase-image .play-btn:hover {
  transform: translate(-50%, -50%) scale(1.1);
  background: #fff;
}
.showcase-content h2 {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 20px;
}
.showcase-content p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 28px;
}
.showcase-list { display: flex; flex-direction: column; gap: 16px; }
.showcase-list-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.showcase-list-item .check {
  width: 22px;
  height: 22px;
  background: var(--success);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 12px;
  flex-shrink: 0;
  margin-top: 2px;
}
.showcase-list-item h4 { font-size: 15px; font-weight: 600; margin-bottom: 2px; }
.showcase-list-item p { font-size: 14px; color: var(--text-muted); margin-bottom: 0; }

/* --- Themes / Templates --- */
.templates {
  padding: 100px 0;
}
.templates-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.template-card {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  cursor: pointer;
}
.template-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.template-card .template-preview {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  position: relative;
  overflow: hidden;
}
.template-card .template-preview::after {
  content: '预览';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 8px;
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
  background: linear-gradient(transparent, rgba(0,0,0,.04));
}
.template-card .template-info {
  padding: 20px;
}
.template-card .template-info h4 { font-size: 16px; font-weight: 600; margin-bottom: 6px; }
.template-card .template-info p { font-size: 13px; color: var(--text-secondary); }
.template-tags {
  display: flex;
  gap: 6px;
  margin-top: 12px;
  flex-wrap: wrap;
}
.template-tag {
  font-size: 11px;
  padding: 2px 10px;
  border-radius: var(--radius-full);
  background: var(--bg);
  color: var(--text-muted);
}

/* --- Pricing --- */
.pricing {
  padding: 100px 0;
  background: var(--bg);
}
.pricing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 48px;
}
.pricing-toggle span {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-secondary);
}
.pricing-toggle span.active { color: var(--text); }
.pricing-toggle .toggle-save {
  font-size: 12px;
  color: var(--primary);
  background: var(--primary-light);
  padding: 2px 10px;
  border-radius: var(--radius-full);
}
.toggle-switch {
  width: 48px;
  height: 26px;
  background: var(--border);
  border-radius: 13px;
  position: relative;
  cursor: pointer;
  transition: var(--transition);
}
.toggle-switch.active { background: var(--primary); }
.toggle-switch .toggle-knob {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.toggle-switch.active .toggle-knob { left: 25px; }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}
.pricing-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 40px 32px;
  transition: var(--transition);
  position: relative;
}
.pricing-card:hover {
  box-shadow: var(--shadow-md);
}
.pricing-card.popular {
  border-color: var(--primary);
  box-shadow: var(--shadow-glow);
  transform: scale(1.04);
}
.pricing-card.popular:hover {
  box-shadow: 0 8px 40px rgba(22,119,255,.25);
}
.pricing-popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary-gradient);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 20px;
  border-radius: var(--radius-full);
  letter-spacing: .5px;
}
.pricing-card .plan-name {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
}
.pricing-card .plan-desc {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 24px;
}
.pricing-card .plan-price {
  margin-bottom: 24px;
}
.pricing-card .plan-price .currency {
  font-size: 20px;
  font-weight: 600;
  vertical-align: top;
}
.pricing-card .plan-price .amount {
  font-size: 48px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -2px;
}
.pricing-card .plan-price .period {
  font-size: 15px;
  color: var(--text-muted);
}
.pricing-card .plan-price .original {
  font-size: 14px;
  color: var(--text-muted);
  text-decoration: line-through;
  margin-left: 8px;
}
.pricing-features {
  margin-bottom: 28px;
}
.pricing-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-size: 14px;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-light);
}
.pricing-feature:last-child { border-bottom: none; }
.pricing-feature .check { color: var(--success); font-weight: 700; }
.pricing-feature .cross { color: var(--text-light); }
.pricing-card .btn { width: 100%; }

/* --- FAQ --- */
.faq {
  padding: 100px 0;
}
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.faq-item {
  border-bottom: 1px solid var(--border-light);
}
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  cursor: pointer;
  font-size: 16px;
  font-weight: 500;
  transition: var(--transition);
  gap: 16px;
}
.faq-question:hover { color: var(--primary); }
.faq-question .arrow {
  flex-shrink: 0;
  transition: var(--transition);
  font-size: 14px;
  color: var(--text-muted);
}
.faq-item.open .faq-question .arrow {
  transform: rotate(180deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease, padding .3s ease;
  padding: 0;
}
.faq-item.open .faq-answer {
  max-height: 300px;
  padding: 0 0 20px;
}
.faq-answer p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* --- CTA --- */
.cta {
  padding: 100px 0;
  background: var(--bg-dark);
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(22,119,255,.15) 0%, transparent 60%),
              radial-gradient(ellipse at 70% 50%, rgba(114,46,209,.1) 0%, transparent 60%);
}
.cta .container { position: relative; z-index: 1; text-align: center; }
.cta h2 {
  font-size: 40px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
  letter-spacing: -.5px;
}
.cta p {
  font-size: 18px;
  color: rgba(255,255,255,.6);
  margin-bottom: 36px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}
.cta .btn-primary {
  background: #fff;
  color: var(--primary-dark);
  box-shadow: 0 4px 24px rgba(255,255,255,.15);
  font-size: 16px;
  padding: 16px 40px;
}
.cta .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(255,255,255,.25);
}
.cta .btn-outline-light {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,.2);
  font-size: 16px;
  padding: 16px 40px;
}
.cta .btn-outline-light:hover {
  border-color: #fff;
  background: rgba(255,255,255,.1);
}

/* --- Footer --- */
.footer {
  background: #141414;
  color: rgba(255,255,255,.65);
  padding: 64px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-brand h3 {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}
.footer-brand h3 span { color: var(--primary-hover); }
.footer-brand p {
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 20px;
}
.footer-social {
  display: flex;
  gap: 12px;
}
.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: var(--transition);
  color: rgba(255,255,255,.45);
}
.footer-social a:hover {
  border-color: var(--primary);
  color: var(--primary-hover);
  background: rgba(22,119,255,.1);
}
.footer-col h4 {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 20px;
}
.footer-col a {
  display: block;
  font-size: 14px;
  color: rgba(255,255,255,.5);
  padding: 6px 0;
  transition: var(--transition);
}
.footer-col a:hover { color: var(--primary-hover); }
.footer-bottom {
  padding: 20px 0;
  font-size: 13px;
  color: rgba(255,255,255,.3);
  text-align: center;
}

/* --- Page Header (subpages) --- */
.page-header {
  padding: 120px 0 64px;
  background: linear-gradient(180deg, #f0f5ff 0%, #fff 100%);
  text-align: center;
}
.page-header h1 {
  font-size: 44px;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -.5px;
}
.page-header p {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .hero .container {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .hero-content { max-width: 100%; text-align: center; }
  .hero h1 { font-size: 42px; }
  .hero-buttons { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-preview { max-width: 520px; margin: 0 auto; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .showcase-grid { grid-template-columns: 1fr; gap: 40px; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
  .pricing-card.popular { transform: none; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
}

@media (max-width: 768px) {
  .navbar-links { display: none; }
  .navbar-actions .btn { display: none; }
  .navbar-mobile-toggle { display: flex; }

  .hero { padding: 100px 0 60px; min-height: auto; }
  .hero h1 { font-size: 32px; }
  .hero p { font-size: 16px; }
  .hero-stats { gap: 24px; flex-wrap: wrap; }
  .hero-stat h3 { font-size: 22px; }

  .section-title { font-size: 28px; }
  .section-subtitle { font-size: 16px; }
  .section-header { margin-bottom: 40px; }

  .features-grid { grid-template-columns: 1fr; }
  .templates-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }

  .page-header h1 { font-size: 32px; }
  .page-header p { font-size: 16px; }

  .cta h2 { font-size: 28px; }
}

/* ============================================================
   Auth pages (login / register) shared styles
   ============================================================ */

.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 24px 60px;
  background: linear-gradient(180deg, #f0f5ff 0%, #fff 40%, #f5f0ff 100%);
  position: relative;
  overflow: hidden;
}
.auth-page::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: var(--primary);
  opacity: .03;
  top: -200px;
  right: -200px;
  pointer-events: none;
}
.auth-page::after {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: var(--purple);
  opacity: .03;
  bottom: -100px;
  left: -100px;
  pointer-events: none;
}

.auth-container {
  width: 100%;
  max-width: 440px;
  position: relative;
  z-index: 1;
}

.auth-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-2xl);
  padding: 40px 36px;
  box-shadow: var(--shadow-lg);
}

.auth-header {
  text-align: center;
  margin-bottom: 32px;
}
.auth-header .auth-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 16px;
}
.auth-header .auth-logo span { color: var(--primary); }
.auth-header h1 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 8px;
}
.auth-header p {
  font-size: 14px;
  color: var(--text-secondary);
}

/* --- Form fields --- */
.form-group {
  margin-bottom: 20px;
}
.form-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}
.form-input {
  width: 100%;
  height: 44px;
  padding: 0 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 14px;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg-white);
  transition: var(--transition);
  outline: none;
}
.form-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(22,119,255,.12);
}
.form-input::placeholder {
  color: var(--text-light);
}
.form-input.error {
  border-color: var(--danger);
  box-shadow: 0 0 0 3px rgba(255,77,79,.12);
}
.form-hint {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
}
.form-error {
  font-size: 12px;
  color: var(--danger);
  margin-top: 4px;
  display: none;
}
.form-error.show { display: block; }

.form-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}
.form-remember {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-secondary);
  cursor: pointer;
}
.form-remember input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--primary);
  cursor: pointer;
}
.form-forgot {
  font-size: 14px;
  color: var(--primary);
  font-weight: 500;
}
.form-forgot:hover { text-decoration: underline; }

.auth-btn {
  width: 100%;
  height: 44px;
  border: none;
  border-radius: var(--radius);
  background: var(--primary-gradient);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  font-family: var(--font);
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-glow);
}
.auth-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 32px rgba(22,119,255,.35);
}
.auth-btn:active {
  transform: translateY(0);
}

/* --- Divider --- */
.auth-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 24px 0;
  color: var(--text-muted);
  font-size: 13px;
}
.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border-light);
}

/* --- Social login --- */
.social-login {
  display: flex;
  gap: 12px;
}
.social-btn {
  flex: 1;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-white);
  font-size: 13px;
  font-weight: 500;
  font-family: var(--font);
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition);
}
.social-btn:hover {
  border-color: var(--text-muted);
  background: var(--bg);
}
.social-btn .social-icon {
  font-size: 18px;
}

/* --- Auth footer --- */
.auth-footer {
  text-align: center;
  margin-top: 24px;
  font-size: 14px;
  color: var(--text-secondary);
}
.auth-footer a {
  color: var(--primary);
  font-weight: 600;
}
.auth-footer a:hover { text-decoration: underline; }

/* --- Validation demo feedback --- */
.demo-notice {
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
  background: var(--bg);
  border-radius: var(--radius);
  padding: 10px 16px;
  margin-top: 20px;
  line-height: 1.6;
}
.demo-notice strong { color: var(--text-secondary); }

@media (max-width: 480px) {
  .auth-card { padding: 28px 20px; }
  .auth-header h1 { font-size: 20px; }
  .social-login { flex-direction: column; }
}
