/* ==========================================================================
   AMAN FLOWS — Modern, Minimal Systems & Automation Consultancy
   Designed for speed, clarity, high trust, and flawless typography.
   ========================================================================== */

/* --------------------------------------------------------------------------
   Design Tokens & CSS Variables
   -------------------------------------------------------------------------- */
:root {
  /* Color Palette — Dark Mode (Default) */
  --bg-primary: #090a0d;
  --bg-secondary: #0f1117;
  --bg-card: #13161f;
  --bg-card-hover: #181c27;
  --bg-subtle: rgba(255, 255, 255, 0.03);
  --bg-badge: rgba(255, 255, 255, 0.05);

  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-faint: #475569;

  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(255, 255, 255, 0.16);
  --border-strong: rgba(255, 255, 255, 0.22);

  --accent: #10b981;
  --accent-glow: rgba(16, 185, 129, 0.12);
  --accent-text: #34d399;

  --nav-bg: rgba(9, 10, 13, 0.82);
  --nav-border: rgba(255, 255, 255, 0.07);

  --button-primary-bg: #f8fafc;
  --button-primary-text: #090a0d;
  --button-primary-hover: #e2e8f0;

  --button-secondary-bg: transparent;
  --button-secondary-text: #f8fafc;
  --button-secondary-border: rgba(255, 255, 255, 0.15);
  --button-secondary-hover: rgba(255, 255, 255, 0.06);

  /* Typography */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', Menlo, Consolas, Monaco, monospace;

  /* Layout */
  --container-max: 1040px;
  --container-narrow: 760px;
  --nav-height: 68px;

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;

  /* Transitions */
  --ease-standard: cubic-bezier(0.16, 1, 0.3, 1);
  --duration-fast: 150ms;
  --duration-normal: 240ms;
}

/* Light Mode Overrides */
[data-theme="light"] {
  --bg-primary: #fafafa;
  --bg-secondary: #f4f4f6;
  --bg-card: #ffffff;
  --bg-card-hover: #f8fafc;
  --bg-subtle: rgba(0, 0, 0, 0.02);
  --bg-badge: rgba(0, 0, 0, 0.04);

  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --text-faint: #94a3b8;

  --border-subtle: rgba(0, 0, 0, 0.08);
  --border-hover: rgba(0, 0, 0, 0.16);
  --border-strong: rgba(0, 0, 0, 0.24);

  --accent: #059669;
  --accent-glow: rgba(5, 150, 105, 0.1);
  --accent-text: #059669;

  --nav-bg: rgba(250, 250, 250, 0.85);
  --nav-border: rgba(0, 0, 0, 0.06);

  --button-primary-bg: #0f172a;
  --button-primary-text: #ffffff;
  --button-primary-hover: #1e293b;

  --button-secondary-bg: #ffffff;
  --button-secondary-text: #0f172a;
  --button-secondary-border: rgba(0, 0, 0, 0.12);
  --button-secondary-hover: #f1f5f9;
}

/* --------------------------------------------------------------------------
   Reset & Baseline
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--bg-primary);
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-height) + 24px);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  background-color: var(--bg-primary);
  transition: background-color var(--duration-normal) var(--ease-standard),
              color var(--duration-normal) var(--ease-standard);
}

/* --------------------------------------------------------------------------
   Typography Guidelines (Modern Web Guidance)
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-primary);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

p, li {
  text-wrap: pretty;
}

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

button {
  font-family: inherit;
  font-size: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul, ol {
  list-style: none;
}

/* Accessibility Focus States */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

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

.container-narrow {
  width: 100%;
  max-width: var(--container-narrow);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.section {
  padding-top: clamp(72px, 10vw, 120px);
  padding-bottom: clamp(72px, 10vw, 120px);
}

.section-divider {
  border-top: 1px solid var(--border-subtle);
}

/* --------------------------------------------------------------------------
   Sticky Navigation
   -------------------------------------------------------------------------- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  height: var(--nav-height);
  background: var(--nav-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--nav-border);
  transition: background-color var(--duration-normal) ease,
              border-color var(--duration-normal) ease;
}

.nav-container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  line-height: 1;
}

.brand-logo-container {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background-color: #ffffff;
  border-radius: 7px;
  padding: 3px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  transition: opacity var(--duration-fast) ease,
              border-color var(--duration-fast) ease;
}

[data-theme="light"] .brand-logo-container {
  border-color: rgba(0, 0, 0, 0.1);
}

.brand:hover .brand-logo-container {
  opacity: 0.92;
  border-color: rgba(255, 255, 255, 0.3);
}

.brand-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

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

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

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  font-size: 0.925rem;
  color: var(--text-secondary);
  transition: color var(--duration-fast) ease;
  position: relative;
  padding: 4px 0;
}

.nav-link:hover {
  color: var(--text-primary);
}

.nav-link.active {
  color: var(--text-primary);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 1.5px;
  background-color: var(--accent);
  border-radius: var(--radius-full);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* Theme Toggle Button */
.theme-toggle {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
  background: var(--bg-subtle);
  transition: color var(--duration-fast) ease,
              border-color var(--duration-fast) ease,
              background-color var(--duration-fast) ease;
}

.theme-toggle:hover {
  color: var(--text-primary);
  border-color: var(--border-hover);
  background: var(--bg-card);
}

.theme-toggle svg {
  width: 17px;
  height: 17px;
}

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

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

/* Mobile Menu Button */
.mobile-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
  background: var(--bg-subtle);
}

.mobile-toggle svg {
  width: 20px;
  height: 20px;
}

/* --------------------------------------------------------------------------
   Buttons & Badges
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 500;
  font-size: 0.925rem;
  letter-spacing: -0.01em;
  padding: 10px 18px;
  border-radius: var(--radius-md);
  transition: all var(--duration-fast) var(--ease-standard);
  white-space: nowrap;
  user-select: none;
}

.btn-sm {
  padding: 7px 14px;
  font-size: 0.875rem;
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: 13px 26px;
  font-size: 1rem;
}

.btn-primary {
  background-color: var(--button-primary-bg);
  color: var(--button-primary-text);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
  background-color: var(--button-primary-hover);
  transform: translateY(-1px);
}

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

.btn-secondary {
  background-color: var(--button-secondary-bg);
  color: var(--button-secondary-text);
  border: 1px solid var(--button-secondary-border);
}

.btn-secondary:hover {
  background-color: var(--button-secondary-hover);
  border-color: var(--border-strong);
  color: var(--text-primary);
}

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

.badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-secondary);
  background-color: var(--bg-badge);
  border: 1px solid var(--border-subtle);
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--accent);
}

/* --------------------------------------------------------------------------
   Section 1: Hero
   -------------------------------------------------------------------------- */
.hero-section {
  padding-top: clamp(60px, 10vw, 110px);
  padding-bottom: clamp(60px, 10vw, 110px);
  position: relative;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 820px;
}

.hero-badge {
  margin-bottom: 24px;
}

.hero-headline {
  font-size: clamp(2.4rem, 5.2vw, 4.2rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.035em;
  color: var(--text-primary);
  margin-bottom: 24px;
}

.hero-supporting {
  font-size: clamp(1.1rem, 2vw, 1.28rem);
  line-height: 1.55;
  color: var(--text-secondary);
  max-width: 660px;
  margin-bottom: 36px;
}

.hero-ctas {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 56px;
}

/* Hero Architecture / Flow Visual */
.hero-visual {
  width: 100%;
  margin-top: 10px;
  border-radius: var(--radius-lg);
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  box-shadow: 0 16px 40px -16px rgba(0, 0, 0, 0.35);
  transition: border-color var(--duration-normal) ease;
}

.hero-visual:hover {
  border-color: var(--border-hover);
}

.flow-window-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  background-color: var(--bg-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

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

.window-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background-color: var(--border-subtle);
}

.flow-status-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
}

.status-indicator {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--accent);
}

.flow-grid {
  display: grid;
  grid-template-columns: 1fr auto 1.3fr auto 1fr;
  align-items: center;
  gap: 12px;
  padding: 28px 24px;
}

.flow-node {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.node-tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.node-title {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-primary);
}

.node-detail {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.flow-node.highlighted {
  border-color: rgba(16, 185, 129, 0.35);
  background-color: rgba(16, 185, 129, 0.04);
}

.flow-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-faint);
}

.flow-arrow svg {
  width: 18px;
  height: 18px;
}

/* --------------------------------------------------------------------------
   Section Header Utility
   -------------------------------------------------------------------------- */
.section-header {
  margin-bottom: clamp(36px, 6vw, 56px);
}

.section-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.85rem, 3.8vw, 2.75rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.section-intro {
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 680px;
}

/* --------------------------------------------------------------------------
   Section 2: The Problem
   -------------------------------------------------------------------------- */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.problem-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color var(--duration-fast) ease,
              background-color var(--duration-fast) ease;
}

.problem-card:hover {
  border-color: var(--border-hover);
  background-color: var(--bg-card-hover);
}

.problem-index {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
}

.problem-title {
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--text-primary);
}

.problem-description {
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--text-secondary);
}

/* --------------------------------------------------------------------------
   Section 3: What I Do (Services)
   -------------------------------------------------------------------------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.service-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  transition: border-color var(--duration-fast) ease,
              background-color var(--duration-fast) ease,
              transform var(--duration-fast) ease;
}

.service-card:hover {
  border-color: var(--border-hover);
  background-color: var(--bg-card-hover);
  transform: translateY(-2px);
}

.service-icon-wrapper {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background-color: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  margin-bottom: 24px;
}

.service-icon-wrapper svg {
  width: 22px;
  height: 22px;
}

.service-title {
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.service-text {
  font-size: 0.98rem;
  line-height: 1.55;
  color: var(--text-secondary);
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--border-subtle);
}

.service-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--text-muted);
  background-color: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 3px 8px;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.service-card:hover .service-tag {
  color: var(--text-secondary);
  border-color: var(--border-hover);
}

/* --------------------------------------------------------------------------
   Section 4: How I Work (Process)
   -------------------------------------------------------------------------- */
.process-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}

.process-step {
  display: flex;
  flex-direction: column;
  position: relative;
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 30px 24px;
  transition: border-color var(--duration-fast) ease,
              background-color var(--duration-fast) ease;
}

.process-step:hover {
  border-color: var(--border-hover);
  background-color: var(--bg-card-hover);
}

.step-header {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-subtle);
}

.step-number {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--accent-text);
  font-weight: 600;
}

.step-name {
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--text-primary);
}

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

/* --------------------------------------------------------------------------
   Section 5: About
   -------------------------------------------------------------------------- */
.about-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: clamp(36px, 6vw, 56px);
  position: relative;
  overflow: hidden;
}

.about-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.about-title {
  font-size: clamp(1.8rem, 3.2vw, 2.4rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--text-primary);
}

.about-badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
}

.about-body {
  font-size: clamp(1.05rem, 1.8vw, 1.22rem);
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 720px;
  margin-bottom: 32px;
}

.about-principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding-top: 28px;
  border-top: 1px solid var(--border-subtle);
}

.principle-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.principle-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.principle-value {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-primary);
}

/* --------------------------------------------------------------------------
   Section 6: Final CTA & Contact
   -------------------------------------------------------------------------- */
.cta-box {
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: clamp(48px, 8vw, 84px) clamp(24px, 6vw, 64px);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 320px;
  height: 1px;
  background: radial-gradient(circle, var(--accent) 0%, transparent 100%);
  opacity: 0.6;
}

.cta-heading {
  font-size: clamp(2.1rem, 4.4vw, 3.4rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  max-width: 740px;
  margin-bottom: 20px;
}

.cta-supporting {
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  color: var(--text-secondary);
  max-width: 540px;
  margin-bottom: 40px;
}

.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 36px;
}

.direct-email-row {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.direct-email-link {
  color: var(--text-primary);
  text-decoration: none;
}

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

.copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: none;
  border: none;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  padding: 2px 6px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: color var(--duration-fast) ease, background-color var(--duration-fast) ease;
}

.copy-btn:hover {
  color: var(--text-primary);
  background-color: var(--bg-subtle);
}

.copy-btn svg {
  width: 14px;
  height: 14px;
}

/* --------------------------------------------------------------------------
   Section 7: Footer
   -------------------------------------------------------------------------- */
.footer {
  border-top: 1px solid var(--border-subtle);
  padding-top: 56px;
  padding-bottom: 56px;
  background-color: var(--bg-primary);
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 28px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-logo-container {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background-color: #ffffff;
  border-radius: 6px;
  padding: 2.5px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

[data-theme="light"] .footer-logo-container {
  border-color: rgba(0, 0, 0, 0.1);
}

.footer-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.footer-tagline {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.footer-contact {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
}

.footer-email {
  color: var(--text-secondary);
  transition: color var(--duration-fast) ease;
}

.footer-email:hover {
  color: var(--text-primary);
}

.footer-copyright {
  width: 100%;
  padding-top: 28px;
  margin-top: 28px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.footer-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-secondary);
}

/* --------------------------------------------------------------------------
   Subtle Scroll Reveal Animation (prefers-reduced-motion safe)
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.5s var(--ease-standard),
                transform 0.5s var(--ease-standard);
  }

  .reveal.active {
    opacity: 1;
    transform: translateY(0);
  }

  .delay-1 { transition-delay: 80ms; }
  .delay-2 { transition-delay: 160ms; }
  .delay-3 { transition-delay: 240ms; }
  .delay-4 { transition-delay: 320ms; }
}

/* --------------------------------------------------------------------------
   Responsive Media Queries
   -------------------------------------------------------------------------- */
@media (max-width: 960px) {
  .process-track {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .flow-arrow {
    transform: rotate(90deg);
  }
}

@media (max-width: 768px) {
  :root {
    --nav-height: 64px;
  }

  .brand-logo-container {
    width: 34px;
    height: 34px;
    padding: 2.5px;
  }

  .mobile-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background-color: var(--bg-primary);
    border-bottom: 1px solid var(--border-subtle);
    padding: 24px;
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
    display: none;
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.25);
  }

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

  .nav-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }

  .nav-link {
    font-size: 1.05rem;
  }

  .nav-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid var(--border-subtle);
  }

  .nav-actions .btn {
    width: 100%;
  }

  .problem-grid,
  .services-grid,
  .process-track {
    grid-template-columns: 1fr;
  }

  .about-principles {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .hero-ctas {
    width: 100%;
  }

  .hero-ctas .btn {
    width: 100%;
  }

  .cta-actions {
    flex-direction: column;
    width: 100%;
  }

  .cta-actions .btn {
    width: 100%;
  }

  .footer-content {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-copyright {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* --------------------------------------------------------------------------
   Floating WhatsApp Button
   -------------------------------------------------------------------------- */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 99;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.35)) drop-shadow(0 2px 6px rgba(44, 183, 66, 0.3));
  transition: transform var(--duration-fast) var(--ease-standard),
              filter var(--duration-fast) var(--ease-standard);
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: translateY(-2px) scale(1.06);
  filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.45)) drop-shadow(0 4px 12px rgba(44, 183, 66, 0.45));
}

.whatsapp-float:active {
  transform: translateY(0) scale(0.96);
}

.whatsapp-float:focus-visible {
  outline: 2px solid #2cb742;
  outline-offset: 3px;
}

.whatsapp-icon {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* Tooltip */
.whatsapp-tooltip {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%) translateX(6px);
  background-color: var(--bg-card);
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--duration-fast) ease,
              transform var(--duration-fast) ease,
              visibility var(--duration-fast) ease;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.whatsapp-float:hover .whatsapp-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) translateX(0);
}

@media (max-width: 768px) {
  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    width: 46px;
    height: 46px;
  }

  .whatsapp-tooltip {
    display: none;
  }
}

