/* ===================================================
   FULLDOT — APP Development Service Page
   app-dev.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-dark: #1c1917;
    --text-primary: #1a1a1a;
    --text-secondary: #555;
    --text-muted: #78716c;
    --text-light: #a8a29e;
    --text-invert: #f5f5f5;
    --border: rgba(0, 0, 0, 0.08);
    --border-light: rgba(255, 255, 255, 0.1);
    --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: 100001;
    padding: 12px 24px; background: var(--accent); color: #fff;
    font-weight: 700; border-radius: 0 0 8px 8px; transition: top .2s;
}
.skip-link:focus { top: 0; }

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

/* ---------- 4. WebGL Container ---------- */
#webgl-container,
.webgl-container {
    position: fixed; inset: 0; z-index: 2;
    pointer-events: none;
    transition: opacity .6s var(--ease-out);
}
.webgl-dark { mix-blend-mode: screen; }
.webgl-light { mix-blend-mode: multiply; }

/* ============================================
   NAVIGATION (shared pattern)
   ============================================ */
.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; letter-spacing: .5px; font-weight: 500;
    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%; }
.nav-link:hover, .nav-link.active { color: var(--accent); }

.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 — Warm Cultural ---- */
.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; -webkit-overflow-scrolling: touch;
}
.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: .5px; }
.mm-brand-zh { font-family: var(--font-sans); font-size: .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), transform .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, .mm-link:focus-visible { background: rgba(28,25,23,0.04); }
.mm-link:active { transform: scale(0.98); }
.mm-link-active { background: rgba(209,91,39,0.07); }

.mm-icon { width: 22px; height: 22px; flex-shrink: 0; color: var(--accent); opacity: .7; }
.mm-icon svg { width: 100%; height: 100%; }

.mm-text { flex: 1; display: flex; flex-direction: column; gap: 1px; }
.mm-label { font-family: var(--font-serif); font-size: .65rem; font-style: italic; font-weight: 400; letter-spacing: 1px; color: var(--text-light); }
.mm-title { font-family: var(--font-sans); font-size: 1.15rem; font-weight: 700; letter-spacing: .3px; color: var(--text-dark); }

.mm-arrow { width: 16px; height: 16px; flex-shrink: 0; color: var(--text-light); opacity: .4; transition: color .25s, transform .25s, opacity .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: .95rem; font-weight: 700; letter-spacing: .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); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(209,91,39,0.2); }
.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: .75rem; color: var(--text-light); letter-spacing: .5px; transition: color .25s; }
.mm-footer a:hover { color: var(--accent); }
.mm-footer-dot { width: 3px; height: 3px; border-radius: 50%; background: var(--text-light); opacity: .3; display: inline-block; }

/* ============================================
   BLOCK 1 — HERO  .ad-hero
   ============================================ */
.ad-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;
}

.ad-hero-bg {
    position: absolute; inset: 0; z-index: 0;
}
.ad-hero-bg img {
    width: 100%; height: 100%; object-fit: cover;
    animation: adKenBurns 25s ease-in-out infinite alternate;
}

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

.ad-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%);
}

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

.ad-label {
    font-size: .7rem; letter-spacing: 5px;
    color: var(--accent-light); display: block; margin-bottom: 24px;
}

.ad-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;
}

.ad-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-bottom: 8px; letter-spacing: 0;
}

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

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

.ad-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;
}
.ad-tag-pill:hover {
    background: rgba(255,255,255,.12);
    border-color: rgba(255,255,255,.35);
}

/* ============================================
   SHARED SECTION UTILITY
   ============================================ */
.ad-section {
    padding: clamp(3rem, 8vw, 6rem) clamp(1.5rem, 5vw, 4rem);
}

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

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

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

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

/* Light text variants for dark sections */
.ad-label-light { color: var(--accent-light); }
.ad-title-light { color: var(--text-invert); }
.ad-desc-light { color: rgba(255,255,255,.55); }

/* ============================================
   BLOCK 2 — FLOW TIMELINE  .ad-flow-section
   ============================================ */
.ad-flow-section {
    background: var(--bg-white);
}

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

.ad-flow-timeline::before {
    content: ''; position: absolute; left: 19px; top: 0; bottom: 0;
    width: 2px; background: #e5e2dd;
}

.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; }

/* ============================================
   BLOCK 3 — APP TYPES  .ad-types-section
   ============================================ */
.ad-types-section {
    background: var(--ink-blue);
    color: var(--text-invert);
}

.ad-types-grid {
    display: grid; grid-template-columns: repeat(2, 1fr);
    gap: 2rem; max-width: 1100px; margin: 0 auto;
}

.ad-type-card {
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.07);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: background .3s, border-color .3s, transform .35s var(--ease-out);
}
.ad-type-card:hover {
    background: rgba(255,255,255,.07);
    border-color: rgba(255,255,255,.12);
    transform: translateY(-4px);
}

.ad-type-icon {
    width: 40px; height: 40px; color: var(--accent-light);
    margin-bottom: 1rem;
}
.ad-type-icon svg { width: 100%; height: 100%; }

.ad-type-card h3 {
    font-size: 1.1rem; font-weight: 700;
    margin-bottom: .5rem; line-height: 1.35;
}

.ad-type-card p {
    font-size: .85rem; color: rgba(255,255,255,.55); line-height: 1.65;
}

.ad-type-badge {
    display: inline-block; margin-top: .85rem;
    padding: 3px 12px; font-size: .68rem; font-weight: 600;
    color: var(--accent-light);
    background: rgba(209,91,39,.1);
    border-radius: var(--radius-pill);
}

/* ============================================
   BLOCK 4 — TECH HIGHLIGHTS  .ad-tech-section
   ============================================ */
.ad-tech-section {
    background: var(--bg-white);
}

.ad-tech-grid {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem; max-width: 1100px; margin: 0 auto;
}

.ad-tech-card {
    background: #fff;
    border: 1px solid #e5e2dd;
    border-radius: 14px;
    padding: 1.5rem;
    transition: transform .35s var(--ease-out), box-shadow .35s;
}
.ad-tech-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.ad-tech-icon {
    width: 36px; height: 36px; color: var(--accent);
    margin-bottom: .85rem; flex-shrink: 0;
}
.ad-tech-icon svg { width: 100%; height: 100%; }

.ad-tech-card h3 {
    font-size: .95rem; font-weight: 700; margin-bottom: .3rem;
}

.ad-tech-card p {
    font-size: .82rem; color: var(--text-secondary); line-height: 1.6;
}

.ad-tech-badge {
    display: inline-block; margin-top: .65rem;
    padding: 3px 10px; font-size: .68rem; font-weight: 600;
    color: var(--text-secondary);
    background: rgba(0,0,0,.04);
    border-radius: var(--radius-pill);
}

/* ============================================
   BLOCK 5 — CROSS-PLATFORM  .ad-cross-section
   ============================================ */
.ad-cross-section {
    background: var(--ink-warm);
    color: var(--text-invert);
}

.ad-cross-content {
    max-width: 1000px; margin: 0 auto;
}

.ad-cross-main {
    text-align: center; max-width: 700px; margin: 0 auto 3rem;
}

.ad-cross-headline {
    font-size: clamp(1.3rem, 3vw, 2rem);
    font-weight: 800; margin-bottom: 1rem; line-height: 1.3;
}

.ad-cross-desc {
    font-size: .95rem; color: rgba(255,255,255,.55);
    line-height: 1.8;
}

.ad-cross-items {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.ad-cross-item {
    display: flex; gap: 1rem; align-items: flex-start;
}

.ad-cross-num {
    font-family: var(--font-serif); font-style: italic;
    font-size: 2.2rem; font-weight: 700;
    color: var(--accent-light); line-height: 1; flex-shrink: 0;
    min-width: 52px;
}

.ad-cross-item h4 {
    font-size: 1rem; font-weight: 700; margin-bottom: .25rem;
}

.ad-cross-item p {
    font-size: .85rem; color: rgba(255,255,255,.5); line-height: 1.6;
}

/* ============================================
   BLOCK 6 — RESULTS  .ad-results-section
   ============================================ */
.ad-results-section {
    background: var(--bg-white);
}

.ad-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.5rem; font-weight: 700;
}

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

/* ============================================
   BLOCK 7 — CTA  .ad-cta-section
   ============================================ */
.ad-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;
}

.ad-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;
}

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

.ad-cta-label {
    font-size: .7rem; letter-spacing: 5px;
    color: var(--accent-light); display: block; margin-bottom: 20px;
}

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

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

.ad-cta-actions {
    display: flex; justify-content: center; align-items: center;
    gap: 20px; flex-wrap: wrap;
}

.cta-btn-primary {
    display: inline-flex; align-items: center; gap: 12px;
    padding: 18px 40px; background: var(--accent); color: #fff;
    border-radius: 50px; font-weight: 700; font-size: 1rem;
    letter-spacing: 1px; transition: all .3s var(--ease-out);
    border: 2px solid var(--accent);
}
.cta-btn-primary:hover, .cta-btn-primary:focus-visible {
    background: #b84e20; border-color: #b84e20;
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(209,91,39,.3);
}
.cta-btn-primary svg { width: 18px; transition: transform .3s; }
.cta-btn-primary:hover svg { transform: translateX(4px); }

.cta-btn-secondary {
    display: inline-flex; align-items: center;
    padding: 18px 40px;
    border: 2px solid rgba(255,255,255,.25);
    border-radius: 50px; font-weight: 700; font-size: 1rem;
    letter-spacing: 1px; color: #fff;
    transition: all .3s var(--ease-out);
}
.cta-btn-secondary:hover, .cta-btn-secondary:focus-visible {
    border-color: rgba(255,255,255,.5);
    background: rgba(255,255,255,.06);
    transform: translateY(-2px);
}

.ad-cta-links {
    margin-top: 1.75rem; display: flex;
    justify-content: center; gap: 1.5rem; flex-wrap: wrap;
}
.ad-cta-links a {
    font-size: .8rem; color: rgba(255,255,255,.4); transition: color .2s;
}
.ad-cta-links a:hover { color: var(--accent-light); }
.ad-cta-links span { color: rgba(255,255,255,.15); }

/* ============================================
   FOOTER (shared pattern)
   ============================================ */
.footer {
    padding: 80px 48px 40px;
    background: var(--bg-dark); color: #fff;
}

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

.footer-logo {
    font-size: clamp(4rem, 14vw, 12rem);
    font-weight: 900; letter-spacing: -3px;
    line-height: .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;
}

.fl-char {
    display: inline-block; position: relative;
    color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.06);
    transition: color .5s ease, -webkit-text-stroke .5s ease, text-shadow .5s ease, transform .4s var(--ease-out);
    will-change: transform, color; opacity: 0; transform: translateY(30px);
}
.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; }
.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);
    transform: translateY(-4px);
}
.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); transform: translateY(-3px); }

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

.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, .footer-col a {
    display: block; font-size: .9rem;
    color: rgba(255,255,255,.5); margin-bottom: 8px; transition: color .3s;
}
.footer-col a:hover { color: var(--accent-light); }
.footer-col nav { display: flex; flex-direction: column; }

.footer-bottom { padding-top: 32px; text-align: center; }
.footer-bottom p { font-size: .75rem; color: rgba(255,255,255,.3); letter-spacing: 1px; }

/* ============================================
   RESPONSIVE — 1024px
   ============================================ */
@media (max-width: 1024px) {
    .navbar { padding: 12px 24px; }
    .nav-links { display: none; }
    .menu-toggle { display: block; }

    .ad-types-grid { grid-template-columns: 1fr; }
    .ad-tech-grid { grid-template-columns: repeat(2, 1fr); }
    .ad-cross-items { grid-template-columns: 1fr; }
    .ad-results-grid { grid-template-columns: repeat(2, 1fr); }

    .footer { padding: 60px 24px 32px; }
    .footer-content { grid-template-columns: 1fr 1fr; gap: 32px; }
}

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

    .ad-hero { min-height: 90vh; padding-top: calc(var(--nav-h) + 2rem); }
    .ad-h1 { font-size: clamp(1.6rem, 7vw, 2.2rem); }
    .ad-tag-pill { font-size: .72rem; padding: 5px 12px; }

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

    .ad-tech-grid { grid-template-columns: 1fr; }
    .ad-results-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
    .result-num { font-size: 2.5rem; }

    .ad-cta-actions { flex-direction: column; align-items: center; }
    .cta-btn-primary, .cta-btn-secondary { width: 100%; justify-content: center; }

    .footer { padding: 48px 16px 24px; }
    .footer-logo { font-size: 2.5rem; margin-bottom: 32px; letter-spacing: -1px; }
    .footer-content { grid-template-columns: 1fr; gap: 32px; }
}

/* ============================================
   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;
    }
    .ad-hero-bg img { animation: none; }
    .ad-tech-card:hover, .ad-type-card:hover { transform: none; }
    .cta-btn-primary:hover, .cta-btn-secondary:hover { transform: none; }
}

/* ============================================
   HIGH CONTRAST (Forced Colors)
   ============================================ */
@media (forced-colors: active) {
    .ad-tag-pill, .ad-type-badge, .ad-tech-badge { border: 1px solid CanvasText; }
    .flow-marker, .flow-marker-end { border: 2px solid CanvasText; forced-color-adjust: none; }
    .ad-hero-overlay { background: rgba(0,0,0,.5); }
    .cta-btn-primary, .cta-btn-secondary, .btn-contact { border: 2px solid ButtonText; }
    .ad-type-card, .ad-tech-card { border: 1px solid CanvasText; }
    a:focus-visible, button:focus-visible { outline: 2px solid Highlight; }
}
