/* ==========================================================================
   FOCLINE TECHNOLOGIES - HIGH-CONVERTING ODOO LANDING PAGE (LIGHT THEME + ANIMATIONS)
   ========================================================================== */

:root {
  /* Focline Official Brand Palette */
  --focline-blue: #0078C8;
  --focline-blue-dark: #004F88;
  --focline-cyan: #0099DD;
  --focline-red: #D91A2A;
  
  /* Odoo Palette */
  --odoo-purple: #714B67;
  --odoo-purple-light: #875A7B;
  --odoo-purple-subtle: #FDF4FF;

  /* Clean Surfaces */
  --bg-main: #FFFFFF;
  --bg-subtle: #F8FAFC;
  --bg-card: #FFFFFF;
  --bg-glass: rgba(255, 255, 255, 0.96);
  --bg-blue-tint: #F0F9FF;
  --bg-purple-tint: #FAF5FF;

  /* Typography & Text */
  --text-heading: #0F172A;
  --text-body: #334155;
  --text-muted: #64748B;

  /* Borders & Shadows */
  --border-light: #E2E8F0;
  --border-brand: #0078C8;
  --shadow-sm: 0 2px 6px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 10px 25px -4px rgba(15, 23, 42, 0.08), 0 4px 10px -2px rgba(15, 23, 42, 0.04);
  --shadow-hero-form: 0 20px 40px -8px rgba(0, 120, 200, 0.22), 0 8px 16px -4px rgba(15, 23, 42, 0.08);

  /* Geometry & Timing */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 9999px;
  --container-max: 1240px;
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-main);
  color: var(--text-body);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--text-heading);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.025em;
  word-wrap: break-word;
}

p {
  color: var(--text-body);
  word-wrap: break-word;
}

a {
  color: var(--focline-blue);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--focline-blue-dark);
}

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

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* ==========================================================================
   EXPLICIT KEYFRAME ANIMATIONS & SCROLL REVEALS
   ========================================================================== */

@keyframes fadeUpReveal {
  0% {
    opacity: 0;
    transform: translateY(40px) scale(0.98);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes heroEntrance {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(0, 120, 200, 0.4);
  }
  50% {
    box-shadow: 0 0 0 10px rgba(0, 120, 200, 0);
  }
}

.reveal-on-scroll {
  opacity: 0;
  will-change: opacity, transform;
}

.reveal-on-scroll.is-visible {
  animation: fadeUpReveal 0.75s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Stagger Delays */
.reveal-delay-1 { animation-delay: 0.1s !important; }
.reveal-delay-2 { animation-delay: 0.2s !important; }
.reveal-delay-3 { animation-delay: 0.3s !important; }
.reveal-delay-4 { animation-delay: 0.4s !important; }

/* Region Visibility Rules */
html[data-region="in"] .region-ae-only,
[data-region="in"] .region-ae-only {
  display: none !important;
}

html[data-region="ae"] .region-in-only,
[data-region="ae"] .region-in-only {
  display: none !important;
}

/* Top Announcement Bar */
.top-bar {
  background: linear-gradient(90deg, #F0F9FF 0%, #FAF5FF 100%);
  border-bottom: 1px solid rgba(0, 120, 200, 0.15);
  padding: 0.5rem 0;
  font-size: 0.85rem;
}

.top-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.region-switcher {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--bg-main);
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.region-switcher-label {
  font-weight: 700;
  color: var(--text-muted);
  font-size: 0.775rem;
}

.region-btn {
  border: none;
  background: transparent;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.775rem;
  font-weight: 700;
  cursor: pointer;
  color: var(--text-muted);
  transition: all var(--transition-fast);
}

.region-btn.active {
  background: var(--focline-blue);
  color: #FFFFFF;
  box-shadow: var(--shadow-sm);
}

.top-contacts {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.top-contact-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
  color: var(--text-heading);
}

.top-contact-item svg {
  color: var(--focline-blue);
  flex-shrink: 0;
}

.top-contact-item a {
  color: var(--focline-blue) !important;
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg-glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-light);
  padding: 0.85rem 0;
  transition: background var(--transition-fast), box-shadow var(--transition-fast);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand-logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
  transition: transform var(--transition-fast);
}

.brand-logo-img:hover {
  transform: scale(1.04);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
}

.nav-link {
  font-weight: 700;
  font-size: 0.925rem;
  color: var(--text-heading);
  white-space: nowrap;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--focline-blue);
  border-radius: 2px;
  transition: width var(--transition-fast);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link:hover {
  color: var(--focline-blue);
}

.partner-badge-header {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: #FFF7ED;
  border: 1px solid #FFEDD5;
  color: #C2410C;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  white-space: nowrap;
  animation: float-badge 3s ease-in-out infinite;
}

@keyframes float-badge {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

/* Buttons Micro-Interactions */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.6rem;
  border-radius: var(--radius-md);
  font-weight: 800;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all var(--transition-fast);
  border: 1px solid transparent;
  text-align: center;
  white-space: nowrap;
  user-select: none;
}

.btn:active {
  transform: scale(0.96) translateY(0) !important;
}

.btn-primary {
  background: linear-gradient(135deg, var(--focline-blue), var(--focline-blue-dark));
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(0, 120, 200, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(0, 120, 200, 0.45);
  color: #FFFFFF;
}

.btn-odoo {
  background: linear-gradient(135deg, var(--odoo-purple), var(--odoo-purple-light));
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(113, 75, 103, 0.3);
}

.btn-odoo:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(113, 75, 103, 0.4);
  color: #FFFFFF;
}

.btn-secondary {
  background: var(--bg-main);
  color: var(--focline-blue);
  border-color: var(--focline-blue);
}

.btn-secondary:hover {
  background: var(--bg-blue-tint);
  transform: translateY(-2px);
}

.btn-outline-white {
  background: rgba(255, 255, 255, 0.15) !important;
  color: #FFFFFF !important;
  border: 2px solid #FFFFFF !important;
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.3) !important;
  color: #FFFFFF !important;
  transform: translateY(-2px);
}

.btn-lg {
  padding: 0.95rem 2.2rem;
  font-size: 1.05rem;
  border-radius: var(--radius-lg);
}

/* Hero Section Entrance Animations */
.hero {
  position: relative;
  padding: 4rem 0 5rem;
  background: radial-gradient(circle at 80% 20%, rgba(0, 153, 221, 0.08) 0%, rgba(255, 255, 255, 0) 60%),
              radial-gradient(circle at 10% 80%, rgba(113, 75, 103, 0.06) 0%, rgba(255, 255, 255, 0) 60%),
              var(--bg-main);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-content {
  animation: heroEntrance 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-lead-card {
  animation: heroEntrance 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.15s forwards;
}

.hero-badge-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

.tag-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.tag-badge-blue {
  background: var(--bg-blue-tint);
  color: var(--focline-blue);
  border: 1px solid rgba(0, 120, 200, 0.2);
}

.tag-badge-purple {
  background: var(--odoo-purple-subtle);
  color: var(--odoo-purple);
  border: 1px solid rgba(113, 75, 103, 0.2);
}

.pulse-indicator {
  width: 8px;
  height: 8px;
  background: #059669;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(5, 150, 105, 0.7);
  animation: pulse-ring 1.8s infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(5, 150, 105, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(5, 150, 105, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(5, 150, 105, 0); }
}

.hero-title {
  font-size: 2.85rem;
  line-height: 1.18;
  margin-bottom: 1.25rem;
  letter-spacing: -0.03em;
  word-wrap: break-word;
}

.hero-title span.highlight-purple {
  color: var(--odoo-purple);
  background: linear-gradient(135deg, var(--odoo-purple), var(--focline-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: 1.1rem;
  color: var(--text-body);
  margin-bottom: 1.75rem;
  line-height: 1.65;
}

.hero-feature-list {
  list-style: none;
  margin-bottom: 2rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem 1.5rem;
}

.hero-feature-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 0.925rem;
  color: var(--text-heading);
}

.hero-feature-item svg {
  color: var(--focline-blue);
  flex-shrink: 0;
}

/* HIGH VISIBILITY PROMINENT LEAD GENERATION CARD */
.hero-lead-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-hero-form);
  border: 2px solid var(--focline-blue);
  position: relative;
  z-index: 10;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.hero-lead-card:hover {
  box-shadow: 0 25px 50px -10px rgba(0, 120, 200, 0.28);
}

.hero-lead-card::before {
  content: 'FAST RESPONSE ⚡';
  position: absolute;
  top: -14px;
  right: 24px;
  background: linear-gradient(135deg, var(--focline-blue), var(--focline-cyan));
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.25rem 0.85rem;
  border-radius: var(--radius-full);
  letter-spacing: 0.05em;
  box-shadow: 0 4px 10px rgba(0, 120, 200, 0.3);
  z-index: 20;
}

.hero-lead-header {
  margin-bottom: 1.25rem;
}

.hero-lead-title {
  font-size: 1.4rem;
  color: var(--text-heading);
  margin-bottom: 0.35rem;
}

.hero-lead-subtitle {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.form-group {
  margin-bottom: 1.1rem;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 0.35rem;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  height: 48px;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border-light);
  background: #F8FAFC;
  color: var(--text-heading);
  font-size: 0.95rem;
  font-family: inherit;
  transition: all var(--transition-fast);
  text-overflow: ellipsis;
  overflow: hidden;
}

.form-textarea {
  height: auto;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--focline-blue);
  background: #FFFFFF;
  box-shadow: 0 0 0 3.5px rgba(0, 120, 200, 0.18);
}

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

.checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.35rem;
}

.checkbox-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.85rem;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  font-size: 0.825rem;
  font-weight: 700;
  cursor: pointer;
  background: #F8FAFC;
  user-select: none;
  white-space: nowrap;
  transition: all var(--transition-fast);
}

.checkbox-chip input {
  accent-color: var(--focline-blue);
}

.checkbox-chip:hover {
  background: var(--bg-blue-tint);
  border-color: rgba(0, 120, 200, 0.3);
}

.checkbox-chip:has(input:checked) {
  background: var(--bg-blue-tint);
  border-color: var(--focline-blue);
  color: var(--focline-blue);
}

/* ODOO INTERFACE SHOWCASE SECTION */
.showcase-section {
  padding: 4rem 0 5rem;
  background: var(--bg-subtle);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.showcase-frame-container {
  max-width: 1040px;
  margin: 0 auto;
}

.showcase-browser-window {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
  overflow: hidden;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.showcase-browser-window:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hero-form);
}

.browser-header-dots {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.85rem 1.25rem;
  background: #F1F5F9;
  border-bottom: 1px solid var(--border-light);
}

.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot-red { background: #EF4444; }
.dot-yellow { background: #F59E0B; }
.dot-green { background: #10B981; }

.showcase-dashboard-img {
  width: 100%;
  height: auto;
  display: block;
}

.showcase-feature-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.showcase-feature-card {
  background: #FFFFFF;
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: all var(--transition-fast);
}

.showcase-feature-card:hover {
  transform: translateY(-3px);
  border-color: var(--focline-blue);
  box-shadow: var(--shadow-md);
}

.feature-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--bg-blue-tint);
  color: var(--focline-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
}

.feature-card-text strong {
  display: block;
  font-size: 0.95rem;
  color: var(--text-heading);
  margin-bottom: 0.2rem;
}

.feature-card-text span {
  font-size: 0.825rem;
  color: var(--text-muted);
}

/* Sections Base */
.section {
  padding: 5.5rem 0;
}

.section-alt {
  background-color: var(--bg-subtle);
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3.5rem;
}

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--focline-blue);
  margin-bottom: 0.75rem;
  background: var(--bg-blue-tint);
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(0, 120, 200, 0.15);
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
}

/* Services Grid (Balanced 2x2 Layout) */
.modules-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.module-card {
  background: #FFFFFF;
  border-radius: var(--radius-md);
  padding: 2rem;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: all var(--transition-normal);
}

.module-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--focline-blue);
}

.module-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--bg-blue-tint);
  color: var(--focline-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
  transition: transform var(--transition-fast);
}

.module-card:hover .module-icon {
  transform: scale(1.1) rotate(6deg);
}

.module-title {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.module-desc {
  font-size: 0.925rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.module-features {
  list-style: none;
  font-size: 0.875rem;
}

.module-features li {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.4rem;
  color: var(--text-body);
}

.module-features li svg {
  color: #059669;
  flex-shrink: 0;
}

/* WORKFLOW CARDS */
.workflow-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.workflow-card {
  background: #FFFFFF;
  border-radius: var(--radius-md);
  padding: 2rem;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: all var(--transition-normal);
}

.workflow-card:hover {
  border-color: var(--focline-blue);
  box-shadow: var(--shadow-md);
  transform: translateY(-5px);
}

.workflow-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.workflow-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--bg-blue-tint);
  color: var(--focline-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.workflow-step-num {
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--focline-blue);
  background: var(--bg-blue-tint);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(0, 120, 200, 0.2);
}

.workflow-title {
  font-size: 1.3rem;
  margin-bottom: 0.65rem;
}

.workflow-desc {
  font-size: 0.95rem;
  color: var(--text-body);
  margin-bottom: 1.25rem;
  line-height: 1.6;
}

.workflow-deliverables {
  list-style: none;
  font-size: 0.85rem;
  background: #F8FAFC;
  padding: 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  margin-top: auto;
}

.workflow-deliverables-title {
  font-weight: 800;
  color: var(--text-heading);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.workflow-deliverables li {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.35rem;
  color: var(--text-body);
  font-weight: 600;
}

.workflow-deliverables li:last-child {
  margin-bottom: 0;
}

.workflow-deliverables li svg {
  color: var(--focline-blue);
  flex-shrink: 0;
}

/* Cost Estimator Section */
.calculator-card {
  background: var(--bg-main);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
}

.calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: flex-start;
}

.calc-input-group {
  margin-bottom: 1.75rem;
}

.range-slider-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.range-slider-value {
  font-weight: 800;
  color: var(--focline-blue);
  font-size: 1.1rem;
}

.range-input {
  width: 100%;
  height: 8px;
  border-radius: 4px;
  accent-color: var(--focline-blue);
  background: var(--border-light);
  cursor: pointer;
  transition: opacity var(--transition-fast);
}

.calc-result-box {
  background: linear-gradient(135deg, #F0F9FF 0%, #FAF5FF 100%);
  border-radius: var(--radius-md);
  padding: 2rem;
  border: 1.5px solid rgba(0, 120, 200, 0.25);
  transition: transform var(--transition-fast);
}

.cost-comparison-card {
  background: #FFFFFF;
  border-radius: var(--radius-sm);
  padding: 1.35rem;
  border: 1px solid var(--border-light);
  margin-bottom: 1.25rem;
}

.comparison-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px dashed var(--border-light);
  gap: 1rem;
  flex-wrap: wrap;
}

.comparison-row:last-child {
  border-bottom: none;
}

.comp-label {
  font-size: 0.925rem;
  font-weight: 700;
  color: var(--text-body);
}

.comp-val {
  font-size: 1.15rem;
  font-weight: 800;
  white-space: nowrap;
  transition: color var(--transition-fast), transform var(--transition-fast);
}

.comp-val-odoo { color: var(--odoo-purple); }
.comp-val-competitor { color: #EF4444; }
.comp-val-savings { color: #059669; font-size: 1.35rem; }

.impl-note-card {
  background: #FFFBEB;
  border: 1px solid #FCD34D;
  border-radius: var(--radius-sm);
  padding: 1rem 1.15rem;
  font-size: 0.875rem;
  line-height: 1.5;
  color: #92400E;
  margin-top: 1.25rem;
}

.impl-note-card strong {
  color: #78350F;
}

.result-metric-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 1.25rem;
}

.metric-item {
  background: #FFFFFF;
  padding: 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
}

.metric-val {
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--text-heading);
}

.metric-lbl {
  font-size: 0.775rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* Team Section */
.team-section-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.team-image-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
  transition: transform var(--transition-normal);
}

.team-image-frame:hover {
  transform: scale(1.02);
}

.team-content h3 {
  font-size: 2.1rem;
  margin-bottom: 1rem;
}

.team-content p {
  font-size: 1.05rem;
  color: var(--text-body);
  margin-bottom: 1.5rem;
}

/* Comparison Table */
.comparison-table-wrapper {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
  overflow-x: auto;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.comparison-table th, .comparison-table td {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border-light);
  vertical-align: middle;
}

.comparison-table th {
  background: var(--bg-subtle);
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--text-heading);
  white-space: nowrap;
}

.comparison-table th.col-highlight {
  background: var(--bg-blue-tint);
  color: var(--focline-blue);
}

.comparison-table td.col-highlight {
  background: rgba(240, 249, 255, 0.5);
  font-weight: 700;
  color: var(--focline-blue);
}

.check-icon { color: #059669; font-weight: 800; }
.cross-icon { color: #EF4444; font-weight: 800; }

/* Testimonials Grid */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.testimonial-card {
  background: #FFFFFF;
  border-radius: var(--radius-md);
  padding: 2rem;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  transition: transform var(--transition-normal);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.testimonial-stars {
  color: #F59E0B;
  display: flex;
  gap: 0.2rem;
  margin-bottom: 1rem;
}

.testimonial-quote {
  font-size: 0.975rem;
  font-style: italic;
  color: var(--text-body);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg-blue-tint);
  color: var(--focline-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.author-info h4 {
  font-size: 0.95rem;
  color: var(--text-heading);
}

.author-info p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* CTA Banner */
.cta-banner {
  background: linear-gradient(135deg, var(--focline-blue) 0%, var(--focline-blue-dark) 100%);
  color: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 4rem 3rem;
  text-align: center;
  box-shadow: var(--shadow-md);
}

.cta-banner h2 {
  color: #FFFFFF;
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.15rem;
  max-width: 650px;
  margin: 0 auto 2rem;
}

.cta-banner-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Footer */
.footer {
  background: var(--bg-subtle);
  border-top: 1px solid var(--border-light);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-col h4 {
  font-size: 1rem;
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.65rem;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
}

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

.social-links {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.social-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all var(--transition-fast);
}

.social-icon:hover {
  background: var(--focline-blue);
  color: #FFFFFF;
  border-color: var(--focline-blue);
}

.footer-bottom {
  border-top: 1px solid var(--border-light);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* Modal Popup */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(6px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-fast);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-container {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  max-width: 540px;
  width: 90%;
  position: relative;
  box-shadow: var(--shadow-hero-form);
}

.modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-muted);
  cursor: pointer;
}

/* Floating WhatsApp Button with Ring Pulse */
.floating-whatsapp {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  width: 60px;
  height: 60px;
  background: #25D366;
  color: #FFFFFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.4);
  cursor: pointer;
  transition: transform var(--transition-fast);
  animation: pulseGlow 2.5s infinite;
}

.floating-whatsapp:hover {
  transform: scale(1.08);
}

/* Toast Notifications */
.toast-notification {
  position: fixed;
  bottom: 24px;
  left: 24px;
  background: var(--text-heading);
  color: #FFFFFF;
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  font-weight: 600;
  font-size: 0.9rem;
  z-index: 3000;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s ease;
}

.toast-notification.active {
  transform: translateY(0);
  opacity: 1;
}

/* Mobile Navigation Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0 10px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  background: var(--bg-main);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--text-heading);
  border-radius: 2px;
}

/* Extra Button Variants */
.btn-block {
  width: 100%;
  padding: 0.95rem 1.25rem;
  font-size: 1.05rem;
  white-space: normal;
}

.btn-white {
  background: #FFFFFF;
  color: var(--focline-blue-dark);
}

.btn-white:hover {
  color: var(--focline-blue-dark);
  transform: translateY(-2px);
}

/* Lead Form States */
.form-fieldset {
  border: none;
}

.form-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-input.is-invalid, .form-textarea.is-invalid {
  border-color: #DC2626;
  background: #FEF2F2;
}

.form-status:empty {
  display: none;
}

.form-status {
  margin-bottom: 1rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 600;
}

.form-status-error {
  background: #FEF2F2;
  border: 1px solid #FECACA;
  color: #991B1B;
}

.form-consent {
  margin-top: 0.75rem;
  font-size: 0.775rem;
  color: var(--text-muted);
  text-align: center;
}

.odoo-lead-form {
  position: relative;
}

.odoo-lead-form.is-submitted > :not(.form-success) {
  display: none;
}

.form-success {
  text-align: center;
  padding: 1.5rem 0.5rem;
}

.form-success-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: #DCFCE7;
  color: #15803D;
  font-size: 1.75rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.form-success h4 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.form-success p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Estimator Controls */
.calc-inputs fieldset {
  border: none;
}

.segmented {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.35rem;
  padding: 0.3rem;
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
}

.segmented-option {
  position: relative;
  cursor: pointer;
}

.segmented-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.segmented-option span {
  display: block;
  padding: 0.6rem 0.75rem;
  border-radius: var(--radius-sm);
  text-align: center;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-body);
  transition: background var(--transition-fast), color var(--transition-fast);
}

.segmented-option input:checked + span {
  background: var(--bg-main);
  color: var(--focline-blue-dark);
  box-shadow: var(--shadow-sm);
}

.segmented-option input:focus-visible + span {
  outline: 2px solid var(--focline-blue);
  outline-offset: 2px;
}

.segmented-option input:disabled + span {
  color: #94A3B8;
  cursor: not-allowed;
  text-decoration: line-through;
}

.calc-hint {
  margin-top: 0.5rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.calc-result-title {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.calc-result-plan {
  margin: 0.35rem 0 1rem;
  font-weight: 700;
  color: var(--text-heading);
}

.comparison-row-total .comp-label {
  font-size: 1.05rem;
  color: var(--text-heading);
}

.comparison-row-total .comp-val {
  font-size: 1.35rem;
}

.calc-footnote {
  margin-top: 1rem;
  font-size: 0.775rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Estimator Steps: Industry & App Pickers */
.estimator-step {
  margin-bottom: 2.25rem;
}

.estimator-step-flush {
  margin-bottom: 1rem;
}

.estimator-step-header {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  margin-bottom: 1.1rem;
}

.estimator-step-num {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--focline-blue);
  color: #FFFFFF;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.estimator-step-title {
  font-size: 1.15rem;
  margin-bottom: 0.15rem;
}

.estimator-step-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.app-count {
  margin-left: auto;
  flex-shrink: 0;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--focline-blue-dark);
  background: var(--bg-blue-tint);
  border-radius: var(--radius-full);
  padding: 0.35rem 0.85rem;
}

.industry-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.industry-card {
  display: flex;
  flex-direction: column;
  text-align: left;
  padding: 0;
  border: 2px solid var(--border-light);
  border-radius: var(--radius-md);
  background: var(--bg-main);
  overflow: hidden;
  cursor: pointer;
  font-family: inherit;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast), transform var(--transition-fast);
}

.industry-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  height: auto;
  object-fit: cover;
}

.industry-card-body {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.85rem 1rem 1rem;
}

.industry-card-body strong {
  color: var(--text-heading);
  font-size: 1rem;
}

.industry-card-body span {
  color: var(--text-muted);
  font-size: 0.825rem;
  line-height: 1.4;
}

.industry-card:hover {
  border-color: rgba(0, 120, 200, 0.4);
  transform: translateY(-2px);
}

.industry-card.active {
  border-color: var(--focline-blue);
  box-shadow: var(--shadow-md);
}

.industry-card:focus-visible, .app-tile:focus-visible {
  outline: 3px solid var(--focline-blue);
  outline-offset: 2px;
}

.app-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 0.75rem;
}

.app-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 0.5rem 0.85rem;
  border: 2px solid var(--border-light);
  border-radius: var(--radius-md);
  background: var(--bg-main);
  cursor: pointer;
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-body);
  line-height: 1.25;
  text-align: center;
  transition: border-color var(--transition-fast), background var(--transition-fast);
}

.app-tile img {
  width: 44px;
  height: 44px;
}

.app-tile:hover {
  border-color: rgba(0, 120, 200, 0.4);
}

.app-tile.active {
  border-color: var(--focline-blue);
  background: var(--bg-blue-tint);
  color: var(--focline-blue-dark);
}

.app-tile.active::after {
  content: '✓';
  position: absolute;
  top: 6px;
  right: 8px;
  font-size: 0.8rem;
  color: var(--focline-blue-dark);
}

/* Competitor Comparison */
.comparison-card {
  margin-top: 2rem;
  background: var(--bg-main);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2rem 2.5rem;
  box-shadow: var(--shadow-md);
}

.comparison-card-title {
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}

.comparison-card-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.vendor-table-wrapper {
  overflow-x: auto;
}

.vendor-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.vendor-table th {
  text-align: left;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  padding: 0 0.75rem 0.65rem;
  border-bottom: 1px solid var(--border-light);
}

.vendor-table td {
  padding: 0.9rem 0.75rem;
  border-bottom: 1px solid var(--border-light);
  vertical-align: top;
}

.vendor-table td strong {
  display: block;
  color: var(--text-heading);
}

.vendor-edition {
  display: block;
  font-size: 0.775rem;
  color: var(--text-muted);
}

.vendor-cost {
  font-weight: 800;
  color: var(--text-heading);
  white-space: nowrap;
}

.vendor-row-odoo td {
  background: var(--bg-purple-tint);
}

.vendor-row-odoo .vendor-cost {
  color: var(--odoo-purple);
}

.vendor-col-bar {
  width: 22%;
  min-width: 120px;
}

.vendor-bar {
  display: block;
  height: 10px;
  margin-top: 0.4rem;
  background: var(--bg-subtle);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.vendor-bar span {
  display: block;
  height: 100%;
  background: #94A3B8;
  border-radius: var(--radius-full);
}

.vendor-row-odoo .vendor-bar span {
  background: var(--odoo-purple);
}

.vendor-coverage {
  display: inline-block;
  font-weight: 700;
  font-size: 0.825rem;
  padding: 0.15rem 0.6rem;
  border-radius: var(--radius-full);
}

.vendor-coverage-full {
  background: #DCFCE7;
  color: #166534;
}

.vendor-coverage-gap {
  background: #FEF3C7;
  color: #92400E;
}

.vendor-coverage-detail {
  display: block;
  margin-top: 0.3rem;
  font-size: 0.775rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.vendor-empty {
  text-align: center;
  color: var(--text-muted);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

/* Workflow Banner */
.workflow-banner {
  margin-bottom: 2rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.workflow-banner img {
  width: 100%;
  aspect-ratio: 16 / 6;
  height: auto;
  object-fit: cover;
}

/* Modal Content */
body.modal-open {
  overflow: hidden;
}

.modal-container {
  max-height: calc(100vh - 2rem);
  overflow-y: auto;
}

.modal-title {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
  padding-right: 2rem;
}

.modal-subtitle {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.modal-estimate {
  background: var(--bg-blue-tint);
  border: 1px solid rgba(0, 120, 200, 0.2);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  margin-bottom: 1.25rem;
}

.modal-estimate-title {
  font-size: 0.775rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--focline-blue-dark);
  margin-bottom: 0.35rem;
}

.modal-estimate-body {
  font-size: 0.85rem;
  color: var(--text-body);
  white-space: pre-line;
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  .hero-grid, .calc-grid, .team-section-grid, .modules-grid, .testimonials-grid, .workflow-grid, .showcase-feature-bar {
    grid-template-columns: 1fr;
  }

  .hero-title {
    font-size: 2.35rem;
  }

  .nav-toggle {
    display: flex;
  }

  .partner-badge-header {
    display: none;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem 1.5rem 1rem;
    background: var(--bg-main);
    border-bottom: 1px solid var(--border-light);
    box-shadow: var(--shadow-md);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links .nav-link {
    display: block;
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--border-light);
  }

  .nav-links li:last-child .nav-link {
    border-bottom: none;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .industry-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .app-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .comparison-card {
    padding: 1.5rem;
  }
}

@media (max-width: 640px) {
  .top-contacts {
    display: none;
  }

  .top-bar-content {
    justify-content: center;
  }

  .nav-cta .open-modal-btn {
    padding: 0.6rem 1rem;
    font-size: 0.85rem;
  }

  .brand-logo-img {
    height: 40px;
  }

  .hero-lead-card, .calculator-card, .modal-container {
    padding: 1.5rem;
  }

  .calc-result-box {
    padding: 1.25rem;
  }

  .app-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .estimator-step-header {
    flex-wrap: wrap;
  }

  .app-count {
    margin-left: 0;
  }

  .vendor-col-bar {
    display: none;
  }

  .workflow-banner img {
    aspect-ratio: 4 / 3;
  }
  
  .form-row, .footer-grid, .hero-feature-list {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Client recommendation letter */
.letter-card {
  max-width: 760px;
  margin: 0 auto;
  padding: 1rem;
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  text-align: center;
}
.letter-card img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
}
.letter-card figcaption {
  margin-top: 0.75rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}
