/* CloudSaveOnline.com */
:root {
  --ink: #0f172a;
  --ink-2: #334155;
  --muted: #64748b;
  --line: #e2e8f0;
  --bg: #f6f8fc;
  --card: #ffffff;
  --navy: #0b1437;
  --navy-2: #131f52;
  --blue: #2563eb;
  --violet: #7c3aed;
  --amber: #f59e0b;
  --green: #059669;
  --red: #dc2626;
  --grad: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
  --grad-warm: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
  --radius: 16px;
  --shadow: 0 1px 2px rgba(15,23,42,.06), 0 8px 24px rgba(15,23,42,.06);
  --shadow-lg: 0 20px 50px rgba(15,23,42,.14);
  --head: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color: var(--ink); background: var(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { font-family: var(--head); line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
.center { text-align: center; }
.small { font-size: .875rem; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(11,20,55,.92);
  backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid rgba(255,255,255,.08); }
.header-row { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; font-family: var(--head);
  font-weight: 700; font-size: 1.3rem; }
.brand:hover { text-decoration: none; }
.brand b { color: #fbbf24; font-weight: 800; }
.logo-mark { width: 38px; height: 38px; }
.main-nav { display: flex; align-items: center; gap: 6px; }
.main-nav > a { color: #cbd5e1; padding: 8px 12px; border-radius: 10px; font-weight: 500; font-size: .95rem; }
.main-nav > a:hover, .main-nav > a.on { color: #fff; background: rgba(255,255,255,.08); text-decoration: none; }
.nav-account { display: flex; align-items: center; gap: 10px; margin-left: 14px; }
.nav-quiet { color: #cbd5e1; font-size: .95rem; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: #fff; margin: 5px 0; border-radius: 2px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px;
  border-radius: 12px; font-weight: 600; font-size: 1rem; border: 1px solid transparent; cursor: pointer;
  transition: transform .15s, box-shadow .15s, background .15s; font-family: inherit; line-height: 1.2; }
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none; }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 8px 20px rgba(79,70,229,.35); }
.btn-warm { background: var(--grad-warm); color: #fff; box-shadow: 0 8px 20px rgba(239,68,68,.3); }
.btn-ghost { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.22); }
.btn-outline { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-outline:hover { border-color: #94a3b8; }
.btn-danger { background: #fff; color: var(--red); border-color: #fecaca; }
.btn-sm { padding: 8px 14px; font-size: .9rem; border-radius: 10px; }
.btn-lg { padding: 16px 28px; font-size: 1.08rem; border-radius: 14px; }

/* Hero */
.hero { position: relative; overflow: hidden; color: #fff;
  background: radial-gradient(1200px 600px at 85% -10%, rgba(124,58,237,.55), transparent 60%),
              radial-gradient(900px 500px at -10% 110%, rgba(37,99,235,.55), transparent 60%), var(--navy); }
.hero::after { content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 44px 44px; mask-image: linear-gradient(180deg, #000 30%, transparent); }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px;
  align-items: center; padding: 84px 20px 96px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); font-size: .85rem;
  font-weight: 600; color: #e0e7ff; margin-bottom: 18px; }
.eyebrow i { width: 8px; height: 8px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 4px rgba(52,211,153,.2); }
.hero h1 span { background: linear-gradient(90deg, #93c5fd, #c4b5fd, #fcd34d); -webkit-background-clip: text;
  background-clip: text; color: transparent; }
.hero p.lead { font-size: 1.18rem; color: #cbd5e1; max-width: 560px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero-stats { display: flex; gap: 34px; margin-top: 40px; flex-wrap: wrap; }
.hero-stats div b { display: block; font-family: var(--head); font-size: 1.7rem; color: #fff; }
.hero-stats div span { color: #94a3b8; font-size: .88rem; }

/* Phone mockup */
.phone { width: 290px; height: 590px; margin: 0 auto; border-radius: 44px; padding: 12px; position: relative;
  background: linear-gradient(145deg, #1e293b, #020617); box-shadow: 0 40px 80px rgba(0,0,0,.5),
  inset 0 0 0 2px #334155; }
.phone::before { content: ''; position: absolute; top: 22px; left: 50%; transform: translateX(-50%);
  width: 90px; height: 22px; background: #020617; border-radius: 0 0 14px 14px; z-index: 3; }
.phone-screen { width: 100%; height: 100%; border-radius: 34px; overflow: hidden; background: #0b1020;
  display: flex; flex-direction: column; position: relative; }
.ps-top { padding: 40px 18px 12px; color: #fff; font-family: var(--head); font-weight: 700; font-size: 1rem;
  display: flex; justify-content: space-between; align-items: center; }
.ps-top small { font-family: Inter; font-weight: 500; color: #94a3b8; font-size: .7rem; }
.ps-image { margin: 0 14px; border-radius: 18px; flex: 1; position: relative; overflow: hidden;
  background: linear-gradient(160deg, #fb923c, #db2777 45%, #4f46e5); }
.ps-image::after { content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.45), transparent 35%),
              radial-gradient(circle at 75% 80%, rgba(0,0,0,.35), transparent 40%); }
.ps-crop { position: absolute; inset: 16% 12%; border: 2px solid #fff; z-index: 2;
  box-shadow: 0 0 0 999px rgba(0,0,0,.35); }
.ps-crop i { position: absolute; width: 14px; height: 14px; background: #fff; border-radius: 3px; }
.ps-crop i:nth-child(1) { top: -7px; left: -7px; } .ps-crop i:nth-child(2) { top: -7px; right: -7px; }
.ps-crop i:nth-child(3) { bottom: -7px; left: -7px; } .ps-crop i:nth-child(4) { bottom: -7px; right: -7px; }
.ps-meta { position: absolute; z-index: 3; left: 10px; bottom: 10px; background: rgba(0,0,0,.6); color: #fff;
  font-size: .68rem; padding: 4px 8px; border-radius: 8px; font-weight: 600; }
.ps-tools { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; padding: 14px; }
.ps-tools span { background: #172036; color: #cbd5e1; border-radius: 12px; padding: 9px 0; font-size: .66rem;
  text-align: center; font-weight: 600; }
.ps-tools span.on { background: var(--grad); color: #fff; }
.ps-ad { margin: 0 14px 16px; height: 50px; border-radius: 10px; overflow: hidden; background: #1e293b; }
.ps-ad img { width: 100%; height: 100%; object-fit: cover; }
.hero-phone { position: relative; }
.float-chip { position: absolute; background: #fff; color: var(--ink); border-radius: 14px; padding: 10px 14px;
  box-shadow: var(--shadow-lg); font-size: .82rem; font-weight: 600; display: flex; gap: 10px; align-items: center; z-index: 4; }
.float-chip b { display: block; font-size: 1rem; font-family: var(--head); }
.float-chip .dot { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; color: #fff; font-size: 1rem; }
.chip-1 { top: 70px; left: -10px; } .chip-2 { bottom: 110px; right: -16px; }

/* Sections */
.section { padding: 88px 0; }
.section-alt { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-dark { background: var(--navy); color: #e2e8f0; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.section-head .kicker { color: var(--violet); font-weight: 700; text-transform: uppercase; letter-spacing: .12em;
  font-size: .8rem; margin-bottom: 10px; display: block; }
.section-dark .section-head .kicker { color: #fbbf24; }
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px;
  box-shadow: var(--shadow); }
.card-hover { transition: transform .2s, box-shadow .2s; }
.card-hover:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.icon-box { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; color: #fff;
  font-size: 1.4rem; margin-bottom: 16px; background: var(--grad); }
.icon-box.warm { background: var(--grad-warm); }
.icon-box.green { background: linear-gradient(135deg, #10b981, #0ea5e9); }
.feature-list { list-style: none; padding: 0; margin: 0; }
.feature-list li { padding: 7px 0 7px 30px; position: relative; }
.feature-list li::before { content: ''; position: absolute; left: 0; top: 11px; width: 18px; height: 18px;
  border-radius: 50%; background: #dcfce7 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%23059669'%3E%3Cpath d='M8 13.4 4.6 10 3.2 11.4 8 16.2l9-9-1.4-1.4z'/%3E%3C/svg%3E") center/14px no-repeat; }

/* Network */
.network-card { display: flex; flex-direction: column; gap: 6px; padding: 22px; border-radius: var(--radius);
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); color: #cbd5e1; }
.network-card:hover { background: rgba(255,255,255,.08); text-decoration: none; }
.network-card b { color: #fff; font-family: var(--head); font-size: 1.15rem; }
.network-card .go { color: #fbbf24; font-size: .85rem; font-weight: 600; margin-top: auto; }

/* Formats */
.format-card { display: flex; flex-direction: column; }
.format-visual { height: 150px; display: grid; place-items: center; background: #f1f5f9; border-radius: 12px;
  margin-bottom: 16px; }
.format-box { background: var(--grad); border-radius: 6px; color: #fff; font-size: .72rem; font-weight: 700;
  display: grid; place-items: center; box-shadow: 0 6px 14px rgba(79,70,229,.3); }
.badge { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: .75rem; font-weight: 700; }
.badge-live { background: #dcfce7; color: #047857; }
.badge-soon { background: #fef3c7; color: #b45309; }
.badge-review { background: #e0e7ff; color: #4338ca; }
.badge-draft { background: #f1f5f9; color: #475569; }
.badge-paused { background: #fef3c7; color: #b45309; }
.badge-rejected { background: #fee2e2; color: #b91c1c; }
.badge-finished { background: #e2e8f0; color: #334155; }
.badge-house { background: #fde68a; color: #92400e; }
.dims { font-family: ui-monospace, monospace; font-size: .85rem; color: var(--muted); }

/* Pricing */
.price-card { text-align: center; position: relative; }
.price-card.featured { border: 2px solid var(--violet); box-shadow: 0 20px 40px rgba(124,58,237,.18); }
.price-card .ribbon { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--grad);
  color: #fff; padding: 4px 14px; border-radius: 999px; font-size: .75rem; font-weight: 700; }
.price { font-family: var(--head); font-size: 2.6rem; font-weight: 800; margin: 8px 0 0; }
.price small { font-size: 1rem; color: var(--muted); font-weight: 600; }
.per { color: var(--muted); font-size: .9rem; margin-bottom: 18px; }

/* Steps */
.steps { counter-reset: step; }
.step { position: relative; padding-left: 64px; }
.step::before { counter-increment: step; content: counter(step); position: absolute; left: 0; top: 0; width: 44px;
  height: 44px; border-radius: 14px; background: var(--grad); color: #fff; font-family: var(--head); font-weight: 800;
  display: grid; place-items: center; font-size: 1.2rem; }

/* CTA band */
.cta-band { border-radius: 28px; padding: 54px; color: #fff; display: flex; gap: 30px; align-items: center;
  justify-content: space-between; background: radial-gradient(600px 300px at 90% 0%, rgba(251,191,36,.35), transparent 60%), var(--grad); }
.cta-band h2 { color: #fff; margin-bottom: 8px; }
.cta-band p { color: #e0e7ff; margin: 0; max-width: 560px; }

/* Forms */
.form-page { max-width: 480px; margin: 56px auto; }
.form-card { padding: 34px; }
label { display: block; font-weight: 600; font-size: .9rem; margin: 14px 0 6px; color: var(--ink-2); }
input[type=text], input[type=email], input[type=password], input[type=url], input[type=number], select, textarea {
  width: 100%; padding: 12px 14px; border: 1px solid #cbd5e1; border-radius: 12px; font: inherit; background: #fff;
  color: var(--ink); transition: border-color .15s, box-shadow .15s; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 4px rgba(124,58,237,.14); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-actions { margin-top: 22px; display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.hint { font-size: .82rem; color: var(--muted); margin-top: 6px; }
.notice { padding: 14px 16px; border-radius: 12px; margin: 0 0 18px; font-size: .95rem; }
.notice-ok { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.notice-error { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.notice-info { background: #eff6ff; color: #1e40af; border: 1px solid #bfdbfe; }
.form-msg:empty { display: none; }

/* Dashboard */
.page-head { background: var(--navy); color: #fff; padding: 44px 0 40px; }
.page-head h1 { font-size: 2rem; color: #fff; margin: 0; }
.page-head p { color: #cbd5e1; margin: 6px 0 0; }
.page-head .wrap { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; }
.dash { padding: 34px 0 70px; }
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 26px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.stat span { color: var(--muted); font-size: .85rem; font-weight: 600; }
.stat b { display: block; font-family: var(--head); font-size: 1.7rem; margin-top: 4px; }
.table-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
table.data { width: 100%; border-collapse: collapse; font-size: .93rem; }
table.data th { text-align: left; font-size: .76rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted);
  padding: 13px 16px; background: #f8fafc; border-bottom: 1px solid var(--line); white-space: nowrap; }
table.data td { padding: 13px 16px; border-bottom: 1px solid #f1f5f9; vertical-align: middle; }
table.data tr:last-child td { border-bottom: 0; }
table.data td.num, table.data th.num { text-align: right; font-variant-numeric: tabular-nums; }
table.data tfoot td { font-weight: 700; background: #f8fafc; }
.thumb { width: 96px; height: 54px; object-fit: cover; border-radius: 8px; background: #e2e8f0; border: 1px solid var(--line); }
.thumb-tall { width: 40px; height: 70px; }
.progress { height: 8px; background: #e2e8f0; border-radius: 99px; overflow: hidden; min-width: 90px; }
.progress i { display: block; height: 100%; background: var(--grad); border-radius: 99px; }
.tabs { display: flex; gap: 6px; margin-bottom: 20px; flex-wrap: wrap; }
.tabs a { padding: 9px 16px; border-radius: 10px; background: #fff; border: 1px solid var(--line); color: var(--ink-2); font-weight: 600; font-size: .9rem; }
.tabs a.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.tabs a:hover { text-decoration: none; }
.panel-title { display: flex; justify-content: space-between; align-items: center; margin: 30px 0 14px; gap: 12px; flex-wrap: wrap; }
.panel-title h2 { font-size: 1.35rem; margin: 0; }

/* Upload */
.dropzone { border: 2px dashed #cbd5e1; border-radius: 16px; padding: 28px; text-align: center; background: #f8fafc;
  cursor: pointer; transition: border-color .15s, background .15s; }
.dropzone.over, .dropzone:hover { border-color: var(--violet); background: #f5f3ff; }
.dropzone b { display: block; font-size: 1.05rem; margin-bottom: 4px; }
.preview-frame { margin: 18px auto 0; background: #0f172a; border-radius: 12px; overflow: hidden; display: grid; place-items: center;
  max-width: 100%; }
.preview-frame img, .preview-frame video { width: 100%; height: 100%; object-fit: cover; }
.format-pick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.format-pick label { margin: 0; border: 1px solid var(--line); border-radius: 12px; padding: 12px; cursor: pointer; font-weight: 500; background: #fff; }
.format-pick label b { display: block; font-size: .92rem; color: var(--ink); }
.format-pick input { display: none; }
.format-pick label:has(input:checked) { border-color: var(--violet); box-shadow: 0 0 0 3px rgba(124,58,237,.15); }
.format-pick label.disabled { opacity: .5; cursor: not-allowed; }
.pkg-pick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.pkg-pick label { margin: 0; text-align: center; border: 1px solid var(--line); border-radius: 12px; padding: 14px 8px; cursor: pointer; background: #fff; }
.pkg-pick label b { display: block; font-family: var(--head); font-size: 1.3rem; }
.pkg-pick input { display: none; }
.pkg-pick label:has(input:checked) { border-color: var(--violet); box-shadow: 0 0 0 3px rgba(124,58,237,.15); }
.legal { max-width: 820px; margin: 0 auto; padding: 56px 20px; }
.legal h2 { font-size: 1.3rem; margin-top: 28px; }

/* Footer */
.site-footer { background: #070d26; color: #94a3b8; padding: 60px 0 0; font-size: .93rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
.site-footer h4 { color: #fff; font-size: .95rem; margin-bottom: 12px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { padding: 4px 0; }
.site-footer a { color: #cbd5e1; }
.brand-footer { margin-bottom: 12px; }
.footer-base { border-top: 1px solid rgba(255,255,255,.08); margin-top: 44px; padding: 20px; text-align: center; font-size: .85rem; }

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; padding-top: 56px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .stat-row { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cta-band { flex-direction: column; align-items: flex-start; padding: 36px; }
}
@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .main-nav { display: none; position: absolute; top: 68px; left: 0; right: 0; background: var(--navy); flex-direction: column;
    align-items: stretch; padding: 12px 20px 20px; border-bottom: 1px solid rgba(255,255,255,.1); }
  body.nav-open .main-nav { display: flex; }
  .nav-account { margin: 10px 0 0; flex-wrap: wrap; }
  .grid-2, .grid-3, .grid-4, .format-pick, .form-row { grid-template-columns: 1fr; }
  .pkg-pick { grid-template-columns: 1fr 1fr 1fr; }
  .section { padding: 60px 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .chip-1 { left: 0; } .chip-2 { right: 0; }
}
