/* ==========================================================================
   Flytmode — Design System
   Warm, light, professional. Ink + Brand Orange + Teal. Navy used sparingly.
   ========================================================================== */

:root {
  --ink: #1b1c20;
  --ink-2: #45474f;
  --ink-3: #6f7178;
  --paper: #fbfaf7;
  --surface: #ffffff;
  --surface-2: #f4f1ea;
  --surface-3: #efece3;
  --line: #e7e2d6;
  --line-strong: #d9d3c3;

  --brand: #ff6b35;
  --brand-600: #e5541f;
  --brand-700: #c2441a;
  --brand-50: #fff2ea;
  --brand-100: #ffe1cf;

  --teal: #0d6e63;
  --teal-600: #0a564d;
  --teal-50: #e9f5f2;

  --navy: #191f34;
  --navy-2: #232a45;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 22px;
  --radius-xl: 28px;

  --shadow-sm: 0 1px 2px rgba(24, 20, 12, 0.06), 0 1px 1px rgba(24, 20, 12, 0.04);
  --shadow-md: 0 12px 28px -12px rgba(24, 20, 12, 0.16);
  --shadow-lg: 0 30px 60px -20px rgba(24, 20, 12, 0.28);

  --font-head: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink-2);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  color: var(--ink);
  font-weight: 800;
  letter-spacing: -0.02em;
}

p { line-height: 1.7; }

a { color: var(--brand-600); }
a:hover { color: var(--brand-700); }

.text-ink { color: var(--ink) !important; }
.text-ink-2 { color: var(--ink-2) !important; }
.text-ink-3 { color: var(--ink-3) !important; }
.text-brand { color: var(--brand) !important; }
.text-teal { color: var(--teal) !important; }

.bg-paper { background: var(--paper) !important; }
.bg-surface-2 { background: var(--surface-2) !important; }
.bg-navy { background: var(--navy) !important; }

.fw-800 { font-weight: 800; }
.fw-700 { font-weight: 700; }

.section { padding: 6.5rem 0; }
.section-sm { padding: 3.5rem 0; }
@media (max-width: 767.98px) {
  .section { padding: 4rem 0; }
  .section-sm { padding: 2.5rem 0; }
}

.container-xl { max-width: 1240px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-600);
  background: var(--brand-50);
  border: 1px solid var(--brand-100);
  border-radius: 100px;
  padding: 0.4rem 0.9rem;
  margin-bottom: 1.25rem;
}

.eyebrow .bi { font-size: 0.85rem; }

.eyebrow.teal {
  color: var(--teal-600);
  background: var(--teal-50);
  border-color: #cfe6e1;
}

.eyebrow.on-dark {
  color: #ffd8c2;
  background: rgba(255, 107, 53, 0.15);
  border-color: rgba(255, 107, 53, 0.3);
}

.section-head { max-width: 680px; }
.section-head.mx-auto { text-align: center; }

.lede {
  font-size: 1.1rem;
  color: var(--ink-3);
}

/* ---------- Buttons ---------- */
.btn { font-family: var(--font-head); font-weight: 700; border-radius: 10px; padding: 0.7rem 1.5rem; font-size: 0.95rem; transition: all 0.25s ease; }

.btn-brand {
  background: var(--brand);
  border: 1px solid var(--brand);
  color: #fff;
}
.btn-brand:hover, .btn-brand:focus {
  background: var(--brand-600);
  border-color: var(--brand-600);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 14px 24px -10px rgba(255, 107, 53, 0.45);
}

.btn-outline-ink {
  background: transparent;
  border: 1.5px solid var(--line-strong);
  color: var(--ink);
}
.btn-outline-ink:hover {
  border-color: var(--ink);
  color: var(--ink);
  background: var(--surface-2);
  transform: translateY(-2px);
}

.btn-outline-light-soft {
  background: transparent;
  border: 1.5px solid rgba(255,255,255,0.35);
  color: #fff;
}
.btn-outline-light-soft:hover {
  background: rgba(255,255,255,0.1);
  border-color: #fff;
  color: #fff;
  transform: translateY(-2px);
}

.btn-white {
  background: #fff;
  border: 1px solid #fff;
  color: var(--navy);
}
.btn-white:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); color: var(--navy); }

.btn-lg { padding: 0.9rem 2rem; font-size: 1rem; }
.btn-sm { padding: 0.5rem 1.1rem; font-size: 0.85rem; }

/* ---------- Navbar ---------- */
.navbar-glass {
  background: rgba(251, 250, 247, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: all 0.3s ease;
  padding: 1.1rem 0;
}
.navbar-glass.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 4px 20px -8px rgba(24,20,12,0.08);
  padding: 0.7rem 0;
}

.navbar-brand {
  font-family: var(--font-head);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1;
}

.navbar-brand .brand-name {
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: -0.03em;
}

.navbar-brand .brand-tagline {
  font-family: var(--font-body, inherit);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--ink-3);
  margin-top: 0.15rem;
}

.nav-link {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink-2) !important;
  padding: 0.6rem 1rem !important;
}
.nav-link:hover, .nav-link:focus { color: var(--brand-600) !important; }
.navbar-nav .dropdown-toggle::after { vertical-align: 0.15em; }

.mega-menu {
  border-radius: var(--radius);
  padding: 0.6rem;
  min-width: 320px;
  box-shadow: var(--shadow-lg);
  margin-top: 0.5rem;
}

.mega-item {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  padding: 0.7rem 0.75rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: var(--ink);
  transition: background 0.2s ease;
}
.mega-item:hover { background: var(--surface-2); color: var(--ink); }
.mega-item .mega-icon {
  flex: none;
  width: 38px; height: 38px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  background: var(--brand-50);
  color: var(--brand-600);
  font-size: 1.05rem;
}
.mega-item .mega-icon.teal { background: var(--teal-50); color: var(--teal-600); }
.mega-item strong { font-family: var(--font-head); font-size: 0.92rem; display: block; }
.mega-item span { font-size: 0.8rem; color: var(--ink-3); }

/* ---------- Offcanvas mobile nav ---------- */
.offcanvas-nav .nav-link { padding: 0.75rem 0 !important; border-bottom: 1px solid var(--line); }
.offcanvas-nav .accordion-button { font-family: var(--font-head); font-weight: 700; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 8.5rem 0 5rem;
  overflow: hidden;
}
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  z-index: 0;
  opacity: 0.55;
}
.hero-blob.b1 { width: 480px; height: 480px; background: var(--brand-100); top: -180px; right: -120px; }
.hero-blob.b2 { width: 380px; height: 380px; background: var(--teal-50); bottom: -160px; left: -100px; }
.hero .container { position: relative; z-index: 1; }

.hero-page {
  padding: 3rem 0 4rem;
}

.hero h1 {
  font-size: clamp(2.2rem, 4.2vw, 3.4rem);
  line-height: 1.08;
  margin-bottom: 1.25rem;
}

.hero-tag {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--teal-600);
  font-family: var(--font-head);
  margin-bottom: 0.75rem;
}

.hero-visual {
  position: relative;
}

.floating-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 1.25rem 1.4rem;
}

/* ---------- Trust strip ---------- */
.trust-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 1.6rem 0;
  background: var(--surface-2);
}
.trust-strip .trust-label {
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.trust-chip {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--ink-2);
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  opacity: 0.75;
}
.trust-chip .bi { color: var(--brand); }

/* ---------- Cards ---------- */
.icon-badge {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: var(--brand-50);
  color: var(--brand-600);
  font-size: 1.35rem;
  margin-bottom: 1.1rem;
}
.icon-badge.teal { background: var(--teal-50); color: var(--teal-600); }
.icon-badge.navy { background: rgba(25,31,52,0.06); color: var(--navy); }

.card-feature {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem;
  height: 100%;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}
.card-feature:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--line-strong);
}
.card-feature h4 {
  font-size: 1.08rem;
  margin-bottom: 0.6rem;
}
.card-feature p { font-size: 0.95rem; margin-bottom: 0; color: var(--ink-3); }

.card-flat {
  background: var(--surface-2);
  border-radius: var(--radius);
  padding: 2rem;
  height: 100%;
}

/* ---------- Product/Service summary cards (home) ---------- */
.product-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  height: 100%;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.product-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.product-card .card-arrow {
  position: absolute;
  top: 2rem; right: 2rem;
  color: var(--ink-3);
  transition: all 0.25s ease;
}
.product-card:hover .card-arrow { color: var(--brand); transform: translate(3px, -3px); }
.product-card ul { list-style: none; padding: 0; margin: 1.1rem 0 0; }
.product-card ul li {
  font-size: 0.88rem;
  color: var(--ink-2);
  padding: 0.3rem 0 0.3rem 1.3rem;
  position: relative;
}
.product-card ul li::before {
  content: "\f633";
  font-family: "bootstrap-icons";
  position: absolute; left: 0; top: 0.28rem;
  color: var(--teal);
  font-size: 0.8rem;
}

/* ---------- Stat band ---------- */
.stat-band {
  border-radius: var(--radius-xl);
  padding: 3.5rem 3rem;
}
.stat-value {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(2.1rem, 4vw, 2.8rem);
  color: var(--brand);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.stat-band.on-dark .stat-value { color: #ffb088; }
.stat-label {
  font-size: 0.92rem;
  color: var(--ink-3);
}
.stat-band.on-dark .stat-label { color: rgba(255,255,255,0.65); }
.stat-band.on-dark { color: #fff; }

/* ---------- Timeline (How it works) ---------- */
.timeline { position: relative; }
.timeline::before {
  content: "";
  position: absolute;
  left: 27px; top: 10px; bottom: 10px;
  width: 2px;
  background: linear-gradient(var(--brand-100), var(--teal-50));
}
.timeline-item {
  position: relative;
  padding-left: 5rem;
  padding-bottom: 3rem;
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-num {
  position: absolute;
  left: 0; top: 0;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--surface);
  border: 2px solid var(--brand);
  color: var(--brand-600);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.2rem;
  display: flex; align-items: center; justify-content: center;
  z-index: 1;
}

/* ---------- Pricing ---------- */
.pricing-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  height: 100%;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.pricing-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.pricing-card.featured {
  border: 2px solid var(--brand);
  box-shadow: var(--shadow-lg);
}
.pricing-ribbon {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--brand);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.4rem 1rem;
  border-radius: 100px;
  white-space: nowrap;
}
.price-value { font-family: var(--font-head); font-weight: 800; font-size: 2.4rem; color: var(--ink); }
.pricing-card ul { list-style: none; padding: 0; margin: 1.5rem 0; }
.pricing-card ul li { padding: 0.5rem 0; font-size: 0.92rem; color: var(--ink-2); display: flex; gap: 0.6rem; align-items: flex-start; }
.pricing-card ul li .bi { color: var(--teal); margin-top: 0.2rem; }

/* ---------- CTA band ---------- */
.cta-band {
  border-radius: var(--radius-xl);
  padding: 4rem 3rem;
  position: relative;
  overflow: hidden;
}
.cta-band.brand-grad {
  background: linear-gradient(120deg, var(--brand) 0%, var(--brand-700) 100%);
  color: #fff;
}
.cta-band.navy-grad {
  background: linear-gradient(120deg, var(--navy) 0%, var(--navy-2) 100%);
  color: #fff;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,0.82); }

/* ---------- Footer ---------- */
footer.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.65);
  padding: 4.5rem 0 2rem;
}
footer.site-footer .footer-brand {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.4rem;
  color: #fff;
}
footer.site-footer h6 {
  color: #fff;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1.1rem;
}
footer.site-footer a {
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  font-size: 0.92rem;
  display: block;
  margin-bottom: 0.7rem;
  transition: color 0.2s ease;
}
footer.site-footer a:hover { color: #fff; }
footer.site-footer .footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  margin-top: 2.5rem;
  padding-top: 1.75rem;
  font-size: 0.85rem;
}
footer.site-footer .social-btn {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff;
  transition: all 0.2s ease;
}
footer.site-footer .social-btn:hover { background: var(--brand); border-color: var(--brand); }

/* ---------- Scroll reveal ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Misc ---------- */
.divider-soft { height: 1px; background: var(--line); border: none; }

.avatar-quote {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-50), var(--teal-50));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head);
  font-weight: 800;
  color: var(--brand-600);
}

.quote-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
}
.quote-card .bi-quote { font-size: 1.8rem; color: var(--brand-100); }

.step-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.85rem;
  margin-right: 0.6rem;
}

.form-control, .form-select {
  border: 1.5px solid var(--line-strong);
  border-radius: 10px;
  padding: 0.7rem 1rem;
  font-size: 0.95rem;
}
.form-control:focus, .form-select:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px var(--brand-50);
}
label.form-label {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--ink);
  margin-bottom: 0.4rem;
}

.badge-soft {
  background: var(--surface-2);
  color: var(--ink-2);
  font-weight: 600;
  font-size: 0.78rem;
  padding: 0.4rem 0.8rem;
  border-radius: 100px;
}

.breadcrumb-bar { background: var(--surface-2); padding: 0.9rem 0; margin-top: 88px; }
@media (max-width: 991.98px) {
  .breadcrumb-bar { margin-top: 76px; }
}
.breadcrumb-bar a { color: var(--ink-3); text-decoration: none; font-size: 0.85rem; }
.breadcrumb-bar a:hover { color: var(--brand-600); }
.breadcrumb-bar .bi { font-size: 0.7rem; margin: 0 0.4rem; color: var(--ink-3); }
