/**
 * Layer-o Pulse — Landing Page Stylesheet
 * Enterprise-Grade SaaS aesthetic based on Layero Design System
 */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Outfit:wght@500;600;700;800&display=swap');

:root {
  --bg-page: #f8fafc;
  --bg-surface: #ffffff;
  --text-primary: #1e293b;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --border-subtle: #e2e8f0;
  
  --color-primary: #F08C00;
  --color-primary-hover: #D97E00;
  --color-primary-bg: #FFF3E0;
  --gradient-primary: linear-gradient(135deg, #F08C00 0%, #d67a00 100%);
  --gradient-hero: radial-gradient(circle at 50% 0%, rgba(240, 140, 0, 0.08) 0%, rgba(248, 250, 252, 0) 70%);

  --card-radius: 1.25rem;
  --card-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.08);
  --card-shadow-hover: 0 20px 40px -12px rgba(0, 0, 0, 0.14);
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg-page);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Outfit', sans-serif;
  color: var(--text-primary);
}

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

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

/* ── Navbar ── */
.navbar {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
  z-index: 1000;
  padding: 1rem 0;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: 'Outfit', sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-primary);
}

.brand-badge {
  background: var(--gradient-primary);
  color: white;
  padding: 0.25rem 0.6rem;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 700;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-link {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-secondary);
  transition: color 0.2s ease;
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.35rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 0.75rem;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
}

.btn-primary {
  background: var(--gradient-primary);
  color: white;
  box-shadow: 0 4px 14px rgba(240, 140, 0, 0.35);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #e07f00 0%, #c46d00 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(240, 140, 0, 0.45);
}

.btn-outline {
  background: white;
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
}

.btn-outline:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: var(--color-primary-bg);
}

.btn-text {
  background: transparent;
  color: var(--text-secondary);
}

.btn-text:hover {
  color: var(--color-primary);
}

.btn-sm {
  padding: 0.45rem 1rem;
  font-size: 0.85rem;
  border-radius: 0.6rem;
}

/* ── Hero Section ── */
.hero-section {
  padding: 5.5rem 0 4rem;
  background: var(--gradient-hero);
  text-align: center;
  position: relative;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1.1rem;
  border-radius: 30px;
  background: var(--color-primary-bg);
  border: 1px solid #ffd8a8;
  color: #b45309;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: 3.25rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  max-width: 900px;
  margin: 0 auto 1.5rem;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-secondary);
  max-width: 750px;
  margin: 0 auto 2.5rem;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin-bottom: 3.5rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 800px;
  margin: 0 auto;
}

.stat-card {
  background: white;
  padding: 1.5rem;
  border-radius: var(--card-radius);
  box-shadow: var(--card-shadow);
  border: 1px solid rgba(226, 232, 240, 0.6);
}

.stat-number {
  font-family: 'Outfit', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* ── Section Headings ── */
.section {
  padding: 5rem 0;
}

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

.section-title {
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
}

/* ── Features Grid ── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: white;
  padding: 2.25rem 2rem;
  border-radius: var(--card-radius);
  box-shadow: var(--card-shadow);
  transition: all 0.3s ease;
  border: 1px solid rgba(226, 232, 240, 0.7);
  display: flex;
  flex-direction: column;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--card-shadow-hover);
  border-color: #fed7aa;
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--color-primary-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  font-weight: 700;
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.55;
}

/* ── How It Works ── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  position: relative;
}

.step-card {
  background: white;
  padding: 2.25rem;
  border-radius: var(--card-radius);
  box-shadow: var(--card-shadow);
  border: 1px solid var(--border-subtle);
  position: relative;
}

.step-badge {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--color-primary);
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.step-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.step-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* ── Pricing Section ── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
  max-width: 900px;
  margin: 0 auto;
}

.pricing-card {
  background: white;
  padding: 3rem 2.5rem;
  border-radius: var(--card-radius);
  box-shadow: var(--card-shadow);
  border: 2px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.3s ease;
}

.pricing-card.highlight {
  border-color: var(--color-primary);
  box-shadow: 0 16px 36px -10px rgba(240, 140, 0, 0.2);
}

.pricing-pill {
  position: absolute;
  top: -14px;
  right: 28px;
  background: var(--gradient-primary);
  color: white;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.3rem 0.85rem;
  border-radius: 20px;
}

.pricing-name {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.pricing-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 1.75rem;
}

.pricing-price-wrap {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  margin-bottom: 2rem;
}

.pricing-price {
  font-family: 'Outfit', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  color: var(--text-primary);
}

.pricing-period {
  color: var(--text-muted);
  font-size: 1.1rem;
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  margin-bottom: 2.5rem;
  flex-grow: 1;
}

.pricing-feature-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.pricing-feature-item::before {
  content: "✓";
  font-weight: 900;
  color: var(--color-primary);
  background: var(--color-primary-bg);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  flex-shrink: 0;
}

/* ── Footer ── */
.footer {
  background: white;
  border-top: 1px solid var(--border-subtle);
  padding: 3rem 0;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-brand {
  font-family: 'Outfit', sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

/* ── Hamburger Button (hidden on desktop) ── */
.hamburger-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
  z-index: 1100;
}

.hamburger-line {
  display: block;
  width: 22px;
  height: 2.5px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger-btn--active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger-btn--active .hamburger-line:nth-child(2) {
  opacity: 0;
}
.hamburger-btn--active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile actions (CTA + hamburger) — hidden on desktop */
.nav-mobile-actions {
  display: none;
  align-items: center;
  gap: 0.75rem;
}

/* Desktop: nav-menu is inline flex */
.nav-menu {
  display: contents;
}

/* ── Badges & Solutions Showcase ── */
.badge-new {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  background: linear-gradient(135deg, #F08C00 0%, #ea580c 100%);
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 3px 8px;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(240, 140, 0, 0.28);
}

.feature-header-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.solution-card {
  background: #ffffff;
  border-radius: var(--card-radius);
  padding: 2.5rem 2rem;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.solution-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.solution-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--card-shadow-hover);
  border-color: #fed7aa;
}

.solution-card:hover::before {
  opacity: 1;
}

.solution-icon {
  font-size: 2.2rem;
  margin-bottom: 1.25rem;
  display: inline-block;
}

.solution-title {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.solution-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.55;
  margin-bottom: 1.75rem;
  flex-grow: 0;
}

.solution-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: auto;
  padding-top: 1.25rem;
  border-top: 1px solid #f1f5f9;
}

.solution-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

.solution-item svg {
  color: var(--color-primary);
  flex-shrink: 0;
  margin-top: 2px;
}

/* ── Responsive: Tablet (≤ 768px) ── */
@media (max-width: 768px) {

  /* --- Container padding --- */
  .container {
    padding: 0 1rem;
  }

  /* --- Navbar: hamburger mode --- */
  .nav-mobile-actions {
    display: flex;
  }

  .nav-cta-desktop {
    display: none !important;
  }

  .hamburger-btn {
    display: flex;
  }

  .nav-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    background: #ffffff;
    z-index: 1050;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    padding: 4rem 2rem 3rem;
    overflow-y: auto;
  }

  .nav-menu--open {
    display: flex;
  }

  .nav-menu .nav-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    list-style: none;
  }

  .nav-menu .nav-link {
    font-size: 1.25rem;
    font-weight: 600;
  }

  .nav-menu .nav-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    width: 100%;
  }

  .nav-menu .nav-actions .btn {
    width: 100%;
    max-width: 280px;
    text-align: center;
    justify-content: center;
  }

  /* --- Hero typography --- */
  .hero-section {
    padding: 3.5rem 0 2.5rem;
  }

  .hero-pill {
    font-size: 0.75rem;
    padding: 0.3rem 0.85rem;
    margin-bottom: 1rem;
  }

  .hero-title {
    font-size: 2rem;
    line-height: 1.2;
    margin-bottom: 1rem;
    padding: 0 0.25rem;
  }

  .hero-subtitle {
    font-size: 0.95rem;
    padding: 0 0.5rem;
    margin-bottom: 2rem;
    line-height: 1.55;
  }

  /* --- Hero buttons: stacked --- */
  .hero-buttons {
    flex-direction: column;
    gap: 0.875rem;
    width: 100%;
    padding: 0 1.25rem;
    margin-bottom: 2.5rem;
  }

  .hero-buttons .btn {
    width: 100%;
    text-align: center;
    justify-content: center;
    padding: 0.85rem 1.5rem !important;
    font-size: 1rem !important;
  }

  /* --- Stats grid: 1 column --- */
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
    max-width: 100%;
  }

  .stat-card {
    padding: 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
  }

  .stat-number {
    font-size: 1.6rem;
    margin-bottom: 0;
    flex-shrink: 0;
  }

  .stat-label {
    font-size: 0.85rem;
  }

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

  .section-header {
    margin-bottom: 2.5rem;
  }

  .section-title {
    font-size: 1.6rem;
    line-height: 1.25;
    padding: 0 0.25rem;
  }

  .section-subtitle {
    font-size: 0.95rem;
    padding: 0 0.25rem;
  }

  /* --- Feature / Steps / Pricing / Solutions grids: 1 column --- */
  .features-grid,
  .solutions-grid {
    grid-template-columns: 1fr !important;
    gap: 1.25rem;
  }

  .feature-card,
  .solution-card {
    padding: 1.75rem 1.5rem;
  }

  .steps-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .step-card {
    padding: 1.75rem 1.5rem;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .pricing-card {
    padding: 2rem 1.5rem;
  }

  .pricing-price {
    font-size: 2.25rem;
  }

  /* --- Catalog carousel --- */
  .public-category-card {
    width: 260px !important;
    padding: 1.25rem !important;
  }

  /* --- Footer --- */
  .footer {
    padding: 2rem 0;
  }

  .footer-brand {
    font-size: 1.05rem;
  }

  .footer p {
    font-size: 0.82rem;
    padding: 0 0.5rem;
  }
}

/* ── Responsive: Small phones (≤ 480px) ── */
@media (max-width: 480px) {
  .container {
    padding: 0 0.875rem;
  }

  .hero-title {
    font-size: 1.65rem;
  }

  .hero-subtitle {
    font-size: 0.88rem;
  }

  .hero-buttons {
    padding: 0 0.5rem;
  }

  .section-title {
    font-size: 1.4rem;
  }

  .stat-card {
    padding: 1rem;
  }
}

/* ── Product Showcase Tabs (Hero Interactive Preview) ── */
.hero-showcase-wrap {
  max-width: 1080px;
  margin: 2.75rem auto 0;
  text-align: center;
}

.showcase-tabs {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #ffffff;
  padding: 0.4rem;
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.showcase-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 1.15rem;
  border-radius: 999px;
  border: none;
  background: transparent;
  color: var(--text-secondary);
  font-family: 'Inter', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.showcase-tab-btn:hover {
  color: var(--text-primary);
  background: #f8fafc;
}

.showcase-tab-btn.active {
  background: var(--gradient-primary);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(240, 140, 0, 0.3);
}

.showcase-stage {
  position: relative;
  border-radius: 1.25rem;
  background: #ffffff;
  padding: 0.65rem;
  border: 1px solid rgba(203, 213, 225, 0.85);
  box-shadow: 0 28px 60px -15px rgba(15, 23, 42, 0.16);
}

.showcase-panel {
  display: none;
}

.showcase-panel.active {
  display: block;
}

.showcase-img {
  width: 100%;
  height: auto;
  border-radius: 0.85rem;
  display: block;
}

.showcase-caption {
  margin-top: 0.85rem;
  font-size: 0.88rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ── Split-Screen Visual Showcases ── */
.split-showcase {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 3.25rem;
  align-items: center;
  margin-bottom: 4.5rem;
}

.split-showcase.reverse {
  grid-template-columns: 1.15fr 1fr;
}

.split-showcase:last-child {
  margin-bottom: 0;
}

.split-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--color-primary-bg);
  color: #b45309;
  border: 1px solid #ffd8a8;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.split-title {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.split-desc {
  font-size: 1.02rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.bullet-check-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 1.75rem;
}

.bullet-check-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

.bullet-check-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #ecfdf5;
  color: #059669;
  font-weight: 900;
  font-size: 0.8rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.split-visual-card {
  background: #ffffff;
  border-radius: 1.15rem;
  padding: 0.6rem;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 20px 45px -12px rgba(15, 23, 42, 0.13);
  transition: transform 0.3s ease;
}

.split-visual-card:hover {
  transform: translateY(-4px);
}

.split-visual-card img {
  width: 100%;
  height: auto;
  border-radius: 0.8rem;
  display: block;
}

@media (max-width: 920px) {
  .split-showcase,
  .split-showcase.reverse {
    grid-template-columns: 1fr;
    gap: 1.75rem;
    margin-bottom: 3rem;
  }

  .split-title {
    font-size: 1.55rem;
  }

  .showcase-tabs {
    border-radius: 1rem;
  }
}
