/* =========================================================
   NOTIVATE — Global Design System (Warm Light Edition)
   ========================================================= */

/* --- Google Fonts Import --- */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400;1,500&family=DM+Sans:wght@300;400;500;600;700&display=swap');

/* --- CSS Custom Properties (Design Tokens) --- */
:root {
  --primary:        #C4603A;
  --primary-dark:   #A34E2E;
  --primary-light:  #E8A882;
  --accent:         #C4603A;
  --accent-light:   #E8A882;

  --bg:             #FAF8F4;
  --bg-secondary:   #F3EFE7;
  --bg-card:        #FFFFFF;
  --bg-card-hover:  #FDFCFA;

  --border:         rgba(28, 26, 22, 0.09);
  --border-subtle:  rgba(28, 26, 22, 0.06);
  --border-strong:  rgba(28, 26, 22, 0.16);

  --text-primary:   #1C1A16;
  --text-secondary: #3D3A33;
  --text-muted:     #6B6258;
  --text-faint:     #A09890;

  --font-heading: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;

  --radius-sm:  8px;
  --radius-md:  16px;
  --radius-lg:  20px;
  --radius-xl:  24px;
  --radius-pill: 999px;

  --shadow-sm:   0 1px 3px rgba(28, 26, 22, 0.06), 0 1px 2px rgba(28, 26, 22, 0.04);
  --shadow-md:   0 4px 16px rgba(28, 26, 22, 0.08), 0 1px 4px rgba(28, 26, 22, 0.04);
  --shadow-lg:   0 8px 32px rgba(28, 26, 22, 0.10), 0 2px 8px rgba(28, 26, 22, 0.05);
  --shadow-card: 0 2px 12px rgba(28, 26, 22, 0.07);

  --transition: 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  --nav-height: 70px;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  background-color: var(--bg);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* --- Typography --- */
h1, h2, h3 {
  font-family: var(--font-heading);
  line-height: 1.12;
  letter-spacing: -0.01em;
  font-weight: 600;
}
h1 { font-size: clamp(2.6rem, 5.5vw, 4.4rem); }
h2 { font-size: clamp(2rem, 3.5vw, 3rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
p  { color: var(--text-muted); }

a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }

/* --- Layout Utilities --- */
.container   { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.section     { padding: 96px 0; position: relative; }
.section-sm  { padding: 64px 0; position: relative; }

/* --- Accent Text --- */
.gradient-text {
  color: var(--primary);
}

/* --- Buttons (pill style) --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: var(--transition);
  min-height: 48px;
  white-space: nowrap;
  text-decoration: none;
  letter-spacing: 0.01em;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  box-shadow: 0 2px 8px rgba(196, 96, 58, 0.25);
}
.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(196, 96, 58, 0.30);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--border-strong);
}
.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(196, 96, 58, 0.04);
  transform: translateY(-1px);
}

.btn-accent {
  background: var(--bg-secondary);
  color: var(--text-primary);
  border-color: var(--border-strong);
}
.btn-accent:hover {
  background: var(--bg-card);
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-1px);
}

.btn-sm { padding: 9px 20px; font-size: 0.83rem; min-height: 40px; }

/* --- Section Labels --- */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 14px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

/* =========================================================
   NAVBAR
   ========================================================= */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  background: var(--bg);
  transition: background var(--transition), box-shadow var(--transition);
}

.navbar.scrolled {
  background: rgba(250, 248, 244, 0.96);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 12px rgba(28, 26, 22, 0.06);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.nav-logo {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}
.nav-logo span { color: var(--primary); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}
.nav-links a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--transition);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--primary);
  border-radius: 2px;
  transition: width var(--transition);
}
.nav-links a:hover, .nav-links a.active { color: var(--text-primary); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.nav-cta { display: flex; align-items: center; gap: 16px; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  border: none;
  background: none;
  z-index: 1001;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(4.5px, 4.5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(4.5px, -4.5px); }

/* Mobile nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 20px 24px;
  flex-direction: column;
  gap: 4px;
  z-index: 999;
  animation: slideDown 0.22s ease;
  box-shadow: 0 8px 24px rgba(28, 26, 22, 0.08);
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  padding: 12px 16px;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.mobile-nav a:hover { color: var(--text-primary); background: var(--bg-secondary); }
.mobile-nav .btn { width: 100%; justify-content: center; margin-top: 8px; }

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* =========================================================
   HERO SECTION
   ========================================================= */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-height);
  background: var(--bg);
  position: relative;
  overflow: hidden;
}

/* Subtle warm texture circle */
.hero::before {
  content: '';
  position: absolute;
  top: -10%;
  right: -8%;
  width: 560px;
  height: 560px;
  background: radial-gradient(circle, rgba(232, 168, 130, 0.18) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: 5%;
  left: -5%;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(196, 96, 58, 0.07) 0%, transparent 70%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: 0.07em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero-title {
  font-size: clamp(2.8rem, 5.5vw, 4.6rem);
  font-weight: 600;
  line-height: 1.07;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 22px;
}

.hero-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 36px;
  max-width: 460px;
  font-weight: 400;
}

.hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-social-proof {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.84rem;
  color: var(--text-muted);
}
.hero-social-proof .stars { display: flex; gap: 2px; color: var(--primary); }
.hero-proof-divider { width: 1px; height: 14px; background: var(--border-strong); }

/* Hero Visual */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-mockup-wrapper {
  position: relative;
  width: 100%;
  max-width: 500px;
}

.hero-mockup-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  animation: floatCard 5s ease-in-out infinite;
}
.hero-mockup-card img { width: 100%; height: auto; display: block; }

.mockup-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
}
.mockup-dot { width: 10px; height: 10px; border-radius: 50%; }
.mockup-dot:nth-child(1) { background: #FF5F57; }
.mockup-dot:nth-child(2) { background: #FFBD2E; }
.mockup-dot:nth-child(3) { background: #28C840; }
.mockup-url-bar {
  flex: 1;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 3px 10px;
  font-size: 0.7rem;
  color: var(--text-faint);
  font-family: var(--font-body);
}

/* Floating badges */
.float-badge {
  position: absolute;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-primary);
  box-shadow: var(--shadow-md);
  white-space: nowrap;
}
.float-badge-1 { bottom: -18px; left: -24px; animation: floatBadge1 4s ease-in-out infinite; }
.float-badge-2 { top: 20px;    right: -24px; animation: floatBadge2 5s ease-in-out infinite; }
.float-badge-icon { font-size: 1.15rem; }
.float-badge-label { color: var(--text-muted); font-weight: 400; font-size: 0.71rem; }

@keyframes floatCard    { 0%,100% { transform: translateY(0);    } 50% { transform: translateY(-10px);  } }
@keyframes floatBadge1 { 0%,100% { transform: translateY(0);    } 50% { transform: translateY(-6px);   } }
@keyframes floatBadge2 { 0%,100% { transform: translateY(0);    } 50% { transform: translateY(7px);    } }

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--text-faint);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: scrollBounce 2s ease-in-out infinite;
}
@keyframes scrollBounce {
  0%,100% { transform: translateX(-50%) translateY(0);   }
  50%      { transform: translateX(-50%) translateY(6px); }
}

/* =========================================================
   VALUE STRIP
   ========================================================= */
.value-strip { padding: 64px 0; }

.value-strip-inner {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 48px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.value-card {
  padding: 28px 32px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  position: relative;
}
.value-card:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0; top: 15%; height: 70%;
  width: 1px;
  background: var(--border);
}

.value-icon {
  width: 48px;
  height: 48px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

.value-title { font-size: 1rem; font-weight: 600; color: var(--text-primary); font-family: var(--font-heading); font-size: 1.25rem; }
.value-desc  { font-size: 0.875rem; color: var(--text-muted); line-height: 1.65; }

/* =========================================================
   TEMPLATE CARDS
   ========================================================= */
.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 44px;
}
.section-header-text h2 { margin-bottom: 6px; }
.section-header-text p  { color: var(--text-muted); font-size: 0.95rem; }

.view-all-link {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: var(--transition);
  white-space: nowrap;
}
.view-all-link:hover { gap: 8px; }

.templates-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.template-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
}
.template-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.card-image-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/10;
}
.card-image-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.template-card:hover .card-image-wrap img { transform: scale(1.03); }

.card-badge {
  position: absolute;
  top: 10px; left: 10px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.badge-free {
  background: rgba(34, 105, 80, 0.1);
  color: #226950;
  border: 1px solid rgba(34, 105, 80, 0.2);
}
.badge-paid {
  background: rgba(196, 96, 58, 0.1);
  color: var(--primary);
  border: 1px solid rgba(196, 96, 58, 0.25);
}
.badge-category {
  position: absolute;
  top: 10px; right: 10px;
  background: rgba(250, 248, 244, 0.88);
  color: var(--text-muted);
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.68rem;
  font-weight: 500;
  border: 1px solid var(--border);
}

.card-body {
  padding: 18px 20px 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 6px;
}
.card-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.25;
}
.card-desc {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.6;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 4px;
}
.card-stars { display: flex; align-items: center; gap: 3px; font-size: 0.78rem; color: var(--primary); }
.card-stars span { color: var(--text-muted); margin-left: 2px; }
.card-sales { font-size: 0.76rem; color: var(--text-faint); }

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px 18px;
  border-top: 1px solid var(--border-subtle);
  margin-top: auto;
}
.card-price {
  font-family: var(--font-heading);
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1;
}
.card-price.free { color: #226950; }
.card-actions { display: flex; gap: 8px; }

/* Coming Soon */
.template-card.coming-soon { opacity: 0.48; pointer-events: none; }
.coming-soon-overlay {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(250, 248, 244, 0.55);
  z-index: 2;
}
.coming-soon-label {
  padding: 7px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
}

/* =========================================================
   TESTIMONIALS
   ========================================================= */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: var(--transition);
}
.testimonial-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }

.testimonial-stars { display: flex; gap: 2px; color: var(--primary); }
.testimonial-quote { font-size: 0.92rem; color: var(--text-secondary); line-height: 1.75; font-style: italic; }
.testimonial-quote::before { content: '"'; }
.testimonial-quote::after  { content: '"'; }

.testimonial-author {
  display: flex; align-items: center; gap: 12px;
  margin-top: auto;
  border-top: 1px solid var(--border-subtle);
  padding-top: 14px;
}
.author-avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--primary);
  flex-shrink: 0;
}
.author-name { font-size: 0.88rem; font-weight: 600; color: var(--text-primary); }
.author-tag  { font-size: 0.73rem; color: var(--text-muted); }

/* =========================================================
   CTA BANNER
   ========================================================= */
.cta-banner { padding: 72px 0; }

.cta-banner-inner {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 64px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
/* Subtle warm circle in banner */
.cta-banner-inner::before {
  content: '';
  position: absolute;
  top: -40%;
  left: 50%;
  transform: translateX(-50%);
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(196, 96, 58, 0.07) 0%, transparent 65%);
  pointer-events: none;
}
.cta-banner-inner h2  { font-size: clamp(2rem, 4vw, 3.2rem); margin-bottom: 12px; position: relative; }
.cta-banner-inner p   { color: var(--text-muted); font-size: 1rem; margin-bottom: 32px; position: relative; }
.cta-banner-btns {
  display: flex; gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 44px;
}
.footer-brand .nav-logo { display: block; margin-bottom: 10px; }
.footer-tagline { font-size: 0.875rem; color: var(--text-muted); max-width: 220px; line-height: 1.65; }

.social-icons { display: flex; gap: 8px; margin-top: 18px; }
.social-icon {
  width: 36px; height: 36px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted);
  transition: var(--transition);
}
.social-icon:hover { border-color: var(--primary); color: var(--primary); background: var(--bg-card); }

.footer-col-title {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-faint);
  margin-bottom: 16px;
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--primary); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 0.78rem;
  color: var(--text-faint);
}

/* =========================================================
   TEMPLATES PAGE — Filter Bar
   ========================================================= */
.page-header {
  padding: 136px 0 56px;
  text-align: center;
}
.page-header h1 { margin-bottom: 12px; }
.page-header p  { color: var(--text-muted); font-size: 1.05rem; max-width: 520px; margin: 0 auto; }

.filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
  flex-wrap: wrap;
  gap: 14px;
}
.filter-buttons { display: flex; gap: 8px; flex-wrap: wrap; }

.filter-btn {
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--border-strong);
  background: transparent;
  color: var(--text-muted);
  font-size: 0.83rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-body);
}
.filter-btn:hover { border-color: var(--primary); color: var(--primary); }
.filter-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.template-count { font-size: 0.84rem; color: var(--text-muted); }
.template-count strong { color: var(--text-primary); }

/* Trust badges row */
.trust-row {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 16px 24px;
  background: var(--bg-secondary);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.trust-item {
  display: flex; align-items: center; gap: 7px;
  font-size: 0.82rem;
  color: var(--text-muted);
}
.trust-item svg { color: var(--primary); }
.trust-divider  { width: 1px; height: 16px; background: var(--border); }
.payment-icons  { display: flex; gap: 6px; margin-left: auto; }
.payment-icon {
  padding: 3px 9px;
  background: var(--bg-card);
  border-radius: var(--radius-sm);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text-muted);
  border: 1px solid var(--border);
}

/* =========================================================
   TEMPLATE DETAIL PAGE
   ========================================================= */
.detail-hero {
  padding-top: calc(var(--nav-height) + 48px);
  padding-bottom: 48px;
}
.detail-grid {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 56px;
  align-items: start;
}
.detail-preview-img {
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  background: var(--bg-secondary);
}
.detail-preview-img img { width: 100%; height: auto; display: block; }

.detail-sidebar { position: sticky; top: calc(var(--nav-height) + 24px); }
.sidebar-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}
.sidebar-price { font-family: var(--font-heading); font-size: 2.8rem; font-weight: 700; margin-bottom: 3px; }
.sidebar-price-note { font-size: 0.78rem; color: var(--text-muted); margin-bottom: 22px; }
.sidebar-actions { display: flex; flex-direction: column; gap: 9px; margin-bottom: 20px; }
.sidebar-guarantee {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.78rem; color: #226950;
  padding: 11px 14px;
  background: rgba(34, 105, 80, 0.06);
  border: 1px solid rgba(34, 105, 80, 0.15);
  border-radius: var(--radius-sm);
}
.sidebar-meta-list { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; }
.sidebar-meta-item {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 0.83rem;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-subtle);
}
.sidebar-meta-item:last-child { border-bottom: none; padding-bottom: 0; }
.meta-label { color: var(--text-muted); }
.meta-value { color: var(--text-primary); font-weight: 600; }

/* Detail body */
.detail-body { padding-bottom: 80px; }
.detail-body .container { display: grid; grid-template-columns: 1fr 400px; gap: 56px; }

.content-section { margin-bottom: 48px; }
.content-section h3 { margin-bottom: 18px; font-size: 1.4rem; }

.feature-list { display: flex; flex-direction: column; gap: 14px; }
.feature-item {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 0.92rem; color: var(--text-secondary);
}
.feature-item svg { color: var(--primary); flex-shrink: 0; margin-top: 2px; }

.included-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.included-list li {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.9rem; color: var(--text-secondary);
}
.included-list li::before {
  content: '✓';
  width: 21px; height: 21px;
  background: rgba(196, 96, 58, 0.08);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.72rem; color: var(--primary); flex-shrink: 0;
}

/* FAQ Accordion */
.faq-list { display: flex; flex-direction: column; gap: 6px; }
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.faq-question {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px;
  cursor: pointer;
  font-size: 0.92rem; font-weight: 600;
  color: var(--text-primary);
  user-select: none;
  transition: background var(--transition);
  gap: 14px;
}
.faq-question:hover { background: var(--bg-secondary); }
.faq-icon { color: var(--primary); flex-shrink: 0; transition: transform var(--transition); }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer {
  display: none;
  padding: 0 20px 16px;
  font-size: 0.88rem; color: var(--text-muted); line-height: 1.75;
}
.faq-item.open .faq-answer { display: block; }

/* =========================================================
   ABOUT PAGE
   ========================================================= */
.about-hero {
  padding-top: calc(var(--nav-height) + 56px);
  padding-bottom: 72px;
}
.about-grid {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 64px;
  align-items: center;
}
.profile-photo {
  width: 200px; height: 260px;
  border-radius: var(--radius-xl);
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 4.5rem;
  flex-shrink: 0;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.about-name  { font-size: clamp(2rem, 4vw, 3.2rem); margin-bottom: 6px; }
.about-title { font-size: 0.95rem; color: var(--primary); font-weight: 500; margin-bottom: 18px; }
.about-bio   { color: var(--text-muted); font-size: 1rem; line-height: 1.8; max-width: 540px; margin-bottom: 30px; }

.stat-boxes { display: flex; gap: 14px; flex-wrap: wrap; }
.stat-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px 22px;
  text-align: center;
  min-width: 100px;
}
.stat-number {
  font-family: var(--font-heading);
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--primary);
  display: block;
}
.stat-label { font-size: 0.75rem; color: var(--text-muted); }

.story-section { padding: 56px 0; background: var(--bg-secondary); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.story-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 44px 48px;
  max-width: 760px;
  margin: 0 auto;
  box-shadow: var(--shadow-sm);
}
.story-card p { font-size: 0.97rem; color: var(--text-secondary); line-height: 1.85; margin-bottom: 18px; }
.story-card p:last-child { margin-bottom: 0; color: var(--primary); font-weight: 500; }

.tools-section { padding: 72px 0; }
.tools-grid { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.tool-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: var(--transition);
}
.tool-badge:hover { border-color: var(--primary); color: var(--primary); }

/* =========================================================
   CONTACT PAGE
   ========================================================= */
.contact-hero {
  padding-top: calc(var(--nav-height) + 56px);
  padding-bottom: 24px;
  text-align: center;
}

.contact-grid {
  padding-bottom: 80px;
}

.contact-info-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}
.contact-info-card h3 { margin-bottom: 22px; }

.email-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  background: rgba(196, 96, 58, 0.06);
  border: 1px solid rgba(196, 96, 58, 0.2);
  border-radius: var(--radius-md);
  color: var(--primary);
  font-weight: 600;
  font-size: 0.98rem;
  transition: var(--transition);
  margin-bottom: 18px;
}
.email-link:hover { background: rgba(196, 96, 58, 0.1); }

.response-time {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.83rem; color: var(--text-muted);
  margin-bottom: 24px;
}
.response-time svg { color: #226950; }

.support-links { display: flex; flex-direction: column; gap: 10px; }
.support-link-item {
  display: flex; align-items: center; gap: 12px;
  padding: 13px 16px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  transition: var(--transition);
}
.support-link-item:hover { border-color: var(--primary); }
.support-link-label { color: var(--text-muted); font-size: 0.76rem; }

/* Social link cards */
.social-links-section { display: flex; flex-direction: column; gap: 10px; }
.social-link-card {
  display: flex; align-items: center; gap: 16px;
  padding: 16px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: var(--transition);
  position: relative;
}
.social-link-card:hover {
  border-color: var(--border-strong);
  transform: translateX(3px);
  box-shadow: var(--shadow-sm);
}
.social-link-card::after {
  content: '→';
  position: absolute; right: 20px;
  color: var(--text-faint);
  transition: var(--transition);
}
.social-link-card:hover::after { color: var(--primary); right: 16px; }
.social-icon-large {
  width: 46px; height: 46px;
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem; flex-shrink: 0;
}
.social-link-name { font-weight: 600; font-size: 0.93rem; color: var(--text-primary); }
.social-link-desc { font-size: 0.78rem; color: var(--text-muted); }

/* =========================================================
   UTILITY
   ========================================================= */
.text-center { text-align: center; }
.mb-12  { margin-bottom: 12px; }
.mb-20  { margin-bottom: 20px; }
.mb-32  { margin-bottom: 32px; }
.mt-32  { margin-top: 32px; }
.mt-48  { margin-top: 48px; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1024px) {
  .templates-grid      { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid   { grid-template-columns: repeat(2, 1fr); }
  .footer-grid         { grid-template-columns: 1fr 1fr; }
  .detail-grid         { grid-template-columns: 1fr; }
  .detail-sidebar      { position: static; }
  .detail-body .container { grid-template-columns: 1fr; }
  .about-grid          { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .about-bio           { margin: 0 auto 28px; }
  .stat-boxes          { justify-content: center; }
  .hero-grid           { grid-template-columns: 1fr; }
  .hero-visual         { display: none; }
  .value-strip-inner   { grid-template-columns: 1fr; }
  .value-card:not(:last-child)::after { display: none; }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger            { display: flex; }
  .templates-grid       { grid-template-columns: 1fr; }
  .testimonials-grid    { grid-template-columns: 1fr; }
  .footer-grid          { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom        { flex-direction: column; gap: 6px; text-align: center; }
  .section              { padding: 56px 0; }
  .section-header       { flex-direction: column; align-items: flex-start; gap: 10px; }
  .cta-banner-inner     { padding: 40px 24px; }
  .contact-grid .container,
  .contact-grid > .container { grid-template-columns: 1fr !important; }
  .hero-ctas            { flex-direction: column; }
  .hero-ctas .btn       { width: 100%; justify-content: center; }
  .filter-bar           { flex-direction: column; align-items: flex-start; }
  .trust-row            { flex-direction: column; align-items: flex-start; }
  .payment-icons        { margin-left: 0; }
  .story-card           { padding: 28px 24px; }
}

@media (prefers-reduced-motion: reduce) {
  *, ::before, ::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
