@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@500;600;700;800&family=Inter:wght@300;400;500;600&family=Playfair+Display:ital,wght@0,500;0,600;1,400;1,500&display=swap');

:root {
  --bg-color: #FFFFFF;
  --text-color: #0A0A0A;
  --text-muted: #555555;
  --border-color: #EAEAEA;
  --btn-bg: #FFF0EE;
  --btn-bg-hover: #FFE2DE;
  --btn-text: #D00000;
  --accent-color: #D00000;
  
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
  
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s ease;
}

/* Global Reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg-color);
  color: var(--text-color);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  overflow-x: hidden;
  position: relative;
}

/* Layout Containers */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 5%;
}

@media (max-width: 768px) {
  .container {
    padding: 0 24px;
  }
}

/* Typography styles */
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

p {
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.6;
  color: var(--text-muted);
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

/* Base Buttons */
.btn-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--btn-bg);
  color: var(--btn-text);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  padding: 14px 32px;
  border-radius: 999px;
  border: 1px solid rgba(208, 0, 0, 0.15);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-pill:hover {
  transform: scale(1.02);
  background-color: var(--btn-bg-hover);
  box-shadow: 0 4px 20px rgba(208, 0, 0, 0.04);
}

.btn-pill:active {
  transform: scale(0.98);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: transparent;
  color: var(--text-color);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  padding: 12px 24px;
  border-radius: 999px;
  border: 1px solid var(--border-color);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-outline:hover {
  background-color: rgba(14, 14, 14, 0.03);
  border-color: var(--text-color);
}

/* Sticky Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  z-index: 100;
  display: flex;
  align-items: center;
  background-color: transparent;
  border-bottom: 1px solid transparent;
  transition: var(--transition-smooth);
}

header.scrolled {
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: var(--border-color);
  height: 70px;
}

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

.logo-lockup {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.02em;
  color: var(--text-color);
  cursor: pointer;
}

.logo-lockup img {
  width: 36px;
  height: 36px;
  object-fit: cover;
  filter: brightness(0);
}

.logo-lockup sup {
  font-size: 10px;
  font-weight: 600;
  top: -8px;
  color: var(--text-muted);
}

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

.menu-trigger {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  background: transparent;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  transition: var(--transition-smooth);
  position: relative;
  z-index: 102;
}

.menu-trigger span {
  display: block;
  width: 18px;
  height: 2px;
  background-color: var(--text-color);
  transition: var(--transition-smooth);
  transform-origin: center;
}

.menu-trigger.active {
  border-color: var(--text-color);
}

.menu-trigger.active span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-trigger.active span:nth-child(2) {
  opacity: 0;
  transform: scale(0);
}

.menu-trigger.active span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* Nav Overlay Menu */
.nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: var(--bg-color);
  z-index: 101;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-20px);
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-overlay.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.nav-links {
  list-style: none;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.nav-links a {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  color: var(--text-color);
  transition: var(--transition-smooth);
}

.nav-links a:hover {
  letter-spacing: 0.05em;
  opacity: 0.6;
}

/* Section Dividers with Badges */
.section-divider-container {
  position: relative;
  width: 100%;
  margin: 100px 0;
  display: flex;
  align-items: center;
  z-index: 2;
}

.section-divider-line {
  width: 100%;
  border: none;
  border-top: 1px solid var(--border-color);
}

.section-divider-badge {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  background-color: var(--bg-color);
  border: 1px solid var(--border-color);
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

/* Hero Section */
.hero-section {
  padding-top: 180px;
  padding-bottom: 80px;
  text-align: center;
  position: relative;
}

.hero-eyebrow {
  font-family: var(--font-body);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  margin-bottom: 16px;
  font-weight: 600;
  display: inline-block;
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: 86px;
  max-width: 850px;
  margin: 0 auto 24px;
  letter-spacing: -0.05em;
  line-height: 0.92;
  position: relative;
  z-index: 2;
}

.hero-title .glow-text {
  background: linear-gradient(135deg, #0A0A0A 20%, #D00000 65%, #0A0A0A 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subhead {
  font-size: 18px;
  max-width: 580px;
  margin: 0 auto 36px;
  position: relative;
  z-index: 2;
}

.hero-ctas {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  position: relative;
  z-index: 2;
}

.hero-micro-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  position: relative;
}

.hero-micro-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, rgba(14,14,14,0.4) 0%, transparent 100%);
}

.hero-micro-link:hover {
  color: var(--text-color);
}

/* Floating Badges & SVGs */
.flower-badge-float {
  position: absolute;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  background-color: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  box-shadow: 0 8px 30px rgba(0,0,0,0.03);
  animation: floatSlow 8s ease-in-out infinite alternate;
}

.flower-badge-float img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  filter: brightness(0);
  opacity: 0.12;
}

@keyframes floatSlow {
  0% { transform: translateY(0) rotate(0deg); }
  100% { transform: translateY(-16px) rotate(10deg); }
}

.loop-svg-asset {
  position: absolute;
  color: rgba(208, 0, 0, 0.06);
  pointer-events: none;
  z-index: 1;
}

.loop-svg-asset path {
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
}

/* Custom Cursors for Hero Heading */
.custom-cursor-container {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9999;
  will-change: transform;
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.2s ease, transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.custom-cursor-container.visible {
  opacity: 1;
  transform: scale(1);
}

.custom-cursor-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 3px solid #FFFFFF;
  background-size: cover;
  background-position: center;
  box-shadow: 0 10px 30px rgba(14, 14, 14, 0.15);
  background-color: var(--border-color);
}

.custom-cursor-label {
  position: absolute;
  bottom: -24px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--text-color);
  color: var(--bg-color);
  font-size: 10px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Hero Social Proof */
.hero-social-proof {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 36px;
  position: relative;
  z-index: 2;
}

.social-proof-avatars {
  display: flex;
  align-items: center;
}

.social-proof-avatars img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--bg-color);
  margin-left: -10px;
  object-fit: cover;
}

.social-proof-avatars img:first-child {
  margin-left: 0;
}

.social-proof-avatars img:last-child {
  filter: brightness(0);
}

.social-proof-text {
  text-align: left;
}

.social-proof-text .handwriting {
  font-family: var(--font-serif);
  font-size: 15px;
  font-style: italic;
  line-height: 1;
}

.social-proof-text .stats {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 2px;
}

/* Selected Focus Panel */
.selected-focus-section {
  width: 100%;
  max-width: 820px;
  margin: 60px auto 0;
  position: relative;
  z-index: 3;
}

.focus-pills-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.focus-pill-btn {
  background-color: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border-color);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 13px;
  padding: 8px 18px;
  border-radius: 999px;
  cursor: pointer;
  transition: var(--transition-fast);
}

.focus-pill-btn:hover {
  border-color: var(--text-color);
}

.focus-pill-btn.active {
  background-color: var(--text-color);
  color: var(--bg-color);
  border-color: var(--text-color);
  box-shadow: 0 10px 30px rgba(14, 14, 14, 0.15);
}

.focus-panel-card {
  background-color: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 40px;
  width: 100%;
  position: relative;
  text-align: left;
  box-shadow: 0 8px 30px rgba(14, 14, 14, 0.02);
  display: none;
  transform: translateY(15px);
  opacity: 0;
  transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.focus-panel-card.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.focus-card-meta {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  font-weight: 600;
}

.focus-card-title {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 800;
  margin-top: 12px;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
  max-width: 20ch;
}

.focus-card-desc {
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 24px;
}

.focus-details-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  border-top: 1px solid var(--border-color);
  padding-top: 24px;
}

.focus-detail-tag {
  background-color: var(--bg-color);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  padding: 8px 16px;
  border-radius: 99px;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Template Gallery Section */
.gallery-section {
  padding: 60px 0;
  text-align: center;
}

.gallery-section h2 {
  font-size: 44px;
  max-width: 700px;
  margin: 0 auto 16px;
}

.gallery-subhead {
  font-size: 16px;
  margin-bottom: 40px;
}

/* Category Filter Layout */
.filter-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 10px;
  padding: 0 16px;
}

.filter-chip {
  background-color: transparent;
  color: var(--text-color);
  border: 1px solid var(--border-color);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 13px;
  padding: 8px 18px;
  border-radius: 999px;
  cursor: pointer;
  transition: var(--transition-fast);
}

.filter-chip:hover {
  border-color: var(--text-color);
}

.filter-chip.active {
  background-color: var(--text-color);
  color: var(--bg-color);
  border-color: var(--text-color);
}

/* Grid Layout */
.template-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 30px;
  text-align: left;
  min-height: 200px;
  transition: height 0.4s ease;
}

.template-card {
  display: flex;
  flex-direction: column;
  transition: opacity 0.3s ease, transform 0.3s ease;
  transform-origin: center;
}

.template-card.hidden {
  display: none;
  opacity: 0;
}

.template-card-preview {
  position: relative;
  width: 100%;
  aspect-ratio: 9/12;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(14, 14, 14, 0.04);
  border: 1px solid var(--border-color);
  margin-bottom: 20px;
  transition: var(--transition-smooth);
}

.template-card:hover .template-card-preview {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(14, 14, 14, 0.09);
}

/* Badges inside card preview */
.card-badges-left {
  position: absolute;
  top: 16px;
  left: 16px;
  display: flex;
  gap: 8px;
  z-index: 5;
}

.card-badge-right {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 5;
}

.card-badge-pill {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--text-color);
  color: var(--bg-color);
  padding: 4px 10px;
  border-radius: 99px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  z-index: 5;
}

/* Shift left icons down if badge is present */
.template-card-preview.has-badge .card-badges-left {
  top: 48px;
}

.circle-badge-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(14, 14, 14, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
  color: var(--text-color);
}

.circle-badge-btn:hover {
  background-color: #FFFFFF;
  transform: scale(1.05);
}

.circle-badge-btn svg {
  width: 16px;
  height: 16px;
}

/* Template Info Row */
.template-info-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.template-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--text-color);
}

.price-tag {
  background-color: var(--text-color);
  color: var(--bg-color);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 999px;
  cursor: pointer;
  transition: var(--transition-fast);
  border: none;
}

.price-tag:hover {
  transform: scale(1.04);
}

.template-desc {
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.template-category-tags {
  display: flex;
  gap: 8px;
  margin-top: auto;
}

.template-category-tag {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border: 1px solid var(--border-color);
  border-radius: 999px;
  color: var(--text-muted);
}

/* Highlight Animation (Click from Hero Card) */
@keyframes pulseGlow {
  0% { box-shadow: 0 0 0 0px rgba(17, 17, 17, 0.4); }
  50% { box-shadow: 0 0 0 10px rgba(17, 17, 17, 0.2); }
  100% { box-shadow: 0 0 0 0px rgba(17, 17, 17, 0); }
}

.pulse-highlight {
  animation: pulseGlow 1.2s ease-in-out;
  border-color: var(--text-color) !important;
}

/* Empty State Styling */
.gallery-empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 80px 20px;
  border: 1px dashed var(--border-color);
  border-radius: 16px;
  font-size: 16px;
  color: var(--text-muted);
}

/* Modal Overlay System */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(14, 14, 14, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  background-color: #FFFFFF;
  border-radius: 20px;
  border: 1px solid var(--border-color);
  padding: 40px;
  width: 90%;
  max-width: 540px;
  position: relative;
  transform: scale(0.95);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.modal-overlay.open .modal-content {
  transform: scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: transparent;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--text-muted);
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: var(--transition-fast);
}

.modal-close-btn:hover {
  background-color: rgba(14, 14, 14, 0.05);
  color: var(--text-color);
}

/* Checkout Modal details */
.checkout-summary-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background-color: var(--bg-color);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 24px;
}

.checkout-summary-thumb {
  width: 60px;
  height: 80px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  flex-shrink: 0;
}

.checkout-summary-info h4 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
}

.checkout-summary-info p {
  font-size: 13px;
  color: var(--text-muted);
}

.checkout-form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 18px;
  text-align: left;
}

.checkout-form-group label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

.checkout-input {
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 14px;
  outline: none;
  background-color: var(--bg-color);
  transition: var(--transition-fast);
  color: var(--text-color);
}

.checkout-input:focus {
  border-color: var(--text-color);
  background-color: #FFFFFF;
}

.checkout-btn {
  width: 100%;
  margin-top: 10px;
}

/* Lightbox preview Modal */
.lightbox-modal-content {
  max-width: 840px;
  padding: 0;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
}

.lightbox-left {
  aspect-ratio: 9/12;
  width: 100%;
  overflow: hidden;
}

.lightbox-right {
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
}

.lightbox-right h3 {
  font-size: 28px;
  margin-bottom: 8px;
}

.lightbox-right .price-badge {
  display: inline-block;
  background-color: var(--text-color);
  color: var(--bg-color);
  padding: 4px 12px;
  border-radius: 99px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 20px;
  align-self: flex-start;
}

.lightbox-right p {
  font-size: 15px;
  margin-bottom: 24px;
}

.lightbox-right .btn-pill {
  align-self: flex-start;
}

@media (max-width: 768px) {
  .lightbox-modal-content {
    grid-template-columns: 1fr;
    max-height: 90vh;
    overflow-y: auto;
  }
  .lightbox-left {
    aspect-ratio: 16/9;
  }
  .lightbox-right {
    padding: 30px;
  }
}

/* Features Section ("The Wedding Invite, Reinvented") */
.features-section {
  padding: 60px 0;
}

.features-layout {
  display: grid;
  grid-template-columns: 4fr 6fr;
  gap: 80px;
  align-items: start;
}

.features-left {
  position: sticky;
  top: 120px;
}

.features-left h2 {
  font-size: 48px;
  margin-bottom: 20px;
}

.features-left p {
  font-size: 18px;
  margin-bottom: 36px;
  max-width: 440px;
}

/* Right column feature list */
.features-right-list {
  display: flex;
  flex-direction: column;
}

.feature-row {
  display: flex;
  gap: 24px;
  padding: 32px 0;
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition-smooth);
}

.feature-row:first-child {
  padding-top: 0;
}

.feature-row:hover {
  background-color: rgba(14, 14, 14, 0.01);
  padding-left: 8px;
}

.feature-icon-wrapper {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  background-color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-icon-wrapper svg {
  width: 24px;
  height: 24px;
  stroke: var(--text-color);
  stroke-width: 1.5;
  fill: none;
}

.feature-text {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.feature-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  font-weight: 600;
}

.feature-headline {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
}

.features-footnote {
  font-size: 12px;
  margin-top: 24px;
  text-align: right;
  opacity: 0.8;
}

/* How It Works Section */
.how-it-works-section {
  padding: 60px 0;
  text-align: center;
}

.how-it-works-section h2 {
  font-size: 40px;
  max-width: 700px;
  margin: 0 auto 16px;
}

.how-it-works-section .section-subhead {
  font-size: 16px;
  max-width: 500px;
  margin: 0 auto 60px;
}

.steps-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 50px;
}

.step-card {
  background-color: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 40px 30px;
  text-align: left;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  min-height: 320px;
}

.step-card-num {
  font-family: var(--font-display);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 20px;
}

.step-card h3 {
  font-size: 22px;
  margin-bottom: 12px;
}

.step-card p {
  font-size: 14px;
}

/* Step 2 Floating Interactive Panel */
.step-card-visual {
  margin-top: auto;
  border: 1px dashed var(--border-color);
  border-radius: 12px;
  background-color: var(--bg-color);
  padding: 16px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.step-card-visual .mock-screen {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 16px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.02);
}

.step-card-visual .mock-screen-title {
  font-family: var(--font-display);
  font-size: 14px;
  color: var(--text-color);
  font-weight: 700;
}

.step-card-visual .interactive-editor-inputs {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  padding: 10px;
  border-radius: 8px;
}

.step-card-visual label {
  font-size: 9px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text-muted);
}

.step-card-visual input {
  font-family: var(--font-body);
  font-size: 11px;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  padding: 4px 8px;
  outline: none;
}

.step-card-visual input:focus {
  border-color: var(--text-color);
}

/* Comparison Table Section */
.comparison-section {
  padding: 60px 0;
  text-align: center;
}

.comparison-section h2 {
  font-size: 40px;
  max-width: 800px;
  margin: 0 auto 16px;
}

.comparison-section .section-subhead {
  font-size: 16px;
  max-width: 600px;
  margin: 0 auto 60px;
}

.table-wrapper {
  max-width: 840px;
  margin: 0 auto 50px;
  border: 1px solid var(--border-color);
  border-radius: 16px;
  overflow: hidden;
  background-color: #FFFFFF;
}

table.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.comparison-table th, 
.comparison-table td {
  padding: 24px;
  border-bottom: 1px solid var(--border-color);
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

.comparison-table th {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

.comparison-table th:last-child, 
.comparison-table td:last-child {
  background-color: rgba(208, 0, 0, 0.03);
}

.comparison-table td {
  font-size: 15px;
}

.comparison-table .feature-col {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--text-color);
  display: flex;
  align-items: center;
  gap: 12px;
}

.comparison-table .feature-col svg {
  width: 18px;
  height: 18px;
  stroke: var(--text-color);
  stroke-width: 2;
  fill: none;
}

.comparison-table .standard-col {
  color: var(--text-muted);
}

.comparison-table .nyota-col {
  font-weight: 700;
  color: var(--accent-color);
}

/* Testimonials Section */
.testimonials-section {
  padding: 60px 0;
  text-align: center;
}

.testimonials-section h2 {
  font-size: 40px;
  max-width: 700px;
  margin: 0 auto 16px;
}

.testimonials-section .section-subhead {
  font-size: 16px;
  margin-bottom: 60px;
}

/* Horizontal Scrolling Swipe Row */
.testimonials-scroller {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  padding: 20px 0 40px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none;  /* IE 10+ */
  margin-left: calc(-50vw + 50%);
  width: 100vw;
  padding-left: 5%;
  padding-right: 5%;
}

.testimonials-scroller::-webkit-scrollbar {
  display: none; /* Safari & Chrome */
}

.testimonial-card {
  flex: 0 0 320px;
  scroll-snap-align: start;
  height: 380px;
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 40px 30px;
  text-align: left;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
  border: 1px solid var(--border-color);
  background: #FFFFFF;
  transition: var(--transition-smooth);
}

.testimonial-card:hover {
  border-color: var(--accent-color);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(208, 0, 0, 0.04);
}

.testimonial-quote {
  font-family: var(--font-serif);
  font-size: 18px;
  line-height: 1.5;
  color: var(--text-color);
  margin-bottom: 20px;
  font-weight: 400;
  font-style: italic;
}

.testimonial-author {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--text-color);
  margin-bottom: 2px;
}

.testimonial-relationship {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

/* FAQ Accordion Section */
.faq-section {
  padding: 60px 0;
  text-align: center;
}

.faq-section h2 {
  font-size: 40px;
  margin-bottom: 48px;
}

.faq-accordion-container {
  max-width: 700px;
  margin: 0 auto 50px;
  text-align: left;
}

.faq-item {
  border-bottom: 1px solid var(--border-color);
}

.faq-item:first-child {
  border-top: 1px solid var(--border-color);
}

.faq-header {
  width: 100%;
  padding: 24px 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  outline: none;
}

.faq-question {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--text-color);
  padding-right: 20px;
}

.faq-toggle-icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.faq-toggle-icon svg {
  width: 16px;
  height: 16px;
  fill: var(--text-color);
}

.faq-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.16, 1, 0.3, 1), padding 0.3s ease;
  padding: 0 8px;
}

.faq-answer {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-muted);
  padding-bottom: 24px;
}

/* Open states */
.faq-item.active .faq-toggle-icon {
  transform: rotate(45deg);
}

/* Newsletter Section */
.newsletter-section {
  padding: 80px 0;
  text-align: center;
  background-color: rgba(14, 14, 14, 0.02);
  margin-top: 40px;
}

.newsletter-section h2 {
  font-size: 36px;
  margin-bottom: 16px;
}

.newsletter-section .section-subhead {
  font-size: 16px;
  margin-bottom: 40px;
}

.newsletter-form {
  max-width: 480px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.newsletter-input {
  width: 100%;
  border: none;
  border-bottom: 1px solid var(--text-color);
  background-color: transparent;
  padding: 12px 4px;
  font-family: var(--font-body);
  font-size: 16px;
  outline: none;
  text-align: center;
  color: var(--text-color);
}

.newsletter-input::placeholder {
  color: var(--text-muted);
  opacity: 0.6;
}

/* Footer */
footer {
  padding: 80px 0 40px;
  border-top: 1px solid var(--border-color);
  background-color: var(--bg-color);
}

.footer-grid {
  display: grid;
  grid-template-columns: 3.5fr 2.5fr 2fr 4fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-col-1 .footer-brand-title {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 800;
  line-height: 1.1;
  max-width: 260px;
}

.footer-col-2, .footer-col-3 {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-col-2 h4, .footer-col-3 h4 {
  font-family: var(--font-display);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  font-weight: 600;
}

.footer-col-2 p {
  font-size: 14px;
}

.footer-email {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--text-color);
  margin-top: 4px;
  display: inline-block;
}

.footer-email:hover {
  opacity: 0.7;
}

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 12px;
}

.social-icon-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-color);
  transition: var(--transition-fast);
}

.social-icon-btn:hover {
  border-color: var(--text-color);
  background-color: rgba(14, 14, 14, 0.02);
}

.social-icon-btn svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

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

.footer-links-list a {
  font-size: 14px;
  color: var(--text-muted);
}

.footer-links-list a:hover {
  color: var(--text-color);
}

/* Mini CTA Card in Footer */
.footer-col-4 {
  display: flex;
  justify-content: flex-end;
}

.footer-cta-card {
  background-color: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 30px;
  width: 100%;
  max-width: 360px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 220px;
}

.footer-cta-card h3 {
  font-size: 20px;
  margin-bottom: 8px;
  position: relative;
  z-index: 2;
  max-width: 220px;
}

.footer-cta-card p {
  font-size: 13px;
  margin-bottom: 24px;
  position: relative;
  z-index: 2;
}

.footer-cta-card .btn-pill {
  align-self: flex-start;
  font-size: 13px;
  padding: 10px 22px;
  position: relative;
  z-index: 2;
}

/* Illustration positioned bottom-right */
.footer-card-illus {
  position: absolute;
  right: -10px;
  bottom: -10px;
  width: 120px;
  height: 120px;
  pointer-events: none;
  opacity: 0.85;
  z-index: 1;
}

.footer-card-illus svg {
  width: 100%;
  height: 100%;
}

/* Footer Bottom Bar */
.footer-bottom {
  margin-top: 60px;
  padding-top: 24px;
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom-left, .footer-bottom-right {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-muted);
}

.footer-bottom-right .logo-star svg {
  width: 14px;
  height: 14px;
  fill: var(--text-muted);
}

/* Animations */
.scroll-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 48px;
  }
  
  .template-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .features-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .features-left {
    position: relative;
    top: 0;
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
  
  .footer-col-4 {
    justify-content: flex-start;
  }
}

@media (max-width: 768px) {
  .hero-section {
    padding-top: 140px;
  }
  
  .hero-title {
    font-size: 36px;
  }
  
  .template-grid {
    grid-template-columns: 1fr;
  }
  
  .steps-row {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .step-card {
    min-height: auto;
  }
  
  .table-wrapper {
    overflow-x: auto;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .footer-col-4 {
    max-width: 100%;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}

/* Redesigned Services Cards & Contact Section Styles */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  margin-top: 50px;
  text-align: left;
}

.service-card {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 380px;
  transition: var(--transition-smooth);
}

.service-card:hover {
  border-color: var(--accent-color);
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(208, 0, 0, 0.05);
}

.service-card-num {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-color);
  margin-bottom: 24px;
}

.service-card-title {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 600;
  color: var(--text-color);
  margin-bottom: 16px;
  line-height: 1.2;
}

.service-card-desc {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 30px;
}

.service-card-deliverables {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 30px;
}

.service-card-tag {
  font-family: var(--font-body);
  font-size: 12px;
  background: #F8F8F8;
  color: var(--text-muted);
  padding: 6px 12px;
  border-radius: 99px;
  border: 1px solid #EAEAEA;
}

.service-card-link {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-color);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  transition: var(--transition-fast);
}

.service-card-link svg {
  transition: var(--transition-fast);
}

.service-card:hover .service-card-link {
  color: var(--accent-color);
}

.service-card:hover .service-card-link svg {
  transform: translateX(4px);
  stroke: var(--accent-color);
}

/* Contact Section */
.contact-section {
  padding: 100px 0;
  border-top: 1px solid var(--border-color);
  text-align: left;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}

@media (max-width: 992px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
}

.contact-info h2 {
  font-size: 56px;
  margin-bottom: 24px;
  line-height: 1.1;
}

.contact-info p {
  font-size: 18px;
  margin-bottom: 40px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-detail-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.contact-detail-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: rgba(208, 0, 0, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-color);
}

.contact-detail-text h4 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

.contact-detail-text p {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-color);
  margin-bottom: 0;
}

.contact-form-card {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 50px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.02);
}

@media (max-width: 576px) {
  .contact-form-card {
    padding: 30px 20px;
  }
}

.contact-form-group {
  margin-bottom: 24px;
}

.contact-form-group label {
  display: block;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
  color: var(--text-color);
}

.contact-form-input, .contact-form-select, .contact-form-textarea {
  width: 100%;
  background-color: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 14px 18px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text-color);
  transition: var(--transition-fast);
}

.contact-form-input:focus, .contact-form-select:focus, .contact-form-textarea:focus {
  outline: none;
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px rgba(208, 0, 0, 0.1);
}

.contact-form-textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-form-submit-btn {
  width: 100%;
  background-color: var(--btn-bg);
  color: var(--btn-text);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 16px;
  padding: 16px 32px;
  border-radius: 99px;
  border: 1px solid rgba(208, 0, 0, 0.15);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.contact-form-submit-btn:hover {
  transform: scale(1.02);
  background-color: var(--btn-bg-hover);
  box-shadow: 0 4px 20px rgba(208, 0, 0, 0.04);
}

.contact-form-submit-btn:disabled {
  background-color: #CCCCCC;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* Mobile Responsiveness Improvements */
@media (max-width: 768px) {
  .hero-title {
    font-size: 38px !important;
    line-height: 1.05;
  }
  .hero-subhead {
    font-size: 15px;
    padding: 0 10px;
  }
  .hero-ctas {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }
  .hero-ctas .btn-pill, .hero-ctas .hero-micro-link {
    width: 100%;
    text-align: center;
  }
  .hero-social-proof {
    flex-direction: column;
    gap: 12px;
    align-items: center;
  }
  .social-proof-text {
    text-align: center;
  }
  table.comparison-table {
    min-width: 620px;
  }
  .testimonials-scroller {
    -webkit-overflow-scrolling: touch;
  }
  .contact-section {
    padding: 60px 0;
  }
  .contact-info h2 {
    font-size: 38px;
  }
  .contact-form-card {
    padding: 32px 20px;
  }
}

@media (max-width: 480px) {
  #header-cta {
    display: none;
  }
  .services-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .service-card {
    padding: 30px 20px;
    min-height: auto;
  }
  .service-card-title {
    font-size: 26px;
  }
  .focus-panel-card {
    padding: 24px 16px;
  }
  .focus-card-title {
    font-size: 22px;
  }
  .focus-detail-tag {
    font-size: 11px;
    padding: 4px 8px;
  }
  .section-divider-badge {
    font-size: 9px;
    padding: 4px 10px;
  }
  footer {
    padding: 50px 0 30px;
  }
  .footer-col-1 .footer-brand-title {
    font-size: 24px;
  }
}

