/* AMP AI Labs — Social Media Marketing page (loaded only by digital-marketing/social-media-marketing.html) */

:root { --sm-lime: #A3E635; --sm-blue: #4A8FFF; --sm-ease: cubic-bezier(.2,.7,.2,1); }

/* ═════════ LAYOUT + BANDS ═════════ */
.sm-wrap { max-width: 72rem; margin: 0 auto; padding: 0 1rem; position: relative; }
@media (min-width: 640px)  { .sm-wrap { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .sm-wrap { padding: 0 2rem; } }
.sm-band { padding: clamp(3.2rem, 6vw, 5rem) 0; }
.sm-sec { background: radial-gradient(ellipse 800px 260px at 50% 0%, rgba(10,90,223,.10), transparent 70%), #060C1E !important; border-top: 1px solid rgba(255,255,255,.07); }
.sm-alt { background: radial-gradient(ellipse 800px 260px at 50% 0%, rgba(10,90,223,.16), transparent 70%), #0C1547 !important; border-top: 1px solid rgba(255,255,255,.09); }

.sm-h2 { margin: 0; font-size: clamp(1.7rem, 1.15rem + 2vw, 2.6rem); font-weight: 900; line-height: 1.12; letter-spacing: -.02em; color: #fff; }
.sm-lead { margin: .8rem 0 0; font-size: 1rem; line-height: 1.7; color: rgba(220,229,240,.78); max-width: 40rem; }
.sm-hl { position: relative; display: inline-block; color: #4A8FFF; }
.sm-hl::after { content: ''; position: absolute; left: 0; right: 0; bottom: -.14em; height: .16em; border-radius: 99px; background: var(--sm-lime); transform: scaleX(0); transform-origin: left; transition: transform .9s .25s var(--sm-ease); }
.js .sm-reveal.is-in .sm-hl::after, .sm-hero .sm-hl::after, html:not(.js) .sm-hl::after { transform: scaleX(1); }
.sm-hero .sm-hl::after { animation: sm-underline .9s .7s var(--sm-ease) both; transform: none; }
@keyframes sm-underline { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* scroll reveal (progressive enhancement) */
.js .sm-reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--sm-ease) var(--d, 0s), transform .7s var(--sm-ease) var(--d, 0s); }
.js .sm-reveal.is-in { opacity: 1; transform: none; }

/* ═════════ HERO ═════════ */
.sm-hero { position: relative; overflow: hidden; background: radial-gradient(ellipse 900px 600px at 100% -10%, rgba(10,90,223,.4), transparent 60%), radial-gradient(ellipse 700px 500px at -10% 115%, rgba(163,230,53,.07), transparent 55%), #060C1E; padding: clamp(2rem,5vw,3rem) 1rem clamp(2.5rem,5vw,3.5rem); }
.sm-crumb { display: inline-flex; align-items: center; gap: .5rem; flex-wrap: wrap; padding: .35rem .9rem; border-radius: 9999px; margin-bottom: 1.4rem; font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #00E5E8; background: rgba(0,229,232,.08); border: 1px solid rgba(0,229,232,.28); }
.sm-crumb a:hover { text-decoration: underline; }
.sm-crumb .sm-dot { width: .4rem; height: .4rem; border-radius: 50%; background: #00E5E8; animation: ping 2s infinite; }
.sm-eyebrow { display: flex; align-items: center; gap: .6rem; margin: 0 0 1.2rem; font-size: .72rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; color: #C9D6E8; }
.sm-eyebrow::before { content: ''; flex: none; width: 1.7rem; height: 3px; border-radius: 3px; background: var(--sm-lime); }
.sm-h1 { margin: 0 0 1.4rem; font-size: clamp(2.3rem, 1.4rem + 3.4vw, 3.8rem); font-weight: 900; line-height: 1.07; letter-spacing: -.03em; color: #fff; }
.sm-h1 .sm-hl { background: linear-gradient(90deg, #0A5ADF, #00E5E8); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.sm-hero-sub { margin: 0 0 2rem; max-width: 33rem; font-size: 1.05rem; line-height: 1.75; color: rgba(255,255,255,.74); }
.sm-hero-copy > * { animation: seo-rise .8s var(--sm-ease) both; }
.sm-hero-copy > :nth-child(2) { animation-delay: .08s; } .sm-hero-copy > :nth-child(3) { animation-delay: .16s; } .sm-hero-copy > :nth-child(4) { animation-delay: .24s; } .sm-hero-copy > :nth-child(5) { animation-delay: .32s; }
@keyframes seo-rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

.sm-hero-grid { display: grid; gap: 2.5rem; grid-template-columns: 1fr; align-items: center; }
@media (min-width: 1024px) { .sm-hero-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; } }

/* ── phone + feed ── */
.sm-stage { position: relative; width: 100%; max-width: 33rem; height: 33rem; margin: 0 auto; }
.sm-glow { position: absolute; inset: 8% 8%; border-radius: 50%; background: radial-gradient(circle, rgba(10,90,223,.45), transparent 68%); filter: blur(24px); animation: hero-glow-pulse 5s ease-in-out infinite; }
.sm-phone { position: absolute; z-index: 2; left: 50%; top: .6rem; width: 15.5rem; height: 30.5rem; margin-left: -7.75rem; border-radius: 2.3rem; background: #0B1440; border: 6px solid #22306F; box-shadow: 0 34px 80px rgba(0,0,0,.55), inset 0 0 0 1px rgba(255,255,255,.08); overflow: hidden; animation: float 8s ease-in-out infinite; }
.sm-notch { position: absolute; z-index: 3; top: .45rem; left: 50%; width: 4.4rem; height: 1.15rem; margin-left: -2.2rem; background: #040818; border-radius: 99px; }
.sm-screen { position: relative; height: 100%; padding: 2rem .75rem .6rem; display: flex; flex-direction: column; gap: .5rem; background: linear-gradient(180deg, #101C50, #0A1236); }
.sm-app-head { display: flex; align-items: center; gap: .45rem; font-size: .68rem; font-weight: 700; color: #fff; }
.sm-app-head .sm-av { width: 1.2rem; height: 1.2rem; border-radius: 50%; background: linear-gradient(135deg, #0A5ADF, #00B4D8); display: grid; place-items: center; font-size: .55rem; font-weight: 900; }
.sm-app-head .sm-more { margin-left: auto; letter-spacing: .1em; color: rgba(255,255,255,.6); }
.sm-stories { display: flex; gap: .45rem; }
.sm-story { width: 2.45rem; height: 2.45rem; border-radius: 50%; padding: 2px; background: conic-gradient(from 0deg, #F58529, #DD2A7B, #8134AF, #F58529); animation: sm-spin 6s linear infinite; }
.sm-story:nth-child(2) { animation-delay: -1.2s; } .sm-story:nth-child(3) { animation-delay: -2.4s; } .sm-story:nth-child(4) { animation-delay: -3.6s; }
.sm-story i { display: block; width: 100%; height: 100%; border-radius: 50%; border: 2px solid #0F1A4A; background: linear-gradient(135deg, #2a4a9f, #12204f); animation: sm-spin 6s linear infinite reverse; }
.sm-story:nth-child(2) i { background: linear-gradient(135deg, #8B5CF6, #3b2a86); } .sm-story:nth-child(3) i { background: linear-gradient(135deg, #00B4D8, #12507a); } .sm-story:nth-child(4) i { background: linear-gradient(135deg, #F59E0B, #7a4a0a); }
.sm-story:nth-child(2) i, .sm-story:nth-child(3) i, .sm-story:nth-child(4) i { animation-delay: inherit; }
@keyframes sm-spin { to { transform: rotate(360deg); } }
.sm-post { position: relative; flex: none; height: 12.4rem; border-radius: .9rem; overflow: hidden; background: linear-gradient(160deg, #0A5ADF 0%, #12337f 55%, #0b1b52 100%); padding: .8rem .8rem; }
.sm-post::before { content: ''; position: absolute; right: -2rem; top: -2rem; width: 8rem; height: 8rem; border-radius: 50%; background: rgba(255,255,255,.1); }
.sm-post h4 { position: relative; margin: 0; font-size: 1.12rem; line-height: 1.05; font-weight: 900; letter-spacing: .01em; color: #fff; }
.sm-post h4 b { color: var(--sm-lime); font-weight: 900; }
.sm-laptop { position: absolute; left: 50%; bottom: .75rem; width: 8.2rem; margin-left: -4.1rem; }
.sm-laptop .scr { height: 4.4rem; border-radius: .35rem .35rem 0 0; background: #0b1440; border: 2px solid #cfd8ea; display: flex; align-items: flex-end; gap: .22rem; padding: .4rem .5rem; }
.sm-laptop .scr i { flex: 1; border-radius: 2px 2px 0 0; background: linear-gradient(180deg, #A3E635, #4ADE80); transform-origin: bottom; animation: sm-bar 3.2s ease-in-out infinite; }
.sm-laptop .scr i:nth-child(1) { height: 30%; } .sm-laptop .scr i:nth-child(2) { height: 46%; animation-delay: .2s; } .sm-laptop .scr i:nth-child(3) { height: 38%; animation-delay: .4s; } .sm-laptop .scr i:nth-child(4) { height: 66%; animation-delay: .6s; } .sm-laptop .scr i:nth-child(5) { height: 88%; animation-delay: .8s; }
@keyframes sm-bar { 0%, 100% { transform: scaleY(.55); } 50% { transform: scaleY(1); } }
.sm-laptop .base { height: .35rem; margin: 0 -.5rem; border-radius: 0 0 .5rem .5rem; background: #cfd8ea; }
.sm-actions { display: flex; align-items: center; gap: .6rem; color: #fff; }
.sm-actions svg { width: 1.15rem; height: 1.15rem; }
.sm-actions .sm-heart { color: #FF4D6D; animation: sm-heart 3.6s ease-in-out infinite; transform-origin: center; }
@keyframes sm-heart { 0%, 55%, 100% { transform: scale(1); } 60% { transform: scale(1.35); } 68% { transform: scale(.95); } 76% { transform: scale(1.12); } }
.sm-actions .sm-save { margin-left: auto; }
.sm-likes { font-size: .7rem; color: rgba(255,255,255,.85); } .sm-likes b { color: #fff; font-variant-numeric: tabular-nums; }
.sm-cap { font-size: .64rem; line-height: 1.4; color: rgba(255,255,255,.62); } .sm-cap b { color: #fff; }
.sm-appnav { margin-top: auto; display: flex; justify-content: space-around; padding-top: .45rem; border-top: 1px solid rgba(255,255,255,.1); color: rgba(255,255,255,.65); }
.sm-appnav svg { width: 1.05rem; height: 1.05rem; }
.sm-bubble { position: absolute; z-index: 4; left: .75rem; right: 1.4rem; bottom: 3.6rem; display: flex; align-items: center; gap: .4rem; padding: .4rem .6rem; border-radius: 9999px; background: rgba(255,255,255,.95); color: #0B1240; font-size: .62rem; font-weight: 700; box-shadow: 0 10px 24px rgba(0,0,0,.35); opacity: 0; animation: sm-bubble 9s ease-in-out infinite; }
.sm-bubble i { flex: none; width: 1.1rem; height: 1.1rem; border-radius: 50%; background: linear-gradient(135deg, #F58529, #DD2A7B); }
.sm-bubble.sm-b2 { animation-delay: 3s; bottom: 4.9rem; } .sm-bubble.sm-b3 { animation-delay: 6s; bottom: 3.6rem; }
.sm-bubble.sm-b2 i { background: linear-gradient(135deg, #0A5ADF, #00B4D8); } .sm-bubble.sm-b3 i { background: linear-gradient(135deg, #8B5CF6, #4A8FFF); }
@keyframes sm-bubble { 0% { opacity: 0; transform: translateY(14px) scale(.9); } 6%, 26% { opacity: 1; transform: none; } 33%, 100% { opacity: 0; transform: translateY(-10px); } }

/* floating cards */
.sm-card { position: absolute; z-index: 1; border-radius: 1.1rem; overflow: hidden; box-shadow: 0 24px 50px rgba(0,0,0,.5); border: 2px solid rgba(255,255,255,.85); }
.sm-card-l { left: -.4rem; top: 11.5rem; width: 9rem; height: 10rem; transform: rotate(-8deg); background: linear-gradient(160deg, #E8EEF9, #cfd8ea); animation: fb-a 6s ease-in-out infinite; }
.sm-card-l .photo { position: absolute; inset: 0 0 38% 0; background: linear-gradient(160deg, #1d4ed8, #0b1b52); }
.sm-card-l .photo::before { content: ''; position: absolute; left: 14%; right: 14%; bottom: 0; height: 52%; border-radius: .4rem .4rem 0 0; background: #101a42; border: 2px solid #cfd8ea; border-bottom: 0; }
.sm-card-l .photo::after { content: ''; position: absolute; left: 7%; bottom: 0; width: 18%; height: 60%; border-radius: 99px 99px 0 0; background: #16a34a; opacity: .85; }
.sm-card-l .tag { position: absolute; left: .5rem; bottom: .55rem; padding: .32rem .55rem; border-radius: .35rem; background: var(--sm-lime); color: #0B1240; font-size: .78rem; line-height: 1.05; font-weight: 900; transform: rotate(-4deg); box-shadow: 0 6px 14px rgba(0,0,0,.3); }
.sm-card-r { right: -.5rem; top: 8.5rem; width: 9rem; height: 14rem; transform: rotate(7deg); background: linear-gradient(170deg, #fbbf24 0%, #f97316 45%, #be185d 100%); animation: fb-c 7s ease-in-out infinite; }
.sm-card-r .head { position: absolute; left: 50%; top: 24%; width: 3.4rem; height: 3.4rem; margin-left: -1.7rem; border-radius: 50%; background: #f6c9a4; }
.sm-card-r .body { position: absolute; left: 50%; top: 52%; width: 6.4rem; height: 6rem; margin-left: -3.2rem; border-radius: 3rem 3rem 0 0; background: #fcd34d; }
.sm-card-r .play { position: absolute; left: 50%; top: 40%; width: 2.8rem; height: 2.8rem; margin-left: -1.4rem; border-radius: 50%; background: rgba(0,0,0,.45); border: 2px solid #fff; display: grid; place-items: center; animation: sm-play 2.4s ease-in-out infinite; }
.sm-card-r .play svg { width: 1.1rem; height: 1.1rem; color: #fff; }
@keyframes sm-play { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.12); } }
.sm-card-r .lab { position: absolute; right: .55rem; bottom: .7rem; font-size: .9rem; font-weight: 900; color: #fff; transform: rotate(-8deg); text-shadow: 0 2px 6px rgba(0,0,0,.4); }
.sm-card-r .prog { position: absolute; left: .6rem; right: .6rem; bottom: .35rem; height: 3px; border-radius: 3px; background: rgba(255,255,255,.35); overflow: hidden; }
.sm-card-r .prog i { display: block; height: 100%; background: #fff; transform-origin: left; animation: sm-prog 6s linear infinite; }
@keyframes sm-prog { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.sm-badge { position: absolute; z-index: 5; width: 3rem; height: 3rem; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 900; border: 2px solid rgba(255,255,255,.9); box-shadow: 0 12px 28px rgba(0,0,0,.45); }
.sm-b-ig { top: 0; left: 55%; background: linear-gradient(45deg, #F58529, #DD2A7B 55%, #8134AF); animation: fb-b 5s ease-in-out infinite; }
.sm-b-in { top: 1.1rem; right: 1.2rem; background: #0A66C2; animation: fb-c 6s ease-in-out infinite .4s; }
.sm-b-fb { top: 6.4rem; left: 3.2rem; background: #1877F2; font-size: 1.5rem; animation: fb-a 5.5s ease-in-out infinite .8s; }
.sm-b-yt { top: 5.3rem; right: -.2rem; background: #FF0000; animation: fb-d 6.5s ease-in-out infinite .2s; }
.sm-badge svg { width: 1.3rem; height: 1.3rem; }

.sm-toast { position: absolute; z-index: 6; padding: .4rem .75rem; border-radius: 9999px; font-size: .7rem; font-weight: 800; color: #0B1240; background: #fff; box-shadow: 0 14px 30px rgba(0,0,0,.4); opacity: 0; white-space: nowrap; animation: sm-toast 9s ease-in-out infinite; }
.sm-toast b { color: #16A34A; }
.sm-t1 { left: .2rem; bottom: 3.2rem; } .sm-t2 { right: .2rem; bottom: 7rem; animation-delay: 3s; } .sm-t3 { left: 1rem; bottom: 7.5rem; animation-delay: 6s; }
@keyframes sm-toast { 0% { opacity: 0; transform: translateY(14px) scale(.9); } 6%, 24% { opacity: 1; transform: none; } 32%, 100% { opacity: 0; transform: translateY(-12px); } }
@media (max-width: 639px) { .sm-stage { height: 29rem; transform: scale(.9); transform-origin: top center; } .sm-card-l { left: -1rem; } .sm-card-r { right: -1rem; } }

/* ── trust strip ── */
.sm-trust { display: grid; gap: 1.2rem; grid-template-columns: 1fr; margin-top: 2.2rem; padding: 1.3rem 1.4rem; border-radius: 1.2rem; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); }
@media (min-width: 640px) { .sm-trust { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .sm-trust { grid-template-columns: repeat(4, 1fr); gap: 0; } .sm-trust-item + .sm-trust-item { border-left: 1px solid rgba(255,255,255,.12); padding-left: 1.4rem; } }
.sm-trust-item { display: flex; align-items: center; gap: .8rem; }
.sm-trust-item svg { flex: none; width: 2.1rem; height: 2.1rem; color: #4A8FFF; }
.sm-trust-item b { display: block; font-size: .86rem; font-weight: 800; color: #fff; line-height: 1.25; }
.sm-trust-item span { display: block; font-size: .74rem; color: rgba(200,205,235,.7); margin-top: .1rem; }

/* ═════════ GROWTH SYSTEM ═════════ */
.sm-grow { display: grid; gap: .9rem; grid-template-columns: repeat(2, 1fr); margin: 2.2rem 0 0; padding: 0; list-style: none; }
@media (min-width: 700px)  { .sm-grow { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .sm-grow { grid-template-columns: repeat(6, 1fr); } }
@media (max-width: 479px)  { .sm-grow { grid-template-columns: 1fr; } }
.sm-gcard { --c: 74,143,255; height: 100%; padding: 1.2rem 1rem 1.3rem; border-radius: 1.1rem; background: linear-gradient(160deg, rgba(var(--c),.16), rgba(255,255,255,.03)); border: 1px solid rgba(var(--c),.3); transition: transform .3s var(--sm-ease), box-shadow .3s, border-color .3s; }
.sm-gcard:hover { transform: translateY(-6px); border-color: rgba(var(--c),.7); box-shadow: 0 20px 44px rgba(var(--c),.2); }
.sm-gcard.g { --c: 74,222,128; } .sm-gcard.p { --c: 167,139,250; }
.sm-gico { width: 2.9rem; height: 2.9rem; border-radius: .9rem; display: grid; place-items: center; margin-bottom: .9rem; color: rgb(var(--c)); background: rgba(var(--c),.14); transition: transform .3s var(--sm-ease), background .3s, color .3s; }
.sm-gico svg { width: 1.6rem; height: 1.6rem; }
.sm-gcard:hover .sm-gico { transform: rotate(-6deg) scale(1.08); background: rgb(var(--c)); color: #0B1240; }
.sm-gcard h3 { margin: 0 0 .45rem; font-size: .98rem; font-weight: 800; line-height: 1.25; color: #fff; }
.sm-gcard p { margin: 0; font-size: .8rem; line-height: 1.55; color: rgba(220,229,240,.72); }

/* ═════════ PLATFORMS ═════════ */
.sm-plat { display: grid; gap: 1rem; grid-template-columns: 1fr; margin: 2rem 0 0; padding: 0; list-style: none; }
@media (min-width: 640px)  { .sm-plat { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .sm-plat { grid-template-columns: repeat(4, 1fr); } }
.sm-pcard { --c: 221,42,123; height: 100%; padding: 1.3rem 1.2rem 1.4rem; border-radius: 1.1rem; background: linear-gradient(150deg, rgba(var(--c),.18), rgba(255,255,255,.03)); border: 1px solid rgba(var(--c),.34); transition: transform .3s var(--sm-ease), box-shadow .3s; }
.sm-pcard:hover { transform: translateY(-6px); box-shadow: 0 20px 44px rgba(var(--c),.22); }
.sm-pcard.fb { --c: 24,119,242; } .sm-pcard.li { --c: 10,102,194; } .sm-pcard.yt { --c: 255,60,60; }
.sm-phead { display: flex; align-items: center; gap: .65rem; margin-bottom: .7rem; }
.sm-pico { width: 2.4rem; height: 2.4rem; border-radius: .7rem; display: grid; place-items: center; color: #fff; font-weight: 900; font-size: 1.1rem; }
.sm-pico svg { width: 1.3rem; height: 1.3rem; }
.sm-phead h3 { margin: 0; font-size: 1.12rem; font-weight: 800; color: #fff; }
.sm-pcard p { margin: 0; font-size: .86rem; line-height: 1.6; color: rgba(220,229,240,.8); }

/* ═════════ DELIVERABLES + MEASURE ═════════ */
.sm-two { display: grid; gap: 2.6rem; }
@media (min-width: 1024px) { .sm-two { grid-template-columns: 1fr 1.25fr; gap: 0; } .sm-two > div + div { border-left: 1px solid rgba(255,255,255,.12); padding-left: 2.4rem; } .sm-two > div:first-child { padding-right: 2.4rem; } }
.sm-h3 { margin: 0; font-size: clamp(1.4rem, 1.1rem + 1.2vw, 1.85rem); font-weight: 900; letter-spacing: -.02em; color: #fff; }
.sm-deliv { display: grid; gap: .7rem; grid-template-columns: repeat(2, 1fr); margin: 1.4rem 0 0; padding: 0; list-style: none; }
@media (min-width: 560px) { .sm-deliv { grid-template-columns: repeat(3, 1fr); } }
.sm-dtile { height: 100%; display: flex; flex-direction: column; align-items: center; text-align: center; gap: .5rem; padding: 1rem .6rem; border-radius: 1rem; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); font-size: .76rem; font-weight: 700; line-height: 1.3; color: #E8EAF6; transition: transform .3s var(--sm-ease), border-color .3s, background .3s; }
.sm-dtile:hover { transform: translateY(-4px); border-color: rgba(74,143,255,.6); background: rgba(74,143,255,.1); }
.sm-dtile svg { width: 1.7rem; height: 1.7rem; color: #4A8FFF; }
.sm-dtile small { display: block; margin-top: .15rem; font-size: .62rem; font-weight: 500; color: rgba(200,205,235,.65); }
.sm-meas { display: grid; gap: 1.1rem; grid-template-columns: repeat(2, 1fr); margin: 1.4rem 0 0; padding: 0; list-style: none; }
@media (min-width: 720px) { .sm-meas { grid-template-columns: repeat(4, 1fr); } }
.sm-mitem { position: relative; display: flex; flex-direction: column; padding: .2rem .2rem .2rem 0; }
@media (min-width: 720px) { .sm-mitem + .sm-mitem { border-left: 1px solid rgba(255,255,255,.1); padding-left: .9rem; } }
.sm-mitem svg { width: 1.9rem; height: 1.9rem; color: #4A8FFF; margin-bottom: .5rem; }
.sm-mitem h3 { margin: 0 0 .35rem; font-size: .92rem; font-weight: 800; line-height: 1.25; color: #fff; }
.sm-mitem p { margin: 0; font-size: .76rem; line-height: 1.55; color: rgba(200,205,235,.72); }
.sm-spark { display: flex; align-items: flex-end; gap: 3px; height: 1.6rem; margin-top: auto; padding-top: .7rem; }
.sm-spark i { flex: 1; border-radius: 2px 2px 0 0; background: linear-gradient(180deg, #A3E635, #4A8FFF); transform-origin: bottom; transform: scaleY(0); }
.is-in .sm-spark i, html:not(.js) .sm-spark i { animation: sm-grow .9s var(--sm-ease) both; animation-delay: calc(.3s + var(--k, 0) * .09s); }
@keyframes sm-grow { from { transform: scaleY(0); } to { transform: scaleY(1); } }

/* ═════════ FAQ ═════════ */
.sm-faqwrap { display: grid; gap: 2rem; }
@media (min-width: 1024px) { .sm-faqwrap { grid-template-columns: 18rem 1fr; gap: 3rem; align-items: start; } }
.sm-faq { max-width: 48rem; display: grid; gap: .7rem; }
.sm-q { border-radius: 1rem; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); transition: border-color .25s, background .25s, box-shadow .25s; }
.sm-q:hover { border-color: rgba(74,143,255,.45); }
.sm-q[open] { background: rgba(255,255,255,.09); border-color: rgba(74,143,255,.6); box-shadow: 0 14px 38px rgba(10,90,223,.15); }
.sm-q summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 1rem; cursor: pointer; padding: 1rem 1.2rem; min-height: 3.2rem; font-size: .96rem; font-weight: 800; color: #fff; }
.sm-q summary::-webkit-details-marker { display: none; }
.sm-q summary svg { flex: none; width: 1.1rem; height: 1.1rem; color: #4A8FFF; transition: transform .3s var(--sm-ease); }
.sm-q[open] summary svg { transform: rotate(45deg); }
.sm-q summary:focus-visible { outline: 3px solid #4A8FFF; outline-offset: 2px; border-radius: 1rem; }
.sm-qa { padding: 0 1.2rem 1.1rem; font-size: .92rem; line-height: 1.7; color: rgba(220,229,240,.8); animation: seo-rise .35s var(--sm-ease) both; }
.sm-qa a { color: #74AAFF; text-decoration: underline; }

/* ═════════ CTA ═════════ */
.sm-cta { position: relative; overflow: hidden; display: grid; gap: 1.4rem; align-items: center; padding: 2rem 1.6rem; border-radius: 1.4rem; background: radial-gradient(ellipse 600px 300px at 0% 0%, rgba(10,90,223,.55), transparent 65%), linear-gradient(135deg, #1a2d6e, #0B1240); border: 1px solid rgba(255,255,255,.14); }
@media (min-width: 768px) { .sm-cta { grid-template-columns: auto 1fr auto; padding: 2.2rem 2.6rem; gap: 2rem; } }
.sm-mega { width: 5.6rem; height: 5.6rem; color: #C9D6E8; }
.sm-mega .arc { transform-box: fill-box; transform-origin: left center; animation: sm-sound 1.8s ease-out infinite; opacity: 0; }
.sm-mega .arc:nth-of-type(2) { animation-delay: .3s; } .sm-mega .arc:nth-of-type(3) { animation-delay: .6s; }
@keyframes sm-sound { 0% { opacity: 0; transform: scale(.6); } 30% { opacity: 1; } 100% { opacity: 0; transform: scale(1.25); } }
.sm-mega .horn { transform-box: fill-box; transform-origin: center; animation: sm-wiggle 3.6s ease-in-out infinite; }
@keyframes sm-wiggle { 0%, 70%, 100% { transform: rotate(0); } 76% { transform: rotate(-6deg); } 84% { transform: rotate(5deg); } 92% { transform: rotate(-3deg); } }
.sm-cta h2 { margin: 0; font-size: clamp(1.5rem, 1.15rem + 1.4vw, 2.2rem); font-weight: 900; line-height: 1.15; color: #fff; }
.sm-cta p { margin: .6rem 0 0; font-size: 1rem; line-height: 1.6; color: rgba(255,255,255,.8); }

/* ═════════ REDUCED MOTION ═════════ */
@media (prefers-reduced-motion: reduce) {
  .sm-phone, .sm-card, .sm-badge, .sm-glow, .sm-story, .sm-story i, .sm-laptop .scr i, .sm-actions .sm-heart, .sm-card-r .play, .sm-card-r .prog i,
  .sm-mega .arc, .sm-mega .horn, .sm-hero-copy > *, .sm-crumb .sm-dot { animation: none !important; }
  .sm-bubble, .sm-toast { animation: none !important; opacity: 0; }
  .sm-spark i { animation: none !important; transform: none; }
  .js .sm-reveal { opacity: 1 !important; transform: none !important; transition: none; }
  .sm-hl::after { transform: scaleX(1) !important; animation: none !important; }
}

/* ═════════ PROCESS WORKFLOW — scene-specific motion (the player itself is css/workflow-player.css) ═════════ */
.pw-scene .sw-cur, .pw-scene .sw-env, .pw-scene .sw-mag { opacity: 0; }
/* scene 3: the client's cursor goes to "Approve" and clicks */
.pw-scene.is-active .sw-cur { animation: sw-cur 4.8s 2.6s ease-in-out both; }
@keyframes sw-cur {
  0%   { opacity: 0; transform: translate(950px, 430px); }
  8%   { opacity: 1; transform: translate(950px, 430px); }
  60%  { opacity: 1; transform: translate(860px, 348px); }
  66%  { opacity: 1; transform: translate(860px, 348px) scale(.82); }
  72%  { opacity: 1; transform: translate(860px, 348px) scale(1); }
  88%  { opacity: 1; transform: translate(860px, 348px); }
  100% { opacity: 0; transform: translate(900px, 392px); }
}
/* scene 1: magnifier sweeps the profile while the audit flags appear */
.pw-scene.is-active .sw-mag { animation: sw-mag 4.4s 3.6s ease-in-out both; }
@keyframes sw-mag {
  0%   { opacity: 0; transform: translate(708px, 106px); }
  10%  { opacity: 1; transform: translate(716px, 108px); }
  38%  { opacity: 1; transform: translate(800px, 98px); }
  62%  { opacity: 1; transform: translate(886px, 126px); }
  86%  { opacity: 1; transform: translate(780px, 142px); }
  100% { opacity: 0; transform: translate(756px, 150px); }
}
/* scene 5: the report envelope flies to the client */
.pw-scene.is-active .sw-env { animation: sw-env 1.3s 6.0s ease-in-out both; }
@keyframes sw-env {
  0%   { opacity: 0; transform: translate(618px, 262px) scale(.4); }
  12%  { opacity: 1; transform: translate(638px, 242px) scale(1); }
  50%  { opacity: 1; transform: translate(716px, 196px) scale(1.05); }
  82%  { opacity: 1; transform: translate(790px, 158px) scale(1); }
  100% { opacity: 0; transform: translate(812px, 134px) scale(.4); }
}
@media (prefers-reduced-motion: reduce) { .pw-scene .sw-cur, .pw-scene .sw-env, .pw-scene .sw-mag { animation: none !important; opacity: 0; } }
