.public-navbar {
  background: linear-gradient(135deg, var(--primary-900), var(--primary-700) 60%, var(--primary-600));
  box-shadow: 0 2px 16px rgba(0,0,0,.25);
  padding: 12px 0;
}
.public-navbar .navbar-brand {
  font-size: 1.25rem; font-weight: 800; color: #fff !important;
  display: flex; align-items: center; gap: 10px;
}
.public-navbar .navbar-brand img { width: 34px; height: 34px; border-radius: 8px; object-fit: cover; }
.public-navbar .nav-link {
  color: rgba(255,255,255,.85) !important; font-weight: 500;
  font-size: .9rem; padding: 6px 14px !important;
  border-radius: 8px; transition: background .2s, color .2s;
}
.public-navbar .nav-link:hover, .public-navbar .nav-link.active {
  color: #fff !important; background: rgba(255,255,255,.12);
}
.public-navbar .navbar-toggler-icon { filter: invert(1); }

.landing-hero {
  background: linear-gradient(135deg, var(--primary-900), var(--primary-700) 50%, var(--primary-600));
  color: #fff; padding: 80px 0 72px;
  text-align: center; position: relative; overflow: hidden;
}
.landing-hero::after {
  content: ''; position: absolute; bottom: -2px; left: 0; right: 0;
  height: 60px; background: var(--bg-body);
  border-radius: 50% 50% 0 0 / 30px 30px 0 0;
}
.landing-hero h1 { font-size: 2.8rem; font-weight: 800; letter-spacing: -1px; margin-bottom: 12px; }
.landing-hero p {
  font-size: 1.15rem; opacity: .88;
  max-width: 560px; margin: 0 auto 32px; line-height: 1.6;
}
.landing-hero .hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.landing-hero .hero-cta a {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 700;
  padding: 14px 32px; border-radius: 14px; text-decoration: none;
  transition: transform .2s, box-shadow .2s;
}
.landing-hero .hero-cta .btn-primary-hero {
  background: #fff; color: var(--primary-800); box-shadow: 0 6px 20px rgba(0,0,0,.2);
}
.landing-hero .hero-cta .btn-primary-hero:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(0,0,0,.3); }
.landing-hero .hero-cta .btn-outline-hero {
  background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.5);
}
.landing-hero .hero-cta .btn-outline-hero:hover { background: rgba(255,255,255,.12); border-color: #fff; transform: translateY(-2px); }

.btn-watch-demo {
  display: inline-flex; align-items: center; gap: 10px;
  color: rgba(255,255,255,.9); font-size: .92rem; font-weight: 600;
  text-decoration: none !important; border: 1.5px solid rgba(255,255,255,.35);
  padding: 10px 26px; border-radius: 50px;
  transition: all .25s ease; background: rgba(255,255,255,.08);
}
.btn-watch-demo .demo-play-icon {
  width: 28px; height: 28px; border-radius: 50%;
  background: #4ade80; display: flex;
  align-items: center; justify-content: center; flex-shrink: 0;
  transition: transform .25s ease;
}
.btn-watch-demo .demo-play-icon i { font-size: .75rem; color: #14532d; margin-left: 2px; }
.btn-watch-demo:hover { background: rgba(255,255,255,.15); border-color: rgba(255,255,255,.7); color: #fff; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,.2); }
.btn-watch-demo:hover .demo-play-icon { transform: scale(1.12); }

.section-pad { padding: 64px 0; }

.feature-card {
  border: none; border-radius: 16px; padding: 28px 24px;
  height: 100%; background: #fff;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
  transition: transform .2s, box-shadow .2s;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: 0 8px 28px rgba(0,0,0,.1); }
.feature-card .icon-wrap {
  width: 52px; height: 52px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin-bottom: 16px;
}
.feature-card h5 { font-weight: 700; margin-bottom: 8px; color: var(--primary-700); }
.feature-card p { font-size: .9rem; color: var(--gray-500); margin-bottom: 0; line-height: 1.6; }

.step-circle {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--primary-100); color: var(--primary-600);
  font-size: 1.3rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 12px;
}

.cta-section {
  background: linear-gradient(135deg, var(--primary-700), var(--primary-500));
  color: #fff; text-align: center; padding: 60px 24px; border-radius: 20px;
}
.cta-section h2 { font-weight: 800; font-size: 1.8rem; }
.cta-section p { opacity: .9; max-width: 480px; margin: 8px auto 24px; }
.cta-section a {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; color: var(--primary-700);
  font-weight: 700; padding: 14px 36px; border-radius: 14px;
  text-decoration: none; transition: transform .2s;
}
.cta-section a:hover { transform: translateY(-2px); }

.public-page { display: flex; flex-direction: column; min-height: 100vh; }
.public-page main { flex: 1; }

@media (max-width: 576px) {
  .landing-hero h1 { font-size: 2rem; }
  .landing-hero { padding: 48px 0 56px; }
  .landing-hero p { font-size: 1rem; }
  .landing-hero .hero-cta a { padding: 12px 24px; font-size: .9rem; width: 100%; justify-content: center; }
  .section-pad { padding: 40px 0; }
  .feature-card { padding: 20px 18px; }
  .feature-card .icon-wrap { width: 42px; height: 42px; font-size: 1.2rem; }
  .public-navbar { padding: 8px 0; }
  .public-navbar .navbar-brand { font-size: 1.05rem; }
  .public-navbar .navbar-brand img { width: 28px; height: 28px; }
  .public-navbar .navbar-collapse .btn { width: 100%; margin-top: 4px; }
  .cta-section { padding: 40px 16px; }
  .cta-section h2 { font-size: 1.4rem; }
  .cta-section a { padding: 12px 28px; font-size: .9rem; width: 100%; justify-content: center; }
}

@media (max-width: 375px) {
  .landing-hero h1 { font-size: 1.6rem; }
  .landing-hero p { font-size: .88rem; }
  .landing-hero { padding: 36px 0 40px; }
  .landing-hero .hero-cta { flex-direction: column; align-items: stretch; }
  .landing-hero .hero-cta a { width: 100%; }
  .section-pad { padding: 28px 0; }
}

@media (max-width: 320px) {
  .landing-hero h1 { font-size: 1.4rem; }
  .cta-section h2 { font-size: 1.2rem; }
}

@media (min-width: 768px) {
  main { animation: fadeIn .25s ease both; }
}
