/* ============================================
   INVIQE - Digital Invitation Studio
   Custom Stylesheet
   Brand Colors: Noir #0E0E0E, Gold #C9A96E,
   Ivory #FAF8F5, Charcoal #1A1A1A, Ash #888880
   ============================================ */

/* ---------- Google Fonts Import ---------- */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&family=Montserrat:wght@200;300;400;500;600&display=swap');

/* ---------- CSS Variables ---------- */
:root {
  --noir: #0E0E0E;
  --gold: #C9A96E;
  --gold-light: #D4B97E;
  --gold-dark: #B89A5E;
  --ivory: #FAF8F5;
  --charcoal: #1A1A1A;
  --ash: #888880;
  --glass-bg: rgba(14, 14, 14, 0.72);
  --glass-border: rgba(201, 169, 110, 0.15);
  --transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  background-color: var(--noir);
  color: var(--ivory);
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--noir); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold-light); }

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  line-height: 1.2;
}

.heading-display {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
}

.text-body {
  font-family: 'Montserrat', sans-serif;
  font-weight: 200;
}

.text-body-light {
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
}

/* ---------- Utility Classes ---------- */
.text-gold { color: var(--gold); }
.text-ivory { color: var(--ivory); }
.text-ash { color: var(--ash); }
.text-charcoal { color: var(--charcoal); }
.bg-noir { background-color: var(--noir); }
.bg-charcoal { background-color: var(--charcoal); }
.bg-ivory { background-color: var(--ivory); }

.gold-gradient {
  background: linear-gradient(135deg, var(--gold) 0%, #E0C992 50%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gold-line {
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.gold-line-long {
  width: 120px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

/* ---------- Section Styles ---------- */
.section-padding {
  padding: 64px 20px;
}

@media (min-width: 768px) {
  .section-padding {
    padding: 90px 40px;
  }
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.section-label {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 0.7rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--ivory);
  margin-bottom: 20px;
  line-height: 1.15;
}

.section-subtitle {
  font-family: 'Montserrat', sans-serif;
  font-weight: 200;
  font-size: clamp(0.875rem, 2vw, 1rem);
  color: var(--ash);
  max-width: 600px;
  line-height: 1.8;
}

/* ---------- Announcement Bar ---------- */
/* In-flow element inside .hero — sits in the hero's top padding space,
   visually between the fixed navbar and hero content. Scrolls with the page. */
.announcement-bar {
  position: absolute;
  top: 72px; /* just below fixed navbar (~62px + 10px breathing room) */
  left: 0;
  width: 100%;
  background: var(--gold);
  color: var(--noir);
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.4s var(--transition-smooth),
              transform 0.4s var(--transition-smooth);
}

.announcement-bar.visible {
  opacity: 1;
  transform: translateY(0);
}

.announcement-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 48px 10px 20px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  min-height: 44px;
}

.announcement-bar-icon {
  font-size: 0.85rem;
  flex-shrink: 0;
  line-height: 1;
}

.announcement-bar-text {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 0.78rem;
  letter-spacing: 0.3px;
  text-align: center;
  color: var(--noir);
  line-height: 1.5;
  margin: 0;
}

.announcement-bar-text strong {
  font-weight: 600;
}

.announcement-bar-link {
  color: var(--noir);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
  margin-left: 5px;
  white-space: nowrap;
  transition: opacity 0.2s ease;
}

.announcement-bar-link:hover {
  opacity: 0.65;
}

.announcement-bar-close {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: var(--noir);
  padding: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.65;
  transition: opacity 0.2s ease;
  border-radius: 50%;
  line-height: 0;
  /* Ensure tappable on mobile (min 44×44px touch target) */
  min-width: 36px;
  min-height: 36px;
}

.announcement-bar-close:hover,
.announcement-bar-close:focus-visible {
  opacity: 1;
  background: rgba(14, 14, 14, 0.1);
  outline: none;
}

/* Mobile: hide icon to save space on narrow screens */
@media (max-width: 420px) {
  .announcement-bar-icon {
    display: none;
  }

  .announcement-bar-text {
    font-size: 0.72rem;
    padding-right: 4px;
  }

  .announcement-bar-link {
    display: inline-block;
    margin-left: 3px;
  }
}

/* ---------- Navbar ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 16px 20px;
  transition: all 0.4s var(--transition-smooth);
}

.navbar.scrolled {
  background: rgba(14, 14, 14, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(201, 169, 110, 0.1);
  padding: 10px 20px;
}

.navbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: baseline;
  text-decoration: none;
  gap: 0;
}

.nav-logo-text {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: 1.5rem;
  color: var(--ivory);
  letter-spacing: 3px;
  text-transform: uppercase;
  position: relative;
}

.nav-logo-dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  background: var(--gold);
  border-radius: 50%;
  position: relative;
  top: -14px;
  margin-left: 1px;
}

/* Desktop Navigation */
.nav-links {
  display: none;
  align-items: center;
  gap: 32px;
  list-style: none;
}

@media (min-width: 1024px) {
  .nav-links { display: flex; }
}

.nav-link {
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  font-size: 0.8rem;
  color: var(--ivory);
  text-decoration: none;
  letter-spacing: 1px;
  transition: color 0.3s ease;
  cursor: pointer;
  position: relative;
}

.nav-link:hover {
  color: var(--gold);
}

/* Dropdown */
.nav-dropdown {
  position: relative;
  padding-bottom: 12px;
  margin-bottom: -12px;
}

.nav-dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 5px;
}

.nav-dropdown-trigger svg {
  width: 10px;
  height: 10px;
  transition: transform 0.3s ease;
  fill: currentColor;
}

.nav-dropdown:hover .nav-dropdown-trigger svg {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: rgba(26, 26, 26, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(201, 169, 110, 0.15);
  border-radius: 12px;
  padding: 12px 8px;
  min-width: 220px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s var(--transition-smooth);
  pointer-events: none;
}

/* Invisible bridge that fills the gap between trigger and menu */
.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -16px;
  left: 0;
  right: 0;
  height: 16px;
  background: transparent;
}

.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: all;
}

.nav-dropdown-item {
  display: block;
  padding: 10px 16px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  font-size: 0.78rem;
  color: var(--ivory);
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.2s ease;
  letter-spacing: 0.5px;
}

.nav-dropdown-item:hover {
  background: rgba(201, 169, 110, 0.1);
  color: var(--gold);
}

/* CTA Button */
.btn-gold {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 0.75rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--noir);
  background: linear-gradient(135deg, var(--gold) 0%, #D4B97E 50%, var(--gold) 100%);
  background-size: 200% 200%;
  padding: 10px 24px;
  border-radius: 50px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.4s var(--transition-smooth);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-gold:hover {
  background-position: 100% 100%;
  transform: translateY(-1px);
  box-shadow: 0 8px 30px rgba(201, 169, 110, 0.25);
}

.btn-gold-outline {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 0.75rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold);
  background: transparent;
  border: 1px solid var(--gold);
  padding: 10px 24px;
  border-radius: 50px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.4s var(--transition-smooth);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-gold-outline:hover {
  background: rgba(201, 169, 110, 0.1);
  transform: translateY(-1px);
  box-shadow: 0 8px 30px rgba(201, 169, 110, 0.1);
}

/* Mobile menu toggle */
.mobile-menu-btn {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

@media (min-width: 1024px) {
  .mobile-menu-btn { display: none; }
}

.mobile-menu-btn span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--ivory);
  transition: all 0.3s ease;
  transform-origin: center;
}

.mobile-menu-btn.active span:nth-child(1) {
  transform: rotate(45deg) translate(4.5px, 4.5px);
}

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translate(4.5px, -4.5px);
}

/* Mobile Navigation */
.mobile-nav {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  background: rgba(14, 14, 14, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 999;
  transform: translateX(100%);
  transition: transform 0.4s var(--transition-smooth);
  padding: 100px 30px 40px;
  overflow-y: auto;
}

.mobile-nav.active {
  transform: translateX(0);
}

.mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mobile-nav-link {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: 1.8rem;
  color: var(--ivory);
  text-decoration: none;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: color 0.3s ease;
  display: block;
}

.mobile-nav-link:hover {
  color: var(--gold);
}

.mobile-nav-sublabel {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 0.65rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  padding: 20px 0 8px;
  display: block;
}

.mobile-nav-sublink {
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  font-size: 0.9rem;
  color: var(--ash);
  text-decoration: none;
  padding: 10px 0 10px 16px;
  border-left: 1px solid rgba(201, 169, 110, 0.2);
  display: block;
  transition: all 0.3s ease;
}

.mobile-nav-sublink:hover {
  color: var(--gold);
  border-left-color: var(--gold);
}

/* ---------- Hero Section ---------- */
.hero {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  padding: 120px 20px 100px;
  overflow: hidden;
}

.hero-bg-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(201, 169, 110, 0.06) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 20% 80%, rgba(201, 169, 110, 0.03) 0%, transparent 50%),
    radial-gradient(ellipse 60% 40% at 80% 80%, rgba(201, 169, 110, 0.03) 0%, transparent 50%);
  pointer-events: none;
}

.hero-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-particle {
  position: absolute;
  width: 2px;
  height: 2px;
  background: var(--gold);
  border-radius: 50%;
  opacity: 0;
  animation: particleFloat 6s infinite;
}

@keyframes particleFloat {
  0% { opacity: 0; transform: translateY(0) scale(0); }
  10% { opacity: 0.6; }
  90% { opacity: 0; }
  100% { opacity: 0; transform: translateY(-100vh) scale(1); }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  border: 1px solid rgba(201, 169, 110, 0.2);
  border-radius: 50px;
  margin-bottom: 32px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 0.65rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(201, 169, 110, 0.05);
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.5); }
}

.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(2.5rem, 7vw, 5rem);
  line-height: 1.1;
  color: var(--ivory);
  margin-bottom: 24px;
  letter-spacing: -0.5px;
}

.hero-title em {
  font-style: italic;
  color: var(--gold);
}

.hero-subtitle {
  font-family: 'Montserrat', sans-serif;
  font-weight: 200;
  font-size: clamp(0.9rem, 2vw, 1.05rem);
  color: var(--ash);
  margin-bottom: 48px;
  line-height: 1.8;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.hero-cta-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

@media (min-width: 480px) {
  .hero-cta-group {
    flex-direction: row;
    justify-content: center;
  }
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  animation: scrollBounce 2s infinite;
}

.hero-scroll-indicator span {
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  font-size: 0.6rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ash);
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollLine 2s infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

@keyframes scrollLine {
  0% { opacity: 1; }
  50% { opacity: 0.3; }
  100% { opacity: 1; }
}

/* ---------- Trusted By / Social Proof ---------- */
.trusted-bar {
  padding: 40px 20px;
  border-top: 1px solid rgba(201, 169, 110, 0.08);
  border-bottom: 1px solid rgba(201, 169, 110, 0.08);
}

.trusted-inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.trusted-label {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 0.6rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--ash);
  margin-bottom: 24px;
}

.trusted-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

@media (min-width: 768px) {
  .trusted-stats {
    grid-template-columns: repeat(4, 1fr);
  }
}

.trusted-stat {
  text-align: center;
}

.trusted-stat-number {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: 2.5rem;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 4px;
}

.trusted-stat-label {
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  font-size: 0.7rem;
  letter-spacing: 1px;
  color: var(--ash);
}

/* ---------- Features Section ---------- */
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 60px;
}

@media (min-width: 640px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-card {
  background: rgba(26, 26, 26, 0.5);
  border: 1px solid rgba(201, 169, 110, 0.08);
  border-radius: 16px;
  padding: 32px 28px;
  transition: all 0.5s var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  transition: opacity 0.5s ease;
}

.feature-card:hover {
  border-color: rgba(201, 169, 110, 0.2);
  transform: translateY(-4px);
  background: rgba(26, 26, 26, 0.7);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(201, 169, 110, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.3rem;
  transition: all 0.4s ease;
}

.feature-card:hover .feature-icon {
  background: rgba(201, 169, 110, 0.15);
  transform: scale(1.05);
}

.feature-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: 1.3rem;
  color: var(--ivory);
  margin-bottom: 10px;
}

.feature-desc {
  font-family: 'Montserrat', sans-serif;
  font-weight: 200;
  font-size: 0.82rem;
  color: var(--ash);
  line-height: 1.7;
}

/* ---------- How It Works ---------- */
.steps-container {
  margin-top: 60px;
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}

.steps-line {
  display: none;
}

@media (min-width: 768px) {
  .steps-container {
    flex-direction: row;
    gap: 0;
  }

  .steps-line {
    display: block;
    position: absolute;
    top: 40px;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), var(--gold), transparent);
    opacity: 0.2;
  }
}

.step-item {
  flex: 1;
  text-align: center;
  padding: 24px 16px;
  position: relative;
}

.step-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: 1.3rem;
  color: var(--gold);
  background: var(--noir);
  position: relative;
  z-index: 2;
  transition: all 0.4s ease;
}

.step-item:hover .step-number {
  background: rgba(201, 169, 110, 0.1);
  transform: scale(1.1);
}

.step-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: 1.2rem;
  color: var(--ivory);
  margin-bottom: 8px;
}

.step-desc {
  font-family: 'Montserrat', sans-serif;
  font-weight: 200;
  font-size: 0.8rem;
  color: var(--ash);
  line-height: 1.6;
  max-width: 200px;
  margin: 0 auto;
}

/* ---------- Portfolio / Templates ---------- */
.portfolio-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 60px;
}

@media (min-width: 768px) {
  .portfolio-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.portfolio-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 3/4;
  cursor: pointer;
  group: true;
}

.portfolio-card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.8s var(--transition-smooth);
}

.portfolio-card:hover .portfolio-card-bg {
  transform: scale(1.08);
}

.portfolio-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(14, 14, 14, 0.95) 0%, rgba(14, 14, 14, 0.3) 50%, transparent 100%);
  transition: background 0.5s ease;
}

.portfolio-card:hover .portfolio-card-overlay {
  background: linear-gradient(to top, rgba(14, 14, 14, 0.98) 0%, rgba(14, 14, 14, 0.5) 50%, rgba(14, 14, 14, 0.2) 100%);
}

.portfolio-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 28px;
  transform: translateY(20px);
  transition: transform 0.5s var(--transition-smooth);
}

.portfolio-card:hover .portfolio-card-content {
  transform: translateY(0);
}

.portfolio-card-tag {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 0.6rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
  padding: 4px 12px;
  border: 1px solid rgba(201, 169, 110, 0.3);
  border-radius: 20px;
}

.portfolio-card-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: 1.5rem;
  color: var(--ivory);
  margin-bottom: 6px;
}

.portfolio-card-desc {
  font-family: 'Montserrat', sans-serif;
  font-weight: 200;
  font-size: 0.78rem;
  color: var(--ash);
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.4s ease 0.1s;
}

.portfolio-card:hover .portfolio-card-desc {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Pricing Section ---------- */
.pricing-toggle-container {
  display: flex;
  justify-content: center;
  margin: 32px 0 48px;
}

.pricing-toggle {
  display: flex;
  background: rgba(26, 26, 26, 0.8);
  border: 1px solid rgba(201, 169, 110, 0.15);
  border-radius: 50px;
  padding: 4px;
  gap: 4px;
}

.pricing-toggle-btn {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 0.75rem;
  letter-spacing: 1px;
  padding: 10px 24px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  color: var(--ash);
  background: transparent;
}

.pricing-toggle-btn.active {
  background: var(--gold);
  color: var(--noir);
}

.pricing-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .pricing-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* 3-column layout for B2C tiers */
@media (min-width: 960px) {
  .pricing-cards-3col {
    grid-template-columns: repeat(3, 1fr);
  }
}

.pricing-cards-b2b {
  max-width: 600px;
}

@media (min-width: 768px) {
  .pricing-cards-b2b {
    grid-template-columns: 1fr;
  }
}

.pricing-card {
  background: rgba(26, 26, 26, 0.5);
  border: 1px solid rgba(201, 169, 110, 0.1);
  border-radius: 20px;
  padding: 36px 32px;
  position: relative;
  transition: all 0.5s var(--transition-smooth);
  overflow: hidden;
}

.pricing-card:hover {
  border-color: rgba(201, 169, 110, 0.25);
  transform: translateY(-4px);
}

.pricing-card.featured {
  border-color: rgba(201, 169, 110, 0.3);
  background: rgba(26, 26, 26, 0.7);
}

.pricing-card.featured::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.pricing-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 0.6rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--noir);
  background: var(--gold);
  padding: 4px 12px;
  border-radius: 20px;
}

.pricing-tier-label {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 0.6rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ash);
  margin-bottom: 4px;
}

.pricing-name {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: 1.5rem;
  color: var(--ivory);
  margin-bottom: 8px;
}

.pricing-desc {
  font-family: 'Montserrat', sans-serif;
  font-weight: 200;
  font-size: 0.78rem;
  color: var(--ash);
  margin-bottom: 24px;
  line-height: 1.6;
}

.pricing-price {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: 2.5rem;
  color: var(--gold);
  margin-bottom: 4px;
}

.pricing-price span {
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  font-size: 0.8rem;
  color: var(--ash);
}

.pricing-period {
  font-family: 'Montserrat', sans-serif;
  font-weight: 200;
  font-size: 0.75rem;
  color: var(--ash);
  margin-bottom: 28px;
}

.pricing-features {
  list-style: none;
  margin-bottom: 32px;
}

.pricing-features li {
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  font-size: 0.8rem;
  color: var(--ivory);
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  display: flex;
  align-items: center;
  gap: 10px;
}

.pricing-features li::before {
  content: '✓';
  color: var(--gold);
  font-size: 0.75rem;
  flex-shrink: 0;
}

.pricing-features li.disabled {
  color: var(--ash);
  opacity: 0.5;
}

.pricing-features li.disabled::before {
  content: '—';
  color: var(--ash);
}

/* B2B Card */
.b2b-card {
  background: linear-gradient(135deg, rgba(26, 26, 26, 0.8) 0%, rgba(201, 169, 110, 0.05) 100%);
  border: 1px solid rgba(201, 169, 110, 0.2);
  border-radius: 20px;
  padding: 48px 36px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.b2b-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.b2b-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 1px solid rgba(201, 169, 110, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-size: 1.5rem;
}

.b2b-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: 1.8rem;
  color: var(--ivory);
  margin-bottom: 12px;
}

.b2b-desc {
  font-family: 'Montserrat', sans-serif;
  font-weight: 200;
  font-size: 0.85rem;
  color: var(--ash);
  margin-bottom: 32px;
  line-height: 1.7;
  max-width: 450px;
  margin-left: auto;
  margin-right: auto;
}

.b2b-features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 36px;
}

.b2b-feature-tag {
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  font-size: 0.72rem;
  color: var(--ivory);
  padding: 8px 16px;
  border: 1px solid rgba(201, 169, 110, 0.15);
  border-radius: 50px;
  letter-spacing: 0.5px;
}

/* ---------- Testimonials ---------- */
.testimonials-container {
  margin-top: 60px;
  position: relative;
}

.testimonials-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 16px;
}

.testimonials-track::-webkit-scrollbar {
  display: none;
}

.testimonial-card {
  min-width: 300px;
  max-width: 380px;
  flex-shrink: 0;
  scroll-snap-align: start;
  background: rgba(26, 26, 26, 0.5);
  border: 1px solid rgba(201, 169, 110, 0.08);
  border-radius: 16px;
  padding: 32px 28px;
  transition: all 0.4s ease;
}

.testimonial-card:hover {
  border-color: rgba(201, 169, 110, 0.2);
}

.testimonial-stars {
  color: var(--gold);
  font-size: 0.8rem;
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.testimonial-text {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-style: italic;
  font-size: 1.05rem;
  color: var(--ivory);
  line-height: 1.7;
  margin-bottom: 20px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(201, 169, 110, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  color: var(--gold);
}

.testimonial-name {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 0.8rem;
  color: var(--ivory);
}

.testimonial-role {
  font-family: 'Montserrat', sans-serif;
  font-weight: 200;
  font-size: 0.7rem;
  color: var(--ash);
}

/* ---------- FAQ Section ---------- */
.faq-container {
  max-width: 700px;
  margin: 60px auto 0;
}

.faq-item {
  border-bottom: 1px solid rgba(201, 169, 110, 0.08);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  text-align: left;
}

.faq-question-text {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: 1.15rem;
  color: var(--ivory);
  padding-right: 16px;
}

.faq-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid rgba(201, 169, 110, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s ease;
  color: var(--gold);
  font-size: 0.8rem;
}

.faq-item.active .faq-icon {
  background: var(--gold);
  color: var(--noir);
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--transition-smooth);
}

.faq-answer-inner {
  padding-bottom: 24px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 200;
  font-size: 0.85rem;
  color: var(--ash);
  line-height: 1.8;
}

/* ---------- CTA Section ---------- */
.cta-section {
  position: relative;
  overflow: hidden;
}

.cta-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 80% at 50% 50%, rgba(201, 169, 110, 0.06) 0%, transparent 70%);
}

.cta-content {
  position: relative;
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.cta-ornament {
  width: 40px;
  height: 1px;
  background: var(--gold);
  margin: 0 auto 24px;
}

/* ---------- Footer ---------- */
.footer {
  padding: 60px 20px 24px;
  border-top: 1px solid rgba(201, 169, 110, 0.08);
}

.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  }
}

.footer-brand-desc {
  font-family: 'Montserrat', sans-serif;
  font-weight: 200;
  font-size: 0.82rem;
  color: var(--ash);
  margin-top: 16px;
  line-height: 1.7;
  max-width: 280px;
}

.footer-working-hours {
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  font-size: 0.72rem;
  color: var(--gold);
  margin-top: 12px;
  line-height: 1.5;
  letter-spacing: 0.3px;
}

.footer-col-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  font-size: 0.82rem;
  color: var(--ash);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--gold);
}

/* Footer App Link with mini icon */
.footer-app-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-app-icon {
  position: relative;
  width: 20px;
  height: 22px;
  flex-shrink: 0;
  display: inline-block;
}

.footer-app-icon-back {
  position: absolute;
  width: 14px;
  height: 17px;
  background: linear-gradient(145deg, #00BCD4 0%, #2ECC71 100%);
  border-radius: 3px;
  top: 0;
  left: 5px;
  transform: rotate(9deg);
  opacity: 0.85;
}

.footer-app-icon-front {
  position: absolute;
  width: 14px;
  height: 17px;
  background: linear-gradient(145deg, #1A72E8 0%, #3D5AFE 100%);
  border-radius: 3px;
  bottom: 0;
  left: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 2px;
  gap: 1px;
}

.footer-app-icon-badge {
  font-family: 'Montserrat', sans-serif;
  font-size: 5px;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  margin-bottom: 1px;
}

.footer-app-icon-lines {
  display: flex;
  align-items: center;
  gap: 1.5px;
}

.footer-app-icon-dot {
  width: 1.5px;
  height: 1.5px;
  border-radius: 50%;
  flex-shrink: 0;
}

.footer-app-icon-line {
  height: 1px;
  border-radius: 99px;
  background: rgba(255,255,255,0.6);
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid rgba(201, 169, 110, 0.06);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer-copyright {
  font-family: 'Montserrat', sans-serif;
  font-weight: 200;
  font-size: 0.72rem;
  color: var(--ash);
}

.footer-socials {
  display: flex;
  gap: 16px;
}

.footer-social-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(201, 169, 110, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ash);
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 0.85rem;
}

.footer-social-link:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(201, 169, 110, 0.05);
}

/* ---------- WhatsApp Floating Button (Animated) ---------- */
.wa-float {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 900;
  /* Entry animation */
  opacity: 0;
  transform: scale(0);
  animation: waEntrance 0.5s var(--transition-smooth) 1s forwards;
}

@keyframes waEntrance {
  0% { opacity: 0; transform: scale(0); }
  70% { transform: scale(1.1); }
  100% { opacity: 1; transform: scale(1); }
}

.wa-float-btn {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0;
  padding: 18px;
  border-radius: 50px;
  background: #25D366;
  border: none;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.3);
  transition: transform 0.2s ease, box-shadow 0.3s ease;
  overflow: visible;
}

.wa-float-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 20px 60px rgba(37, 211, 102, 0.5);
}

.wa-float-btn:active {
  transform: scale(0.95);
}

/* Pulse ring */
.wa-float-pulse {
  position: absolute;
  inset: 0;
  border-radius: 50px;
  background: #25D366;
  animation: waPulse 2s ease-in-out infinite;
  pointer-events: none;
}

@keyframes waPulse {
  0% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.3); opacity: 0; }
  100% { transform: scale(1); opacity: 0.5; }
}

/* Icon */
.wa-float-icon {
  position: relative;
  z-index: 2;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.wa-float-icon svg {
  width: 28px;
  height: 28px;
  fill: #FFFFFF;
  display: block;
}

/* Expandable text */
.wa-float-text {
  position: relative;
  z-index: 2;
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  font-size: 0.82rem;
  color: #FFFFFF;
  white-space: nowrap;
  max-width: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-width 0.3s var(--transition-smooth), opacity 0.3s ease, margin 0.3s ease;
  margin-left: 0;
}

.wa-float-btn:hover .wa-float-text {
  max-width: 120px;
  opacity: 1;
  margin-left: 10px;
}

/* Notification badge */
.wa-float-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--noir);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.65rem;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  /* Bounce entrance */
  opacity: 0;
  transform: scale(0);
  animation: waBadgePop 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) 1.5s forwards;
}

@keyframes waBadgePop {
  0% { opacity: 0; transform: scale(0); }
  100% { opacity: 1; transform: scale(1); }
}

/* ---------- Scroll Animations ---------- */

/* Base fade-up (default) */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s var(--transition-smooth), transform 0.9s var(--transition-smooth);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-delay-6 { transition-delay: 0.6s; }

/* Slide from left */
.reveal-left {
  opacity: 0;
  transform: translateX(-60px);
  transition: opacity 0.9s var(--transition-smooth), transform 0.9s var(--transition-smooth);
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Slide from right */
.reveal-right {
  opacity: 0;
  transform: translateX(60px);
  transition: opacity 0.9s var(--transition-smooth), transform 0.9s var(--transition-smooth);
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Scale up */
.reveal-scale {
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 0.9s var(--transition-smooth), transform 0.9s var(--transition-smooth);
}

.reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
}

/* ---- NEW: Blur-to-focus reveal ---- */
.reveal-blur {
  opacity: 0;
  filter: blur(12px);
  transform: translateY(20px);
  transition: opacity 1s var(--transition-smooth), filter 1s var(--transition-smooth), transform 1s var(--transition-smooth);
}

.reveal-blur.visible {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
}

/* ---- NEW: Gate Open (curtain from center) ---- */
.reveal-gate {
  clip-path: inset(0 50% 0 50%);
  opacity: 0;
  transition: clip-path 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.6s ease;
}

.reveal-gate.visible {
  clip-path: inset(0 0% 0 0%);
  opacity: 1;
}

/* ---- NEW: Clip reveal from bottom ---- */
.reveal-clip-up {
  clip-path: inset(100% 0 0 0);
  opacity: 0;
  transition: clip-path 1s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.4s ease;
}

.reveal-clip-up.visible {
  clip-path: inset(0 0 0 0);
  opacity: 1;
}

/* ---- NEW: Clip reveal from left ---- */
.reveal-clip-left {
  clip-path: inset(0 100% 0 0);
  opacity: 0;
  transition: clip-path 1s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.4s ease;
}

.reveal-clip-left.visible {
  clip-path: inset(0 0 0 0);
  opacity: 1;
}

/* ---- NEW: Rotate in from slight angle ---- */
.reveal-rotate {
  opacity: 0;
  transform: perspective(800px) rotateY(8deg) translateX(-30px);
  transition: opacity 1s var(--transition-smooth), transform 1s var(--transition-smooth);
}

.reveal-rotate.visible {
  opacity: 1;
  transform: perspective(800px) rotateY(0) translateX(0);
}

/* ---- NEW: Float up with gentle bounce ---- */
.reveal-float {
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 0.8s var(--transition-smooth), transform 1.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.reveal-float.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- NEW: Staggered children (apply to parent, children animate) ---- */
.reveal-stagger.visible > * {
  animation: staggerFadeUp 0.7s var(--transition-smooth) both;
}

.reveal-stagger > *:nth-child(1) { animation-delay: 0s; }
.reveal-stagger > *:nth-child(2) { animation-delay: 0.08s; }
.reveal-stagger > *:nth-child(3) { animation-delay: 0.16s; }
.reveal-stagger > *:nth-child(4) { animation-delay: 0.24s; }
.reveal-stagger > *:nth-child(5) { animation-delay: 0.32s; }
.reveal-stagger > *:nth-child(6) { animation-delay: 0.40s; }
.reveal-stagger > *:nth-child(7) { animation-delay: 0.48s; }
.reveal-stagger > *:nth-child(8) { animation-delay: 0.56s; }
.reveal-stagger > *:nth-child(9) { animation-delay: 0.64s; }

@keyframes staggerFadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---- NEW: Gold line expand (decorative divider) ---- */
.reveal-line {
  width: 0;
  transition: width 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-line.visible {
  width: 80px;
}

/* ---- NEW: Section separator with gate animation ---- */
.section-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 0 20px;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.section-divider.visible {
  opacity: 1;
}

.section-divider-line {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  flex: 1;
  max-width: 120px;
  transform: scaleX(0);
  transition: transform 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.section-divider.visible .section-divider-line {
  transform: scaleX(1);
}

.section-divider-dot {
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
  transform: scale(0);
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 0.4s;
}

.section-divider.visible .section-divider-dot {
  transform: scale(1);
}

/* ---------- Counter Animation ---------- */
.counter { display: inline-block; }

/* ---------- Additional Mobile Optimizations ---------- */
@media (max-width: 767px) {
  html,
  body,
  .page-content {
    max-width: 100%;
    overflow-x: hidden;
  }

  .reveal-left,
  .reveal-right,
  .reveal-rotate {
    transform: translateY(40px);
  }

  .reveal-left.visible,
  .reveal-right.visible,
  .reveal-rotate.visible {
    transform: translateY(0);
  }
}

@media (max-width: 479px) {
  .hero {
    padding: 100px 16px 60px;
  }

  .hero-badge {
    font-size: 0.6rem;
    letter-spacing: 2px;
    padding: 6px 14px;
  }

  .section-padding {
    padding: 48px 16px;
  }

  .feature-card {
    padding: 24px 20px;
  }

  .pricing-card {
    padding: 28px 24px;
  }

  .wa-float {
    bottom: 20px;
    right: 20px;
  }

  .wa-float-btn {
    padding: 14px;
  }

  .wa-float-icon svg {
    width: 24px;
    height: 24px;
  }

  .wa-float-badge {
    width: 20px;
    height: 20px;
    font-size: 0.6rem;
    top: -3px;
    right: -3px;
  }

  /* Hide expand text on small mobile */
  .wa-float-btn:hover .wa-float-text {
    max-width: 0;
    opacity: 0;
    margin-left: 0;
  }
}

/* ---------- Language Toggle ---------- */
.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0;
  background: rgba(26, 26, 26, 0.6);
  border: 1px solid rgba(201, 169, 110, 0.15);
  border-radius: 20px;
  padding: 3px;
}

/* When inside navbar, refine for compact fit */
.navbar .lang-toggle {
  background: rgba(26, 26, 26, 0.5);
  border-color: rgba(201, 169, 110, 0.2);
}
.navbar.scrolled .lang-toggle {
  background: rgba(14, 14, 14, 0.4);
}

.lang-btn {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 0.6rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--ash);
  background: transparent;
  border: none;
  padding: 5px 12px;
  border-radius: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.lang-btn:hover {
  color: var(--ivory);
}

.lang-btn.active {
  color: var(--noir);
  background: var(--gold);
  font-weight: 500;
}


/* ---------- Preloader ---------- */
.preloader {
  position: fixed;
  inset: 0;
  background: var(--noir);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 24px;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.preloader.hidden {
  opacity: 0;
  visibility: hidden;
}

.preloader-logo {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: 2rem;
  color: var(--ivory);
  letter-spacing: 6px;
  text-transform: uppercase;
  position: relative;
}

.preloader-logo .preloader-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
  position: relative;
  top: -16px;
  margin-left: 2px;
  animation: pulse 1.5s infinite;
}

.preloader-bar {
  width: 120px;
  height: 1px;
  background: rgba(201, 169, 110, 0.2);
  position: relative;
  overflow: hidden;
}

.preloader-bar::after {
  content: '';
  position: absolute;
  left: -100%;
  top: 0;
  width: 100%;
  height: 100%;
  background: var(--gold);
  animation: preloaderSlide 1.2s ease-in-out infinite;
}

@keyframes preloaderSlide {
  0% { left: -100%; }
  100% { left: 100%; }
}

/* ---------- Smooth page transitions ---------- */
.page-content {
  opacity: 0;
  transition: opacity 0.5s ease;
}

.page-content.loaded {
  opacity: 1;
}

/* ---------- Portfolio BG Placeholder Gradients ---------- */
.portfolio-bg-wedding {
  background: linear-gradient(135deg, #2C1810 0%, #1A1A1A 50%, rgba(201, 169, 110, 0.15) 100%);
}

.portfolio-bg-birthday {
  background: linear-gradient(135deg, #1A1025 0%, #1A1A1A 50%, rgba(201, 169, 110, 0.1) 100%);
}

.portfolio-bg-corporate {
  background: linear-gradient(135deg, #0E1A15 0%, #1A1A1A 50%, rgba(201, 169, 110, 0.1) 100%);
}

/* Portfolio decorative elements */
.portfolio-card-bg .portfolio-decor {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.15;
}

.portfolio-card-bg .portfolio-decor-ring {
  width: 120px;
  height: 120px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  position: absolute;
}

.portfolio-card-bg .portfolio-decor-ring:nth-child(2) {
  width: 160px;
  height: 160px;
  opacity: 0.5;
}

/* ---------- Template Showcase / Design Gallery (Auto-scroll) ---------- */

/* Template Filter Container */
.template-filter-container {
  display: flex;
  justify-content: center;
  margin: 40px auto 0;
  padding: 0 20px;
}

.template-filter-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.filter-btn {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  color: var(--ash);
  background: rgba(26, 26, 26, 0.4);
  border: 1.5px solid rgba(201, 169, 110, 0.2);
  padding: 10px 24px;
  border-radius: 24px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
}

.filter-btn:hover {
  color: var(--ivory);
  border-color: rgba(201, 169, 110, 0.4);
  background: rgba(26, 26, 26, 0.6);
  transform: translateY(-2px);
}

.filter-btn.active {
  color: var(--noir);
  background: var(--gold);
  border-color: var(--gold);
  font-weight: 600;
  box-shadow: 0 8px 24px rgba(201, 169, 110, 0.3);
}

.filter-btn.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--noir);
  animation: slideInRight 0.4s ease;
}

@keyframes slideInRight {
  from {
    width: 0;
    left: 50%;
  }
  to {
    width: 100%;
    left: 0;
  }
}

/* ─────────────────────────────────────────── */

.template-carousel {
  display: flex;
  gap: 40px;
  overflow: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 20px 20px 20px;
  margin-top: 48px;
}

.template-carousel::-webkit-scrollbar {
  display: none;
}

.template-slide {
  min-width: 220px;
  max-width: 220px;
  aspect-ratio: 9/16;
  border-radius: 16px;
  overflow: visible;
  flex-shrink: 0;
  position: relative;
  border: 1px solid rgba(201, 169, 110, 0.1);
  background: linear-gradient(135deg, #1A1A1A 0%, rgba(201, 169, 110, 0.04) 100%);
  /* Only transition visual properties */
  transition: border-color 0.4s ease, opacity 0.4s ease, filter 0.4s ease;
  cursor: pointer;
  /* Default: dimmed */
  opacity: 0.5;
  filter: brightness(0.7);
  will-change: transform;
}

/* All children pass pointer events up to the slide/track */
.template-slide * {
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
}

.template-slide.center-active {
  opacity: 1;
  filter: brightness(1);
  border-color: rgba(201, 169, 110, 0.3);
}

.template-popular-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 4;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.55rem;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--noir);
  background: linear-gradient(135deg, var(--gold) 0%, #E0C992 100%);
  border-radius: 999px;
  padding: 5px 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}

@media (min-width: 480px) {
  .template-slide {
    min-width: 260px;
    max-width: 260px;
  }
}

.template-slide:hover {
  border-color: rgba(201, 169, 110, 0.25);
  opacity: 1;
  filter: brightness(1);
}

.template-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--transition-smooth);
  /* Prevent native browser image drag from hijacking pointer capture */
  pointer-events: none;
  user-drag: none;
  -webkit-user-drag: none;
  draggable: false;
}

.template-slide:hover img {
  transform: scale(1.05);
}

/* Placeholder when image not loaded */
.template-slide-placeholder {
  display: none;
  position: absolute;
  inset: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, #1A1A1A 0%, rgba(201, 169, 110, 0.04) 100%);
}

.template-slide-emoji {
  font-size: 2.5rem;
}

.template-slide-name {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: 1rem;
  color: var(--ivory);
}

.template-slide-type {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 0.6rem;
  letter-spacing: 2px;
  color: var(--ash);
}

/* Label overlay at bottom of slide */
.template-slide-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px;
  background: linear-gradient(to top, rgba(14, 14, 14, 0.9) 0%, transparent 100%);
  display: flex;
  flex-direction: column;
  gap: 2px;
  opacity: 0;
  transform: translateY(8px);
  transition: all 0.4s ease;
}

.template-slide:hover .template-slide-label {
  opacity: 1;
  transform: translateY(0);
}

.template-slide-label span {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: 1rem;
  color: var(--ivory);
}

.template-slide-label small {
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  font-size: 0.65rem;
  color: var(--gold);
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* ---------- Marquee (Features Highlight) ---------- */
.marquee-wrapper {
  overflow: hidden;
  padding: 20px 0;
  border-top: 1px solid rgba(201, 169, 110, 0.06);
  border-bottom: 1px solid rgba(201, 169, 110, 0.06);
}

.marquee-track {
  display: flex;
  gap: 48px;
  animation: marquee 30s linear infinite;
  width: max-content;
}

.marquee-item {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: 1.2rem;
  color: var(--ash);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 16px;
}

.marquee-item .marquee-dot {
  width: 4px;
  height: 4px;
  background: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}