/* Landing Page Styles — owner_parser_portal */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=Space+Grotesk:wght@500;600;700&display=swap');

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

:root {
  --lp-primary: #1F4E79;
  --lp-primary-light: #2E75B6;
  --lp-accent: #ED7D31;
  --lp-bg: #F0F4F9;
  --lp-card: #ffffff;
  --lp-text: #1a2535;
  --lp-muted: #6b7a8d;
  --lp-border: #d0dce8;
  --lp-gradient: linear-gradient(135deg, #1F4E79, #2E75B6);
  --lp-hero-bg: linear-gradient(180deg, #F0F4F9 0%, #e3eaf3 100%);
  --lp-shadow-soft: 0 4px 24px -4px rgba(31,78,121,0.12);
  --lp-shadow-card: 0 8px 32px -8px rgba(26,37,53,0.08);
  --lp-radius: 0.75rem;
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--lp-text);
  background: var(--lp-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Space Grotesk', sans-serif;
  line-height: 1.1;
}

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

/* ── Text gradient ─────────────────────────── */
.text-gradient {
  background: var(--lp-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Buttons ───────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 0.875rem 2rem;
  border-radius: var(--lp-radius);
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.2s;
}
.btn:hover { opacity: 0.9; transform: translateY(-1px); }

.btn-primary {
  background: var(--lp-gradient);
  color: #fff;
  box-shadow: var(--lp-shadow-soft);
}
.btn-outline {
  background: transparent;
  color: var(--lp-text);
  border: 1.5px solid var(--lp-border);
}
.btn-outline:hover { border-color: var(--lp-primary); }

.btn-white {
  background: #fff;
  color: var(--lp-text);
  box-shadow: var(--lp-shadow-soft);
}

.btn svg { width: 20px; height: 20px; }

/* ── Hero Section ──────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--lp-hero-bg);
}
.hero-decor {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.hero-decor .circle {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}
.hero-decor .circle-1 {
  width: 600px; height: 600px;
  top: -200px; right: -200px;
  background: rgba(31,78,121,0.06);
}
.hero-decor .circle-2 {
  width: 500px; height: 500px;
  bottom: -200px; left: -200px;
  background: rgba(237,125,49,0.06);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
  padding: 6rem 0 4rem;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  background: rgba(31,78,121,0.1);
  color: var(--lp-primary);
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 2rem;
}
.pulse-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--lp-primary);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%,100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.hero-desc {
  font-size: 1.125rem;
  color: var(--lp-muted);
  max-width: 500px;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Hero image card */
.hero-image-wrap {
  position: relative;
}
.hero-image-card {
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: var(--lp-shadow-card);
  background: var(--lp-card);
  padding: 1rem;
}
.hero-image-card img {
  width: 100%;
  height: auto;
  border-radius: 0.75rem;
  display: block;
}

/* Floating stat cards */
.stat-card {
  position: absolute;
  background: var(--lp-card);
  border-radius: var(--lp-radius);
  padding: 1rem;
  box-shadow: var(--lp-shadow-card);
  border: 1px solid var(--lp-border);
}
.stat-card-left {
  bottom: -1.5rem;
  left: -1.5rem;
}
.stat-card-right {
  top: -1rem;
  right: -1rem;
}
.stat-value {
  font-size: 1.5rem;
  font-weight: 700;
}
.stat-value.primary { color: var(--lp-primary); }
.stat-value.accent { color: var(--lp-accent); }
.stat-label {
  font-size: 0.8125rem;
  color: var(--lp-muted);
}

/* ── Features Section ──────────────────────── */
.features {
  padding: 6rem 0;
  background: var(--lp-bg);
}
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}
.section-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
.section-header p {
  font-size: 1.125rem;
  color: var(--lp-muted);
  max-width: 600px;
  margin: 0 auto;
}

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

.feature-card {
  background: var(--lp-card);
  border-radius: 1rem;
  padding: 2rem;
  border: 1px solid var(--lp-border);
  transition: box-shadow 0.3s, transform 0.3s;
}
.feature-card:hover {
  box-shadow: var(--lp-shadow-card);
  transform: translateY(-4px);
}

.feature-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  background: var(--lp-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.feature-icon svg {
  width: 24px;
  height: 24px;
  stroke: #fff;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.feature-card p {
  color: var(--lp-muted);
  line-height: 1.6;
}

/* ── How It Works ──────────────────────────── */
.how-it-works {
  padding: 6rem 0;
  background: #e8eef5;
}

.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 960px;
  margin: 0 auto;
}

.step {
  text-align: center;
  position: relative;
}
.step-number {
  font-size: 4.5rem;
  font-weight: 700;
  opacity: 0.15;
  margin-bottom: 1rem;
}
.step h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}
.step p {
  color: var(--lp-muted);
  line-height: 1.6;
}
.step-arrow {
  display: none;
  position: absolute;
  top: 2.5rem;
  right: -1rem;
  width: 2rem;
  color: rgba(107,122,141,0.3);
}

/* ── CTA Section ───────────────────────────── */
.cta-section {
  padding: 6rem 0;
  background: var(--lp-bg);
}
.cta-box {
  position: relative;
  border-radius: 1.5rem;
  background: var(--lp-gradient);
  padding: 4rem 2rem;
  text-align: center;
  overflow: hidden;
}
.cta-box .cta-decor {
  position: absolute;
  width: 256px;
  height: 256px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  filter: blur(40px);
}
.cta-decor-1 { top: -5rem; right: -5rem; }
.cta-decor-2 { bottom: -5rem; left: -5rem; }

.cta-content {
  position: relative;
  z-index: 1;
}
.cta-content h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1.5rem;
}
.cta-content p {
  font-size: 1.125rem;
  color: rgba(255,255,255,0.8);
  max-width: 540px;
  margin: 0 auto 2.5rem;
}

/* ── Footer ────────────────────────────────── */
.landing-footer {
  padding: 2rem 0;
  border-top: 1px solid var(--lp-border);
  background: var(--lp-bg);
  text-align: center;
}
.landing-footer p {
  font-size: 0.875rem;
  color: var(--lp-muted);
}

/* ── Animations ────────────────────────────── */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

.animate-slide-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.animate-slide-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.animate-hero-text {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.7s ease-out forwards;
}
@keyframes fadeInUp {
  to { opacity: 1; transform: translateY(0); }
}

.animate-hero-badge {
  opacity: 0;
  transform: scale(0.9);
  animation: fadeInScale 0.5s ease-out 0.2s forwards;
}
@keyframes fadeInScale {
  to { opacity: 1; transform: scale(1); }
}

.stat-float {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}
.stat-float.visible {
  opacity: 1;
  transform: translateY(0);
}
.stat-float.delay-1 { transition-delay: 0.8s; }
.stat-float.delay-2 { transition-delay: 1s; }

/* Stagger delays for feature cards */
.feature-card:nth-child(1) { transition-delay: 0s; }
.feature-card:nth-child(2) { transition-delay: 0.1s; }
.feature-card:nth-child(3) { transition-delay: 0.2s; }
.feature-card:nth-child(4) { transition-delay: 0.3s; }
.feature-card:nth-child(5) { transition-delay: 0.4s; }
.feature-card:nth-child(6) { transition-delay: 0.5s; }

/* Stagger delays for steps */
.step:nth-child(1) { transition-delay: 0s; }
.step:nth-child(2) { transition-delay: 0.15s; }
.step:nth-child(3) { transition-delay: 0.3s; }

/* ── Responsive ────────────────────────────── */
@media (min-width: 640px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 768px) {
  .steps-grid { grid-template-columns: repeat(3, 1fr); }
  .step-arrow { display: block; }
  .step-number { font-size: 5rem; }
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    padding: 5rem 0;
  }
  .hero h1 { font-size: 4.5rem; }
  .hero-desc { font-size: 1.25rem; }
  .features-grid { grid-template-columns: repeat(3, 1fr); }
  .section-header h2 { font-size: 3rem; }
  .cta-content h2 { font-size: 3rem; }
  .cta-box { padding: 5rem 3rem; }
}
