/* assets/css/landing.css */

/* Override base.css simulator body layout for the landing page */
body.landing-page {
  display: block;
  background: #ffffff;
  min-height: 100vh;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}

/* Landing Page Wrapper */
.lp-container {
  width: 100%;
  margin: 0 auto;
  padding: 0;
  color: var(--ink);
}

/* Typography Overrides & Extensions */
.lp-h1 {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1px;
  color: var(--ink);
}

.lp-h2 {
  font-size: 32px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.5px;
  color: var(--ink);
  margin-bottom: 12px;
}

.lp-h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
}

.lp-lead {
  font-size: 17px;
  font-weight: 500;
  line-height: 1.6;
  color: var(--ink-muted);
}

.lp-body {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.6;
  color: var(--ink-muted);
}

/* Section Spacing */
.lp-section {
  padding: 80px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.lp-section.bg-alt {
  max-width: 100%;
  background: var(--blue-surface);
}

.lp-section-inner {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

/* Buttons */
.lp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 700;
  border-radius: var(--r-lg);
  transition: all var(--transition);
  cursor: pointer;
  border: none;
}

.lp-btn-primary {
  background: var(--blue);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(46, 5, 194, 0.15);
}

.lp-btn-primary:hover {
  background: var(--blue-mid);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(46, 5, 194, 0.25);
}

.lp-btn-secondary {
  background: #ffffff;
  color: var(--blue);
  border: 2px solid var(--blue-bg);
}

.lp-btn-secondary:hover {
  background: var(--blue-bg);
  transform: translateY(-2px);
}

/* Header / Navigation */
.lp-header {
  position: sticky;
  top: 0;
  background: #ffffff;
  border-bottom: 1px solid var(--border-lt);
  z-index: 100;
  box-shadow: 0 2px 10px rgba(3, 0, 22, 0.02);
}

.lp-nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.lp-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 20px;
  font-weight: 800;
  color: var(--blue);
  transition: opacity 0.3s ease;
}

.lp-logo-img {
  height: 24px;
  width: auto;
  display: block;
}

.lp-menu {
  display: flex;
  gap: 32px;
  align-items: center;
}

.lp-menu-link {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-muted);
  transition: color var(--transition);
}

.lp-menu-link:hover {
  color: var(--blue);
}

.lp-nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Hero Section */
.lp-hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
  padding-bottom: 60px;
}

.lp-hero-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.lp-hero-btns {
  display: flex;
  gap: 16px;
}

.lp-hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

/* App Mockup on Smartphone */
.smartphone-mockup {
  width: 290px;
  height: 600px;
  border: 10px solid #0c0a1a;
  border-radius: 36px;
  background: #0c0a1a;
  box-shadow: var(--shadow-elevated), 0 30px 60px rgba(46, 5, 194, 0.15);
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

/* Notch */
.smartphone-mockup::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 110px;
  height: 18px;
  background: #0c0a1a;
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
  z-index: 50;
}

/* Simulated App Screen */
.smartphone-screen {
  width: 100%;
  height: 100%;
  background: #f5f4f9;
  overflow-y: auto;
  font-family: var(--font);
  display: flex;
  flex-direction: column;
  padding: 0;
  font-size: 11px;
}

/* Custom Scrollbar for Phone Screen */
.smartphone-screen::-webkit-scrollbar {
  width: 3px;
}
.smartphone-screen::-webkit-scrollbar-thumb {
  background: rgba(3, 0, 22, 0.1);
  border-radius: 9px;
}

/* Simulated Phone UI Components */
.sim-status-bar {
  height: 24px;
  background: #ffffff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 16px;
  font-size: 9px;
  font-weight: 700;
  color: var(--ink);
  border-bottom: 1px solid var(--border-lt);
}

.sim-app-header {
  background: #ffffff;
  padding: 12px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.sim-user-greet {
  display: flex;
  flex-direction: column;
}

.sim-user-greet span:first-child {
  color: var(--ink-muted);
  font-size: 9px;
}

.sim-user-greet span:last-child {
  font-weight: 800;
  font-size: 13px;
}

.sim-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--blue);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 10px;
}

.sim-card {
  margin: 12px 14px;
  padding: 14px;
  background: linear-gradient(135deg, var(--blue), var(--blue-mid));
  border-radius: var(--r-xl);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(46, 5, 194, 0.2);
}

.sim-card-title {
  font-size: 9px;
  opacity: 0.8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 700;
  margin-bottom: 4px;
}

.sim-card-balance {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 8px;
}

.sim-card-meta {
  display: flex;
  justify-content: space-between;
  font-size: 8.5px;
  opacity: 0.9;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 8px;
}

/* Sim Section Box */
.sim-section {
  background: #ffffff;
  margin: 0 14px 12px 14px;
  padding: 12px;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-card);
}

.sim-section-header {
  font-size: 10px;
  font-weight: 800;
  margin-bottom: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.sim-progress-bg {
  width: 100%;
  height: 6px;
  background: var(--border-lt);
  border-radius: var(--r-pill);
  overflow: hidden;
  margin-bottom: 4px;
}

.sim-progress-bar {
  height: 100%;
  background: var(--gold);
  border-radius: var(--r-pill);
}

.sim-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sim-list-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
  border-bottom: 1px solid var(--border-lt);
}

.sim-list-item:last-child {
  border-bottom: none;
}

.sim-item-info {
  display: flex;
  flex-direction: column;
}

.sim-item-name {
  font-weight: 700;
}

.sim-item-sub {
  font-size: 8.5px;
  color: var(--ink-muted);
}

.sim-chip {
  padding: 3px 6px;
  border-radius: var(--r-pill);
  font-size: 8px;
  font-weight: 700;
}

.sim-chip-paid {
  background: var(--green-bg);
  color: var(--green);
}

.sim-chip-pending {
  background: var(--gold-bg);
  color: var(--gold-dark);
}

.sim-chip-overdue {
  background: var(--tangerine-bg);
  color: var(--tangerine);
}

/* Feature Grid */
.lp-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 48px;
}

.lp-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.lp-card {
  background: #ffffff;
  padding: 32px;
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  transition: all var(--transition);
}

.lp-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
  border-color: var(--blue-bg);
}

.lp-card-icon {
  width: 48px;
  height: 48px;
  background: var(--blue-bg);
  color: var(--blue);
  border-radius: var(--r-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

/* How It Works List */
.lp-steps {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-top: 48px;
}

.lp-step {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.lp-step-num {
  width: 40px;
  height: 40px;
  background: var(--blue);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 16px;
  flex-shrink: 0;
}

.lp-step-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* CTA Banner Section */
.lp-cta-banner {
  background: linear-gradient(135deg, var(--blue), var(--blue-mid));
  color: #ffffff;
  padding: 64px;
  border-radius: var(--r-xl);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  margin-top: 40px;
}

.lp-cta-banner .lp-h2 {
  color: #ffffff;
}

.lp-cta-banner p {
  opacity: 0.9;
  max-width: 600px;
}

.lp-cta-banner .lp-btn-primary {
  background: #ffffff;
  color: var(--blue);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.lp-cta-banner .lp-btn-primary:hover {
  background: var(--blue-bg);
  color: var(--blue);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* Interactive Calculator */
.calc-section {
  background: #ffffff;
  border-radius: var(--r-xl);
  border: 1px solid var(--border);
  padding: 40px;
  box-shadow: var(--shadow-card);
  margin-top: 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.calc-inputs {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.calc-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.calc-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
}

.calc-range {
  width: 100%;
  accent-color: var(--blue);
  height: 6px;
  border-radius: 3px;
  background: var(--border-lt);
  outline: none;
}

.calc-val {
  font-size: 18px;
  font-weight: 800;
  color: var(--blue);
}

.calc-outputs {
  background: var(--blue-surface);
  border-radius: var(--r-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  border: 1px dashed var(--blue-bg);
}

.calc-result-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-muted);
  margin-bottom: 8px;
}

.calc-result-val {
  font-size: 36px;
  font-weight: 800;
  color: var(--blue);
  margin-bottom: 12px;
}

.calc-result-desc {
  font-size: 12px;
  color: var(--ink-muted);
  max-width: 250px;
  line-height: 1.5;
}

/* Footer styling */
.lp-footer {
  background: #030016;
  color: #ffffff;
  padding: 60px 24px 30px 24px;
}

.lp-footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 40px;
  margin-bottom: 30px;
}

.lp-footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.lp-footer-logo {
  font-size: 20px;
  font-weight: 800;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 8px;
}

.lp-footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.lp-footer-title {
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--ink-faint);
  margin-bottom: 8px;
}

.lp-footer-link {
  font-size: 13px;
  color: var(--ink-faint);
  transition: color var(--transition);
}

.lp-footer-link:hover {
  color: #ffffff;
}

.lp-footer-copy {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--ink-muted);
}

/* Responsive Breakpoints */
@media (max-width: 900px) {
  .lp-hero {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }
  .lp-hero-btns {
    justify-content: center;
  }
  .lp-grid {
    grid-template-columns: 1fr;
  }
  .lp-grid-3 {
    grid-template-columns: 1fr;
  }
  .calc-section {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .lp-footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 480px) {
  .lp-h1 {
    font-size: 36px;
  }
  .lp-h2 {
    font-size: 24px;
  }
  .lp-btn {
    width: 100%;
  }
  .lp-hero-btns {
    flex-direction: column;
    width: 100%;
  }
}

/* Landing Page Utility Classes for Zero-Inline-Styles Compliance */
.sim-status-icons {
  display: flex;
  gap: 4px;
  align-items: center;
}

.sim-card-fees {
  color: var(--gold);
  font-weight: 700;
}

.sim-section-compact {
  padding-top: 6px;
  padding-bottom: 6px;
}

.sim-section-header-bordered {
  border-bottom: 1px solid var(--border-lt);
  padding-bottom: 6px;
  margin-bottom: 4px;
}

.sim-chip-due {
  border: 1px solid var(--tangerine-bdr);
}

.sim-list-item-clean {
  border-bottom: none;
  padding: 4px 0;
}

.sim-item-fee-text {
  font-weight: 600;
  color: var(--gold-dark);
}

.lp-mt-lg {
  margin-top: 32px;
}

.lp-section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 48px auto;
}

.lp-how-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: center;
}

.lp-security-wrapper {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 64px;
  align-items: center;
}

.lp-security-grid {
  margin-top: 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.lp-h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--ink);
}

.lp-flex-center {
  display: flex;
  justify-content: center;
}

.lp-security-badge {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 40px;
  text-align: center;
  box-shadow: var(--shadow-card);
  max-width: 320px;
}

.lp-security-badge-icon {
  width: 64px;
  height: 64px;
  background: var(--green-bg);
  color: var(--green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px auto;
}

.lp-body-sm {
  font-size: 12px;
  margin-bottom: 0;
  line-height: 1.6;
  color: var(--ink-muted);
}

.lp-cta-text {
  color: #ffffff;
  opacity: 0.9;
}

.lp-footer-brand-text {
  color: var(--ink-faint);
  font-size: 13px;
  max-width: 320px;
}

.lp-footer-link-static {
  font-size: 13px;
  color: var(--ink-faint);
  cursor: default;
}

@media (max-width: 900px) {
  .lp-how-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .lp-security-wrapper {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

@media (max-width: 600px) {
  .lp-security-grid {
    grid-template-columns: 1fr;
  }
}

/* Landing Page Icon Coloring Classes */
.lp-icon-tangerine {
  background: var(--tangerine-bg) !important;
  color: var(--tangerine) !important;
}

.lp-icon-gold {
  background: var(--gold-bg) !important;
  color: var(--gold-dark) !important;
}

.lp-icon-blue {
  background: var(--blue-bg) !important;
  color: var(--blue) !important;
}

.lp-icon-green {
  background: var(--green-bg) !important;
  color: var(--green) !important;
}

.sim-activity-text {
  font-weight: 600;
}
.sim-activity-text.sim-activity-fee {
  color: var(--gold-dark);
}
.sim-activity-time {
  color: var(--ink-muted);
  font-size: 8px;
}

.lp-hero-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: var(--ink-muted);
  margin-top: 8px;
}

.lp-paystack-badge {
  height: 14px;
  width: auto;
  display: block;
}

/* Split CTA Layout */
.lp-cta-banner-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-top: 40px;
}

.lp-cta-image-col {
  display: flex;
  justify-content: center;
  align-items: center;
}

.lp-cta-image {
  width: 100%;
  max-width: 450px;
  height: auto;
  border-radius: var(--r-xl);
  object-fit: cover;
}

.lp-cta-text-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.lp-cta-heading-dark {
  color: #030016 !important;
}

.lp-cta-text-dark {
  color: #030016 !important;
  opacity: 0.8;
  font-size: 16px;
}

.lp-btn-gradient {
  background: linear-gradient(135deg, var(--blue), var(--blue-mid)) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(46, 5, 194, 0.2);
}

.lp-btn-gradient:hover {
  background: linear-gradient(135deg, var(--blue-mid), var(--blue)) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(46, 5, 194, 0.35);
}

@media (max-width: 900px) {
  .lp-cta-banner-split {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
}

/* Scroll Animation Styles */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(80px) scale(0.96);
  transition: opacity 2.0s cubic-bezier(0.16, 1, 0.3, 1), transform 2.0s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

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

.lp-btn-lg {
  padding: 20px 28px !important;
}

/* Hamburger Button Style */
.lp-hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1000;
}

.lp-hamburger-bar {
  width: 100%;
  height: 2.5px;
  background-color: var(--ink);
  border-radius: var(--r-pill);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  transform-origin: left center;
}

/* Hamburger active transformation to 'X' */
.lp-hamburger.active {
  position: relative;
  z-index: 1010;
}

.lp-hamburger.active .lp-hamburger-bar:nth-child(1) {
  transform: rotate(45deg) translate(2px, -2px);
}

.lp-hamburger.active .lp-hamburger-bar:nth-child(2) {
  opacity: 0;
  transform: scale(0);
}

.lp-hamburger.active .lp-hamburger-bar:nth-child(3) {
  transform: rotate(-45deg) translate(2px, 2px);
}

/* Mobile Drawer Overlay */
.lp-drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(3, 0, 22, 0.4);
  backdrop-filter: blur(4px);
  z-index: 980;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.lp-drawer-overlay.is-active {
  opacity: 1;
  pointer-events: auto;
}

/* Mobile Drawer Panel */
.lp-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 320px;
  max-width: 85vw;
  height: 100vh;
  background: #ffffff;
  z-index: 990;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: -10px 0 30px rgba(3, 0, 22, 0.08);
  display: flex;
  flex-direction: column;
}

.lp-drawer.is-open {
  transform: translateX(0);
}

.lp-drawer-content {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 100px 32px 128px 32px;
  justify-content: space-between;
}

.lp-drawer-menu {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-end;
}

.lp-drawer-link {
  font-size: 24px;
  font-weight: 800;
  color: var(--ink);
  transition: color var(--transition);
  text-align: right;
  margin-bottom: 5%;
}

.lp-drawer-link:hover {
  color: var(--blue);
}

.lp-drawer-actions {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-end;
  width: 100%;
}

.lp-drawer-signin {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink-muted);
  transition: color var(--transition);
  margin-bottom: 8px;
}

.lp-drawer-signin:hover {
  color: var(--blue);
}

.lp-drawer-btn {
  width: 100%;
  text-align: center;
}

/* Body lock */
body.overflow-hidden {
  overflow: hidden;
}

/* Media Query tweaks for Header */
@media (max-width: 900px) {
  .lp-menu, .lp-nav-actions {
    display: none;
  }
  
  .lp-hamburger {
    display: flex;
  }

  .lp-final-cta-section {
    padding-bottom: 5% !important;
  }
}

/* Custom Nav Action Button Classes */
.lp-btn-custom-pad {
  padding: 10px 28px !important;
}

.lp-btn-signin {
  background: #ffffff !important;
  color: var(--blue) !important;
  border: 1px solid var(--blue) !important;
  box-shadow: 0 4px 12px rgba(46, 5, 194, 0.08) !important;
  text-align: center;
  justify-content: center;
}

.lp-btn-signin:hover {
  background: var(--blue-bg) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(46, 5, 194, 0.15) !important;
}

/* Drawer Specific Button overrides */
.lp-drawer .lp-btn-signin {
  border-width: 1px !important;
}

/* Open drawer header transparency and overlay click-through pass-through */
body.overflow-hidden .lp-header {
  z-index: 1005 !important;
  background: transparent !important;
  border-bottom-color: transparent !important;
  box-shadow: none !important;
  pointer-events: none;
}

body.overflow-hidden .lp-header .lp-logo {
  opacity: 0 !important;
  pointer-events: none !important;
}

body.overflow-hidden .lp-header .lp-hamburger {
  pointer-events: auto;
}

/* Final CTA Section Styles (Zero Inline Styles Clean) */
.lp-final-cta-section {
  padding: 40px 24px 0 !important;
}

