/* ==========================================================================
   SEAES Design System — Odoo-matched
   Font: Inter | Framework: Bootstrap 5.3
   Primary: #1a5eb4 (SEAES Blue) | Accent: #d4a12a (SEAES Gold)
   ========================================================================== */

/* ===== CSS VARIABLES ===== */
:root {
  --primary: #1a5eb4;
  --primary-rgb: 26, 94, 180;
  --primary-dark: #14478a;
  --primary-light: #e8f0fe;
  --secondary: #d4a12a;
  --secondary-rgb: 212, 161, 42;
  --secondary-light: #fef7e0;
  --success: #28a745;
  --info: #17a2b8;
  --warning: #ffc107;
  --danger: #dc3545;
  --dark: #111827;
  --dark-rgb: 17, 24, 39;
  --body-color: #374151;
  --muted: #6c757d;
  --gray-100: #f9fafb;
  --gray-200: #f3f4f6;
  --gray-300: #e5e7eb;
  --gray-400: #d1d5db;
  --gray-500: #9ca3af;
  --gray-600: #6b7280;
  --gray-700: #4b5563;
  --gray-800: #374151;
  --gray-900: #111827;
  --white: #ffffff;
  --border-color: #e5e7eb;
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --shadow-sm: 0 1px 2px rgba(0,0,0,.05);
  --shadow: 0 .5rem 1rem rgba(0,0,0,.08);
  --shadow-lg: 0 1rem 3rem rgba(0,0,0,.12);
  --transition: all .15s ease-in-out;
}

/* ===== BASE ===== */
body {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: var(--body-color);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
  font-family: var(--font-sans);
  font-weight: 600;
  line-height: 1.2;
  color: var(--gray-900);
}
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-dark); text-decoration: none; }
::selection { background: rgba(var(--primary-rgb), .15); }
img { max-width: 100%; }

/* ===== BOOTSTRAP OVERRIDES ===== */
.btn {
  font-weight: 600;
  padding: .75rem 1.5rem;
  border-radius: .25rem;
  font-size: 1rem;
  transition: var(--transition);
}
.btn-sm { padding: .5rem 1.25rem; font-size: .875rem; }
.btn-lg { padding: 1rem 2rem; font-size: 1.125rem; }
.btn-primary {
  background-color: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}
.btn-primary:hover, .btn-primary:focus {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
  color: var(--white);
}
.btn-light {
  background-color: var(--gray-200);
  border-color: var(--gray-300);
  color: var(--dark);
}
.btn-light:hover { background-color: var(--gray-300); color: var(--dark); }
.btn-outline-primary {
  color: var(--primary);
  border-color: var(--primary);
  background: transparent;
}
.btn-outline-primary:hover {
  background: var(--primary);
  color: var(--white);
}
.bg-200 { background-color: var(--gray-200) !important; }
.bg-100 { background-color: var(--gray-100) !important; }
.text-primary { color: var(--primary) !important; }
.text-muted { color: var(--muted) !important; }

/* ===== HEADER ===== */
#top {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  transition: box-shadow .2s;
}
#top.scrolled { box-shadow: 0 2px 12px rgba(0,0,0,.08); }

/* Transparent header over video hero */
.o_header_transparent {
  background: transparent !important;
  border-bottom-color: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  transition: background .3s, border-color .3s, box-shadow .3s;
}
.o_header_transparent .o_logo img {
  filter: brightness(0) invert(1);
}
.o_header_transparent .o_logo_suffix { color: #fff; }
.o_header_transparent .o_primary_nav > li > a,
.o_header_transparent .o_header_buttons .nav-link { color: rgba(255,255,255,.9) !important; }
.o_header_transparent .o_primary_nav > li > a:hover,
.o_header_transparent .o_header_buttons .nav-link:hover { color: #ffffff !important; }
.o_header_transparent .btn-primary { border-color: transparent; }
.o_header_transparent .o_mobile_menu_toggle { color: #fff; }

/* Scrolled state — solid dark */
.o_header_transparent.scrolled {
  background: rgba(17,24,39,.97) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  border-bottom-color: rgba(255,255,255,.06) !important;
  box-shadow: 0 1px 20px rgba(0,0,0,.25);
}
.o_header_transparent.scrolled .o_logo img {
  filter: brightness(0) invert(1);
}
.o_header_transparent.scrolled .o_primary_nav > li > a,
.o_header_transparent.scrolled .o_header_buttons .nav-link { color: rgba(255,255,255,.85) !important; }
.o_top_menu {
  display: flex; align-items: center; justify-content: space-between;
  height: 56px; padding: 0 1.5rem; max-width: 1320px; margin: 0 auto;
}
.o_logo { display: flex; align-items: center; flex-shrink: 0; }
.o_logo img { height: 36px; }

/* Primary nav */
.o_primary_nav {
  display: flex; align-items: center; list-style: none;
  margin: 0; padding: 0; gap: 0;
}
.o_primary_nav > li { position: relative; }
.o_primary_nav > li > a {
  display: block; padding: .5rem 1rem; font-size: .9375rem;
  font-weight: 500; color: var(--body-color); border-radius: .25rem;
  transition: var(--transition); text-decoration: none;
}
.o_primary_nav > li > a:hover,
.o_primary_nav > li > a:focus {
  color: var(--primary); background: rgba(var(--primary-rgb), .06);
}
.o_primary_nav > li > a::after { display: none; } /* hide default bootstrap caret */

/* Mega dropdown */
.o_secondary_nav {
  min-width: 680px; padding: 1.5rem 0; border: none;
  border-radius: .625rem; box-shadow: var(--shadow-lg);
  background: var(--white);
}
.o_nav_app_family {
  font-weight: 700; font-size: .75rem; text-transform: uppercase;
  letter-spacing: .08em; color: var(--dark); padding: .5rem 1rem; margin-bottom: .125rem;
}
.o_secondary_nav ul { list-style: none; padding: 0; margin: 0; }
.o_secondary_nav .dropdown-item {
  font-size: .875rem; padding: .3rem 1rem; color: var(--body-color); border-radius: .25rem;
}
.o_secondary_nav .dropdown-item:hover { background: var(--gray-200); color: var(--primary); }
.o_nav_store_link {
  display: flex; justify-content: center; gap: 1.5rem; padding: 1rem 0 .5rem;
  border-top: 1px solid var(--border-color); margin-top: .75rem;
}
.o_nav_store_link a { font-size: .875rem; font-weight: 500; }

/* Header buttons */
.o_header_buttons {
  display: flex; align-items: center; list-style: none;
  margin: 0; padding: 0; gap: .5rem;
}
.o_header_buttons .nav-link {
  font-size: .9375rem; color: var(--body-color); padding: .5rem .75rem;
}
.o_header_buttons .nav-link:hover { color: var(--primary); }

/* Mobile toggle */
.o_mobile_menu_toggle {
  font-size: 1.5rem; color: var(--dark); padding: .5rem; display: none;
}
@media (max-width: 991.98px) {
  .o_mobile_menu_toggle { display: block; }
  .o_primary_nav { display: none !important; }
  .o_header_buttons .d-lg-block { display: none !important; }
}

/* Mobile nav overlay */
.o_mobile_nav {
  display: none; position: fixed; top: 56px; left: 0; right: 0; bottom: 0;
  background: var(--white); z-index: 999; padding: 1.5rem;
  flex-direction: column; gap: .25rem; overflow-y: auto;
}
.o_mobile_nav.active { display: flex; }
.o_mobile_nav a {
  display: block; padding: .75rem 1rem; font-size: 1rem; font-weight: 500;
  color: var(--dark); border-radius: .5rem;
}
.o_mobile_nav a:hover { background: var(--gray-200); }
.o_mobile_nav .btn { margin-top: 1rem; text-align: center; }

/* ===== HERO (Homepage) ===== */
.o_hero {
  padding: 7rem 0 3.5rem; text-align: center;
}
.o_hero .display-1 {
  font-size: clamp(2.5rem, 5.5vw, 4.5rem);
  font-weight: 900; letter-spacing: -.03em; line-height: 1.08;
  color: var(--dark);
}
.o_hero .display-3 {
  font-size: clamp(1.2rem, 2.5vw, 1.75rem);
  font-weight: 400; color: var(--body-color); line-height: 1.5;
}

/* ===== HERO VIDEO FRAME (the box) ===== */
.o_hero_sub {
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 400;
  color: var(--body-color);
  letter-spacing: .01em;
}
.o_hero_video_frame {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,0,0,.12), 0 2px 12px rgba(0,0,0,.06);
  max-width: 900px;
  margin: 0 auto;
  aspect-ratio: 16/9;
  background: #000;
}

/* ===== TIKTOK FEED INSIDE THE BOX ===== */
.o_tiktok_feed {
  width: 100%;
  height: 100%;
  overflow-y: scroll;
  scroll-snap-type: y mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.o_tiktok_feed::-webkit-scrollbar { display: none; }

.o_tiktok_slide {
  width: 100%;
  height: 100%;
  scroll-snap-align: start;
  position: relative;
  overflow: hidden;
  background: #000;
  flex-shrink: 0;
}
.o_tiktok_video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* --- Overlay caption (bottom of each slide) --- */
.o_tiktok_overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(0deg, rgba(0,0,0,.65) 0%, transparent 100%);
  padding: 30px 14px 12px;
  pointer-events: none;
}
.o_tiktok_caption {
  color: #fff;
  font-size: .8rem;
  font-weight: 700;
  text-shadow: 0 1px 6px rgba(0,0,0,.6);
  letter-spacing: .01em;
}

/* --- Sidebar (TikTok right-side actions, inside the frame) --- */
.o_tiktok_sidebar {
  position: absolute;
  right: 10px;
  bottom: 14px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .75rem;
}
.o_tiktok_action {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  cursor: pointer;
  color: #fff;
  transition: transform .15s;
}
.o_tiktok_action:hover { transform: scale(1.15); }
.o_tiktok_action:active { transform: scale(.9); }
.o_tiktok_action i {
  font-size: 1.125rem;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,.5));
}
.o_tiktok_action span {
  font-size: .55rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .03em;
  text-shadow: 0 1px 3px rgba(0,0,0,.5);
}
.o_tiktok_action.liked i { color: #fe2c55; }

/* --- Progress bar (top of each slide inside box) --- */
.o_tiktok_progress {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: rgba(255,255,255,.15);
  z-index: 5;
}
.o_tiktok_progress_fill {
  height: 100%;
  width: 0%;
  background: #fff;
  border-radius: 0 2px 2px 0;
  transition: width linear;
}

/* --- Scroll hint arrow (inside the frame) --- */
.o_tiktok_scroll_hint {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,.5);
  z-index: 6;
  animation: scrollBounce 2s ease-in-out infinite;
  pointer-events: none;
}
.o_tiktok_scroll_hint i { font-size: .875rem; }
@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: .5; }
  50% { transform: translateX(-50%) translateY(5px); opacity: .9; }
}


/* --- Level Up app cards --- */
.o_levelup_grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}
@media (min-width: 768px) {
  .o_levelup_grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1200px) {
  .o_levelup_grid { grid-template-columns: repeat(4, 1fr); }
}
.o_levelup_card {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  padding: 20px 16px;
  transition: all .25s ease;
  text-decoration: none;
  display: block;
  position: relative;
}
.o_levelup_card:hover {
  border-color: var(--primary);
  box-shadow: 0 4px 20px rgba(26,94,180,.12);
  transform: translateY(-2px);
}
.o_levelup_card_icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  margin-bottom: 12px;
}
.o_levelup_card h5 {
  font-size: .88rem;
  font-weight: 700;
  margin: 0 0 2px;
  color: var(--dark);
}
.o_levelup_card .o_lu_tagline {
  font-size: .72rem;
  color: var(--body-color);
  margin: 0;
  line-height: 1.4;
}
.o_levelup_card .o_lu_badge {
  position: absolute;
  top: 10px; right: 10px;
  font-size: .55rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: 2px 7px;
  border-radius: 4px;
}
.o_lu_badge_beta { background: #dbeafe; color: #1e40af; }
.o_lu_badge_soon { background: #f3f4f6; color: #6b7280; }
.o_levelup_card.o_lu_soon {
  opacity: .6;
  background: #fafafa;
}
.o_levelup_card.o_lu_soon:hover {
  opacity: .8;
  border-color: var(--gray-300);
  box-shadow: none;
  transform: none;
}
.o_levelup_section_label {
  font-size: .7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--body-color);
  margin: 0 0 12px;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--gray-200);
}
/* Legacy mini cards (unused, kept for compat) */
.o_feature_card_mini { display:flex;align-items:flex-start;gap:12px;padding:10px 0;border-bottom:1px solid var(--gray-200); }
.o_feature_card_mini:last-child { border-bottom:none; }
.o_fc_dot { width:10px;height:10px;border-radius:50%;flex-shrink:0;margin-top:6px; }
.o_feature_card_mini h5 { font-size:.9rem;font-weight:700;margin:0 0 2px; }
.o_feature_card_mini h5 a { color:var(--dark);text-decoration:none; }
.o_feature_card_mini h5 a:hover { color:var(--primary); }
.o_feature_card_mini p { font-size:.8rem;color:var(--body-color);margin:0;line-height:1.45; }

/* (Engagement bar + toast styles below) */

/* ===== HERO (Product pages) ===== */
.o_app_hero {
  padding: 7rem 0 3rem; text-align: center;
}
.o_app_hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 800; letter-spacing: -.02em; line-height: 1.15;
}
.o_app_hero .lead {
  font-size: 1.125rem; color: var(--body-color); max-width: 640px;
  margin: 1rem auto 0; line-height: 1.7;
}
.o_app_hero .hero-img {
  margin-top: 2.5rem; border-radius: .625rem; overflow: hidden;
  box-shadow: var(--shadow); border: 1px solid var(--border-color);
}
.o_app_hero .hero-img img { width: 100%; display: block; }

/* ===== HIGHLIGHT DECORATIONS ===== */
.x_highlight_gold {
  position: relative; display: inline; font-weight: inherit;
}
.x_highlight_gold::after {
  content: ''; position: absolute; left: -4px; right: -4px; bottom: 4px;
  height: 35%; background: rgba(var(--secondary-rgb), .2);
  border-radius: 4px; z-index: -1;
}
.x_highlight_blue {
  position: relative; display: inline;
}
.x_highlight_blue::after {
  content: ''; position: absolute; left: -4px; right: -4px; bottom: 4px;
  height: 35%; background: rgba(var(--primary-rgb), .15);
  border-radius: 4px; z-index: -1;
}
.x_highlight_green {
  position: relative; display: inline;
}
.x_highlight_green::after {
  content: ''; position: absolute; left: -4px; right: -4px; bottom: 4px;
  height: 35%; background: rgba(40, 167, 69, .15);
  border-radius: 4px; z-index: -1;
}
.x_highlight_red {
  color: var(--danger); font-weight: 800;
}
.x_highlight_yellow {
  position: relative; display: inline;
}
.x_highlight_yellow::after {
  content: ''; position: absolute; left: -4px; right: -4px; bottom: 4px;
  height: 35%; background: rgba(var(--secondary-rgb), .25);
  border-radius: 4px; z-index: -1;
}
.x_display_circle { position: relative; display: inline-block; }
.x_display_circle::after {
  content: ''; position: absolute; inset: -8px -14px;
  border: 2.5px solid var(--primary); border-radius: 50%; opacity: .3;
}
.x_display_underline {
  text-decoration: underline; text-decoration-color: var(--secondary);
  text-underline-offset: 6px; text-decoration-thickness: 3px;
}

/* ===== DOODLE ARROWS ===== */
.x_doodle {
  position: absolute; font-style: normal;
}
.x_doodle_arrow {
  stroke: var(--secondary); fill: none;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}

/* ===== APP ICON GRID ===== */
.x_app_entry {
  text-align: center; margin-bottom: 1rem;
  transition: transform .2s ease; display: block;
  text-decoration: none !important;
}
.x_app_entry:hover { transform: translateY(-4px); }
.x_app_entry figure { margin: 0; }
.x_app_icon {
  width: 80px; height: 80px; margin: 0 auto .75rem;
  border-radius: .625rem; display: flex; align-items: center; justify-content: center;
  font-size: 2rem; border: 1px solid var(--border-color);
  background: var(--white); box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.x_app_entry:hover .x_app_icon {
  border-color: var(--primary); box-shadow: 0 4px 12px rgba(var(--primary-rgb), .15);
}
.x_app_entry figcaption {
  font-size: .8125rem; font-weight: 500; color: var(--dark);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.x_app_entry:hover figcaption { color: var(--primary); }

/* ===== NOTIFICATION BOX ===== */
.x_notification_box {
  display: inline-flex; align-items: center; gap: .75rem;
  flex-wrap: wrap; justify-content: center;
  background: var(--white); border: 1px solid var(--border-color);
  border-radius: 50rem; padding: .625rem 1.5rem;
  font-size: .875rem; box-shadow: var(--shadow-sm);
}

/* ===== PERSONA / QUOTE ===== */
.s_persona {
  max-width: 620px; position: relative;
}
.s_persona_bg {
  position: absolute; top: -25px; left: -25px; width: 100px; opacity: .15;
}
.s_persona_card {
  background: var(--white); border-radius: 50rem;
  box-shadow: var(--shadow); padding: 1rem 2.5rem;
  position: relative; z-index: 1; font-size: .9375rem;
}
.s_persona_icon {
  position: absolute; right: -16px; top: -16px;
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--primary-light); display: flex;
  align-items: center; justify-content: center;
  font-weight: 700; color: var(--primary); font-size: 1.25rem; z-index: 2;
}

/* ===== SECTION HEADINGS ===== */
.o_section_title {
  font-size: clamp(2rem, 4vw, 3rem); font-weight: 800;
  line-height: 1.15; color: var(--dark);
}

/* ===== SHOWCASE / SCREENSHOTS ===== */
.o_showcase {
  border: 1px solid var(--border-color); border-radius: .625rem;
  overflow: hidden; box-shadow: var(--shadow);
}
.o_showcase img { width: 100%; display: block; }

/* ===== FEATURE SECTIONS (Alternating) ===== */
.o_feature_section { padding: 4rem 0; }
.o_feature_section .lead { font-size: 1rem; line-height: 1.7; color: var(--body-color); }
.o_feature_section h2 {
  font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 700; margin-bottom: 1rem;
}
.o_feature_section .o_showcase { margin-bottom: 0; }

/* ===== FEATURES LIST (Enterprise Done Right style) ===== */
.s_features_item {
  padding: 2rem 0; border-bottom: 1px solid var(--border-color);
}
.s_features_item:last-child { border-bottom: none; }
.s_features_title {
  font-size: 1.25rem; font-weight: 700; color: var(--dark); margin-bottom: .75rem;
}
.s_features_item p {
  font-size: .9375rem; color: var(--body-color); line-height: 1.7; margin-bottom: .5rem;
}
.s_features_side { position: sticky; top: 80px; }

/* ===== FEATURE CARDS (Grid) ===== */
.o_feature_card {
  padding: 1.5rem; border-radius: .625rem;
  border: 1px solid var(--border-color); background: var(--white);
  transition: var(--transition); height: 100%;
}
.o_feature_card:hover {
  border-color: rgba(var(--primary-rgb), .3);
  box-shadow: 0 4px 16px rgba(var(--primary-rgb), .08);
}
.o_feature_card .icon {
  width: 40px; height: 40px; border-radius: .5rem;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem; margin-bottom: 1rem;
}
.o_feature_card h4 { font-size: 1rem; font-weight: 600; margin-bottom: .5rem; }
.o_feature_card p { font-size: .875rem; color: var(--body-color); line-height: 1.6; margin: 0; }

/* Feature card video area — shows icon placeholder until video is added */
.o_feature_video {
  width: 100%;
  aspect-ratio: 16/10;
  border-radius: .5rem;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 8%, #fff) 0%, color-mix(in srgb, var(--accent) 4%, #f9fafb) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}
.o_feature_video .icon {
  width: 48px;
  height: 48px;
  border-radius: .625rem;
  background: color-mix(in srgb, var(--accent) 12%, #fff);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin: 0;
}
.o_feature_video video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: .5rem;
}

/* Star icon used on Odoo's feature grids */
.icon-star {
  color: var(--secondary); font-size: 1.5rem; margin-bottom: .75rem;
}

/* ===== DEVICE CIRCLES ===== */
.o_device_circle {
  width: 100%; aspect-ratio: 1; border-radius: 50%;
  background: var(--gray-200); overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.o_device_circle img { width: 100%; height: 100%; object-fit: cover; }

/* ===== METRIC BANNER ===== */
.o_metric_banner {
  padding: 1.5rem 0; text-align: center;
}
.o_metric_banner .metric {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .9375rem; color: var(--body-color);
}
.o_metric_banner .metric strong { color: var(--dark); font-weight: 700; }
.o_metric_banner .metric + .metric { margin-left: 2rem; }
@media (max-width: 767.98px) {
  .o_metric_banner .metric { display: block; margin-bottom: .5rem; }
  .o_metric_banner .metric + .metric { margin-left: 0; }
}

/* ===== RELATED APPS ===== */
.o_related_apps { padding: 4rem 0; text-align: center; }
.o_related_app {
  text-align: center; transition: var(--transition);
}
.o_related_app:hover { transform: translateY(-2px); }
.o_related_app .x_app_icon { width: 64px; height: 64px; font-size: 1.5rem; }
.o_related_app h5 { font-size: .875rem; margin-top: .5rem; margin-bottom: .25rem; }
.o_related_app p { font-size: .75rem; color: var(--muted); }

/* ===== TESTIMONIAL ===== */
.o_testimonial {
  padding: 5rem 0; text-align: center;
}
.o_testimonial_card {
  background: var(--white); border-radius: 50rem;
  box-shadow: var(--shadow); padding: 2rem 2.5rem;
  text-align: left; max-width: 700px; margin: 0 auto; position: relative;
}
@media (max-width: 767.98px) {
  .o_testimonial_card { border-radius: 1.25rem; padding: 1.5rem; }
}
.o_testimonial_card blockquote {
  font-style: italic; font-size: 1rem; line-height: 1.7;
  color: var(--body-color); margin-bottom: 1.25rem;
}
.o_testimonial_card .author {
  display: flex; align-items: center; gap: .75rem;
}
.o_testimonial_card .author-avatar {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--primary-light); display: flex;
  align-items: center; justify-content: center;
  font-weight: 700; color: var(--primary); font-size: 1.125rem;
}
.o_testimonial_card .author-info strong {
  font-size: .875rem; color: var(--dark); display: block;
}
.o_testimonial_card .author-info small { color: var(--muted); font-size: .8125rem; }

/* ===== CTA SECTION ===== */
.o_cta { padding: 5rem 0; text-align: center; }
.o_cta h2 {
  font-size: clamp(2rem, 4vw, 3.5rem); font-weight: 800;
  color: var(--dark); margin-bottom: 1.5rem;
}
.o_cta_note { font-size: .8125rem; color: var(--muted); margin-top: 1rem; }

/* ===== FOOTER ===== */
.o_footer {
  background: #252733; color: rgba(255,255,255,.6);
  padding: 4rem 0 2rem; font-size: .875rem;
}
.o_footer h5 {
  font-size: .75rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: .08em; color: var(--white); margin-bottom: 1rem;
}
.o_footer a {
  color: rgba(255,255,255,.5); display: block; padding: .2rem 0;
  transition: color .15s;
}
.o_footer a:hover { color: var(--secondary); }
.o_footer_brand img { height: 28px; }
.o_footer_brand .o_logo_suffix { color: #fff; font-size: 1rem; padding-bottom: 2px; }
.o_footer_brand .o_footer_logo_wrap { display: flex; align-items: flex-end; gap: 0; margin-bottom: 1rem; }
.o_footer_logo { filter: brightness(0) invert(1); }
.o_footer_brand p { max-width: 240px; font-size: .8125rem; color: rgba(255,255,255,.4); }
.o_footer_bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 1.5rem; margin-top: 3rem;
  font-size: .8125rem; color: rgba(255,255,255,.3);
}
.o_social_icons a {
  display: inline-flex; width: 32px; height: 32px;
  align-items: center; justify-content: center;
  border-radius: 50%; border: 1px solid rgba(255,255,255,.12);
  margin-right: .375rem; color: rgba(255,255,255,.5); font-size: .8rem;
}
.o_social_icons a:hover {
  border-color: rgba(var(--secondary-rgb), .5); color: var(--secondary);
  background: rgba(var(--secondary-rgb), .1);
}

/* ===== ANIMATIONS ===== */
.o_anim { opacity: 0; transform: translateY(24px); transition: opacity .5s ease, transform .5s ease; }
.o_anim.visible { opacity: 1; transform: translateY(0); }
.o_anim_delay_1 { transition-delay: .1s; }
.o_anim_delay_2 { transition-delay: .2s; }
.o_anim_delay_3 { transition-delay: .3s; }

/* ===== ARCHITECTURE DIAGRAM ===== */
.o_arch_flow {
  display: flex; align-items: center; justify-content: center;
  gap: 1rem; flex-wrap: wrap; padding: 2rem 0;
}
.o_arch_node {
  text-align: center; padding: 1.5rem; border-radius: .625rem;
  border: 1px solid var(--border-color); background: var(--white);
  min-width: 160px; flex: 0 0 auto;
}
.o_arch_node .icon { font-size: 2rem; margin-bottom: .75rem; }
.o_arch_node h4 { font-size: .9375rem; font-weight: 600; margin-bottom: .25rem; }
.o_arch_node p { font-size: .75rem; color: var(--muted); margin: 0; }
.o_arch_arrow { font-size: 1.5rem; color: var(--gray-400); }
@media (max-width: 767.98px) {
  .o_arch_flow { flex-direction: column; }
  .o_arch_arrow { transform: rotate(90deg); }
}

/* ===== PRICING TABLE ===== */
.o_pricing_card {
  border: 1px solid var(--border-color); border-radius: .625rem;
  padding: 2rem; text-align: center; background: var(--white);
  transition: var(--transition); height: 100%;
}
.o_pricing_card:hover { box-shadow: var(--shadow); }
.o_pricing_card.featured {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(var(--primary-rgb), .15);
}
.o_pricing_card h3 { font-size: 1.25rem; margin-bottom: .5rem; }
.o_pricing_card .price {
  font-size: 2.5rem; font-weight: 800; color: var(--dark);
}
.o_pricing_card .price small { font-size: .875rem; font-weight: 400; color: var(--muted); }
.o_pricing_card ul { list-style: none; padding: 0; margin: 1.5rem 0; text-align: left; }
.o_pricing_card ul li {
  padding: .375rem 0; font-size: .875rem; color: var(--body-color);
  border-bottom: 1px solid var(--gray-200);
}
.o_pricing_card ul li:last-child { border-bottom: none; }
.o_pricing_card ul li::before {
  content: '\2713'; color: var(--success); font-weight: 700; margin-right: .5rem;
}

/* ===== UTILITY ===== */
.pt-7 { padding-top: 5rem !important; }
.pb-7 { padding-bottom: 5rem !important; }
.pt-8 { padding-top: 6rem !important; }
.pb-8 { padding-bottom: 6rem !important; }
.gap-lg { gap: 2rem; }
.img-thumbnail-clean {
  border: 1px solid var(--border-color); border-radius: .625rem;
  box-shadow: var(--shadow-sm); overflow: hidden;
}
.text-accent { color: var(--secondary) !important; }

/* ===== APP ICON (SVG version) ===== */
.x_app_icon_svg {
  width: 80px; height: 80px; margin: 0 auto .75rem;
  border-radius: .625rem; overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.x_app_icon_svg img { width: 100%; height: 100%; display: block; }
.x_app_entry:hover .x_app_icon_svg {
  border-color: var(--primary); box-shadow: 0 4px 12px rgba(var(--primary-rgb), .15);
  transform: scale(1.05);
}

/* ===== HERO ILLUSTRATION ===== */
.o_hero_illustration {
  max-width: 520px; margin: 2.5rem auto 0; position: relative;
}
.o_hero_illustration img, .o_hero_illustration svg { width: 100%; display: block; }

/* ===== IMPROVED SHOWCASE WITH BROWSER CHROME ===== */
.o_showcase_browser {
  border-radius: .75rem; overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,.12), 0 0 0 1px rgba(0,0,0,.06);
  background: var(--white);
}
.o_showcase_browser_bar {
  height: 36px; background: var(--gray-200); border-bottom: 1px solid var(--border-color);
  display: flex; align-items: center; padding: 0 12px; gap: 6px;
}
.o_showcase_browser_dot {
  width: 10px; height: 10px; border-radius: 50%;
}
.o_showcase_browser_dot.red { background: #ff5f57; }
.o_showcase_browser_dot.yellow { background: #febc2e; }
.o_showcase_browser_dot.green { background: #28c840; }
.o_showcase_browser_bar .url {
  flex: 1; margin-left: 12px; background: var(--white); border-radius: 4px;
  padding: 2px 10px; font-size: .7rem; color: var(--muted); font-family: var(--font-sans);
  border: 1px solid var(--border-color);
}
.o_showcase_browser img { width: 100%; display: block; }

/* ===== CHAT MOCKUP (for ERP page) ===== */
.o_chat_mockup {
  background: #0f0f18; border-radius: .75rem; overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,.2);
  font-family: 'SF Mono', 'Fira Code', 'JetBrains Mono', monospace;
  font-size: .8125rem; line-height: 1.6;
}
.o_chat_mockup_bar {
  height: 36px; background: #1a1a2e; display: flex; align-items: center;
  padding: 0 14px; gap: 6px;
}
.o_chat_mockup_body { padding: 1.25rem 1.5rem; color: #e8e8ee; }
.o_chat_mockup .msg-user { color: #60a5fa; }
.o_chat_mockup .msg-ai { color: #34d399; }
.o_chat_mockup .msg-data { color: #fbbf24; }
.o_chat_mockup .msg-muted { color: #6b7280; }

/* ===== TERMINAL MOCKUP (for Shield page) ===== */
.o_terminal_mockup {
  background: #111827; border-radius: .75rem; overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,.2);
  font-family: 'SF Mono', 'Fira Code', monospace;
  font-size: .8125rem; line-height: 1.7;
}
.o_terminal_mockup_bar {
  height: 36px; background: #1f2937; display: flex; align-items: center;
  padding: 0 14px; gap: 6px;
}
.o_terminal_mockup_body { padding: 1.25rem 1.5rem; color: #d1d5db; }
.o_terminal_mockup .t-green { color: #34d399; }
.o_terminal_mockup .t-red { color: #f87171; }
.o_terminal_mockup .t-yellow { color: #fbbf24; }
.o_terminal_mockup .t-blue { color: #60a5fa; }
.o_terminal_mockup .t-muted { color: #6b7280; }

/* ===== SEO DASHBOARD MOCKUP ===== */
.o_seo_mockup {
  background: var(--white); border-radius: .75rem; overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,.1), 0 0 0 1px rgba(0,0,0,.05);
  padding: 2rem;
}
.o_seo_score {
  width: 120px; height: 120px; border-radius: 50%; margin: 0 auto 1rem;
  border: 6px solid var(--primary); display: flex; align-items: center;
  justify-content: center; font-size: 2.5rem; font-weight: 900; color: var(--primary);
}
.o_seo_bar {
  height: 8px; border-radius: 4px; background: var(--gray-200); margin-bottom: .75rem;
  overflow: hidden;
}
.o_seo_bar_fill { height: 100%; border-radius: 4px; transition: width .8s ease; }

/* ===== SECTION DIVIDER SHAPES ===== */
.o_section_wave {
  width: 100%; height: 60px; display: block;
}

/* ===== IMPROVED SPACING ===== */
.section-gap { padding: 5rem 0; }
.section-gap-sm { padding: 3rem 0; }

/* ===== STAT COUNTERS (on product pages) ===== */
.o_stat_row { display: flex; justify-content: center; gap: 3rem; flex-wrap: wrap; margin-top: 2rem; }
.o_stat { text-align: center; }
.o_stat_num {
  font-size: 2.5rem; font-weight: 900; letter-spacing: -.02em;
  color: var(--primary); line-height: 1;
}
.o_stat_label { font-size: .8125rem; color: var(--muted); margin-top: .25rem; }

/* ===== RESPONSIVE POLISH ===== */
@media (max-width: 767.98px) {
  .o_hero { padding: 5.5rem 0 2.5rem; }
  .o_app_hero { padding: 5.5rem 0 2rem; }
  .o_hero .display-1 { font-size: 2.25rem; }
  .o_hero .display-3 { font-size: 1.1rem; }
  .o_section_title { font-size: 1.75rem; }
  .o_cta h2 { font-size: 1.75rem; }
  .s_persona_card { border-radius: 1rem; padding: .875rem 1.25rem; font-size: .875rem; }
  .s_features_side { position: static; }
  .o_feature_section { padding: 2.5rem 0; }
  .o_footer { padding: 2.5rem 0 1.5rem; }
  .x_notification_box { font-size: .8125rem; padding: .5rem 1rem; }
  .x_app_icon_svg { width: 64px; height: 64px; }
  .o_testimonial { padding: 3rem 0; }
  .o_cta { padding: 3rem 0; }
  .o_stat_num { font-size: 2rem; }
  .o_stat_row { gap: 1.5rem; }
  .btn { padding: .625rem 1.25rem; font-size: .9375rem; }
  .btn-lg { padding: .75rem 1.5rem; font-size: 1rem; }
}

@media (max-width: 575.98px) {
  .o_hero .display-1 { font-size: 1.875rem; }
  .x_app_icon_svg { width: 56px; height: 56px; }
  .x_app_entry figcaption { font-size: .75rem; }
  .o_metric_banner .metric + .metric { margin-left: 0; }
  .o_testimonial_card { padding: 1.25rem; }
  .o_testimonial_card blockquote { font-size: .9375rem; }
}

/* ===== SMOOTH SCROLL ===== */
html { scroll-behavior: smooth; }

/* ===== FOCUS STYLES (Accessibility) ===== */
a:focus-visible, .btn:focus-visible, input:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* ===== SKIP TO CONTENT (Accessibility) ===== */
.skip-to-content {
  position: absolute; top: -100%; left: 50%; transform: translateX(-50%);
  background: var(--primary); color: var(--white); padding: .5rem 1rem;
  border-radius: .25rem; font-weight: 600; z-index: 9999;
  transition: top .2s;
}
.skip-to-content:focus { top: .5rem; color: var(--white); }

/* ===== HERO CONSTELLATION ANIMATION ===== */
.o_hero_animation {
  max-width: 620px;
  margin: 2.5rem auto 0;
  position: relative;
}

.o_hero_constellation {
  width: 100%;
  height: auto;
  max-height: 400px;
  display: block;
  overflow: visible;
}

/* Connector lines */
.o_conn_line {
  stroke: var(--gray-300);
  stroke-width: 1.2;
  stroke-dasharray: 6 4;
  fill: none;
  animation: o_dash_scroll 18s linear infinite;
}
.o_conn_line:nth-child(odd) {
  stroke-dasharray: 4 6;
  animation-duration: 24s;
  animation-direction: reverse;
}

@keyframes o_dash_scroll {
  to { stroke-dashoffset: -100; }
}

/* Node glow (outermost) */
.o_node_glow {
  fill: var(--node-color);
  opacity: 0;
  animation: o_pulse_glow 3s ease-in-out infinite;
}

@keyframes o_pulse_glow {
  0%, 100% { opacity: 0; r: 32; }
  50% { opacity: .12; r: 38; }
}

/* Node ring */
.o_node_ring {
  fill: none;
  stroke: var(--node-color);
  stroke-width: 1.5;
  opacity: .35;
  animation: o_ring_breathe 4s ease-in-out infinite;
}

@keyframes o_ring_breathe {
  0%, 100% { opacity: .25; }
  50% { opacity: .5; }
}

/* Floating keyframes — each node gets a unique gentle drift */
@keyframes o_float_1 {
  0%, 100% { transform: translate(0, 0); }
  25% { transform: translate(3px, -6px); }
  50% { transform: translate(-2px, -10px); }
  75% { transform: translate(4px, -4px); }
}
@keyframes o_float_2 {
  0%, 100% { transform: translate(0, 0); }
  30% { transform: translate(-5px, 4px); }
  60% { transform: translate(3px, 7px); }
  80% { transform: translate(-2px, 2px); }
}
@keyframes o_float_3 {
  0%, 100% { transform: translate(0, 0); }
  20% { transform: translate(4px, 5px); }
  50% { transform: translate(-3px, -4px); }
  80% { transform: translate(6px, 2px); }
}
@keyframes o_float_4 {
  0%, 100% { transform: translate(0, 0); }
  35% { transform: translate(-4px, -5px); }
  65% { transform: translate(2px, 6px); }
  90% { transform: translate(-3px, 3px); }
}
@keyframes o_float_5 {
  0%, 100% { transform: translate(0, 0); }
  25% { transform: translate(5px, 3px); }
  55% { transform: translate(-4px, -6px); }
  85% { transform: translate(2px, 4px); }
}
@keyframes o_float_6 {
  0%, 100% { transform: translate(0, 0); }
  30% { transform: translate(3px, -5px); }
  60% { transform: translate(-5px, 3px); }
  85% { transform: translate(2px, -2px); }
}
@keyframes o_float_7 {
  0%, 100% { transform: translate(0, 0); }
  20% { transform: translate(-3px, 6px); }
  50% { transform: translate(4px, -3px); }
  75% { transform: translate(-2px, 5px); }
}

.o_node_1 { animation: o_float_1 7s ease-in-out infinite; will-change: transform; }
.o_node_2 { animation: o_float_2 8s ease-in-out infinite; will-change: transform; }
.o_node_3 { animation: o_float_3 9s ease-in-out infinite; will-change: transform; }
.o_node_4 { animation: o_float_4 7.5s ease-in-out infinite; will-change: transform; }
.o_node_5 { animation: o_float_5 8.5s ease-in-out infinite; will-change: transform; }
.o_node_6 { animation: o_float_6 6.5s ease-in-out infinite; will-change: transform; }
.o_node_7 { animation: o_float_7 9.5s ease-in-out infinite; will-change: transform; }

/* Stagger the glow pulses so they don't all pulse together */
.o_node_1 .o_node_glow { animation-delay: 0s; }
.o_node_2 .o_node_glow { animation-delay: .4s; }
.o_node_3 .o_node_glow { animation-delay: .9s; }
.o_node_4 .o_node_glow { animation-delay: 1.3s; }
.o_node_5 .o_node_glow { animation-delay: 1.7s; }
.o_node_6 .o_node_glow { animation-delay: 2.1s; }
.o_node_7 .o_node_glow { animation-delay: 2.5s; }

.o_node_1 .o_node_ring { animation-delay: .2s; }
.o_node_2 .o_node_ring { animation-delay: .6s; }
.o_node_3 .o_node_ring { animation-delay: 1.1s; }
.o_node_4 .o_node_ring { animation-delay: 1.5s; }
.o_node_5 .o_node_ring { animation-delay: 1.9s; }
.o_node_6 .o_node_ring { animation-delay: 2.3s; }
.o_node_7 .o_node_ring { animation-delay: 2.7s; }

/* Responsive: scale down on tablet */
@media (max-width: 991.98px) {
  .o_hero_animation { max-width: 480px; margin-top: 2rem; }
}

/* Responsive: smaller on mobile */
@media (max-width: 767.98px) {
  .o_hero_animation { max-width: 340px; margin-top: 1.5rem; }
  .o_hero_constellation { max-height: 260px; }
}

@media (max-width: 575.98px) {
  .o_hero_animation { max-width: 280px; margin-top: 1.25rem; }
  .o_hero_constellation { max-height: 200px; }
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
  .o_node, .o_node_glow, .o_node_ring, .o_conn_line {
    animation: none !important;
  }
}

/* ===== DECORATIVE SVG ELEMENTS ===== */
.o_deco {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  opacity: .6;
}
.o_deco_blob {
  width: clamp(200px, 30vw, 400px);
  height: auto;
}
.o_deco_arrow {
  width: clamp(40px, 6vw, 80px);
  height: auto;
}
.o_deco_circle {
  width: clamp(60px, 8vw, 120px);
  height: auto;
}

/* Dot pattern background for sections */
.o_dot_bg {
  background-image: url('../img/illustrations/dot-pattern.svg');
  background-repeat: repeat;
  background-size: 24px 24px;
  background-position: center;
}

/* Ensure section content stays above decorations */
.o_deco_wrap {
  position: relative;
  overflow: hidden;
}
.o_deco_wrap > .container {
  position: relative;
  z-index: 1;
}

@media (max-width: 767.98px) {
  .o_deco { opacity: .3; }
  .o_deco_blob { width: 150px; }
}
@media (prefers-reduced-motion: reduce) {
  .o_deco { display: none; }
}

/* ===== HERO BADGE ===== */
.o_hero_badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(26, 94, 180, .06);
  border: 1px solid rgba(26, 94, 180, .12);
  border-radius: 100px;
  padding: .4rem 1rem;
  font-size: .8125rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 1rem;
  animation: badgeFadeIn .6s ease-out;
  letter-spacing: .02em;
}
.o_badge_dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #34d399;
  flex-shrink: 0;
  animation: badgePulse 2s ease-in-out infinite;
}
@keyframes badgePulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .4; }
}
@keyframes badgeFadeIn {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== HERO DYNAMIC TEXT ===== */
.o_hero_kicker {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--body-color);
  margin-bottom: .25rem;
  letter-spacing: .01em;
}
.o_hero_rotate_wrap {
  display: inline;
}
.o_hero_rotate {
  display: inline;
  transition: opacity .4s cubic-bezier(.4, 0, .2, 1);
  will-change: opacity;
}

/* CTA trust badges */
.o_cta_badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  flex-wrap: wrap;
}

@media (max-width: 575.98px) {
  .o_hero_badge { font-size: .6875rem; padding: .25rem .625rem; }
  .o_badge_dot { width: 6px; height: 6px; }
}

/* ===== HERO COMPACT (side-by-side text + video) ===== */
.o_hero.o_hero_compact {
  padding: 5.5rem 0 2rem;
  text-align: left;
}
.o_hero.o_hero_compact .display-1 {
  font-size: clamp(2rem, 4vw, 3.25rem);
}
.o_hero.o_hero_compact .o_hero_sub {
  font-size: clamp(.95rem, 1.5vw, 1.125rem);
}
.o_hero.o_hero_compact .o_hero_video_frame {
  max-width: 100%;
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(0,0,0,.1), 0 1px 6px rgba(0,0,0,.05);
}

/* Like toast — inside the video frame */
.o_like_toast {
  position: absolute;
  right: 60px;
  bottom: 16px;
  z-index: 10;
  background: rgba(17,24,39,.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 12px;
  padding: .875rem 1.125rem;
  max-width: 220px;
  opacity: 0;
  transform: translateX(8px) scale(.96);
  pointer-events: none;
  transition: opacity .25s, transform .25s;
}
.o_like_toast.visible {
  opacity: 1;
  transform: translateX(0) scale(1);
  pointer-events: auto;
}
.o_like_toast p {
  font-size: .75rem;
  color: rgba(255,255,255,.85);
  margin: 0 0 .625rem;
  line-height: 1.45;
}
.o_toast_btn {
  display: inline-flex;
  align-items: center;
  gap: .375rem;
  font-size: .6875rem;
  font-weight: 600;
  color: var(--secondary);
  text-decoration: none;
  transition: color .15s;
}
.o_toast_btn:hover { color: #e8b93a; }
.o_toast_close {
  position: absolute;
  top: .375rem;
  right: .5rem;
  background: none;
  border: none;
  color: rgba(255,255,255,.3);
  font-size: 1rem;
  cursor: pointer;
  line-height: 1;
  padding: 0;
}
.o_toast_close:hover { color: rgba(255,255,255,.7); }

/* Compact hero + TikTok box responsive */
@media (max-width: 991.98px) {
  .o_hero.o_hero_compact {
    text-align: center;
    padding: 4.75rem 0 1.25rem;
  }
  .o_hero.o_hero_compact .col-lg-7 { margin-top: .5rem; }
  .o_hero_kicker { font-size: 1.125rem; }
  .o_hero.o_hero_compact .display-1 { font-size: 2.5rem; }
  .o_hero_rotate_wrap { }
}
@media (max-width: 767.98px) {
  .o_hero.o_hero_compact { padding: 4.25rem 0 .75rem; }
  .o_hero.o_hero_compact .display-1 { font-size: 2rem; }
  .o_hero_kicker { font-size: 1rem; }
  .o_hero.o_hero_compact .o_hero_sub { font-size: .9375rem; }
  .o_hero.o_hero_compact .o_hero_video_frame { border-radius: 10px; }
  /* Keep landscape aspect ratio on mobile */
  .o_hero_video_frame { aspect-ratio: 16/9 !important; }
  .o_tiktok_sidebar { gap: .5rem; right: 6px; bottom: 8px; }
  .o_tiktok_action i { font-size: .875rem; }
  .o_tiktok_action span { font-size: .45rem; }
  .o_like_toast { right: 44px; bottom: 8px; max-width: 180px; padding: .625rem .75rem; }
  .o_like_toast p { font-size: .6875rem; }
  .o_hero_badge { font-size: .75rem; padding: .3rem .75rem; }
}
@media (max-width: 575.98px) {
  .o_hero.o_hero_compact { padding: 4rem 0 .5rem; }
  .o_hero.o_hero_compact .display-1 { font-size: 1.75rem; }
  .o_hero_kicker { font-size: .9375rem; }
  .o_hero.o_hero_compact .btn-lg { padding: .625rem 1.25rem; font-size: .9375rem; }
  .o_tiktok_sidebar { gap: .375rem; right: 4px; bottom: 6px; }
  .o_tiktok_action span { display: none; }
}

/* ===== INTEGRATIONS / TRUSTED BY ===== */
.o_integrations {
  padding: 2.5rem 0 2rem;
  text-align: center;
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  overflow: hidden;
}
.o_integrations_label {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 1.5rem;
}
/* Marquee wrapper with edge fade */
.o_marquee_wrap {
  overflow: hidden;
  position: relative;
  width: 100%;
  mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
}
.o_marquee_track {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  white-space: nowrap;
  animation: marqueeScroll 80s linear infinite;
  width: max-content;
  padding: .6rem 0;
}
.o_marquee_track_reverse {
  animation: marqueeScrollReverse 70s linear infinite;
}
.o_mq_item {
  font-family: 'Inter', sans-serif;
  font-size: .875rem;
  font-weight: 600;
  letter-spacing: -.01em;
  padding: .45rem 1.1rem;
  border-radius: 100px;
  border: 1px solid rgba(0,0,0,.08);
  background: rgba(255,255,255,.9);
  box-shadow: 0 1px 3px rgba(0,0,0,.04);
  opacity: .75;
  transition: opacity .3s, transform .2s, box-shadow .2s;
  cursor: default;
  flex-shrink: 0;
}
.o_mq_item:hover {
  opacity: 1;
  transform: scale(1.08);
  box-shadow: 0 3px 12px rgba(0,0,0,.1);
}

@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@keyframes marqueeScrollReverse {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

@media (max-width: 991.98px) {
  .o_integrations { padding: 1.5rem 0 1.5rem; }
  .o_marquee_track { gap: 1rem; }
  .o_mq_item { font-size: .8rem; padding: .375rem .9rem; }
}
@media (max-width: 767.98px) {
  .o_integrations { padding: 1.25rem 0 1.25rem; }
  .o_integrations_label { font-size: .6875rem; margin-bottom: 1rem; }
  .o_marquee_track { gap: .75rem; padding: .35rem 0; }
  .o_mq_item { font-size: .72rem; padding: .3rem .75rem; }
}
@media (max-width: 575.98px) {
  .o_marquee_track { gap: .6rem; }
  .o_mq_item { font-size: .65rem; padding: .25rem .6rem; }
}

/* ===== PLACEHOLDER MOCKUPS (until real screenshots) ===== */
.o_placeholder_mockup {
  background: linear-gradient(135deg, var(--gray-100) 0%, var(--gray-200) 100%);
  border: 1px solid var(--border-color);
  border-radius: .625rem;
  padding: 3rem 2rem;
  text-align: center;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.o_placeholder_mockup i {
  font-size: 3rem;
  color: var(--gray-400);
  margin-bottom: 1rem;
}
.o_placeholder_mockup p {
  color: var(--gray-500);
  font-size: .875rem;
  margin: 0;
}


  /* ===== Pricing Toggle ===== */
  .pricing-toggle-wrap {
    display: inline-flex;
    align-items: center;
    gap: .75rem;
    background: #f3f4f6;
    border-radius: 50px;
    padding: .35rem .5rem;
  }
  .pricing-toggle-label {
    font-size: .875rem;
    font-weight: 500;
    color: #6b7280;
    cursor: pointer;
    padding: .375rem .875rem;
    border-radius: 50px;
    transition: all .2s;
    user-select: none;
  }
  .pricing-toggle-label.active {
    background: #fff;
    color: #111827;
    box-shadow: 0 1px 3px rgba(0,0,0,.1);
    font-weight: 600;
  }
  .pricing-toggle-badge {
    font-size: .7rem;
    font-weight: 600;
    background: #d4a12a;
    color: #fff;
    padding: .15rem .5rem;
    border-radius: 50px;
    margin-left: .25rem;
  }

  /* ===== Pricing Cards ===== */
  .pricing-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 2.25rem 1.75rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform .25s, box-shadow .25s;
    position: relative;
  }
  .pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,.08);
  }
  .pricing-card.featured {
    border: 2px solid #1a5eb4;
    box-shadow: 0 8px 30px rgba(26,94,180,.12);
  }
  .pricing-card .popular-badge {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    background: #1a5eb4;
    color: #fff;
    font-size: .7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    padding: .3rem 1rem;
    border-radius: 50px;
    white-space: nowrap;
  }
  .pricing-card .plan-name {
    font-size: 1.125rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: .25rem;
  }
  .pricing-card .plan-desc {
    font-size: .85rem;
    color: #6b7280;
    margin-bottom: 1.25rem;
  }
  .pricing-card .plan-price {
    font-size: 2.5rem;
    font-weight: 800;
    color: #111827;
    line-height: 1.1;
    margin-bottom: .125rem;
  }
  .pricing-card .plan-price .currency {
    font-size: 1.25rem;
    font-weight: 600;
    vertical-align: super;
    margin-right: .125rem;
  }
  .pricing-card .plan-price .period {
    font-size: .875rem;
    font-weight: 400;
    color: #9ca3af;
  }
  .pricing-card .plan-price-annual-note {
    font-size: .78rem;
    color: #059669;
    font-weight: 500;
    margin-bottom: 1.25rem;
    min-height: 1.2em;
  }
  .pricing-card .plan-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.75rem 0;
    flex: 1;
  }
  .pricing-card .plan-features li {
    font-size: .875rem;
    color: #374151;
    padding: .4rem 0;
    display: flex;
    align-items: flex-start;
    gap: .5rem;
  }
  .pricing-card .plan-features li .fa-check {
    color: #059669;
    font-size: .75rem;
    margin-top: .25rem;
    flex-shrink: 0;
  }
  .pricing-card .btn-plan {
    width: 100%;
    padding: .625rem 1rem;
    font-weight: 600;
    border-radius: 10px;
    font-size: .9rem;
  }
  .pricing-card .btn-plan-primary {
    background: #1a5eb4;
    color: #fff;
    border: none;
  }
  .pricing-card .btn-plan-primary:hover {
    background: #164d96;
    color: #fff;
  }
  .pricing-card .btn-plan-outline {
    background: transparent;
    color: #1a5eb4;
    border: 1.5px solid #1a5eb4;
  }
  .pricing-card .btn-plan-outline:hover {
    background: #1a5eb4;
    color: #fff;
  }

  /* ===== FAQ ===== */
  .pricing-faq .accordion-item {
    border: 1px solid #e5e7eb;
    border-radius: 12px !important;
    margin-bottom: .75rem;
    overflow: hidden;
  }
  .pricing-faq .accordion-button {
    font-weight: 600;
    font-size: .95rem;
    color: #111827;
    background: #fff;
    padding: 1rem 1.25rem;
    box-shadow: none !important;
  }
  .pricing-faq .accordion-button:not(.collapsed) {
    background: #f9fafb;
    color: #1a5eb4;
  }
  .pricing-faq .accordion-button::after {
    flex-shrink: 0;
  }
  .pricing-faq .accordion-body {
    font-size: .9rem;
    color: #4b5563;
    padding: 0 1.25rem 1rem;
  }

  /* ===== Hero ===== */
  .pricing-hero {
    padding: 5rem 0 3rem;
    text-align: center;
    background: linear-gradient(180deg, #f9fafb 0%, #fff 100%);
  }
  .pricing-hero h1 {
    font-weight: 800;
    color: #111827;
    font-size: 2.75rem;
  }
  .pricing-hero .subtitle {
    font-size: 1.125rem;
    color: #6b7280;
    max-width: 480px;
    margin: .75rem auto 0;
  }

  @media (max-width: 767.98px) {
    .pricing-hero h1 { font-size: 2rem; }
    .pricing-card { padding: 1.75rem 1.25rem; }
    .pricing-card .plan-price { font-size: 2rem; }
  }

