/* ==========================================================================
   InviteStory Business — Luxury Workfiles & Templates Store
   Aesthetic: Warm Champagne Luxury, Soft Alabaster & Royal Emerald Slate
   Typography: Outfit (Display) + Inter (Body)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Outfit:wght@400;500;600;700;800;900&display=swap');

:root {
  /* Surface & Background System (Warm Premium Palette) */
  --bg-main: #0c1815;
  --bg-canvas: #10221e;
  --bg-card: #142a25;
  --bg-card-hover: #1b3832;
  --bg-card-light: #fbf9f5;
  --bg-glass: rgba(18, 38, 33, 0.75);
  --bg-glass-card: rgba(22, 46, 40, 0.85);

  /* Typography Colors */
  --text-main: #f3f6f4;
  --text-muted: #a3bdb6;
  --text-dim: #708d85;
  --text-heading: #ffffff;

  /* Luxury Accents */
  --accent-gold: #e5b358;
  --accent-gold-hover: #f3c774;
  --accent-gold-light: #fbf3df;
  --accent-gold-glow: rgba(229, 179, 88, 0.28);

  --accent-emerald: #1fa87a;
  --accent-emerald-glow: rgba(31, 168, 122, 0.25);
  --accent-emerald-light: #e8f8f2;

  /* Borders */
  --border-subtle: rgba(229, 179, 88, 0.15);
  --border-card: rgba(229, 179, 88, 0.22);
  --border-focus: rgba(229, 179, 88, 0.55);

  /* Typography */
  --font-display: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Radius */
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --radius-xl: 30px;
  --radius-pill: 9999px;

  /* Shadows */
  --shadow-subtle: 0 4px 20px rgba(0, 0, 0, 0.2);
  --shadow-card: 0 12px 36px rgba(5, 15, 12, 0.35);
  --shadow-glow-gold: 0 0 35px rgba(229, 179, 88, 0.22);
  --shadow-glow-emerald: 0 0 35px rgba(31, 168, 122, 0.22);
}

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

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-main);
  background-image:
    radial-gradient(circle at 18% 12%, rgba(229, 179, 88, 0.12) 0%, transparent 45%),
    radial-gradient(circle at 82% 25%, rgba(31, 168, 122, 0.14) 0%, transparent 50%),
    radial-gradient(circle at 50% 65%, rgba(229, 179, 88, 0.08) 0%, transparent 60%);
  background-attachment: fixed;
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

/* Typography Utilities */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--text-heading);
  line-height: 1.18;
  letter-spacing: -0.02em;
}

.gradient-text {
  background: linear-gradient(135deg, #ffffff 0%, #fae8b4 35%, #e5b358 75%, #c5933a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.gradient-emerald {
  background: linear-gradient(135deg, #a7f3d0 0%, #34d399 50%, #059669 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* Header & Navigation */
.header-bar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(12, 24, 21, 0.85);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 14px 0;
  transition: all 0.3s ease;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-img {
  height: 38px;
  width: auto;
  object-fit: contain;
}

.b2b-header-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(229, 179, 88, 0.15);
  color: #fae8b4;
  border: 1px solid rgba(229, 179, 88, 0.35);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, #e5b358 0%, #c5933a 100%);
  color: #0c1815;
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(229, 179, 88, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(229, 179, 88, 0.5);
  background: linear-gradient(135deg, #f3c774 0%, #e5b358 100%);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-card);
  color: var(--text-main);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--accent-gold);
  color: #ffffff;
  transform: translateY(-1px);
}

.btn-sm {
  padding: 6px 14px;
  font-size: 0.82rem;
}

.btn-lg {
  padding: 14px 28px;
  font-size: 1rem;
  font-weight: 700;
}

/* Currency Switcher */
.currency-switch-container {
  display: inline-flex;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  padding: 3px;
}

.currency-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all 0.2s ease;
}

.currency-btn.active {
  background: #e5b358;
  color: #0c1815;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(229, 179, 88, 0.3);
}

/* Hero Section */
.hero-section {
  padding: 65px 0 50px;
  position: relative;
}

.hero-content {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.hero-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(229, 179, 88, 0.14);
  border: 1px solid rgba(229, 179, 88, 0.35);
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 700;
  color: #fae8b4;
  letter-spacing: 0.04em;
  margin-bottom: 22px;
}

.hero-title {
  font-size: clamp(2.3rem, 5vw + 0.5rem, 3.8rem);
  line-height: 1.14;
  margin-bottom: 20px;
  font-weight: 800;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 1.5vw + 0.5rem, 1.25rem);
  color: var(--text-muted);
  max-width: 760px;
  margin: 0 auto 34px;
  line-height: 1.65;
}

.hero-actions-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.hero-price-highlight {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(31, 168, 122, 0.16);
  border: 1px solid rgba(31, 168, 122, 0.38);
  color: #6ee7b7;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 30px;
}

/* AI Editing Compatibility Bar */
.ai-compat-strip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  background: var(--bg-glass-card);
  border: 1px solid var(--border-card);
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  margin-bottom: 36px;
  box-shadow: var(--shadow-subtle);
}

.ai-compat-title {
  font-size: 0.84rem;
  color: var(--text-dim);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.ai-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.ai-pill.highlight {
  background: rgba(229, 179, 88, 0.18);
  border-color: rgba(229, 179, 88, 0.4);
  color: #fae8b4;
}

/* Value Props Grid */
.props-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 20px 0 50px;
}

@media (max-width: 800px) {
  .props-grid {
    grid-template-columns: 1fr;
  }
}

.prop-card {
  background: var(--bg-glass-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: left;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.prop-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-gold);
}

.prop-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(229, 179, 88, 0.15);
  color: var(--accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 14px;
}

.prop-card h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.prop-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ==========================================================================
   Creator & Agency Monthly Revenue & Profit Calculator
   ========================================================================== */
.roi-section-wrap {
  background: linear-gradient(135deg, #132a24 0%, #0d1e1a 100%);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-card), var(--shadow-glow-gold);
  margin-bottom: 60px;
}

@media (max-width: 768px) {
  .roi-section-wrap {
    padding: 24px;
  }
}

.roi-header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 36px;
}

.roi-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.76rem;
  font-weight: 700;
  color: #6ee7b7;
  background: rgba(31, 168, 122, 0.16);
  border: 1px solid rgba(31, 168, 122, 0.35);
  padding: 4px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 12px;
  text-transform: uppercase;
}

.roi-title {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 12px;
}

.roi-desc {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.roi-cost-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(229, 179, 88, 0.15);
  border: 1px solid rgba(229, 179, 88, 0.35);
  color: #fae8b4;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  font-weight: 700;
  margin-top: 14px;
}

/* Interactive Slider Calculator Layout */
.calc-interactive-container {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 32px;
  align-items: center;
  background: rgba(12, 24, 21, 0.85);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

@media (max-width: 860px) {
  .calc-interactive-container {
    grid-template-columns: 1fr;
    padding: 24px;
    gap: 28px;
  }
}

/* Sliders Control Panel */
.calc-sliders-panel {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.calc-control-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.calc-control-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.calc-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-main);
}

.calc-value-badge {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  color: #fae8b4;
  background: rgba(229, 179, 88, 0.15);
  border: 1px solid rgba(229, 179, 88, 0.35);
  padding: 4px 14px;
  border-radius: var(--radius-pill);
}

/* Custom Range Slider */
.calc-range-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.12);
  outline: none;
  cursor: pointer;
  transition: background 0.2s;
}

.calc-range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #e5b358;
  border: 3px solid #0c1815;
  cursor: pointer;
  box-shadow: 0 0 12px rgba(229, 179, 88, 0.6);
  transition: transform 0.15s ease, background 0.15s ease;
}

.calc-range-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
  background: #f3c774;
}

.calc-range-slider::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #e5b358;
  border: 3px solid #0c1815;
  cursor: pointer;
  box-shadow: 0 0 12px rgba(229, 179, 88, 0.6);
}

.calc-presets-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.calc-preset-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all 0.2s ease;
}

.calc-preset-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.calc-preset-btn.active {
  background: #e5b358;
  color: #0c1815;
  border-color: #e5b358;
  font-weight: 700;
}

/* Results Display Panel */
.calc-results-panel {
  background: linear-gradient(145deg, #18362e 0%, #102621 100%);
  border: 1px solid rgba(229, 179, 88, 0.35);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45), var(--shadow-glow-emerald);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.calc-summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.9rem;
  color: var(--text-muted);
  padding-bottom: 8px;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.08);
}

.calc-summary-row strong {
  color: var(--text-main);
}

.calc-profit-display {
  background: rgba(31, 168, 122, 0.16);
  border: 1px solid rgba(31, 168, 122, 0.4);
  border-radius: var(--radius-md);
  padding: 20px;
  text-align: center;
}

.calc-profit-title {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #6ee7b7;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.calc-profit-amount {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.6rem);
  font-weight: 800;
  color: #6ee7b7;
  line-height: 1.1;
}

.calc-profit-subtext {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 6px;
}

.calc-payback-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #fae8b4;
  background: rgba(229, 179, 88, 0.18);
  border: 1px solid rgba(229, 179, 88, 0.35);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  margin-top: 4px;
}

/* ==========================================================================
   Filter Bar & Catalogue
   ========================================================================== */
.catalogue-section {
  padding: 40px 0 80px;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 40px;
}

.section-badge {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 700;
  color: #fae8b4;
  background: rgba(229, 179, 88, 0.15);
  border: 1px solid rgba(229, 179, 88, 0.3);
  padding: 4px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 12px;
  text-transform: uppercase;
}

.section-title {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  margin-bottom: 12px;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
}

.controls-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 18px;
  margin-bottom: 36px;
  box-shadow: var(--shadow-subtle);
}

.search-box-wrapper {
  position: relative;
  margin-bottom: 14px;
}

.search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  color: var(--text-dim);
}

.search-input {
  width: 100%;
  background: #0d1b17;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  padding: 12px 44px 12px 48px;
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: all 0.2s ease;
}

.search-input:focus {
  outline: none;
  border-color: #e5b358;
  box-shadow: 0 0 0 3px rgba(229, 179, 88, 0.25);
}

.clear-search-btn {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  display: none;
  width: 24px;
  height: 24px;
}

.filter-tags-row {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: thin;
}

.filter-tag {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.filter-tag:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.filter-tag.active {
  background: #e5b358;
  color: #0c1815;
  font-weight: 700;
  border-color: #e5b358;
  box-shadow: 0 2px 10px rgba(229, 179, 88, 0.35);
}

/* ==========================================================================
   Template Card Grid
   ========================================================================== */
.templates-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 28px;
}

@media (max-width: 480px) {
  .templates-grid {
    grid-template-columns: 1fr;
  }
}

.template-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.template-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent-gold);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45), var(--shadow-glow-gold);
}

.template-card-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #091310;
}

.template-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.5s ease;
}

.template-card:hover .template-card-img {
  transform: scale(1.04);
}

.template-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20, 42, 37, 0.95) 0%, transparent 60%);
}

.template-card-fallback-initial {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  font-weight: 800;
  color: rgba(229, 179, 88, 0.35);
}

.template-card-content {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.template-card-header {
  margin-bottom: 10px;
}

.template-card-title {
  font-size: 1.25rem;
  margin-bottom: 6px;
  color: #ffffff;
}

.template-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.template-tag {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: var(--radius-pill);
}

.tag-pick {
  background: rgba(229, 179, 88, 0.2);
  color: #fae8b4;
  border: 1px solid rgba(229, 179, 88, 0.4);
}

.tag-style {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
}

.easy-edit-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.72rem;
  font-weight: 600;
  color: #6ee7b7;
  background: rgba(31, 168, 122, 0.15);
  border: 1px solid rgba(31, 168, 122, 0.3);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  margin: 10px 0 12px;
}

.template-card-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 16px;
  flex: 1;
}

.template-card-price-wrap {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--border-subtle);
}

.template-card-price {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 800;
  color: #fae8b4;
}

.template-card-license-tag {
  font-size: 0.75rem;
  color: #6ee7b7;
  font-weight: 600;
}

.template-card-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.template-btn-preview {
  width: 100%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-card);
  color: var(--text-main);
  padding: 10px;
  font-size: 0.88rem;
  border-radius: var(--radius-pill);
}

.template-btn-preview:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.template-card-btn-row {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 8px;
}

.template-btn-order {
  background: linear-gradient(135deg, #e5b358 0%, #c5933a 100%);
  color: #0c1815;
  font-weight: 700;
  padding: 10px;
  font-size: 0.88rem;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 12px rgba(229, 179, 88, 0.25);
}

.template-btn-order:hover {
  background: linear-gradient(135deg, #f3c774 0%, #e5b358 100%);
  transform: translateY(-1px);
}

.template-btn-wa {
  background: rgba(31, 168, 122, 0.15);
  color: #6ee7b7;
  border: 1px solid rgba(31, 168, 122, 0.35);
  padding: 10px;
  font-size: 0.85rem;
  border-radius: var(--radius-pill);
}

.template-btn-wa:hover {
  background: rgba(31, 168, 122, 0.25);
}

/* ==========================================================================
   Reviews & Marquee
   ========================================================================== */
.social-proof {
  padding: 50px 0;
}

.testimonials-wrapper {
  position: relative;
  margin-bottom: 40px;
}

.testimonials-grid {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 10px 4px 20px;
  scrollbar-width: none;
}

.testimonial-card {
  min-width: 320px;
  max-width: 380px;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 24px;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.testimonial-quote {
  font-size: 0.92rem;
  color: var(--text-main);
  line-height: 1.6;
  margin-bottom: 20px;
}

.testimonial-meta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-author-name {
  font-weight: 700;
  color: #ffffff;
  display: block;
}

.testimonial-author-wedding {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.trust-marquee {
  overflow: hidden;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 20px 0;
}

.trust-marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 25s linear infinite;
}

.trust-marquee-set {
  display: flex;
  gap: 48px;
  padding-right: 48px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.trust-icon {
  font-size: 1.4rem;
}

.trust-text strong {
  display: block;
  font-size: 0.88rem;
  color: #ffffff;
}

.trust-text span {
  font-size: 0.76rem;
  color: var(--text-muted);
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ==========================================================================
   Developer & Non-Tech FAQ Accordion
   ========================================================================== */
.faq-section {
  padding: 50px 0 80px;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.faq-question {
  width: 100%;
  background: transparent;
  border: none;
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  cursor: pointer;
}

.faq-toggle-icon {
  font-size: 1.4rem;
  color: #e5b358;
  transition: transform 0.2s ease;
}

.faq-item.active .faq-toggle-icon,
.faq-item.is-open .faq-toggle-icon {
  transform: rotate(45deg);
}

.faq-answer {
  display: none;
  padding: 0 24px 20px;
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.faq-item.active .faq-answer,
.faq-item.is-open .faq-answer {
  display: block;
}

/* ==========================================================================
   Modals (Preview Simulator & Download Hub)
   ========================================================================== */
.preview-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.preview-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.preview-modal-scrim {
  position: absolute;
  inset: 0;
  background: rgba(8, 16, 14, 0.85);
  backdrop-filter: blur(12px);
}

.preview-modal-ambient-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--theme-accent-glow, rgba(229, 179, 88, 0.3)) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}

.preview-modal-panel {
  position: relative;
  z-index: 2;
  width: 95%;
  max-width: 900px;
  height: 90vh;
  max-height: 880px;
  background: #0f221e;
  border: 1px solid rgba(229, 179, 88, 0.25);
  border-radius: var(--radius-xl);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}

.preview-modal-header {
  background: rgba(12, 24, 21, 0.95);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-subtle);
}

.preview-modal-title {
  font-size: 1.25rem;
  color: #ffffff;
}

.preview-modal-style-tag {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.preview-modal-close {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #ffffff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 1.4rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.preview-modal-body {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  position: relative;
  overflow: hidden;
}

.preview-modal-iframe-wrap {
  width: 375px;
  height: 812px;
  max-height: 100%;
  border-radius: 36px;
  border: 8px solid #1a3832;
  box-shadow: 0 0 0 2px rgba(229, 179, 88, 0.2), 0 25px 60px rgba(0, 0, 0, 0.6);
  position: relative;
  overflow: hidden;
  background: #000000;
}

.preview-modal-iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.preview-modal-toolbar {
  background: rgba(12, 24, 21, 0.95);
  padding: 16px 24px;
  border-top: 1px solid var(--border-subtle);
}

/* Post-Payment Download Modal */
.download-modal {
  position: fixed;
  inset: 0;
  z-index: 11000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.download-modal.active {
  opacity: 1;
  visibility: visible;
}

.download-modal-scrim {
  position: absolute;
  inset: 0;
  background: rgba(8, 16, 14, 0.88);
  backdrop-filter: blur(12px);
}

.download-modal-panel {
  position: relative;
  background: #142a25;
  border: 1px solid rgba(229, 179, 88, 0.4);
  width: 92%;
  max-width: 520px;
  border-radius: var(--radius-xl);
  padding: 32px;
  text-align: center;
  z-index: 2;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6), var(--shadow-glow-gold);
}

.download-success-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(31, 168, 122, 0.2);
  color: #6ee7b7;
  border: 1px solid rgba(31, 168, 122, 0.4);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 16px;
}

.download-modal-title {
  font-size: 1.5rem;
  margin-bottom: 6px;
}

.download-modal-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.download-box {
  background: #0d1b17;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px;
  text-align: left;
  margin-bottom: 22px;
}

.download-box-header {
  font-size: 0.78rem;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--text-dim);
  margin-bottom: 8px;
}

.download-box-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.88rem;
  color: var(--text-main);
  padding: 6px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.08);
}

.download-box-item:last-child {
  border-bottom: none;
}

.download-action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  background: linear-gradient(135deg, #e5b358 0%, #c5933a 100%);
  color: #0c1815;
  padding: 14px 20px;
  border-radius: var(--radius-pill);
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(229, 179, 88, 0.4);
  transition: transform 0.2s;
  margin-bottom: 10px;
}

.download-action-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(229, 179, 88, 0.55);
}

.download-wa-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-card);
  color: var(--text-main);
  padding: 12px 18px;
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s;
}

.download-wa-btn:hover {
  background: rgba(255, 255, 255, 0.12);
}

.download-modal-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(255, 255, 255, 0.08);
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 1.2rem;
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Floating WhatsApp CTA */
.floating-whatsapp {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45);
  transition: transform 0.2s, box-shadow 0.2s;
}

.floating-whatsapp:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.6);
}

.floating-whatsapp svg {
  width: 32px;
  height: 32px;
}

/* Footer */
.footer {
  background: #081210;
  border-top: 1px solid var(--border-subtle);
  padding: 60px 0 30px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

@media (max-width: 768px) {
  .footer-top {
    grid-template-columns: 1fr;
  }
}

.footer-logo {
  height: 36px;
  margin-bottom: 14px;
}

.footer-brand p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.footer-heading {
  font-size: 0.95rem;
  margin-bottom: 16px;
  color: #ffffff;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 0.88rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #e5b358;
}

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

/* Policy Pages Layout */
.policy-page {
  padding: 60px 0 100px;
}

.policy-header {
  max-width: 800px;
  margin: 0 auto 40px;
  text-align: center;
}

.policy-badge {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 700;
  color: #fae8b4;
  background: rgba(229, 179, 88, 0.15);
  border: 1px solid rgba(229, 179, 88, 0.35);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 12px;
  text-transform: uppercase;
}

.policy-card {
  max-width: 800px;
  margin: 0 auto 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.policy-card h2 {
  font-size: 1.25rem;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.policy-card .num {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #e5b358;
  color: #0c1815;
  font-size: 0.8rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.policy-card p {
  font-size: 0.92rem;
  color: #d1deda;
  line-height: 1.65;
}

.policy-highlight {
  background: rgba(229, 179, 88, 0.12);
  border-left: 4px solid #e5b358;
  padding: 14px 18px;
  border-radius: 4px 8px 8px 4px;
  font-size: 0.88rem;
  color: #fae8b4;
  margin: 16px 0;
}

.policy-list {
  padding-left: 20px;
  font-size: 0.9rem;
  color: #d1deda;
  line-height: 1.7;
}

.gold-text {
  color: #e5b358;
}

/* ==========================================================================
   2026 Light B2B redesign
   System: cool white surfaces, ink navy, single cobalt accent, 14px cards
   ========================================================================== */
:root {
  --bg-main: #f7f8f4;
  --bg-canvas: #eef1f7;
  --bg-card: #ffffff;
  --bg-card-hover: #f9fbff;
  --bg-card-light: #ffffff;
  --bg-glass: rgba(255, 255, 255, 0.9);
  --bg-glass-card: #ffffff;
  --text-main: #17223b;
  --text-muted: #526079;
  --text-dim: #6c7890;
  --text-heading: #0d1730;
  --accent-gold: #2456d7;
  --accent-gold-hover: #1947bf;
  --accent-gold-light: #e9efff;
  --accent-gold-glow: rgba(36, 86, 215, 0.12);
  --accent-emerald: #2456d7;
  --accent-emerald-glow: rgba(36, 86, 215, 0.12);
  --accent-emerald-light: #e9efff;
  --border-subtle: #dfe5ef;
  --border-card: #d8e0ec;
  --border-focus: rgba(36, 86, 215, 0.48);
  --font-display: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 14px;
  --radius-xl: 16px;
  --shadow-subtle: 0 8px 30px rgba(23, 34, 59, 0.06);
  --shadow-card: 0 20px 60px rgba(23, 34, 59, 0.09);
  --shadow-glow-gold: none;
  --shadow-glow-emerald: none;
}

html {
  color-scheme: light;
  scroll-padding-top: 84px;
}

body {
  background: var(--bg-main);
  color: var(--text-main);
}

body::before {
  content: none;
}

h1, h2, h3, h4, h5 { color: var(--text-heading); }

.container { max-width: 1280px; }

.header-bar {
  min-height: 70px;
  padding: 12px 0;
  background: rgba(247, 248, 244, 0.9);
  border-bottom-color: rgba(206, 216, 231, 0.8);
  box-shadow: 0 1px 0 rgba(255,255,255,.9);
}

.logo-img { height: 42px; }

.header-actions, .desktop-nav {
  display: flex;
  align-items: center;
}

.header-actions { gap: 28px; }
.desktop-nav { gap: 26px; }

.desktop-nav a {
  color: #44516a;
  font-size: .88rem;
  font-weight: 600;
  text-decoration: none;
  transition: color .2s ease;
}

.desktop-nav a:hover { color: var(--accent-gold); }

.btn {
  border-radius: var(--radius-sm);
  min-height: 42px;
}

.btn-primary,
.template-btn-order,
.download-action-btn {
  color: #ffffff;
  background: #2456d7;
  border-color: #2456d7;
  box-shadow: 0 7px 18px rgba(36, 86, 215, .18);
}

.btn-primary:hover,
.template-btn-order:hover,
.download-action-btn:hover {
  color: #ffffff;
  background: #1947bf;
  border-color: #1947bf;
  box-shadow: 0 10px 24px rgba(36, 86, 215, .22);
}

.btn:active { transform: translateY(1px) scale(.99); }

.btn-outline {
  color: #17223b;
  background: #ffffff;
  border-color: #cbd5e4;
}

.btn-outline:hover {
  color: #2456d7;
  background: #f7f9fd;
  border-color: #2456d7;
}

.hero-section {
  position: relative;
  overflow: hidden;
  padding: 72px 0 34px;
}

.hero-section::before {
  display: none;
}

.hero-content {
  display: block;
  min-height: auto;
  text-align: center;
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 860px;
  margin: 0 auto;
}

.hero-pill-badge {
  display: inline-block;
  margin-bottom: 24px;
  padding: 7px 13px;
  border: 1px solid #cdd9f7;
  border-radius: var(--radius-pill);
  color: #204ab5;
  background: #e9efff;
  font-size: .72rem;
  font-weight: 750;
  letter-spacing: 0;
  text-transform: none;
}

.hero-title {
  max-width: 790px;
  margin: 0 auto 22px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.5rem, 6vw, 5.4rem);
  line-height: .98;
  letter-spacing: -.048em;
  font-weight: 500;
}

.hero-subtitle {
  max-width: 650px;
  margin: 0 auto 28px;
  color: #536078;
  font-size: clamp(.98rem, 1.2vw, 1.08rem);
  line-height: 1.6;
}

.hero-actions-row {
  justify-content: center;
  margin: 0;
}

.hero-visual {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 0 0 0 18px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transform: none;
  transition: transform .5s cubic-bezier(.16,1,.3,1);
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 34px -18px 52px 0;
  z-index: -1;
  border-radius: var(--radius-xl);
  background: #2456d7;
}

.hero-visual:hover { transform: translateY(-4px); }

.hero-visual img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  object-position: center;
  border-radius: var(--radius-xl);
}

.hero-visual figcaption {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  width: calc(100% - 42px);
  margin: 12px 0 0 42px;
  padding: 13px 16px;
  color: #dfe6fa;
  border-radius: var(--radius-md);
  background: #111d38;
  font-size: .82rem;
  font-weight: 600;
}

.hero-visual figcaption span:first-child { color: #ffffff; }

.hero-template-showcase {
  position: relative;
  z-index: 1;
  width: 100vw;
  margin: 52px 0 26px;
  margin-left: calc(50% - 50vw);
}

.hero-template-showcase-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.hero-template-showcase-head h2 {
  margin: 0;
  color: #17223b;
  font-size: .82rem;
  font-weight: 750;
  letter-spacing: .01em;
}

.hero-template-showcase-controls {
  display: flex;
  gap: 6px;
}

.hero-template-showcase-controls button {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: #344158;
  border: 1px solid #d3dce8;
  border-radius: var(--radius-sm);
  background: #ffffff;
  cursor: pointer;
  transition: transform .2s ease, color .2s ease, border-color .2s ease, background .2s ease;
}

.hero-template-showcase-controls button:hover {
  color: #2456d7;
  border-color: #b8c8e5;
  background: #f5f8ff;
}

.hero-template-showcase-controls button:active { transform: scale(.96); }

.hero-template-rail {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding: 0 clamp(20px, 4vw, 58px) 7px;
  overscroll-behavior-inline: contain;
  scroll-behavior: smooth;
  scroll-snap-type: inline mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
}

.hero-template-rail::-webkit-scrollbar { display: none; }

.hero-template-tile {
  position: relative;
  flex: 0 0 clamp(220px, 22vw, 286px);
  aspect-ratio: 4 / 5;
  overflow: hidden;
  padding: 0;
  border: 1px solid #d4dce8;
  border-radius: var(--radius-lg);
  background: #17223b;
  cursor: pointer;
  scroll-snap-align: start;
}

.hero-template-tile img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform .35s cubic-bezier(.16,1,.3,1), opacity .2s ease;
}

.hero-template-tile::after {
  content: "";
  position: absolute;
  inset: 42% 0 0;
  background: linear-gradient(to top, rgba(12,18,31,.88), transparent);
  pointer-events: none;
}

.hero-template-tile span {
  position: absolute;
  right: 16px;
  bottom: 15px;
  left: 16px;
  z-index: 1;
  overflow: hidden;
  color: #ffffff;
  font-size: .88rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero-template-tile:hover img { transform: scale(1.045); }
.hero-template-tile:focus-visible { outline: 3px solid rgba(36,86,215,.28); outline-offset: 2px; }

.ai-compat-strip {
  display: flex;
  width: 100%;
  margin: 6px 0 22px;
  padding: 18px 0;
  justify-content: flex-start;
  border: 0;
  border-top: 1px solid #d8e0ec;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}

.ai-compat-title {
  margin-right: auto;
  color: #526079;
  letter-spacing: 0;
  text-transform: none;
}

.ai-pill,
.ai-pill.highlight {
  color: #34415a;
  padding: 0;
  background: transparent;
  border-color: transparent;
}

.ai-pill.highlight { color: #204ab5; background: transparent; }

.props-grid {
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 0;
  margin: 0 0 76px;
  border: 1px solid #d8e0ec;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #ffffff;
}

.prop-card {
  padding: 27px;
  border: 0;
  border-right: 1px solid #dfe5ef;
  border-radius: 0;
  background: transparent;
}

.prop-card:last-child { border-right: 0; }
.prop-card:first-child { background: #2456d7; }
.prop-card:first-child .prop-icon { color: #dce5ff; }
.prop-card:first-child h3 { color: #ffffff; }
.prop-card:first-child p { color: #dce5ff; }
.prop-card:hover { transform: none; border-color: #dfe5ef; background: #f7f9fd; }

.prop-icon {
  width: auto;
  height: auto;
  margin-bottom: 34px;
  justify-content: flex-start;
  border-radius: 0;
  color: #2456d7;
  background: transparent;
  font-family: var(--font-display);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .1em;
}

.prop-card h3 { font-size: 1.2rem; }
.prop-card p { max-width: 34ch; color: #59657c; }

#revenue-calculator { scroll-margin-top: 90px; }

.roi-section-wrap {
  margin-bottom: 88px;
  padding: clamp(28px, 5vw, 56px);
  border-color: #d5deeb;
  border-radius: var(--radius-xl);
  background: #eaf0ff;
  box-shadow: none;
}

.roi-header { text-align: left; margin: 0 0 32px; }
.roi-badge { display: none; }
.roi-title { max-width: 620px; font-size: clamp(2rem, 4vw, 3rem); }
.roi-desc { max-width: 620px; color: #546079; }

.calc-interactive-container {
  grid-template-columns: 1.15fr .85fr;
  align-items: stretch;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.calc-sliders-panel,
.calc-results-panel {
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid #d3ddec;
  border-radius: var(--radius-lg);
  background: #ffffff;
}

.calc-label { color: #27344d; }

.calc-value-badge {
  color: #2456d7;
  background: #edf2ff;
  border-color: #cad7f7;
  border-radius: var(--radius-sm);
}

.calc-range-slider { background: #dce3ef; }
.calc-range-slider::-webkit-slider-thumb { background: #2456d7; border-color: #ffffff; box-shadow: 0 3px 10px rgba(36,86,215,.28); }
.calc-range-slider::-moz-range-thumb { background: #2456d7; border-color: #ffffff; box-shadow: 0 3px 10px rgba(36,86,215,.28); }

.calc-preset-btn {
  color: #59657c;
  background: #f6f8fc;
  border-color: #dce3ed;
  border-radius: var(--radius-sm);
}
.calc-preset-btn:hover { color: #2456d7; background: #edf2ff; }
.calc-preset-btn.active { color: #ffffff; background: #2456d7; border-color: #2456d7; }

.calc-results-panel { background: #111d38; border-color: #111d38; box-shadow: none; }
.calc-summary-row { color: #aebbd2; border-color: rgba(255,255,255,.12); }
.calc-summary-row strong { color: #ffffff; }
.calc-profit-display { padding: 24px; background: #1a2b50; border-color: #365587; }
.calc-profit-title, .calc-profit-amount { color: #ffffff; }
.calc-profit-subtext { color: #b8c5da; }
.calc-payback-badge { color: #cfdaee; background: transparent; border-color: #344867; border-radius: var(--radius-sm); }

.catalogue-section { padding: 12px 0 92px; }

.section-header {
  max-width: 760px;
  margin: 0 0 36px;
  text-align: left;
}

.section-badge { display: none; }
.section-title { font-size: clamp(2.2rem, 4vw, 3.4rem); letter-spacing: -.045em; }
.section-subtitle { max-width: 600px; color: #59657c; }

.controls-card {
  padding: 10px;
  border-color: #dbe3ef;
  border-radius: var(--radius-md);
  background: #eef2f7;
  box-shadow: none;
}

.search-box-wrapper { margin-bottom: 9px; }
.search-icon { left: 14px; width: 18px; height: 18px; color: #65728a; }
.search-input {
  min-height: 48px;
  padding: 11px 42px 11px 44px;
  color: #17223b;
  background: #ffffff;
  border-color: #d5deeb;
  border-radius: var(--radius-sm);
  box-shadow: 0 1px 2px rgba(23,34,59,.03);
}
.search-input::placeholder { color: #6c7890; }
.search-input:focus { border-color: #2456d7; box-shadow: 0 0 0 3px rgba(36,86,215,.14); }

.filter-tags-row {
  gap: 6px;
  padding: 0;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.filter-tags-row::-webkit-scrollbar { display: none; }
.filter-tag {
  min-height: 34px;
  padding: 6px 13px;
  color: #526079;
  background: #ffffff;
  border-color: #d5deeb;
  border-radius: var(--radius-sm);
  box-shadow: 0 1px 1px rgba(23,34,59,.02);
}
.filter-tag:hover { color: #2456d7; background: #f8faff; border-color: #b8c7de; }
.filter-tag.active { color: #ffffff; background: #2456d7; border-color: #2456d7; box-shadow: none; }

@media (min-width: 701px) {
  .filter-tags-row {
    flex-wrap: wrap;
    overflow: visible;
  }
}

@media (max-width: 700px) {
  .controls-card {
    margin-inline: -2px;
    margin-bottom: 24px;
    padding: 8px;
    border-radius: 14px;
  }

  .search-box-wrapper { margin-bottom: 8px; }
  .search-input { min-height: 46px; font-size: .9rem; }
  .filter-tags-row {
    margin-inline: -2px;
    padding-inline: 2px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: inline proximity;
    -webkit-overflow-scrolling: touch;
  }
  .filter-tag {
    min-height: 34px;
    scroll-snap-align: start;
  }
}

.templates-grid {
  grid-template-columns: 1fr;
  gap: 8px;
  align-items: start;
}

.template-card {
  isolation: isolate;
  flex-direction: row;
  border-color: #252b38;
  border-radius: var(--radius-sm);
  background: #141821;
  box-shadow: none;
}
.template-card:hover,
.template-card:focus-within {
  transform: translateX(3px);
  border-color: #3a455b;
  box-shadow: 0 10px 24px rgba(17,24,39,.14);
}
.template-card-media {
  flex: 0 0 196px;
  width: 196px;
  height: 118px;
  min-height: 0;
  aspect-ratio: auto;
  background: #202631;
}
.template-card-overlay {
  background: linear-gradient(to top, rgba(20,24,33,.48), transparent 38%);
}
.template-card-fallback-initial { color: rgba(145,166,220,.42); }
.template-card-content {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 150px 244px;
  gap: 18px;
  align-items: center;
  min-width: 0;
  padding: 13px 16px;
}
.template-card-header { min-width: 0; margin-bottom: 0; }
.template-card-title {
  margin-bottom: 5px;
  overflow: hidden;
  color: #f7f8fb;
  font-size: 1.02rem;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.template-card-tags { gap: 9px; min-height: 17px; }
.template-tag { padding: 0; border: 0; border-radius: 0; background: transparent; font-size: .68rem; line-height: 1.4; }
.tag-pick { color: #7fa4ff; background: transparent; border: 0; }
.tag-style { color: #aab3c2; background: transparent; }
.template-card-desc {
  display: none;
}
.template-card-price-wrap {
  align-items: flex-start;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  margin: 0;
  padding: 0;
  border-top: 0;
}
.template-card-price { color: #f7f8fb; font-size: 1.16rem; line-height: 1; }
.template-card-license-tag {
  max-width: none;
  color: #aab3c2;
  font-size: .64rem;
  line-height: 1.2;
  text-align: left;
}
.template-card-actions {
  display: grid;
  grid-template-columns: .72fr 1.28fr;
  gap: 8px;
}
.template-btn-preview,
.template-btn-order {
  width: 100%;
  min-height: 40px;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  font-size: .78rem;
}
.template-btn-preview { color: #f0f3f8; background: #272d39; border-color: #363e4d; }
.template-btn-preview:hover { color: #ffffff; background: #323a48; border-color: #4c576a; }
.template-btn-order {
  color: #ffffff;
  background: #2456d7;
  border-color: #2456d7;
  border-radius: var(--radius-sm);
  box-shadow: none;
}
.template-btn-order:hover { background: #1d49bd; border-color: #1d49bd; box-shadow: none; }

@media (max-width: 900px) {
  .template-card-media {
    flex-basis: 164px;
    width: 164px;
  }

  .template-card-content {
    grid-template-columns: minmax(150px, 1fr) 112px 210px;
    gap: 12px;
  }
}

@media (max-width: 700px) {
  .template-card {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
  }

  .template-card:hover,
  .template-card:focus-within {
    transform: translateY(-2px);
  }

  .template-card-media {
    width: 112px;
    height: 100%;
    min-height: 154px;
  }

  .template-card-content {
    grid-template-columns: 1fr;
    gap: 9px;
    padding: 12px;
  }

  .template-card-title { font-size: .94rem; }
  .template-card-tags { gap: 7px; }
  .template-card-price-wrap {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
  .template-card-license-tag { display: none; }
  .template-card-actions { gap: 6px; }
  .template-btn-preview,
  .template-btn-order {
    min-height: 36px;
    padding: 7px 8px;
    font-size: .72rem;
  }
}

.social-proof { padding: 76px 0; background: #edf2fa; border-block: 1px solid #dce4ef; }
.testimonial-card { border-color: #d6dfeb; border-radius: var(--radius-lg); background: #ffffff; }
.testimonial-quote { color: #27344d; }
.testimonial-author-name { color: #0d1730; }
.testimonial-author-wedding { color: #647087; }
.trust-marquee { border-color: #d4deeb; }
.trust-text strong { color: #17223b; }
.trust-text span { color: #647087; }
.trust-icon { min-width: 32px; color: #2456d7; font-size: .68rem; font-weight: 800; letter-spacing: .08em; }
.commercial-rights-label { color: #2456d7; font-weight: 700; }

.faq-section { padding: 88px 0; }
.faq-list { max-width: 900px; margin: 0; gap: 10px; }
.faq-item { border-color: #d8e0ec; border-radius: var(--radius-md); background: #ffffff; }
.faq-question { color: #17223b; }
.faq-question:hover { background: #f8faff; }
.faq-toggle-icon { color: #2456d7; }
.faq-answer { color: #59657c; }

.preview-modal-scrim, .download-modal-scrim { background: rgba(15,25,45,.68); }
.preview-modal-ambient-glow { display: none; }
.preview-modal-panel, .download-modal-panel { background: #ffffff; border-color: #d8e0ec; box-shadow: 0 30px 90px rgba(10,20,40,.25); }
.preview-modal-header, .preview-modal-toolbar { background: #f8faff; border-color: #dfe5ef; }
.preview-modal-title, .download-modal-title { color: #0d1730; }
.preview-modal-style-tag, .download-modal-desc { color: #647087; }
.preview-modal-close, .download-modal-close-btn { color: #27344d; background: #edf1f7; }
.preview-modal-iframe-wrap { border-color: #17223b; background: #17223b; box-shadow: 0 20px 50px rgba(23,34,59,.2); }
.download-success-icon { color: #2456d7; background: #edf2ff; border-color: #cad7f7; }
.download-box { background: #f6f8fc; border-color: #d8e0ec; }
.download-box-header { color: #6c7890; }
.download-box-item { color: #27344d; border-color: #dfe5ef; }
.download-wa-btn { color: #2456d7; background: #edf2ff; border-color: #cad7f7; }
.download-help-text { margin-top: 14px; color: #59657c; font-size: .78rem; }

.floating-whatsapp { box-shadow: 0 8px 22px rgba(23,34,59,.16); }

.footer { padding: 62px 0 28px; background: #111d38; border-color: #263656; }
.footer-logo { filter: brightness(0) invert(1); opacity: .9; }
.footer-brand p, .footer-links a { color: #b8c4d9; }
.footer-heading { color: #ffffff; }
.footer-links a:hover { color: #ffffff; }
.footer-bottom { color: #93a2bd; border-color: #2a3a59; }

.policy-page { color: #27344d; }
.policy-header { text-align: left; }
.policy-badge { color: #2456d7; background: #edf2ff; border-color: #cad7f7; border-radius: var(--radius-sm); }
.policy-card { background: #ffffff; border-color: #d8e0ec; border-radius: var(--radius-lg); }
.policy-card .num { color: #ffffff; background: #2456d7; }
.policy-card p, .policy-list { color: #526079; }
.policy-highlight { color: #204ab5; background: #edf2ff; border-color: #2456d7; }
.gold-text { color: #2456d7; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

@media (max-width: 920px) {
  .desktop-nav { display: none; }
  .hero-content { grid-template-columns: 1fr; min-height: auto; gap: 36px; }
  .hero-copy { max-width: 720px; }
  .hero-title { max-width: 13ch; }
  .hero-visual { transform: none; }
  .props-grid { grid-template-columns: 1fr; }
  .prop-card { border-right: 0; border-bottom: 1px solid #dfe5ef; }
  .prop-card:last-child { border-bottom: 0; }
}

@media (max-width: 700px) {
  .container { padding-inline: 18px; }
  .header-bar { min-height: 64px; padding: 10px 0; }
  .logo-img { height: 34px; }
  .header-actions { gap: 10px; }
  .header-cta { min-height: 38px; padding: 7px 12px; }
  .hero-section { padding: 52px 0 24px; }
  .hero-section::before { display: none; }
  .hero-title { max-width: 10ch; font-size: clamp(2.85rem, 13vw, 4.15rem); }
  .hero-subtitle { font-size: .96rem; }
  .hero-actions-row { align-items: center; justify-content: center; }
  .hero-actions-row .btn { width: auto; }
  .hero-visual { padding-left: 0; }
  .hero-visual::before { inset: 22px -8px 48px 14px; }
  .hero-visual figcaption { width: calc(100% - 18px); margin-left: 18px; flex-direction: column; gap: 4px; }
  .hero-template-showcase { margin: 38px 0 20px; margin-left: calc(50% - 50vw); }
  .hero-template-showcase-head { padding-inline: 18px; }
  .hero-template-showcase-controls { display: none; }
  .hero-template-rail { padding: 0 18px 6px; scroll-padding-inline: 18px; }
  .hero-template-tile { flex-basis: 228px; }
  .ai-compat-strip { align-items: flex-start; }
  .ai-compat-title { width: 100%; margin-bottom: 2px; }
  .props-grid { margin-bottom: 58px; }
  .prop-card { padding: 23px; }
  .prop-icon { margin-bottom: 20px; }
  .roi-section-wrap { margin-inline: -18px; padding: 28px 18px; border-inline: 0; border-radius: 0; }
  .calc-interactive-container { grid-template-columns: 1fr; }
  .calc-control-header { align-items: flex-start; flex-direction: column; gap: 8px; }
  .calc-results-panel { padding: 24px 20px; }
  .catalogue-section { padding-bottom: 70px; }
  .templates-grid { grid-template-columns: 1fr; }
  .template-card-btn-row { grid-template-columns: 1fr; }
  .social-proof { padding: 64px 0; }
  .testimonial-card { min-width: min(88vw, 340px); }
  .faq-section { padding: 70px 0; }
  .footer-top { gap: 30px; }
}
