/* --- Design Tokens --- */
:root {
  --bg-dark: #ffffff;
  --bg-deep: #f9f9fa;
  --bg-card: #ffffff;
  --border-glass: #e2e8f0;
  --border-focus: #714b67;
  
  --primary: #714b67; /* Odoo Plum Purple */
  --primary-glow: rgba(113, 75, 103, 0.08);
  --secondary: #00a09d; /* Odoo Teal */
  --secondary-glow: rgba(0, 160, 157, 0.08);
  
  --text-main: #111827;
  --text-muted: #4b5563;
  --text-inverse: #ffffff;
  
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s ease;
}

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

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

body {
  background-color: var(--bg-dark);
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(113, 75, 103, 0.04) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(0, 160, 157, 0.03) 0%, transparent 45%);
  background-attachment: fixed;
  color: var(--text-main);
  font-family: 'Plus Jakarta Sans', sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

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

ul {
  list-style: none;
}

/* --- Utility Classes --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.grid {
  display: grid;
  gap: 2rem;
}

.grid-2 {
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
}

.grid-2-equal {
  grid-template-columns: 1fr;
}
@media (min-width: 992px) {
  .grid-2-equal { grid-template-columns: repeat(2, 1fr); align-items: center; }
}

.grid-3 {
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 992px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
}

.section {
  padding: 8rem 0;
  position: relative;
}

.section-header {
  max-width: 650px;
  margin-bottom: 4rem;
}

.section-tagline {
  display: inline-block;
  font-family: 'Outfit', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--secondary);
  margin-bottom: 0.75rem;
}

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

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

.gradient-text {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.accent-text {
  color: var(--primary);
}

.w-100 { width: 100%; }
.hidden { display: none !important; }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.75rem;
  border-radius: 0.5rem;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
  border: 1px solid transparent;
}

.btn-large {
  padding: 1rem 2.25rem;
  font-size: 1.05rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, #5e3a54 100%);
  color: var(--text-inverse);
  box-shadow: 0 4px 15px var(--primary-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(113, 75, 103, 0.3);
}

.btn-secondary {
  background: #ffffff;
  border: 1px solid var(--border-glass);
  color: var(--text-main);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
}

.btn-secondary:hover {
  background: var(--bg-deep);
  border-color: rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}

/* --- Navbar --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-glass);
  transition: var(--transition-smooth);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.25rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.35rem;
  font-weight: 800;
  font-family: 'Outfit', sans-serif;
}

.logo-title {
  font-weight: 400;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}

.nav-toggle {
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 1.5rem;
  cursor: pointer;
  display: block;
}

.nav-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid var(--border-glass);
  display: none;
  flex-direction: column;
  padding: 2rem 1.5rem;
  gap: 1.5rem;
  align-items: center;
}

.nav-menu.active {
  display: flex;
}

.nav-link {
  font-family: 'Outfit', sans-serif;
  font-weight: 500;
  font-size: 1.05rem;
  color: var(--text-muted);
}

.nav-link:hover, .nav-menu .nav-link.active {
  color: var(--primary);
}

@media (min-width: 992px) {
  .nav-toggle { display: none; }
  .nav-menu {
    position: static;
    width: auto;
    background: none;
    border-bottom: none;
    display: flex;
    flex-direction: row;
    padding: 0;
    gap: 2.5rem;
  }
  .nav-cta {
    padding: 0.6rem 1.25rem;
  }
}

/* --- Hero Section --- */
.hero-section {
  padding: 10rem 0 6rem 0;
  position: relative;
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

@media (min-width: 992px) {
  .hero-container {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

.hero-content {
  text-align: left;
}

.badge {
  display: inline-block;
  padding: 0.4rem 1rem;
  background: var(--primary-glow);
  border: 1px solid rgba(113, 75, 103, 0.2);
  border-radius: 2rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-content h1 {
  font-size: 3rem;
  line-height: 1.15;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .hero-content h1 { font-size: 3.75rem; }
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  max-width: 540px;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-trustbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.hero-trustbar span {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--border-glass);
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: 0 8px 24px rgba(17, 24, 39, 0.04);
}

.hero-image-wrapper {
  display: flex;
  justify-content: center;
}

.glass-frame {
  position: relative;
  border-radius: 1rem;
  padding: 0.5rem;
  background: #ffffff;
  border: 1px solid var(--border-glass);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
  overflow: hidden;
}

.hero-img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

/* --- Credibility / Background --- */
.credibility-section {
  padding: 4rem 0;
  background: var(--bg-deep);
  border-top: 1px solid var(--border-glass);
  border-bottom: 1px solid var(--border-glass);
}

.credibility-grid {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 3rem;
  align-items: center;
  max-width: 980px;
  margin: 0 auto;
}

.credibility-photo {
  display: flex;
  justify-content: center;
}

.portrait-img {
  display: block;
  width: 172px;
  height: 172px;
  object-fit: cover;
  border-radius: 50%;
  background: #e9e8ed;
  box-shadow: 0 8px 24px rgba(17, 24, 39, 0.12);
}

.credibility-content h2 {
  font-size: 2rem;
  margin-bottom: 0.8rem;
}

.credibility-lead {
  max-width: 780px;
  color: var(--text-muted);
  font-size: 1.02rem;
}

.credibility-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-top: 1.4rem;
}

.credibility-links .btn {
  gap: 0.5rem;
  padding: 0.7rem 1.1rem;
}

.credibility-note {
  color: var(--text-muted);
  font-size: 0.9rem;
}

@media (max-width: 640px) {
  .credibility-section { padding: 3rem 0; }
  .credibility-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    text-align: center;
  }
  .credibility-content h2 { font-size: 1.8rem; }
  .credibility-links { justify-content: center; }
}

/* --- Visual service pages --- */
.visual-service-section { padding-top: 4.5rem; }
.visual-section-heading { text-align: center; max-width: 720px; margin: 0 auto 2.25rem; }
.visual-section-heading h2 { font-size: clamp(2rem, 4vw, 3rem); }
.compact-heading { margin-bottom: 2rem; }
.choice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; max-width: 960px; margin: 0 auto 5rem; }
.choice-card { padding: 2.25rem; min-height: 260px; display: flex; flex-direction: column; justify-content: flex-end; }
.choice-card:first-child { border-top: 4px solid var(--secondary); }
.choice-card:last-child { border-top: 4px solid var(--primary); }
.visual-icon { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; color: var(--primary); background: var(--primary-glow); font-size: 1.35rem; margin-bottom: auto; }
.choice-kicker { display: block; color: var(--text-muted); font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; margin: 2rem 0 0.65rem; }
.choice-card h3 { font-size: 1.85rem; margin-bottom: 0.55rem; }
.choice-card p { color: var(--text-muted); font-size: 1.05rem; }
.process-panel { background: var(--bg-deep); border: 1px solid var(--border-glass); border-radius: 1.25rem; padding: 3rem 2rem; margin-bottom: 2rem; }
.process-flow { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr; gap: 0.75rem; align-items: center; max-width: 1040px; margin: 0 auto; }
.flow-step { position: relative; display: grid; place-items: center; text-align: center; padding: 1.5rem 0.75rem; min-height: 170px; background: #fff; border: 1px solid var(--border-glass); border-radius: 1rem; }
.flow-step > span { position: absolute; top: 0.7rem; left: 0.85rem; color: var(--primary); font-weight: 800; font-size: 0.8rem; }
.flow-step > i { color: var(--secondary); font-size: 1.55rem; margin-bottom: 0.75rem; }
.flow-step strong { font-family: 'Outfit', sans-serif; font-size: 1.2rem; }
.flow-step small { color: var(--text-muted); margin-top: 0.35rem; }
.flow-arrow { color: var(--primary); }
.build-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; margin: 2rem auto 4rem; max-width: 960px; }
.build-grid article { display: flex; gap: 1rem; align-items: center; padding: 1.5rem; border: 1px solid var(--border-glass); border-radius: 1rem; background: #fff; }
.build-grid article > i { width: 44px; height: 44px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 14px; color: var(--secondary); background: var(--secondary-glow); }
.build-grid h3 { margin-bottom: 0.2rem; }
.build-grid p { color: var(--text-muted); font-size: 0.95rem; }
.gap-callout { max-width: 960px; margin: 0 auto; padding: 2rem; border: 1px solid rgba(113,75,103,.22); background: linear-gradient(135deg, rgba(113,75,103,.055), rgba(0,160,157,.035)); border-radius: 1.25rem; display: grid; grid-template-columns: auto 1fr auto; gap: 1.5rem; align-items: center; }
.gap-callout .visual-icon { margin: 0; }
.gap-callout h2 { font-size: 1.55rem; margin-bottom: 0.35rem; }
.gap-callout p { color: var(--text-muted); }
.compact-cta { padding: 4rem 0; background: var(--bg-deep); border-top: 1px solid var(--border-glass); }
.compact-cta .container { display: flex; align-items: center; gap: 1.25rem; }
.compact-cta .container > div { margin-right: auto; }
.compact-cta h2 { font-size: 2rem; }
.text-link { color: var(--primary); font-weight: 700; }
.support-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1rem; margin-bottom: 3rem; }
.support-grid article { text-align: center; padding: 1.75rem 1rem; border: 1px solid var(--border-glass); border-radius: 1rem; background: #fff; }
.support-grid i, .advisory-hub article i { color: var(--secondary); font-size: 1.55rem; margin-bottom: 1rem; }
.support-grid h3, .advisory-hub h3 { margin-bottom: 0.35rem; }
.support-grid p, .advisory-hub p { color: var(--text-muted); font-size: 0.9rem; }
.slim-panel { max-width: 900px; margin-inline: auto; }
.three-step-flow { grid-template-columns: 1fr auto 1fr auto 1fr; }
.advisory-hub { max-width: 960px; margin: 0 auto 2rem; display: grid; grid-template-columns: repeat(3, 1fr); grid-template-areas: '. top .' 'left center right' '. bottom .'; gap: 1rem; align-items: stretch; }
.advisory-hub article, .hub-center { padding: 1.5rem; border-radius: 1rem; text-align: center; display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 160px; }
.advisory-hub article { background: #fff; border: 1px solid var(--border-glass); }
.advisory-hub article:nth-of-type(1) { grid-area: top; }
.advisory-hub article:nth-of-type(2) { grid-area: left; }
.advisory-hub article:nth-of-type(3) { grid-area: right; }
.advisory-hub article:nth-of-type(4) { grid-area: bottom; }
.hub-center { grid-area: center; background: var(--primary); color: #fff; box-shadow: 0 15px 35px rgba(113,75,103,.2); }
.hub-center i { font-size: 1.8rem; margin-bottom: 0.8rem; }
.hub-center strong { font-family: 'Outfit', sans-serif; font-size: 1.25rem; }
.hub-center small { opacity: .78; margin-top: .35rem; }
.audience-strip { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; }
.audience-strip span { border: 1px solid var(--border-glass); background: var(--bg-deep); border-radius: 999px; padding: .7rem 1rem; font-weight: 700; color: var(--text-muted); }
.fact-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; max-width: 960px; margin: 2rem auto; }
.fact-strip > div { display: grid; grid-template-columns: auto 1fr; column-gap: .8rem; align-items: center; padding: 1.25rem; border: 1px solid var(--border-glass); border-radius: 1rem; background: #fff; }
.fact-strip i { grid-row: 1 / 3; color: var(--secondary); font-size: 1.35rem; }
.fact-strip strong { font-family: 'Outfit', sans-serif; }
.fact-strip small { color: var(--text-muted); }
.next-service { display: flex; align-items: center; gap: 1.5rem; max-width: 960px; margin: 4rem auto 0; padding: 2rem; border-radius: 1.25rem; background: linear-gradient(135deg, rgba(0,160,157,.06), rgba(113,75,103,.05)); border: 1px solid var(--border-glass); }
.next-service > div { margin-right: auto; }
.next-service h2 { font-size: 1.65rem; }
@media (max-width: 900px) { .support-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .choice-grid, .build-grid { grid-template-columns: 1fr; }
  .support-grid { grid-template-columns: 1fr; }
  .process-flow, .three-step-flow { grid-template-columns: 1fr; }
  .advisory-hub { grid-template-columns: 1fr; grid-template-areas: 'center' 'top' 'left' 'right' 'bottom'; }
  .fact-strip { grid-template-columns: 1fr; }
  .next-service { align-items: flex-start; flex-direction: column; }
  .flow-arrow { transform: rotate(90deg); text-align: center; }
  .gap-callout { grid-template-columns: 1fr; }
  .compact-cta .container { align-items: flex-start; flex-direction: column; }
}

/* --- Odoo adoption timeline --- */
.adoption-timeline { list-style: none; margin: 0; padding: 0; max-width: 960px; }
.adoption-step { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 1.5rem; padding-bottom: 3rem; }
.adoption-step:not(:last-child)::before { content: ''; position: absolute; top: 48px; bottom: 0; left: 23px; width: 1px; background: var(--border-glass); }
.step-number { display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; border: 1px solid var(--border-glass); border-radius: 50%; color: var(--primary); background: var(--bg-dark); font-weight: 700; }
.step-content { padding-top: 0.4rem; }
.step-content h3, .partner-advisory h3 { font-size: 1.65rem; margin-bottom: 0.8rem; }
.step-content p, .partner-advisory p { color: var(--text-muted); max-width: 720px; }
.step-content ul { list-style: disc; padding-left: 1.2rem; margin-top: 1rem; color: var(--text-muted); }
.step-content li { margin-bottom: 0.35rem; }
.timeline-link { display: inline-block; margin-top: 1.2rem; color: var(--primary); font-weight: 600; text-underline-offset: 4px; }
.timeline-link:hover, .timeline-link:focus-visible { text-decoration: underline; }
.implementation-paths { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-top: 1.3rem; }
.implementation-paths h4 { margin-bottom: 0.4rem; font-size: 1.1rem; }
.partner-advisory { border-top: 1px solid var(--border-glass); padding-top: 2rem; margin-top: 0.5rem; max-width: 960px; }
.portrait-img { box-shadow: none; }
@media (max-width: 640px) {
  .adoption-step { grid-template-columns: 40px 1fr; gap: 1rem; }
  .step-number { width: 36px; height: 36px; font-size: 0.85rem; }
  .adoption-step:not(:last-child)::before { left: 17px; top: 36px; }
  .implementation-paths { grid-template-columns: 1fr; gap: 1rem; }
  .step-content h3, .partner-advisory h3 { font-size: 1.4rem; }
}

/* --- Stats Strip --- */
.stats-strip {
  background: var(--bg-deep);
  border-top: 1px solid var(--border-glass);
  border-bottom: 1px solid var(--border-glass);
  padding: 2.5rem 0;
}

.trusted-strip {
  padding: 1.25rem 0 0;
}

.trusted-strip-inner {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
}

.trusted-label {
  font-family: 'Outfit', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.trusted-items {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.trusted-items span {
  padding: 0.65rem 0.9rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--border-glass);
  color: var(--text-main);
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: 0 6px 16px rgba(17, 24, 39, 0.03);
}

@media (min-width: 992px) {
  .trusted-strip-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.stats-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.stat-item {
  text-align: center;
}

.stat-item h2 {
  font-size: 2.5rem;
  background: linear-gradient(135deg, var(--text-main) 30%, var(--primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.25rem;
}

.stat-item p {
  font-size: 0.9rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.stat-divider {
  display: none;
  width: 1px;
  height: 50px;
  background: var(--border-glass);
}

@media (min-width: 768px) {
  .stats-container {
    flex-direction: row;
    gap: 0;
  }
  .stat-divider {
    display: block;
  }
}

/* --- Cards --- */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 0.75rem;
  padding: 2.5rem;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(113, 75, 103, 0.03) 0%, transparent 50%);
  opacity: 0;
  transition: var(--transition-smooth);
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: 0 12px 30px rgba(113, 75, 103, 0.08);
}

.card:hover::before {
  opacity: 1;
}

/* --- Problem Cards --- */
.problem-card .card-icon {
  font-size: 2rem;
  color: var(--secondary);
  margin-bottom: 1.5rem;
}

.problem-card h3 {
  font-size: 1.35rem;
  margin-bottom: 1rem;
}

.problem-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* --- Case Studies (Tabs) --- */
.tabs-container {
  display: flex;
  gap: 0.5rem;
  padding: 0.4rem;
  background: var(--bg-deep);
  border: 1px solid var(--border-glass);
  border-radius: 0.5rem;
  margin-bottom: 3rem;
  overflow-x: auto;
  scrollbar-width: none;
}

.tabs-container::-webkit-scrollbar {
  display: none;
}

.tab-btn {
  padding: 0.75rem 1.5rem;
  border-radius: 0.35rem;
  background: none;
  border: none;
  color: var(--text-muted);
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition-fast);
}

.tab-btn:hover {
  color: var(--primary);
  background: rgba(113, 75, 103, 0.04);
}

.tab-btn.active {
  background: var(--primary);
  color: var(--text-inverse);
  box-shadow: 0 4px 12px var(--primary-glow);
}

.tab-content-wrapper {
  position: relative;
}

.tab-pane {
  display: none;
  animation: fadeIn 0.4s ease forwards;
}

.tab-pane.active {
  display: block;
}

.pane-text {
  padding-right: 0;
}
@media (min-width: 992px) {
  .pane-text { padding-right: 3rem; }
}

.project-tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: rgba(20, 184, 166, 0.1);
  border: 1px solid rgba(20, 184, 166, 0.2);
  color: var(--secondary);
  border-radius: 0.25rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.pane-text h3 {
  font-size: 2.25rem;
  margin-bottom: 1.5rem;
}

.pane-text > p {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.par-block {
  margin-bottom: 1.5rem;
}

.par-block h4 {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05rem;
  margin-bottom: 0.5rem;
}

.par-block p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.pane-metrics {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  justify-content: center;
}

.metric-card {
  background: var(--bg-deep);
  border: 1px solid var(--border-glass);
  padding: 2rem;
  border-radius: 0.75rem;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.01);
}

.metric-card h3 {
  font-size: 3.5rem;
  color: var(--secondary);
  margin-bottom: 0.5rem;
}

.metric-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05rem;
}

/* --- Services (Pricing) --- */
.service-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.card-badge {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  padding: 0.25rem 0.75rem;
  border-radius: 2rem;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-glass);
  color: var(--text-muted);
}

.service-card h3 {
  font-size: 1.5rem;
  margin-top: 1rem;
}

.service-subtitle {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.price-strip {
  margin-bottom: 2.5rem;
}

.price-val {
  font-size: 1.5rem;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  color: var(--text-main);
  background: linear-gradient(135deg, #fff 0%, var(--text-muted) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.service-features {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-grow: 1;
}

.service-features li {
  font-size: 0.95rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.service-features i {
  color: var(--secondary);
  font-size: 0.85rem;
}

/* Highlighted card variant */
.highlighted-card {
  border-color: var(--primary);
  box-shadow: 0 8px 30px rgba(113, 75, 103, 0.08);
  background: radial-gradient(circle at 50% 0%, rgba(113, 75, 103, 0.04) 0%, var(--bg-card) 60%);
  transform: translateY(-8px);
}

.highlight-badge {
  background: var(--primary) !important;
  color: var(--text-inverse) !important;
  border: none !important;
  box-shadow: 0 2px 8px rgba(113, 75, 103, 0.3);
}

/* --- About Me --- */
.lead-text {
  font-size: 1.2rem;
  color: var(--text-main);
  margin-bottom: 1.5rem;
}

.about-text p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.credibility-detail {
  margin-top: 0.9rem;
  color: var(--text-muted);
  max-width: 780px;
}

.credibility-badges {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 2.5rem;
}

.cred-badge {
  font-family: 'Outfit', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-main);
}

.cred-badge i {
  color: var(--secondary);
}

/* --- About Me Visuals --- */
.about-visual {
  display: flex;
  justify-content: center;
  padding: 1rem 0;
}

.visual-stack {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  width: 100%;
  max-width: 450px;
}

.visual-card {
  padding: 2rem;
  border-radius: 0.75rem;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  transition: var(--transition-smooth);
}

.visual-card:hover {
  transform: translateY(-2px);
  border-color: var(--primary);
  box-shadow: 0 8px 25px rgba(113, 75, 103, 0.06);
}

.visual-card i {
  font-size: 1.75rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.visual-card h4 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--text-main);
}

.visual-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.main-visual {
  border-left: 4px solid var(--primary);
}

.secondary-visual {
  border-left: 4px solid var(--secondary);
}

/* --- Contact & Forms --- */
.contact-sub {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 3rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-details li {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  color: var(--text-muted);
}

.contact-details i {
  font-size: 1.25rem;
  color: var(--secondary);
}

.contact-details a:hover {
  color: var(--text-main);
}

.glass-card {
  background: #ffffff;
  border: 1px solid var(--border-glass);
  border-radius: 0.75rem;
  padding: 2.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.contact-section {
  background:
    linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(113, 75, 103, 0.03) 100%);
}

.form-card h3 {
  font-size: 1.5rem;
  margin-bottom: 2rem;
}

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

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.form-group input, .form-group textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  background: #ffffff;
  border: 1px solid var(--border-glass);
  border-radius: 0.35rem;
  color: var(--text-main);
  font-family: inherit;
  transition: var(--transition-fast);
}

.form-group input:focus, .form-group textarea:focus {
  outline: none;
  background: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 0 10px var(--primary-glow);
}

.alert {
  padding: 1rem;
  border-radius: 0.35rem;
  margin-top: 1.5rem;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.alert-success {
  background: rgba(0, 160, 157, 0.08);
  border: 1px solid rgba(0, 160, 157, 0.2);
  color: #007775;
}

/* --- Dropdown Menu --- */
.dropdown {
  position: relative;
}

.dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 0.5rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  min-width: 220px;
  display: none;
  flex-direction: column;
  padding: 0.75rem 0;
  z-index: 1001;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}

.dropdown-menu li {
  width: 100%;
}

.dropdown-menu a {
  display: block;
  padding: 0.6rem 1.5rem;
  font-size: 0.95rem;
  color: var(--text-muted);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 500;
  transition: var(--transition-fast);
  text-align: left;
}

.dropdown-menu a:hover {
  color: var(--primary);
  background: var(--primary-glow);
}

/* Show dropdown on hover (for desktop) */
@media (min-width: 992px) {
  .dropdown:hover .dropdown-menu {
    display: flex;
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
  }
}

/* Mobile dropdown styles */
@media (max-width: 991px) {
  .dropdown-menu {
    position: static;
    transform: none;
    box-shadow: none;
    border: none;
    background: transparent;
    display: none;
    padding: 0.5rem 0 0 1.5rem;
    min-width: auto;
    opacity: 1;
    visibility: visible;
  }
  .dropdown.active .dropdown-menu {
    display: flex;
  }
}

/* --- Footer --- */
.footer {
  background: #1e1e24; /* sleek dark background */
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 5rem 0 3rem 0;
  color: #a1a1aa;
}

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

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
  }
}

.footer-col h4 {
  color: #ffffff;
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.footer-col p {
  font-size: 0.9rem;
  line-height: 1.6;
  text-align: left;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-col ul a {
  font-size: 0.9rem;
  color: #a1a1aa;
  transition: var(--transition-fast);
}

.footer-col ul a:hover {
  color: #ffffff;
  padding-left: 4px; /* subtle sliding hover effect */
}

.footer-brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.25rem;
  font-weight: 800;
  font-family: 'Outfit', sans-serif;
  color: #ffffff;
  margin-bottom: 1rem;
}

.footer-brand-logo .logo-title {
  font-weight: 400;
  font-size: 1.1rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
  }
}

.footer-bottom p {
  text-align: left;
}

.footer-socials {
  display: flex;
  gap: 1.25rem;
}

.footer-socials a {
  font-size: 1.25rem;
  color: #a1a1aa;
  transition: var(--transition-fast);
}

.footer-socials a:hover {
  color: #ffffff;
}

/* --- Animations & Scroll Reveal --- */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-in {
  opacity: 0;
  animation: fadeIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-content {
  animation-delay: 0.1s;
}

.hero-image-wrapper {
  animation-delay: 0.3s;
}

/* Intersection Observer Styles */
.scroll-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}
