/* ========================================
 * Landing Page - Luxury Minimalist Theme
 * ======================================== */

.landing-page {
  /* Local Design Tokens - Luxury Minimalist Edition */
  --landing-bg: #fbfbfd;
  --landing-text-main: #1d1d1f;
  --landing-text-secondary: #6e6e73; /* Slightly darker for better readability */
  --landing-accent: #0071e3;
  --landing-accent-gradient: linear-gradient(to right, #0071e3 20%, #ff2997 40%, #ff8029 60%, #0071e3 80%);
  --landing-glass-bg: rgba(255, 255, 255, 0.75);
  --landing-glass-border: rgba(255, 255, 255, 0.7);
  --landing-shadow-ambient: 0 4px 24px rgba(0, 0, 0, 0.04);
  --landing-shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.08);
  --font-serif: "New York", "SF Pro Serif", "Times New Roman", Times, serif;
  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", sans-serif;
  
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: var(--landing-bg);
  overflow-y: auto;
  overflow-x: hidden;
  z-index: 9999;
  font-family: var(--font-sans);
  color: var(--landing-text-main);
  -webkit-font-smoothing: antialiased;
}

/* === Background Blobs & Noise === */
.landing-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

/* Film Grain/Noise Effect */
.landing-bg::after {
  content: "";
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyBAMAAADsEZWCAAAAElBMVEUAAAAAAAAAAAAAAAAAAAAAAADgKxmiAAAABXRSTlMABgQFBw7n8mUAAAA1SURBVDjLY2AYRQIMQEIhYCCaA4nSFAwEM0gYhAEE0mAYhAEM0mQYhAEM0oQYhAEM0oQYhAEMUqNwgAEAHZ+QnS0oD8IAAAAASUVORK5CYII=');
  opacity: 0.03; 
  pointer-events: none;
  z-index: 1;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  animation: float 20s infinite ease-in-out alternate;
}

.blob-1 {
  top: -10%;
  right: -5%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 113, 227, 0.15) 0%, rgba(255, 255, 255, 0) 70%);
  animation-delay: -5s;
}

.blob-2 {
  bottom: -10%;
  left: -10%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(175, 82, 222, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
}

@keyframes float {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, -50px) scale(1.1); }
  100% { transform: translate(-20px, 20px) scale(0.95); }
}

/* === Content Container === */
.landing-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* === Navigation === */
.landing-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100px;
  padding-top: 20px;
}

.landing-nav .brand {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #000;
  display: flex;
  align-items: center;
  gap: 8px;
}

.landing-nav .nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.landing-nav .nav-links a,
.landing-nav .nav-links .contact-item {
  color: var(--landing-text-secondary);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.landing-nav .nav-links a:hover,
.qr-trigger:hover {
  color: var(--landing-text-main);
}

.qr-trigger {
  position: relative;
}

.qr-popover {
  position: absolute;
  top: calc(100% + 15px);
  right: 0;
  width: 180px;
  padding: 16px;
  background: white;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  z-index: 100;
}

.qr-popover::before {
  content: '';
  position: absolute;
  bottom: 100%;
  right: 24px;
  border: 8px solid transparent;
  border-bottom-color: white;
}

.qr-popover img {
  width: 100%;
  height: auto;
  border-radius: 12px;
}

.qr-popover p {
  font-size: 13px;
  color: var(--landing-text-main);
  margin: 0;
  font-weight: 600;
}

.qr-trigger:hover .qr-popover {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Utility: visually hidden but SEO-readable text */
.seo-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* === Hero Section === */
.hero-section {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 80px 0 100px;
  animation: fadeUp 1.2s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  background: rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 999px;
  margin-bottom: 32px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--landing-text-secondary);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.hero-pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #34c759;
  margin-right: 8px;
  box-shadow: 0 0 8px rgba(52, 199, 89, 0.5);
}

.hero-actions-group {
  display: flex;
  gap: 16px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

@keyframes fadeUp {
  0% { opacity: 0; transform: translateY(40px); filter: blur(10px); }
  100% { opacity: 1; transform: translateY(0); filter: blur(0); }
}

.hero-title {
  font-size: clamp(3.5rem, 8vw, 6.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.05em;
  margin-bottom: 32px;
  color: #111;
}

.hero-title .accent {
  display: inline-block;
  background: var(--landing-accent-gradient);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shine 8s linear infinite;
  text-shadow: 0 4px 16px rgba(0, 113, 227, 0.15);
}

@keyframes shine {
  to { background-position: 200% center; }
}

.hero-subtitle {
  font-size: 1.5rem;
  line-height: 1.5;
  color: var(--landing-text-secondary);
  max-width: 750px;
  margin: 0 auto 56px;
  font-weight: 500;
  letter-spacing: -0.01em;
}

/* === Buttons === */
.btn-hero {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 20px 56px;
  font-size: 1.2rem;
  font-weight: 600;
  color: white;
  background: #000;
  border: none;
  border-radius: 100px;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  text-decoration: none;
}

.btn-hero i {
  margin-left: 12px;
  font-size: 16px;
  transition: transform 0.3s ease;
}

.btn-hero:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  background: #111;
}

.btn-hero:hover i {
  transform: translateX(6px);
}

.btn-hero:active {
  transform: translateY(0) scale(0.98);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 20px 40px;
  font-size: 1.2rem;
  font-weight: 600;
  color: #1d1d1f;
  background: rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 100px;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.btn-secondary:hover {
  background: rgba(0, 0, 0, 0.06);
  transform: translateY(-2px);
}

/* === Features Grid & Cards === */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 100px;
  width: 100%;
}

.feature-card {
  background: var(--landing-glass-bg);
  backdrop-filter: blur(40px) saturate(180%);
  -webkit-backdrop-filter: blur(40px) saturate(180%);
  padding: 48px;
  border-radius: 32px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 
    0 4px 24px -6px rgba(0,0,0,0.04),
    inset 0 1px 1px rgba(255,255,255,0.6);
  transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
  text-align: left;
}

.feature-card:hover {
  transform: translateY(-12px) scale(1.02);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.12);
}

.feature-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f5f5f7;
  border-radius: 18px;
  margin-bottom: 28px;
  font-size: 24px;
  color: #000;
  transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
  background: #000;
  color: white;
}

.feature-card h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 16px;
  color: #000;
  letter-spacing: -0.02em;
}

.feature-card p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--landing-text-secondary);
}

/* === Showcase Section === */
.template-showcase > div > div > div {
  box-shadow: 
    0 4px 24px -6px rgba(0,0,0,0.05),
    inset 0 1px 1px rgba(255,255,255,0.6),
    inset 0 0 1px rgba(255,255,255,0.9);
  border: 1px solid rgba(255,255,255,0.8) !important;
  background: linear-gradient(135deg, rgba(255,255,255,0.6) 0%, rgba(255,255,255,0.3) 100%) !important;
  backdrop-filter: blur(40px) saturate(180%);
  -webkit-backdrop-filter: blur(40px) saturate(180%);
  border-radius: 28px !important;
}

.template-showcase h2 {
  font-size: 2.5rem !important;
  letter-spacing: -0.03em;
}

/* === FAQ === */
.faq-section h2 {
  font-size: 2.5rem !important;
  letter-spacing: -0.03em;
}

.faq-item h4 {
  font-size: 1.25rem !important;
  letter-spacing: -0.01em;
}

/* === Mobile Responsiveness === */
@media (max-width: 992px) {
  .features-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 3rem;
  }
  
  .hero-subtitle {
    font-size: 1.2rem;
  }
  
  .feature-card {
    padding: 32px;
  }
  
  .landing-nav {
    height: 80px;
  }
}
