/* ============================================================
   Stack Shop LLC — Complete Stylesheet
   Sinas-inspired dark-mode developer aesthetic
   Brand: Red #D01E2B · Orange #F6921E · Blue #0054A6
   ============================================================ */

/* ----- Inter & JetBrains Mono Loading ----------------------- */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('https://fonts.gstatic.com/s/inter/v13/UcC73FwrK3iLTeHuS_fvQtMwCp50KnMa1ZL7W0Q5nw.woff2') format('woff2');
}

@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('https://fonts.gstatic.com/s/jetbrainsmono/v13/tDbY2o-flEEny0FZhsfKu5WU4zr3E_BX0Q.woff2') format('woff2');
}

/* ----- CSS Variables / Theme System ------------------------- */
:root {
  /* Brand palette */
  --color-red: #D01E2B;
  --color-red-dark: #a81722;
  --color-orange: #F6921E;
  --color-orange-dark: #d47a0e;
  --color-blue: #0054A6;
  --color-blue-dark: #003f7d;
  --color-charcoal: #1D1D1B;
  --color-white: #FFFFFF;
  --color-success: #10B981;
  --color-warning: #F59E0B;
  --color-error: #EF4444;

  /* Typography */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', 'SF Mono', Consolas, monospace;

  /* Sizes */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
  --text-5xl: 3rem;
  --text-6xl: 3.75rem;

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Radii */
  --radius-sm: 4px;
  --radius-card: 12px;
  --radius-button: 8px;
  --radius-input: 8px;
  --radius-full: 9999px;

  /* Layout */
  --max-width: 1200px;

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --duration-fast: 150ms;
  --duration-normal: 250ms;
  --duration-slow: 400ms;
}

/* ----- Dark Theme (default) --------------------------------- */
:root,
[data-theme="dark"] {
  --bg-primary: #0A0A0A;
  --bg-secondary: #0F0F0F;
  --bg-tertiary: #141414;
  --card-bg: #141414;
  --card-bg-alt: #1A1A1A;
  --text-primary: #FFFFFF;
  --text-secondary: #9CA3AF;
  --text-tertiary: #6B7280;
  --border-color: #2A2A2A;
  --border-light: #333333;
  --nav-bg: rgba(10, 10, 10, 0.92);
  --input-bg: #141414;
  --input-border: #2A2A2A;
  --footer-bg: #0A0A0A;
  --footer-text: #9CA3AF;
  --code-bg: #0F0F0F;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
  --hero-glow: rgba(208, 30, 43, 0.08);
  --tag-bg: rgba(208, 30, 43, 0.12);
  --tag-text: var(--color-red);
  --hover-lift: translateY(-2px);
}

/* ----- Light Theme ------------------------------------------ */
[data-theme="light"] {
  --bg-primary: #FFFFFF;
  --bg-secondary: #F7F8FA;
  --bg-tertiary: #EEF0F4;
  --card-bg: #FFFFFF;
  --card-bg-alt: #F7F8FA;
  --text-primary: #1D1D1B;
  --text-secondary: #5B5D61;
  --text-tertiary: #8B8D92;
  --border-color: #E2E4E8;
  --border-light: #E8EAEE;
  --nav-bg: rgba(255, 255, 255, 0.92);
  --input-bg: #FFFFFF;
  --input-border: #D0D2D6;
  --footer-bg: #1D1D1B;
  --footer-text: #B0B2B6;
  --code-bg: #F3F4F6;
  --shadow-sm: 0 1px 2px rgba(29, 29, 27, 0.06);
  --shadow-md: 0 4px 12px rgba(29, 29, 27, 0.08);
  --hero-glow: rgba(0, 84, 166, 0.06);
  --tag-bg: #EEF0F4;
  --tag-text: #5B5D61;
  --hover-lift: translateY(-2px);
}

/* System preference media query (no override stored) */
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]):not([data-theme="light"]) {
    --bg-primary: #FFFFFF;
    --bg-secondary: #F7F8FA;
    --bg-tertiary: #EEF0F4;
    --card-bg: #FFFFFF;
    --card-bg-alt: #F7F8FA;
    --text-primary: #1D1D1B;
    --text-secondary: #5B5D61;
    --text-tertiary: #8B8D92;
    --border-color: #E2E4E8;
    --border-light: #E8EAEE;
    --nav-bg: rgba(255, 255, 255, 0.92);
    --input-bg: #FFFFFF;
    --input-border: #D0D2D6;
    --footer-bg: #1D1D1B;
    --footer-text: #B0B2B6;
    --code-bg: #F3F4F6;
    --shadow-sm: 0 1px 2px rgba(29, 29, 27, 0.06);
    --shadow-md: 0 4px 12px rgba(29, 29, 27, 0.08);
    --hero-glow: rgba(0, 84, 166, 0.06);
    --tag-bg: #EEF0F4;
    --tag-text: #5B5D61;
    --hover-lift: translateY(-2px);
  }

  :root:not([data-theme="dark"]):not([data-theme="light"]) .awning-stripe-white { display: none; }
  :root:not([data-theme="dark"]):not([data-theme="light"]) .awning-stripe-dark { display: block; }
}

[data-theme="light"] .awning-stripe-white { display: none; }
[data-theme="light"] .awning-stripe-dark { display: block; }

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--bg-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

a {
  color: var(--color-blue);
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-out);
}
a:hover { color: var(--color-orange); }
a:focus-visible {
  outline: 2px solid var(--color-red);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

p { margin-bottom: var(--space-4); color: var(--text-secondary); }
p:last-child { margin-bottom: 0; }

h1, h2, h3, h4, h5, h6 {
  color: var(--text-primary);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
}
h1 { font-size: var(--text-5xl); }
h2 { font-size: var(--text-3xl); margin-bottom: var(--space-3); }
h3 { font-size: var(--text-2xl); margin-bottom: var(--space-2); }
h4 { font-size: var(--text-xl); }

::selection {
  background-color: var(--color-red);
  color: var(--color-white);
}

button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
details summary:focus-visible {
  outline: 2px solid var(--color-red);
  outline-offset: 2px;
}

code {
  font-family: var(--font-mono);
  font-size: 0.875em;
  padding: 0.125em 0.375em;
  background: var(--code-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
}

pre {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  background: var(--code-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-card);
  padding: var(--space-6);
  overflow-x: auto;
  line-height: 1.5;
}

/* ----- Utility Classes -------------------------------------- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-6);
}
@media (min-width: 768px) {
  .container { padding: 0 var(--space-8); }
}

.section {
  padding: var(--space-16) 0;
}
@media (min-width: 768px) {
  .section { padding: var(--space-24) 0; }
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto var(--space-12);
}
.section-header h2 { margin-bottom: var(--space-3); }
.section-header p {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto;
}

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ----- Awning Stripe Motif ---------------------------------- */
.awning-stripe {
  background: repeating-linear-gradient(
    45deg,
    var(--color-red) 0px,
    var(--color-red) 10px,
    transparent 10px,
    transparent 20px
  );
}

.awning-stripe-subtle {
  background: repeating-linear-gradient(
    45deg,
    rgba(208, 30, 43, 0.12) 0px,
    rgba(208, 30, 43, 0.12) 8px,
    transparent 8px,
    transparent 16px
  );
}

.awning-stripes-bar {
  display: flex;
  height: 6px;
  width: 100%;
  overflow: hidden;
  background: var(--bg-primary);
}
.awning-stripes-bar .stripe { flex: 1; }
.awning-stripes-bar .stripe:nth-child(odd) { background-color: var(--color-red); }
.awning-stripes-bar .stripe:nth-child(even) { background-color: transparent; }

/* Animated stripe variant (diagonal scroll) */
.awning-stripes-bar.animate {
  display: block;
  background: repeating-linear-gradient(
    45deg,
    var(--color-red) 0px,
    var(--color-red) 10px,
    transparent 10px,
    transparent 20px
  );
  background-size: 28px 28px;
  animation: stripeScroll 30s linear infinite;
}
.awning-stripes-bar.animate .stripe { display: none; }

.awning-stripe-dark { display: none; }

/* ----- Stacked Block (logo motif) --------------------------- */
.stacked-block {
  display: flex;
  flex-direction: column;
  width: 48px;
  height: 12px;
  border-radius: 3px;
  overflow: hidden;
}
.stacked-block .block-top { flex: 1; background-color: var(--color-orange); }
.stacked-block .block-bottom { flex: 1; background-color: var(--color-blue); }

.stacked-icon {
  display: flex;
  flex-direction: column;
  width: 32px;
  height: 32px;
  border-radius: 4px;
  overflow: hidden;
  flex-shrink: 0;
}
.stacked-icon .stack-icon-top { flex: 1; background-color: var(--color-orange); }
.stacked-icon .stack-icon-bottom { flex: 1; background-color: var(--color-blue); }

/* ----- Buttons ---------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: 550;
  line-height: 1;
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-button);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease-out);
  text-decoration: none;
  white-space: nowrap;
}
.btn:focus-visible {
  outline: 2px solid var(--color-red);
  outline-offset: 2px;
}

.btn-primary {
  background-color: var(--color-red);
  color: var(--color-white);
  border-color: var(--color-red);
}
.btn-primary:hover {
  background-color: var(--color-red-dark);
  border-color: var(--color-red-dark);
  color: var(--color-white);
  transform: scale(1.02);
}
.btn-primary:active { transform: scale(0.98); }

.btn-secondary {
  background-color: var(--color-orange);
  color: var(--color-charcoal);
  border-color: var(--color-orange);
}
.btn-secondary:hover {
  background-color: var(--color-orange-dark);
  border-color: var(--color-orange-dark);
  color: var(--color-charcoal);
  transform: scale(1.02);
}

.btn-outline {
  background-color: transparent;
  color: var(--text-primary);
  border-color: var(--border-color);
}
.btn-outline:hover {
  border-color: var(--text-secondary);
  background-color: var(--bg-tertiary);
  transform: scale(1.02);
}

.btn-sm { padding: var(--space-2) var(--space-4); font-size: var(--text-xs); }
.btn-lg { padding: var(--space-4) var(--space-8); font-size: var(--text-base); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  font-weight: 550;
  color: var(--color-red);
  transition: gap var(--duration-fast) var(--ease-out);
}
.link-arrow:hover { gap: var(--space-2); color: var(--color-orange); }
.link-arrow::after {
  content: '→';
  transition: transform var(--duration-fast) var(--ease-out);
}
.link-arrow:hover::after { transform: translateX(2px); }

/* ----- Navigation ------------------------------------------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: var(--nav-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  transition: background var(--duration-normal) var(--ease-out);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-6);
}
@media (min-width: 768px) {
  .nav-container { padding: 0 var(--space-8); }
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  text-decoration: none;
  flex-shrink: 0;
}
.logo-stack {
  font-size: var(--text-xl);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--text-primary);
  line-height: 1;
}
.logo-shop {
  font-size: var(--text-xl);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--color-blue);
  line-height: 1;
}

/* === LOGO MARK (PNG image with Glow Pulse) === */
.logo-mark {
  height: 36px;
  width: auto;
  flex-shrink: 0;
  animation: logoGlowPulse 3s ease-in-out forwards;
  animation-delay: 0.5s;
  filter: brightness(0) drop-shadow(0 0 0 transparent);
}
.logo:hover .logo-mark {
  filter: brightness(1.05) drop-shadow(0 0 6px rgba(246,146,30,0.2));
  transition: filter 0.3s ease;
}
@keyframes logoGlowPulse {
  0% { opacity: 0; filter: brightness(0) drop-shadow(0 0 0 transparent); }
  15% { opacity: 0.4; filter: brightness(0.6) drop-shadow(0 0 16px rgba(246,146,30,0.35)); }
  40% { opacity: 0.7; filter: brightness(1.15) drop-shadow(0 0 24px rgba(0,84,166,0.45)); }
  65% { opacity: 0.9; filter: brightness(1.05) drop-shadow(0 0 12px rgba(208,30,43,0.2)); }
  85% { opacity: 1; filter: brightness(1) drop-shadow(0 0 4px transparent); }
  100% { opacity: 1; filter: brightness(1) drop-shadow(0 0 0 transparent); }
}
/* Footer logo stays visible, no animation */
.footer-brand .logo-mark { animation: none; filter: none; }

@keyframes logoSlideIn {
  from { transform: translateY(-100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

@keyframes logoBreathe {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-1px); }
}

@keyframes logoExpand {
  to { width: 26px; height: 26px; gap: 1px; }
}

@keyframes logoStripeShimmer {
  0% { background-position: 0 0; }
  100% { background-position: 8px 0; }
}
.nav-links {
  display: none;
  align-items: center;
  gap: var(--space-1);
  list-style: none;
}
@media (min-width: 768px) {
  .nav-links { display: flex; }
}

.nav-links a {
  display: block;
  padding: var(--space-2) var(--space-3);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-button);
  transition: color var(--duration-fast) var(--ease-out), background var(--duration-fast) var(--ease-out);
  text-decoration: none;
}
.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--text-primary);
  background-color: var(--bg-tertiary);
}
.nav-links a[aria-current="page"] {
  color: var(--color-red);
  font-weight: 600;
}

.nav-cta { display: none; }
@media (min-width: 768px) {
  .nav-cta { display: inline-flex; }
}

/* Theme toggle */
.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: none;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-button);
  cursor: pointer;
  color: var(--text-secondary);
  transition: all var(--duration-fast) var(--ease-out);
}
.theme-toggle:hover {
  border-color: var(--text-secondary);
  color: var(--text-primary);
  background: var(--bg-tertiary);
}
.theme-toggle:focus-visible {
  outline: 2px solid var(--color-red);
  outline-offset: 2px;
}

/* Hamburger */
.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-2);
  border-radius: var(--radius-button);
  transition: background var(--duration-fast) var(--ease-out);
}
.nav-toggle:hover { background: var(--bg-tertiary); }
@media (min-width: 768px) {
  .nav-toggle { display: none; }
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background-color: var(--text-primary);
  border-radius: 2px;
  transition: all var(--duration-normal) var(--ease-out);
  transform-origin: center;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile nav overlay */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 90;
}
.nav-overlay.active { display: block; }

.nav-mobile {
  display: none;
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg-primary);
  z-index: 95;
  padding: var(--space-6);
  overflow-y: auto;
  border-top: 1px solid var(--border-color);
}
.nav-mobile.active {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.nav-mobile a {
  display: block;
  padding: var(--space-3) var(--space-4);
  font-size: var(--text-lg);
  font-weight: 500;
  color: var(--text-primary);
  border-radius: var(--radius-button);
  text-decoration: none;
  transition: background var(--duration-fast) var(--ease-out);
}
.nav-mobile a:hover { background: var(--bg-tertiary); }
.nav-mobile a[aria-current="page"] {
  color: var(--color-red);
  font-weight: 600;
  background: rgba(208, 30, 43, 0.08);
}
.nav-mobile .nav-cta-mobile {
  margin-top: var(--space-4);
  width: 100%;
  text-align: center;
}
@media (min-width: 768px) {
  .nav-mobile, .nav-overlay { display: none !important; }
}

/* Nav actions group (toggle + CTA) */
.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

/* ----- Hero Section ----------------------------------------- */
.hero {
  padding-top: 96px;
  padding-bottom: var(--space-16);
  position: relative;
  overflow: hidden;
}
@media (min-width: 768px) {
  .hero {
    padding-top: 120px;
    padding-bottom: var(--space-24);
  }
}

.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle at 70% 30%, var(--hero-glow) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero .container {
  position: relative; z-index: 1;
  max-width: 1400px;
}

.hero-layout {
  display: flex;
  align-items: center;
  gap: var(--space-16);
  position: relative;
  z-index: 1;
}
@media (max-width: 767px) {
  .hero-layout { flex-direction: column; gap: var(--space-10); }
}

.hero-content {
  flex: 0 0 70%;
  max-width: none;
}
@media (min-width: 768px) {
  .hero-content { flex: 0 0 70%; max-width: none; }
}

.hero-content h1 {
  font-size: var(--text-4xl);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: var(--space-4);
}
@media (min-width: 768px) {
  .hero-content h1 { font-size: var(--text-6xl); }
}

.hero-content .hero-sub {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: var(--space-8);
}
@media (min-width: 768px) {
  .hero-content .hero-sub { font-size: var(--text-xl); }
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-bottom: var(--space-12);
}

.hero-highlight-red { color: var(--color-red); }
.hero-highlight-orange { color: var(--color-orange); }
.hero-highlight-blue { color: var(--color-blue); }

/* ----- Hero Mesh Animation (CSS-only triangular network) ---- */
.hero-logo-showcase {
  flex: 0 0 30%;
  flex-shrink: 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: 350px;
  position: relative;
  overflow: hidden;
  animation: meshContainerFadeIn 1.2s var(--ease-out) 0.3s both;
}
@media (max-width: 767px) {
  .hero-logo-showcase {
    flex: 0 0 100%;
    min-height: 250px;
    margin-top: var(--space-8);
  }
}

/* Geometric floating shapes — hero background (from Variant 2) */
.hero-geo-shapes {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.geo-shape {
  position: absolute;
  opacity: 0.08;
}
.geo-shape-1 {
  top: 8%;
  left: 4%;
  width: 200px;
  height: 200px;
  border: 3px solid var(--color-red);
  border-radius: 30px;
  transform: rotate(15deg);
  animation: geoFloatA 20s ease-in-out infinite;
}
.geo-shape-2 {
  top: 55%;
  left: 78%;
  width: 160px;
  height: 160px;
  background: var(--color-orange);
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
  animation: geoFloatB 25s ease-in-out infinite;
}
.geo-shape-3 {
  top: 28%;
  left: 65%;
  width: 120px;
  height: 120px;
  background: var(--color-blue);
  border-radius: 50%;
  animation: geoFloatC 18s ease-in-out infinite 3s;
}
.geo-shape-4 {
  top: 70%;
  left: 12%;
  width: 80px;
  height: 80px;
  border: 3px solid var(--color-orange);
  transform: rotate(45deg);
  animation: geoFloatD 22s ease-in-out infinite 2s;
}
.geo-shape-5 {
  top: 12%;
  left: 45%;
  width: 100px;
  height: 100px;
  clip-path: polygon(0% 0%, 100% 0%, 100% 100%);
  background: var(--color-red);
  animation: geoFloatE 28s ease-in-out infinite 4s;
}

@keyframes geoFloatA {
  0%, 100% { transform: translate(0, 0) rotate(15deg); }
  25% { transform: translate(30px, -20px) rotate(20deg); }
  50% { transform: translate(-15px, 25px) rotate(-3deg); }
  75% { transform: translate(20px, 15px) rotate(7deg); }
}
@keyframes geoFloatB {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  25% { transform: translate(-25px, 18px) rotate(90deg); }
  50% { transform: translate(15px, -20px) rotate(180deg); }
  75% { transform: translate(-20px, -10px) rotate(270deg); }
}
@keyframes geoFloatC {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(25px, -15px) scale(1.05); }
  50% { transform: translate(-10px, 20px) scale(0.95); }
  75% { transform: translate(18px, 10px) scale(1.08); }
}
@keyframes geoFloatD {
  0%, 100% { transform: translate(0, 0) rotate(45deg); }
  25% { transform: translate(20px, -25px) rotate(50deg); }
  50% { transform: translate(-15px, 15px) rotate(40deg); }
  75% { transform: translate(-10px, -20px) rotate(55deg); }
}
@keyframes geoFloatE {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  25% { transform: translate(-20px, 20px) rotate(5deg); }
  50% { transform: translate(25px, -15px) rotate(-3deg); }
  75% { transform: translate(15px, 25px) rotate(7deg); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-geo-shapes .geo-shape { animation: none !important; }
}

.hero-logo-container {
  position: relative;
  width: 280px;
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: heroLogoFadeIn 1s var(--ease-out) 0.3s both;
}
@media (min-width: 768px) {
  .hero-logo-container { width: 340px; height: 340px; }
}

.hero-animation-svg {
  width: 100%;
  height: 100%;
  max-width: 320px;
  max-height: 320px;
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.hero-animation-video {
  width: 100%;
  height: 100%;
  max-width: 320px;
  max-height: 320px;
  display: none;
  object-fit: contain;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 16px;
}

/* Show video if SVG fails or for browsers with MP4 preference */
.hero-animation-video.loaded {
  display: block;
}
.hero-animation-video.loaded ~ .hero-animation-svg,
.hero-logo-container.video-fallback .hero-animation-svg {
  display: none;
}

/* Logo text below the block */
.hero-logo-text {
  display: flex;
  gap: var(--space-1);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  animation: heroLogoTextReveal 0.6s var(--ease-out) 0.8s both;
}
.hero-logo-text-stack {
  font-size: var(--text-2xl);
  color: var(--text-primary);
}
.hero-logo-text-shop {
  font-size: var(--text-2xl);
  color: var(--color-blue);
}
@media (min-width: 768px) {
  .hero-logo-text-stack,
  .hero-logo-text-shop { font-size: var(--text-3xl); }
}

@keyframes heroLogoFadeIn {
  from { opacity: 0; transform: translateY(20px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes heroLogoTextReveal {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Terminal decoration */
.hero-terminal {
  margin-top: var(--space-10);
  max-width: 560px;
}
.hero-terminal pre {
  background: var(--code-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-card);
  padding: var(--space-5) var(--space-6);
  font-size: var(--text-sm);
  line-height: 1.8;
  overflow: hidden;
}
.hero-terminal .terminal-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 6px;
}

/* ----- Trust Bar -------------------------------------------- */
.trust-bar {
  padding: var(--space-8) 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}
.trust-bar-label {
  display: block;
  text-align: center;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-5);
  font-family: var(--font-mono);
}
.trust-bar-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--space-8) var(--space-12);
}
.trust-logo {
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--text-tertiary);
  letter-spacing: -0.02em;
  opacity: 0.6;
  transition: opacity var(--duration-fast) var(--ease-out);
}
.trust-logo:hover { opacity: 1; }

/* ----- Bento Grid (Services / Features) --------------------- */
.bento-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
}
@media (min-width: 640px) {
  .bento-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .bento-grid { grid-template-columns: repeat(3, 1fr); }
  .bento-grid .bento-wide { grid-column: span 2; }
}

.bento-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-card);
  padding: var(--space-8);
  transition: border-color var(--duration-normal) var(--ease-out), transform var(--duration-normal) var(--ease-out);
}
.bento-card:hover {
  border-color: var(--border-light);
  transform: var(--hover-lift);
}

.bento-card .card-icon {
  width: 40px;
  height: 40px;
  margin-bottom: var(--space-4);
  color: var(--color-red);
}
.bento-card .card-icon svg {
  width: 40px;
  height: 40px;
  stroke: currentColor;
  fill: none;
}

.bento-card h3 {
  font-size: var(--text-xl);
  margin-bottom: var(--space-2);
}
.bento-card p {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  margin-bottom: var(--space-4);
}
.bento-card .card-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--color-orange);
  background: rgba(246, 146, 30, 0.1);
  padding: var(--space-1) var(--space-2);
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-3);
}

/* ----- Why Grid --------------------------------------------- */
.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
}
@media (min-width: 640px) {
  .why-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .why-grid { grid-template-columns: repeat(3, 1fr); }
}

.why-item {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
}
.why-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  margin-top: 2px;
  color: var(--color-success);
}
.why-icon svg { display: block; width: 24px; height: 24px; stroke: currentColor; fill: none; }
.why-item h3 {
  font-size: var(--text-base);
  font-weight: 600;
  margin-bottom: var(--space-1);
}
.why-item p {
  font-size: var(--text-sm);
  color: var(--text-secondary);
}

/* ----- Testimonials ----------------------------------------- */
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  max-width: 900px;
  margin: 0 auto;
}
@media (min-width: 640px) {
  .testimonials-grid { grid-template-columns: 1fr 1fr; }
}

.testimonial-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-card);
  padding: var(--space-8);
  position: relative;
}
.testimonial-card .testimonial-accent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-red), var(--color-orange), var(--color-blue), var(--color-red));
  background-size: 300% 100%;
  border-radius: var(--radius-card) var(--radius-card) 0 0;
  animation: accentPulse 4s ease-in-out infinite;
}
.testimonial-text {
  font-size: var(--text-base);
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: var(--space-6);
  font-style: italic;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}
.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: rgba(208, 30, 43, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: var(--text-sm);
  color: var(--color-red);
  flex-shrink: 0;
}
.testimonial-name {
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--text-primary);
}
.testimonial-role {
  font-size: var(--text-xs);
  color: var(--text-tertiary);
}

/* ----- Stats ------------------------------------------------- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
}
@media (min-width: 640px) {
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
}

.stat-item {
  text-align: center;
  padding: var(--space-8) var(--space-4);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-card);
  background: var(--card-bg);
}

.stat-number {
  font-size: var(--text-4xl);
  font-weight: 800;
  color: var(--color-red);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-1);
  font-family: var(--font-mono);
}
.stat-global { font-family: var(--font-sans); font-size: var(--text-2xl); }
@media (min-width: 768px) {
  .stat-global { font-size: var(--text-3xl); }
}
@media (min-width: 768px) {
  .stat-number { font-size: var(--text-5xl); }
}

.stat-label {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  font-weight: 500;
}

/* ----- Newsletter -------------------------------------------- */
.newsletter-inner {
  max-width: 520px;
  margin: 0 auto;
  text-align: center;
}
.newsletter-inner h2 { margin-bottom: var(--space-3); }
.newsletter-inner p {
  margin-bottom: var(--space-6);
  color: var(--text-secondary);
}
.newsletter-form {
  display: flex;
  gap: var(--space-3);
  max-width: 440px;
  margin: 0 auto;
}
.newsletter-form input[type="email"] { flex: 1; min-width: 0; }

/* ----- Footer ----------------------------------------------- */
.site-footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  padding: var(--space-16) 0 var(--space-8);
  border-top: 1px solid var(--border-color);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-10);
}
@media (min-width: 640px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
}

.footer-brand .logo-stack { color: var(--color-white); }
.footer-brand .logo-shop { color: #66b0ff; }
.footer-brand p {
  color: var(--footer-text);
  font-size: var(--text-sm);
  margin-top: var(--space-4);
  max-width: 300px;
}

.footer-col h4 {
  color: var(--color-white);
  font-size: var(--text-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-4);
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: var(--space-2); }
.footer-col a {
  color: var(--footer-text);
  font-size: var(--text-sm);
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-out);
}
.footer-col a:hover { color: var(--color-white); }

.footer-bottom {
  margin-top: var(--space-10);
  padding-top: var(--space-6);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
  font-size: var(--text-sm);
  color: var(--footer-text);
}
@media (min-width: 640px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

/* ============================================================
   PAGE-SPECIFIC STYLES
   ============================================================ */

/* ----- Page Hero (inner pages) ------------------------------ */
.page-hero {
  padding-top: 96px;
  padding-bottom: var(--space-12);
  border-bottom: 1px solid var(--border-color);
  background: var(--bg-secondary);
}
@media (min-width: 768px) {
  .page-hero {
    padding-top: 120px;
    padding-bottom: var(--space-16);
  }
}
.page-hero h1 {
  font-size: var(--text-4xl);
  margin-bottom: var(--space-3);
}
@media (min-width: 768px) {
  .page-hero h1 { font-size: var(--text-5xl); }
}
.page-hero p {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  max-width: 600px;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--text-tertiary);
  margin-bottom: var(--space-4);
  flex-wrap: wrap;
}
.breadcrumbs a { color: var(--text-tertiary); text-decoration: none; }
.breadcrumbs a:hover { color: var(--color-red); }
.breadcrumbs .separator { color: var(--text-tertiary); }
.breadcrumbs [aria-current="page"] {
  color: var(--text-primary);
  font-weight: 500;
}

/* ----- Services Detail Page --------------------------------- */
.service-detail {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
}
@media (min-width: 768px) {
  .service-detail { grid-template-columns: 3fr 2fr; }
}

.service-detail-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-card);
  padding: var(--space-8);
  transition: border-color var(--duration-fast) var(--ease-out);
}
.service-detail-card:hover { border-color: var(--border-light); }

.service-detail-card h3 { margin-bottom: var(--space-3); }

.service-detail-card .use-cases {
  list-style: none;
  margin-top: var(--space-4);
  margin-bottom: var(--space-6);
}
.service-detail-card .use-cases li {
  padding: var(--space-2) 0;
  padding-left: var(--space-6);
  position: relative;
  font-size: var(--text-sm);
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-color);
}
.service-detail-card .use-cases li:last-child { border-bottom: none; }
.service-detail-card .use-cases li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--color-red);
  font-family: var(--font-mono);
}

.service-sidebar {
  align-self: start;
  background: var(--card-bg-alt);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-card);
  padding: var(--space-6);
}
.service-sidebar h4 {
  font-size: var(--text-sm);
  font-weight: 600;
  margin-bottom: var(--space-2);
  font-family: var(--font-mono);
  color: var(--color-red);
}
.service-sidebar p {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  margin-bottom: var(--space-3);
}
.service-sidebar p:last-child { margin-bottom: 0; }

/* Services navigation tab bar */
.services-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-bottom: var(--space-10);
  padding-bottom: var(--space-6);
  border-bottom: 1px solid var(--border-color);
}
.services-tabs a {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-secondary);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-button);
  border: 1px solid var(--border-color);
  transition: all var(--duration-fast) var(--ease-out);
  text-decoration: none;
}
.services-tabs a:hover {
  border-color: var(--text-secondary);
  color: var(--text-primary);
}
.services-tabs a[aria-current="true"] {
  border-color: var(--color-red);
  color: var(--color-red);
  background: rgba(208, 30, 43, 0.08);
}

/* ----- Pricing Page ----------------------------------------- */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  align-items: start;
}
@media (min-width: 768px) {
  .pricing-grid { grid-template-columns: repeat(3, 1fr); }
}

.pricing-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-card);
  padding: var(--space-8);
  position: relative;
  transition: border-color var(--duration-normal) var(--ease-out), transform var(--duration-normal) var(--ease-out);
}
.pricing-card:hover {
  border-color: var(--border-light);
  transform: var(--hover-lift);
}

.pricing-card.featured {
  border-color: var(--color-orange);
  border-width: 1.5px;
}
.pricing-card.featured::before {
  content: 'Most Popular';
  position: absolute;
  top: var(--space-3);
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-orange);
  color: var(--color-charcoal);
  font-size: var(--text-xs);
  font-weight: 600;
  padding: var(--space-1) var(--space-4);
  border-radius: var(--radius-full);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-family: var(--font-mono);
}

.pricing-card .pricing-name {
  font-size: var(--text-lg);
  font-weight: 600;
  margin-bottom: var(--space-1);
  margin-top: var(--space-4);
}
.pricing-card .pricing-desc {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  margin-bottom: var(--space-6);
}
.pricing-card .pricing-amount {
  font-size: var(--text-4xl);
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.03em;
  margin-bottom: var(--space-1);
}
.pricing-card .pricing-period {
  font-size: var(--text-sm);
  color: var(--text-tertiary);
  margin-bottom: var(--space-4);
}
.pricing-card .pricing-rate {
  font-size: var(--text-xs);
  color: var(--text-tertiary);
  margin-bottom: var(--space-6);
  padding: var(--space-2) var(--space-3);
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  display: inline-block;
  font-family: var(--font-mono);
}

.pricing-features {
  list-style: none;
  margin-bottom: var(--space-8);
}
.pricing-features li {
  padding: var(--space-2) 0;
  padding-left: var(--space-7);
  position: relative;
  font-size: var(--text-sm);
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-color);
}
.pricing-features li:last-child { border-bottom: none; }
.pricing-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M7.5 12L10.5 15L16.5 9' stroke='%2310B981' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

.pricing-card .pricing-cta { width: 100%; }

.pricing-note {
  text-align: center;
  margin-top: var(--space-8);
  padding: var(--space-6);
  background: var(--bg-tertiary);
  border-radius: var(--radius-card);
  border: 1px solid var(--border-color);
}
.pricing-note p {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  margin-bottom: 0;
}

/* Process steps */
.process-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
}
@media (min-width: 640px) {
  .process-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .process-grid { grid-template-columns: repeat(4, 1fr); }
}

.process-step {
  text-align: center;
  padding: var(--space-6);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-card);
  background: var(--card-bg);
}
.process-step .step-number {
  font-family: var(--font-mono);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--color-red);
  margin-bottom: var(--space-2);
}
.process-step h3 {
  font-size: var(--text-base);
  margin-bottom: var(--space-1);
}
.process-step p {
  font-size: var(--text-sm);
  color: var(--text-secondary);
}

/* ----- Product Catalogue Page ------------------------------- */
.products-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
}
@media (min-width: 540px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .products-grid { grid-template-columns: repeat(3, 1fr); }
}

.product-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-card);
  overflow: hidden;
  transition: border-color var(--duration-normal) var(--ease-out), transform var(--duration-normal) var(--ease-out);
}
.product-card:hover {
  border-color: var(--border-light);
  transform: var(--hover-lift);
}

.product-card-image {
  height: 120px;
  background: var(--bg-tertiary);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border-bottom: 1px solid var(--border-color);
}
.product-card-image .category-tag {
  position: absolute;
  top: var(--space-3);
  left: var(--space-3);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 500;
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  background: var(--card-bg);
  color: var(--color-orange);
  border: 1px solid rgba(246, 146, 30, 0.3);
}

.product-card-body { padding: var(--space-6); }
.product-card-body h3 {
  font-size: var(--text-base);
  margin-bottom: var(--space-2);
}
.product-card-body .product-desc {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  margin-bottom: var(--space-4);
}
.product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
}
.product-tier {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.product-tier.starter { color: var(--color-orange); }
.product-tier.professional { color: var(--color-blue); }
.product-tier.enterprise { color: var(--color-red); }

/* ----- About Page ------------------------------------------- */
.about-intro {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  align-items: center;
}
@media (min-width: 768px) {
  .about-intro { grid-template-columns: 1fr 1fr; }
}

.about-avatar {
  width: 100px;
  height: 100px;
  border-radius: var(--radius-full);
  background: rgba(208, 30, 43, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: var(--text-3xl);
  color: var(--color-red);
  margin-bottom: var(--space-3);
}
.about-intro-image {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.mission-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
}
@media (min-width: 640px) {
  .mission-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .mission-grid { grid-template-columns: repeat(3, 1fr); }
}

.mission-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-card);
  padding: var(--space-6);
}
.mission-card h3 { margin-bottom: var(--space-2); font-size: var(--text-lg); }
.mission-card p { font-size: var(--text-sm); color: var(--text-secondary); }

/* Timeline */
.timeline {
  position: relative;
  padding-left: var(--space-8);
}
.timeline::before {
  content: '';
  position: absolute;
  left: 11px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border-color);
}
.timeline-item {
  position: relative;
  padding-bottom: var(--space-10);
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: '';
  position: absolute;
  left: calc(-1 * var(--space-8) + 4px);
  top: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--bg-primary);
  border: 2px solid var(--color-red);
}
.timeline-item:nth-child(even)::before { border-color: var(--color-orange); }

.timeline-year {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-red);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-1);
  font-family: var(--font-mono);
}
.timeline-title {
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--space-1);
}
.timeline-desc {
  font-size: var(--text-sm);
  color: var(--text-secondary);
}

/* ----- Contact Page ----------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-10);
}
@media (min-width: 768px) {
  .contact-grid { grid-template-columns: 3fr 2fr; }
}

.contact-form {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-card);
  padding: var(--space-8);
}

.form-group { margin-bottom: var(--space-5); }
.form-label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 550;
  color: var(--text-primary);
  margin-bottom: var(--space-2);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  font-family: var(--font-sans);
  font-size: var(--text-base);
  color: var(--text-primary);
  background: var(--input-bg);
  border: 1.5px solid var(--input-border);
  border-radius: var(--radius-input);
  transition: border-color var(--duration-fast) var(--ease-out), box-shadow var(--duration-fast) var(--ease-out);
  appearance: none;
  -webkit-appearance: none;
}
.form-input:hover,
.form-select:hover,
.form-textarea:hover { border-color: var(--text-tertiary); }
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--color-red);
  box-shadow: 0 0 0 3px rgba(208, 30, 43, 0.12);
  outline: none;
}

.form-input::placeholder,
.form-textarea::placeholder { color: var(--text-tertiary); }
.form-textarea { resize: vertical; min-height: 120px; }

.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%239CA3AF' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}

.contact-info { display: flex; flex-direction: column; gap: var(--space-6); }
.contact-info-item {
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
}
.contact-info-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  color: var(--color-blue);
}
.contact-info-icon svg { width: 20px; height: 20px; stroke: currentColor; fill: none; }
.contact-info-item h4 {
  font-size: var(--text-sm);
  font-weight: 600;
  margin-bottom: var(--space-1);
}
.contact-info-item p,
.contact-info-item a {
  font-size: var(--text-sm);
  color: var(--text-secondary);
}

.contact-notice {
  padding: var(--space-4);
  background: var(--bg-tertiary);
  border-radius: var(--radius-button);
  border: 1px solid var(--border-color);
  font-size: var(--text-sm);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

/* ----- FAQ Page --------------------------------------------- */
.faq-list { max-width: 720px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border-color); }
.faq-item:first-child { border-top: 1px solid var(--border-color); }

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-5) 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: var(--text-base);
  font-weight: 550;
  color: var(--text-primary);
  text-align: left;
  transition: color var(--duration-fast) var(--ease-out);
}
.faq-question:hover { color: var(--color-red); }
.faq-question:focus-visible {
  outline: 2px solid var(--color-red);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

.faq-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  transition: transform var(--duration-normal) var(--ease-out);
  color: var(--text-secondary);
}
.faq-item[open] .faq-icon { transform: rotate(45deg); }

.faq-answer {
  padding: 0 0 var(--space-5);
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.75;
}
.faq-answer p { margin-bottom: var(--space-3); }
.faq-answer p:last-child { margin-bottom: 0; }
.faq-answer a { color: var(--color-red); }
.faq-answer a:hover { color: var(--color-orange); }

/* ============================================================
   ANIMATIONS
   ============================================================ */


/* ----- Awning Stripe Scroll Animation ------------------------- */
.awning-stripes-bar.animate {
  background: repeating-linear-gradient(
    45deg,
    var(--color-red) 0px,
    var(--color-red) 10px,
    transparent 10px,
    transparent 20px
  );
  background-size: 28px 28px;
  animation: stripeScroll 30s linear infinite;
}
.awning-stripes-bar .stripe { flex: 1; }
@keyframes stripeScroll {
  0% { background-position: 0 0; }
  100% { background-position: 28px 28px; }
}

/* ----- Button Shimmer Hover Effect ---------------------------- */
.btn-shimmer {
  position: relative;
  overflow: hidden;
}
.btn-shimmer::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.15) 50%,
    transparent 100%
  );
  transform: skewX(-25deg);
  transition: none;
}
.btn-shimmer:hover::after {
  animation: shimmerSweep 0.6s ease-in-out;
}
@keyframes shimmerSweep {
  0% { left: -100%; }
  100% { left: 200%; }
}

/* ----- Testimonial Gradient Pulse Animation ------------------- */
.testimonial-card .testimonial-accent {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-red), var(--color-orange), var(--color-blue), var(--color-red));
  background-size: 300% 100%;
  border-radius: var(--radius-card) var(--radius-card) 0 0;
  animation: accentPulse 4s ease-in-out infinite;
}
@keyframes accentPulse {
  0%, 100% { background-position: 0% 50%; opacity: 1; }
  25% { background-position: 100% 50%; opacity: 0.7; }
  50% { background-position: 200% 50%; opacity: 1; }
  75% { background-position: 100% 50%; opacity: 0.7; }
}

/* ----- Scroll Reveal Animations ------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-stagger-1 { transition-delay: 0ms; }
.reveal-stagger-2 { transition-delay: 100ms; }
.reveal-stagger-3 { transition-delay: 200ms; }
.reveal-stagger-4 { transition-delay: 300ms; }
.reveal-stagger-5 { transition-delay: 400ms; }
.reveal-stagger-6 { transition-delay: 500ms; }

/* Stats counter */
.stat-number .stat-value {
  display: inline;
}
.stat-number .stat-suffix {
  display: inline;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .hero-logo-container { animation: none; transform: none; }
  .hero-animation-svg { animation: none !important; }
  .hero-animation-video { animation: none !important; }
  .hero-logo-showcase { animation: none; opacity: 1; transform: none; }
  .hero-logo-text { animation: none; opacity: 1; transform: none; }
  .btn-shimmer::after { display: none; }
  .testimonial-card .testimonial-accent { animation: none; }
  .awning-stripes-bar.animate { animation: none; }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.animate-in {
  animation: fadeInUp var(--duration-slow) var(--ease-out) forwards;
}
.animate-in-delay-1 { animation-delay: 100ms; }
.animate-in-delay-2 { animation-delay: 200ms; }
.animate-in-delay-3 { animation-delay: 300ms; }

@media (prefers-reduced-motion: reduce) {
  .animate-in,
  .animate-in-delay-1,
  .animate-in-delay-2,
  .animate-in-delay-3 {
    animation: none;
    opacity: 1;
  }
}

/* ============================================================
   MISC COMPONENTS
   ============================================================ */
.tag {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 550;
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  background: var(--tag-bg);
  color: var(--tag-text);
}
.tag-red {
  background: rgba(208, 30, 43, 0.12);
  color: var(--color-red);
}
.tag-orange {
  background: rgba(246, 146, 30, 0.12);
  color: var(--color-orange);
}
.tag-blue {
  background: rgba(0, 84, 166, 0.12);
  color: var(--color-blue);
}

.callout {
  padding: var(--space-6);
  border-radius: var(--radius-card);
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-left: 4px solid var(--color-blue);
}
.callout-orange { border-left-color: var(--color-orange); }
.callout-red { border-left-color: var(--color-red); }

.section-divider {
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--color-orange), var(--color-blue));
  border-radius: 2px;
  margin: 0 auto;
}

.scroll-offset { scroll-margin-top: 80px; }

/* Form message */
.form-message {
  margin-top: var(--space-4);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-button);
  font-size: var(--text-sm);
  font-weight: 500;
}
.form-message--success {
  background: rgba(16, 185, 129, 0.1);
  color: var(--color-success);
  border: 1px solid rgba(16, 185, 129, 0.2);
}
.form-message--error {
  background: rgba(239, 68, 68, 0.1);
  color: var(--color-error);
  border: 1px solid rgba(239, 68, 68, 0.2);
}

/* ============================================================
   PRINT STYLES
   ============================================================ */
@media print {
  .site-header, .site-footer, .nav-toggle, .nav-overlay, .nav-mobile,
  .newsletter, .theme-toggle, .no-print { display: none !important; }
  body { color: #000; background: #fff; font-size: 12pt; }
  .container { max-width: 100%; padding: 0; }
  .section { padding: 1.5rem 0; }
  a { color: #000; text-decoration: underline; }
  .hero, .page-hero { padding-top: 0; }
  .pricing-card, .bento-card, .testimonial-card, .product-card {
    break-inside: avoid;
    box-shadow: none;
    border: 1px solid #ccc;
  }
}