/* ==========================================================================
   CELEBRATI — LANDING PAGE STYLES (UPGRADED LUXURY)
   ========================================================================== */

:root {
  --gold-gradient: linear-gradient(135deg, #D4AF37 0%, #C5A028 50%, #B89324 100%);
  --gold-cta-gradient: linear-gradient(135deg, #F9D77E 0%, #D4AF37 50%, #B89324 100%);
  --purple-gradient: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 50%, #6d28d9 100%);
  --dark-bg: linear-gradient(135deg, #cce6f8 0%, #e0f2fe 40%, #f0fdfa 100%);
  --surface-dark: transparent;
  --surface-card: rgba(255, 255, 255, 0.75);
  --font-sans: 'Inter', sans-serif;
  --font-serif: 'Instrument Serif', serif;
}

body.landing-body {
  margin: 0;
  padding: 0;
  background: var(--dark-bg);
  color: #1e293b;
  font-family: var(--font-sans);
  overflow-x: hidden;
  position: relative;
}

/* Background Particle Canvas */
#landing-particle-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

/* ── Header Nav & Hero (LinkFlow Editorial Aesthetic) ── */

.hero-cinematic {
  position: relative;
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: var(--dark-bg);
}

/* Video Background */
.hero-video-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.2);
  z-index: 1;
}

/* Floating Pill Nav */
.hero-nav-pill {
  position: absolute;
  top: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #ffffff;
  border-radius: 9999px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  padding: 0.5rem 0.5rem 0.5rem 1.25rem;
  gap: 2.5rem;
}

.hero-logo {
  font-family: var(--font-sans);
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #000000;
  text-decoration: none;
}

/* Hamburger Animation */
.hero-hamburger {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.hamburger-line {
  display: block;
  width: 16px;
  height: 2px;
  background: #000000;
  transition: transform 300ms cubic-bezier(0.77, 0, 0.175, 1);
  border-radius: 2px;
}

.hero-hamburger[aria-expanded="true"] .line-1 {
  transform: translateY(3.5px) rotate(45deg);
}

.hero-hamburger[aria-expanded="true"] .line-2 {
  transform: translateY(-3.5px) rotate(-45deg);
}

/* ── Premium Dropdown ── */
@keyframes dropdownItemIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes goldShimmer {
  0%   { background-position: -200% center; }
  100% { background-position:  200% center; }
}

.hero-nav-dropdown {
  position: absolute;
  top: 5rem;
  left: 50%;
  transform: translateX(-50%) translateY(-8px) scale(0.96);
  /* Light premium glass panel */
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(24px) saturate(1.8);
  -webkit-backdrop-filter: blur(24px) saturate(1.8);
  /* Subtle light border */
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 1.25rem;
  padding: 0.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  opacity: 0;
  pointer-events: none;
  z-index: 40;
  transition: opacity 0.28s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow:
    0 4px 24px rgba(0,0,0,0.06),
    0 1px 2px rgba(0,0,0,0.04),
    0 0 0 1px rgba(255,255,255,0.8) inset;
  min-width: 240px;
  overflow: hidden;
}

/* Premium gradient line at top */
.hero-nav-dropdown::before {
  content: '';
  display: block;
  height: 2px;
  width: 100%;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(212, 175, 55, 0.3) 40%,
    rgba(249, 215, 126, 0.8) 50%,
    rgba(212, 175, 55, 0.3) 60%,
    transparent 100%);
  background-size: 200% auto;
  animation: goldShimmer 3.5s linear infinite;
  margin-bottom: 0.4rem;
  border-radius: 9999px;
}

.hero-nav-dropdown.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0) scale(1);
}

/* Staggered entrance for each child */
.hero-nav-dropdown.is-active .hero-dropdown-link:nth-child(2) { animation: dropdownItemIn 0.3s 0.04s ease both; }
.hero-nav-dropdown.is-active .hero-dropdown-link:nth-child(3) { animation: dropdownItemIn 0.3s 0.09s ease both; }
.hero-nav-dropdown.is-active .hero-dropdown-link:nth-child(4) { animation: dropdownItemIn 0.3s 0.14s ease both; }
.hero-nav-dropdown.is-active .hero-dropdown-cta           { animation: dropdownItemIn 0.3s 0.20s ease both; }

.hero-dropdown-link {
  position: relative;
  padding: 0.75rem 1rem;
  text-decoration: none;
  border-radius: 0.9rem;
  transition: background 0.22s ease;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  text-align: left;
  isolation: isolate;
}

.dropdown-link-title {
  color: #1E293B;
  font-weight: 600;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  letter-spacing: -0.01em;
  transition: color 0.2s ease;
}

.dropdown-link-desc {
  color: #64748B;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 400;
  transition: color 0.2s ease;
}

.hero-dropdown-link:hover {
  background: #F8FAFC;
}

.hero-dropdown-link:hover .dropdown-link-title {
  color: #0F172A;
}

.hero-dropdown-link:hover .dropdown-link-desc {
  color: #475569;
}

/* Thin divider before CTA */
.hero-dropdown-cta {
  position: relative;
  display: block;
  margin-top: 0.5rem;
  padding: 0.8rem 1.2rem;
  text-decoration: none;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 700;
  font-family: var(--font-sans);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 0.85rem;
  /* Sleek dark premium CTA */
  background: linear-gradient(135deg, #1E293B 0%, #0F172A 100%);
  color: #FFFFFF;
  transition: transform 0.18s ease, box-shadow 0.22s ease;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-dropdown-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.25);
}

/* Hero Content */
.hero-content-container {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  position: relative;
  z-index: 10;
  width: 100%;
  height: 100%;
  padding-bottom: 4rem;
  box-sizing: border-box;
}

.hero-centered-layout {
  text-align: center;
  max-width: 900px;
  width: 100%;
  padding: 0 1.5rem;
}

.hero-text-block {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-headline {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: clamp(3rem, 7vw, 6rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: #ffffff;
  margin: 0;
}

.hero-headline-accent {
  font-family: var(--font-serif);
  font-weight: 400;
  font-style: italic;
}

.hero-sub {
  margin-top: 1.5rem;
  font-size: clamp(0.875rem, 1.5vw, 1rem);
  color: rgba(255, 255, 255, 0.8);
  max-width: 420px;
  font-weight: 500;
  line-height: 1.6;
}

.hero-cta-bar {
  display: flex;
  align-items: center;
  background: rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 0.75rem;
  padding: 0.25rem 0.25rem 0.25rem 1.5rem;
  margin-top: 2.5rem;
  gap: 1.5rem;
}

.cta-bar-text-desktop {
  display: none; /* Desktop text hidden on mobile */
  color: #ffffff;
  font-size: 0.875rem;
  font-weight: 500;
  font-family: var(--font-sans);
}

.cta-bar-text-mobile {
  display: block; /* Mobile text shown on mobile */
  color: #ffffff;
  font-size: 0.875rem;
  font-weight: 500;
  font-family: var(--font-sans);
}

.hero-cta-primary {
  background: #ffffff;
  color: #000000;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.6rem 1.25rem;
  border-radius: 0.6rem;
  text-decoration: none;
  transition: background 0.2s ease;
  font-family: var(--font-sans);
  white-space: nowrap;
}

.hero-cta-primary:hover {
  background: rgba(255, 255, 255, 0.9);
}

/* Mobile default for CTA */
.cta-bar-text-desktop { display: none; }
.cta-bar-text-mobile { display: block; }
.hero-cta-bar { padding-left: 1rem; gap: 1rem; }

@media (min-width: 641px) {
  .cta-bar-text-desktop { display: block; }
  .cta-bar-text-mobile { display: none; }
  .hero-cta-bar { padding-left: 1.5rem; gap: 1.5rem; }
}

/* Trust & Social Proof Strip */
.trust-strip {
  position: relative;
  z-index: 2;
  background: rgba(255, 255, 255, 0.9);
  border-y: 1px solid rgba(255, 255, 255, 0.5);
  padding: 2rem 2rem;
}

.trust-container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.trust-item {
  text-align: center;
}


.trust-number {
  font-family: var(--font-sans);
  font-size: 2.2rem;
  font-weight: 700;
  color: #1f2937;
  line-height: 1.1;
}



.trust-label {
  font-size: 0.85rem;
  color: #64748b;
  margin-top: 0.2rem;
}


.trust-divider {
  width: 1px;
  height: 40px;
  background: rgba(15, 23, 42, 0.1);
}

/* Drift About Section */
.about-section {
  background-color: #F6E4CF;
  color: #321C04;
  padding: 8rem 1.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.about-content {
  max-width: 800px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.about-icon-wrapper {
  color: #321C04;
}

.about-divider {
  width: 1px;
  height: 48px;
  background-color: #D9C4AA;
}

.about-text {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  line-height: 1.2;
  font-style: italic;
  margin: 0;
}

.about-buttons {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.about-buttons .btn-primary {
  background-color: #321C04;
  color: #F6E4CF;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  font-weight: 500;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-size: 0.95rem;
  transition: background-color 0.2s;
}

.about-buttons .btn-primary:hover {
  background-color: #1F1003;
}

.about-buttons .btn-secondary {
  background-color: #FFF9F2;
  color: #321C04;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid #D9C4AA;
  cursor: pointer;
  font-size: 0.95rem;
  transition: background-color 0.2s;
}

.about-buttons .btn-secondary:hover {
  background-color: #CEBA9E;
}

/* Drift Features Section */
.features-section {
  background-color: #18181B; /* Dark background */
  color: #ffffff;
  padding: 8rem 1.5rem;
}

.features-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 4rem;
  position: relative;
}

.features-sticky {
  flex: 1;
  position: static;
  top: 6rem;
  height: fit-content;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 100%;
}

.features-title {
  font-family: var(--font-sans);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  line-height: 1.1;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin: 0;
}

.features-subtitle {
  color: #A1A1AA;
  font-size: 1.125rem;
  line-height: 1.6;
  margin: 0;
}

.features-btn {
  align-self: flex-start;
  background-color: #ffffff;
  color: #18181B;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  font-weight: 500;
  text-decoration: none;
  transition: opacity 0.2s;
  margin-top: 1rem;
}

.features-btn:hover {
  opacity: 0.9;
}

.features-scroll {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.feature-card {
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1.5rem;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.2);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background-color: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
}

.feature-card h3 {
  font-family: var(--font-sans);
  font-size: 1.5rem;
  font-weight: 500;
  margin: 0;
}

.feature-card p {
  color: #A1A1AA;
  line-height: 1.6;
  margin: 0;
}

@media (min-width: 993px) {
  .features-container {
    flex-direction: row;
  }
  .features-sticky {
    position: sticky;
    max-width: 450px;
  }
}

/* Theme Gallery Section */
.themes-gallery-section {
  position: relative;
  z-index: 2;
  padding: 8rem 1.5rem;
  background-color: #FFF9F2; /* Cream background */
  color: #321C04;
}

.themes-gallery-section .section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.themes-gallery-section .section-header h2 {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 400;
  color: #321C04;
  margin-bottom: 1rem;
}

.themes-gallery-section .section-header p {
  color: #321C04;
  opacity: 0.8;
  font-size: 1.125rem;
  max-width: 600px;
  margin: 0 auto;
}

.theme-tiles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.75rem;
  max-width: 1200px;
  margin: 0 auto;
}

.theme-tile-card {
  background-color: #ffffff;
  border: 1px solid #D9C4AA;
  border-radius: 1.5rem;
  padding: 2rem;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(50, 28, 4, 0.05);
}

.theme-tile-card:hover {
  transform: translateY(-4px);
  border-color: #321C04;
  box-shadow: 0 12px 30px rgba(50, 28, 4, 0.08);
}

.theme-tile-card h3 {
  font-family: var(--font-sans);
  font-size: 1.25rem;
  font-weight: 600;
  color: #321C04;
  margin: 0 0 0.5rem 0;
}

.theme-tile-card p {
  font-family: var(--font-sans);
  color: #321C04;
  opacity: 0.7;
  font-size: 0.95rem;
  margin: 0;
}

.theme-tag {
  display: inline-block;
  background-color: #F6E4CF;
  color: #321C04;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-top: 1.5rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.tile-swatch-bar {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.4rem;
  align-items: center;
}

.tile-swatch-bar span {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(0,0,0,0.1);
}

.tile-swatch-bar span:first-child {
  width: 36px;
  height: 36px;
}

/* Pricing Section */
.pricing-section {
  position: relative;
  z-index: 2;
  padding: 8rem 1.5rem;
  background-color: #ffffff;
  color: #321C04;
  text-align: center;
}

.pricing-section .section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.pricing-section .section-header h2 {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 400;
  color: #321C04;
  margin-bottom: 1rem;
}

.pricing-section .section-header p {
  color: #321C04;
  opacity: 0.8;
  font-size: 1.125rem;
  max-width: 600px;
  margin: 0 auto;
}

.pricing-card {
  background-color: #FFF9F2;
  border: 1px solid #D9C4AA;
  border-radius: 2rem;
  padding: 3.5rem 2.5rem;
  position: relative;
  text-align: center;
  max-width: 450px;
  margin: 0 auto;
  box-shadow: 0 10px 30px rgba(50, 28, 4, 0.05);
}

.pricing-tag {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #321C04;
  color: #F6E4CF;
  font-weight: 600;
  padding: 0.4rem 1.4rem;
  border-radius: 999px;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.price-strikethrough {
  font-size: 1.1rem;
  color: #321C04;
  opacity: 0.6;
  text-decoration: line-through;
  margin-top: 1rem;
}

.price-amount {
  font-family: var(--font-serif);
  font-size: 5rem;
  font-weight: 400;
  color: #321C04;
  margin: 0.2rem 0 0.5rem;
  line-height: 1;
}

.price-currency {
  font-size: 2.5rem;
  vertical-align: super;
  font-weight: 400;
}

.price-period {
  color: #321C04;
  opacity: 0.7;
  font-size: 0.95rem;
  margin-bottom: 2.5rem;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 2.5rem;
  text-align: left;
}

.pricing-features li {
  padding: 0.9rem 0;
  border-bottom: 1px solid rgba(50, 28, 4, 0.1);
  color: #321C04;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 0.95rem;
}

.pricing-features li::before {
  content: "✓";
  color: #321C04;
  font-weight: bold;
}

/* Scroll Reveal Class */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Footer */

.landing-footer {
  position: relative;
  z-index: 2;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(20px);
  padding: 60px 4rem 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.6);
  color: #64748b;
}

.footer-col h4 {
  color: #111827;
  font-size: 1rem;
  margin-bottom: 1.2rem;
  font-weight: 600;
}

.footer-col a {
  display: block;
  color: #475569;
  text-decoration: none;
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: #111827;
}

.footer-tagline {
  color: #64748b;
  font-size: 0.92rem;
  line-height: 1.6;
  max-width: 380px;
  margin-top: 1rem;
}


.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-col h4 {
  color: #1e293b;
  font-size: 1rem;
  margin-bottom: 1.2rem;
}

.footer-col a {
  display: block;
  color: #475569;
  text-decoration: none;
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: #ffffff;
}

.footer-tagline {
  color: #475569;
  font-size: 0.92rem;
  line-height: 1.6;
  max-width: 380px;
  margin-top: 1rem;
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.85rem;
  text-align: center;
}

/* Responsive Overrides */
@media (min-width: 769px) {
  .landing-nav { padding: 0 3rem; }
  .landing-nav-links { display: flex; }
  .mobile-hamburger-btn { display: none; }
  .hero-section { padding: 160px 2rem 80px; }
  .hero-title { font-size: clamp(3rem, 5vw, 4.5rem); }
  .features-section, .themes-gallery-section { padding: 8rem 1.5rem; }
  .trust-divider { display: block; }
  .trust-container { flex-direction: row; gap: 4rem; }
}

@media (min-width: 1025px) {
  .hero-split-grid {
    grid-template-columns: 1fr 1fr;
    text-align: left;
  }
  .hero-text-block {
    text-align: left;
  }
  .hero-subtitle {
    margin: 0;
  }
  .cta-group {
    justify-content: flex-start;
  }
  .footer-container {
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
  }
}
  
.landing-footer {
  position: relative;
  z-index: 2;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(20px);
  padding: 60px 4rem 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.6);
  color: #64748b;
}

.footer-col h4 {
  color: #111827;
  font-size: 1rem;
  margin-bottom: 1.2rem;
  font-weight: 600;
}

.footer-col a {
  display: block;
  color: #475569;
  text-decoration: none;
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: #111827;
}

.footer-tagline {
  color: #64748b;
  font-size: 0.92rem;
  line-height: 1.6;
  max-width: 380px;
  margin-top: 1rem;
}

