/* ==========================================================================
   ONE AUTOMATION - EXACT ODOO REPLICATION WITH CUSTOM PALETTE
   Palette:
   - Dominant Base: #f8f7f4 (Warm Off-White)
   - Cards/Surfaces: #ffffff (Pure White)
   - Text & Dark Elements: #02060f (Deep Obsidian Black)
   - Accent Primary: #0057ff (Vibrant Electric Blue)
   - Accent Hover: #0045cc
   - Success: #059669 (Emerald)
   ========================================================================== */

:root {
  --bg-base: #f8f7f4;
  --bg-surface: #ffffff;
  --bg-200: #f0eee8;
  --bg-muted: #eae6dd;
  
  --text-main: #02060f;
  --text-sub: #4b5563;
  --text-muted: #6b7280;
  
  --accent: #0057ff;
  --accent-hover: #0045cc;
  --accent-light: #edf3ff;
  --accent-glow: rgba(0, 87, 255, 0.14);
  
  --border-light: #e5e2da;
  --border-strong: #d2cebf;
  
  --success: #059669;
  --success-light: #e6f9f0;
  
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-pill: 9999px;
  
  --shadow-sm: 0 1px 2px rgba(2, 6, 15, 0.05);
  --shadow-md: 0 4px 14px rgba(2, 6, 15, 0.06);
  --shadow-hover: 0 8px 24px rgba(0, 87, 255, 0.1);
  
  --font-sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
  --font-mono: 'Fira Code', monospace, Consolas, sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-base);
  color: var(--text-main);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  color: var(--text-main);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: all 0.2s ease;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ==========================================================================
   Header (Odoo Navbar Style)
   ========================================================================== */
.site-header {
  background-color: rgba(248, 247, 244, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-logo-img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.brand-title {
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-main);
}

.brand-title span {
  color: var(--accent);
}

.nav-socials {
  display: flex;
  align-items: center;
  gap: 8px;
}

.social-icon-btn {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-sub);
  transition: all 0.2s ease;
}

.social-icon-btn:hover {
  background-color: #02060f;
  color: #ffffff;
  border-color: #02060f;
  transform: translateY(-1px);
}

.social-icon-btn svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}

/* ==========================================================================
   Buttons & Badges (Odoo Style)
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  font-size: 14.5px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--accent);
  color: #ffffff;
  box-shadow: 0 4px 12px var(--accent-glow);
}

.btn-primary:hover {
  background-color: var(--accent-hover);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0, 87, 255, 0.22);
}

.btn-light {
  background-color: var(--bg-surface);
  color: var(--text-main);
  border: 1px solid var(--border-light);
}

.btn-light:hover {
  background-color: var(--bg-200);
  border-color: var(--text-main);
}

.btn-dark {
  background-color: #02060f;
  color: #f8f7f4;
}

.btn-dark:hover {
  background-color: #1a2233;
  color: #ffffff;
}

.btn-whatsapp {
  background-color: #25d366;
  color: #ffffff;
}

.btn-whatsapp:hover {
  background-color: #20ba5a;
  color: #ffffff;
}

.btn-lg {
  padding: 13px 28px;
  font-size: 15.5px;
}

.btn-sm {
  padding: 6px 12px;
  font-size: 12.5px;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  font-size: 11.5px;
  font-weight: 600;
  border-radius: var(--radius-pill);
  background-color: var(--accent-light);
  color: var(--accent);
  border: 1px solid rgba(0, 87, 255, 0.16);
}

.badge-free {
  background-color: var(--success-light);
  color: var(--success);
  border-color: rgba(5, 150, 105, 0.25);
  font-weight: 700;
}

/* ==========================================================================
   Exact Odoo Hero Section (pt-5 pb-6 text-center)
   ========================================================================== */
.odoo-hero-section {
  padding: 65px 0 40px;
  text-align: center;
  position: relative;
}

.display-1 {
  font-size: 56px;
  font-weight: 800;
  letter-spacing: -0.04em;
  margin-bottom: 14px;
  color: var(--text-main);
  line-height: 1.08;
}

.display-1 .highlight {
  color: var(--accent);
}

.display-3 {
  font-size: 26px;
  font-weight: 600;
  color: var(--text-sub);
  margin-bottom: 28px;
  letter-spacing: -0.02em;
}

.highlight-price {
  color: var(--accent);
  font-weight: 700;
  position: relative;
  display: inline-block;
}

.doodle-note {
  font-style: normal;
  font-size: 12.5px;
  font-weight: 700;
  background-color: var(--bg-surface);
  border: 1px solid var(--accent);
  color: var(--accent);
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  display: inline-block;
  margin-left: 6px;
  vertical-align: middle;
}

.hero-cta-btns {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

/* ==========================================================================
   Generator Floating Bar on Hero
   ========================================================================== */
.generator-bar-box {
  background-color: var(--bg-surface);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 24px;
  max-width: 860px;
  margin: 0 auto 30px;
  box-shadow: var(--shadow-md);
  text-align: left;
}

.generator-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 12px;
  align-items: flex-end;
}

.generator-input-group label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 6px;
  letter-spacing: 0.04em;
}

.generator-field {
  width: 100%;
  padding: 11px 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-main);
  background-color: var(--bg-200);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  outline: none;
  transition: all 0.2s ease;
}

.generator-field:focus {
  background-color: #ffffff;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.presets-chips-row {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--border-light);
}

.preset-chip-btn {
  font-size: 11.5px;
  font-weight: 600;
  padding: 4px 10px;
  background-color: var(--bg-200);
  color: var(--text-sub);
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-light);
  cursor: pointer;
  transition: all 0.15s ease;
}

.preset-chip-btn:hover, .preset-chip-btn.active {
  background-color: #02060f;
  color: #f8f7f4;
  border-color: #02060f;
}

.generator-output-banner {
  background-color: #edf5ff;
  border: 2px solid var(--accent);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin-top: 16px;
  display: none;
  animation: fadeIn 0.25s ease;
}

.generator-output-banner.show {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   Brands Marquee ("We've booked meetings with teams at")
   ========================================================================== */
.brands-marquee-section {
  padding: 30px 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  background-color: rgba(255, 255, 255, 0.4);
  position: relative;
  overflow: hidden;
}

.brands-marquee-title {
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.marquee-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  display: flex;
}

.marquee-fade-l, .marquee-fade-r {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 70px;
  z-index: 10;
  pointer-events: none;
}

.marquee-fade-l {
  left: 0;
  background: linear-gradient(90deg, var(--bg-base) 0%, transparent 100%);
}

.marquee-fade-r {
  right: 0;
  background: linear-gradient(270deg, var(--bg-base) 0%, transparent 100%);
}

.marquee-strip {
  display: flex;
  gap: 10px;
  width: max-content;
  animation: scrollMarquee 26s linear infinite;
}

.marquee-strip:hover {
  animation-play-state: paused;
}

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

.brand-badge-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-pill);
  padding: 6px 14px;
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}

.brand-badge-pill img {
  width: 16px;
  height: 16px;
  object-fit: contain;
  border-radius: 3px;
}

.brand-badge-pill span {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-main);
  white-space: nowrap;
}

/* ==========================================================================
   Exact Odoo All Apps Page Layout (pb-6 container with categories & cards)
   ========================================================================== */
.all-apps-container-section {
  padding: 55px 0 70px;
}

.apps-main-title {
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.03em;
  text-align: center;
  margin-bottom: 6px;
}

.apps-main-subtitle {
  font-size: 15px;
  color: var(--text-sub);
  text-align: center;
  margin-bottom: 45px;
}

.category-block {
  margin-bottom: 38px;
}

.category-heading {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.category-heading::after {
  content: "";
  flex: 1;
  height: 1px;
  background-color: var(--border-light);
}

.category-apps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 16px;
}

/* Odoo Horizontal App Card (x_wd_app_horizontal) */
.odoo-app-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  transition: all 0.2s ease;
  cursor: pointer;
}

.odoo-app-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.odoo-app-card.is-active-free {
  border-color: var(--success);
  background-color: #f7fffb;
  box-shadow: 0 4px 16px rgba(5, 150, 105, 0.1);
}

.app-card-left {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
}

.app-icon-square {
  width: 48px;
  height: 48px;
  background-color: var(--bg-200);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}

.app-info h5 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 2px;
  line-height: 1.2;
}

.app-info small {
  font-size: 12px;
  color: var(--text-muted);
  display: block;
  line-height: 1.3;
}

/* ==========================================================================
   Pricing Split Section
   ========================================================================== */
.pricing-split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 960px;
  margin: 30px auto 50px;
}

.pricing-plan-card {
  background-color: var(--bg-surface);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.pricing-plan-card.is-featured-dark {
  background-color: #02060f;
  color: #f8f7f4;
  border-color: #02060f;
}

.pricing-plan-card.is-featured-dark h3,
.pricing-plan-card.is-featured-dark .price-big {
  color: #ffffff;
}

.pricing-plan-card.is-featured-dark p {
  color: #94a3b8;
}

.price-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 12px 0 8px;
}

.price-big {
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.price-per {
  font-size: 13.5px;
  color: var(--text-muted);
}

/* Financial Comparison Banner */
.financial-efficiency-banner {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  margin: 20px auto 50px;
  max-width: 960px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

/* Footer */
.site-footer {
  background-color: #02060f;
  color: #8d98a7;
  padding: 36px 0 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  flex-wrap: wrap;
  gap: 12px;
}

@media (max-width: 820px) {
  .display-1 {
    font-size: 38px;
  }
  .generator-form-row {
    grid-template-columns: 1fr;
  }
  .pricing-split-grid {
    grid-template-columns: 1fr;
  }
  .financial-efficiency-banner {
    flex-direction: column;
    text-align: center;
  }
  .footer-top-row, .footer-bottom-row {
    flex-direction: column;
    align-items: flex-start;
  }
}
