/* ===================================================
   FULLDOT — SEO Service Page
   seo.css
   =================================================== */

/* ---------- 0. CSS Custom Properties ---------- */
:root {
  --accent: #d15b27;
  --accent-light: #fb923c;
  --accent-glow: rgba(209, 91, 39, .35);
  --bg-white: #fafaf9;
  --bg-dark: #0a0a0a;
  --bg-warm: #f6f1eb;
  --ink-blue: #0f1923;
  --ink-warm: #1a1510;
  --text-primary: #1a1a1a;
  --text-secondary: #555;
  --text-invert: #f5f5f5;
  --border-light: #e5e2dd;
  --border-dark: rgba(255, 255, 255, .08);
  --font-serif: 'Playfair Display', serif;
  --font-sans: 'Outfit', 'Noto Sans TC', sans-serif;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-pill: 100px;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, .06);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, .08);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, .12);
  --nav-h: 64px;
}

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

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

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

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

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  list-style: none;
}

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

/* ---------- 2. Skip Link ---------- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 9999;
  padding: 8px 18px;
  background: var(--accent);
  color: #fff;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: .875rem;
  transition: top .2s var(--ease-out);
}

.skip-link:focus {
  top: 12px;
}

/* ---------- 3. Focus Styles ---------- */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

:focus:not(:focus-visible) {
  outline: none;
}

/* ---------- 4. Navbar ---------- */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 24px 48px;
  z-index: 1000;
  background: rgba(250, 250, 249, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: padding .3s, box-shadow .3s;
}

.navbar.scrolled {
  padding: 16px 48px;
  box-shadow: 0 1px 0 rgba(0,0,0,0.08);
}

.nav-container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-img {
  height: 36px;
  width: auto;
}

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

.nav-link {
  font-size: .9rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  position: relative;
  transition: color .3s;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width .3s var(--ease-out);
}

.nav-link:hover::after,
.nav-link:focus-visible::after,
.nav-link.active::after {
  width: 100%;
}

.btn-contact {
  border: 1.5px solid var(--text-dark);
  padding: 8px 24px;
  border-radius: 30px;
  transition: background .3s, color .3s;
}

.btn-contact:hover,
.btn-contact:focus-visible {
  background: var(--text-dark);
  color: #fff;
}

.btn-contact::after {
  display: none;
}

/* ---- Menu Toggle ---- */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  width: 28px;
  height: 20px;
  position: relative;
  cursor: pointer;
  z-index: 1001;
  padding: 0;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text-dark);
  position: absolute;
  left: 0;
  transition: all .4s var(--ease-out);
  border-radius: 2px;
}

.menu-toggle span:first-child { top: 2px; }
.menu-toggle span:last-child { bottom: 2px; }

.menu-toggle.active span { background: var(--text-dark); }
.menu-toggle.active span:first-child { top: 50%; transform: translateY(-50%) rotate(45deg); }
.menu-toggle.active span:last-child { bottom: 50%; transform: translateY(50%) rotate(-45deg); }

/* Mobile Menu — 文創暖色風 */
.mobile-menu {
  position: fixed; inset: 0; z-index: 999;
  background: #f6f1eb;
  opacity: 0; pointer-events: none;
  transition: opacity .4s var(--ease-out);
  overflow-y: auto;
}
.mobile-menu::before {
  content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background: radial-gradient(ellipse at 30% 20%, rgba(209,91,39,0.06), transparent 50%), radial-gradient(ellipse at 80% 80%, rgba(37,99,235,0.04), transparent 50%);
}
.mobile-menu.active { opacity: 1; pointer-events: all; }
.mobile-menu-inner {
  min-height: 100%; display: flex; flex-direction: column;
  justify-content: center; padding: 100px 28px 40px; gap: 36px;
  position: relative; z-index: 1;
}
.mm-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding-bottom: 28px; border-bottom: 1px solid rgba(28,25,23,0.08); }
.mm-brand-en { font-family: var(--font-serif); font-size: 1.75rem; font-weight: 400; font-style: italic; color: var(--text-dark); letter-spacing: 0.5px; }
.mm-brand-zh { font-size: 0.8rem; font-weight: 500; letter-spacing: 3px; color: var(--text-muted); }
.mm-nav { display: flex; flex-direction: column; gap: 2px; }
.mm-link {
  display: flex; align-items: center; gap: 16px; padding: 18px 14px;
  border-radius: 12px; transition: background .25s var(--ease-out); color: var(--text-dark);
  opacity: 0; transform: translateX(-16px);
}
.mobile-menu.active .mm-link { opacity: 1; transform: translateX(0); }
.mm-link:hover { background: rgba(28,25,23,0.04); }
.mm-link-active { background: rgba(209,91,39,0.07); }
.mm-icon { width: 22px; height: 22px; flex-shrink: 0; color: var(--accent); opacity: 0.7; }
.mm-text { flex: 1; display: flex; flex-direction: column; gap: 1px; }
.mm-label { font-family: var(--font-serif); font-size: 0.65rem; font-style: italic; letter-spacing: 1px; color: var(--text-light); }
.mm-title { font-size: 1.15rem; font-weight: 700; letter-spacing: 0.3px; }
.mm-arrow { width: 16px; height: 16px; flex-shrink: 0; color: var(--text-light); opacity: 0.4; transition: color .25s, transform .25s; }
.mm-link:hover .mm-arrow { color: var(--accent); opacity: 1; transform: translateX(3px); }
.mm-cta {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 28px; background: var(--text-dark); color: #fff; border-radius: 50px;
  font-size: 0.95rem; font-weight: 700; letter-spacing: 0.5px;
  transition: all .3s var(--ease-out); opacity: 0; transform: translateY(8px);
}
.mobile-menu.active .mm-cta { opacity: 1; transform: translateY(0); }
.mm-cta:hover { background: var(--accent); }
.mm-cta-icon { width: 18px; height: 18px; }
.mm-footer {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  padding-top: 20px; border-top: 1px solid rgba(28,25,23,0.06); opacity: 0;
}
.mobile-menu.active .mm-footer { opacity: 1; }
.mm-footer a, .mm-footer span { font-size: 0.75rem; color: var(--text-light); letter-spacing: 0.5px; }
.mm-footer-dot { width: 3px; height: 3px; border-radius: 50%; background: var(--text-light); opacity: 0.3; display: inline-block; }

/* ---------- 5. WebGL Container ---------- */
#webgl-container {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  transition: opacity .6s var(--ease-out);
}

#webgl-container.webgl-dark {
  mix-blend-mode: screen;
}

#webgl-container.webgl-light {
  mix-blend-mode: multiply;
}

/* ---------- 6. Hero — .seo-hero ---------- */
.seo-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: calc(var(--nav-h) + 3rem) clamp(1.5rem, 5vw, 4rem) 4rem;
}

.seo-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.seo-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: kenBurns 25s ease-in-out infinite alternate;
}

@keyframes kenBurns {
  0% {
    transform: scale(1) translate(0, 0);
  }
  100% {
    transform: scale(1.08) translate(-1%, -1%);
  }
}

/* Multi-layer overlay */
.seo-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(10, 10, 10, .62) 0%, rgba(10, 10, 10, .35) 50%, rgba(10, 10, 10, .7) 100%),
    linear-gradient(135deg, rgba(209, 91, 39, .1) 0%, rgba(251, 146, 60, .08) 50%, rgba(15, 25, 35, .12) 100%);
}

.seo-hero-inner {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 800px;
  color: #fff;
}

.seo-label {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--accent-light);
  margin-bottom: .75rem;
}

.seo-h1 {
  font-family: var(--font-sans);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -.02em;
  margin-bottom: .5rem;
}

.seo-h1-serif {
  display: block;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1rem, 2.5vw, 1.5rem);
  color: rgba(255, 255, 255, .6);
  margin-top: .25rem;
}

.seo-hero-desc {
  font-size: clamp(.95rem, 1.8vw, 1.15rem);
  color: rgba(255, 255, 255, .75);
  margin-top: 1rem;
  line-height: 1.7;
}

.seo-hero-desc strong {
  color: var(--accent-light);
  font-weight: 700;
}

.seo-hero-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .6rem;
  margin-top: 1.5rem;
}

.seo-tag-pill {
  display: inline-block;
  padding: 6px 16px;
  font-size: .8rem;
  font-weight: 500;
  color: rgba(255, 255, 255, .85);
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: var(--radius-pill);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, .06);
  transition: background .25s, border-color .25s;
}

.seo-tag-pill:hover {
  background: rgba(255, 255, 255, .12);
  border-color: rgba(255, 255, 255, .35);
}

/* ---------- 7. Section Utility ---------- */
.seo-section {
  padding: clamp(3rem, 8vw, 6rem) clamp(1.5rem, 5vw, 4rem);
}

.seo-container {
  max-width: 1100px;
  margin: 0 auto;
}

.seo-section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3rem;
}

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

.seo-section-label.seo-label-light {
  color: var(--accent-light);
}

.seo-section-title {
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -.01em;
}

.seo-section-title.seo-title-light {
  color: var(--text-invert);
}

.seo-section-desc {
  font-size: .95rem;
  color: var(--text-secondary);
  margin-top: .75rem;
  line-height: 1.7;
}

.seo-section-desc.seo-desc-light {
  color: rgba(255, 255, 255, .55);
}

/* ---------- 8. Flow Timeline ---------- */
.seo-flow-section {
  background: var(--bg-white);
}

.seo-flow-timeline {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
  padding-left: 60px;
}

/* Vertical connecting line */
.seo-flow-timeline::before {
  content: '';
  position: absolute;
  left: 19px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border-light);
}

.flow-step {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding-bottom: 2.5rem;
}

.flow-step:last-child {
  padding-bottom: 0;
}

.flow-marker {
  position: absolute;
  left: -60px;
  top: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.05rem;
  font-weight: 700;
  flex-shrink: 0;
  z-index: 1;
  box-shadow: 0 0 0 4px var(--bg-white);
}

.flow-marker-end {
  position: absolute;
  left: -60px;
  top: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #22c55e;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  z-index: 1;
  box-shadow: 0 0 0 4px var(--bg-white);
}

.flow-body {
  flex: 1;
}

.flow-body h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: .35rem;
}

.flow-body p {
  font-size: .9rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

.flow-time {
  display: inline-block;
  margin-top: .5rem;
  padding: 3px 10px;
  font-size: .72rem;
  font-weight: 600;
  color: var(--accent);
  background: rgba(209, 91, 39, .08);
  border-radius: var(--radius-pill);
}

/* ---------- 9. Focus Cards — Dark Ink Blue ---------- */
.seo-focus-section {
  background: var(--ink-blue);
  color: var(--text-invert);
}

.seo-focus-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  max-width: 1000px;
  margin: 0 auto;
}

.seo-focus-card {
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: background .3s, border-color .3s, transform .35s var(--ease-out);
}

.seo-focus-card:hover {
  background: rgba(255, 255, 255, .07);
  border-color: rgba(255, 255, 255, .12);
  transform: translateY(-4px);
}

.seo-focus-icon {
  width: 36px;
  height: 36px;
  color: var(--accent-light);
  margin-bottom: .85rem;
}

.seo-focus-icon svg {
  width: 100%;
  height: 100%;
}

.seo-focus-tag {
  display: inline-block;
  font-size: .65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--accent-light);
  margin-bottom: .5rem;
}

.seo-focus-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: .4rem;
  line-height: 1.35;
}

.seo-focus-card p {
  font-size: .85rem;
  color: rgba(255, 255, 255, .55);
  line-height: 1.6;
}

/* ---------- 10. GEO Section — Light ---------- */
.seo-geo-section {
  background: var(--bg-white);
}

.seo-geo-intro,
.seo-aeo-intro {
  max-width: 720px;
  margin: -1rem auto 2.5rem;
  text-align: center;
}

.seo-geo-intro p {
  font-size: .95rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Shared method grid (GEO + AEO) */
.seo-method-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1000px;
  margin: 0 auto;
}

.seo-method-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: transform .35s var(--ease-out), box-shadow .35s;
}

.seo-method-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.seo-method-num {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  flex-shrink: 0;
  min-width: 36px;
}

.seo-method-body h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: .3rem;
}

.seo-method-body p {
  font-size: .85rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ---------- 11. AEO Section — Warm Ink ---------- */
.seo-aeo-section {
  background: var(--ink-warm);
  color: var(--text-invert);
}

.seo-aeo-intro p {
  font-size: .95rem;
  color: rgba(255, 255, 255, .55);
  line-height: 1.7;
}

.seo-method-grid-light .seo-method-item-light {
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .07);
  transition: background .3s, border-color .3s, transform .35s var(--ease-out);
}

.seo-method-grid-light .seo-method-item-light:hover {
  background: rgba(255, 255, 255, .07);
  border-color: rgba(255, 255, 255, .12);
  transform: translateY(-4px);
  box-shadow: none;
}

.seo-method-item-light .seo-method-num {
  color: var(--accent-light);
}

.seo-method-item-light .seo-method-body h3 {
  color: var(--text-invert);
}

.seo-method-item-light .seo-method-body p {
  color: rgba(255, 255, 255, .55);
}

/* ---------- 12. Results ---------- */
.seo-results-section {
  background: var(--bg-white);
}

.seo-results-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.result-card {
  padding: 1.5rem 1rem;
}

.result-num {
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--accent);
  line-height: 1.1;
  letter-spacing: -.03em;
}

.result-unit {
  font-size: 1.8rem;
  font-weight: 700;
}

.result-card p {
  font-size: .85rem;
  color: var(--text-secondary);
  margin-top: .35rem;
  line-height: 1.5;
}

/* ---------- 13. CTA ---------- */
.seo-cta-section {
  position: relative;
  background: var(--ink-blue);
  color: var(--text-invert);
  text-align: center;
  padding: clamp(4rem, 10vw, 7rem) clamp(1.5rem, 5vw, 4rem);
  overflow: hidden;
}

/* Radial glow */
.seo-cta-section::after {
  content: '';
  position: absolute;
  bottom: -40%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.seo-cta-inner {
  position: relative;
  z-index: 1;
  max-width: 620px;
  margin: 0 auto;
}

.seo-cta-label {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--accent-light);
  margin-bottom: .75rem;
}

.seo-cta-title {
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: .75rem;
}

.seo-cta-desc {
  font-size: .95rem;
  color: rgba(255, 255, 255, .6);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.seo-cta-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.cta-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: 14px 32px;
  background: var(--accent);
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  border-radius: var(--radius-pill);
  transition: background .25s, transform .25s var(--ease-out), box-shadow .25s;
}

.cta-btn-primary svg {
  width: 18px;
  height: 18px;
}

.cta-btn-primary:hover {
  background: #b84e20;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--accent-glow);
}

.cta-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: 13px 30px;
  background: transparent;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  border: 1.5px solid rgba(255, 255, 255, .25);
  border-radius: var(--radius-pill);
  transition: border-color .25s, background .25s;
}

.cta-btn-secondary:hover {
  border-color: rgba(255, 255, 255, .5);
  background: rgba(255, 255, 255, .06);
}

.seo-cta-links {
  margin-top: 1.75rem;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.seo-cta-links a {
  font-size: .8rem;
  color: rgba(255, 255, 255, .4);
  transition: color .2s;
}

.seo-cta-links a:hover {
  color: var(--accent-light);
}

.seo-cta-links span {
  color: rgba(255, 255, 255, .15);
  font-size: .8rem;
}

/* ---------- 14. Footer ---------- */
.footer {
  background: var(--bg-dark);
  color: rgba(255, 255, 255, .5);
  padding: 3.5rem clamp(1.5rem, 5vw, 4rem) 2rem;
}

.footer-main {
  max-width: 1100px;
  margin: 0 auto;
}

.footer-logo {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 8vw, 5rem);
  font-weight: 900;
  letter-spacing: -3px;
  line-height: 0.85;
  text-align: center;
  margin-bottom: 60px;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, .06);
  position: relative;
  cursor: default;
  display: flex;
  justify-content: center;
  gap: 0;
}

/* Each character */
.fl-char {
  display: inline-block;
  position: relative;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, .06);
  transition: color 0.5s ease, -webkit-text-stroke 0.5s ease,
              text-shadow 0.5s ease, transform 0.4s var(--ease-out);
  will-change: transform, color;
  opacity: 0;
  transform: translateY(30px);
}

.fl-char:hover {
  color: rgba(255, 255, 255, .15);
  -webkit-text-stroke: 1px rgba(255, 255, 255, .25);
  text-shadow:
    0 0 40px rgba(230, 170, 120, .25),
    0 0 80px rgba(160, 195, 225, .15),
    0 0 120px rgba(230, 170, 120, .08);
  transform: translateY(-4px);
}

/* JS-driven glow classes */
.fl-char.fl-glow-1 {
  color: rgba(255, 255, 255, .06);
  -webkit-text-stroke: 1px rgba(255, 255, 255, .12);
  text-shadow: 0 0 30px rgba(230, 170, 120, .08);
}

.fl-char.fl-glow-2 {
  color: rgba(255, 255, 255, .12);
  -webkit-text-stroke: 1px rgba(255, 255, 255, .20);
  text-shadow:
    0 0 30px rgba(230, 170, 120, .15),
    0 0 60px rgba(160, 195, 225, .08);
}

.fl-char.fl-glow-3 {
  color: rgba(255, 255, 255, .20);
  -webkit-text-stroke: 1px rgba(255, 255, 255, .30);
  text-shadow:
    0 0 40px rgba(230, 170, 120, .30),
    0 0 80px rgba(160, 195, 225, .15),
    0 0 120px rgba(230, 170, 120, .08);
  transform: translateY(-3px);
}

/* Scroll-triggered entrance */
.footer-logo.fl-visible .fl-char {
  opacity: 1;
  transform: translateY(0);
}

.footer-logo.fl-visible .fl-char:nth-child(1) { transition-delay: 0.0s; }
.footer-logo.fl-visible .fl-char:nth-child(2) { transition-delay: 0.06s; }
.footer-logo.fl-visible .fl-char:nth-child(3) { transition-delay: 0.12s; }
.footer-logo.fl-visible .fl-char:nth-child(4) { transition-delay: 0.18s; }
.footer-logo.fl-visible .fl-char:nth-child(5) { transition-delay: 0.24s; }
.footer-logo.fl-visible .fl-char:nth-child(6) { transition-delay: 0.30s; }
.footer-logo.fl-visible .fl-char:nth-child(7) { transition-delay: 0.36s; }

.footer-content {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.footer-col h4 {
  font-size: .8rem;
  letter-spacing: 2px;
  font-weight: 700;
  margin-bottom: 16px;
  color: rgba(255, 255, 255, .6);
  text-transform: uppercase;
}

.footer-col address {
  font-style: normal;
}

.footer-col p {
  font-size: .85rem;
  line-height: 1.7;
  margin-bottom: .35rem;
}

.footer-col a {
  display: block;
  font-size: .85rem;
  padding: .25rem 0;
  transition: color .2s;
}

.footer-col a:hover {
  color: var(--accent-light);
}

.footer-bottom {
  padding-top: 24px;
  text-align: center;
}

.footer-bottom p {
  font-size: .75rem;
  color: rgba(255, 255, 255, .3);
}

/* ---------- 15. Responsive — 1024px ---------- */
@media (max-width: 1024px) {
  .nav-links {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .seo-focus-grid {
    grid-template-columns: 1fr;
  }

  .seo-method-grid {
    grid-template-columns: 1fr;
  }

  .seo-results-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-content {
    grid-template-columns: 1fr 1fr;
  }
}

/* ---------- 16. Responsive — 640px ---------- */
@media (max-width: 640px) {
  :root {
    --nav-h: 56px;
  }

  .seo-hero {
    min-height: 90vh;
    padding-top: calc(var(--nav-h) + 2rem);
  }

  .seo-h1 {
    font-size: clamp(1.6rem, 7vw, 2.2rem);
  }

  .seo-tag-pill {
    font-size: .72rem;
    padding: 5px 12px;
  }

  .seo-flow-timeline {
    padding-left: 50px;
  }

  .flow-marker,
  .flow-marker-end {
    left: -50px;
    width: 34px;
    height: 34px;
    font-size: .9rem;
  }

  .seo-flow-timeline::before {
    left: 16px;
  }

  .seo-results-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .result-num {
    font-size: 2.5rem;
  }

  .seo-cta-actions {
    flex-direction: column;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }
}

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

  .seo-hero-bg img {
    animation: none;
  }

  .seo-focus-card:hover,
  .seo-method-item:hover {
    transform: none;
  }

  .cta-btn-primary:hover {
    transform: none;
  }
}

/* ---------- 18. Forced Colors (High Contrast) ---------- */
@media (forced-colors: active) {
  .seo-tag-pill,
  .flow-time {
    border: 1px solid CanvasText;
  }

  .flow-marker,
  .flow-marker-end {
    border: 2px solid CanvasText;
    forced-color-adjust: none;
  }

  .seo-hero-overlay {
    background: rgba(0, 0, 0, .5);
  }

  .cta-btn-primary {
    border: 1px solid ButtonText;
  }

  .seo-focus-card,
  .seo-method-item {
    border: 1px solid CanvasText;
  }

  a:focus-visible,
  button:focus-visible {
    outline: 2px solid Highlight;
  }
}
