/* FlowManager Landing – Custom styles */

:root {
  --primary: #0d6efd;
  --primary-dark: #0a58ca;
  --accent: #20c997;
  --accent-soft: rgba(32, 201, 151, 0.15);
  --dark: #1a1d29;
  --dark-soft: #2d3142;
}

* {
  box-sizing: border-box;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--dark);
  overflow-x: hidden;
}

/* Navbar */
#mainNav {
  background: transparent;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

#mainNav.scrolled {
  background: rgba(26, 29, 41, 0.95);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.navbar-logo {
  height: 66px;
  width: auto;
  display: block;
}

.nav-link {
  font-weight: 500;
  padding: 0.5rem 1rem !important;
}

.nav-link:hover {
  color: var(--accent) !important;
}

.btn-primary {
  background: var(--primary);
  border-color: var(--primary);
  font-weight: 600;
}

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

.text-accent {
  color: var(--accent);
}

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-soft) 50%, #3d4263 100%);
  color: white;
  position: relative;
  overflow: hidden;
  min-height: 115vh;
}

@media (max-width: 991.98px) {
  .hero {
    min-height: auto;
    padding-top: 72px;
    padding-bottom: 60px;
  }
  .custom{
    margin-bottom: 120px; 
  }

  .hero .row.min-vh-100 {
    min-height: 0;
    align-items: flex-start;
  }
}

.hero-shape {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: white;
  clip-path: polygon(0 50%, 100% 0, 100% 100%, 0 100%);
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.hero-subtitle {
  font-size: 1.15rem;
  opacity: 0.9;
  max-width: 520px;
}

.hero-cta {
  margin-top: 2.25rem;
}

.hero-cta .btn {
  font-weight: 600;
  border-radius: 12px;
  margin-top: 1.25rem;
}

.hero-visual {
  perspective: 1000px;
}

.hero-visual.theme-shot-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.hero-visual .device-mockup {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.05);
  margin: 0 auto;
}

.hero-visual .device-mockup.phone {
  max-width: 280px;
  border: 8px solid #0d0d0d;
  border-radius: 36px;
}

.hero-visual .device-mockup img {
  display: block;
}

.hero-theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-theme-toggle .form-check {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 0;
}

.hero-theme-toggle .toggle-label {
  font-weight: 600;
  color: white;
  min-width: 44px;
}

.badge.bg-accent {
  background: var(--accent) !important;
  color: var(--dark);
}

/* Stats / Social proof */
.stat-card {
  background: var(--accent-soft);
  transition: transform 0.2s;
}

.stat-card:hover {
  transform: translateY(-2px);
}

/* Features */
.section-title {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.feature-card {
  background: white;
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.3s, transform 0.2s;
}

.feature-card:hover {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.feature-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
  height: 100%;
}

.feature-card-link:hover {
  color: inherit;
}

.feature-card-link:hover .feature-card {
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
  transform: translateY(-4px);
  border-color: rgba(13, 110, 253, 0.3);
}

.feature-icon {
  font-size: 2rem;
  line-height: 1;
}

/* How it works */
.step-number {
  width: 56px;
  height: 56px;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 700;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Pricing */
.pricing-card {
  background: white;
  border: 1px solid rgba(0, 0, 0, 0.08);
  transition: box-shadow 0.3s, transform 0.2s;
}

.pricing-card:hover {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
  transform: translateY(-4px);
}

.pricing-featured {
  border-width: 2px;
  box-shadow: 0 8px 30px rgba(13, 110, 253, 0.15);
}

.pricing-featured-orange {
  border-color: #fd7e14 !important;
  border-width: 2px;
  box-shadow: 0 8px 30px rgba(253, 126, 20, 0.2);
}

.pricing-features-table .table {
  border-radius: 12px;
  overflow: hidden;
}

.pricing-features-table .table th {
  font-weight: 600;
}

.pricing-features-table .table td:first-child {
  font-weight: 500;
}

.pricing-features-table .plan-icon {
  display: inline-block;
  vertical-align: middle;
}

.price .display-5 {
  color: var(--dark);
}

/* CTA section */
.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, #0a58ca 100%);
}

/* Footer */
.footer-logo {
  height: 66px;
  width: auto;
  display: block;
}

footer a:hover {
  color: var(--accent) !important;
}

/* Legal pages – sticky nav */
body.legal-page main {
  padding-top: 5.5rem;
}

/* Utilities */
.text-white-50:hover {
  color: white !important;
}
