/* ============================================================
   TradeOffice AI — Design Tokens & Component Styles
   ============================================================ */

/* --- TYPE SCALE (fluid) --- */
:root {
  --text-xs:   clamp(0.75rem,  0.7rem  + 0.25vw, 0.875rem);
  --text-sm:   clamp(0.875rem, 0.8rem  + 0.35vw, 1rem);
  --text-base: clamp(1rem,     0.95rem + 0.25vw, 1.125rem);
  --text-lg:   clamp(1.125rem, 1rem    + 0.75vw, 1.5rem);
  --text-xl:   clamp(1.5rem,   1.2rem  + 1.25vw, 2.25rem);
  --text-2xl:  clamp(2rem,     1.2rem  + 2.5vw,  3.5rem);
  --text-3xl:  clamp(2.5rem,   1rem    + 4vw,    5rem);
  --text-hero: clamp(3rem,     0.5rem  + 7vw,    8rem);

  /* --- SPACING (4px system) --- */
  --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;

  /* --- RADIUS --- */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-full: 9999px;

  /* --- TRANSITION --- */
  --transition-interactive: 180ms cubic-bezier(0.16, 1, 0.3, 1);

  /* --- CONTENT WIDTHS --- */
  --content-narrow: 640px;
  --content-default: 960px;
  --content-wide: 1200px;
  --content-full: 100%;

  /* --- FONTS --- */
  --font-display: 'Plus Jakarta Sans', 'Inter', sans-serif;
  --font-body: 'Inter', 'Helvetica Neue', sans-serif;
}

/* ============================================================
   DARK MODE (DEFAULT) — Industrial Navy
   ============================================================ */
:root, [data-theme="dark"] {
  --color-bg:           #0A0E1A;
  --color-surface:      #111827;
  --color-surface-card: #1A2235;
  --color-border:       #2A3548;
  --color-text:         #F0F4FF;
  --color-text-muted:   #8895AA;
  --color-text-faint:   #556177;
  --color-accent:       #00D4AA;
  --color-accent-hover: #00B894;
  --color-accent-glow:  rgba(0, 212, 170, 0.15);
  --color-accent-subtle: rgba(0, 212, 170, 0.08);

  --shadow-sm: 0 1px 2px rgba(0,0,0,0.3);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.4);
  --shadow-lg: 0 12px 32px rgba(0,0,0,0.5);

  color-scheme: dark;
}

/* ============================================================
   LIGHT MODE
   ============================================================ */
[data-theme="light"] {
  --color-bg:           #F0F2F7;
  --color-surface:      #FFFFFF;
  --color-surface-card: #F5F7FB;
  --color-border:       #D1D7E3;
  --color-text:         #0A0E1A;
  --color-text-muted:   #5A6577;
  --color-text-faint:   #8895AA;
  --color-accent:       #009B7D;
  --color-accent-hover: #008068;
  --color-accent-glow:  rgba(0, 155, 125, 0.12);
  --color-accent-subtle: rgba(0, 155, 125, 0.06);

  --shadow-sm: 0 1px 2px rgba(10,14,26,0.06);
  --shadow-md: 0 4px 12px rgba(10,14,26,0.08);
  --shadow-lg: 0 12px 32px rgba(10,14,26,0.12);

  color-scheme: light;
}

/* ============================================================
   GLOBAL LAYOUT
   ============================================================ */
.container {
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: var(--space-4);
}
@media (min-width: 768px) {
  .container { padding-inline: var(--space-8); }
}

.section {
  padding-block: clamp(var(--space-12), 8vw, var(--space-24));
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 14, 26, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-border);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
[data-theme="light"] .nav {
  background: rgba(240, 242, 247, 0.92);
}
.nav--hidden { transform: translateY(-100%); }
.nav--scrolled { box-shadow: var(--shadow-md); }

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--content-wide);
  margin-inline: auto;
  padding: var(--space-3) var(--space-4);
  min-height: 64px;
}
@media (min-width: 768px) {
  .nav__inner { padding-inline: var(--space-8); }
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  text-decoration: none;
  color: var(--color-text);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-sm);
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.nav__logo svg {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.nav__links {
  display: none;
  list-style: none;
  gap: var(--space-6);
  align-items: center;
}
@media (min-width: 768px) {
  .nav__links { display: flex; }
}

.nav__link {
  text-decoration: none;
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  font-weight: 500;
  padding: var(--space-1) 0;
  position: relative;
}
.nav__link:hover,
.nav__link--active {
  color: var(--color-text);
}
.nav__link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.nav__link:hover::after,
.nav__link--active::after {
  width: 100%;
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.nav__theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  color: var(--color-text-muted);
  cursor: pointer;
}
.nav__theme-toggle:hover {
  color: var(--color-text);
  background: var(--color-accent-subtle);
}

.nav__cta {
  display: none;
  padding: var(--space-2) var(--space-4);
  background: var(--color-accent);
  color: #0A0E1A;
  font-weight: 600;
  font-size: var(--text-sm);
  border-radius: var(--radius-md);
  text-decoration: none;
  white-space: nowrap;
}
.nav__cta:hover {
  background: var(--color-accent-hover);
}
@media (min-width: 768px) {
  .nav__cta { display: inline-flex; }
}

/* Mobile menu button */
.nav__hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  cursor: pointer;
  color: var(--color-text);
}
.nav__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.nav__hamburger--open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav__hamburger--open span:nth-child(2) {
  opacity: 0;
}
.nav__hamburger--open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}
@media (min-width: 768px) {
  .nav__hamburger { display: none; }
}

/* Mobile overlay menu */
.mobile-menu {
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 99;
  background: var(--color-bg);
  display: flex;
  flex-direction: column;
  padding: var(--space-8) var(--space-4);
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.mobile-menu--open {
  transform: translateX(0);
}
.mobile-menu__link {
  display: block;
  padding: var(--space-4) 0;
  text-decoration: none;
  color: var(--color-text);
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  border-bottom: 1px solid var(--color-border);
}
.mobile-menu__link:hover {
  color: var(--color-accent);
}
.mobile-menu__cta {
  margin-top: var(--space-8);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-4) var(--space-6);
  background: var(--color-accent);
  color: #0A0E1A;
  font-weight: 700;
  font-size: var(--text-base);
  border-radius: var(--radius-md);
  text-decoration: none;
}
.mobile-menu__cta:hover {
  background: var(--color-accent-hover);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-md);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-sm);
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
}

.btn--primary {
  background: var(--color-accent);
  color: #0A0E1A;
}
.btn--primary:hover {
  background: var(--color-accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px var(--color-accent-glow);
}
.btn--primary:active {
  transform: translateY(0);
}

.btn--outline {
  background: transparent;
  color: var(--color-accent);
  border: 1px solid var(--color-accent);
}
.btn--outline:hover {
  background: var(--color-accent-subtle);
}

.btn--large {
  padding: var(--space-4) var(--space-8);
  font-size: var(--text-base);
  border-radius: var(--radius-lg);
}

.btn--ghost {
  background: transparent;
  color: var(--color-text-muted);
}
.btn--ghost:hover {
  color: var(--color-text);
  background: var(--color-accent-subtle);
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 80%, rgba(0, 212, 170, 0.06) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 20%, rgba(0, 100, 148, 0.04) 0%, transparent 60%);
}
.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 60px,
      rgba(42, 53, 72, 0.15) 60px,
      rgba(42, 53, 72, 0.15) 61px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 60px,
      rgba(42, 53, 72, 0.08) 60px,
      rgba(42, 53, 72, 0.08) 61px
    );
  mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 20%, transparent 70%);
}
[data-theme="light"] .hero__bg::before {
  background:
    radial-gradient(ellipse 80% 60% at 20% 80%, rgba(0, 155, 125, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 20%, rgba(0, 100, 148, 0.06) 0%, transparent 60%);
}
[data-theme="light"] .hero__bg::after {
  background:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 60px,
      rgba(0, 0, 0, 0.04) 60px,
      rgba(0, 0, 0, 0.04) 61px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 60px,
      rgba(0, 0, 0, 0.03) 60px,
      rgba(0, 0, 0, 0.03) 61px
    );
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-1) var(--space-3);
  background: var(--color-accent-subtle);
  border: 1px solid rgba(0, 212, 170, 0.2);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--color-accent);
  margin-bottom: var(--space-6);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.hero__badge::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-accent);
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero__title {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-6);
}
.hero__title .accent {
  color: var(--color-accent);
}

.hero__subtitle {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  line-height: 1.5;
  margin-bottom: var(--space-8);
  max-width: 600px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.hero__scroll-indicator {
  position: absolute;
  bottom: var(--space-8);
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  color: var(--color-text-muted);
  animation: bounce-down 2s ease-in-out infinite;
}
@keyframes bounce-down {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ============================================================
   SECTION HEADINGS
   ============================================================ */
.section-header {
  text-align: center;
  max-width: 700px;
  margin-inline: auto;
  margin-bottom: clamp(var(--space-8), 5vw, var(--space-16));
}
.section-label {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-3);
}
.section-title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-4);
}
.section-subtitle {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  max-width: 560px;
  margin-inline: auto;
}

/* ============================================================
   CARDS (general)
   ============================================================ */
.card {
  background: var(--color-surface-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 212, 170, 0.2);
}

/* ============================================================
   PAIN POINTS GRID
   ============================================================ */
.pain-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
}
@media (min-width: 640px) {
  .pain-grid { grid-template-columns: repeat(2, 1fr); }
}

.pain-card {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
}
.pain-card__icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: rgba(255, 90, 90, 0.1);
  color: #FF5A5A;
  font-size: 1.25rem;
}
.pain-card__content h3 {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 700;
  margin-bottom: var(--space-1);
}
.pain-card__content p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.5;
}

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

.solution-card {
  text-align: left;
}
.solution-card__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: var(--color-accent-subtle);
  color: var(--color-accent);
  margin-bottom: var(--space-4);
  font-size: 1.25rem;
}
.solution-card h3 {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 700;
  margin-bottom: var(--space-2);
}
.solution-card p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.5;
}

/* ============================================================
   HOW IT WORKS (steps)
   ============================================================ */
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  position: relative;
}
@media (min-width: 768px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
}

.step {
  text-align: center;
  position: relative;
}
.step__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-accent);
  color: #0A0E1A;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--text-lg);
  margin-bottom: var(--space-4);
}
.step h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: var(--space-2);
}
.step p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  max-width: 320px;
  margin-inline: auto;
}

/* Arrow connectors between steps (desktop only) */
@media (min-width: 768px) {
  .step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 28px;
    right: -16%;
    width: 32%;
    height: 2px;
    background: linear-gradient(90deg, var(--color-accent), transparent);
    opacity: 0.3;
  }
}

/* ============================================================
   PRICING
   ============================================================ */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
}
@media (min-width: 768px) {
  .pricing-grid { grid-template-columns: repeat(3, 1fr); }
}

.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
}
.pricing-card--featured {
  border-color: var(--color-accent);
  box-shadow: 0 0 40px var(--color-accent-glow);
}
.pricing-card--featured::before {
  content: 'Most Popular';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: var(--space-1) var(--space-3);
  background: var(--color-accent);
  color: #0A0E1A;
  font-size: var(--text-xs);
  font-weight: 700;
  border-radius: var(--radius-full);
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pricing-card__tier {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-2);
}
.pricing-card__price {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-1);
}
.pricing-card__price span {
  font-size: var(--text-sm);
  font-weight: 400;
  color: var(--color-text-muted);
}
.pricing-card__desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-6);
  line-height: 1.5;
}
.pricing-card__features {
  list-style: none;
  margin-bottom: var(--space-6);
  flex-grow: 1;
}
.pricing-card__features li {
  padding: var(--space-2) 0;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
  border-bottom: 1px solid var(--color-border);
}
.pricing-card__features li:last-child {
  border-bottom: none;
}
.pricing-card__features li::before {
  content: '✓';
  color: var(--color-accent);
  font-weight: 700;
  flex-shrink: 0;
}
.pricing-card .btn {
  width: 100%;
}

.pricing-note {
  text-align: center;
  margin-top: var(--space-6);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
}
@media (min-width: 768px) {
  .testimonials-grid { grid-template-columns: repeat(3, 1fr); }
}

.testimonial-card {
  display: flex;
  flex-direction: column;
}
.testimonial-card__stars {
  color: #F5A623;
  font-size: var(--text-sm);
  margin-bottom: var(--space-3);
  letter-spacing: 2px;
}
.testimonial-card__quote {
  font-size: var(--text-sm);
  line-height: 1.6;
  color: var(--color-text);
  margin-bottom: var(--space-4);
  flex-grow: 1;
  font-style: italic;
}
.testimonial-card__author {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  font-weight: 600;
}
.testimonial-card__role {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
  position: relative;
  text-align: center;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 50%, var(--color-accent-glow), transparent 70%);
  pointer-events: none;
}
.cta-section__content {
  position: relative;
  z-index: 1;
}
.cta-section__title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-4);
}
.cta-section__subtitle {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  margin-bottom: var(--space-8);
  max-width: 500px;
  margin-inline: auto;
}

/* ============================================================
   BOOKING SECTION
   ============================================================ */
.booking-section {
  text-align: center;
}
.booking-embed {
  max-width: 700px;
  margin-inline: auto;
  margin-top: var(--space-8);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-12) var(--space-6);
  min-height: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
}
.booking-embed__placeholder {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  border-top: 1px solid var(--color-border);
  padding-block: var(--space-8);
}
.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
  text-align: center;
}
@media (min-width: 768px) {
  .footer__inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}
.footer__brand {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  align-items: center;
}
@media (min-width: 768px) {
  .footer__brand { align-items: flex-start; }
}
.footer__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-sm);
}
.footer__tagline {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}
.footer__info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-1);
}
@media (min-width: 768px) {
  .footer__info { align-items: flex-end; }
}
.footer__email {
  color: var(--color-accent);
  text-decoration: none;
  font-size: var(--text-sm);
}
.footer__email:hover {
  text-decoration: underline;
}
.footer__copyright {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
}

/* ============================================================
   SERVICES PAGE
   ============================================================ */
.services-hero {
  padding-top: clamp(var(--space-16), 10vw, var(--space-24));
  padding-bottom: clamp(var(--space-8), 5vw, var(--space-12));
  text-align: center;
}
.services-hero__title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-4);
}
.services-hero__subtitle {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  max-width: 600px;
  margin-inline: auto;
}

.service-module {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  align-items: center;
  padding-block: clamp(var(--space-8), 5vw, var(--space-16));
  border-bottom: 1px solid var(--color-border);
}
@media (min-width: 768px) {
  .service-module { grid-template-columns: 1fr 1fr; gap: var(--space-12); }
  .service-module:nth-child(even) .service-module__visual { order: -1; }
}

.service-module__content {}
.service-module__number {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-3);
}
.service-module__title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-4);
}
.service-module__desc {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: var(--space-4);
}
.service-module__replaces {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-3);
  background: rgba(255, 90, 90, 0.08);
  border: 1px solid rgba(255, 90, 90, 0.15);
  border-radius: var(--radius-md);
  font-size: var(--text-xs);
  font-weight: 600;
  color: #FF6B6B;
}
[data-theme="light"] .service-module__replaces {
  background: rgba(200, 50, 50, 0.06);
  color: #C03030;
}

.service-module__visual {
  background: var(--color-surface-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 220px;
}
.service-module__visual svg {
  width: 120px;
  height: 120px;
  color: var(--color-accent);
  opacity: 0.7;
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-hero {
  padding-top: clamp(var(--space-16), 10vw, var(--space-24));
  padding-bottom: clamp(var(--space-8), 5vw, var(--space-16));
}
.about-hero__title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-6);
}
.about-hero__body {
  max-width: 680px;
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.7;
}
.about-hero__body p {
  margin-bottom: var(--space-4);
}

.about-mission {
  border-top: 1px solid var(--color-border);
  padding-top: clamp(var(--space-8), 5vw, var(--space-16));
}
.about-mission__content {
  max-width: 680px;
}
.about-mission__quote {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-text);
  border-left: 3px solid var(--color-accent);
  padding-left: var(--space-6);
  margin-bottom: var(--space-6);
}

.about-values {
  margin-top: clamp(var(--space-8), 5vw, var(--space-16));
}
.values-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
}
@media (min-width: 768px) {
  .values-grid { grid-template-columns: repeat(3, 1fr); }
}
.value-card {
  text-align: center;
  padding: var(--space-8) var(--space-4);
}
.value-card__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--color-accent-subtle);
  color: var(--color-accent);
  margin: 0 auto var(--space-4);
  font-size: 1.25rem;
}
.value-card h3 {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 700;
  margin-bottom: var(--space-2);
}
.value-card p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  max-width: 280px;
  margin-inline: auto;
}

/* ============================================================
   SCROLL REVEAL ANIMATIONS
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal--visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal--delay-1 { transition-delay: 0.1s; }
.reveal--delay-2 { transition-delay: 0.2s; }
.reveal--delay-3 { transition-delay: 0.3s; }
.reveal--delay-4 { transition-delay: 0.4s; }

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ============================================================
   DIVIDER
   ============================================================ */
.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-border), transparent);
  border: none;
  margin: 0;
}

/* ============================================================
   STAT HIGHLIGHT
   ============================================================ */
.stat-accent {
  color: var(--color-accent);
  font-family: var(--font-display);
  font-weight: 800;
}
