/* ADOVION CENTRAL STYLESHEET - PREMIUM WHITE THEME */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600;700&display=swap');

/* DESIGN SYSTEM TOKENS */
:root {
  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;
  --bg-tertiary: #f1f5f9;
  
  --text-main: #0f172a;
  --text-muted: #475569;
  --text-light: #64748b;
  
  --primary: #2563eb;
  --primary-hover: #1d4ed8;
  --primary-light: #eff6ff;
  
  --accent: #0ea5e9;
  --accent-light: #e0f2fe;
  
  --border: rgba(15, 23, 42, 0.08);
  --border-subtle: rgba(15, 23, 42, 0.04);
  --border-focus: #2563eb;
  
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.02);
  --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.04), 0 2px 4px -2px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.04), 0 4px 6px -4px rgba(15, 23, 42, 0.04);
  --shadow-xl: 0 20px 25px -5px rgba(15, 23, 42, 0.04), 0 10px 10px -5px rgba(15, 23, 42, 0.04);
  --shadow-premium: 0 20px 40px -15px rgba(15, 23, 42, 0.06), 0 0 0 1px rgba(15, 23, 42, 0.02);
  
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

ul, ol {
  list-style: none !important;
  list-style-type: none !important;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background: var(--bg-primary);
  color: var(--text-main);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  overflow-x: hidden;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: -0.02em;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

/* UTILITY CLASSES */
section {
  padding: 4rem 1.5rem;
  position: relative;
  overflow: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 10;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 100px;
  font-size: 0.725rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(37, 99, 235, 0.12);
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
  animation: blink 1.5s infinite ease-in-out;
}

@keyframes blink {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.3; transform: scale(0.85); }
}

.section-header {
  max-width: 720px;
  margin-bottom: 4.5rem;
}

.section-title {
  font-size: clamp(2rem, 4.5vw, 2.75rem);
  line-height: 1.15;
  margin-bottom: 1rem;
  font-weight: 800;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 2rem;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: var(--transition);
  font-family: 'Plus Jakarta Sans', sans-serif;
  border: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.2);
}

.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.28);
}

.btn-secondary {
  background: #ffffff;
  color: var(--text-main);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  border-color: var(--text-main);
  transform: translateY(-2px);
}

/* 3D TILT CARDS GLOBAL STYLES */
.tilt-card {
  transform-style: preserve-3d;
  perspective: 1000px;
  transition: transform 0.1s ease, box-shadow var(--transition);
  will-change: transform;
}

.tilt-card-inner {
  transform: translateZ(30px);
}

/* HEADER & NAVIGATION */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 72px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: var(--transition);
}

.header.scrolled {
  height: 64px;
  box-shadow: var(--shadow-sm);
  background: rgba(255, 255, 255, 0.95);
}

.nav-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 4px;
}

.logo span {
  color: var(--primary);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2.25rem;
  list-style: none;
}

.nav-link {
  font-size: 0.825rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary);
}

/* Desktop Dropdown Styles */
.nav-item-dropdown {
  position: relative;
}

.nav-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  min-width: 160px;
  background: #ffffff !important;
  border: 1px solid rgba(15, 23, 42, 0.08) !important;
  border-radius: 8px !important;
  padding: 0.5rem 0 !important;
  box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.08), 0 8px 16px -6px rgba(15, 23, 42, 0.08) !important;
  z-index: 100;
  list-style: none !important;
  list-style-type: none !important;
  margin: 0 !important;
  animation: dropFade 0.2s ease forwards;
}

@keyframes dropFade {
  to {
    transform: translateX(-50%) translateY(0);
  }
}

.nav-item-dropdown:hover .nav-dropdown {
  display: block;
}

.nav-dropdown li {
  width: 100%;
}

.nav-dropdown a {
  display: block;
  padding: 0.6rem 1.25rem;
  font-size: 0.825rem;
  font-weight: 500;
  color: var(--text-muted);
  text-align: left;
  text-transform: none;
  transition: var(--transition);
}

.nav-dropdown a:hover, .nav-dropdown a.active {
  color: var(--primary);
  background: var(--bg-secondary);
}

/* Arrow indicator styles */
.arrow-down {
  display: inline-block;
  margin-left: 6px;
  vertical-align: middle;
  border-top: 4px solid currentColor;
  border-right: 4px solid transparent;
  border-left: 4px solid transparent;
  transition: transform 0.25s ease;
}

.nav-item-dropdown:hover .arrow-down,
.mobile-nav-item-dropdown.open .arrow-down {
  transform: rotate(180deg);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-cta {
  padding: 0.55rem 1.25rem;
  font-size: 0.775rem;
  border-radius: 6px;
}

/* MOBILE MENU BUTTON */
.burger-btn {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1100;
  padding: 4px;
}

.burger-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--text-main);
  margin: 4px 0;
  transition: var(--transition);
}

.burger-btn.active span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.burger-btn.active span:nth-child(2) {
  opacity: 0;
}
.burger-btn.active span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* MOBILE NAVIGATION OVERLAY */
.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  background: #ffffff;
  z-index: 999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  transform: translateY(-100%);
  transition: transform 0.45s cubic-bezier(0.85, 0, 0.15, 1);
}

.mobile-nav-overlay.open {
  transform: translateY(0);
}

.mobile-menu {
  list-style: none;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 3rem;
}

.mobile-menu-link, .mobile-menu-trigger {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-main);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-transform: none;
  background: transparent;
  border: none;
  transition: var(--transition);
}

.mobile-menu-link:hover, .mobile-menu-link.active, .mobile-menu-trigger:hover, .mobile-menu-trigger.active {
  color: var(--primary);
}

.mobile-nav-item-dropdown {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.mobile-nav-dropdown {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0 0;
  width: 100%;
  list-style: none;
}

/* PAGE DEDICATED HERO SECTION */
.page-hero {
  padding: 180px 1.5rem 100px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff 0%, var(--bg-secondary) 100%);
  border-bottom: 1px solid var(--border);
}

.page-hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 75% 50%, rgba(224, 242, 254, 0.3) 0%, transparent 65%);
  pointer-events: none;
  z-index: 2;
}

.page-hero-content {
  position: relative;
  z-index: 5;
  max-width: 800px;
}

.page-hero-content h1 {
  font-size: clamp(2.5rem, 5.5vw, 4rem);
  font-weight: 850;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}

.page-hero-content h1 span {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.page-hero-content p {
  font-size: clamp(1.05rem, 1.8vw, 1.2rem);
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 640px;
}

/* FOOTER SECTION */
.footer {
  background: var(--text-main);
  color: #ffffff;
  padding: 6rem 1.5rem 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-brand .logo {
  color: #ffffff;
  font-size: 1.25rem;
  margin-bottom: 1.25rem;
}

.footer-brand p {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.6;
  max-width: 280px;
}

.footer-col h4 {
  font-size: 0.725rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 1.5rem;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer-col a {
  font-size: 0.85rem;
  color: var(--text-light);
}

.footer-col a:hover {
  color: #ffffff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-copy {
  font-size: 0.75rem;
  color: var(--text-light);
}

.footer-socials {
  display: flex;
  gap: 0.75rem;
}

.soc-btn {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-light);
  transition: var(--transition);
  background: rgba(255, 255, 255, 0.03);
}

.soc-btn:hover {
  background: #ffffff;
  color: var(--text-main);
  border-color: #ffffff;
  transform: translateY(-2px);
}

/* RESPONSIVE STYLES */
@media (max-width: 1024px) {
  section { padding: 2.5rem 1.5rem !important; }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

@media (max-width: 1200px) {
  .nav-menu, .nav-actions .btn-secondary { display: none; }
  .burger-btn { display: block; }
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .page-hero { padding-top: 140px; padding-bottom: 70px; }
}

/* ==========================================================================
   ADOVION COMPONENT LAYOUTS & STYLES (SLATE-THEME LIGHT MODE)
   ========================================================================== */

/* 1. HERO STATS & SCROLL INDICATORS */
.hero-stats {
  display: flex;
  gap: 3rem;
  margin-top: 4rem;
  justify-content: center;
  flex-wrap: wrap;
}
.stat-card {
  text-align: center;
  min-width: 140px;
}
.stat-card .num {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--primary);
  line-height: 1.1;
  margin-bottom: 4px;
}
.stat-card .label {
  font-size: 0.7rem;
  color: var(--text-light);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-light);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 600;
  pointer-events: none;
}
.scroll-indicator-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--primary), transparent);
  animation: scrollAnim 1.8s ease-in-out infinite;
}
@keyframes scrollAnim {
  0%, 100% { opacity: 0.2; transform: scaleY(0.4); transform-origin: top; }
  50% { opacity: 1; transform: scaleY(1); transform-origin: top; }
}

/* 2. SOCIAL PROOF / SERVED SECTORS */
.proof-section {
  padding: 3rem 1.5rem;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
  text-align: center;
}
.proof-title {
  font-size: 0.725rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-light);
  margin-bottom: 1.5rem;
  font-weight: 700;
}
.proof-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem 3.5rem;
  max-width: 1100px;
  margin: 0 auto;
}
.proof-item {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: -0.01em;
}

/* 3. B2B PROBLEMS & OPERATIONAL AUDIT */
.problems-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 4rem;
  align-items: start;
}
.problems-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.problem-card {
  background: #ffffff;
  border: 1px solid var(--border);
  padding: 1.75rem;
  border-radius: 16px;
  display: flex;
  gap: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.problem-card:hover {
  border-color: rgba(37, 99, 235, 0.12);
  box-shadow: var(--shadow-lg);
}
.problem-num {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  opacity: 0.45;
  line-height: 1;
}
.problem-info h4 {
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
  font-weight: 700;
  color: var(--text-main);
}
.problem-info p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}
.audit-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 3rem 2.5rem;
  box-shadow: var(--shadow-premium);
}
.audit-title {
  margin-bottom: 2.25rem;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 1.5rem;
}
.audit-title h4 {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 0.25rem;
  letter-spacing: -0.01em;
}
.audit-title span {
  font-size: 0.725rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}
.audit-bar-row {
  margin-bottom: 1.75rem;
}
.audit-bar-row:last-of-type {
  margin-bottom: 0;
}
.audit-label-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-muted);
}
.audit-label-row .val {
  color: var(--primary);
  font-weight: 700;
}
.audit-progress-container {
  height: 6px;
  background: var(--bg-tertiary);
  border-radius: 10px;
  overflow: hidden;
}
.audit-progress-bar {
  height: 100%;
  background: linear-gradient(to right, var(--primary), var(--accent));
  width: 0;
  border-radius: 10px;
  transition: width 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.audit-card-footer {
  font-size: 0.7rem;
  color: var(--text-light);
  margin-top: 2.25rem;
  font-style: italic;
}

/* 4. SERVICES & TAB SWITCHERS */
.tab-nav {
  display: inline-flex;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  padding: 6px;
  border-radius: 100px;
  margin-bottom: 3.5rem;
  gap: 10px;
}
.tab-btn {
  padding: 0.65rem 1.5rem;
  border: 1px solid transparent;
  background: transparent;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  border-radius: 100px;
  transition: var(--transition);
  font-family: 'Plus Jakarta Sans', sans-serif;
  outline: none;
}
.tab-btn.active {
  background: #ffffff;
  color: var(--primary);
  border-color: rgba(37, 99, 235, 0.12);
  box-shadow: var(--shadow-sm);
}
.tab-content {
  display: none;
}
.tab-content.active {
  display: block;
  animation: fadeIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}
.service-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  padding: 2.25rem;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  border-radius: 16px;
}
.service-card:hover {
  background: #ffffff;
  border-color: rgba(37, 99, 235, 0.2);
  box-shadow: var(--shadow-premium);
  transform: translateY(-4px);
}
.service-card:hover .service-icon {
  background: var(--primary-light);
  border-color: rgba(37, 99, 235, 0.15);
  color: var(--primary);
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(to right, var(--primary), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}
.service-card:hover {
  border-color: rgba(37, 99, 235, 0.12);
  box-shadow: var(--shadow-xl);
  transform: translateY(-4px);
}
.service-card:hover::before {
  transform: scaleX(1);
}
.service-icon {
  width: 48px;
  height: 48px;
  background: var(--primary-light);
  border: 1px solid rgba(37, 99, 235, 0.08);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  color: var(--primary);
}
.service-card h3 {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
}
.service-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1.5rem;
}
.service-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  border-top: 1px solid var(--border-subtle);
  padding-top: 1.5rem;
}
.service-list li {
  font-size: 0.8rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}
/* List bullets are handled via inline SVGs */

/* 5. SYSTEM ARCHITECTURE */
.framework-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 4rem;
  align-items: center;
}
.fw-item {
  background: #ffffff;
  border: 1px solid var(--border);
  padding: 1.5rem 1.75rem;
  border-radius: 12px;
  margin-bottom: 1.25rem;
  display: flex;
  gap: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.fw-item:hover {
  border-color: rgba(37, 99, 235, 0.12);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.fw-item:last-child {
  margin-bottom: 0;
}
.fw-num {
  font-size: 0.65rem;
  font-weight: 800;
  color: var(--primary);
  background: var(--primary-light);
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1.2;
  flex-shrink: 0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  min-width: 72px;
  white-space: nowrap;
}
.fw-info h4 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
  font-weight: 700;
}
.fw-info p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.55;
}
.fw-visual {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 3rem 2rem;
  box-shadow: var(--shadow-premium);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  aspect-ratio: 1;
}
.fw-vis-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-light);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 2.25rem;
}
.fw-node {
  width: 100%;
  max-width: 280px;
  border: 1px solid var(--border);
  background: var(--bg-secondary);
  border-radius: 8px;
  padding: 0.75rem 1.15rem;
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
  box-shadow: var(--shadow-sm);
}
.fw-node-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.fw-node-text {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-main);
}
.fw-connector {
  width: 1px;
  height: 14px;
  background: var(--border);
  position: relative;
  z-index: 1;
}

/* ANIMATED BACKGROUND BLOBS */
.section-blob-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}
.bg-blob {
  position: absolute;
  width: 350px;
  height: 350px;
  background: rgba(37, 99, 235, 0.04);
  filter: blur(80px);
  border-radius: 50%;
  pointer-events: none;
}
.bg-blob-1 {
  top: -100px;
  left: -100px;
  animation: float-blob 20s infinite ease-in-out;
}
.bg-blob-2 {
  bottom: -150px;
  right: -100px;
  background: rgba(14, 165, 233, 0.03);
  animation: float-blob 25s infinite ease-in-out reverse;
}

@keyframes float-blob {
  0% { transform: translate(0px, 0px) scale(1); }
  33% { transform: translate(40px, -40px) scale(1.05); }
  66% { transform: translate(-20px, 30px) scale(0.95); }
  100% { transform: translate(0px, 0px) scale(1); }
}

/* 6. METHODOLOGY & TIMELINES */
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}
.pstep {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2.5rem 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.pstep:hover {
  border-color: rgba(37, 99, 235, 0.12);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.pstep-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary-light);
  border: 1px solid rgba(37, 99, 235, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 1.25rem;
}
.pstep h3 {
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}
.pstep p {
  font-size: 0.825rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* 7. PORTFOLIO & FILTER TABS */
.filter-row {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 3.5rem;
  flex-wrap: wrap;
}
.filter-btn {
  padding: 0.6rem 1.35rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
  font-family: 'Plus Jakarta Sans', sans-serif;
}
.filter-btn:hover, .filter-btn.active {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15);
}
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}
.pcard {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.pcard:hover {
  border-color: rgba(37, 99, 235, 0.12);
  box-shadow: var(--shadow-xl);
  transform: translateY(-4px);
}
.ptop {
  padding: 2.25rem 2rem 1.75rem;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-subtle);
  min-height: 120px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.5rem;
}
.ptag {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: var(--primary-light);
  padding: 4px 10px;
  border-radius: 4px;
  width: fit-content;
  border: 1px solid rgba(37, 99, 235, 0.08);
}
.ptop h3 {
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.35;
}
.pbody {
  padding: 2rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}
.pbody p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}
.ptags-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 1.5rem;
}
.ptag-sm {
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--text-light);
  background: var(--bg-tertiary);
  padding: 2px 8px;
  border-radius: 4px;
}
.presult {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--primary);
  font-weight: 700;
  border-top: 1px solid var(--border-subtle);
  padding-top: 1.25rem;
}
.presult-icon {
  font-size: 0.7rem;
}

/* 8. FIT CHECK SECTION */
.fit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.fit-col {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 3rem 2.5rem;
  box-shadow: var(--shadow-sm);
}
.fit-col h3 {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 1.75rem;
  display: flex;
  align-items: center;
  gap: 10px;
}
.fit-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}
.fit-item {
  display: flex;
  gap: 12px;
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}
.fit-icon {
  font-weight: 700;
  flex-shrink: 0;
}

/* 9. ABOUT FOUNDER LAYOUT */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 4rem;
  align-items: center;
}
.about-visual {
  position: relative;
  aspect-ratio: 1;
  max-width: 380px;
  border: 1px solid var(--border);
  background: var(--bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  padding: 2.5rem;
}
.about-corner {
  position: absolute;
  width: 28px;
  height: 28px;
  border-color: var(--primary);
  border-style: solid;
}
.about-corner.tl { top: 12px; left: 12px; border-width: 2px 0 0 2px; }
.about-corner.br { bottom: 12px; right: 12px; border-width: 0 2px 2px 0; }
.about-avatar-container {
  width: 65%;
  height: 65%;
  background: var(--primary-light);
  border: 2px solid var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--primary);
}
.about-role {
  font-size: 0.725rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: 0.75rem;
}
.about-content h2 {
  font-size: 2.25rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}
.about-content p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 1rem;
}
.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 1.75rem;
}
.about-tag {
  font-size: 0.675rem;
  font-weight: 700;
  color: var(--primary);
  background: var(--primary-light);
  padding: 5px 12px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.about-numbers-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}
.about-num-card {
  background: #ffffff;
  border: 1px solid var(--border);
  padding: 1.25rem;
  border-radius: 12px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.about-num-card .val {
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1.1;
  margin-bottom: 2px;
}
.about-num-card .lbl {
  font-size: 0.7rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* 10. CLIENT TESTIMONIALS */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}
.tcard {
  position: relative;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 3rem 2.25rem;
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(12px);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  border-top: 4px solid transparent;
}
.tcard::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary) 0%, #0ea5e9 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.tcard:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-premium);
  border-color: rgba(37, 99, 235, 0.15);
}
.tcard:hover::before {
  opacity: 1;
}
.trating {
  display: flex;
  gap: 4px;
  margin-bottom: 1.25rem;
}
.tstar {
  color: #fbbf24;
  font-size: 0.95rem;
}
.tquote {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.75rem;
  font-style: italic;
}
.tauthor {
  display: flex;
  align-items: center;
  gap: 12px;
}
.tav {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.95rem;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.08);
  transition: all 0.4s ease;
  flex-shrink: 0;
}
.tcard:hover .tav {
  transform: scale(1.08);
  box-shadow: 0 0 0 5px rgba(37, 99, 235, 0.15);
}
.tauthor-info h5 {
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 2px;
}
.tauthor-info span {
  font-size: 0.725rem;
  color: var(--text-light);
}

/* 11. TECHNOLOGY STACK CARDS */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 1rem;
}
.tech-card {
  background: #ffffff;
  border: 1px solid var(--border);
  padding: 1.5rem 1.25rem;
  border-radius: 12px;
  text-align: center;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}
.tech-card:hover {
  border-color: rgba(37, 99, 235, 0.12);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.tech-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}
.tech-name {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: 0.2px;
}
.tech-role {
  font-size: 0.65rem;
  color: var(--text-light);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

/* 12. FAQ ACCORDION LIST */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.faq-item {
  border: 1px solid var(--border);
  border-left: 4px solid transparent;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(8px);
  margin-bottom: 1rem;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.faq-item.active {
  background: #ffffff;
  border-color: rgba(37, 99, 235, 0.18);
  border-left-color: var(--primary);
  box-shadow: var(--shadow-premium);
}
.faq-item:hover {
  transform: translateY(-3px);
  border-color: rgba(37, 99, 235, 0.15);
  box-shadow: var(--shadow-md);
}
.faq-question-btn {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.75rem 2rem;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: background 0.3s ease;
}
.faq-item.active .faq-question-btn {
  background: linear-gradient(90deg, rgba(37, 99, 235, 0.03) 0%, rgba(37, 99, 235, 0) 100%);
}
.faq-question-btn h3 {
  line-height: 1.45;
  padding-right: 1.5rem;
}
.faq-toggle-icon {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--primary);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.faq-item.active {
  border-color: rgba(37, 99, 235, 0.15);
  box-shadow: var(--shadow-md);
}
.faq-item.active .faq-toggle-icon {
  transform: rotate(45deg);
}
.faq-answer {
  height: 0;
  overflow: hidden;
  padding: 0 2rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.7;
  transition: height 0.3s cubic-bezier(0.16, 1, 0.3, 1), padding 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* 13. AUDIT BOOKING & CONTACT FORM */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 5rem;
  align-items: start;
}
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}
.contact-detail-card {
  display: flex;
  gap: 1rem;
  align-items: center;
}
.contact-detail-icon {
  width: 44px;
  height: 44px;
  background: var(--primary-light);
  border: 1px solid rgba(37, 99, 235, 0.08);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  color: var(--primary);
  flex-shrink: 0;
}
.contact-detail-text h5 {
  font-size: 0.725rem;
  font-weight: 700;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 2px;
}
.contact-detail-text p {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
}
.audit-promise-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2.25rem 2rem;
}
.audit-promise-card h4 {
  font-size: 0.95rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
  color: var(--primary);
  letter-spacing: -0.01em;
}
.promise-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.promise-list li {
  font-size: 0.825rem;
  color: var(--text-muted);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.5;
}
.promise-list li::before {
  content: '✓';
  color: var(--primary);
  font-weight: 800;
  flex-shrink: 0;
}
.contact-form-container {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 3rem 2.5rem;
  box-shadow: var(--shadow-premium);
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 1.25rem;
}
.form-group label {
  font-size: 0.675rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-light);
}
.form-group-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.form-control {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  color: var(--text-main);
  padding: 0.875rem 1.15rem;
  font-size: 0.875rem;
  outline: none;
  border-radius: 8px;
  font-family: inherit;
  transition: var(--transition);
}
.form-control:focus {
  border-color: var(--primary);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.08);
}
select.form-control {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23475569'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1.15rem center;
  background-size: 1rem;
  padding-right: 2.5rem;
}
textarea.form-control {
  resize: vertical;
}

/* 14. COMPONENT RESPONSIVENESS */
@media (max-width: 900px) {
  .problems-grid, .framework-grid, .about-grid, .contact-grid, .fit-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .form-group-row {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .about-visual, .about-visual-lg {
    max-width: 320px;
    margin: 0 auto;
  }
  .audit-card, .contact-form-container {
    padding: 2.25rem 1.75rem;
  }
}



/* ==========================================================================
   ADOVION SECURITY STANDARDS, FAQ AND BLOG SYSTEM STYLES
   ========================================================================== */

/* SECURITY GRID AND CARDS */
.security-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}
.security-card {
  background: #ffffff;
  border: 1px solid var(--border);
  padding: 2.5rem 2rem;
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.security-card:hover {
  border-color: rgba(37, 99, 235, 0.12);
  box-shadow: var(--shadow-xl);
  transform: translateY(-4px);
}
.security-card h3 {
  font-size: 1.15rem;
  font-weight: 850;
  margin-bottom: 0.75rem;
}
.security-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
}
.security-card .security-icon {
  width: 48px;
  height: 48px;
  background: var(--primary-light);
  border: 1px solid rgba(37, 99, 235, 0.08);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  color: var(--primary);
}
.security-card:hover .security-icon {
  background: var(--primary-light);
  border-color: rgba(37, 99, 235, 0.15);
  color: var(--primary);
}

/* FAQ CATEGORY HEADER */
.faq-category-header {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-main);
  margin-top: 3.5rem;
  margin-bottom: 1.5rem;
  border-bottom: 2px solid var(--primary-light);
  padding-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 10px;
}
.faq-category-header::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
}

/* BLOG MODULE STYLES */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2rem;
  margin-top: 3.5rem;
}
.blog-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.blog-card:hover {
  border-color: rgba(37, 99, 235, 0.12);
  box-shadow: var(--shadow-xl);
  transform: translateY(-4px);
}
.blog-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background-color: var(--bg-tertiary);
  border-bottom: 1px solid var(--border);
}
.blog-card-content {
  padding: 2.25rem 2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.blog-card-date {
  font-size: 0.725rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
  font-weight: 600;
}
.blog-card h3 {
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1.35;
  margin-bottom: 0.75rem;
}
.blog-card h3 a:hover {
  color: var(--primary);
}
.blog-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}
.blog-readmore {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
}
.blog-readmore:hover {
  color: var(--primary-hover);
}

/* SINGLE BLOG POST VIEW */
.blog-post-container {
  max-width: 800px;
  margin: 0 auto;
}
.blog-post-meta {
  display: flex;
  gap: 1.5rem;
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 1rem;
}
.blog-post-img {
  width: 100%;
  max-height: 440px;
  object-fit: cover;
  border-radius: 20px;
  margin-bottom: 3rem;
  border: 1px solid var(--border);
}
.blog-post-body {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-main);
}
.blog-post-body p {
  margin-bottom: 1.75rem;
}
.blog-post-body h3 {
  font-size: 1.6rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}
.blog-post-body h4 {
  font-size: 1.25rem;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}
.blog-post-body ul, .blog-post-body ol {
  margin-bottom: 1.75rem;
  padding-left: 1.5rem;
}
.blog-post-body li {
  margin-bottom: 0.5rem;
}
.blog-post-body strong {
  color: var(--text-main);
}

/* RESPONSIVE FRAMEWORK ITEMS */
@media (max-width: 480px) {
  .fw-item {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0.75rem !important;
    padding: 1.25rem 1.5rem !important;
  }
}

/* ============================================================
   PREMIUM SCROLL REVEAL ANIMATIONS
   ============================================================ */

/* Base state for all reveal elements */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered card reveals */
.reveal-card {
  opacity: 0;
  transform: translateY(30px) scale(0.97);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-card.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Slide from left */
.reveal-left {
  opacity: 0;
  transform: translateX(-60px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Slide from right */
.reveal-right {
  opacity: 0;
  transform: translateX(60px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Scale up reveal */
.reveal-scale {
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
}

/* ============================================================
   ANIMATED GRADIENT BACKGROUNDS
   ============================================================ */

@keyframes gradient-shift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0); }
  50% { box-shadow: 0 0 20px 4px rgba(37, 99, 235, 0.12); }
}

@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

@keyframes float-up-down {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-12px); }
}

@keyframes rotate-slow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes dash-draw {
  to { stroke-dashoffset: 0; }
}

/* ============================================================
   ENHANCED BUTTON ANIMATIONS
   ============================================================ */

.btn-primary {
  position: relative;
  overflow: hidden;
  z-index: 1;
}
.btn-primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 200%;
  height: 100%;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.15) 50%, transparent 100%);
  animation: shimmer 3s infinite;
  z-index: -1;
}
.btn-primary:hover {
  animation: pulse-glow 2s infinite;
}

/* ============================================================
   ENHANCED HERO SECTION ANIMATIONS
   ============================================================ */

.hero {
  background: linear-gradient(135deg, #ffffff 0%, #f0f5ff 30%, #e8f0fe 60%, #ffffff 100%);
  background-size: 400% 400%;
  animation: gradient-shift 15s ease infinite;
}

.hero h1 {
  animation: fadeSlideUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
}

.hero .badge {
  animation: fadeSlideUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0s both;
}

.hero-sub {
  animation: fadeSlideUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.4s both;
}

.hero-btns {
  animation: fadeSlideUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.6s both;
}

.hero-stats {
  animation: fadeSlideUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.8s both;
}

.scroll-indicator {
  animation: fadeSlideUp 1s cubic-bezier(0.16, 1, 0.3, 1) 1s both;
}

@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hero h1 span gradient text */
.hero h1 span {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================================================
   ENHANCED STAT CARDS
   ============================================================ */

.stat-card {
  position: relative;
  padding: 1.5rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(37, 99, 235, 0.06);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px -8px rgba(37, 99, 235, 0.12);
  border-color: rgba(37, 99, 235, 0.12);
}
.stat-card .num {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================================================
   ENHANCED PROCESS STEP CARDS
   ============================================================ */

.pstep {
  position: relative;
  overflow: hidden;
}
.pstep::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.pstep:hover::before {
  transform: scaleX(1);
}

.pstep-phase, .pstep-num {
  position: relative;
}

/* ============================================================
   ENHANCED PORTFOLIO CARDS
   ============================================================ */

.pcard {
  position: relative;
  overflow: hidden;
}
.pcard::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.03) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}
.pcard:hover::after {
  opacity: 1;
}
.pcard .presult {
  position: relative;
}
.pcard .presult-icon {
  color: var(--primary);
  font-weight: bold;
}

/* ============================================================
   ANIMATED SECTION DIVIDERS
   ============================================================ */

.section-header .badge {
  animation: pulse-glow 3s infinite ease-in-out;
}

.section-title {
  position: relative;
}

/* ============================================================
   FLOATING DECORATIONS FOR SECTIONS
   ============================================================ */

.floating-dot {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
}
.floating-dot-1 {
  width: 6px;
  height: 6px;
  background: var(--primary);
  opacity: 0.15;
  top: 15%;
  right: 8%;
  animation: float-up-down 4s ease-in-out infinite;
}
.floating-dot-2 {
  width: 8px;
  height: 8px;
  background: var(--accent);
  opacity: 0.1;
  bottom: 20%;
  left: 5%;
  animation: float-up-down 5s ease-in-out infinite 1s;
}
.floating-dot-3 {
  width: 4px;
  height: 4px;
  background: var(--primary);
  opacity: 0.12;
  top: 40%;
  left: 10%;
  animation: float-up-down 6s ease-in-out infinite 0.5s;
}
.floating-ring {
  position: absolute;
  border: 1px solid rgba(37, 99, 235, 0.06);
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
}
.floating-ring-1 {
  width: 120px;
  height: 120px;
  top: 10%;
  right: 5%;
  animation: rotate-slow 30s linear infinite, float-up-down 8s ease-in-out infinite;
}
.floating-ring-2 {
  width: 80px;
  height: 80px;
  bottom: 15%;
  left: 3%;
  animation: rotate-slow 25s linear infinite reverse, float-up-down 6s ease-in-out infinite 2s;
}

/* ============================================================
   ENHANCED CONTACT FORM ANIMATIONS
   ============================================================ */

.form-control:focus {
  border-color: var(--primary) !important;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.08) !important;
  transform: translateY(-1px);
  transition: all 0.3s ease;
}

.contact-form-container {
  position: relative;
  overflow: hidden;
}
.contact-form-container::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.02) 0%, transparent 60%);
  animation: rotate-slow 40s linear infinite;
  pointer-events: none;
}

/* ============================================================
   COUNTER ANIMATION (for hero stats)
   ============================================================ */

@keyframes countUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   SMOOTH PAGE TRANSITIONS
   ============================================================ */

.page-loaded .hero-content > * {
  animation-play-state: running;
}
