:root{
  --bg:#f5f7fb;
  --ink:#101828;
  --muted:#667085;
  --line:#e4e7ec;
  --card:#fff;
  --green:#10b981;
  --green-dark:#059669;
  --blue:#2563eb;
  --red:#e11d48;
  --shadow:0 22px 70px rgba(15,23,42,.10);
  --radius:24px;
}
*{box-sizing:border-box}
html,body{margin:0;min-height:100%;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;background:var(--bg);color:var(--ink)}
body{background:radial-gradient(circle at 12% 0%,#dcfce7 0,transparent 28%),radial-gradient(circle at 80% 6%,#dbeafe 0,transparent 25%),var(--bg)}
button,input,textarea{font:inherit}
button{cursor:pointer;border:0}
a{color:inherit}
.hidden,.hidden-copy{display:none!important}
.topbar{height:74px;position:sticky;top:0;z-index:30;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:0 28px;background:rgba(255,255,255,.86);backdrop-filter:blur(18px);border-bottom:1px solid rgba(228,231,236,.8)}
.brand{display:flex;align-items:center;gap:12px;text-decoration:none;color:var(--ink)}
.brand-mark{width:42px;height:42px;border-radius:15px;display:grid;place-items:center;color:#fff;font-weight:900;background:linear-gradient(135deg,var(--green),#22c55e 48%,#0f766e);box-shadow:0 14px 28px rgba(16,185,129,.25)}
.brand strong{display:block;font-size:17px;line-height:1}.brand small{display:block;font-size:12px;color:var(--muted);font-weight:700;margin-top:3px}
.top-actions{display:flex;align-items:center;gap:10px}.domain{display:inline-flex;align-items:center;height:36px;border:1px solid #d0d5dd;background:#fff;border-radius:999px;padding:0 13px;color:#475467;font-weight:750;font-size:12px}.logout{height:36px;display:inline-flex;align-items:center;border-radius:999px;background:#101828;color:#fff;text-decoration:none;padding:0 15px;font-size:12px;font-weight:850}.logout.light{background:#fff;color:#101828;border:1px solid #d0d5dd}
.nav-tabs{display:flex;align-items:center;background:#f2f4f7;border:1px solid #eaecf0;border-radius:999px;padding:4px}.nav-tabs button{height:38px;padding:0 18px;border-radius:999px;background:transparent;color:#667085;font-weight:850}.nav-tabs button.active{background:#fff;color:#101828;box-shadow:0 6px 18px rgba(15,23,42,.08)}
.hero{max-width:1240px;margin:0 auto;padding:42px 28px 24px;display:grid;grid-template-columns:1fr 330px;gap:28px;align-items:stretch}.marketing-hero{padding-top:38px}.hero-copy{background:linear-gradient(135deg,rgba(255,255,255,.88),rgba(255,255,255,.70));border:1px solid rgba(255,255,255,.75);border-radius:34px;padding:42px;box-shadow:var(--shadow);position:relative;overflow:hidden}.hero-copy:after{content:"";position:absolute;width:270px;height:270px;right:-80px;top:-80px;background:linear-gradient(135deg,rgba(16,185,129,.22),rgba(37,99,235,.20));border-radius:50%;filter:blur(10px)}
.eyebrow{display:inline-flex;align-items:center;gap:8px;border:1px solid rgba(16,185,129,.25);background:#ecfdf3;color:#047857;border-radius:999px;padding:8px 12px;font-size:12px;font-weight:900;text-transform:uppercase;letter-spacing:.05em}.eyebrow:before{content:"";width:8px;height:8px;background:var(--green);border-radius:50%;box-shadow:0 0 0 4px rgba(16,185,129,.14)}.eyebrow.dark{background:#f8fafc;color:#344054;border-color:#e4e7ec}.eyebrow.dark:before{background:#2563eb;box-shadow:0 0 0 4px rgba(37,99,235,.12)}
.hero h1{max-width:820px;margin:18px 0 14px;font-size:clamp(34px,4.6vw,64px);line-height:.96;letter-spacing:-.055em}.hero p{max-width:720px;margin:0;color:#475467;font-size:17px;line-height:1.55}.hero-badges{display:flex;flex-wrap:wrap;gap:10px;margin-top:24px}.hero-badges span{display:inline-flex;height:36px;align-items:center;border-radius:999px;background:#fff;border:1px solid #e4e7ec;padding:0 13px;color:#344054;font-weight:850;font-size:13px}
.hero-card{border:1px solid rgba(255,255,255,.72);background:linear-gradient(180deg,#0f172a,#111827);color:#fff;border-radius:34px;padding:20px;box-shadow:var(--shadow);display:flex;flex-direction:column;justify-content:space-between;min-height:310px}.marketing-card{background:radial-gradient(circle at 15% 15%,rgba(16,185,129,.35),transparent 34%),linear-gradient(180deg,#0f172a,#0b1220)}.phone-preview{display:grid;place-items:center;flex:1}.phone-video{width:210px;height:210px;border-radius:34px;background:radial-gradient(circle at 30% 25%,rgba(255,255,255,.28),transparent 30%),linear-gradient(135deg,#10b981,#2563eb);position:relative;box-shadow:inset 0 0 0 10px rgba(255,255,255,.12),0 22px 55px rgba(0,0,0,.25);overflow:hidden}.phone-video:after{content:"";position:absolute;left:0;right:0;bottom:0;height:80px;background:linear-gradient(to top,rgba(0,0,0,.55),transparent)}.play-dot{position:absolute;inset:0;display:grid;place-items:center;font-size:48px;text-shadow:0 12px 30px rgba(0,0,0,.4);z-index:1}.watermark-preview{position:absolute;right:15px;bottom:15px;z-index:2;background:rgba(16,185,129,.94);border-radius:999px;padding:8px 10px;font-size:13px;font-weight:900}.hero-card strong{display:block;font-size:20px;line-height:1.15}.hero-card p{margin:8px 0 0;color:rgba(255,255,255,.72);font-size:13px;line-height:1.4}
.view-section{display:none;max-width:1240px;margin:0 auto;padding:0 28px 40px}.view-section.active{display:block}.section-head{display:flex;align-items:end;justify-content:space-between;gap:22px;margin:12px 0 22px}.section-head h2,.studio-panel h2,.result-panel h2{margin:12px 0 6px;font-size:31px;letter-spacing:-.035em}.section-head p,.muted{margin:0;color:var(--muted);line-height:1.5}.search-wrap{min-width:320px}.search-wrap input,.form-row input,.login-form input,.copy-line input,.copy-stack textarea{width:100%;border:1px solid #d0d5dd;background:#fff;color:var(--ink);border-radius:16px;outline:none;transition:.18s border-color,.18s box-shadow}.search-wrap input,.form-row input,.login-form input,.copy-line input{height:48px;padding:0 15px}.copy-stack textarea{height:92px;padding:12px 14px;resize:vertical}.search-wrap input:focus,.form-row input:focus,.login-form input:focus,.copy-line input:focus,.copy-stack textarea:focus{border-color:#86efac;box-shadow:0 0 0 4px rgba(16,185,129,.14)}
.gallery-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(265px,1fr));gap:20px}.video-card{background:#fff;border:1px solid #e4e7ec;border-radius:26px;overflow:hidden;box-shadow:0 12px 34px rgba(15,23,42,.055);transition:.2s transform,.2s box-shadow,.2s border-color}.video-card:hover{transform:translateY(-4px);box-shadow:0 24px 60px rgba(15,23,42,.12);border-color:#bbf7d0}.thumb{aspect-ratio:1/1;background:#0f172a;position:relative;overflow:hidden}.thumb img,.thumb video{width:100%;height:100%;object-fit:cover;display:block;background:#0f172a}.thumb-empty{width:100%;height:100%;display:grid;place-items:center;background:linear-gradient(135deg,#0f172a,#064e3b);color:#fff;font-size:48px}.play-overlay{position:absolute;inset:0;background:linear-gradient(to top,rgba(0,0,0,.72),rgba(0,0,0,.12),transparent);display:flex;align-items:center;justify-content:center;opacity:0;transition:.18s opacity}.video-card:hover .play-overlay{opacity:1}.play-overlay span{width:62px;height:62px;border-radius:50%;display:grid;place-items:center;background:rgba(255,255,255,.92);color:#0f172a;font-size:24px;box-shadow:0 14px 34px rgba(0,0,0,.28)}.thumb-badge{position:absolute;right:12px;bottom:12px;border-radius:999px;padding:7px 10px;background:rgba(16,185,129,.95);color:#fff;font-size:12px;font-weight:900}.card-body{padding:17px}.card-body h3{margin:0;color:#101828;font-size:16px;line-height:1.25;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.card-body p{margin:8px 0 14px;color:#667085;font-size:13px;line-height:1.35;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.meta-row{display:flex;flex-wrap:wrap;gap:8px}.chip{display:inline-flex;align-items:center;min-height:27px;padding:0 9px;border-radius:999px;background:#f8fafc;border:1px solid #e4e7ec;color:#475467;font-size:11px;font-weight:900}.chip.green{background:#ecfdf3;border-color:#bbf7d0;color:#047857}.card-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:15px}.open-video-btn,.download-btn,.card-link{height:42px;border-radius:14px;text-decoration:none;display:grid;place-items:center;font-size:13px;font-weight:900}.open-video-btn{background:#101828;color:#fff}.download-btn{background:#ecfdf3;color:#047857;border:1px solid #bbf7d0}.card-link{grid-column:1/-1;background:#f8fafc;color:#344054;border:1px solid #e4e7ec}
.admin-hero{max-width:1240px;margin:0 auto;padding:42px 28px 18px}.admin-hero h1{margin:18px 0 10px;font-size:clamp(32px,4vw,54px);line-height:1;letter-spacing:-.055em}.admin-hero p{max-width:780px;margin:0;color:#475467;font-size:16px;line-height:1.55}.studio-grid{display:grid;grid-template-columns:420px 1fr;gap:24px}.panel{background:rgba(255,255,255,.92);border:1px solid rgba(228,231,236,.9);border-radius:30px;box-shadow:0 18px 55px rgba(15,23,42,.075);padding:24px}.login-form,.upload-form{display:grid;gap:15px;margin-top:22px}.login-form label,.form-row label,.copy-stack label{display:block;margin:0 0 8px;color:#344054;font-size:13px;font-weight:850}.login-form button,.upload-form button,.copy-line button,.wide-copy{height:48px;border-radius:16px;background:linear-gradient(135deg,var(--green),var(--green-dark));color:#fff;font-weight:950;box-shadow:0 16px 30px rgba(16,185,129,.20);transition:.18s transform,.18s filter}.login-form button:hover,.upload-form button:hover,.copy-line button:hover,.wide-copy:hover{transform:translateY(-1px);filter:brightness(.98)}.upload-form button:disabled{opacity:.65;cursor:wait}.file-zone{position:relative;border:2px dashed #bbf7d0;background:#f0fdf4;border-radius:22px;min-height:154px;display:grid;place-items:center;text-align:center;padding:20px;color:#047857;transition:.18s border-color,.18s background}.file-zone.drag{border-color:#22c55e;background:#dcfce7}.file-zone input{position:absolute;inset:0;opacity:0;cursor:pointer}.file-icon{width:45px;height:45px;border-radius:16px;display:grid;place-items:center;background:#fff;color:#047857;font-size:22px;box-shadow:0 10px 26px rgba(15,23,42,.08)}.file-zone strong{display:block;margin-top:8px}.file-zone small{display:block;color:#667085;margin-top:3px}.status{margin-top:18px;border-radius:18px;padding:14px 15px;font-size:14px;line-height:1.45;font-weight:850}.status.ok{background:#ecfdf3;color:#027a48;border:1px solid #bbf7d0}.status.error{background:#fff1f2;color:#be123c;border:1px solid #fecdd3}.status.info{background:#eff6ff;color:#1d4ed8;border:1px solid #bfdbfe}.alert{margin-top:16px;border-radius:16px;padding:13px 14px;font-size:14px;font-weight:850}.alert-error{background:#fff1f2;color:#be123c;border:1px solid #fecdd3}.result-panel{min-height:680px}.empty-result{min-height:515px;border:2px dashed #d0d5dd;border-radius:24px;display:grid;place-items:center;text-align:center;color:#667085;padding:28px}.empty-result h3{margin:16px 0 8px;color:#344054;font-size:24px}.empty-icon{width:80px;height:80px;border-radius:50%;background:#ecfdf3;color:#047857;display:grid;place-items:center;font-size:31px}.result-data iframe{display:block;width:500px;height:500px;max-width:100%;border:0;border-radius:24px;background:#050816;margin:0 auto 20px;box-shadow:0 18px 55px rgba(15,23,42,.12)}.copy-stack{display:grid;gap:10px}.copy-line{display:grid;grid-template-columns:1fr 96px;gap:10px}.copy-line button{height:48px}.wide-copy{width:100%;height:48px}
.feed-picker{display:grid;gap:12px;border:1px solid #dbeafe;background:linear-gradient(180deg,#eff6ff,#fff);border-radius:24px;padding:16px;margin-bottom:4px}.feed-picker-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.feed-picker-head strong{display:block;color:#101828;font-size:15px}.feed-picker-head small{display:block;margin-top:4px;color:#667085;font-size:11px;line-height:1.3}.feed-picker-head button{height:34px;border-radius:999px;padding:0 12px;background:#101828;color:#fff;font-size:12px;font-weight:900;white-space:nowrap}.feed-picker>input{height:46px;border:1px solid #bfdbfe;background:#fff;border-radius:15px;padding:0 14px;outline:none}.feed-picker>input:focus{border-color:#60a5fa;box-shadow:0 0 0 4px rgba(59,130,246,.12)}.feed-status{font-size:12px;line-height:1.35;color:#475467;background:#fff;border:1px solid #e4e7ec;border-radius:14px;padding:9px 10px}.feed-status.ok{color:#047857;background:#ecfdf3;border-color:#bbf7d0}.feed-status.warn{color:#92400e;background:#fffbeb;border-color:#fde68a}.feed-status.error{color:#be123c;background:#fff1f2;border-color:#fecdd3}.product-results{display:grid;gap:8px;max-height:360px;overflow:auto;padding-right:2px}.product-option{width:100%;display:grid;grid-template-columns:58px 1fr;gap:11px;align-items:center;text-align:left;background:#fff;border:1px solid #e4e7ec;border-radius:18px;padding:9px;transition:.16s border-color,.16s transform,.16s box-shadow}.product-option:hover{transform:translateY(-1px);border-color:#86efac;box-shadow:0 10px 28px rgba(15,23,42,.08)}.product-img{width:58px;height:58px;border-radius:14px;object-fit:cover;background:#f8fafc;border:1px solid #e4e7ec;display:grid;place-items:center;color:#047857;font-weight:950}.product-img.empty{background:#ecfdf3}.product-info{min-width:0;display:grid;gap:3px}.product-info strong{display:block;color:#101828;font-size:13px;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.product-info small{display:block;color:#047857;font-size:11px;font-weight:900;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.product-info em{display:block;color:#667085;font-style:normal;font-size:11px;line-height:1.25;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.product-empty,.product-loading{border:1px dashed #d0d5dd;border-radius:18px;background:#fff;color:#667085;text-align:center;padding:18px;font-size:13px;line-height:1.45}.selected-product{display:grid;grid-template-columns:58px 1fr;gap:12px;align-items:center;background:#ecfdf3;border:1px solid #bbf7d0;border-radius:18px;padding:10px}.selected-product span{display:block;color:#047857;font-size:11px;font-weight:950;text-transform:uppercase;letter-spacing:.04em}.selected-product strong{display:block;color:#101828;font-size:14px;line-height:1.2;margin:3px 0}.selected-product small{display:block;color:#475467;font-size:12px}.form-row input[type="hidden"]{display:none}
.modal{position:fixed;inset:0;z-index:70;background:rgba(2,6,23,.76);backdrop-filter:blur(10px);display:grid;place-items:center;padding:22px}.modal-card{width:min(1040px,100%);background:#fff;border-radius:32px;box-shadow:0 32px 95px rgba(0,0,0,.34);display:grid;grid-template-columns:500px 1fr;position:relative;overflow:hidden}.modal-close{position:absolute;right:16px;top:16px;z-index:4;width:40px;height:40px;border-radius:50%;background:rgba(255,255,255,.94);color:#101828;font-size:26px;line-height:1;box-shadow:0 10px 24px rgba(15,23,42,.16)}.modal-player{background:#050816;display:grid;place-items:center}.modal-player iframe{width:500px;height:500px;border:0;background:#050816}.modal-info{padding:34px;display:flex;flex-direction:column}.modal-info h3{margin:16px 0 8px;font-size:29px;line-height:1.07;letter-spacing:-.035em}.modal-info p{margin:0;color:#667085;line-height:1.45}.modal-meta{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0 22px}.modal-meta span{display:inline-flex;align-items:center;min-height:30px;border-radius:999px;background:#f8fafc;border:1px solid #e4e7ec;color:#475467;padding:0 10px;font-size:12px;font-weight:900}.compact{margin-top:auto}.marketing-actions{display:grid;gap:10px}.primary-action,.secondary-action,.secondary-link{min-height:48px;border-radius:16px;text-decoration:none;display:grid;place-items:center;text-align:center;font-weight:950}.primary-action{background:linear-gradient(135deg,var(--green),var(--green-dark));color:#fff;box-shadow:0 16px 30px rgba(16,185,129,.20)}.secondary-action,.secondary-link{background:#f8fafc;color:#344054;border:1px solid #e4e7ec}.toast{position:fixed;right:22px;bottom:22px;z-index:99;background:#101828;color:#fff;border-radius:16px;padding:13px 16px;font-weight:900;box-shadow:0 20px 45px rgba(15,23,42,.28)}
@media(max-width:1060px){.hero{grid-template-columns:1fr}.hero-card{min-height:260px}.studio-grid{grid-template-columns:1fr}.modal-card{grid-template-columns:1fr;max-width:560px}.modal-player iframe{width:100%;height:min(500px,calc(100vw - 44px))}.modal-info{padding:26px}.topbar{height:auto;min-height:74px;flex-wrap:wrap;padding:14px 18px}.domain{display:none}}
@media(max-width:720px){.hero,.admin-hero{padding:24px 16px 18px}.hero-copy{padding:28px;border-radius:26px}.hero h1{font-size:38px}.section-head{align-items:stretch;flex-direction:column}.search-wrap{min-width:0}.view-section{padding:0 16px 30px}.gallery-grid{grid-template-columns:1fr}.panel{border-radius:24px;padding:20px}.top-actions{margin-left:auto}.hero-badges span{height:34px;font-size:12px}.result-data iframe{height:min(500px,calc(100vw - 72px));width:min(500px,calc(100vw - 72px))}.feed-picker-head{flex-direction:column}.feed-picker-head button{width:100%}.product-results{max-height:420px}.product-option,.selected-product{grid-template-columns:52px 1fr}.product-img{width:52px;height:52px}.modal{padding:12px;align-items:end}.modal-card{border-radius:26px;max-height:94vh;overflow:auto}.modal-info h3{font-size:24px}.modal-player iframe{height:calc(100vw - 24px)}.card-actions{grid-template-columns:1fr}.card-link{grid-column:auto}.public-actions{display:none}.copy-line{grid-template-columns:1fr}.admin-hero h1{font-size:36px}}
