/* AVESTA Cloud — AWS product pages (first used by the Lightsail DB template). Since 2.0.28 */
.avc-product{--pd-ink:#081b33;--pd-muted:#52657a;--pd-primary:#45b6fe;--pd-accent:#0878b9;--pd-line:#dce9f2;--pd-soft:linear-gradient(115deg,#f1f7fc,#edf5fc);--pd-btn:linear-gradient(115deg,#62c8fa 0%,#45b6fe 45%,#168dce 100%);--pd-top:calc(var(--wp-admin--admin-bar--height,0px) + 96px);color:var(--pd-ink);background:#fff;overflow-x:clip;margin:0!important}
.avc-product *{box-sizing:border-box}
.avc-product>*,.avc-product .pd-section>*{margin-block:0}
.avc-product :is(h1,h2,h3,p,figure,ul){margin:0}
.avc-product a{text-decoration:none}
.avc-product [id]{scroll-margin-top:calc(var(--pd-top) + 16px)}

/* Layout */
.pd-section{padding:96px 24px}
.pd-section.pd-soft{background:var(--pd-soft)}
.pd-wrap{max-width:1184px;margin:0 auto}
.avc-product .pd-section>.pd-head{max-width:800px;margin:0 auto 56px;text-align:center;display:flex;flex-direction:column;align-items:center;gap:16px}
.pd-head>*{margin:0!important}

/* Type */
.pd-eyebrow{display:inline-flex;align-items:center;padding:5px 12px;border:1px solid #b9dfff;border-radius:80px;background:#eaf6ff;color:var(--pd-primary)!important;font-size:13px!important;font-weight:500;line-height:1.5;letter-spacing:.05em;text-transform:uppercase}
.avc-product h1{font-size:clamp(34px,4.4vw,54px);font-weight:500;line-height:1.25;letter-spacing:-1px;color:var(--pd-ink)}
.avc-product h2{font-size:clamp(26px,3vw,36px);font-weight:500;line-height:1.35;color:var(--pd-ink)}
.avc-product h3{font-size:19px;font-weight:500;line-height:1.45;color:var(--pd-ink)}
.avc-product p{font-size:16px;line-height:1.8;color:var(--pd-muted)}
.pd-lead{font-size:clamp(18px,1.7vw,21px)!important;line-height:1.6!important;color:var(--pd-ink)!important;font-weight:500}
.pd-hl{background:linear-gradient(115deg,#45b6fe,#168dce);-webkit-background-clip:text;background-clip:text;color:transparent}

/* Breadcrumb */
.pd-crumbs ol{display:flex;flex-wrap:wrap;align-items:center;gap:6px 8px;list-style:none;margin:0;padding:0;font-size:14px;color:var(--pd-muted)}
.pd-crumbs li{display:flex;align-items:center;gap:8px}
.pd-crumbs li+li::before{content:"";width:6px;height:6px;border-top:1.5px solid #9fb3c6;border-right:1.5px solid #9fb3c6;transform:rotate(45deg)}
.pd-crumbs a{color:var(--pd-muted)!important}.pd-crumbs a:hover{color:var(--pd-accent)!important}
.pd-crumbs [aria-current]{color:var(--pd-ink);font-weight:500}

/* Hero */
.pd-hero{position:relative;padding:40px 24px 96px;background:radial-gradient(48% 70% at 78% 38%,#dff1ff 0%,rgba(223,241,255,0) 70%),radial-gradient(40% 60% at 10% 90%,#eef7ff 0%,rgba(238,247,255,0) 70%),#fff;isolation:isolate}
.pd-hero::before{content:"";position:absolute;inset:0;z-index:-1;background-image:linear-gradient(#e7f1f9 1px,transparent 1px),linear-gradient(90deg,#e7f1f9 1px,transparent 1px);background-size:56px 56px;mask-image:radial-gradient(70% 70% at 70% 40%,#000 0%,transparent 75%);-webkit-mask-image:radial-gradient(70% 70% at 70% 40%,#000 0%,transparent 75%);opacity:.7}
.pd-hero-grid{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:56px;align-items:center;margin-top:48px}
.pd-hero-copy{display:flex;flex-direction:column;align-items:flex-start;gap:20px}
.pd-hero-copy>*{margin:0!important}
.pd-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:8px!important}

/* Hero visual card */
.pd-visual{position:relative;padding:1px;border-radius:28px;background:linear-gradient(140deg,#bfe4ff,#e8f4ff 40%,#9ed7ff);box-shadow:0 30px 60px #17395724}
.pd-visual-in{border-radius:27px;background:linear-gradient(180deg,#ffffff,#f5faff);padding:28px;display:grid;gap:20px}
.pd-visual-top{display:flex;align-items:center;justify-content:space-between;gap:12px}
.pd-visual-title{display:flex;align-items:center;gap:12px;font-weight:500;color:var(--pd-ink);font-size:17px}
.pd-visual-title span{display:grid;place-items:center;width:44px;height:44px;border-radius:12px;background:var(--pd-btn);color:#fff;box-shadow:0 8px 18px #168dce33}
.pd-status{display:inline-flex;align-items:center;gap:6px;padding:4px 10px;border-radius:80px;background:#e9f9f1;color:#178a55;font-size:12px;font-weight:500}
.pd-status::before{content:"";width:7px;height:7px;border-radius:50%;background:#22b573;box-shadow:0 0 0 3px #22b57333}
.pd-specs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.pd-spec{display:grid;gap:10px;padding:16px;border:1px solid var(--pd-line);border-radius:16px;background:#fff}
.pd-spec small{font-size:12px;letter-spacing:.06em;text-transform:uppercase;color:var(--pd-muted)}
.pd-spec b{font-weight:500;font-size:16px;color:var(--pd-ink)}
.pd-bar{height:6px;border-radius:6px;background:#eaf3fa;overflow:hidden}.pd-bar i{display:block;height:100%;border-radius:inherit;background:var(--pd-btn)}
.pd-visual-foot{display:flex;flex-wrap:wrap;gap:8px}

/* Chips */
.pd-chips{display:flex;flex-wrap:wrap;gap:10px;list-style:none;padding:0;margin:0}
.pd-chip,.pd-chips li{display:inline-flex;align-items:center;gap:8px;padding:8px 14px;border:1px solid var(--pd-line);border-radius:80px;background:#fff;font-size:14px;font-weight:500;color:var(--pd-ink);line-height:1.4}
.pd-chips li::before{content:"";width:6px;height:6px;border-radius:50%;background:var(--pd-primary)}

/* Overview */
.pd-overview{max-width:820px;margin:0 auto}
.pd-overview-copy{display:grid;justify-items:center;gap:18px;text-align:center}
.pd-overview-copy>*{margin:0!important}

/* Cards */
.pd-grid{display:grid;gap:24px}
.pd-grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}
.pd-card{position:relative;display:flex;flex-direction:column;gap:12px;height:100%;padding:40px;background:#fff;border:1px solid var(--pd-line);border-radius:20px;box-shadow:0 14px 36px #17395714;transition:transform .3s cubic-bezier(.22,.61,.36,1),box-shadow .3s ease,border-color .3s ease}
.pd-card:hover{transform:translateY(-4px);border-color:#b9dfff;box-shadow:0 20px 44px #17395722}
.pd-card>*{margin:0!important}
.pd-card h3 small{display:block;margin-top:2px;font-size:15px;font-weight:400;color:var(--pd-accent)}
.pd-card-icon{width:64px;height:64px;border-radius:16px;overflow:hidden;box-shadow:0 8px 18px #4a5fd02e,0 2px 5px #0a254014}
.pd-card-icon img{display:block;width:100%;height:100%;object-fit:cover}
.pd-card-icon.is-bare{width:84px;height:84px;margin:-10px;border-radius:0;overflow:visible;box-shadow:none}
.pd-card-icon.is-bare img{object-fit:contain}
.pd-num{position:absolute;top:32px;right:32px;font-size:13px;font-weight:500;color:#9fb3c6;letter-spacing:.06em}
.pd-label{font-size:13px!important;font-weight:500;letter-spacing:.06em;text-transform:uppercase;color:var(--pd-primary)!important;line-height:1.5!important}

/* AWS hub: 2-column cards, "more" link, hero thumbnail tiles */
.pd-grid-2{grid-template-columns:repeat(2,minmax(0,1fr))}
.pd-grid-2.pd-wrap{max-width:960px}
.pd-more{display:inline-flex;align-items:center;gap:6px;margin-top:6px!important;font-size:15px;font-weight:500;color:var(--pd-accent)!important}
.pd-more [aria-hidden]{transition:transform .25s ease}
.pd-more:hover [aria-hidden],.pd-more:focus-visible [aria-hidden]{transform:translateX(4px)}
.avc-product .screen-reader-text{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
/* AWS hub hero: floating service icons (no card frames) with bob, ground shadow and parallax layers */
.pd-fi-stage{position:relative;width:100%;max-width:540px;margin:0 auto;aspect-ratio:1/.92}
.pd-fi-stage .pd-fi-layer{position:absolute;will-change:transform}
.pd-fi-glow{width:72%;height:72%;left:14%;top:12%;border-radius:50%;background:radial-gradient(circle,#bfe4ff 0,#e3f3ff 50%,transparent 72%);filter:blur(10px);opacity:.9;pointer-events:none}
.pd-fi-dots{inset:4% 2%;background-image:radial-gradient(#cfe6f7 1.4px,transparent 1.6px);background-size:22px 22px;-webkit-mask-image:radial-gradient(ellipse at center,#000 35%,transparent 70%);mask-image:radial-gradient(ellipse at center,#000 35%,transparent 70%);pointer-events:none}
.pd-fi-spark{width:10px;height:10px;border-radius:50%;background:linear-gradient(135deg,#1584ec,#49bcff);box-shadow:0 0 14px #45b6fe;animation:pd-bob 4s ease-in-out infinite}
.pd-fi-icon .pd-fi-bob{position:relative;animation:pd-bob 6s ease-in-out infinite}
.pd-fi-icon img{position:relative;z-index:1;display:block;width:100%;height:auto;filter:drop-shadow(0 18px 22px #1739571f);transition:transform .35s cubic-bezier(.22,.61,.36,1);user-select:none;-webkit-user-drag:none}
.pd-fi-icon:hover img{transform:scale(1.06)}
.pd-fi-shadow{position:absolute;left:18%;right:18%;bottom:-4%;height:9%;border-radius:50%;background:radial-gradient(ellipse at center,#16395733 0,transparent 70%);animation:pd-ground 6s ease-in-out infinite}
.pd-fi-1{left:0;top:4%;width:46%}
.pd-fi-2{right:2%;top:14%;width:40%;opacity:.96}
.pd-fi-3{left:6%;bottom:2%;width:40%;opacity:.96}
.pd-fi-4{right:0;bottom:-2%;width:46%}
.pd-fi-2 :is(.pd-fi-bob,.pd-fi-shadow){animation-delay:-1.5s}
.pd-fi-3 :is(.pd-fi-bob,.pd-fi-shadow){animation-delay:-3s}
.pd-fi-4 :is(.pd-fi-bob,.pd-fi-shadow){animation-delay:-4.5s}
.pd-fi-paused,.pd-fi-paused *{animation-play-state:paused!important}
@keyframes pd-bob{0%,100%{transform:translateY(0)}50%{transform:translateY(-12px)}}
@keyframes pd-ground{0%,100%{transform:scale(1);opacity:.9}50%{transform:scale(.78);opacity:.55}}

/* Feature cards: white card, centred text on top, full-width square image at the bottom */
.pd-feature{padding:0;overflow:hidden;background:#fff}
.pd-feature .pd-body{display:flex;flex-direction:column;align-items:center;gap:10px;padding:36px 40px 20px;text-align:center}
.pd-feature .pd-body>*{margin:0!important}
.pd-media{margin:0;overflow:hidden}
.pd-media img{display:block;width:100%;height:100%;object-fit:cover}
/* Feature image: 300x300, centred under the text (shrinks only if the card is narrower) */
.pd-art{display:flex;justify-content:center;margin-top:auto!important;padding:8px 5px 28px;background:#fff}
.pd-media.pd-art img{width:300px;height:auto;max-width:100%;aspect-ratio:1/1;border-radius:15px}
/* EC2 hero: framed photo with floating status badges */
.pd-photo .pd-visual-in{padding:14px 14px 18px;gap:16px}
.pd-photo img{display:block;width:100%;height:auto;aspect-ratio:16/10;object-fit:cover;border-radius:18px}
.pd-photo .pd-visual-foot{padding:0 6px}
.pd-float{position:absolute;display:flex;align-items:center;gap:10px;padding:10px 16px;background:#fff;border:1px solid var(--pd-line);border-radius:14px;box-shadow:0 16px 34px #17395729;font-size:14px;font-weight:500;color:var(--pd-ink);white-space:nowrap}
.pd-float i{width:10px;height:10px;border-radius:50%;background:#22c55e;box-shadow:0 0 0 4px #22c55e2e}
.pd-float svg{color:var(--pd-accent)}
.pd-float-a{left:-22px;bottom:84px}
.pd-float-b{right:-18px;top:30px}
/* AWS hub: horizontal service cards (image left, text right), 2 per row */
.pd-grid-2.pd-wrap{max-width:1184px}
.pd-grid-2 .pd-feature{flex-direction:row;align-items:center;gap:0}
.pd-grid-2 .pd-feature .pd-art{order:-1;flex:0 0 42%;align-self:stretch;align-items:center;margin:0!important;padding:20px 0 20px 20px}
.pd-grid-2 .pd-feature .pd-art img{width:100%}
.pd-grid-2 .pd-feature .pd-body{flex:1 1 0;min-width:0;align-items:flex-start;padding:28px 32px 28px 28px;text-align:left}

/* Scroll reveal: fade + rise. Uses `translate` so it never fights hover `transform`. Only active once JS adds .pd-reveal-on */
.pd-reveal-on .pd-reveal{opacity:0;translate:0 28px;transition:opacity .7s cubic-bezier(.22,.61,.36,1),translate .7s cubic-bezier(.22,.61,.36,1)}
.pd-reveal-on .pd-reveal.is-in{opacity:1;translate:0 0}

/* Buttons */
.pd-btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:52px;padding:14px 26px;border:0;border-radius:80px;font:500 15px/1.4 "Noto Sans Thai",sans-serif;cursor:pointer;transition:transform .25s cubic-bezier(.22,.61,.36,1),box-shadow .25s ease,background-color .25s ease}
.pd-btn-primary{background:var(--pd-btn);color:#fff!important;box-shadow:0 4px 14px #168dce22}
.pd-btn-ghost{background:#fff;color:var(--pd-accent)!important;border:1px solid #b9dfff}
.pd-btn:hover,.pd-btn:focus-visible{transform:scale(1.04)}
.pd-btn-primary:hover,.pd-btn-primary:focus-visible{color:#fff!important;box-shadow:0 8px 22px #168dce33}
.pd-btn-ghost:hover,.pd-btn-ghost:focus-visible{background:#f1f8fc}
.avc-product :is(a,button):focus-visible{outline:2px solid var(--pd-accent);outline-offset:4px}

/* Contact CTA: dark "Split Glow" card. Desktop/tablet show checklist + contact panel; mobile shows big buttons + status line */
.pd-cx{position:relative;overflow:hidden;max-width:1184px;margin:0 auto;display:grid;grid-template-columns:1.15fr .85fr;gap:40px;align-items:center;padding:56px;border-radius:32px;background:linear-gradient(125deg,#071c33 0%,#0b3a66 55%,#0a5f9e 100%);box-shadow:0 30px 70px #0a254045;color:#fff}
.pd-cx-bg{position:absolute;inset:0;pointer-events:none}
.pd-cx-bg i{position:absolute;border-radius:50%;filter:blur(50px)}
.pd-cx-bg i:nth-child(1){width:360px;height:360px;right:-80px;top:-120px;background:#2aa3f5;opacity:.55;animation:pd-cx-drift 14s ease-in-out infinite}
.pd-cx-bg i:nth-child(2){width:300px;height:300px;left:-100px;bottom:-140px;background:#1f6fd1;opacity:.5;animation:pd-cx-drift 16s ease-in-out infinite reverse}
.pd-cx-bg::after{content:"";position:absolute;inset:0;background-image:linear-gradient(#ffffff0d 1px,transparent 1px),linear-gradient(90deg,#ffffff0d 1px,transparent 1px);background-size:40px 40px;-webkit-mask-image:linear-gradient(90deg,transparent,#000 40%,#000 70%,transparent);mask-image:linear-gradient(90deg,transparent,#000 40%,#000 70%,transparent)}
.pd-cx-copy{position:relative;display:grid;gap:18px}
.pd-cx-copy>*,.pd-cx-panel>*,.pd-cx-mobile>*{margin:0!important}
.avc-product .pd-cx .pd-eyebrow{justify-self:start;background:#ffffff14;border-color:#ffffff40;color:#cfe3f5!important}
.avc-product .pd-cx h2{font-size:clamp(28px,3.6vw,44px);line-height:1.25;font-weight:500;color:#fff;text-wrap:balance}
.pd-cx h2 span{background:linear-gradient(110deg,#7fd0ff,#c8ecff 60%,#7fd0ff);-webkit-background-clip:text;background-clip:text;color:transparent}
.avc-product .pd-cx-lead{font-size:17px;color:#cfe3f5}
.pd-cx-check{display:grid;gap:10px;padding:0!important;list-style:none}
.pd-cx-check li{display:flex;align-items:flex-start;gap:10px;margin:0;font-size:15px;line-height:1.6;color:#e6f2fb}
.pd-cx-check svg{flex:none;margin-top:3px}
.pd-cx-panel{position:relative;display:grid;gap:12px;padding:24px;border-radius:24px;background:#ffffff12;border:1px solid #ffffff2e;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}
.avc-product .pd-cx-panel>p{font-size:14px;letter-spacing:.04em;color:#a9cbe6}
.pd-cx-row{display:flex;align-items:center;gap:14px;padding:14px 16px;border-radius:16px;background:#ffffff0f;border:1px solid #ffffff1f;color:#fff!important;text-decoration:none!important;transition:background .25s,transform .25s}
.pd-cx-row:hover,.pd-cx-row:focus-visible{background:#ffffff24;transform:translateX(4px)}
.pd-cx-ic{flex:none;display:grid;place-items:center;width:44px;height:44px;border-radius:12px;background:linear-gradient(135deg,#1584ec,#49bcff);box-shadow:0 8px 18px #0a254055}
.pd-cx-ic.is-line{background:linear-gradient(135deg,#06c755,#3ee07f)}
.pd-cx-row b{display:block;font-size:16px;font-weight:500}
.pd-cx-row small{display:block;font-size:13px;color:#a9cbe6}
.pd-cx-arr{margin-left:auto;opacity:.6;transition:transform .25s,opacity .25s}
.pd-cx-row:hover .pd-cx-arr,.pd-cx-row:focus-visible .pd-cx-arr{transform:translateX(4px);opacity:1}
.pd-cx-row.is-primary{background:#fff;border-color:#fff;color:#0a3d6b!important}
.pd-cx-row.is-primary small{color:#3b6a8f}
.pd-cx-row.is-primary:hover,.pd-cx-row.is-primary:focus-visible{background:#f1f8fc}
.pd-cx-shine{position:relative;overflow:hidden;isolation:isolate}
.pd-cx-shine::after{content:"";position:absolute;inset:0;width:40%;background:linear-gradient(90deg,transparent,#ffffffb3,transparent);animation:pd-cx-shine 3.6s ease-in-out infinite;z-index:-1}
.pd-cx-mobile{display:none}
.pd-cx-actions{display:grid;gap:12px}
.pd-cx .pd-cx-actions .pd-btn{width:100%;min-height:58px;font-size:16px}
.pd-cx .pd-btn-primary{background:#fff;color:#0a3d6b!important;box-shadow:0 12px 28px #0a254066}
.pd-cx .pd-btn-ghost{background:transparent;color:#fff!important;border-color:#ffffff8c}
.pd-cx .pd-btn-ghost:hover,.pd-cx .pd-btn-ghost:focus-visible{background:#ffffff1f}
.pd-cx-meta{display:grid;justify-items:center;gap:8px;font-size:14px;color:#cfe3f5}
.pd-cx-meta span{display:inline-flex;align-items:center;gap:8px}
.pd-cx-meta a{color:#fff!important;border-bottom:1px solid #ffffff59;text-decoration:none!important}
.pd-cx-dot{position:relative;width:8px;height:8px;border-radius:50%;background:#22c55e}
.pd-cx-dot::after{content:"";position:absolute;inset:0;border-radius:50%;background:#22c55e;animation:pd-cx-ping 1.8s ease-out infinite}
.avc-product .pd-cx :is(a,button):focus-visible{outline-color:#7fd0ff}
@keyframes pd-cx-drift{0%,100%{transform:translate(0,0) scale(1)}50%{transform:translate(30px,-20px) scale(1.12)}}
@keyframes pd-cx-shine{0%{transform:translateX(-120%) skewX(-20deg)}60%,100%{transform:translateX(260%) skewX(-20deg)}}
@keyframes pd-cx-ping{0%{transform:scale(1);opacity:.7}100%{transform:scale(2.4);opacity:0}}
@media(max-width:1024px){.pd-cx{grid-template-columns:1fr;gap:32px;padding:44px 32px}}
@media(max-width:640px){.pd-cx{gap:0;padding:40px 22px 32px;border-radius:24px;text-align:center}.pd-cx-copy{justify-items:center}.avc-product .pd-cx .pd-eyebrow{justify-self:center}.pd-cx-check,.pd-cx-panel{display:none}.pd-cx-mobile{display:grid;gap:22px;width:100%;margin-top:6px!important}}
@media(prefers-reduced-motion:reduce){.pd-cx *,.pd-cx *::before,.pd-cx *::after{animation:none!important;transition:none!important}}

@media(max-width:1024px){.avc-product{--pd-top:calc(var(--wp-admin--admin-bar--height,0px) + 72px)}.pd-section{padding:80px 20px}.pd-hero{padding:32px 20px 80px}.pd-hero-grid{grid-template-columns:1fr;gap:40px}.pd-grid-3{grid-template-columns:repeat(2,minmax(0,1fr))}.pd-card{padding:36px}.pd-feature{padding:0}.pd-feature .pd-body{padding:32px 36px 20px}}
@media(max-width:1024px){.pd-float-a{left:12px}.pd-float-b{right:12px}.pd-grid-3>:last-child:nth-child(odd){grid-column:1/-1}.pd-fi-stage{max-width:480px}.pd-grid-2{grid-template-columns:1fr}.pd-grid-2.pd-wrap{max-width:760px}}
@media(max-width:560px){.pd-float{padding:8px 12px;font-size:13px}.pd-float-a{display:none}.pd-float-b{top:22px}.pd-grid-2 .pd-feature{flex-direction:column}.pd-grid-2 .pd-feature .pd-art{order:0;flex:none;align-self:center;padding:4px 5px 24px}.pd-grid-2 .pd-feature .pd-art img{width:260px}.pd-grid-2 .pd-feature .pd-body{align-items:center;padding:28px 24px 14px;text-align:center}}
@media(max-width:640px){.pd-grid-2{grid-template-columns:1fr}}
@media(max-width:640px){.pd-section{padding:64px 16px}.pd-hero{padding:24px 16px 64px}.pd-hero-grid{margin-top:32px}.pd-grid-3{grid-template-columns:1fr}.pd-card{padding:28px}.pd-feature{padding:0}.pd-feature .pd-body{padding:28px 28px 18px}.pd-num{top:24px;right:24px}.avc-product .pd-section>.pd-head{margin-bottom:40px}.pd-visual-in{padding:20px}.pd-specs{gap:10px}.pd-spec{padding:12px}.pd-actions,.pd-cta-actions{width:100%}.pd-actions .pd-btn,.pd-cta-actions .pd-btn{flex:1 1 100%}}
@media(prefers-reduced-motion:reduce){.pd-fi-stage *{animation:none!important;transition:none!important}.pd-reveal-on .pd-reveal{opacity:1;translate:none;transition:none}.pd-card,.pd-btn{transition:none}.pd-card:hover,.pd-btn:hover,.pd-btn:focus-visible{transform:none}}

/* ===== RDS page ===== */
.pd-rds-hero h1{font-size:clamp(48px,6.4vw,80px)!important;line-height:1.05!important}
.avc-product .pd-rds-tag{font-size:clamp(18px,1.8vw,22px);font-weight:500;color:var(--pd-ink)}
.pd-engines{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.pd-engines span{padding:6px 12px;border-radius:999px;background:#fff;border:1px solid var(--pd-line);font-size:13px;color:#33536e;box-shadow:0 4px 10px #17395710}
.pd-engines .pd-engines-label{padding:0 4px 0 0;background:none;border:0;box-shadow:none;color:#5b7186}
.pd-engines.is-center{justify-content:center}
.avc-product .pd-engines-title{margin-top:8px!important;font-size:14px;font-weight:500;letter-spacing:.04em;color:#5b7186}
/* hero stage: platform, rings with orbiting engine names, status chips */
.pd-rds-rings{inset:0}
.pd-rds-ring{position:absolute;left:50%;top:44%;aspect-ratio:1;border-radius:50%;border:1.5px dashed #9fcdf0;translate:-50% -50%;animation:pd-spin 40s linear infinite}
.pd-rds-ring.r1{width:64%}
.pd-rds-ring.r2{width:90%;border-color:#d3e8f7;animation-duration:70s;animation-direction:reverse}
.pd-rds-ring i{position:absolute;padding:4px 10px;border-radius:999px;background:#fff;border:1px solid var(--pd-line);font-size:12px;font-style:normal;font-weight:500;color:#1d5f94;white-space:nowrap;box-shadow:0 6px 14px #1739571a;translate:-50% -50%;animation:pd-spin 40s linear infinite reverse}
.pd-rds-ring .o1{left:50%;top:0}.pd-rds-ring .o2{left:100%;top:50%}.pd-rds-ring .o3{left:50%;top:100%}.pd-rds-ring .o4{left:0;top:50%}
.pd-rds-core{left:32%;top:25%;width:36%}
.pd-rds-core img{display:block;width:100%;height:auto;filter:drop-shadow(0 26px 30px #168dce47) drop-shadow(0 6px 10px #0a254026)}
.pd-rds-chip{display:flex;align-items:center;gap:10px;padding:10px 14px;border-radius:16px;background:#ffffffeb;border:1px solid var(--pd-line);box-shadow:0 16px 34px #17395722;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);white-space:nowrap;animation:pd-bob 6s ease-in-out infinite}
.pd-rds-chip b{display:block;font-size:14px;font-weight:500;line-height:1.3;color:var(--pd-ink)}
.pd-rds-chip small{display:flex;align-items:center;gap:6px;font-size:12px;line-height:1.4;color:#5b7186}
.pd-rds-ic{flex:none;display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:linear-gradient(135deg,#1584ec,#49bcff);color:#fff;box-shadow:0 6px 14px #168dce40}
.pd-rds-c1{left:0;top:6%}
.pd-rds-c2{right:0;top:71%}.pd-rds-c2 .pd-rds-chip{animation-delay:-2s}
.pd-rds-c3{left:6%;bottom:4%}.pd-rds-c3 .pd-rds-chip{animation-delay:-4s}
.pd-rds-bars{display:flex;align-items:flex-end;gap:3px;height:22px;margin-left:4px}
.pd-rds-bars i{width:4px;height:40%;border-radius:2px;background:linear-gradient(#49bcff,#1584ec);animation:pd-rds-bar 1.4s ease-in-out infinite}
.pd-rds-bars i:nth-child(2){animation-delay:-.3s}.pd-rds-bars i:nth-child(3){animation-delay:-.6s}.pd-rds-bars i:nth-child(4){animation-delay:-.9s}.pd-rds-bars i:nth-child(5){animation-delay:-1.2s}
@keyframes pd-spin{to{transform:rotate(360deg)}}
@keyframes pd-rds-bar{0%,100%{height:30%}50%{height:100%}}
/* stats strip inside the hero */
.pd-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));margin-top:56px;padding:22px 8px;border-radius:24px;background:#ffffffcc;border:1px solid var(--pd-line);box-shadow:0 18px 40px #17395714;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}
.pd-stat{display:grid;align-content:start;gap:6px;padding:4px 22px;border-left:1px solid var(--pd-line)}
.pd-stat:first-child{border-left:0}
.pd-stat b{font-size:clamp(26px,2.8vw,36px);font-weight:500;line-height:1.15;background:linear-gradient(115deg,#45b6fe,#168dce);-webkit-background-clip:text;background-clip:text;color:transparent;font-variant-numeric:tabular-nums}
.pd-stat span{font-size:14px;line-height:1.55;color:#4a6378}
/* feature cards with a small category label */
.pd-feat .pd-label{margin-top:4px!important}
/* compare table */
.avc-product .pd-compare{max-width:980px;margin:0 auto;overflow:hidden;border-radius:24px;background:#fff;border:1px solid var(--pd-line);box-shadow:0 18px 40px #17395714}
.avc-product .pd-compare table{width:100%;margin:0;border-collapse:collapse;font-size:15px;line-height:1.6}
.avc-product .pd-compare :is(th,td){padding:16px 22px;border:0;border-bottom:1px solid var(--pd-line);text-align:left;vertical-align:top}
.avc-product .pd-compare thead th{font-size:14px;font-weight:500;color:#5b7186;background:#f7fbfe}
.avc-product .pd-compare thead th.is-rds{background:linear-gradient(135deg,#1584ec,#49bcff);color:#fff}
.avc-product .pd-compare tbody th{font-weight:500;color:var(--pd-ink)}
.avc-product .pd-compare td{color:#5b7186}
.avc-product .pd-compare td.is-rds{position:relative;padding-left:48px;background:#f0f8ff;color:var(--pd-ink);font-weight:500}
.avc-product .pd-compare td.is-rds::before{content:"";position:absolute;left:20px;top:19px;width:18px;height:18px;border-radius:50%;background:#168dce url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center/11px no-repeat}
.avc-product .pd-compare tr.is-shared td.is-rds{background:#f7fbfe;color:#5b7186;font-weight:400}
.avc-product .pd-compare tr.is-shared td.is-rds::before{background-color:#9fb3c6}
.avc-product .pd-compare tbody tr:last-child :is(th,td){border-bottom:0}
/* use cases */
.pd-uses{grid-template-columns:repeat(4,minmax(0,1fr))}
.pd-use{padding:32px 28px}
.pd-use-ic{display:grid;place-items:center;width:48px;height:48px;border-radius:14px;background:#eaf5fd;color:var(--pd-accent)}
/* FAQ */
.pd-faq{display:grid;gap:12px;max-width:860px;margin:0 auto}
.pd-faq details{border-radius:18px;background:#fff;border:1px solid var(--pd-line);box-shadow:0 10px 24px #1739570f;transition:box-shadow .25s,border-color .25s}
.pd-faq details[open]{border-color:#b9dfff;box-shadow:0 16px 34px #17395718}
.pd-faq summary{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px 24px;list-style:none;cursor:pointer;font-size:17px;font-weight:500;line-height:1.5;color:var(--pd-ink)}
.pd-faq summary::-webkit-details-marker{display:none}
.pd-faq summary::after{content:"";flex:none;width:30px;height:30px;border-radius:50%;background:#eaf5fd url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23168dce' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center/14px no-repeat;transition:transform .25s}
.pd-faq details[open] summary::after{transform:rotate(45deg)}
.avc-product .pd-faq details p{margin:0 24px 22px!important;line-height:1.75;color:#4a6378}
@media(max-width:1024px){.pd-stats{grid-template-columns:repeat(2,minmax(0,1fr));row-gap:18px}.pd-stat:nth-child(odd){border-left:0}.pd-uses{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.pd-stats{margin-top:40px;padding:18px 4px}.pd-stat{padding:4px 14px}.pd-stat span{font-size:13px}
 .pd-rds-chip{gap:8px;padding:7px 10px;border-radius:12px}.pd-rds-ic{width:28px;height:28px;border-radius:8px}.pd-rds-ic svg{width:15px;height:15px}.pd-rds-chip b{font-size:12px}.pd-rds-chip small{font-size:11px}.pd-rds-bars{display:none}.pd-rds-ring i{font-size:10px;padding:3px 8px}
 .pd-uses{grid-template-columns:1fr}
 .avc-product .pd-compare thead{display:none}
 .avc-product .pd-compare :is(table,tbody,tr,th,td){display:block}
 .avc-product .pd-compare tr{padding:18px 18px 14px;border-bottom:1px solid var(--pd-line)}
 .avc-product .pd-compare tbody tr:last-child{border-bottom:0}
 .avc-product .pd-compare :is(th,td){padding:0;border:0!important}
 .avc-product .pd-compare tbody th{margin-bottom:8px;font-size:16px}
 .avc-product .pd-compare td{margin-top:6px}
 .avc-product .pd-compare td::before{display:none}
 .avc-product .pd-compare td.is-rds{padding:8px 12px 8px 38px;border-radius:12px}
 .avc-product .pd-compare td.is-rds::before{display:block;left:12px;top:11px}
 .avc-product .pd-compare td:not(.is-rds){padding-left:2px}
 .avc-product .pd-compare td:not(.is-rds)::after{content:" (ดูแลเอง)";font-size:12px;color:#7a91a5}
 .pd-faq summary{padding:18px;font-size:16px}.avc-product .pd-faq details p{margin:0 18px 18px!important}}
@media(prefers-reduced-motion:reduce){.pd-rds-stage *,.pd-rds-stage *::before{animation:none!important}}
/* RDS features: category tabs + detail panel */
.pd-ft{display:grid;grid-template-columns:330px minmax(0,1fr);gap:28px;align-items:start}
.pd-ft-list{display:grid;gap:10px}
.avc-product .pd-ft-tab{position:relative;display:flex;align-items:center;gap:14px;width:100%;margin:0;padding:16px 18px;border-radius:20px;border:1px solid transparent;background:none;font:inherit;color:var(--pd-ink);text-align:left;cursor:pointer;transition:background .25s,box-shadow .25s,border-color .25s}
.avc-product .pd-ft-tab:hover{background:#f3f9fe}
.avc-product .pd-ft-tab:focus-visible{outline:2px solid var(--pd-primary);outline-offset:2px}
.avc-product .pd-ft-tab[aria-selected=true]{background:#fff;border-color:var(--pd-line);box-shadow:0 14px 30px #17395714}
.pd-ft-tab[aria-selected=true]::before{content:"";position:absolute;left:0;top:18px;bottom:18px;width:4px;border-radius:4px;background:linear-gradient(135deg,#1584ec,#49bcff)}
.pd-ft-tabic{display:grid;place-items:center;width:46px;height:46px;flex:none;border-radius:14px;background:#e6f3fd;color:var(--pd-accent);transition:background .25s,color .25s}
.pd-ft-tab[aria-selected=true] .pd-ft-tabic{background:linear-gradient(135deg,#1584ec,#49bcff);color:#fff}
.pd-ft-tab strong{display:block;font-size:16px;font-weight:500;line-height:1.45}
.pd-ft-tab small{font-size:13px;color:var(--pd-muted)}
.pd-ft-panel{padding:30px;border-radius:28px;background:#fff;border:1px solid var(--pd-line);box-shadow:0 18px 40px #17395714;animation:pd-ft-in .45s ease}
.pd-ft-panel[hidden]{display:none}
@keyframes pd-ft-in{from{opacity:0;transform:translateY(12px)}}
.pd-ft-item{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:18px;align-items:start;padding:22px 4px;border-bottom:1px solid var(--pd-line)}
.pd-ft-item:last-child{border-bottom:0;padding-bottom:4px}
.pd-ft-item>img{width:70px;max-width:none;height:70px;margin:-10px;object-fit:contain;transition:transform .35s cubic-bezier(.2,.8,.2,1)}
@media(hover:hover){.pd-ft-item:hover>img{transform:translateY(-6px) rotate(-3deg)}}
.pd-ft-item>div{display:grid;gap:4px}
.avc-product .pd-ft-item p:not(.pd-label){font-size:15px;line-height:1.7}
.avc-product .pd-ft-stat{display:flex;flex-direction:column;align-items:flex-end;gap:2px;min-width:118px;text-align:right}
.pd-ft-stat b{font-size:34px;font-weight:500;line-height:1.1;background:linear-gradient(115deg,#45b6fe,#168dce);-webkit-background-clip:text;background-clip:text;color:transparent;font-variant-numeric:tabular-nums;white-space:nowrap}
.pd-ft-stat span{font-size:13px;line-height:1.5;color:var(--pd-muted)}
.avc-product .pd-help{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:12px 18px;width:fit-content;max-width:100%;margin:40px auto 0;padding:10px 10px 10px 24px;border-radius:999px;background:#fff;border:1px solid var(--pd-line);box-shadow:0 12px 30px #17395714;font-size:15px;line-height:1.5;color:var(--pd-ink)}
.pd-help a{display:inline-flex;align-items:center;gap:8px;padding:10px 18px;border-radius:999px;background:var(--pd-btn);color:#fff!important;font-weight:500;white-space:nowrap}
/* panel illustrations */
.pd-ft-ill{position:relative;margin-bottom:8px;border-radius:20px;background:linear-gradient(160deg,#f3f9fe,#e4f1fb);border:1px solid #e3eef7;overflow:hidden}
.pd-ill-maz{display:flex;align-items:center;justify-content:center;padding:28px 18px}
.pd-ill-node{display:grid;justify-items:center;gap:6px;width:116px;padding:16px 10px;border-radius:18px;background:#fff;border:1px solid var(--pd-line);box-shadow:0 12px 26px #1739571c;font-size:13px;color:var(--pd-muted)}
.pd-ill-node strong{font-size:15px;font-weight:500;color:var(--pd-ink)}
.pd-ill-node em{display:flex;align-items:center;gap:6px;font-style:normal;font-size:12px}
.pd-ill-node em::before{content:"";width:8px;height:8px;border-radius:50%;background:#22c55e;box-shadow:0 0 0 3px #22c55e33}
.pd-ill-node.is-standby em::before{background:#f59e0b;box-shadow:0 0 0 3px #f59e0b33}
.pd-ill-db{display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:linear-gradient(135deg,#1584ec,#49bcff);color:#fff}
.pd-ill-link{position:relative;flex:1;max-width:140px;height:2px;background:repeating-linear-gradient(90deg,#9fcdf0 0 6px,transparent 6px 11px)}
.pd-ill-link i{position:absolute;top:-4px;left:0;width:10px;height:10px;border-radius:50%;background:#1584ec;box-shadow:0 0 10px #45b6fe;animation:pd-ill-flow 2.4s linear infinite}
.pd-ill-link i:nth-child(3){animation-delay:-.8s}.pd-ill-link i:nth-child(4){animation-delay:-1.6s}
.pd-ill-link b{position:absolute;left:50%;top:-30px;translate:-50% 0;font-size:11px;font-weight:500;color:var(--pd-accent);white-space:nowrap}
@keyframes pd-ill-flow{0%{left:0;opacity:0}15%,85%{opacity:1}100%{left:calc(100% - 10px);opacity:0}}
.pd-ill-tl{padding:52px 26px 22px}
.pd-ill-line{position:relative;height:4px;border-radius:4px;background:linear-gradient(90deg,#cfe6f7,#7cc6f7)}
.pd-ill-line i{position:absolute;top:-5px;width:2px;height:14px;background:#9fcdf0}
.pd-ill-mark{position:absolute;top:-9px;width:22px;height:22px;margin-left:-11px;border-radius:50%;background:#fff;border:5px solid #1584ec;box-shadow:0 6px 14px #168dce55;animation:pd-ill-rewind 4.5s cubic-bezier(.6,0,.3,1) infinite}
.pd-ill-mark::after{content:"↺ กู้คืน";position:absolute;bottom:22px;left:50%;translate:-50% 0;padding:3px 8px;border-radius:8px;background:var(--pd-ink);color:#fff;font-size:11px;white-space:nowrap}
.pd-ill-cap{display:flex;justify-content:space-between;margin-top:14px;font-size:12px;color:var(--pd-muted)}
@keyframes pd-ill-rewind{0%,15%{left:96%}55%,80%{left:22%}100%{left:96%}}
.pd-ill-lock{display:grid;place-items:center;height:200px}
.pd-ill-ring{position:absolute;width:150px;height:150px;border-radius:50%;border:2px dashed #9fcdf0;animation:pd-spin 18s linear infinite}
.pd-ill-ring.is-outer{width:200px;height:200px;border-color:#d3e8f7;animation-direction:reverse;animation-duration:30s}
.pd-ill-core{position:relative;display:grid;place-items:center;width:76px;height:76px;border-radius:22px;background:linear-gradient(135deg,#1584ec,#49bcff);color:#fff;box-shadow:0 16px 30px #168dce55}
.pd-ill-bars{display:flex;align-items:flex-end;gap:7px;height:130px;padding:18px 22px}
.pd-ill-bars i{flex:1;height:40%;border-radius:6px 6px 2px 2px;background:linear-gradient(#49bcff,#1584ec);animation:pd-ill-bar 2.8s ease-in-out infinite}
.pd-ill-bars i:nth-child(2n){animation-delay:-.6s}.pd-ill-bars i:nth-child(3n){animation-delay:-1.3s}.pd-ill-bars i:nth-child(5n){animation-delay:-2s}
@keyframes pd-ill-bar{0%,100%{height:30%}50%{height:95%}}
@media(max-width:900px){
 .pd-ft{grid-template-columns:1fr;gap:20px}
 .pd-ft-list{display:flex;overflow-x:auto;gap:8px;margin:0 -24px;padding:4px 24px 8px;scrollbar-width:none}
 .pd-ft-list::-webkit-scrollbar{display:none}
 .avc-product .pd-ft-tab{flex:none;width:auto;padding:10px 14px;border-radius:999px;border-color:var(--pd-line);background:#fff}
 .pd-ft-tabic{width:30px;height:30px;border-radius:10px}.pd-ft-tabic svg{width:16px;height:16px}
 .pd-ft-tab small{display:none}
 .pd-ft-tab strong{font-size:14px;white-space:nowrap}
 .pd-ft-tab[aria-selected=true]::before{display:none}
}
@media(max-width:640px){
 .pd-ft-list{margin:0 -16px;padding:4px 16px 8px}
 .pd-ft-panel{padding:20px}
 .pd-ft-item{grid-template-columns:auto minmax(0,1fr);gap:14px}
 .avc-product .pd-ft-stat{grid-column:2;flex-direction:row;align-items:baseline;gap:8px;min-width:0;text-align:left}
 .pd-ft-stat b{font-size:26px}
 .pd-ill-maz{padding:22px 10px}.pd-ill-node{width:88px;padding:12px 6px}.pd-ill-link{min-width:44px}.pd-ill-link b{display:none}
 .avc-product .pd-help{flex-direction:column;border-radius:22px;padding:16px;text-align:center}
}
@media(prefers-reduced-motion:reduce){.pd-ft-panel,.pd-ft-ill *,.pd-ft-ill *::after{animation:none!important}}

/* ===== S3 page ===== */
/* storage tier illustration (feature tab) */
.pd-ill-tiers{display:flex;align-items:center;justify-content:center;gap:8px;padding:34px 16px}
.pd-ill-tiers span{padding:10px 14px;border-radius:12px;background:#fff;border:1px solid var(--pd-line);box-shadow:0 8px 18px #1739570f;font-size:13px;font-weight:500;color:#1d5f94;white-space:nowrap;animation:pd-ill-tier 6s infinite}
.pd-ill-tiers span:nth-of-type(2){animation-delay:1.5s}.pd-ill-tiers span:nth-of-type(3){animation-delay:3s}.pd-ill-tiers span:nth-of-type(4){animation-delay:4.5s}
.pd-ill-tiers i{flex:none;width:18px;height:2px;background:#9fcdf0;position:relative}
.pd-ill-tiers i::after{content:"";position:absolute;right:-1px;top:-3px;border:4px solid transparent;border-left:5px solid #9fcdf0;border-right:0}
@keyframes pd-ill-tier{0%,25%{background:linear-gradient(135deg,#1584ec,#49bcff);color:#fff;border-color:transparent;transform:translateY(-4px)}30%,100%{background:#fff;color:#1d5f94;border-color:var(--pd-line);transform:none}}
/* storage classes table */
.avc-product .pd-classes{max-width:1100px}
.avc-product .pd-classes tbody th,.avc-product .pd-classes thead th{white-space:nowrap}
.avc-product .pd-classes tbody th span{display:block;width:fit-content;margin-top:6px;padding:2px 10px;border-radius:999px;background:linear-gradient(135deg,#1584ec,#49bcff);color:#fff;font-size:12px;font-weight:500;white-space:nowrap}
.avc-product .pd-classes tr.is-pick :is(th,td){background:#f0f8ff}
.avc-product .pd-classes td:nth-child(3),.avc-product .pd-classes td:nth-child(4){white-space:nowrap;color:var(--pd-ink);font-weight:500}
.avc-product .pd-note{max-width:1100px;margin:16px auto 0;font-size:13px;line-height:1.6;text-align:center;color:#6b8296}
@media(max-width:1024px){.avc-product .pd-classes tbody th{white-space:normal}}
@media(max-width:640px){
 .pd-ill-tiers{gap:5px;padding:28px 8px}.pd-ill-tiers span{padding:7px 8px;font-size:11px;border-radius:10px}.pd-ill-tiers i{width:8px}.pd-ill-tiers i::after{display:none}
 .avc-product .pd-classes td::after{content:none!important}
 .avc-product .pd-classes td{display:flex;gap:10px;padding-left:0!important;font-size:14px}
 .avc-product .pd-classes td::before{display:block!important;content:attr(data-label);flex:0 0 112px;color:#7a91a5;font-weight:400}
 .avc-product .pd-classes td:nth-child(3),.avc-product .pd-classes td:nth-child(4){white-space:normal}
 .avc-product .pd-classes tr.is-pick{background:#f0f8ff}
 .avc-product .pd-classes tr.is-pick :is(th,td){background:none}
}
@media(prefers-reduced-motion:reduce){.pd-ill-tiers span{animation:none!important}}
/* S3 hero: files flowing into the bucket icon */
.pd-s3-stage{max-width:560px}
.pd-s3-svg{inset:0;width:100%;height:100%;overflow:visible}
.pd-s3-path{fill:none;stroke:#b7dcf6;stroke-width:1.6;stroke-dasharray:4 7;animation:pd-s3-dash 1.2s linear infinite}
@keyframes pd-s3-dash{to{stroke-dashoffset:-11}}
.pd-s3-file rect.bg{fill:#fff;stroke:#dce9f2}
.pd-s3-file text{font:500 12px "Noto Sans Thai",sans-serif;fill:#1d5f94}
.pd-s3-core{left:33%;top:22%;width:34%;z-index:3}
.pd-s3-bob{position:relative;z-index:1;animation:pd-bob 6s ease-in-out infinite}
.pd-s3-core img{display:block;width:100%;height:auto;filter:drop-shadow(0 26px 30px #168dce47) drop-shadow(0 6px 10px #0a254026)}
.pd-s3-pulse{position:absolute;inset:-8%;border-radius:50%;border:2px solid #49bcff;opacity:0;animation:pd-s3-ping 2.4s ease-out infinite}
.pd-s3-pulse.is-late{animation-delay:-1.2s}
@keyframes pd-s3-ping{0%{transform:scale(.75);opacity:.6}100%{transform:scale(1.3);opacity:0}}
.pd-s3-c1{left:0;top:2%;z-index:4}
.pd-s3-c2{right:0;top:42%;z-index:4}.pd-s3-c2 .pd-rds-chip{animation-delay:-2s}
.pd-s3-bucket{left:50%;top:69%;margin-left:-104px;z-index:4}
.pd-s3-bk{width:208px;padding:14px 16px;border-radius:18px;background:#ffffffe6;border:1px solid var(--pd-line);box-shadow:0 18px 40px #1739572b;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);animation:pd-bob 7s ease-in-out infinite;animation-delay:-2s}
.pd-s3-bk-head{display:flex;align-items:center;gap:8px;margin-bottom:10px}
.pd-s3-bk-ic{display:grid;place-items:center;width:28px;height:28px;flex:none;border-radius:8px;background:linear-gradient(135deg,#1584ec,#49bcff);color:#fff}
.pd-s3-bk-head b{display:block;font-size:13px;font-weight:500;line-height:1.3;color:var(--pd-ink)}
.pd-s3-bk-head em{display:block;font-style:normal;font-size:11px;line-height:1.4;color:#6b8296}
.pd-s3-bk-row{display:flex;justify-content:space-between;align-items:baseline;font-size:12px;color:#6b8296}
.pd-s3-bk-row strong{font-size:17px;font-weight:500;color:var(--pd-ink);font-variant-numeric:tabular-nums}
.pd-s3-bk-bar{display:flex;gap:3px;height:7px;margin:9px 0 7px}
.pd-s3-bk-bar i{width:var(--w);border-radius:4px;background:#1584ec}
.pd-s3-bk-bar i:nth-child(2){background:#49bcff}.pd-s3-bk-bar i:nth-child(3){background:#9fb8cf}
.pd-s3-bk-legend{display:flex;gap:10px;font-size:10.5px;color:#6b8296}
.pd-s3-bk-legend span{display:flex;align-items:center;gap:4px}
.pd-s3-bk-legend span::before{content:"";width:7px;height:7px;border-radius:2px;background:#1584ec}
.pd-s3-bk-legend span:nth-child(2)::before{background:#49bcff}.pd-s3-bk-legend span:nth-child(3)::before{background:#9fb8cf}
/* S3 features: three pillars with gradient headers */
.pd-pillars{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.pd-pillar{display:flex;flex-direction:column;border-radius:28px;background:#fff;border:1px solid var(--pd-line);box-shadow:0 18px 40px #17395712;overflow:hidden}
.pd-pillar-head{position:relative;display:grid;gap:10px;padding:28px;overflow:hidden}
.pd-pillar-head::after{content:"";position:absolute;right:-50px;top:-60px;width:180px;height:180px;border-radius:50%;background:#ffffff1f;pointer-events:none}
.pd-pillar-1 .pd-pillar-head{background:linear-gradient(135deg,#1584ec,#49bcff)}
.pd-pillar-2 .pd-pillar-head{background:linear-gradient(125deg,#071c33 0%,#0b3a66 55%,#0a5f9e 100%)}
.pd-pillar-3 .pd-pillar-head{background:linear-gradient(135deg,#0a6fb5,#36c2e8)}
.avc-product .pd-pillar-head h3{font-size:21px;color:#fff}
.avc-product .pd-pillar-head p{font-size:14px;line-height:1.6;color:#e2f1fc}
.avc-product .pd-pstat{display:flex;align-items:baseline;flex-wrap:wrap;gap:8px}
.pd-pstat b{font-size:38px;font-weight:500;line-height:1.1;color:#fff;font-variant-numeric:tabular-nums}
.pd-pstat span{font-size:13px;color:#d6ebfa}
.pd-pillar-rows{flex:1}
.pd-prow{display:grid;grid-template-columns:auto minmax(0,1fr);gap:14px;padding:18px 24px;border-top:1px solid var(--pd-line)}
.pd-prow:first-child{border-top:0}
.pd-prow>img{width:44px;height:44px;border-radius:13px;box-shadow:0 8px 18px #4a5fd02e;transition:transform .35s cubic-bezier(.2,.8,.2,1)}
@media(hover:hover){.pd-prow:hover>img{transform:translateY(-6px) rotate(-3deg)}}
.pd-prow>div{display:grid;gap:3px}
.avc-product .pd-prow .pd-label{font-size:11.5px!important}
.avc-product .pd-prow h3{font-size:16px;line-height:1.45}
.avc-product .pd-prow p:not(.pd-label){font-size:14px;line-height:1.65}
.avc-product .pd-fit{display:flex;flex-wrap:wrap;align-items:center;gap:6px;padding:16px 24px 22px;border-top:1px solid var(--pd-line);font-size:12.5px;line-height:1.5;color:#6b8296}
.pd-fit span{padding:3px 10px;border-radius:999px;background:#eef6fd;border:1px solid var(--pd-line);color:#1d5f94}
@media(max-width:1024px){.pd-pillars{grid-template-columns:1fr;max-width:640px;margin:0 auto}}
@media(max-width:640px){
 .pd-s3-file.is-extra{display:none}
 .pd-s3-core{left:34.5%;width:31%}
 .pd-s3-bucket{top:67%;margin-left:-86px}
 .pd-s3-bk{width:172px;padding:10px 12px;border-radius:14px}.pd-s3-bk-head{margin-bottom:6px}.pd-s3-bk-head b{font-size:12px}.pd-s3-bk-row strong{font-size:14px}
 .pd-s3-bk-head em,.pd-s3-bk-legend{display:none}
 .pd-prow{padding:16px 20px}.pd-pillar-head{padding:24px 20px}.avc-product .pd-fit{padding:14px 20px 18px}
}
@media(prefers-reduced-motion:reduce){.pd-s3-stage *{animation:none!important}}
/* S3 hero red accents (R2): match the red S3 icon; buttons stay brand blue */
.pd-s3-hero .pd-s3-core img{filter:drop-shadow(0 26px 30px #e5243b42) drop-shadow(0 6px 10px #5a0a1426)}
.pd-s3-hero .pd-s3-pulse{border-color:#ff6b7a}
.pd-s3-hero .pd-fi-glow{background:radial-gradient(circle,#ffd3d9 0,#fff0f2 48%,transparent 72%)}
.pd-s3-hero .pd-s3-path{stroke:#f6b3bc}
.pd-s3-hero .pd-s3-file text{fill:#a3243a}
.pd-s3-hero :is(.pd-rds-ic,.pd-s3-bk-ic){background:linear-gradient(135deg,#e5243b,#ff6b7a);box-shadow:0 6px 14px #e5243b40}
.pd-s3-hero .pd-s3-bk-bar i,.pd-s3-hero .pd-s3-bk-legend span::before{background:#e5243b}
.pd-s3-hero .pd-s3-bk-bar i:nth-child(2),.pd-s3-hero .pd-s3-bk-legend span:nth-child(2)::before{background:#ff7d8b}
.pd-s3-hero .pd-s3-bk-bar i:nth-child(3),.pd-s3-hero .pd-s3-bk-legend span:nth-child(3)::before{background:#f4c3c9}
/* glow icons cropped close (tile ~77% of the image): no frame, visible tile ~60px like the RDS icons */
.pd-card-icon.is-glow{width:78px;height:78px;margin:-7px;border-radius:0;overflow:visible;box-shadow:none}
.pd-card-icon.is-glow img{object-fit:contain}
/* cards with the icon beside the Thai/English titles; description spans the card (S3 "Why" section) */
.pd-cards-inline .pd-card{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;column-gap:16px;row-gap:16px;padding:32px 30px 34px}
.pd-cards-inline .pd-card-icon{grid-column:1;grid-row:1}
.pd-cards-inline .pd-card h3{grid-column:2;grid-row:1;padding-right:18px;font-size:18px;line-height:1.35;text-wrap:balance}
.pd-cards-inline .pd-card h3 small{margin-top:4px;font-size:14px;letter-spacing:.01em}
.pd-cards-inline .pd-card p{grid-column:1/-1;margin:0!important}
.pd-cards-inline .pd-num{top:26px;right:26px}
@media(max-width:640px){.pd-cards-inline .pd-card{padding:24px 22px 26px;column-gap:14px}.pd-cards-inline .pd-card h3{padding-right:28px}.pd-cards-inline .pd-num{top:22px;right:20px}}
/* ===== Lightsail hero: all-in-one bundle (orange accents to match the Lightsail icon; buttons stay brand blue) ===== */
.pd-ls-hero h1{font-size:clamp(40px,4.9vw,62px)!important;white-space:nowrap}
.pd-ls-stage{max-width:560px}
.pd-ls-hero .pd-fi-glow{background:radial-gradient(circle,#ffe0c2 0,#fff3e8 48%,transparent 72%)}
.pd-ls-svg{inset:0;width:100%;height:100%;overflow:visible}
.pd-ls-line{fill:none;stroke:#ffd0a3;stroke-width:1.6;stroke-dasharray:4 7;animation:pd-ls-dash 1.2s linear infinite}
@keyframes pd-ls-dash{to{stroke-dashoffset:-11}}
.pd-ls-dots{fill:#ff7a1a}
.pd-ls-ring{left:31%;top:20%;width:38%;aspect-ratio:1;border-radius:50%;border:2px dashed #ffc58f;animation:pd-spin 30s linear infinite;z-index:2}
.pd-ls-core{left:35%;top:24%;width:30%;z-index:3}
.pd-ls-bob{animation:pd-bob 6s ease-in-out infinite}
.pd-ls-core img{display:block;width:100%;height:auto;filter:drop-shadow(0 22px 26px #ff7a1a40) drop-shadow(0 6px 10px #5a2a0a22)}
.pd-ls-part{z-index:4}
.pd-ls-part>div{display:flex;align-items:center;gap:10px;padding:10px 14px;border-radius:16px;background:#fff;border:1px solid var(--pd-line);box-shadow:0 14px 30px #17395722;animation:pd-ls-snap 4.8s cubic-bezier(.5,0,.3,1) infinite}
.pd-ls-part-ic{display:grid;place-items:center;width:34px;height:34px;flex:none;border-radius:10px;background:linear-gradient(135deg,#ff7a1a,#ffb02e);box-shadow:0 6px 14px #ff7a1a40;color:#fff}
.pd-ls-part b{display:block;font-size:14px;font-weight:500;line-height:1.3;color:var(--pd-ink);white-space:nowrap}
.pd-ls-part small{display:block;font-size:12px;line-height:1.4;color:#5b7186;white-space:nowrap}
.pd-ls-p1{left:0;top:10%;--sx:14px;--sy:10px}
.pd-ls-p2{right:0;top:10%;--sx:-14px;--sy:10px}.pd-ls-p2>div{animation-delay:-1.2s}
.pd-ls-p3{left:0;top:61%;--sx:14px;--sy:-10px}.pd-ls-p3>div{animation-delay:-2.4s}
.pd-ls-p4{right:0;top:61%;--sx:-14px;--sy:-10px}.pd-ls-p4>div{animation-delay:-3.6s}
@keyframes pd-ls-snap{0%,100%{transform:none;border-color:var(--pd-line)}40%,55%{transform:translate(var(--sx),var(--sy));border-color:#ffb878;box-shadow:0 0 0 4px #ff7a1a1f,0 14px 30px #17395722}}
.pd-ls-c1{left:50%;top:-2%;margin-left:-82px;z-index:4}
.pd-ls-hero .pd-rds-ic{background:linear-gradient(135deg,#ff7a1a,#ffb02e);box-shadow:0 6px 14px #ff7a1a40}
.pd-ls-steps{left:0;right:0;top:86%;z-index:3}
.pd-ls-steps>div{display:flex;align-items:center;justify-content:center;gap:8px;font-size:12.5px;font-weight:500;color:#5b7186}
.pd-ls-steps span{display:flex;align-items:center;gap:6px;padding:6px 10px;border-radius:999px;background:#fff;border:1px solid var(--pd-line);white-space:nowrap;animation:pd-ls-step 4.5s infinite}
.pd-ls-steps span i{width:8px;height:8px;border-radius:50%;background:#c5dcee}
.pd-ls-steps b{width:22px;height:2px;background:#ffe0c4}
.pd-ls-steps span:nth-of-type(2){animation-delay:1.5s}.pd-ls-steps span:nth-of-type(3){animation-delay:3s}
@keyframes pd-ls-step{0%,30%{color:#d9600b;border-color:#ffb878;box-shadow:0 6px 14px #ff7a1a26}35%,100%{color:#5b7186;border-color:var(--pd-line);box-shadow:none}}
@media(max-width:640px){
 .pd-ls-hero h1{white-space:normal}
 .pd-ls-part>div{gap:6px;padding:6px 8px;border-radius:12px}.pd-ls-part-ic{width:26px;height:26px;border-radius:8px}.pd-ls-part-ic svg{width:14px;height:14px}.pd-ls-part b{font-size:11.5px}.pd-ls-part small{display:none}
 .pd-ls-p3,.pd-ls-p4{top:65%}
 .pd-ls-core{left:35.5%;top:28%;width:29%}.pd-ls-ring{left:32%;top:24.5%;width:36%}
 .pd-ls-c1{margin-left:-70px}
 .pd-ls-steps>div{gap:4px;font-size:10.5px}.pd-ls-steps span{padding:4px 7px}.pd-ls-steps b{width:8px}
}
@media(prefers-reduced-motion:reduce){.pd-ls-stage *{animation:none!important}}
/* ===== Lightsail features: clickable system map + detail panel ===== */
.pd-map-wrap{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);gap:36px;align-items:center}
.pd-map{position:relative;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;padding:26px;border-radius:28px;background:linear-gradient(160deg,#f3f9fe,#e9f4fc);border:1px solid #e3eef7}
.pd-map-lines{position:absolute;inset:26px;width:calc(100% - 52px);height:calc(100% - 52px);pointer-events:none}
.pd-map-lines line{stroke:#9fcdf0;stroke-width:1.5;stroke-dasharray:4 6;vector-effect:non-scaling-stroke}
.avc-product .pd-map-node{position:relative;display:grid;justify-items:center;gap:6px;margin:0;padding:14px 8px 12px;border-radius:18px;border:1px solid var(--pd-line);background:#fff;box-shadow:0 10px 22px #1739570f;font:500 13px/1.35 "Noto Sans Thai",sans-serif;color:var(--pd-ink);text-align:center;cursor:pointer;transition:transform .25s,box-shadow .25s,border-color .25s}
.pd-map-node img{width:56px;height:56px;object-fit:contain;transition:transform .3s}
.avc-product .pd-map-node:hover{transform:translateY(-3px);box-shadow:0 16px 30px #1739571a}
.pd-map-node:hover img{transform:scale(1.06)}
.avc-product .pd-map-node:focus-visible{outline:2px solid var(--pd-primary);outline-offset:2px}
.avc-product .pd-map-node[aria-selected=true]{border-color:var(--pd-primary);box-shadow:0 0 0 4px #45b6fe26,0 16px 30px #1739571a}
.avc-product .pd-map-node.is-core{background:linear-gradient(160deg,#fff,#eef7ff)}
.pd-map-node.is-core::after{content:"หัวใจของระบบ";position:absolute;top:-10px;left:50%;translate:-50% 0;padding:2px 8px;border-radius:999px;background:linear-gradient(135deg,#1584ec,#49bcff);color:#fff;font-size:10.5px;line-height:1.5;white-space:nowrap}
.pd-map-panel{display:grid;gap:18px;padding:28px;border-radius:28px;background:#fff;border:1px solid var(--pd-line);box-shadow:0 18px 40px #17395714;animation:pd-ft-in .4s ease}
.pd-map-panel[hidden]{display:none}
.pd-map-panel>img{width:min(100%,300px);height:auto;margin:0 auto}
.pd-map-panel>div{display:grid;gap:6px}
.avc-product .pd-map-panel h3{font-size:24px}
/* ===== Lightsail vs EC2: the Lightsail column is a raised, glowing card ===== */
.pd-vs{position:relative;isolation:isolate;max-width:980px;margin:24px auto 14px}
.pd-vs::before{content:"";position:absolute;inset:0;z-index:0;border-radius:24px;background:#fff;border:1px solid var(--pd-line);box-shadow:0 18px 40px #17395714}
.pd-vs-frame{position:absolute;z-index:1;top:-16px;bottom:-16px;left:22%;width:39%;border-radius:26px;background:linear-gradient(180deg,#fff4e8,#fffaf5 40%,#fff4e8);border:2px solid #ff9a3c;animation:pd-vs-glow 3.2s ease-in-out infinite;overflow:hidden}
.pd-vs-frame::after{content:"";position:absolute;left:0;right:0;top:-40%;height:40%;background:linear-gradient(180deg,transparent,#ffb26b2e,transparent);animation:pd-vs-sweep 4.5s ease-in-out infinite}
.pd-vs-badge{position:absolute;z-index:3;top:-16px;left:41.5%;translate:-50% -50%;padding:4px 14px;border-radius:999px;background:linear-gradient(135deg,#ff7a1a,#ffb02e);color:#fff;font-size:12px;font-weight:500;line-height:1.6;white-space:nowrap;box-shadow:0 8px 18px #ff7a1a4d;animation:pd-bob 4s ease-in-out infinite}

.avc-product .pd-vs table{position:relative;z-index:2;width:100%;margin:0;table-layout:fixed;border-collapse:collapse;background:none;font-size:15px;line-height:1.6}
.pd-vs-c1{width:22%}.pd-vs-c2,.pd-vs-c3{width:39%}
.avc-product .pd-vs :is(th,td){padding:16px 22px;border:0;border-bottom:1px solid var(--pd-line);background:none;text-align:left;vertical-align:top}
.avc-product .pd-vs thead th{font-size:14px;font-weight:500;color:#5b7186}
.avc-product .pd-vs thead th.is-ls{font-size:16px;font-weight:600;color:#d9600b}
.avc-product .pd-vs tbody th{font-weight:500;color:var(--pd-ink)}
.avc-product .pd-vs td{color:#5b7186}
.avc-product .pd-vs td.is-ls{position:relative;padding-left:48px;color:var(--pd-ink);font-weight:500;border-bottom-color:#ffd9b5}
.avc-product .pd-vs td.is-ls::before{content:"";position:absolute;left:20px;top:19px;width:18px;height:18px;border-radius:50%;background:#ff7a1a url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center/11px no-repeat}
.avc-product .pd-vs tbody tr:last-child :is(th,td){border-bottom:0}
@keyframes pd-vs-glow{0%,100%{box-shadow:0 0 0 0 #ff7a1a00,0 22px 44px #ff7a1a26}50%{box-shadow:0 0 0 7px #ff7a1a1a,0 26px 54px #ff7a1a40}}
@keyframes pd-vs-sweep{0%,15%{top:-40%}70%,100%{top:110%}}
/* ===== Start with AVESTA in 3 steps ===== */
.avc-product .pd-how{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin:0 auto;padding:0;list-style:none}
.pd-how-step{position:relative;display:grid;align-content:start;gap:8px;padding:28px;border-radius:24px;background:linear-gradient(160deg,#f3f9fe,#fff);border:1px solid var(--pd-line)}
.pd-how-step>span{display:grid;place-items:center;width:44px;height:44px;border-radius:14px;background:linear-gradient(135deg,#1584ec,#49bcff);color:#fff;font-size:18px;font-weight:500}
.pd-how-step:not(:last-child)::after{content:"→";position:absolute;right:-17px;top:50%;translate:0 -50%;z-index:1;display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:#fff;border:1px solid var(--pd-line);color:var(--pd-accent);font-size:15px}
@media(max-width:1024px){.pd-map-wrap{grid-template-columns:1fr}}
@media(max-width:640px){
 .pd-map{display:flex;overflow-x:auto;gap:10px;margin:0 -16px;padding:14px 16px;border-radius:0;border-width:1px 0;scrollbar-width:none}
 .pd-map::-webkit-scrollbar{display:none}
 .pd-map-lines{display:none}
 .avc-product .pd-map-node{flex:0 0 112px;padding:10px 6px}
 .avc-product .pd-map-node.is-core{order:-1;margin-top:8px}
 .pd-map-node img{width:40px;height:40px}
 .pd-map-panel{padding:20px}
 .pd-vs{margin-top:8px}
 .pd-vs-frame,.pd-vs-badge{display:none}
 .avc-product .pd-vs thead{display:none}
 .avc-product .pd-vs :is(table,tbody,tr,th,td){display:block}
 .avc-product .pd-vs tr{padding:16px 18px;border-bottom:1px solid var(--pd-line)}
 .avc-product .pd-vs tbody tr:last-child{border-bottom:0}
 .avc-product .pd-vs :is(th,td){padding:0;border:0!important}
 .avc-product .pd-vs tbody th{margin-bottom:8px;font-size:16px}
 .avc-product .pd-vs td{display:flex;gap:10px;margin-top:6px;font-size:14px}
 .avc-product .pd-vs td::before{content:attr(data-label);flex:0 0 72px;color:#7a91a5}
 .avc-product .pd-vs td.is-ls{padding:8px 10px;border-radius:10px;background:#fff4e8;border:1px solid #ffc996!important}
 .avc-product .pd-vs td.is-ls::before{position:static;width:auto;height:auto;border-radius:0;background:none;content:attr(data-label);color:#d9600b;font-weight:600;flex:0 0 72px}
 .avc-product .pd-how{grid-template-columns:1fr}
 .pd-how-step:not(:last-child)::after{right:50%;top:auto;bottom:-17px;translate:50% 0;content:"↓"}
}
@media(prefers-reduced-motion:reduce){.pd-vs-frame,.pd-vs-frame::after,.pd-vs-badge,.pd-map-panel{animation:none!important}}
/* ===== EC2 hero: auto scaling (instances appear and leave with the traffic curve) ===== */
.pd-ec2-ring{left:30%;top:4%;width:40%;aspect-ratio:1;border-radius:50%;border:2px dashed #b9defa;animation:pd-spin 30s linear infinite}
.pd-ec2-core{left:34%;top:8%;width:32%;z-index:3}
.pd-ec2-core img{display:block;width:100%;height:auto;filter:drop-shadow(0 22px 26px #168dce3d) drop-shadow(0 6px 10px #0a2a5a22)}
.pd-ec2-inst{top:52%;width:29%;z-index:4}
.pd-ec2-inst>div{display:flex;align-items:center;gap:8px;padding:9px 10px;border-radius:14px;background:#fff;border:1px solid var(--pd-line);box-shadow:0 12px 26px #1739571f}
.pd-ec2-srv{display:grid;place-items:center;width:32px;height:32px;flex:none;border-radius:9px;background:linear-gradient(135deg,#1584ec,#49bcff);color:#fff}
.pd-ec2-inst b{display:block;font-size:13px;font-weight:500;line-height:1.3;color:var(--pd-ink);white-space:nowrap}
.pd-ec2-inst small{display:flex;align-items:center;gap:5px;font-size:11.5px;color:#178a55}
.pd-ec2-inst small i{width:7px;height:7px;border-radius:50%;background:#22b573;box-shadow:0 0 0 3px #22b57333}
.pd-ec2-i1{left:3%}.pd-ec2-i2{left:35.5%}.pd-ec2-i3{left:68%}
.pd-ec2-i2>div{animation:pd-ec2-i2 9s ease-in-out infinite}.pd-ec2-i3>div{animation:pd-ec2-i3 9s ease-in-out infinite}
@keyframes pd-ec2-i2{0%,22%{opacity:0;transform:translateY(12px) scale(.85)}30%,80%{opacity:1;transform:none}88%,100%{opacity:0;transform:translateY(12px) scale(.85)}}
@keyframes pd-ec2-i3{0%,38%{opacity:0;transform:translateY(12px) scale(.85)}46%,68%{opacity:1;transform:none}76%,100%{opacity:0;transform:translateY(12px) scale(.85)}}
.pd-ec2-chart{left:3%;right:3%;top:69%;z-index:3}
.pd-ec2-chart>div{position:relative;padding:12px 16px 10px;border-radius:18px;background:#ffffffeb;border:1px solid var(--pd-line);box-shadow:0 16px 34px #1739571f}
.avc-product .pd-ec2-chart p{display:flex;justify-content:space-between;margin:0 0 4px;font-size:12px;line-height:1.5;color:#5b7186}
.pd-ec2-chart p b{display:flex;align-items:center;gap:6px;font-weight:500;color:#0b72c4}
.pd-ec2-chart p b i{width:7px;height:7px;border-radius:50%;background:#45b6fe;animation:pd-bob 1.6s infinite}
.pd-ec2-chart svg{display:block;width:100%;height:58px}
.pd-ec2-cursor{position:absolute;top:34px;bottom:10px;left:16px;width:2px;border-radius:2px;background:#168dce;box-shadow:0 0 0 3px #45b6fe33;animation:pd-ec2-cur 9s linear infinite}
@keyframes pd-ec2-cur{from{left:16px}to{left:calc(100% - 18px)}}
.pd-ec2-c1{left:0;top:6%;z-index:5}.pd-ec2-c2{right:0;top:30%;z-index:5}
.pd-ec2-c2 .pd-rds-chip{animation-delay:-3s}
/* Why cards with line icons on the brand gradient (until artwork is supplied) */
.pd-card-icon.is-svg{display:grid;place-items:center;background:linear-gradient(135deg,#1584ec,#49bcff);color:#fff;box-shadow:0 10px 22px #168dce40}
/* ===== EC2 features: system layers (tabs) + detail panel ===== */
.pd-stack{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:40px;align-items:center}
.pd-stack-list{display:grid;gap:10px;perspective:900px}
.avc-product .pd-stack-layer{position:relative;display:flex;align-items:center;gap:14px;width:100%;margin:0;padding:16px 18px;border-radius:18px;border:1px solid var(--pd-line);background:#fff;box-shadow:0 10px 0 -4px #d7e9f7,0 14px 26px #1739570f;font:inherit;color:var(--pd-ink);text-align:left;cursor:pointer;transform:rotateX(14deg);transform-origin:center bottom;transition:transform .3s,translate .3s,box-shadow .3s,border-color .3s,background .3s}
.avc-product .pd-stack-layer:hover{transform:rotateX(6deg) translateY(-3px)}
.avc-product .pd-stack-layer:focus-visible{outline:2px solid var(--pd-primary);outline-offset:3px}
.avc-product .pd-stack-layer[aria-selected=true]{transform:none;translate:14px 0;border-color:var(--pd-primary);background:linear-gradient(135deg,#f2f9ff,#fff);box-shadow:0 10px 0 -4px #9fd2f7,0 18px 34px #168dce26}
.pd-stack-ic{display:grid;place-items:center;width:42px;height:42px;flex:none;border-radius:12px;background:#eaf5fd;color:#0b72c4;transition:background .3s,color .3s}
.pd-stack-layer[aria-selected=true] .pd-stack-ic{background:linear-gradient(135deg,#1584ec,#49bcff);color:#fff}
.pd-stack-tx{display:grid;min-width:0}
.pd-stack-tx b{font-size:16px;font-weight:500;line-height:1.4}
.pd-stack-tx small{overflow:hidden;color:#5b7186;font-size:12.5px;line-height:1.5;text-overflow:ellipsis;white-space:nowrap}
.pd-stack-no{margin-left:auto;color:#a9c3d8;font-size:13px}
.pd-stack-panel{display:grid;gap:14px;padding:28px;border-radius:26px;background:#fff;border:1px solid var(--pd-line);box-shadow:0 18px 40px #17395714;animation:pd-ft-in .4s ease}
.pd-stack-panel[hidden]{display:none}
.avc-product .pd-stack-panel h3{font-size:26px}
.pd-stack-panel>img{width:100%;max-height:220px;object-fit:contain;border-radius:16px;background:#f3f9fe}
.pd-stack-item{display:grid;grid-template-columns:auto minmax(0,1fr);gap:14px;padding:14px;border-radius:16px;background:#f7fbfe}
.pd-stack-iic{display:grid;place-items:center;width:44px;height:44px;border-radius:12px;background:linear-gradient(135deg,#1584ec,#49bcff);color:#fff}
.pd-stack-item h4{margin:0 0 2px;font-size:16px;font-weight:500;color:var(--pd-ink)}
.avc-product .pd-stack-item p{font-size:14px;line-height:1.6}
/* ===== Comparison table, brand-blue variant (EC2 page) ===== */
.pd-vs.is-blue .pd-vs-frame{background:linear-gradient(180deg,#eaf6ff,#f7fbff 40%,#eaf6ff);border-color:#45b6fe;animation-name:pd-vs-glow-blue}
.pd-vs.is-blue .pd-vs-frame::after{background:linear-gradient(180deg,transparent,#7cc4f52e,transparent)}
.pd-vs.is-blue .pd-vs-badge{background:linear-gradient(135deg,#1584ec,#49bcff);box-shadow:0 8px 18px #168dce4d}
.avc-product .pd-vs.is-blue thead th.is-ls{color:#0b72c4}
.avc-product .pd-vs.is-blue td.is-ls{border-bottom-color:#cfe8fa}
.avc-product .pd-vs.is-blue td.is-ls::before{background-color:#168dce}
@keyframes pd-vs-glow-blue{0%,100%{box-shadow:0 0 0 0 #168dce00,0 22px 44px #168dce26}50%{box-shadow:0 0 0 7px #168dce1a,0 26px 54px #168dce40}}
.avc-product .pd-head a{color:#0b72c4;text-decoration:underline;text-underline-offset:3px}
@media(max-width:1024px){.pd-stack{grid-template-columns:1fr}}
@media(max-width:640px){
 .pd-ec2-inst>div{gap:5px;padding:6px 7px;border-radius:11px}.pd-ec2-srv{width:24px;height:24px;border-radius:7px}.pd-ec2-srv svg{width:14px;height:14px}.pd-ec2-inst b{font-size:11px}.pd-ec2-inst small{font-size:10px}
 .pd-ec2-chart>div{padding:8px 10px 6px}.pd-ec2-chart svg{height:40px}.pd-ec2-cursor{top:28px}
 .pd-ec2-c1,.pd-ec2-c2{display:none}
 .avc-product .pd-stack-layer{transform:none;padding:12px 14px}
 .avc-product .pd-stack-layer:hover{transform:none}
 .avc-product .pd-stack-layer[aria-selected=true]{translate:0 0}
 .pd-stack-panel{padding:20px}
 .avc-product .pd-vs.is-blue td.is-ls{background:#eef7ff;border-color:#9fd2f7!important}
 .avc-product .pd-vs.is-blue td.is-ls::before{background:none;color:#0b72c4}
}
@media(prefers-reduced-motion:reduce){.pd-ec2-stage *,.pd-stack-panel{animation:none!important}}
/* EC2 hero in Lightsail-style orange (to match the orange EC2 icon; buttons stay brand blue) */
.pd-ec2-hero .pd-fi-glow{background:radial-gradient(circle,#ffe0c2 0,#fff3e8 48%,transparent 72%)}
.pd-ec2-hero .pd-ec2-ring{border-color:#ffc58f}
.pd-ec2-hero .pd-ec2-core img{filter:drop-shadow(0 22px 26px #ff7a1a40) drop-shadow(0 6px 10px #5a2a0a22)}
.pd-ec2-hero :is(.pd-ec2-srv,.pd-rds-ic){background:linear-gradient(135deg,#ff7a1a,#ffb02e);box-shadow:0 6px 14px #ff7a1a40}
.pd-ec2-hero .pd-ec2-chart p b{color:#d9600b}
.pd-ec2-hero .pd-ec2-chart p b i{background:#ff9a3c}
.pd-ec2-hero .pd-ec2-cursor{background:#ff7a1a;box-shadow:0 0 0 3px #ff7a1a33}
/* ===== Microsoft Azure page ===== */
/* Hero backdrop and diagram follow the Azure icon; text, badge and buttons use the site's sky-blue colours. */
.avc-product .pd-az-hero{background:radial-gradient(52% 58% at 50% 68%,#d4e4ff 0%,rgba(212,228,255,0) 72%),radial-gradient(38% 46% at 8% 12%,#e9f6ff 0%,rgba(233,246,255,0) 70%),radial-gradient(38% 46% at 92% 12%,#e6efff 0%,rgba(230,239,255,0) 70%),#fff}
.pd-az-hero::before{background-image:linear-gradient(#dde8fb 1px,transparent 1px),linear-gradient(90deg,#dde8fb 1px,transparent 1px);mask-image:radial-gradient(70% 70% at 50% 55%,#000 0%,transparent 75%);-webkit-mask-image:radial-gradient(70% 70% at 50% 55%,#000 0%,transparent 75%)}
.pd-az-hero h1{font-size:clamp(40px,4.9vw,62px)!important;line-height:1.1!important}
.avc-product .pd-az-hero .pd-rds-tag{text-wrap:balance}
.pd-az-hero .pd-hero-copy{align-items:center;max-width:860px;margin:24px auto 0;text-align:center}
.pd-az-hero .pd-actions,.pd-az-hero .pd-engines{justify-content:center}
/* Hero: existing systems > Azure > cloud services */
.pd-az-pano{position:relative;display:grid;grid-template-columns:minmax(0,1fr) 230px minmax(0,1fr);column-gap:clamp(70px,11vw,140px);align-items:center;margin-top:52px}
.pd-az-flow{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
.pd-az-flow g{fill:#004ae4}
.pd-az-flow path{fill:none;stroke:#8fb4f7;stroke-width:1.6;stroke-dasharray:5 7;vector-effect:non-scaling-stroke;animation:pd-az-dash 1.2s linear infinite}
@keyframes pd-az-dash{to{stroke-dashoffset:-12}}
.pd-az-side{position:relative;z-index:2;display:grid;gap:12px;will-change:transform}
.avc-product .pd-az-cap{margin:0 0 2px;font-size:13px;font-weight:500;letter-spacing:.03em;color:#123a86;text-align:center}
.pd-az-node{display:flex;align-items:center;gap:12px;padding:13px 15px;border-radius:16px;background:#fff;border:1px solid #d3e1fb;box-shadow:0 14px 30px #0a3aa01f}
.pd-az-node>span{display:grid;place-items:center;width:40px;height:40px;flex:none;border-radius:12px;background:#e9f1ff;color:#004ae4}
.pd-az-side.is-cloud .pd-az-node>span{background:linear-gradient(135deg,#0f83fb,#0340d0);color:#fff}
.pd-az-node b{display:block;font-size:15px;font-weight:500;line-height:1.35;color:#081b33}
.pd-az-node small{display:block;font-size:12.5px;line-height:1.4;color:#5b7186}
.pd-az-center{position:relative;z-index:3;display:grid;justify-items:center;gap:12px;padding-top:26px;will-change:transform}
.pd-az-hub{position:relative;width:184px;margin:-16px 0}
.pd-az-hub img{position:relative;z-index:1;display:block;width:100%;max-width:none;height:auto;filter:drop-shadow(0 18px 24px #004ae452)}
.pd-az-hub::before,.pd-az-hub::after{content:"";position:absolute;inset:6%;border-radius:50%;border:2px solid #0f83fb;opacity:0;animation:pd-az-ping 3s ease-out infinite}
.pd-az-hub::after{animation-delay:-1.5s}
@keyframes pd-az-ping{0%{transform:scale(.8);opacity:.55}100%{transform:scale(1.5);opacity:0}}
.pd-az-pill{padding:5px 14px;border-radius:999px;background:#0336c8;color:#fff;font-size:13px;font-weight:500;white-space:nowrap}
.pd-az-tag{position:absolute;z-index:3;top:calc(50% + 2px);padding:3px 11px;border-radius:999px;background:#fff;border:1px solid #b8d0ff;color:#0047d6;font-size:12px;font-weight:500;white-space:nowrap;translate:-50% -50%}
.pd-az-tag.t1{left:31.5%}.pd-az-tag.t2{left:68.5%}
/* Services: expanding columns */
.pd-az-cols{display:flex;gap:12px;max-width:1184px;height:540px;margin:0 auto}
.pd-az-col{position:relative;flex:1 1 0;min-width:0;border-radius:26px;overflow:hidden;color:#fff;box-shadow:0 18px 36px #17395726;transition:flex-grow .55s cubic-bezier(.22,.8,.25,1)}
.pd-az-col.is-on{flex-grow:5.4}
.pd-az-col:nth-child(1){background:linear-gradient(165deg,#1584ec,#0b4f8f)}
.pd-az-col:nth-child(2){background:linear-gradient(165deg,#0f6fc0,#083b70)}
.pd-az-col:nth-child(3){background:linear-gradient(165deg,#0a5aa0,#072f5c)}
.pd-az-col:nth-child(4){background:linear-gradient(165deg,#0a4681,#06264b)}
.pd-az-col:nth-child(5){background:linear-gradient(165deg,#08355f,#051b35)}
.pd-az-col:has(.pd-az-col-btn:focus-visible){outline:3px solid #49bcff;outline-offset:2px}
.avc-product .pd-az-col-btn{position:absolute;inset:0;z-index:2;display:flex;flex-direction:column;align-items:center;justify-content:space-between;width:100%;margin:0;padding:24px 8px;border:0;border-radius:inherit;background:none;font:inherit;color:#fff;cursor:pointer;outline:0;transition:opacity .25s}
.pd-az-col.is-on .pd-az-col-btn{opacity:0;pointer-events:none}
.pd-az-col-no{font-size:15px;color:#ffffffa6}
.pd-az-col-name{writing-mode:vertical-rl;transform:rotate(180deg);font-size:20px;font-weight:500;line-height:1.3;white-space:nowrap}
.pd-az-col-ic{display:grid;place-items:center;width:46px;height:46px;border-radius:14px;background:#ffffff24}
.pd-az-col-body{position:absolute;left:0;top:0;bottom:0;width:640px;max-width:100%;display:grid;align-content:start;gap:18px;padding:30px;opacity:0;visibility:hidden;transition:opacity .3s}
.pd-az-col.is-on .pd-az-col-body{opacity:1;visibility:visible;transition-delay:.2s}
.avc-product .pd-az-col-key{margin:0;font-size:13px;letter-spacing:.08em;color:#a9dcff}
.avc-product .pd-az-col-body h3{margin:2px 0 0;font-size:30px;line-height:1.3;color:#fff}
.avc-product .pd-az-col-head>p:last-child{margin:6px 0 0;font-size:15px;line-height:1.65;color:#d6e9fa}
.pd-az-col-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.pd-az-svc{display:grid;align-content:start;gap:7px;padding:15px;border-radius:17px;background:#ffffff14;border:1px solid #ffffff24;transition:background .25s,transform .25s}
.pd-az-svc:first-child:nth-last-child(3){grid-column:1/-1}
@media(hover:hover){.pd-az-svc:hover{background:#ffffff24;transform:translateY(-3px)}}
.pd-az-svc img{width:40px;height:40px;border-radius:11px}
.avc-product .pd-az-svc h4{margin:0;font-size:15.5px;font-weight:500;line-height:1.35;color:#fff}
.avc-product .pd-az-svc p{margin:0;font-size:13.5px;line-height:1.55;color:#cfe3f4}
.avc-product .pd-az-pricing td:nth-child(3){white-space:normal;min-width:214px;color:#0b72c4}
.avc-product .pd-az-pricing td:nth-child(4){white-space:normal;min-width:120px;font-weight:400;color:#5b7186}
@media(max-width:1100px){
 .pd-az-cols{flex-direction:column;height:auto}
 .pd-az-col,.pd-az-col.is-on{flex:none}
 .avc-product .pd-az-col-btn{position:relative;inset:auto;flex-direction:row;gap:14px;justify-content:flex-start;padding:16px 18px}
 .pd-az-col.is-on .pd-az-col-btn{opacity:1;pointer-events:auto}
 .pd-az-col-name{flex:1;writing-mode:horizontal-tb;transform:none;font-size:18px;text-align:left;white-space:normal}
 .pd-az-col-ic{width:36px;height:36px}
 .pd-az-col-body{position:static;display:none;width:auto;padding:0 18px 20px;opacity:1;visibility:visible}
 .pd-az-col.is-on .pd-az-col-body{display:grid}
 .avc-product .pd-az-col-key,.avc-product .pd-az-col-body h3{display:none}
 .avc-product .pd-az-col-head>p:last-child{margin:0}
}
@media(max-width:960px){
 .pd-az-pano{grid-template-columns:1fr;row-gap:30px;max-width:420px;margin-left:auto;margin-right:auto}
 .pd-az-flow,.pd-az-tag{display:none}
 .pd-az-center{padding:0}
 .pd-az-center::before,.pd-az-center::after{content:"";position:absolute;left:50%;width:2px;height:30px;background:repeating-linear-gradient(#8fb4f7 0 5px,transparent 5px 10px)}
 .pd-az-center::before{top:-30px}.pd-az-center::after{bottom:-30px}
 .pd-az-hub{width:140px;margin:-10px 0}
}
@media(max-width:640px){
 .pd-az-hero h1{font-size:clamp(38px,11vw,48px)!important}
 .pd-az-col-list{grid-template-columns:1fr}
 .avc-product .pd-az-pricing td:nth-child(3),.avc-product .pd-az-pricing td:nth-child(4){min-width:0}
}
@media(prefers-reduced-motion:reduce){.pd-az-pano *,.pd-az-pano *::before,.pd-az-pano *::after,.pd-az-col,.pd-az-col *{animation:none!important;transition:none!important}}
/* ===== DigitalOcean page ===== */
/* Hero: an icon floating on moving water. Text, badge and buttons use the site's sky-blue colours. */
.pd-do-hero{padding-bottom:150px;overflow:hidden;background:radial-gradient(46% 60% at 76% 40%,#c9ecff 0%,rgba(201,236,255,0) 72%),linear-gradient(#fff 45%,#e9f7ff 100%)}
.pd-do-hero h1{font-size:clamp(46px,6vw,76px)!important;line-height:1.08!important}
.avc-product .pd-do-hero .pd-rds-tag{text-wrap:balance}
.pd-do-sea{position:absolute;left:0;right:0;bottom:0;z-index:-1;height:170px;overflow:hidden;pointer-events:none}
.pd-do-wave{position:absolute;left:0;bottom:0;width:200%;height:100%;animation:pd-do-drift 16s linear infinite}
.pd-do-wave.w1{fill:#c6ecff;animation-duration:22s}
.pd-do-wave.w2{fill:#38b6fc;opacity:.45;animation-duration:15s;animation-direction:reverse}
.pd-do-wave.w3{fill:#fff;animation-duration:11s}
@keyframes pd-do-drift{to{transform:translateX(-25%)}}
.pd-do-stage{position:relative;width:100%;max-width:540px;margin:0 auto;aspect-ratio:1/.92}
.pd-do-stage>*{position:absolute;will-change:transform}
.pd-do-glow{left:12%;top:8%;width:76%;height:76%;border-radius:50%;background:radial-gradient(circle,#9fe0ff 0,#dcf3ff 52%,transparent 72%);filter:blur(10px)}
.pd-do-ripples{left:50%;top:76%;width:0;height:0}
.pd-do-ripples i{position:absolute;left:-170px;top:-34px;width:340px;height:68px;border-radius:50%;border:2px solid #14aefc;opacity:0;animation:pd-do-ripple 4.5s ease-out infinite}
.pd-do-ripples i:nth-child(2){animation-delay:-1.5s}.pd-do-ripples i:nth-child(3){animation-delay:-3s}
@keyframes pd-do-ripple{0%{transform:scale(.45);opacity:.6}100%{transform:scale(1.25);opacity:0}}
.pd-do-bubbles{inset:0}
.pd-do-bubbles i{position:absolute;bottom:18%;width:12px;height:12px;border-radius:50%;background:radial-gradient(circle at 35% 30%,#fff 0 18%,#7fdcff 60%,#0b8ff7);opacity:0;animation:pd-do-rise 7s ease-in infinite}
.pd-do-bubbles i:nth-child(1){left:18%}.pd-do-bubbles i:nth-child(2){left:30%;width:8px;height:8px;animation-delay:-1.4s}.pd-do-bubbles i:nth-child(3){left:42%;width:7px;height:7px;animation-delay:-5.2s}.pd-do-bubbles i:nth-child(4){left:62%;width:9px;height:9px;animation-delay:-3s}.pd-do-bubbles i:nth-child(5){left:74%;animation-delay:-4.3s}.pd-do-bubbles i:nth-child(6){left:84%;width:7px;height:7px;animation-delay:-2.2s}
@keyframes pd-do-rise{0%{transform:translateY(0);opacity:0}15%{opacity:.85}85%{opacity:.5}100%{transform:translateY(-300px);opacity:0}}
.pd-do-core{left:29%;top:21%;width:42%;z-index:2}
.pd-do-core img{display:block;width:100%;max-width:none;height:auto;filter:drop-shadow(0 24px 26px #023de84d)}
.pd-do-bob{animation:pd-do-bob 5.5s ease-in-out infinite}
@keyframes pd-do-bob{0%,100%{transform:translateY(-8px) rotate(-1.5deg)}50%{transform:translateY(8px) rotate(1.5deg)}}
.pd-do-chip{z-index:3;display:flex;align-items:center;gap:10px;padding:10px 14px 10px 10px;border-radius:16px;background:#fff;border:1px solid #d6e4f7;box-shadow:0 16px 32px #0a3a8a1f;white-space:nowrap}
.pd-do-chip>span{display:grid;place-items:center;width:36px;height:36px;flex:none;border-radius:11px;background:linear-gradient(135deg,#04b3fc,#023de8);color:#fff}
.pd-do-chip b{display:block;font-size:14px;font-weight:500;line-height:1.3;color:#081b33}
.pd-do-chip small{display:flex;align-items:center;gap:5px;font-size:12px;line-height:1.35;color:#52657a}
.pd-do-chip.c1{left:-3%;top:9%}.pd-do-chip.c2{right:-3%;top:26%}.pd-do-chip.c3{left:0;bottom:15%}
/* Reliability */
.pd-do-trust{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:48px;align-items:center;max-width:1184px;margin:0 auto}
.pd-do-trust-copy{display:grid;justify-items:start;gap:16px}
.pd-do-trust-copy>*{margin:0!important}
.pd-do-certs{display:flex;flex-wrap:wrap;gap:8px;padding:0;list-style:none}
.pd-do-certs li{padding:6px 12px;border-radius:10px;background:#fff;border:1px solid var(--pd-line);font-size:13.5px;color:#33536e}
.pd-do-sla{display:grid;gap:20px;padding:30px;border-radius:26px;background:#fff;border:1px solid var(--pd-line);box-shadow:0 20px 44px #17395712}
.pd-do-sla-row{position:relative;display:flex;justify-content:space-between;align-items:baseline;gap:12px;padding-bottom:13px;font-size:15px;color:#33536e}
.pd-do-sla-row b{font-size:20px;font-weight:500;color:var(--pd-accent);font-variant-numeric:tabular-nums}
.pd-do-sla-row i{position:absolute;left:0;right:0;bottom:0;height:6px;border-radius:9px;background:#e7f1f9;overflow:hidden}
.pd-do-sla-row i::after{content:"";display:block;width:var(--v);height:100%;border-radius:9px;background:linear-gradient(90deg,#62c8fa,#168dce)}
@media(max-width:1024px){
 .pd-do-stage{max-width:500px}
 .pd-do-trust{grid-template-columns:minmax(0,1fr)}
 .pd-do-trust{gap:32px}
}
@media(max-width:640px){
 .pd-do-hero{padding-bottom:110px}
 .pd-do-hero h1{font-size:clamp(42px,12.500vw,54px)!important}
 .pd-do-sea{height:120px}
 .pd-do-stage{aspect-ratio:1/1}
 .pd-do-core{left:30%;top:30%;width:40%}
 .pd-do-ripples{top:78%}
 .pd-do-ripples i{left:-130px;top:-26px;width:260px;height:52px}
 .pd-do-chip{padding:7px 10px 7px 7px;gap:7px;border-radius:13px}
 .pd-do-chip>span{width:30px;height:30px;border-radius:9px}
 .pd-do-chip b{font-size:13px}.pd-do-chip small{font-size:11px}
 .pd-do-chip.c1{left:0;top:3%}.pd-do-chip.c2{right:0;top:3%}.pd-do-chip.c3{left:50%;bottom:0;translate:-50% 0}
 .pd-do-sla{padding:22px}
 .pd-do-sla-row{font-size:14px}
}
@media(prefers-reduced-motion:reduce){.pd-do-hero *{animation:none!important}}
