/* PRANG PARADEE · PRD Digital Solutions — styles (แยกออกมาจาก index.html เดิม) */
:root{ --primary:#1D4ED8; --secondary:#06B6D4; --accent:#A855F7; --highlight:#FB7185; --surface:#F8FAFC; --ink:#0F172A; }
html{scroll-behavior:smooth;}
body{font-family:'Inter','Kanit',sans-serif; color:var(--ink); background:#fff; overflow-x:hidden;}
h1,h2,h3,h4,.display{font-family:'Plus Jakarta Sans','Kanit',sans-serif;}
::selection{ background: var(--accent); color:#fff; }
::-webkit-scrollbar{width:10px;}
::-webkit-scrollbar-track{background:#fff;}
::-webkit-scrollbar-thumb{background:linear-gradient(var(--primary),var(--accent)); border-radius:8px;}
.grad-text{ background: linear-gradient(100deg, var(--primary), var(--accent) 55%, var(--highlight)); -webkit-background-clip:text; background-clip:text; color:transparent; }
.glass{ background: rgba(255,255,255,0.65); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border: 1px solid rgba(255,255,255,0.6); }
.glass-dark{ background: rgba(15,23,42,0.55); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border: 1px solid rgba(255,255,255,0.08); }
.btn-primary{ background: linear-gradient(100deg, var(--primary), var(--accent)); box-shadow: 0 10px 30px -8px rgba(29,78,216,0.45); transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s; }
.btn-primary:hover{ transform: translateY(-3px) scale(1.015); box-shadow: 0 16px 40px -8px rgba(168,85,247,0.5);}
.btn-secondary{ background:#fff; border:1.5px solid #E2E8F0; transition: all .3s; }
.btn-secondary:hover{ border-color: var(--primary); color:var(--primary); transform: translateY(-3px); box-shadow: 0 10px 24px -10px rgba(29,78,216,0.3);}
.btn-ghost{ transition: all .3s; }
.btn-ghost:hover{ color: var(--primary); }
.card-hover{ transition: transform .45s cubic-bezier(.2,.8,.2,1), box-shadow .45s, border-color .45s; }
.card-hover:hover{ transform: translateY(-8px); box-shadow: 0 24px 60px -20px rgba(29,78,216,0.25); border-color: transparent; }
.blob{ position:absolute; border-radius:999px; filter: blur(70px); opacity:.5; z-index:0; }
@keyframes floatY{ 0%,100%{ transform:translateY(0) } 50%{ transform:translateY(-22px) } }
@keyframes floatX{ 0%,100%{ transform:translateX(0) } 50%{ transform:translateX(18px) } }
.float-a{ animation: floatY 7s ease-in-out infinite; }
.float-b{ animation: floatY 9s ease-in-out infinite 1s; }
.float-c{ animation: floatX 8s ease-in-out infinite; }
.dot-grid{ background-image: radial-gradient(rgba(15,23,42,0.09) 1.2px, transparent 1.2px); background-size: 22px 22px; }
.sig-path{ stroke-dasharray: 620; stroke-dashoffset: 620; animation: draw 2.1s cubic-bezier(.3,.8,.2,1) forwards .2s; }
@keyframes draw{ to{ stroke-dashoffset:0; } }
.reveal{ opacity:0; transform: translateY(28px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.is-visible{ opacity:1; transform: translateY(0); }
.reveal-1{ transition-delay:.05s } .reveal-2{ transition-delay:.15s } .reveal-3{ transition-delay:.25s } .reveal-4{ transition-delay:.35s }
#nav{ transition: all .4s cubic-bezier(.2,.7,.2,1); }
#nav.scrolled{ box-shadow: 0 8px 30px -12px rgba(15,23,42,0.18); }
#mobileMenu{ transform: translateY(-12px); opacity:0; pointer-events:none; transition: all .35s cubic-bezier(.2,.8,.2,1); }
#mobileMenu.open{ transform: translateY(0); opacity:1; pointer-events:auto; }
.screen-glow{ box-shadow: 0 40px 90px -30px rgba(29,78,216,0.45), 0 10px 30px -10px rgba(168,85,247,0.3); }
.badge-pill{ transition: all .3s; }
.badge-pill:hover{ transform: translateY(-3px); border-color: var(--primary); color: var(--primary); background:#fff; }

/* ป้ายสถานะผลงาน: เขียว=LIVE, น้ำเงิน=COMPLETED, เหลือง=IN PROGRESS, ม่วง=EXPERIMENT, เทา=CONCEPT */
.status{ display:inline-flex; align-items:center; gap:6px; font-size:11px; font-weight:700; letter-spacing:.06em; padding:4px 10px; border-radius:999px; white-space:nowrap; }
.status::before{ content:""; width:6px; height:6px; border-radius:999px; background:currentColor; }
.status-live{ background:#DCFCE7; color:#15803D; }
.status-completed{ background:#DBEAFE; color:#1D4ED8; }
.status-progress{ background:#FEF3C7; color:#B45309; }
.status-experiment{ background:#F3E8FF; color:#7E22CE; }
.status-concept{ background:#F1F5F9; color:#475569; }

/* tag ความสามารถบนการ์ดผลงาน */
.tag{ font-size:11.5px; font-weight:600; padding:3px 10px; border-radius:999px; background:#F1F5F9; color:#475569; }

@media (prefers-reduced-motion: reduce){ *{ animation: none !important; transition: none !important; } }

/* ช่องใส่รูป: ถ้ามีไฟล์รูป รูปจะทับข้อความ ถ้ายังไม่มี จะเห็นชื่อไฟล์ที่ต้องใส่ */
.shot{ position:relative; aspect-ratio:16/9; border-radius:1.25rem; overflow:hidden; background:linear-gradient(135deg,#EEF3FF,#F3E8FF); border:1.5px dashed #CBD5E1; display:flex; align-items:center; justify-content:center; }
.shot img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.shot figcaption{ font-size:12px; font-weight:500; color:#64748B; padding:0 12px; text-align:center; }
.shot:has(img){ border:1px solid #E2E8F0; }
.shot-portrait{ aspect-ratio:1/1; width:140px; border-radius:999px; }
