/* ==========================================================================
   Bazar Link - Official Static Landing Stylesheet
   Modern, Secure, High-Performance, Zero External Dependencies
   ========================================================================== */

:root {
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  --bg-main: #06090e;
  --bg-card: #0d131f;
  --bg-card-hover: #121b2d;
  --border-subtle: #1c2638;
  --border-hover: #2e3e5c;
  --text-main: #f1f5f9;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --blue-primary: #2563eb;
  --blue-hover: #1d4ed8;
  --blue-glow: rgba(37, 99, 235, 0.25);
  --amber-primary: #f59e0b;
  --rose-primary: #fb7185;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  color-scheme: dark;
  background-color: var(--bg-main);
  font-family: var(--font-sans);
}

body {
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: #2563eb;
  color: #ffffff;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Layout Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(6, 9, 14, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  height: 5rem;
  display: flex;
  align-items: center;
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.875rem;
  background: linear-gradient(135deg, #2563eb, #3b82f6);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.35);
}

.brand-icon svg {
  width: 1.5rem;
  height: 1.5rem;
  fill: none;
  stroke: #ffffff;
  stroke-width: 2.2;
}

.brand-text {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: #ffffff;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 2rem;
  font-size: 0.925rem;
  font-weight: 500;
  color: var(--text-muted);
}

.nav-links a {
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: #ffffff;
}

@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

@media (min-width: 768px) {
  .header-actions {
    gap: 0.75rem;
  }
}

.header-btn {
  padding: 0.55rem 0.85rem;
  font-size: 0.85rem;
  white-space: nowrap;
}

@media (min-width: 768px) {
  .header-btn {
    padding: 0.6rem 1.25rem;
    font-size: 0.875rem;
  }
}

.btn-text-full {
  display: none;
}

.btn-text-short {
  display: inline;
}

@media (min-width: 768px) {
  .btn-text-full {
    display: inline;
  }

  .btn-text-short {
    display: none;
  }
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.35rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: #ffffff;
  background: var(--blue-primary);
  border-radius: 0.75rem;
  box-shadow: 0 4px 14px var(--blue-glow);
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
}

.btn-primary:hover {
  background: var(--blue-hover);
  transform: translateY(-1px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.35rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: 0.75rem;
  transition: all 0.2s ease;
  cursor: pointer;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--border-hover);
}

/* Hero Section */
.hero {
  position: relative;
  padding: 5rem 0 6rem 0;
  text-align: center;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 350px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.15) 0%, rgba(6, 9, 14, 0) 70%);
  pointer-events: none;
  z-index: 0;
}

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

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 1rem;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 600;
  background: rgba(37, 99, 235, 0.12);
  color: #60a5fa;
  border: 1px solid rgba(37, 99, 235, 0.25);
  margin-bottom: 2rem;
}

.hero-title {
  font-size: 2.5rem;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #ffffff;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 3.75rem;
  }
}

.gradient-text {
  background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 50%, #93c5fd 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 2.5rem;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

@media (min-width: 640px) {
  .hero-actions {
    flex-direction: row;
  }
}

.hero-actions .btn-primary,
.hero-actions .btn-secondary {
  padding: 0.9rem 2rem;
  font-size: 1rem;
  border-radius: 0.875rem;
}

/* Quick Metrics Bar */
.metrics-bar {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  padding: 2.5rem 0;
  margin-top: 4rem;
  border-top: 1px solid var(--border-subtle);
}

@media (min-width: 768px) {
  .metrics-bar {
    grid-template-columns: repeat(4, 1fr);
  }
}

.metric-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.metric-val {
  font-size: 1.85rem;
  font-weight: 800;
  color: #ffffff;
}

.metric-lbl {
  font-size: 0.825rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

/* Section Common */
.section {
  padding: 5rem 0;
  border-top: 1px solid var(--border-subtle);
}

.section-header {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 4rem auto;
}

.section-tag {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #60a5fa;
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: 2rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 2.5rem;
  }
}

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

/* Pillars Cards Grid */
.pillars-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .pillars-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.pillar-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 1.5rem;
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.pillar-card:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.card-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.725rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
  width: fit-content;
}

.badge-delivery {
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.badge-wedding {
  background: rgba(251, 113, 133, 0.15);
  color: #fda4af;
  border: 1px solid rgba(251, 113, 133, 0.3);
}

.badge-booking {
  background: rgba(37, 99, 235, 0.15);
  color: #93c5fd;
  border: 1px solid rgba(37, 99, 235, 0.3);
}

.card-title {
  font-size: 1.45rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.75rem;
}

.card-desc {
  font-size: 0.925rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.75rem;
}

.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.875rem;
  color: #cbd5e1;
}

.feature-item svg {
  width: 1.15rem;
  height: 1.15rem;
  flex-shrink: 0;
  margin-top: 0.15rem;
  fill: none;
  stroke: #60a5fa;
  stroke-width: 2;
}

.badge-delivery ~ .card-title ~ * .feature-item svg {
  stroke: #f59e0b;
}

.badge-wedding ~ .card-title ~ * .feature-item svg {
  stroke: #fb7185;
}

.card-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.85rem 1.25rem;
  border-radius: 0.875rem;
  font-size: 0.9rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  color: #ffffff;
  transition: all 0.2s ease;
}

.card-btn:hover {
  background: #ffffff;
  color: #06090e;
  border-color: #ffffff;
}

/* Differentials Grid */
.diff-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .diff-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .diff-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.diff-card {
  background: rgba(13, 19, 31, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: 1.25rem;
  padding: 1.75rem;
  transition: all 0.2s ease;
}

.diff-card:hover {
  border-color: var(--border-hover);
  background: var(--bg-card);
}

.diff-icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.875rem;
  background: rgba(37, 99, 235, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.diff-icon svg {
  width: 1.35rem;
  height: 1.35rem;
  fill: none;
  stroke: #60a5fa;
  stroke-width: 2;
}

.diff-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.diff-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* Footer */
.footer {
  padding: 3.5rem 0 6.5rem;
  border-top: 1px solid var(--border-subtle);
  background: #04060a;
  text-align: center;
}

@media (min-width: 1024px) {
  .footer {
    padding: 3.5rem 0;
  }
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

@media (min-width: 1024px) {
  .footer-content {
    flex-direction: row;
  }
}

@media (min-width: 1024px) and (max-width: 1650px) {
  .footer-content {
    padding-right: 13.5rem;
  }
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
}

.footer-brand svg {
  width: 1.25rem;
  height: 1.25rem;
  fill: none;
  stroke: #3b82f6;
  stroke-width: 2.2;
}

.footer-copy {
  font-size: 0.825rem;
  color: var(--text-dim);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .footer-copy {
    flex-direction: row;
    gap: 0.35rem;
  }
}

.footer-copy-separator {
  display: none;
}

@media (min-width: 1024px) {
  .footer-copy-separator {
    display: inline;
  }
}

/* Floating WhatsApp Action Button */
.whatsapp-floating-btn {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.85rem 1.35rem;
  border-radius: 9999px;
  background-color: #10b981;
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 700;
  box-shadow: 0 10px 25px rgba(16, 185, 129, 0.4);
  transition: all 0.2s ease;
  cursor: pointer;
  text-decoration: none;
}

.whatsapp-floating-btn:hover {
  background-color: #059669;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 14px 30px rgba(16, 185, 129, 0.5);
  color: #ffffff;
}

.whatsapp-floating-btn svg {
  width: 1.35rem;
  height: 1.35rem;
  fill: currentColor;
  flex-shrink: 0;
}

/* ==========================================================================
   Legal Document Styles (Terms & Privacy)
   ========================================================================== */
.legal-main {
  padding: 3rem 1.5rem 6rem;
  max-width: 960px;
  margin: 0 auto;
}

.legal-header {
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 2rem;
  margin-bottom: 2.5rem;
}

.legal-back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #60a5fa;
  margin-bottom: 1.25rem;
  text-decoration: none;
  transition: color 0.2s ease;
}

.legal-back-link:hover {
  color: #93c5fd;
}

.legal-title {
  font-size: 2.25rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

.legal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.legal-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.legal-nav {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 1rem;
  padding: 1.5rem;
  margin-bottom: 3rem;
}

.legal-nav-title {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #60a5fa;
  margin-bottom: 1rem;
}

.legal-nav-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
}

@media (min-width: 640px) {
  .legal-nav-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

.legal-nav-list a {
  font-size: 0.9rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
  display: block;
}

.legal-nav-list a:hover {
  color: #ffffff;
}

.legal-content {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.legal-article {
  scroll-margin-top: 2rem;
  background: rgba(13, 19, 31, 0.4);
  border: 1px solid var(--border-subtle);
  border-radius: 1rem;
  padding: 2rem;
}

.legal-article h2 {
  font-size: 1.35rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.legal-article h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #e2e8f0;
  margin: 1.5rem 0 0.75rem;
}

.legal-article p {
  color: #cbd5e1;
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.legal-article ul, .legal-article ol {
  color: #cbd5e1;
  font-size: 0.95rem;
  line-height: 1.7;
  margin: 0.75rem 0 1.25rem 1.5rem;
}

.legal-article li {
  margin-bottom: 0.5rem;
}

.legal-empty-box {
  background: rgba(37, 99, 235, 0.05);
  border: 1px dashed var(--border-hover);
  border-radius: 0.75rem;
  padding: 2rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.95rem;
  margin: 1rem 0;
}


