/* ==========================================================================
   $1Apps — Modern Design System Stylesheet
   Based on original visual reference: Dark navy theme, golden yellow accents,
   Space Grotesk & Inter typography, sleek cards, glowing elements.
   ========================================================================== */

:root {
  --navy: #071426;
  --navy2: #0b1b30;
  --card: #0d2037;
  --card-hover: #112741;
  --card-light: #122842;
  --line: #28415d;
  --line-light: #38577a;
  --yellow: #ffc629;
  --yellow2: #ffdb55;
  --yellow-glow: rgba(255, 198, 41, 0.16);
  --yellow-subtle: rgba(255, 198, 41, 0.06);
  --white: #f7f9fc;
  --muted: #a9b8c9;
  --muted-light: #c2cfdd;
  --blue: #4ba8ff;
  --blue-soft: #248bff;
  --teal: #14b8a6;
  --teal-soft: #0d9488;
  --teal-glow: rgba(20, 184, 166, 0.22);
  --teal-subtle: rgba(20, 184, 166, 0.08);
  --green: #41d98a;
  --green-soft: #27bf75;
  --purple: #9a6cff;
  --orange: #ff7445;
  --red: #e94b55;
  --max: 1120px;
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   Base & Reset
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: clip;
}

body {
  margin: 0;
  padding: 0;
  background: radial-gradient(circle at 72% 13%, rgba(255, 198, 41, 0.08), transparent 25%),
              radial-gradient(circle at 20% 65%, rgba(75, 168, 255, 0.05), transparent 30%),
              linear-gradient(135deg, #06111f, #0a1728 60%, #071321);
  background-attachment: fixed;
  color: var(--white);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

p {
  margin-top: 0;
  margin-bottom: 1rem;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  line-height: 1.15;
  margin-top: 0;
  color: var(--white);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul, ol {
  padding-left: 20px;
}

.wrap {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

/* ==========================================================================
   Navigation Bar & Header
   ========================================================================== */
.site-header {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(7, 20, 38, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(40, 65, 93, 0.6);
  transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.site-header.scrolled {
  background: rgba(6, 17, 31, 0.98);
  border-bottom-color: rgba(40, 65, 93, 0.9);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.site-header nav {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--white);
}

.brand-logo-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.brand-logo-link:hover {
  transform: translateY(-1px);
  opacity: 0.95;
}

.site-logo-img {
  height: 38px;
  width: auto;
  max-width: 195px;
  display: block;
  object-fit: contain;
}

.footer-logo-img {
  height: 44px;
  width: auto;
  max-width: 215px;
  display: block;
  object-fit: contain;
  margin-bottom: 16px;
  transition: transform 0.2s ease;
}

.footer-logo-img:hover {
  transform: translateY(-2px);
}

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--yellow);
  color: #071426;
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 18px;
  box-shadow: 0 0 25px rgba(255, 198, 41, 0.25);
  transition: transform 0.2s ease;
  overflow: hidden;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  display: block;
}

.brand:hover .brand-mark {
  transform: rotate(-6deg) scale(1.05);
}

.brand b {
  color: var(--yellow);
}

.navlinks {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--muted-light);
  font-size: 14px;
  font-weight: 500;
}

.navlinks a {
  position: relative;
  padding: 6px 0;
  color: #c0cddd;
}

.navlinks a:hover {
  color: #ffffff;
}

.navlinks a.active {
  color: var(--yellow);
  font-weight: 600;
}

.navlinks a.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--yellow);
  border-radius: 2px;
  box-shadow: 0 0 8px var(--yellow);
}

.nav-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}

.signin {
  border: 1px solid #8da0b6;
  border-radius: 24px;
  padding: 9px 20px;
  font-weight: 600;
  font-size: 13px;
  color: var(--white);
  background: transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.signin:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.06);
}

.start, .btn-primary {
  background: var(--yellow);
  color: #071426;
  border: 0;
  border-radius: 24px;
  padding: 10px 22px;
  font-weight: 800;
  font-size: 13px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  box-shadow: 0 8px 24px rgba(255, 198, 41, 0.2);
  transition: var(--transition);
}

.start:hover, .btn-primary:hover {
  background: var(--yellow2);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(255, 198, 41, 0.35);
  color: #071426;
}

.btn-secondary {
  background: transparent;
  border: 1px solid var(--yellow);
  color: var(--yellow);
  border-radius: 24px;
  padding: 10px 22px;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: var(--transition);
}

.btn-secondary:hover {
  background: var(--yellow);
  color: #071426;
  transform: translateY(-2px);
}

/* ==========================================================================
   Flagship Card Action Button Groups
   ========================================================================== */
.card-btn-group {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: auto;
  padding-top: 14px;
  width: 100%;
}

.card-btn-group > * {
  flex: 1 1 0;
  min-width: 0;
  height: 42px;
  padding: 0 10px;
  font-size: 13px;
  font-weight: 700;
  border-radius: 21px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  box-sizing: border-box;
  transition: var(--transition);
  line-height: 1;
}

/* Default / Yellow Theme (Little Bees) */
.btn-card-outline {
  background: rgba(255, 198, 41, 0.05);
  border: 1px solid var(--yellow);
  color: var(--yellow);
}

.btn-card-outline:hover {
  background: rgba(255, 198, 41, 0.18);
  color: #fff;
  transform: translateY(-2px);
}

.btn-card-solid {
  background: var(--yellow);
  border: 1px solid var(--yellow);
  color: #071426;
}

.btn-card-solid:hover {
  background: var(--yellow2);
  border-color: var(--yellow2);
  color: #071426;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(255, 198, 41, 0.35);
}

/* Blue Theme (BEESBOOK) */
.btn-card-outline.btn-blue {
  background: rgba(75, 168, 255, 0.06);
  border: 1px solid var(--blue);
  color: var(--blue);
}

.btn-card-outline.btn-blue:hover {
  background: rgba(75, 168, 255, 0.2);
  color: #fff;
  transform: translateY(-2px);
}

.btn-card-solid.btn-blue {
  background: var(--blue);
  border: 1px solid var(--blue);
  color: #071426;
}

.btn-card-solid.btn-blue:hover {
  background: #6bb9ff;
  border-color: #6bb9ff;
  color: #071426;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(75, 168, 255, 0.35);
}

/* Teal Theme (MediPal) */
.btn-card-outline.btn-teal {
  background: rgba(20, 184, 166, 0.06);
  border: 1px solid var(--teal);
  color: var(--teal);
}

.btn-card-outline.btn-teal:hover {
  background: rgba(20, 184, 166, 0.2);
  color: #fff;
  transform: translateY(-2px);
}

.btn-card-solid.btn-teal {
  background: var(--teal);
  border: 1px solid var(--teal);
  color: #042326;
}

.btn-card-solid.btn-teal:hover {
  background: #2dd4bf;
  border-color: #2dd4bf;
  color: #042326;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(20, 184, 166, 0.35);
}

/* Mobile Toggle Hamburger Button */
.mobile-toggle {
  display: none;
  background: rgba(13, 32, 55, 0.7);
  border: 1px solid var(--line);
  color: var(--white);
  width: 44px;
  height: 44px;
  border-radius: 12px;
  cursor: pointer;
  padding: 10px;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  z-index: 101;
  transition: var(--transition);
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.mobile-toggle:hover, .mobile-toggle:active {
  background: #112844;
  border-color: var(--yellow);
}

.mobile-toggle span {
  display: block;
  width: 22px;
  height: 2.5px;
  background: var(--white);
  border-radius: 3px;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease;
}

.mobile-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}
.mobile-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ==========================================================================
   Off-Canvas Mobile Side Menu & Overlay
   ========================================================================== */
.mobile-side-overlay {
  position: fixed;
  inset: 0;
  background: rgba(2, 8, 16, 0.78);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s ease, visibility 0.28s ease;
  touch-action: none;
}

.mobile-side-overlay.open {
  opacity: 1;
  visibility: visible;
}

.mobile-side-menu {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(340px, 86vw);
  height: 100vh;
  height: 100dvh;
  background: linear-gradient(180deg, #071526 0%, #0a1b2f 60%, #06111f 100%);
  border-left: 1px solid rgba(40, 65, 93, 0.7);
  box-shadow: -15px 0 50px rgba(0, 0, 0, 0.85);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  transform: translateX(105%);
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.mobile-side-menu.open {
  transform: translateX(0);
}

.mobile-side-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid rgba(40, 65, 93, 0.5);
  background: rgba(7, 20, 38, 0.6);
  flex-shrink: 0;
}

.mobile-side-close {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #081a2e;
  border: 1px solid var(--line);
  color: var(--muted-light);
  font-size: 18px;
  font-weight: 700;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: var(--transition);
  touch-action: manipulation;
  line-height: 1;
}

.mobile-side-close:hover, .mobile-side-close:active {
  background: var(--yellow);
  color: #071426;
  border-color: var(--yellow);
}

.svg-ico {
  width: 18px;
  height: 18px;
  display: inline-block;
  vertical-align: middle;
  fill: currentColor;
  flex-shrink: 0;
}

.svg-ico-sm { width: 14px; height: 14px; }
.svg-ico-lg { width: 22px; height: 22px; }

.mobile-side-body {
  padding: 16px 20px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 16px;
  text-align: left;
  align-items: stretch;
  justify-content: flex-start;
  width: 100%;
  box-sizing: border-box;
}

.mobile-side-links {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  justify-content: flex-start !important;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  text-align: left !important;
  gap: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  box-sizing: border-box !important;
}

.mobile-side-links > a {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100% !important;
  box-sizing: border-box !important;
  padding: 15px 12px !important;
  font-size: 16px !important;
  font-weight: 500 !important;
  color: #c5d3e2 !important;
  border-radius: 0 !important;
  background: transparent !important;
  border: none !important;
  border-bottom: 1px solid rgba(40, 65, 93, 0.3) !important;
  text-align: left !important;
  text-decoration: none !important;
  transition: color 0.2s ease, background 0.2s ease, padding-left 0.2s ease !important;
  touch-action: manipulation !important;
}

.mobile-side-links > a:last-of-type {
  border-bottom: none !important;
}

.mobile-side-links > a span {
  display: inline-flex;
  align-items: center;
  text-align: left;
  margin-right: auto;
}

.mobile-side-links > a:hover, 
.mobile-side-links > a:active {
  color: var(--white) !important;
  background: rgba(255, 255, 255, 0.03) !important;
  padding-left: 16px !important;
}

.mobile-side-links > a.active {
  color: var(--yellow) !important;
  font-weight: 700 !important;
  background: rgba(255, 198, 41, 0.07) !important;
  border-left: 4px solid var(--yellow) !important;
  padding-left: 14px !important;
}

.mobile-side-links > a i {
  font-style: normal;
  font-size: 20px;
  color: #557291;
  transition: transform 0.2s ease, color 0.2s ease;
  line-height: 1;
  margin-left: auto;
  flex-shrink: 0;
}

.mobile-side-links > a:hover i, 
.mobile-side-links > a.active i {
  color: var(--yellow);
  transform: translateX(3px);
}

.mobile-sublinks {
  padding: 6px 0 10px 14px !important;
  margin: 4px 0 8px 8px !important;
  border-left: 2px solid rgba(40, 65, 93, 0.5) !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  width: calc(100% - 16px) !important;
  box-sizing: border-box !important;
  gap: 2px !important;
  text-align: left !important;
}

.mobile-sublinks a {
  padding: 10px 12px !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  color: #8da4be !important;
  border-radius: 6px !important;
  display: block !important;
  width: 100% !important;
  box-sizing: border-box !important;
  text-align: left !important;
  background: transparent !important;
  border: none !important;
  transition: color 0.2s ease, background 0.2s ease, padding-left 0.2s ease !important;
  touch-action: manipulation !important;
  text-decoration: none !important;
}

.mobile-sublinks a:hover, 
.mobile-sublinks a:active {
  color: var(--yellow) !important;
  background: rgba(255, 198, 41, 0.06) !important;
  padding-left: 16px !important;
}

.mobile-sublinks a.active {
  color: var(--yellow) !important;
  font-weight: 600;
}

.mobile-side-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid rgba(40, 65, 93, 0.5);
  text-align: left;
}

.mobile-side-footer {
  text-align: left;
  font-size: 11.5px;
  color: #637e9b;
  padding-top: 2px;
}

/* Prevent body scrolling when side menu is open */
body.menu-open {
  overflow: hidden !important;
  touch-action: none;
}

/* ==========================================================================
   Typography & Common Section Headers
   ========================================================================== */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #c99e18;
  color: var(--yellow);
  border-radius: 30px;
  padding: 7px 15px;
  font-size: 12px;
  font-weight: 700;
  background: rgba(255, 198, 41, 0.05);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.eyebrow-blue {
  border-color: #248bff;
  color: var(--blue);
  background: rgba(36, 139, 255, 0.08);
}

.eyebrow-teal {
  border-color: var(--teal);
  color: var(--teal);
  background: var(--teal-subtle);
}

.eyebrow-green {
  border-color: #27bf75;
  color: var(--green);
  background: rgba(39, 191, 117, 0.08);
}

section {
  padding: 80px 0;
  position: relative;
}

.section-title {
  text-align: center;
  margin-bottom: 48px;
}

.section-title.text-left {
  text-align: left;
}

.section-title h2 {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(28px, 4vw, 42px);
  margin: 12px 0;
  letter-spacing: -0.03em;
}

.section-title h2 span {
  color: var(--yellow);
}

.section-title p {
  color: var(--muted);
  font-size: 16px;
  max-width: 640px;
  margin: 0 auto;
}

.section-title.text-left p {
  margin: 0;
}

.title-icon {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  background: var(--yellow);
  color: #071426;
  border-radius: 50%;
  font-size: 16px;
  font-weight: 900;
  box-shadow: 0 0 16px rgba(255, 198, 41, 0.3);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  min-height: 600px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 50px;
  padding: 50px 0 80px;
}

.hero-page {
  text-align: center;
  padding: 60px 0 40px;
  position: relative;
}

.hero-page h1 {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(38px, 5.5vw, 62px);
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin: 18px 0;
}

.hero-page h1 span {
  color: var(--yellow);
}

.hero-page p {
  font-size: 18px;
  color: #c1cddd;
  max-width: 680px;
  margin: 0 auto 30px;
}

h1 {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(44px, 5.5vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.05em;
  margin: 20px 0 18px;
}

h1 span {
  color: var(--yellow);
}

.hero-copy > p {
  font-size: 17px;
  color: #c1cddd;
  max-width: 560px;
  margin-bottom: 24px;
}

.checks {
  display: flex;
  gap: 22px;
  margin: 28px 0 32px;
  flex-wrap: wrap;
}

.check {
  display: grid;
  grid-template-columns: 28px auto;
  column-gap: 10px;
  align-items: center;
}

.check i {
  grid-row: span 2;
  width: 26px;
  height: 26px;
  background: var(--yellow);
  color: #071426;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-style: normal;
  font-weight: 900;
  font-size: 13px;
}

.check strong {
  font-size: 13px;
  color: var(--white);
}

.check small {
  color: #8497ad;
  font-size: 11px;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--yellow);
  color: #071426;
  padding: 14px 28px;
  border-radius: 28px;
  font-weight: 800;
  font-size: 15px;
  box-shadow: 0 12px 35px rgba(255, 198, 41, 0.25);
  transition: var(--transition);
}

.hero-btn:hover {
  background: var(--yellow2);
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(255, 198, 41, 0.4);
  color: #071426;
}

/* ==========================================================================
   Visual & Phone Device Mockup
   ========================================================================== */
.visual {
  position: relative;
  min-height: 480px;
  display: grid;
  place-items: center;
}

.glow {
  position: absolute;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: rgba(255, 198, 41, 0.12);
  filter: blur(45px);
  pointer-events: none;
}

.glow.blue {
  background: rgba(75, 168, 255, 0.15);
}

.phone {
  position: relative;
  width: 270px;
  height: 490px;
  border: 5px solid #263c53;
  border-radius: 38px;
  background: #081728;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.7), 0 0 45px rgba(255, 198, 41, 0.15);
  transform: rotate(6deg);
  padding: 14px;
  overflow: hidden;
  transition: transform 0.4s ease;
  z-index: 2;
}

.phone:hover {
  transform: rotate(0deg) scale(1.02);
}

.notch {
  width: 95px;
  height: 20px;
  border-radius: 20px;
  background: #02070c;
  margin: 0 auto 12px;
}

.screen-brand {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 17px;
  margin: 5px 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.screen-brand span {
  color: var(--yellow);
}

.screen-sub {
  font-size: 10px;
  color: #8ea0b4;
  margin: 0 6px 12px;
}

.app-list {
  display: grid;
  gap: 8px;
}

.app-mini {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border-radius: 12px;
  background: #10243b;
  border: 1px solid #1e3853;
  transition: transform 0.2s ease, background 0.2s ease;
}

.app-mini:hover {
  background: #142d4a;
  transform: translateX(4px);
}

.app-mini .ico {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 900;
  color: #fff;
  flex-shrink: 0;
}

.ico.yellow { background: var(--yellow); color: #071426; }
.ico.blue { background: #248bff; }
.ico.teal { background: #14b8a6; }
.ico.red { background: #e94b55; }
.ico.green { background: #27bf75; }
.ico.purple { background: #8655f3; }
.ico.orange { background: #f36d35; }

.app-mini div:nth-child(2) {
  font-size: 11px;
  font-weight: 700;
  flex: 1;
}

.app-mini small {
  display: block;
  color: #758ba3;
  font-weight: 400;
  font-size: 9.5px;
}

.app-mini b {
  font-size: 11px;
  color: var(--yellow);
}

.float {
  position: absolute;
  padding: 12px 16px;
  border-radius: 14px;
  background: #10243a;
  border: 1px solid #29435e;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.45);
  font-weight: 800;
  font-size: 12px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 8px;
  animation: floatAnim 4s ease-in-out infinite alternate;
}

.float.one {
  top: 70px;
  left: 0px;
  animation-delay: 0s;
}

.float.two {
  right: -10px;
  top: 180px;
  animation-delay: 1.5s;
}

.float.three {
  left: 20px;
  bottom: 50px;
  animation-delay: 0.8s;
}

@keyframes floatAnim {
  0% { transform: translateY(0px); }
  100% { transform: translateY(-8px); }
}

.scribble {
  position: absolute;
  right: -15px;
  top: 40px;
  color: var(--yellow);
  font-family: 'Comic Sans MS', cursive, sans-serif;
  font-size: 18px;
  transform: rotate(-8deg);
  line-height: 1.2;
}

/* ==========================================================================
   Product Cards & Plan Grids
   ========================================================================== */
.plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 22px;
}

.plans-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.plans-3col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: 24px;
}

@media (min-width: 1024px) {
  .plans-3col {
    grid-template-columns: repeat(3, 1fr);
  }
}

.plan, .card {
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px;
  background: linear-gradient(160deg, rgba(17, 39, 63, 0.75), rgba(7, 20, 35, 0.8));
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.plan:hover, .card:hover {
  border-color: #476582;
  transform: translateY(-4px);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.35);
}

.plan.featured {
  border-color: rgba(255, 198, 41, 0.5);
  background: linear-gradient(160deg, rgba(23, 49, 78, 0.85), rgba(11, 27, 48, 0.9));
}

.featured-badge {
  position: absolute;
  top: 14px;
  right: 18px;
  background: var(--yellow);
  color: #071426;
  font-size: 10.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: 12px;
  white-space: nowrap;
}

/* Card Header Container: Ensures top badges never overlap app titles */
.plan-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
  width: 100%;
}

.plan-card-header .plan-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 0;
  flex: 1;
  min-width: 0;
}

.plan-card-header .featured-badge {
  position: static;
  flex-shrink: 0;
  margin-top: 2px;
}

.plan > .featured-badge + .plan-top {
  padding-top: 10px;
  padding-right: 125px;
}

@media (max-width: 520px) {
  .plan-card-header {
    flex-direction: column-reverse;
    align-items: flex-start;
    gap: 10px;
  }
  .plan-card-header .featured-badge {
    margin-top: 0;
    margin-bottom: 2px;
  }
}

.plan-top {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 16px;
}

.plan-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #071426;
  border: 1px solid #1f354d;
  display: grid;
  place-items: center;
  color: var(--yellow);
  font-size: 20px;
  flex-shrink: 0;
}

.plan-icon.blue {
  color: var(--blue);
  border-color: rgba(75, 168, 255, 0.3);
}

.plan-icon.teal {
  color: var(--teal);
  border-color: rgba(20, 184, 166, 0.4);
}

.plan-icon.green {
  color: var(--green);
  border-color: rgba(65, 217, 138, 0.3);
}

.plan h3 {
  margin: 0;
  font-size: 20px;
}

.plan-meta {
  color: #8297ad;
  font-size: 12px;
  display: block;
}

.amount {
  font-family: "Space Grotesk", sans-serif;
  font-size: 40px;
  font-weight: 700;
  margin: 12px 0 16px;
  color: var(--white);
}

.amount small {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--yellow);
}

.plan ul {
  list-style: none;
  padding: 0;
  margin: 18px 0 24px;
}

.plan li {
  font-size: 13.5px;
  color: #c2cfdd;
  padding: 6px 0;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.plan li::before {
  content: '\2713';
  color: var(--yellow);
  font-weight: 900;
  font-size: 14px;
  flex-shrink: 0;
}

.plan button, .plan .btn-outline {
  width: 100%;
  background: transparent;
  border: 1px solid var(--yellow);
  color: var(--yellow);
  border-radius: 24px;
  padding: 12px;
  font-weight: 800;
  font-size: 13.5px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: var(--transition);
}

.plan button:hover, .plan .btn-outline:hover {
  background: var(--yellow);
  color: #071426;
}

/* ==========================================================================
   How It Works Section
   ========================================================================== */
.how {
  border: 1px solid #213c58;
  border-radius: 24px;
  background: linear-gradient(145deg, #0c2036, #09192b);
  padding: 34px;
  display: grid;
  grid-template-columns: 1.1fr 2fr;
  gap: 36px;
  align-items: center;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.35);
}

.how-head {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.bolt {
  width: 52px;
  height: 52px;
  flex: none;
  border-radius: 50%;
  background: var(--yellow);
  color: #071426;
  display: grid;
  place-items: center;
  font-size: 24px;
  font-weight: 900;
  box-shadow: 0 0 20px rgba(255, 198, 41, 0.35);
}

.how h2 {
  font-family: "Space Grotesk", sans-serif;
  margin: 0 0 8px;
  font-size: 28px;
}

.how p {
  color: var(--muted);
  font-size: 14px;
  margin: 0;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.step {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.step-num {
  width: 38px;
  height: 38px;
  border: 1px solid #54718e;
  background: #071426;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 14px;
  color: var(--yellow);
  flex: none;
}

.step b {
  display: block;
  font-size: 14px;
  margin-bottom: 2px;
}

.step span {
  color: #8ea0b4;
  font-size: 12px;
  line-height: 1.4;
}

.secure {
  text-align: center;
  color: #91a4b9;
  font-size: 12px;
  margin-top: 30px;
}

.secure b {
  color: var(--yellow);
}

/* ==========================================================================
   Product Spotlight Layouts (Little Bees & BEESBOOK)
   ========================================================================== */
.product-spotlight {
  padding: 60px 0;
  border-bottom: 1px solid rgba(40, 65, 93, 0.4);
}

.product-hero-card {
  border: 1px solid var(--line);
  border-radius: 26px;
  background: linear-gradient(155deg, rgba(16, 38, 62, 0.85), rgba(7, 20, 36, 0.95));
  padding: 44px;
  margin-bottom: 50px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  position: relative;
  overflow: hidden;
}

.product-hero-card.beesbook-card {
  border-color: rgba(75, 168, 255, 0.35);
  background: linear-gradient(155deg, rgba(13, 34, 58, 0.9), rgba(7, 19, 34, 0.96));
}

.product-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
}

.product-grid.reverse {
  grid-template-columns: 1fr 1.2fr;
}

.product-badge-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.lang-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(40, 65, 93, 0.4);
  border: 1px solid #325070;
  border-radius: 20px;
  padding: 4px 12px;
  font-size: 11.5px;
  color: var(--muted-light);
  font-weight: 600;
}

.lang-pill i {
  color: var(--yellow);
  font-style: normal;
}

.product-hero-card h2 {
  font-size: clamp(32px, 4vw, 44px);
  margin-bottom: 8px;
}

.product-hero-card .tagline {
  font-size: 18px;
  color: var(--yellow);
  font-weight: 600;
  margin-bottom: 16px;
}

.product-hero-card.beesbook-card .tagline {
  color: var(--blue);
}

.product-desc {
  font-size: 15.5px;
  color: #c0cddd;
  line-height: 1.65;
  margin-bottom: 24px;
}

.feature-pill-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 30px;
}

.feature-pill-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(10, 24, 40, 0.6);
  border: 1px solid rgba(40, 65, 93, 0.5);
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 13px;
  color: #d1dde9;
}

.feature-pill-item .check-ico {
  color: var(--yellow);
  font-weight: 900;
  font-size: 14px;
}

.product-hero-card.beesbook-card .feature-pill-item .check-ico {
  color: var(--blue);
}

.product-hero-card.medipal-card .feature-pill-item .check-ico {
  color: var(--teal);
}

/* Feature bullets layout support */
.feature-bullets {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 20px 0 28px;
}

.bullet-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.bullet-ico {
  width: 24px;
  height: 24px;
  min-width: 24px;
  max-width: 24px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 13px;
  font-weight: 800;
  margin-top: 2px;
  box-sizing: border-box;
}

.bullet-item h4 {
  margin: 0 0 4px;
  font-size: 14.5px;
  color: var(--white);
}

.bullet-item p {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}

/* App Download Buttons */
.download-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 24px;
}

.btn-store {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #091a2d;
  border: 1px solid #2d4a6a;
  border-radius: 14px;
  padding: 10px 18px;
  color: var(--white);
  transition: var(--transition);
  min-width: 170px;
}

.btn-store:hover {
  border-color: var(--yellow);
  background: #0e243d;
  transform: translateY(-2px);
}

.btn-store svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
  flex-shrink: 0;
}

.btn-store div {
  text-align: left;
}

.btn-store small {
  display: block;
  font-size: 10px;
  color: #8ea0b4;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.btn-store strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
}

/* Product Showcase Visual */
.product-visual-wrap {
  position: relative;
  display: grid;
  place-items: center;
}

.product-logo-display {
  width: 240px;
  height: 240px;
  border-radius: 50%;
  box-shadow: 0 0 60px rgba(255, 198, 41, 0.25), 0 20px 40px rgba(0, 0, 0, 0.6);
  border: 4px solid rgba(255, 198, 41, 0.4);
  transition: transform 0.4s ease;
  background: #ffd943;
}

.product-logo-display:hover {
  transform: scale(1.05) rotate(3deg);
}

/* Interactive Mockup Screens */
.app-mockup-frame {
  width: 100%;
  max-width: 320px;
  background: #091b2e;
  border: 2px solid #2a4768;
  border-radius: 30px;
  padding: 16px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
  position: relative;
}

.mockup-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #1a3552;
  padding-bottom: 12px;
  margin-bottom: 14px;
}

.mockup-title {
  font-weight: 700;
  font-size: 13px;
  color: var(--white);
}

.mockup-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10.5px;
  color: var(--green);
}

.mockup-status::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--green);
  border-radius: 50%;
  display: inline-block;
}

/* Little Bees Interactive Demo Widget */
.bees-interactive-demo {
  background: #0c2037;
  border: 1px solid #233e5c;
  border-radius: 18px;
  padding: 16px;
  text-align: center;
}

.lang-tabs {
  display: flex;
  gap: 6px;
  justify-content: center;
  margin-bottom: 14px;
}

.lang-tab {
  background: #071426;
  border: 1px solid #1f3752;
  color: #9cb1c7;
  font-size: 11px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 14px;
  cursor: pointer;
  transition: var(--transition);
}

.lang-tab.active, .lang-tab:hover {
  background: var(--yellow);
  color: #071426;
  border-color: var(--yellow);
}

.word-card-demo {
  background: radial-gradient(circle at 50% 30%, rgba(255, 198, 41, 0.12), transparent 70%), #071526;
  border: 1px dashed #3a5779;
  border-radius: 16px;
  padding: 20px 16px;
  margin-bottom: 12px;
}

.word-card-emoji {
  font-size: 48px;
  margin-bottom: 6px;
}

.word-card-primary {
  font-size: 22px;
  font-weight: 800;
  color: var(--yellow);
  margin-bottom: 2px;
}

.word-card-sub {
  font-size: 13px;
  color: #b5c7da;
}

.voice-indicator {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: #7992ad;
  margin-top: 8px;
}

/* BEESBOOK Interactive Scanner Demo */
.receipt-scanner-demo {
  background: #0c2037;
  border: 1px solid #233e5c;
  border-radius: 18px;
  padding: 16px;
}

.receipt-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  font-weight: 700;
  color: #8da3bc;
  margin-bottom: 10px;
}

.scanner-feed {
  background: #071527;
  border: 1px dashed #248bff;
  border-radius: 12px;
  padding: 14px;
  position: relative;
  overflow: hidden;
  margin-bottom: 12px;
}

.scanner-line {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: #248bff;
  box-shadow: 0 0 10px #248bff;
  animation: scanAnim 2.5s ease-in-out infinite alternate;
}

@keyframes scanAnim {
  0% { top: 5%; }
  100% { top: 92%; }
}

.extracted-item {
  display: flex;
  justify-content: space-between;
  font-size: 11.5px;
  padding: 4px 0;
  border-bottom: 1px solid #13273e;
}

.extracted-item:last-child {
  border-bottom: none;
}

.extracted-item span {
  color: #8298b0;
}

.extracted-item strong {
  color: var(--white);
}

.extracted-item strong.highlight {
  color: var(--green);
}

.scanner-action-btn {
  width: 100%;
  background: #248bff;
  color: #fff;
  border: 0;
  border-radius: 10px;
  padding: 8px;
  font-weight: 700;
  font-size: 12px;
  cursor: pointer;
}

/* Benefit Cards Grid */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 30px;
}

.benefit-card {
  background: rgba(13, 32, 55, 0.65);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px;
  transition: var(--transition);
}

.benefit-card:hover {
  border-color: #436282;
  transform: translateY(-3px);
  background: rgba(15, 38, 65, 0.85);
}

.benefit-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(255, 198, 41, 0.12);
  color: var(--yellow);
  display: grid;
  place-items: center;
  font-size: 18px;
  margin-bottom: 14px;
}

.benefit-icon.blue {
  background: rgba(36, 139, 255, 0.12);
  color: var(--blue);
}

.benefit-icon.teal {
  background: var(--teal-subtle);
  color: var(--teal);
}

.benefit-card h4 {
  font-size: 16px;
  margin-bottom: 8px;
}

.benefit-card p {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
  line-height: 1.5;
}

/* Comparison / Matrix Table */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(13, 32, 55, 0.7);
  margin-top: 30px;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 13.5px;
}

.data-table th, .data-table td {
  padding: 16px 20px;
  border-bottom: 1px solid #1a324d;
}

.data-table th {
  background: #091a2e;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  color: var(--white);
  font-size: 14px;
}

.data-table tr:last-child td {
  border-bottom: none;
}

.data-table td:first-child {
  font-weight: 600;
  color: var(--yellow);
}

.data-table td {
  color: #c2cfdd;
}

/* ==========================================================================
   FAQ Page & Accordion
   ========================================================================== */
.faq-filter-wrap {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.faq-tab-btn {
  background: #0d2037;
  border: 1px solid var(--line);
  color: var(--muted-light);
  border-radius: 24px;
  padding: 9px 20px;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.faq-tab-btn:hover {
  border-color: #4a6a8c;
  color: var(--white);
}

.faq-tab-btn.active {
  background: var(--yellow);
  color: #071426;
  border-color: var(--yellow);
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(255, 198, 41, 0.25);
}

.faq-search-box {
  width: min(540px, 100%);
  margin: 0 auto 36px;
  position: relative;
}

.faq-search-input {
  width: 100%;
  padding: 14px 20px 14px 46px;
  border-radius: 30px;
  border: 1px solid var(--line);
  background: #0a1b2e;
  color: var(--white);
  font-size: 14px;
  transition: var(--transition);
}

.faq-search-input:focus {
  outline: none;
  border-color: var(--yellow);
  box-shadow: 0 0 15px rgba(255, 198, 41, 0.2);
}

.faq-search-icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: #647d99;
  font-size: 16px;
}

.accordion {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 860px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(160deg, rgba(16, 38, 62, 0.7), rgba(8, 21, 37, 0.8));
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover {
  border-color: #3b5a7d;
}

.faq-item.active {
  border-color: rgba(255, 198, 41, 0.5);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.faq-question {
  width: 100%;
  padding: 20px 24px;
  background: transparent;
  border: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  color: var(--white);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 17px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

.faq-question:hover {
  color: var(--yellow);
}

.faq-item.active .faq-question {
  color: var(--yellow);
}

.faq-icon-wrap {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #081729;
  border: 1px solid #233f5d;
  display: grid;
  place-items: center;
  font-size: 16px;
  font-weight: 700;
  color: var(--yellow);
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.faq-item.active .faq-icon-wrap {
  transform: rotate(45deg);
  background: var(--yellow);
  color: #071426;
  border-color: var(--yellow);
}

.faq-answer {
  display: none;
  padding: 0 24px 22px;
  font-size: 14.5px;
  color: #c2cfdd;
  line-height: 1.65;
  border-top: 1px solid rgba(40, 65, 93, 0.3);
  margin-top: 4px;
  padding-top: 16px;
}

.faq-item.active .faq-answer {
  display: block;
}

.faq-category-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 8px;
  margin-right: 8px;
  background: rgba(40, 65, 93, 0.5);
  color: #8da2b8;
  vertical-align: middle;
}

.faq-category-tag.tag-bees {
  background: rgba(255, 198, 41, 0.15);
  color: var(--yellow);
}

.faq-category-tag.tag-book {
  background: rgba(36, 139, 255, 0.15);
  color: var(--blue);
}

.faq-category-tag.tag-medipal {
  background: rgba(20, 184, 166, 0.15);
  color: #2dd4bf;
}

.faq-category-tag.tag-general {
  background: rgba(39, 191, 117, 0.15);
  color: var(--green);
}

/* ==========================================================================
   Terms and Conditions Page Layout
   ========================================================================== */
.terms-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  align-items: flex-start;
  margin-top: 40px;
}

.terms-sidebar {
  position: sticky;
  top: 100px;
  background: rgba(13, 32, 55, 0.75);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 24px;
  backdrop-filter: blur(10px);
}

.terms-sidebar h4 {
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.terms-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.terms-nav-list a {
  display: block;
  font-size: 13px;
  color: #a0b3c7;
  padding: 6px 12px;
  border-radius: 8px;
  transition: var(--transition);
}

.terms-nav-list a:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.05);
}

.terms-nav-list a.active {
  color: var(--yellow);
  background: rgba(255, 198, 41, 0.1);
  font-weight: 600;
}

.terms-content {
  background: rgba(13, 32, 55, 0.6);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 44px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.terms-header-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 34px;
  flex-wrap: wrap;
  gap: 16px;
}

.terms-date {
  font-size: 13px;
  color: var(--muted);
}

.terms-date b {
  color: var(--yellow);
}

.terms-actions-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  color: var(--muted-light);
  border: 1px solid #2d4c6f;
  padding: 6px 14px;
  border-radius: 16px;
  background: #081a2e;
  cursor: pointer;
}

.terms-actions-btn:hover {
  border-color: var(--white);
  color: var(--white);
}

.legal-section {
  margin-bottom: 40px;
  scroll-margin-top: 110px;
}

.legal-section h3 {
  font-size: 22px;
  margin-bottom: 16px;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 10px;
}

.legal-section h3 span.sec-num {
  font-size: 14px;
  color: var(--yellow);
  background: rgba(255, 198, 41, 0.12);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.legal-section p, .legal-section li {
  font-size: 14.5px;
  color: #c0cfdf;
  line-height: 1.7;
}

.legal-section ul {
  margin: 14px 0;
}

.placeholder-badge {
  background: rgba(255, 198, 41, 0.15);
  border: 1px dashed var(--yellow);
  color: var(--yellow2);
  padding: 2px 7px;
  border-radius: 6px;
  font-family: monospace;
  font-size: 12.5px;
}

.legal-callout {
  border-left: 3px solid var(--yellow);
  background: rgba(10, 24, 40, 0.7);
  padding: 16px 20px;
  border-radius: 0 12px 12px 0;
  margin: 18px 0;
  font-size: 13.5px;
  color: #b0c2d6;
}

/* ==========================================================================
   Contact Us Page Layout & Forms
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 40px;
  align-items: flex-start;
  margin-top: 30px;
}

.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-card {
  background: linear-gradient(160deg, rgba(16, 38, 62, 0.75), rgba(8, 22, 38, 0.85));
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 24px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
  transition: var(--transition);
}

.contact-card:hover {
  border-color: #48698d;
  transform: translateY(-2px);
}

.contact-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(255, 198, 41, 0.12);
  border: 1px solid rgba(255, 198, 41, 0.25);
  color: var(--yellow);
  display: grid;
  place-items: center;
  font-size: 20px;
  flex-shrink: 0;
}

.contact-card h4 {
  font-size: 16px;
  margin-bottom: 4px;
}

.contact-card p {
  font-size: 13.5px;
  color: var(--muted);
  margin: 0;
}

.contact-card b {
  color: var(--white);
  font-weight: 600;
}

.social-links {
  display: flex;
  gap: 10px;
  margin-top: 8px;
}

.social-btn {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #081729;
  border: 1px solid #233d59;
  display: grid;
  place-items: center;
  color: var(--muted-light);
  font-size: 14px;
  transition: var(--transition);
}

.social-btn:hover {
  border-color: var(--yellow);
  color: var(--yellow);
  transform: translateY(-2px);
}

/* Contact Form Box */
.contact-form-box {
  background: linear-gradient(160deg, rgba(16, 38, 62, 0.85), rgba(7, 20, 36, 0.95));
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 38px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.35);
  position: relative;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 20px;
  position: relative;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #c5d3e2;
}

.form-group label span.req {
  color: var(--yellow);
}

.form-control {
  width: 100%;
  padding: 13px 16px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #08182b;
  color: var(--white);
  font-family: inherit;
  font-size: 14px;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--yellow);
  box-shadow: 0 0 12px rgba(255, 198, 41, 0.25);
  background: #0b1f35;
}

.form-control.error {
  border-color: var(--red);
  box-shadow: 0 0 10px rgba(233, 75, 85, 0.2);
}

.form-control.success {
  border-color: var(--green);
}

.field-error {
  display: none;
  font-size: 11.5px;
  color: var(--red);
  margin-top: 5px;
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a9b8c9' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
  padding-right: 40px;
  cursor: pointer;
}

select.form-control option {
  background: #071426;
  color: var(--white);
}

.form-submit-btn {
  width: 100%;
  background: var(--yellow);
  color: #071426;
  border: 0;
  border-radius: 24px;
  padding: 14px;
  font-weight: 800;
  font-size: 15px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 8px 25px rgba(255, 198, 41, 0.25);
  transition: var(--transition);
}

.form-submit-btn:hover {
  background: var(--yellow2);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(255, 198, 41, 0.4);
}

.form-submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.form-alert {
  display: none;
  padding: 14px 18px;
  border-radius: 12px;
  margin-bottom: 20px;
  font-size: 13.5px;
}

.form-alert.success {
  background: rgba(39, 191, 117, 0.15);
  border: 1px solid var(--green);
  color: #79f2b3;
}

.form-alert.error {
  background: rgba(233, 75, 85, 0.15);
  border: 1px solid var(--red);
  color: #ff9198;
}

/* Spinner */
.spinner {
  display: none;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(7, 20, 38, 0.3);
  border-top-color: #071426;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ==========================================================================
   Footer Component
   ========================================================================== */
.site-footer {
  border-top: 1px solid #1c3046;
  padding: 60px 0 30px;
  background: #050f1d;
  color: #8fa2b8;
  font-size: 13px;
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 18px;
  letter-spacing: 0.02em;
}

.footer-col p {
  font-size: 13px;
  line-height: 1.6;
  color: #7d93ab;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: #8fa2b8;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--yellow);
}

.footer-badges {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-badge-item {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #08182b;
  border: 1px solid #1c334d;
  border-radius: 10px;
  padding: 8px 12px;
  font-size: 12px;
  color: #a4b7cc;
}

.footer-badge-item i {
  color: var(--yellow);
}

.footer-bottom {
  border-top: 1px solid #16283b;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 12px;
  color: #647a92;
}

.netbees-link {
  color: var(--yellow);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease, text-decoration 0.2s ease;
}

.netbees-link:hover {
  color: var(--yellow2);
  text-decoration: underline;
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a:hover {
  color: var(--white);
}

/* ==========================================================================
   Modals (Sign In / Demo Checkout)
   ========================================================================== */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(2, 8, 16, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1000;
  place-items: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.modal.open {
  display: grid;
  opacity: 1;
}

.modal-box {
  width: min(440px, 100%);
  background: #0d2037;
  border: 1px solid #34506c;
  border-radius: 24px;
  padding: 32px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7);
  position: relative;
  transform: translateY(15px);
  transition: transform 0.25s ease;
}

.modal.open .modal-box {
  transform: translateY(0);
}

.modal-box h3 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 26px;
  margin: 0 0 6px;
}

.modal-box p {
  color: var(--muted);
  font-size: 13.5px;
  margin-bottom: 20px;
}

.modal-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
  background: #071526;
  border: 1px solid #1f3752;
  border-radius: 12px;
  padding: 4px;
}

.modal-tab-btn {
  flex: 1;
  background: transparent;
  border: 0;
  color: #8fa2b8;
  font-size: 12.5px;
  font-weight: 700;
  padding: 8px;
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition);
}

.modal-tab-btn.active {
  background: var(--card-light);
  color: var(--white);
}

.modal-box input {
  width: 100%;
  padding: 13px 16px;
  border-radius: 12px;
  border: 1px solid #314b66;
  background: #071426;
  color: #fff;
  margin-bottom: 14px;
  font-size: 14px;
  font-family: inherit;
}

.modal-box input:focus {
  outline: none;
  border-color: var(--yellow);
}

.modal-box .start {
  width: 100%;
  margin-top: 6px;
  padding: 13px;
  font-size: 14px;
}

.close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: 0;
  color: #a8b6c7;
  font-size: 26px;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s ease;
}

.close:hover {
  color: var(--white);
}

.demo-gateway-badges {
  display: flex;
  gap: 8px;
  justify-content: center;
  align-items: center;
  margin-top: 18px;
  font-size: 10.5px;
  color: #688099;
}

