/* ============================================================
   O.R.D.E.R. Landing Page — Custom Marketing Stylesheet
   Zero Bootstrap. Zero Tabler. Just clean, modern SaaS design.
   ============================================================ */

/* --- Bootstrap/Tabler Neutralizer --- */
body.no-sidebar .container-fluid,
body.no-sidebar .row,
body.no-sidebar main.portal-main,
body.no-sidebar .portal-page-body,
body.no-sidebar .col-md-9,
body.no-sidebar .ms-sm-auto,
body.no-sidebar .col-lg-10 {
  max-width: none !important;
  padding: 0 !important;
  margin: 0 !important;
  width: 100% !important;
  flex: none !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

body.no-sidebar .portal-page-body {
  overflow: visible;
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Source Sans 3', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: #1a1a2e;
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  transition: all 0.2s ease;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* --- Design Tokens --- */
:root {
  --ln-navy: #1B2A4A;
  --ln-navy-dark: #0f1a30;
  --ln-navy-mid: #2a3f6a;
  --ln-gold: #C8A951;
  --ln-gold-light: #dcc470;
  --ln-gold-dark: #a88a30;
  --ln-cream: #F5F0E8;
  --ln-cream-dark: #f0eadc;
  --ln-white: #ffffff;
  --ln-off-white: #faf8f5;
  --ln-text: #1a1a2e;
  --ln-text-light: #6b7085;
  --ln-text-muted: #9ca3af;
  --ln-radius: 12px;
  --ln-radius-sm: 8px;
  --ln-shadow: 0 1px 3px rgba(27, 42, 74, 0.08), 0 1px 2px rgba(27, 42, 74, 0.06);
  --ln-shadow-lg: 0 10px 40px rgba(27, 42, 74, 0.1);
  --ln-font-heading: 'Libre Baskerville', Georgia, 'Times New Roman', serif;
  --ln-font-body: 'Source Sans 3', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --ln-max-width: 1100px;
  --ln-max-width-narrow: 820px;
}

/* --- Typography --- */
.ln-heading {
  font-family: var(--ln-font-heading);
  font-weight: 700;
  line-height: 1.3;
  margin: 0;
}

.ln-heading-xl {
  font-size: 2.75rem;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.ln-heading-lg {
  font-size: 2rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.ln-heading-md {
  font-size: 1.35rem;
  letter-spacing: -0.015em;
}

.ln-heading-sm {
  font-size: 1.1rem;
  letter-spacing: -0.01em;
}

.ln-label {
  font-family: var(--ln-font-body);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--ln-gold);
  margin-bottom: 0.75rem;
}

.ln-body {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--ln-text-light);
}

.ln-body-sm {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--ln-text-muted);
}

/* --- Buttons --- */
.ln-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--ln-font-body);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.7rem 1.5rem;
  border-radius: var(--ln-radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}

.ln-btn-primary {
  background: var(--ln-gold);
  color: var(--ln-navy-dark);
  border-color: var(--ln-gold);
}

.ln-btn-primary:hover {
  background: var(--ln-gold-light);
  border-color: var(--ln-gold-light);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(200, 169, 81, 0.3);
}

.ln-btn-secondary {
  background: transparent;
  color: var(--ln-white);
  border-color: rgba(255, 255, 255, 0.4);
}

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

.ln-btn-outline {
  background: transparent;
  color: var(--ln-navy);
  border-color: var(--ln-navy);
}

.ln-btn-outline:hover {
  background: var(--ln-navy);
  color: var(--ln-white);
}

.ln-btn-white {
  background: var(--ln-white);
  color: var(--ln-navy);
  border-color: var(--ln-white);
}

.ln-btn-white:hover {
  background: var(--ln-cream);
  border-color: var(--ln-cream);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.ln-btn-lg {
  padding: 0.9rem 2rem;
  font-size: 1.05rem;
}

/* --- Section Layout --- */
.ln-section {
  padding: 6rem 1.5rem;
}

.ln-section-dark {
  background: var(--ln-navy);
  color: var(--ln-white);
}

.ln-section-dark .ln-body {
  color: rgba(255, 255, 255, 0.7);
}

.ln-section-dark .ln-text-muted {
  color: rgba(255, 255, 255, 0.5);
}

.ln-section-cream {
  background: var(--ln-cream);
}

.ln-section-white {
  background: var(--ln-white);
}

.ln-container {
  max-width: var(--ln-max-width);
  margin: 0 auto;
}

.ln-container-narrow {
  max-width: var(--ln-max-width-narrow);
  margin: 0 auto;
}

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

.ln-section-header .ln-body {
  max-width: 560px;
  margin: 1rem auto 0;
}

/* --- 2-Column Grid --- */
.ln-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.ln-grid-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1.5rem;
}

@media (max-width: 768px) {
  .ln-grid-2,
  .ln-grid-3 {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   NAV
   ============================================================ */
.ln-nav {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.25rem 1.5rem;
  max-width: var(--ln-max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ln-nav-brand {
  font-family: var(--ln-font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ln-gold);
  letter-spacing: 0.5px;
}

.ln-nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.9rem;
}

.ln-nav-links a {
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
}

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

/* ============================================================
   HERO
   ============================================================ */
.ln-hero-wrapper {
  position: relative;
  width: 100%;
  max-width: 100vw;
  overflow: hidden;
  background: var(--ln-navy);
}

.ln-hero-image {
  width: 95%;
  max-width: none;
  height: auto;
  display: block;
  margin: 0 auto;
}

.ln-hero-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(15, 26, 48, 0.88);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 1.25rem 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.ln-hero-tagline {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
  font-weight: 500;
}

@media (max-width: 640px) {
  .ln-hero-wrapper {
    height: auto;
    min-height: auto;
    max-height: none;
  }
}

/* ============================================================
   PROBLEM SECTION
   ============================================================ */
.ln-problem {
  padding: 6rem 1.5rem;
  background: var(--ln-navy);
  position: relative;
  overflow: hidden;
}

/* Subtle dot-grid texture overlay */
.ln-problem::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}

/* Decorative large quote mark behind heading */
.ln-problem-card {
  max-width: var(--ln-max-width-narrow);
  margin: 0 auto;
  position: relative;
}

.ln-problem-card::before {
  content: '\201C';
  position: absolute;
  top: -1.5rem;
  left: -1rem;
  font-family: 'Marck Script', Georgia, serif;
  font-size: 8rem;
  line-height: 1;
  color: rgba(200, 169, 81, 0.08);
  pointer-events: none;
  user-select: none;
}

.ln-problem-card h2 {
  color: var(--ln-cream);
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 1rem;
}

/* Gold accent line under heading */
.ln-problem-card h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  background: var(--ln-gold);
  opacity: 0.4;
  border-radius: 1px;
}

.ln-heading-hand {
  font-family: 'Marck Script', 'Libre Baskerville', Georgia, serif;
  font-weight: 400;
  font-size: 2.5rem;
  line-height: 1.2;
  letter-spacing: 0.02em;
  color: var(--ln-cream);
}

.ln-problem-card > p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.ln-problem-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 2.5rem;
}

.ln-problem-list li {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
  line-height: 1.5;
  padding: 0.75rem 0 0.75rem 2rem;
  position: relative;
  border-bottom: 1px solid rgba(200, 169, 81, 0.1);
  transition: all 0.2s ease;
}

.ln-problem-list li:hover {
  padding-left: 2.25rem;
  color: var(--ln-cream);
}

.ln-problem-list li:last-child { border-bottom: none; }

.ln-problem-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0.75rem;
  color: var(--ln-gold);
  font-weight: 700;
  font-size: 1rem;
}

.ln-problem-list li strong {
  color: var(--ln-gold);
  font-weight: 600;
  margin-right: 0.25rem;
}

.ln-problem-list li em {
  font-style: italic;
  color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 640px) {
  .ln-problem-list {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   STEPS
   ============================================================ */
.ln-steps-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1.5rem;
}

.ln-step-card {
  text-align: center;
  padding: 2.5rem 1.5rem;
  background: var(--ln-white);
  border-radius: var(--ln-radius);
  border: 1px solid rgba(27, 42, 74, 0.06);
  box-shadow: var(--ln-shadow);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.ln-step-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--ln-shadow-lg);
  border-color: rgba(200, 169, 81, 0.2);
}

.ln-step-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  font-family: var(--ln-font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  background: rgba(200, 169, 81, 0.1);
  color: var(--ln-gold-dark);
  border: 2px solid var(--ln-gold);
}

.ln-step-card h4 {
  font-family: var(--ln-font-heading);
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
  color: var(--ln-navy);
}

.ln-step-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--ln-text-light);
  margin: 0;
}

@media (max-width: 768px) {
  .ln-steps-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   TIERS / PRICING
   ============================================================ */
.ln-tiers-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1.5rem;
  align-items: start;
}

.ln-tier-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--ln-radius);
  padding: 3rem 1.75rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
}

.ln-tier-card:hover {
  border-color: rgba(200, 169, 81, 0.3);
  background: rgba(255, 255, 255, 0.08);
}

.ln-tier-card.featured {
  border-color: var(--ln-gold);
  background: rgba(200, 169, 81, 0.06);
  position: relative;
  transform: scale(1.03);
}

.ln-tier-card.featured::before {
  content: 'Most Popular';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--ln-gold);
  color: var(--ln-navy-dark);
  padding: 0.2rem 1.25rem;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  white-space: nowrap;
}

.ln-tier-name {
  font-family: var(--ln-font-heading);
  font-size: 1.15rem;
  color: var(--ln-cream);
  margin-bottom: 0.25rem;
}

.ln-tier-price {
  font-size: 2.75rem;
  font-weight: 700;
  color: var(--ln-gold);
  margin: 0.5rem 0;
  line-height: 1;
}

.ln-tier-price span {
  font-size: 1rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.5);
}

.ln-tier-desc {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 1.25rem;
}

.ln-tier-features {
  text-align: left;
  flex-grow: 1;
  margin-bottom: 1.5rem;
}

.ln-tier-features li {
  padding: 0.35rem 0;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.7);
  padding-left: 1.5rem;
  position: relative;
}

.ln-tier-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--ln-gold);
  font-weight: 700;
}

.ln-tier-features .highlight {
  color: var(--ln-gold-light);
  font-weight: 500;
}

.ln-tier-card .ln-btn {
  width: 100%;
  text-align: center;
}
.ln-tier-card .ln-btn-link {
  display: block;
  text-align: center;
  color: var(--ln-cream);
  font-size: 0.85rem;
  text-decoration: none;
  margin-top: 0.6rem;
  opacity: 0.7;
  transition: opacity 0.15s;
}
.ln-tier-card .ln-btn-link:hover {
  opacity: 1;
  color: var(--ln-cream);
}
}

@media (max-width: 768px) {
  .ln-tiers-grid {
    grid-template-columns: 1fr;
  }
  .ln-tier-card.featured {
    transform: none;
  }
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.ln-testimonials-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.ln-testimonial-card {
  background: var(--ln-white);
  border-radius: var(--ln-radius);
  padding: 2rem 2rem 2rem 2.25rem;
  box-shadow: var(--ln-shadow);
  border-left: 3px solid var(--ln-gold);
  transition: all 0.2s ease;
}

.ln-testimonial-card:hover {
  box-shadow: var(--ln-shadow-lg);
  transform: translateY(-2px);
}

.ln-testimonial-text {
  font-style: italic;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--ln-text);
  margin-bottom: 1rem;
}

.ln-testimonial-author {
  font-size: 0.82rem;
  color: var(--ln-text-muted);
  font-weight: 500;
}

@media (max-width: 640px) {
  .ln-testimonials-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   FINAL CTA
   ============================================================ */
.ln-cta-box {
  text-align: center;
  padding: 4rem 2rem;
  background: var(--ln-navy);
  border-radius: var(--ln-radius);
  border: 1px solid rgba(200, 169, 81, 0.2);
  box-shadow: 0 8px 32px rgba(27, 42, 74, 0.15);
}

.ln-cta-box h2 {
  margin-bottom: 0.75rem;
}

.ln-cta-box p {
  max-width: 500px;
  margin: 0 auto 1.5rem;
  color: rgba(255, 255, 255, 0.6);
}

/* ============================================================
   FOOTER
   ============================================================ */
.ln-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 0;
  margin-top: 2rem;
  border-top: 1px solid rgba(27, 42, 74, 0.1);
}

.ln-footer-brand {
  font-family: var(--ln-font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ln-navy);
}

.ln-footer-copy {
  font-size: 0.78rem;
  color: var(--ln-text-muted);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 640px) {
  .ln-heading-xl {
    font-size: 1.75rem;
  }
  .ln-heading-lg {
    font-size: 1.5rem;
  }
  .ln-section {
    padding: 3.5rem 1.25rem;
  }
  .ln-problem {
    padding: 3.5rem 1.25rem;
  }
}
