/* ==========================================================================
   M-Softsolutions Ltd / М-Софтсолюшънс ЕООД
   Modern Corporate Design System (Light & Dark Theme, CWV-Optimized)
   ========================================================================== */

:root {
  /* Light Theme Colors */
  --bg-body: #f8fafc;
  --bg-surface: #ffffff;
  --bg-surface-alt: #f1f5f9;
  --bg-elevated: #ffffff;
  --bg-glass: rgba(248, 250, 252, 0.84);

  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --text-inverse: #ffffff;

  /* Brand Accents: Indigo + Odoo Plum + Finance Sky/Emerald */
  --brand-primary: #4f46e5;
  --brand-primary-hover: #4338ca;
  --brand-primary-soft: rgba(79, 70, 229, 0.1);
  --brand-odoo: #875a7b;
  --brand-odoo-soft: rgba(135, 90, 123, 0.12);
  --brand-finance: #0284c7;
  --brand-finance-soft: rgba(2, 132, 199, 0.1);
  --brand-success: #059669;
  --brand-success-soft: rgba(5, 150, 105, 0.12);

  --gradient-brand: linear-gradient(135deg, #4f46e5 0%, #7c3aed 52%, #875a7b 100%);
  --gradient-hero-text: linear-gradient(135deg, #4338ca 0%, #7c3aed 50%, #9d4edd 100%);
  --gradient-card-border: linear-gradient(135deg, rgba(79, 70, 229, 0.35), rgba(135, 90, 123, 0.35), rgba(2, 132, 199, 0.3));

  --border-subtle: rgba(15, 23, 42, 0.08);
  --border-strong: rgba(15, 23, 42, 0.15);

  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.05), 0 1px 2px rgba(15, 23, 42, 0.03);
  --shadow-md: 0 10px 30px -10px rgba(15, 23, 42, 0.08), 0 4px 12px -4px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 24px 48px -12px rgba(15, 23, 42, 0.12), 0 8px 20px -6px rgba(79, 70, 229, 0.08);
  --shadow-glow: 0 12px 32px -8px rgba(79, 70, 229, 0.35);

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  --container-max: 1220px;
  --header-height: 78px;
  --font-sans: 'Manrope', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

[data-theme="dark"] {
  --bg-body: #090d16;
  --bg-surface: #111827;
  --bg-surface-alt: #0f1624;
  --bg-elevated: #172033;
  --bg-glass: rgba(9, 13, 22, 0.84);

  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
  --text-inverse: #ffffff;

  --brand-primary: #6366f1;
  --brand-primary-hover: #818cf8;
  --brand-primary-soft: rgba(99, 102, 241, 0.16);
  --brand-odoo: #b57ba6;
  --brand-odoo-soft: rgba(181, 123, 166, 0.18);
  --brand-finance: #38bdf8;
  --brand-finance-soft: rgba(56, 189, 248, 0.15);
  --brand-success: #34d399;
  --brand-success-soft: rgba(52, 211, 153, 0.15);

  --gradient-hero-text: linear-gradient(135deg, #818cf8 0%, #c084fc 52%, #38bdf8 100%);
  --border-subtle: rgba(148, 163, 184, 0.12);
  --border-strong: rgba(148, 163, 184, 0.24);

  --shadow-sm: 0 2px 6px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 14px 34px -10px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 28px 56px -14px rgba(0, 0, 0, 0.65), 0 8px 24px -6px rgba(99, 102, 241, 0.16);
  --shadow-glow: 0 12px 34px -8px rgba(99, 102, 241, 0.45);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-feature-settings: "locl" 1, "cv02" 1, "cv03" 1;
  background-color: var(--bg-body);
  color: var(--text-primary);
  line-height: 1.65;
  overflow-x: hidden;
  transition: background-color 0.25s ease, color 0.25s ease;
}

img, svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

/* Skip Link for Accessibility */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 9999;
  padding: 10px 18px;
  background: var(--brand-primary);
  color: #fff;
  border-radius: var(--radius-sm);
  font-weight: 600;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 12px;
}

/* Layout Containers */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 96px 0;
  position: relative;
}

.section-alt {
  background-color: var(--bg-surface-alt);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

/* Section Headers */
.section-header {
  max-width: 760px;
  margin: 0 auto 56px;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: var(--brand-primary-soft);
  color: var(--brand-primary);
  border: 1px solid rgba(99, 102, 241, 0.2);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.eyebrow-odoo {
  background: var(--brand-odoo-soft);
  color: var(--brand-odoo);
  border-color: rgba(135, 90, 123, 0.28);
}

.eyebrow-finance {
  background: var(--brand-finance-soft);
  color: var(--brand-finance);
  border-color: rgba(2, 132, 199, 0.28);
}

.eyebrow-cyber {
  background: var(--brand-success-soft);
  color: var(--brand-success);
  border-color: rgba(5, 150, 105, 0.3);
}

.section-title {
  margin: 0 0 16px;
  font-size: clamp(1.85rem, 3.2vw, 2.65rem);
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--text-primary);
}

.section-subtitle {
  margin: 0;
  font-size: 1.08rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.text-gradient {
  background: var(--gradient-hero-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-height);
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  transition: box-shadow 0.25s ease, background-color 0.25s ease;
}

.site-header.is-scrolled {
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1380px;
  height: 100%;
  gap: 14px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
  white-space: nowrap;
}

.brand-mark {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  filter: drop-shadow(0 6px 12px rgba(79, 70, 229, 0.28));
  transition: transform 0.25s ease;
}

.brand:hover .brand-mark {
  transform: translateY(-1px) scale(1.03);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-name {
  font-weight: 800;
  font-size: 1.12rem;
  letter-spacing: -0.025em;
  color: var(--text-primary);
}

.brand-accent {
  background: var(--gradient-hero-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand-light {
  font-weight: 600;
  color: var(--text-secondary);
}

.brand-legal {
  font-size: 0.73rem;
  font-weight: 600;
  color: var(--text-muted);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  flex-wrap: nowrap;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  flex-shrink: 0;
  padding: 7px 11px;
  border-radius: var(--radius-sm);
  font-size: 0.89rem;
  line-height: 1.2;
  font-weight: 600;
  color: var(--text-secondary);
  transition: color 0.2s ease, background-color 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--brand-primary);
  background: var(--brand-primary-soft);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  white-space: nowrap;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  padding: 3px;
  background: var(--bg-surface-alt);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
}

.lang-link {
  padding: 4px 10px;
  border-radius: var(--radius-full);
  color: var(--text-muted);
  transition: all 0.2s ease;
}

.lang-link.is-current {
  background: var(--bg-surface);
  color: var(--text-primary);
  box-shadow: var(--shadow-sm);
}

.lang-link:hover:not(.is-current) {
  color: var(--text-primary);
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s ease;
}

.theme-toggle:hover {
  color: var(--brand-primary);
  border-color: var(--brand-primary);
}

.theme-toggle .icon-sun {
  display: none;
}

[data-theme="dark"] .theme-toggle .icon-sun {
  display: block;
}

[data-theme="dark"] .theme-toggle .icon-moon {
  display: none;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}

.btn-sm {
  padding: 9px 16px;
  font-size: 0.88rem;
}

.btn-primary {
  background: var(--gradient-brand);
  color: #ffffff;
  box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px -8px rgba(79, 70, 229, 0.5);
}

.btn-secondary {
  background: var(--bg-surface);
  color: var(--text-primary);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  border-color: var(--brand-primary);
  color: var(--brand-primary);
  transform: translateY(-2px);
}

.mobile-menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  color: var(--text-primary);
  cursor: pointer;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  position: relative;
  padding: 72px 0 88px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -180px;
  right: -120px;
  width: 640px;
  height: 640px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.16) 0%, rgba(135, 90, 123, 0.08) 45%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: -180px;
  left: -140px;
  width: 540px;
  height: 540px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(2, 132, 199, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 52px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 16px;
  background: var(--bg-surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-secondary);
  margin-bottom: 22px;
}

.badge-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--brand-success);
  box-shadow: 0 0 0 4px var(--brand-success-soft);
}

.hero-title {
  margin: 0 0 22px;
  font-size: clamp(2.15rem, 4.1vw, 3.45rem);
  line-height: 1.14;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.hero-lead {
  margin: 0 0 32px;
  font-size: 1.12rem;
  color: var(--text-secondary);
  max-width: 620px;
  line-height: 1.72;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 40px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding-top: 28px;
  border-top: 1px solid var(--border-subtle);
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-value {
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  line-height: 1.2;
}

.stat-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-top: 4px;
}

/* Hero Architecture Hub Card */
.ecosystem-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.ecosystem-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 18px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border-subtle);
}

.ecosystem-title-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.window-dots {
  display: flex;
  gap: 6px;
}

.window-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.window-dots span:nth-child(1) { background: #ef4444; }
.window-dots span:nth-child(2) { background: #f59e0b; }
.window-dots span:nth-child(3) { background: #10b981; }

.ecosystem-status {
  font-size: 0.76rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: var(--brand-success-soft);
  color: var(--brand-success);
}

.ecosystem-core {
  background: var(--gradient-brand);
  color: #fff;
  padding: 18px 20px;
  border-radius: var(--radius-md);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  box-shadow: var(--shadow-glow);
}

.ecosystem-core strong {
  display: block;
  font-size: 1.05rem;
  margin-bottom: 2px;
}

.ecosystem-core span {
  font-size: 0.84rem;
  opacity: 0.9;
}

.core-pill {
  padding: 5px 11px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.2);
  font-size: 0.75rem;
  font-weight: 700;
  white-space: nowrap;
}

.ecosystem-nodes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.eco-node {
  padding: 14px 16px;
  border-radius: var(--radius-md);
  background: var(--bg-surface-alt);
  border: 1px solid var(--border-subtle);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.eco-node:hover {
  transform: translateY(-2px);
  border-color: var(--brand-primary);
}

.eco-node-head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 4px;
  color: var(--text-primary);
}

.eco-node-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--brand-primary-soft);
  color: var(--brand-primary);
  flex-shrink: 0;
}

.eco-node-icon.odoo {
  background: var(--brand-odoo-soft);
  color: var(--brand-odoo);
}

.eco-node-icon.finance {
  background: var(--brand-finance-soft);
  color: var(--brand-finance);
}

.eco-node-icon.cyber {
  background: var(--brand-success-soft);
  color: var(--brand-success);
}

.eco-node p {
  margin: 0;
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.ecosystem-footer {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px dashed var(--border-strong);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-secondary);
  font-weight: 600;
}

/* ==========================================================================
   Services Bento Grid (6 Core Pillars)
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(99, 102, 241, 0.35);
}

.service-card.is-featured {
  border-color: rgba(135, 90, 123, 0.45);
  background: linear-gradient(180deg, var(--bg-surface) 0%, var(--brand-odoo-soft) 180%);
}

.service-card.is-accounting {
  border-color: rgba(2, 132, 199, 0.38);
  background: linear-gradient(180deg, var(--bg-surface) 0%, var(--brand-finance-soft) 180%);
}

.service-card.is-cyber {
  border-color: rgba(16, 185, 129, 0.4);
  background: linear-gradient(135deg, var(--bg-surface) 0%, var(--brand-success-soft) 210%);
}

.service-card.is-wide {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 32px;
  align-items: center;
}

.service-card.is-wide .service-list {
  border-top: none;
  border-left: 1px solid var(--border-subtle);
  padding-top: 0;
  padding-left: 28px;
  gap: 11px;
}

.service-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--brand-primary-soft);
  color: var(--brand-primary);
  margin-bottom: 22px;
}

.service-card.is-featured .service-icon {
  background: var(--brand-odoo-soft);
  color: var(--brand-odoo);
}

.service-card.is-accounting .service-icon {
  background: var(--brand-finance-soft);
  color: var(--brand-finance);
}

.service-card.is-cyber .service-icon {
  background: var(--brand-success-soft);
  color: var(--brand-success);
}

.service-tag {
  position: absolute;
  top: 28px;
  right: 28px;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: var(--brand-odoo-soft);
  color: var(--brand-odoo);
}

.service-card.is-accounting .service-tag {
  background: var(--brand-finance-soft);
  color: var(--brand-finance);
}

.service-card.is-cyber .service-tag {
  background: var(--brand-success-soft);
  color: var(--brand-success);
}

.service-card h3 {
  margin: 0 0 12px;
  font-size: 1.25rem;
  line-height: 1.3;
  font-weight: 800;
}

.service-card p {
  margin: 0 0 20px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  flex-grow: 1;
}

.service-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-top: 1px solid var(--border-subtle);
  padding-top: 16px;
}

.service-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.87rem;
  color: var(--text-secondary);
  font-weight: 600;
}

.service-list li::before {
  content: "✓";
  color: var(--brand-primary);
  font-weight: 800;
  flex-shrink: 0;
}

/* ==========================================================================
   Odoo ERP Deep Dive & Implementation Process
   ========================================================================== */
.odoo-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.module-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0 32px;
}

.module-pill {
  padding: 8px 14px;
  border-radius: var(--radius-full);
  background: var(--bg-surface);
  border: 1px solid var(--border-strong);
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--text-primary);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  box-shadow: var(--shadow-sm);
}

.module-pill span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand-odoo);
}

.process-steps {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.step-card {
  display: flex;
  gap: 18px;
  padding: 22px 24px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.step-num {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--gradient-brand);
  color: #fff;
  font-weight: 800;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step-card h3 {
  margin: 0 0 6px;
  font-size: 1.05rem;
  font-weight: 800;
}

.step-card p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   Industries / Process Automation Tabs (SEO-Crawlable DOM)
   ========================================================================== */
.tabs-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 36px;
}

.tab-btn {
  padding: 11px 20px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-strong);
  background: var(--bg-surface);
  color: var(--text-secondary);
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.tab-btn:hover {
  border-color: var(--brand-primary);
  color: var(--text-primary);
}

.tab-btn.is-active {
  background: var(--gradient-brand);
  border-color: transparent;
  color: #ffffff;
  box-shadow: var(--shadow-glow);
}

.tab-panel {
  display: none;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
}

.tab-panel.is-active {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  align-items: center;
  animation: fadeIn 0.3s ease;
}

/* Ensure without JS all panels remain accessible */
.no-js .tab-panel {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  margin-bottom: 24px;
}

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

.tab-panel h3 {
  margin: 0 0 14px;
  font-size: 1.5rem;
  font-weight: 800;
}

.tab-panel p {
  margin: 0 0 22px;
  color: var(--text-secondary);
  font-size: 1rem;
}

.automation-Outcomes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.outcome-box {
  padding: 16px 18px;
  border-radius: var(--radius-md);
  background: var(--bg-surface-alt);
  border: 1px solid var(--border-subtle);
}

.outcome-box strong {
  display: block;
  font-size: 0.95rem;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.outcome-box span {
  font-size: 0.84rem;
  color: var(--text-muted);
}

.workflow-visual {
  background: var(--bg-surface-alt);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.wf-step {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 700;
}

.wf-badge {
  padding: 3px 8px;
  border-radius: 6px;
  background: var(--brand-primary-soft);
  color: var(--brand-primary);
  font-size: 0.74rem;
  font-weight: 800;
}

/* ==========================================================================
   Synergy Spotlight: ERP + Accounting Under One Roof
   ========================================================================== */
.accounting-banner {
  background: var(--bg-surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 44px;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.accounting-banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 6px;
  height: 100%;
  background: linear-gradient(180deg, var(--brand-finance), var(--brand-primary), var(--brand-odoo));
}

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

.acc-card {
  padding: 20px;
  border-radius: var(--radius-md);
  background: var(--bg-surface-alt);
  border: 1px solid var(--border-subtle);
}

.acc-card h3 {
  margin: 0 0 8px;
  font-size: 1rem;
  font-weight: 800;
  color: var(--text-primary);
}

.acc-card p {
  margin: 0;
  font-size: 0.86rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* ==========================================================================
   About Company (Est. 2016)
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.timeline-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.value-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.value-year {
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--brand-primary);
  margin-bottom: 6px;
  line-height: 1.1;
}

.value-card h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  font-weight: 800;
}

.value-card p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   FAQ Section (SEO Rich Snippets)
   ========================================================================== */
.faq-list {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.faq-item[open] {
  border-color: var(--brand-primary);
  box-shadow: var(--shadow-sm);
}

.faq-question {
  padding: 20px 24px;
  font-weight: 700;
  font-size: 1.02rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--text-primary);
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-surface-alt);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-weight: 800;
  color: var(--brand-primary);
  transition: transform 0.25s ease;
}

.faq-item[open] .faq-icon {
  transform: rotate(45deg);
  background: var(--brand-primary-soft);
}

.faq-answer {
  padding: 0 24px 22px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

.faq-answer p {
  margin: 0;
}

/* ==========================================================================
   Contact Section & Footer
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 44px;
  align-items: start;
}

.contact-info-card {
  background: var(--gradient-brand);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  box-shadow: var(--shadow-lg);
}

.contact-info-card h3 {
  margin: 0 0 12px;
  font-size: 1.55rem;
  font-weight: 800;
}

.contact-info-card > p {
  margin: 0 0 28px;
  opacity: 0.92;
  font-size: 0.96rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 28px;
}

.contact-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.contact-row-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.16);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-row strong {
  display: block;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.8;
}

.contact-row span,
.contact-row a {
  font-size: 1rem;
  font-weight: 700;
}

.contact-row a:hover {
  text-decoration: underline;
}

.company-meta-box {
  padding: 16px 18px;
  border-radius: var(--radius-md);
  background: rgba(15, 23, 42, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 0.86rem;
  line-height: 1.55;
}

.contact-form-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  box-shadow: var(--shadow-md);
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group.full {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--text-primary);
}

.form-control {
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  background: var(--bg-body);
  color: var(--text-primary);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 3px var(--brand-primary-soft);
}

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

.form-status {
  margin-top: 14px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  display: none;
}

.form-status.is-visible {
  display: block;
  background: var(--brand-success-soft);
  color: var(--brand-success);
  border: 1px solid rgba(5, 150, 105, 0.3);
}

.form-status.is-error {
  display: block;
  background: rgba(239, 68, 68, 0.12);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.32);
}

/* Footer */
.site-footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  padding: 56px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--border-subtle);
}

.footer-desc {
  margin: 14px 0 0;
  color: var(--text-secondary);
  font-size: 0.92rem;
  max-width: 420px;
}

.footer-col h4 {
  margin: 0 0 14px;
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-primary);
}

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

.footer-links a {
  font-size: 0.92rem;
  color: var(--text-secondary);
  transition: color 0.2s ease;
}

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

.footer-bottom {
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Scroll Reveal Utility */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.is-visible,
.no-js .reveal {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ==========================================================================
   Cybersecurity & Infrastructure Defense Section
   ========================================================================== */
.cyber-showcase {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.cyber-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.cyber-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 22px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.cyber-card:hover {
  transform: translateY(-3px);
  border-color: var(--brand-success);
}

.cyber-card-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.cyber-badge-icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--brand-success-soft);
  color: var(--brand-success);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cyber-card h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.25;
}

.cyber-card p {
  margin: 0;
  font-size: 0.87rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

.soc-shield-panel {
  margin-top: 24px;
  padding: 18px 22px;
  border-radius: var(--radius-md);
  background: var(--bg-surface);
  border: 1px solid var(--border-strong);
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.soc-tag {
  padding: 5px 12px;
  border-radius: var(--radius-full);
  background: var(--bg-surface-alt);
  border: 1px solid var(--border-subtle);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-primary);
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media (max-width: 1320px) {
  .nav-link {
    padding: 7px 8px;
    font-size: 0.84rem;
  }
  .header-inner {
    gap: 10px;
  }
}

@media (max-width: 1150px) {
  .main-nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border-strong);
    padding: 20px 24px;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    box-shadow: var(--shadow-lg);
    transform: translateY(-130%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.25s ease, opacity 0.25s ease;
  }

  .main-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-link {
    padding: 10px 14px;
    font-size: 0.95rem;
  }

  .mobile-menu-btn {
    display: inline-flex;
  }

  .header-cta {
    display: none;
  }
}

@media (max-width: 1080px) {
  .hero-grid,
  .odoo-showcase,
  .cyber-showcase,
  .accounting-banner,
  .about-grid,
  .contact-grid,
  .tab-panel.is-active,
  .service-card.is-wide {
    grid-template-columns: 1fr;
  }

  .service-card.is-wide .service-list {
    border-left: none;
    border-top: 1px solid var(--border-subtle);
    padding-left: 0;
    padding-top: 16px;
  }

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

@media (max-width: 720px) {
  .section {
    padding: 68px 0;
  }

  .hero {
    padding: 44px 0 64px;
  }

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

  .services-grid,
  .ecosystem-nodes,
  .cyber-pillars,
  .accounting-grid,
  .timeline-cards,
  .automation-Outcomes,
  .form-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .accounting-banner,
  .tab-panel,
  .contact-info-card,
  .contact-form-card {
    padding: 28px 22px;
  }
}
