/* ==========================================================================
   CRIZGEN DESIGN SYSTEM & STYLESHEET
   A modern, minimal, high-impact single-page website for Crizgen
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. COLOR PALETTE & CSS VARIABLES
   Easy to customize: Change --accent and theme variables below.
   -------------------------------------------------------------------------- */
:root {
  /* Brand Accent Color (Single primary brand accent, easy to change) */
  --accent: #6366f1;                 /* Electric Indigo */
  --accent-hover: #4f46e5;           /* Deeper Indigo for hover states */
  --accent-light: #818cf8;           /* Lighter Indigo for highlights */
  --accent-rgb: 99, 102, 241;
  --accent-subtle: rgba(99, 102, 241, 0.12);
  --accent-glow: rgba(99, 102, 241, 0.28);
  --accent-gradient: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #06b6d4 100%);

  /* Default Theme: DARK THEME */
  --bg-body: #090d16;                /* Rich deep dark slate */
  --bg-surface: #0f172a;             /* Elevated dark surface */
  --bg-surface-elevated: #162038;    /* Interactive card surface */
  --bg-surface-hover: #1c2948;       /* Hover state surface */
  --bg-navbar: rgba(9, 13, 22, 0.85);/* Glassmorphism navbar backdrop */
  --bg-drawer: #0d1322;              /* Mobile drawer background */
  --glow-opacity: 0.6;               /* Ambient hero glow */

  /* Text Colors (Dark Theme) */
  --text-primary: #f8fafc;           /* Crisp off-white */
  --text-secondary: #94a3b8;         /* Neutral slate */
  --text-muted: #64748b;             /* Dim text */
  --text-inverse: #090d16;           /* Inverse text for buttons */

  /* Borders & Dividers (Dark Theme) */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-medium: rgba(255, 255, 255, 0.16);
  --border-highlight: rgba(99, 102, 241, 0.45);

  /* Shadows (Dark Theme) */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 20px 35px -10px rgba(0, 0, 0, 0.6);
  --shadow-accent: 0 10px 25px -5px rgba(99, 102, 241, 0.35);

  /* Functional Colors */
  --color-success: #10b981;
  --color-warning: #f59e0b;
  --color-error: #ef4444;
  --whatsapp-color: #25d366;
  --whatsapp-hover: #20ba5a;

  /* Typography Stack */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  /* Dimensions & Transitions */
  --container-max-width: 1200px;
  --navbar-height: 72px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --transition-fast: 180ms cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 280ms cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 450ms cubic-bezier(0.16, 1, 0.3, 1);
}

/* --------------------------------------------------------------------------
   LIGHT THEME OVERRIDES
   -------------------------------------------------------------------------- */
[data-theme="light"] {
  --bg-body: #f8fafc;                /* Crisp clean light canvas */
  --bg-surface: #ffffff;             /* Pure white card surface */
  --bg-surface-elevated: #f1f5f9;    /* Elevated surface */
  --bg-surface-hover: #e2e8f0;       /* Hover state surface */
  --bg-navbar: rgba(248, 250, 252, 0.88);
  --bg-drawer: #ffffff;
  --glow-opacity: 0.25;              /* Subtle ambient glow in light mode */

  /* Text Colors (Light Theme) */
  --text-primary: #0f172a;           /* Deep navy/black */
  --text-secondary: #475569;         /* Neutral slate */
  --text-muted: #64748b;             /* Dim gray */
  --text-inverse: #ffffff;

  /* Borders & Dividers (Light Theme) */
  --border-subtle: rgba(15, 23, 42, 0.08);
  --border-medium: rgba(15, 23, 42, 0.14);
  --border-highlight: rgba(79, 70, 229, 0.4);

  /* Shadows (Light Theme) */
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 10px 25px -5px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 20px 35px -10px rgba(15, 23, 42, 0.12);
  --shadow-accent: 0 10px 25px -5px rgba(79, 70, 229, 0.22);
}

/* --------------------------------------------------------------------------
   2. RESET & BASE ELEMENTS
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--navbar-height) + 16px);
  -webkit-text-size-adjust: 100%;
  background-color: var(--bg-body);
}

body {
  font-family: var(--font-family);
  background-color: transparent !important;
  color: var(--text-primary);
  line-height: 1.6;
  font-weight: 400;
  overflow-x: hidden;
  width: 100%;
  min-height: 100vh;
  transition: color var(--transition-slow);
}

/* ==========================================================================
   GALAXY BACKGROUND CANVAS COMPONENT
   Fixed full-page canvas behind all content
   ========================================================================== */
.galaxy-bg-canvas {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  inset: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  z-index: -1 !important;
  pointer-events: none !important;
  display: block !important;
}

/* Accessibility: Skip Link */
.skip-link {
  position: absolute;
  top: -60px;
  left: 20px;
  background: var(--accent);
  color: #ffffff;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  z-index: 1000;
  font-weight: 600;
  text-decoration: none;
  transition: top var(--transition-fast);
}

.skip-link:focus {
  top: 16px;
  outline: 3px solid #ffffff;
}

/* Typography Hierarchy */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-primary);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.025em;
  word-break: break-word;
  overflow-wrap: break-word;
}

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

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

ul {
  list-style: none;
}

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

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

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* --------------------------------------------------------------------------
   3. LAYOUT & CONTAINERS
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(1rem, 3.5vw, 2.5rem);
  padding-right: clamp(1rem, 3.5vw, 2.5rem);
}

.section {
  padding-top: clamp(4rem, 7vw, 6.5rem);
  padding-bottom: clamp(4rem, 7vw, 6.5rem);
  position: relative;
}

.section-header {
  max-width: 720px;
  margin-bottom: clamp(2.25rem, 4.5vw, 3.5rem);
}

.section-label {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.875rem;
}

.section-title {
  font-size: clamp(2rem, 3.6vw, 2.85rem);
  margin-bottom: 1rem;
}

.section-description {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: var(--text-secondary);
  line-height: 1.65;
}

/* CSS Grid Utilities */
.grid {
  display: grid;
  gap: 1.75rem;
}

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

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

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

/* --------------------------------------------------------------------------
   4. BUTTONS & INTERACTIVE ELEMENTS
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.625rem;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition-normal);
  text-align: center;
  user-select: none;
}

.btn-sm {
  padding: 0.5rem 1.125rem;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 0.95rem 2rem;
  font-size: 1.0625rem;
}

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

.btn-primary:hover {
  background-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--accent-glow);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--border-medium);
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  background-color: var(--accent-subtle);
  transform: translateY(-2px);
}

.btn-ghost {
  background: var(--bg-surface-elevated);
  color: var(--text-primary);
  border-color: var(--border-subtle);
}

.btn-ghost:hover {
  background-color: var(--bg-surface-hover);
  border-color: var(--border-medium);
  transform: translateY(-2px);
}

.btn-block {
  width: 100%;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent);
  transition: gap var(--transition-fast);
}

.link-arrow:hover {
  gap: 0.625rem;
  color: var(--accent-light);
}

/* --------------------------------------------------------------------------
   5. STICKY MINIMAL NAVBAR
   -------------------------------------------------------------------------- */
.navbar-wrapper {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--navbar-height);
  background-color: var(--bg-navbar);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  z-index: 900;
  transition: background-color var(--transition-normal), border-color var(--transition-normal);
}

.navbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}

/* Crizgen Brand Logo */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  transition: opacity var(--transition-fast);
}

.brand-logo:hover {
  opacity: 0.9;
}

.logo-symbol {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
  background: var(--accent-subtle);
  color: var(--accent);
  border: 1px solid var(--border-highlight);
}

.logo-accent-dot {
  color: var(--accent);
}

/* Desktop Navigation Links */
.nav-links {
  display: none;
  align-items: center;
  gap: 2.25rem;
}

@media (min-width: 860px) {
  .nav-links {
    display: flex;
  }
}

.nav-item {
  position: relative;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 0.35rem 0;
  transition: color var(--transition-fast);
}

.nav-item::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent);
  border-radius: 2px;
  transition: width var(--transition-fast);
}

.nav-item:hover,
.nav-item.active {
  color: var(--text-primary);
}

.nav-item:hover::after,
.nav-item.active::after {
  width: 100%;
}

/* Nav Actions (Toggle, CTA, Hamburger) */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.875rem;
}

/* Dark/Light Theme Toggle */
.theme-toggle {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  cursor: pointer;
  transition: background-color var(--transition-normal), border-color var(--transition-normal), transform var(--transition-fast);
}

.theme-toggle:hover {
  background-color: var(--bg-surface-hover);
  border-color: var(--border-medium);
  transform: scale(1.05);
}

.toggle-icon {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity var(--transition-normal), transform var(--transition-normal);
}

/* Icon states based on data-theme */
[data-theme="dark"] .sun-icon {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}
[data-theme="dark"] .moon-icon {
  opacity: 0;
  transform: rotate(-90deg) scale(0.5);
  pointer-events: none;
}

[data-theme="light"] .sun-icon {
  opacity: 0;
  transform: rotate(90deg) scale(0.5);
  pointer-events: none;
}
[data-theme="light"] .moon-icon {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

/* Desktop Only Helper */
.desktop-only {
  display: none;
}

@media (min-width: 860px) {
  .desktop-only {
    display: inline-flex;
  }
}

@media (max-width: 480px) {
  .navbar-container {
    padding: 0 1rem;
  }
  .brand-logo {
    font-size: 1.15rem;
    gap: 0.45rem;
  }
  .logo-symbol {
    width: 30px;
    height: 30px;
  }
  .theme-toggle,
  .mobile-menu-toggle {
    width: 36px;
    height: 36px;
  }
  .nav-actions {
    gap: 0.5rem;
  }
}

/* Mobile Hamburger Toggle */
.mobile-menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  cursor: pointer;
}

@media (min-width: 860px) {
  .mobile-menu-toggle {
    display: none;
  }
}

.hamburger-bar {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--text-primary);
  border-radius: 2px;
  transition: transform var(--transition-normal), opacity var(--transition-fast);
}

/* Hamburger active transformation */
.mobile-menu-toggle[aria-expanded="true"] .hamburger-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.mobile-menu-toggle[aria-expanded="true"] .hamburger-bar:nth-child(2) {
  opacity: 0;
}
.mobile-menu-toggle[aria-expanded="true"] .hamburger-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Drawer */
.mobile-drawer {
  position: absolute;
  top: var(--navbar-height);
  left: 0;
  width: 100%;
  max-height: 0;
  overflow: hidden;
  background: var(--bg-drawer);
  border-bottom: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-lg);
  transition: max-height var(--transition-normal) ease-in-out;
}

.mobile-drawer.open {
  max-height: 380px;
}

.mobile-drawer-content {
  display: flex;
  flex-direction: column;
  padding: 1.5rem 1.75rem 2rem;
  gap: 0.5rem;
}

.mobile-nav-item {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-secondary);
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border-subtle);
  transition: color var(--transition-fast);
}

.mobile-nav-item:hover {
  color: var(--accent);
}

.mobile-drawer-cta {
  margin-top: 1rem;
}

/* --------------------------------------------------------------------------
   6. HERO SECTION
   -------------------------------------------------------------------------- */
.hero-section {
  position: relative;
  min-height: clamp(540px, 80vh, 840px);
  display: flex;
  align-items: center;
  padding-top: clamp(2.5rem, 5vw, 4rem);
  padding-bottom: clamp(3rem, 6vw, 4.5rem);
  overflow: hidden;
}

/* Ambient Radial Glow */
.ambient-glow {
  position: absolute;
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  width: clamp(320px, 60vw, 750px);
  height: clamp(320px, 60vw, 750px);
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 68%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
  opacity: var(--glow-opacity);
}

.hero-container {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 920px;
}

/* Location Badge Pill */
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.45rem 1.125rem;
  border-radius: var(--radius-full);
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-medium);
  margin-bottom: 1.75rem;
  box-shadow: var(--shadow-sm);
}

.badge-dot {
  width: 8px;
  height: 8px;
  background-color: var(--color-success);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--color-success);
  animation: pulse-dot 2s infinite ease-in-out;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.badge-text {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: 0.01em;
}

/* Headline */
.hero-title {
  font-size: clamp(1.85rem, 5.2vw, 4.2rem);
  line-height: 1.14;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 1.35rem;
  max-width: 860px;
  color: var(--text-primary);
}

.gradient-text {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* Subtext / Tagline */
.hero-subtext {
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 720px;
  margin-bottom: 2.5rem;
}

/* Hero CTA Actions */
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: clamp(2.5rem, 5vw, 3.75rem);
}

/* Proof Highlights Row */
.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  padding: 1.25rem 2rem;
  border-radius: var(--radius-lg);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
}

@media (max-width: 580px) {
  .hero-highlights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    padding: 0.85rem 0.5rem;
    width: 100%;
  }
  .highlight-number {
    font-size: 1rem;
  }
  .highlight-label {
    font-size: 0.6875rem;
    text-align: center;
  }
}

.highlight-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

.highlight-number {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-primary);
}

.highlight-label {
  font-size: 0.8125rem;
  color: var(--text-muted);
  font-weight: 500;
}

.highlight-divider {
  width: 1px;
  height: 28px;
  background-color: var(--border-subtle);
  display: none;
}

@media (min-width: 580px) {
  .highlight-divider {
    display: block;
  }
}

/* --------------------------------------------------------------------------
   7. ABOUT & STRENGTHS SECTION
   -------------------------------------------------------------------------- */
.strengths-grid {
  margin-top: 1.5rem;
}

.card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 3.5vw, 2.25rem);
  transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
  position: relative;
  overflow: hidden;
}

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

.strength-card {
  display: flex;
  flex-direction: column;
}

.card-icon-wrapper {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  background: var(--accent-subtle);
  color: var(--accent);
  margin-bottom: 1.5rem;
  border: 1px solid var(--border-highlight);
}

.card-title {
  font-size: 1.35rem;
  margin-bottom: 0.875rem;
}

.card-text {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.strength-meta {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.tag {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.3rem 0.75rem;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  color: var(--text-secondary);
}

/* --------------------------------------------------------------------------
   8. SERVICES SECTION
   -------------------------------------------------------------------------- */
.service-card {
  display: flex;
  flex-direction: column;
}

.service-icon-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  background: var(--accent-subtle);
  color: var(--accent);
  margin-bottom: 1.5rem;
  border: 1px solid var(--border-highlight);
}

.service-name {
  font-size: 1.45rem;
  margin-bottom: 0.875rem;
}

.service-summary {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.service-feature-list {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  margin-bottom: 2rem;
  flex-grow: 1;
}

.service-feature-list li {
  position: relative;
  padding-left: 1.25rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.service-feature-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

.service-card-footer {
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
}

/* --------------------------------------------------------------------------
   9. PROCESS SECTION (5-Stage Workflow)
   -------------------------------------------------------------------------- */
.process-timeline {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

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

@media (min-width: 1024px) {
  .process-timeline {
    grid-template-columns: repeat(5, 1fr);
  }
}

.process-step {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform var(--transition-normal), border-color var(--transition-normal);
}

.process-step:hover {
  transform: translateY(-4px);
  border-color: var(--border-highlight);
}

.step-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-medium);
  margin-bottom: 1.25rem;
}

.step-number {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--accent);
}

.step-title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.step-description {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

/* --------------------------------------------------------------------------
   10. WHAT WE BUILD SECTION
   -------------------------------------------------------------------------- */
.work-grid {
  margin-top: 1.5rem;
}

.work-card {
  padding: 0;
  display: flex;
  flex-direction: column;
}

.work-preview {
  position: relative;
  background: var(--bg-surface-elevated);
  border-bottom: 1px solid var(--border-subtle);
  padding: 1.25rem;
  overflow: hidden;
  min-height: 230px;
  display: flex;
  flex-direction: column;
}

.mockup-header {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 1rem;
}

.mockup-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.mockup-dot.red { background: #ef4444; }
.mockup-dot.yellow { background: #f59e0b; }
.mockup-dot.green { background: #10b981; }

.mockup-url {
  font-size: 0.6875rem;
  color: var(--text-muted);
  margin-left: 8px;
  font-family: monospace;
}

.work-sample-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: var(--accent);
  color: #ffffff;
  padding: 0.25rem 0.625rem;
  border-radius: var(--radius-full);
  box-shadow: 0 2px 8px var(--accent-glow);
}

/* Project 1 Mockup: FinPulse */
.fintech-mockup {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.mockup-stat-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--bg-surface);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
}

.mockup-stat-box {
  display: flex;
  flex-direction: column;
}

.stat-caption {
  font-size: 0.6875rem;
  color: var(--text-muted);
}

.stat-value {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-primary);
}

.mockup-stat-tag {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-success);
  background: rgba(16, 185, 129, 0.15);
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-sm);
}

.mockup-chart {
  width: 100%;
  height: 48px;
}

.chart-svg {
  width: 100%;
  height: 100%;
}

.mockup-activity-list {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.activity-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-secondary);
  background: var(--bg-surface);
  padding: 0.35rem 0.65rem;
  border-radius: 4px;
  min-width: 0;
}

.act-text {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
  margin-right: 8px;
}

.act-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  margin-right: 6px;
  flex-shrink: 0;
}

.act-status {
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--color-success);
  flex-shrink: 0;
}

/* Project 2 Mockup: OmniDeliver Mobile */
.mobile-mockup {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0.5rem 0;
}

.mobile-phone-frame {
  width: 175px;
  background: var(--bg-surface);
  border: 2px solid var(--border-medium);
  border-radius: 20px;
  padding: 6px;
  box-shadow: var(--shadow-sm);
}

.phone-notch {
  width: 40px;
  height: 4px;
  background: var(--border-medium);
  border-radius: 2px;
  margin: 0 auto 6px;
}

.phone-screen-content {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.delivery-status-pill {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.625rem;
  font-weight: 700;
  color: var(--accent-light);
  background: var(--accent-subtle);
  padding: 0.25rem 0.4rem;
  border-radius: 4px;
}

.pulse-indicator {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

.delivery-map-sim {
  position: relative;
  height: 46px;
  background: var(--bg-surface-elevated);
  border-radius: 6px;
  overflow: hidden;
  border: 1px dashed var(--border-medium);
}

.map-route-line {
  position: absolute;
  top: 50%;
  left: 20%;
  right: 20%;
  height: 2px;
  background: var(--accent);
}

.map-pin {
  position: absolute;
  font-size: 0.8rem;
  top: 30%;
}
.user-pin { left: 15%; }
.driver-pin { right: 15%; }

.delivery-info-card {
  display: flex;
  flex-direction: column;
  font-size: 0.625rem;
}
.pkg-title { font-weight: 700; color: var(--text-primary); }
.pkg-sub { color: var(--text-muted); }

/* Project 3 Mockup: AuraHealth */
.health-mockup {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.telehealth-card {
  background: var(--bg-surface);
  padding: 0.75rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.doctor-badge {
  display: flex;
  align-items: center;
  gap: 8px;
}

.doctor-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent-subtle);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6875rem;
  font-weight: 700;
}

.doctor-meta {
  display: flex;
  flex-direction: column;
}
.doc-name { font-size: 0.75rem; font-weight: 700; color: var(--text-primary); }
.doc-role { font-size: 0.625rem; color: var(--color-success); }

.health-vital-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
}

.vital-item {
  background: var(--bg-surface-elevated);
  padding: 0.3rem 0.25rem;
  border-radius: 4px;
  text-align: center;
}
.vital-label { font-size: 0.5625rem; color: var(--text-muted); display: block; }
.vital-val { font-size: 0.7rem; font-weight: 700; color: var(--text-primary); }

.call-btn-mock {
  display: block;
  text-align: center;
  font-size: 0.6875rem;
  font-weight: 600;
  padding: 0.3rem;
  background: var(--accent);
  color: #ffffff;
  border-radius: 4px;
}

/* Work Card Content */
.work-content {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.work-meta {
  margin-bottom: 0.5rem;
}

.work-category {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.work-title {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

.work-desc {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
}

.tech-tag {
  font-size: 0.75rem;
  background: var(--bg-surface-elevated);
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
}

/* --------------------------------------------------------------------------
   11. CONTACT SECTION
   -------------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-top: 1.5rem;
}

@media (min-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr 1.2fr;
  }
}

.contact-info-panel,
.contact-form-panel {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 4vw, 2.75rem);
}

.panel-title {
  font-size: 1.45rem;
  margin-bottom: 0.75rem;
}

.panel-desc {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.contact-details-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2.25rem;
}

.contact-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.detail-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--accent-subtle);
  color: var(--accent);
  border: 1px solid var(--border-highlight);
  flex-shrink: 0;
}

.detail-text {
  display: flex;
  flex-direction: column;
}

.detail-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  margin-bottom: 0.15rem;
}

.detail-link {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
  transition: color var(--transition-fast);
}

.detail-link:hover {
  color: var(--accent);
}

.detail-plain {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.5;
}

/* WhatsApp Direct Panel Box */
.whatsapp-direct-box {
  padding: 1.25rem;
  border-radius: var(--radius-md);
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.whatsapp-badge-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
}

.btn-whatsapp-direct {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  background-color: var(--whatsapp-color);
  color: #ffffff !important;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.95rem;
  transition: background-color var(--transition-fast), transform var(--transition-fast);
}

.btn-whatsapp-direct:hover {
  background-color: var(--whatsapp-hover);
  transform: translateY(-2px);
  color: #ffffff !important;
}

/* Form Styles */
.form-group {
  margin-bottom: 1.35rem;
}

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

.required-star {
  color: var(--color-error);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.85rem 1.125rem;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 0.95rem;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast), background-color var(--transition-fast);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--accent);
  background-color: var(--bg-surface);
  box-shadow: 0 0 0 3px var(--accent-subtle);
  outline: none;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--text-muted);
}

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

.field-error {
  display: block;
  font-size: 0.75rem;
  color: var(--color-error);
  margin-top: 0.35rem;
  min-height: 1rem;
}

.form-input.error,
.form-textarea.error {
  border-color: var(--color-error);
}

/* Form Status Alert */
.form-status {
  padding: 0;
  margin-top: 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.5;
  text-align: center;
  display: none;
}

.form-status.success {
  display: block;
  padding: 0.85rem 1.125rem;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid var(--color-success);
  color: var(--color-success);
}

.form-status.error {
  display: block;
  padding: 0.85rem 1.125rem;
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid var(--color-error);
  color: var(--color-error);
}

/* Button Spinner */
.btn-spinner {
  display: none;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.btn.loading .btn-text {
  opacity: 0.7;
}

.btn.loading .btn-spinner {
  display: inline-block;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* --------------------------------------------------------------------------
   12. FOOTER SECTION
   -------------------------------------------------------------------------- */
.footer-section {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  padding-top: clamp(3.5rem, 6vw, 5rem);
  padding-bottom: 2rem;
}

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

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

@media (min-width: 1024px) {
  .footer-container {
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
  }
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-tagline {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 320px;
}

.footer-hq {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.84rem;
  line-height: 1.5;
  color: var(--text-muted);
  max-width: 320px;
}

.footer-heading {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
  letter-spacing: -0.01em;
}

.footer-nav-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-nav-list a {
  font-size: 0.875rem;
  color: var(--text-secondary);
  transition: color var(--transition-fast), transform var(--transition-fast);
}

.footer-nav-list a:hover {
  color: var(--accent);
  transform: translateX(3px);
}

.footer-social-intro {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.footer-social-links {
  display: flex;
  gap: 0.625rem;
  flex-wrap: wrap;
}

.social-icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.social-icon-btn:hover {
  background: var(--accent-subtle);
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-3px);
}

/* Footer Bottom Bar */
.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding-top: 2rem;
}

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

@media (min-width: 768px) {
  .footer-bottom-container {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.copyright-text {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.back-to-top {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-secondary);
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-full);
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  transition: all var(--transition-fast);
}

.back-to-top:hover {
  color: var(--accent);
  border-color: var(--accent);
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   13. FLOATING WHATSAPP BUTTON
   -------------------------------------------------------------------------- */
.floating-whatsapp-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 58px;
  height: 58px;
  background-color: var(--whatsapp-color);
  color: #ffffff !important;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
  z-index: 850;
  cursor: pointer;
  transition: transform var(--transition-normal), background-color var(--transition-fast);
}

.floating-whatsapp-btn:hover {
  background-color: var(--whatsapp-hover);
  transform: scale(1.08) translateY(-2px);
  color: #ffffff !important;
}

.floating-whatsapp-btn:active {
  transform: scale(0.96);
}

.whatsapp-pulse-ring {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid var(--whatsapp-color);
  opacity: 0.6;
  animation: pulse-ring 2.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) infinite;
  pointer-events: none;
}

@keyframes pulse-ring {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.35); opacity: 0; }
  100% { transform: scale(1.35); opacity: 0; }
}

/* Tooltip on Desktop Hover */
.whatsapp-tooltip {
  position: absolute;
  right: 68px;
  background: var(--bg-surface);
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-md);
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translateX(8px);
  transition: opacity var(--transition-fast), transform var(--transition-fast);
}

.floating-whatsapp-btn:hover .whatsapp-tooltip {
  opacity: 1;
  transform: translateX(0);
}

/* --------------------------------------------------------------------------
   14. SCROLL REVEAL ANIMATIONS
   -------------------------------------------------------------------------- */
.reveal-fade {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

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

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

  .reveal-fade {
    opacity: 1 !important;
    transform: none !important;
  }

  .whatsapp-pulse-ring,
  .badge-dot {
    animation: none !important;
  }
}
