/* assets/css/landing.css - High-Converting Sales Landing Page Stylesheet */

/* Header / Navigation */
.landing-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 74px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-color);
  z-index: 999;
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
}

.landing-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
  width: 100%;
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: nowrap;
}

.landing-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-main);
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  white-space: nowrap;
  flex-shrink: 0;
}

.landing-brand span {
  white-space: nowrap;
}

.landing-brand .brand-icon {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.2rem;
  box-shadow: 0 6px 14px rgba(37, 99, 235, 0.28);
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  list-style: none;
  white-space: nowrap;
  flex-wrap: nowrap;
}

.nav-links a {
  color: #475569;
  font-weight: 600;
  font-size: 0.9rem;
  transition: color 0.2s;
  white-space: nowrap;
}

.nav-links a:hover {
  color: var(--primary);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-actions .btn {
  white-space: nowrap !important;
}

/* Hero Section */
.hero-section {
  padding-top: 135px;
  padding-bottom: 90px;
  background: radial-gradient(ellipse at 50% -10%, #eff6ff 0%, #f8fafc 55%, #ffffff 100%);
  color: var(--text-main);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.hero-glow {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 500px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.12) 0%, rgba(37, 99, 235, 0) 70%);
  filter: blur(80px);
  pointer-events: none;
  animation: pulse-glow 6s ease-in-out infinite alternate;
}

@keyframes pulse-glow {
  0% { transform: translateX(-50%) scale(0.95); opacity: 0.8; }
  100% { transform: translateX(-50%) scale(1.08); opacity: 1; }
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.35rem;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: var(--radius-full);
  color: #1d4ed8;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.1);
  animation: float-badge 3s ease-in-out infinite;
}

@keyframes float-badge {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.3rem, 5vw, 3.85rem);
  font-weight: 850;
  line-height: 1.16;
  letter-spacing: -0.03em;
  margin-bottom: 1.35rem;
  max-width: 1020px;
  margin-left: auto;
  margin-right: auto;
  color: #0f172a;
}

.hero-title .gradient-text {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 50%, #0284c7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: #64748b;
  max-width: 820px;
  margin: 0 auto 2.25rem;
  line-height: 1.68;
  font-weight: 450;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.btn-hero-primary {
  padding: 0.95rem 2rem;
  font-size: 1.05rem;
  font-weight: 750;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: #fff;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.35);
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  transition: all 0.25s ease;
}

.btn-hero-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(37, 99, 235, 0.45);
  color: #fff;
}

.btn-hero-secondary {
  padding: 0.95rem 2rem;
  font-size: 1.05rem;
  font-weight: 650;
  border-radius: var(--radius-md);
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  color: #334155;
  box-shadow: var(--shadow-sm);
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  transition: all 0.25s ease;
}

.btn-hero-secondary:hover {
  background: #f8fafc;
  border-color: #94a3b8;
  color: #0f172a;
  transform: translateY(-2px);
}

.hero-trust-tags {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.75rem;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
  font-size: 0.85rem;
  color: #475569;
  font-weight: 600;
}

.hero-trust-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.hero-trust-tag svg {
  color: #10b981;
  width: 17px;
  height: 17px;
}

/* Hero Showcase Graphic Frame with Floating Cards */
.hero-showcase-wrapper {
  max-width: 1080px;
  margin: 0 auto 3.5rem;
  position: relative;
  border-radius: 20px;
  padding: 10px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.15) 0%, rgba(255, 255, 255, 0.8) 50%, rgba(14, 165, 233, 0.15) 100%);
  box-shadow: 0 25px 60px -15px rgba(15, 23, 42, 0.12), 0 0 0 1px rgba(226, 232, 240, 0.8);
}

.hero-showcase-img {
  width: 100%;
  height: auto;
  border-radius: 14px;
  display: block;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

/* Floating Glass Insight Badges */
.floating-pill {
  position: absolute;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(226, 232, 240, 0.9);
  padding: 0.65rem 1rem;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
  font-size: 0.825rem;
  font-weight: 700;
  color: #0f172a;
  z-index: 10;
  transition: transform 0.3s ease;
}

.floating-pill:hover {
  transform: scale(1.05);
}

.floating-pill-1 {
  top: -15px;
  left: 25px;
  animation: float-pill-1 4s ease-in-out infinite;
}

.floating-pill-2 {
  bottom: 30px;
  right: -15px;
  animation: float-pill-2 4.5s ease-in-out infinite;
}

.floating-pill-3 {
  bottom: -15px;
  left: 40px;
  animation: float-pill-3 5s ease-in-out infinite;
}

@keyframes float-pill-1 {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

@keyframes float-pill-2 {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes float-pill-3 {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

/* Quick 1-Click Role Login Bar */
.demo-accounts-card {
  max-width: 1020px;
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.demo-title {
  font-size: 0.825rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #64748b;
  font-weight: 700;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.demo-buttons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.85rem;
}

.demo-btn-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  transition: all 0.2s ease;
  text-decoration: none;
}

.demo-btn-box:hover {
  background: #eff6ff;
  border-color: #bfdbfe;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.08);
}

.demo-role-name {
  font-weight: 700;
  font-size: 0.875rem;
  color: #0f172a;
}

.demo-credentials {
  font-size: 0.725rem;
  color: #64748b;
}

/* Stats Ribbon */
.stats-ribbon {
  background: #ffffff;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
  padding: 2.75rem 0;
}

.stats-ribbon-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  text-align: center;
}

.ribbon-val {
  font-family: var(--font-heading);
  font-size: 2.6rem;
  font-weight: 850;
  color: #2563eb;
  line-height: 1;
}

.ribbon-lbl {
  font-size: 0.9rem;
  color: #64748b;
  font-weight: 600;
  margin-top: 0.45rem;
}

/* Section Common */
.section-padding {
  padding: 5.5rem 0;
}

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

.section-tag {
  color: #2563eb;
  font-size: 0.825rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
  display: inline-block;
  background: #eff6ff;
  padding: 0.25rem 0.85rem;
  border-radius: 999px;
  border: 1px solid #bfdbfe;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.5vw, 2.65rem);
  font-weight: 850;
  color: #0f172a;
  letter-spacing: -0.025em;
  margin-bottom: 0.85rem;
  line-height: 1.22;
}

.section-desc {
  font-size: 1.075rem;
  color: #64748b;
  line-height: 1.65;
}

/* BEFORE VS AFTER SALES COMPARISON */
.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: stretch;
}

.comparison-card {
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  transition: transform 0.2s ease;
}

.comparison-bad {
  background: #fff5f5;
  border: 1.5px solid #fecaca;
  color: #991b1b;
}

.comparison-good {
  background: #f0fdf4;
  border: 1.5px solid #bbf7d0;
  color: #166534;
  box-shadow: 0 10px 30px rgba(16, 185, 129, 0.08);
}

.comparison-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  margin-bottom: 1.25rem;
}

.comparison-bad .comparison-badge {
  background: #fee2e2;
  color: #b91c1c;
  border: 1px solid #fca5a5;
}

.comparison-good .comparison-badge {
  background: #dcfce7;
  color: #15803d;
  border: 1px solid #86efac;
}

.comparison-title {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.comparison-bad .comparison-title { color: #991b1b; }
.comparison-good .comparison-title { color: #166534; }

.comparison-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
}

.comparison-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.925rem;
  line-height: 1.5;
}

.comparison-bad .comparison-item { color: #7f1d1d; }
.comparison-good .comparison-item { color: #14532d; }

.comparison-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  margin-top: 1px;
}

/* 5 PILLARS: HOW THIS SYSTEM HELPS OWNERS */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.75rem;
}

.pillar-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all 0.25s ease;
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
}

.pillar-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.07);
  border-color: #cbd5e1;
}

.pillar-icon-box {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 1.5rem;
}

.pillar-card h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 0.65rem;
  color: #0f172a;
}

.pillar-card p {
  font-size: 0.925rem;
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex: 1;
}

.pillar-highlight {
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.4rem 0.75rem;
  border-radius: 6px;
  display: inline-block;
  align-self: flex-start;
}

/* Interactive ROI Calculator */
.roi-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.06);
  padding: 2.75rem;
  max-width: 1080px;
  margin: 0 auto;
}

.roi-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  align-items: center;
}

.roi-control-group {
  margin-bottom: 1.5rem;
}

.roi-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.925rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.65rem;
}

.roi-val-badge {
  background: #eff6ff;
  color: #1d4ed8;
  font-size: 0.95rem;
  font-weight: 800;
  padding: 0.2rem 0.75rem;
  border-radius: 6px;
  border: 1px solid #bfdbfe;
}

.roi-slider {
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: #e2e8f0;
  outline: none;
  cursor: pointer;
  accent-color: #2563eb;
}

.roi-result-box {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #ffffff;
  border-radius: 16px;
  padding: 2.25rem 2rem;
  text-align: center;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.2);
}

.roi-result-num {
  font-family: var(--font-heading);
  font-size: 2.75rem;
  font-weight: 900;
  color: #38bdf8;
  line-height: 1.1;
  margin: 0.5rem 0;
}

/* Floor Plan & Matrix Preview */
.matrix-preview-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.matrix-live-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-md);
}

.matrix-grid-8 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
}

.matrix-seat-box {
  border-radius: 10px;
  padding: 0.85rem 0.45rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.matrix-seat-box:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

/* SaaS Plans & Pricing Section */
.pricing-section {
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  align-items: stretch;
}

.pricing-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid #e2e8f0;
  padding: 2.25rem 1.85rem;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.pricing-card.featured {
  border-color: #2563eb;
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.14);
  transform: translateY(-4px);
}

.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.08);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #fff;
  padding: 0.3rem 1.15rem;
  border-radius: var(--radius-full);
  font-size: 0.725rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
}

.plan-header {
  text-align: center;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid #f1f5f9;
  margin-bottom: 1.5rem;
}

.plan-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 0.35rem;
  color: #0f172a;
}

.plan-price {
  font-family: var(--font-heading);
  font-size: 2.45rem;
  font-weight: 850;
  color: #0f172a;
}

.plan-period {
  font-size: 0.825rem;
  color: #64748b;
}

.plan-features-list {
  list-style: none;
  flex: 1;
  margin-bottom: 1.75rem;
  padding: 0;
}

.plan-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.875rem;
  color: #334155;
  margin-bottom: 0.75rem;
  line-height: 1.45;
}

.plan-feature-item svg {
  color: #10b981;
  flex-shrink: 0;
  margin-top: 2px;
  width: 16px;
  height: 16px;
}

/* FAQ Accordion */
.faq-grid {
  max-width: 820px;
  margin: 0 auto;
}

.faq-item {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  margin-bottom: 0.85rem;
  overflow: hidden;
  transition: border-color 0.2s;
}

.faq-item:hover {
  border-color: #cbd5e1;
}

.faq-question {
  padding: 1.15rem 1.35rem;
  font-weight: 700;
  font-size: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  color: #0f172a;
}

.faq-answer {
  padding: 0 1.35rem 1.15rem;
  font-size: 0.925rem;
  color: #64748b;
  line-height: 1.65;
  display: none;
}

.faq-item.open .faq-answer {
  display: block;
}

/* Landing Mobile Toggle Button */
.landing-mobile-toggle {
  display: none;
  background: #f8fafc;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 0.45rem;
  color: var(--text-main);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.landing-mobile-toggle:hover {
  background: #e2e8f0;
}

/* Landing Footer */
.landing-footer {
  background: #ffffff;
  color: #64748b;
  padding: 4rem 0 2rem;
  border-top: 1px solid #e2e8f0;
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid #f1f5f9;
  padding-top: 1.75rem;
  margin-top: 2.5rem;
  font-size: 0.825rem;
}

/* ==============================================================
   RESPONSIVE DESIGN BREAKPOINTS
   ============================================================== */

@media (max-width: 992px) {
  .landing-nav {
    height: 68px;
  }
  .hero-section {
    padding-top: 110px;
    padding-bottom: 60px;
  }
  .section-padding {
    padding: 3.5rem 0;
  }
  .comparison-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .roi-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
  .matrix-preview-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 1024px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    flex-direction: column;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    gap: 1rem;
    align-items: flex-start;
  }
  .nav-links.show {
    display: flex;
  }
  .nav-links li {
    width: 100%;
  }
  .nav-links a {
    display: block;
    padding: 0.4rem 0;
    font-size: 1rem;
  }
  .landing-mobile-toggle {
    display: inline-flex !important;
  }
  .floating-pill {
    display: none;
  }
  .hero-title {
    font-size: 2.15rem;
  }
  .hero-subtitle {
    font-size: 1rem;
    padding: 0 0.5rem;
  }
  .demo-buttons-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .landing-container {
    padding: 0 1rem;
  }
  .landing-brand {
    font-size: 1.05rem;
  }
  .landing-brand span span {
    display: none;
  }
  .nav-actions .btn {
    padding: 0.4rem 0.65rem;
    font-size: 0.775rem;
  }
  .hero-title {
    font-size: 1.85rem;
    line-height: 1.25;
  }
  .hero-cta-group {
    flex-direction: column;
    width: 100%;
  }
  .hero-cta-group .btn-hero-primary,
  .hero-cta-group .btn-hero-secondary {
    width: 100%;
    justify-content: center;
  }
  .hero-trust-tags {
    flex-direction: column;
    gap: 0.6rem;
    align-items: flex-start;
    padding-left: 1rem;
  }
  .pillars-grid {
    grid-template-columns: 1fr;
  }
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  .stats-ribbon-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
  .matrix-grid-8 {
    grid-template-columns: repeat(2, 1fr);
  }
  .roi-card {
    padding: 1.5rem 1rem;
  }
  .demo-accounts-card {
    padding: 1rem;
  }
  .comparison-card {
    padding: 1.5rem 1.25rem;
  }
  .pricing-card {
    padding: 1.75rem 1.25rem;
  }
}
