/* site.css — shared styles for Ovoframe marketing + app-shell pages (landing, sign-in, dashboard).
   Brand-consistent with the editor: violet accent, Plus Jakarta Sans, rounded, soft shadows. */
:root {
  --accent: #7C5CFF;
  --accent-2: #FF6B9D;
  --accent-3: #FF8A5B;
  --ink: #1c1c28;
  --muted: #5b5b6b;
  --faint: #9aa0ad;
  --line: #ececf2;
  --bg: #ffffff;
  --bg-soft: #f7f7fb;
  --bg-tint: #f3f1ff;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(20, 20, 40, .06), 0 4px 14px rgba(20, 20, 40, .05);
  --shadow-md: 0 8px 30px rgba(28, 28, 60, .12);
  --shadow-lg: 0 24px 60px rgba(28, 28, 60, .18);
  --grad: linear-gradient(135deg, #7C5CFF, #FF6B9D);
  --grad-soft: linear-gradient(135deg, #8E72FF, #FF8A5B);
  --maxw: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.display { font-family: 'Poppins', 'Plus Jakarta Sans', sans-serif; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font: inherit; font-weight: 700; font-size: 15px;
  padding: 12px 20px; border-radius: 999px; border: 0; cursor: pointer;
  transition: transform .12s ease, box-shadow .2s ease, background .2s ease; white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 8px 22px rgba(124, 92, 255, .35); }
.btn-primary:hover { box-shadow: 0 12px 30px rgba(124, 92, 255, .45); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--bg-soft); }
.btn-outline { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-outline:hover { box-shadow: inset 0 0 0 1.5px var(--accent); color: var(--accent); }
.btn-lg { padding: 15px 28px; font-size: 16px; }
.btn-block { width: 100%; justify-content: center; }

/* ---------- brand mark ---------- */
.logo-mark { width: 34px; height: 34px; border-radius: 10px; background: var(--grad); display: grid; place-items: center; color: #fff; box-shadow: 0 6px 16px rgba(124, 92, 255, .35); }
.logo-mark svg { width: 20px; height: 20px; }
.brand-row { display: inline-flex; align-items: center; gap: 11px; font-weight: 800; font-size: 20px; letter-spacing: -.02em; }

/* ---------- top nav (marketing) ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .82); backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid var(--line); }
.nav-inner { display: flex; align-items: center; gap: 28px; height: 68px; }
.nav-links { display: flex; gap: 26px; margin-left: 12px; }
.nav-links a { color: var(--muted); font-weight: 600; font-size: 15px; }
.nav-links a:hover { color: var(--ink); }
.nav-cta { margin-left: auto; display: flex; align-items: center; gap: 10px; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding: 78px 0 40px; }
.hero::before { content: ''; position: absolute; inset: -30% -10% auto -10%; height: 620px; background: radial-gradient(60% 60% at 70% 20%, rgba(124, 92, 255, .16), transparent 70%), radial-gradient(50% 50% at 20% 10%, rgba(255, 107, 157, .14), transparent 70%); z-index: -1; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; background: var(--bg-tint); color: var(--accent); font-weight: 700; font-size: 13px; padding: 7px 14px; border-radius: 999px; margin-bottom: 22px; }
.eyebrow b { color: var(--accent-2); }
h1.hero-title { font-family: 'Poppins', sans-serif; font-size: 60px; line-height: 1.04; letter-spacing: -.03em; margin: 0 0 20px; font-weight: 800; }
h1.hero-title .grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub { font-size: 19px; color: var(--muted); max-width: 520px; margin: 0 0 30px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-note { margin-top: 16px; color: var(--faint); font-size: 13.5px; }

/* hero visual — a mini editor mock */
.mock { position: relative; border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-lg); border: 1px solid var(--line); overflow: hidden; aspect-ratio: 4 / 3; }
.mock-bar { height: 38px; display: flex; align-items: center; gap: 7px; padding: 0 14px; border-bottom: 1px solid var(--line); background: #fcfcfe; }
.mock-dot { width: 11px; height: 11px; border-radius: 50%; background: #e3e3ee; }
.mock-canvas { position: absolute; inset: 38px 0 0 0; background:
    radial-gradient(circle, #e7e7f0 1.2px, transparent 1.4px) 0 0 / 22px 22px, #fafaff; }
.chip { position: absolute; border-radius: 14px; box-shadow: var(--shadow-sm); }
.chip.c1 { width: 38%; height: 30%; left: 9%; top: 16%; background: var(--grad); }
.chip.c2 { width: 30%; height: 30%; right: 11%; top: 12%; border-radius: 50%; background: linear-gradient(135deg, #FFC24B, #FF8A5B); }
.chip.c3 { width: 46%; height: 22%; left: 12%; bottom: 16%; background: #1c1c28; display: grid; place-items: center; color: #fff; font-weight: 800; font-family: 'Poppins'; letter-spacing: .04em; }
.chip.c4 { width: 22%; height: 24%; right: 14%; bottom: 18%; background: #BBF7D0; transform: rotate(-8deg); }
.mock-cursor { position: absolute; display: flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 700; color: #fff; }
.mock-cursor span { background: var(--accent-2); padding: 2px 8px; border-radius: 8px 8px 8px 2px; }
.mock-cursor.m1 { left: 52%; top: 40%; }
.mock-cursor.m1 span { background: var(--accent); }
.mock-cursor.m2 { left: 24%; top: 64%; }

/* ---------- logos strip ---------- */
.strip { padding: 26px 0 8px; }
.strip p { text-align: center; color: var(--faint); font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 18px; }
.strip-logos { display: flex; flex-wrap: wrap; gap: 38px; justify-content: center; opacity: .55; font-weight: 800; font-size: 20px; font-family: 'Poppins'; }

/* ---------- sections ---------- */
.section { padding: 72px 0; }
.section-tint { background: var(--bg-soft); }
.section-head { max-width: 660px; margin: 0 auto 46px; text-align: center; }
.section-head h2 { font-family: 'Poppins'; font-size: 38px; letter-spacing: -.02em; margin: 0 0 14px; font-weight: 800; }
.section-head p { font-size: 18px; color: var(--muted); margin: 0; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); transition: transform .15s ease, box-shadow .2s ease; }
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.feature .ic { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; color: #fff; margin-bottom: 16px; }
.feature .ic svg { width: 24px; height: 24px; }
.feature h3 { margin: 0 0 8px; font-size: 19px; font-weight: 700; }
.feature p { margin: 0; color: var(--muted); font-size: 15px; }

/* twist / split highlight */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split .badge { display: inline-block; background: var(--bg-tint); color: var(--accent); font-weight: 700; font-size: 13px; padding: 6px 13px; border-radius: 999px; margin-bottom: 18px; }
.split h2 { font-family: 'Poppins'; font-size: 34px; letter-spacing: -.02em; margin: 0 0 16px; }
.split p { color: var(--muted); font-size: 17px; }
.split ul { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 12px; }
.split li { display: flex; gap: 11px; align-items: flex-start; font-weight: 600; }
.split li svg { width: 22px; height: 22px; flex: 0 0 22px; color: var(--accent); margin-top: 1px; }
.split-visual { border-radius: var(--radius-lg); aspect-ratio: 1/1; background: var(--grad-soft); box-shadow: var(--shadow-lg); position: relative; overflow: hidden; }
.split-visual .tile { position: absolute; background: #fff; border-radius: 16px; box-shadow: var(--shadow-md); }
.split-visual .t1 { inset: 14% 40% 54% 12%; }
.split-visual .t2 { inset: 12% 12% 56% 52%; border-radius: 50%; background: #FFC24B; }
.split-visual .t3 { inset: 52% 22% 14% 20%; background: #1c1c28; }

/* templates row */
.tpl-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.tpl { border-radius: var(--radius); aspect-ratio: 4/5; box-shadow: var(--shadow-sm); position: relative; overflow: hidden; border: 1px solid var(--line); display: grid; place-items: center; color: #fff; font-weight: 800; font-family: 'Poppins'; text-align: center; padding: 16px; }
.tpl span { position: relative; z-index: 1; font-size: 15px; }

/* CTA band */
.cta-band { background: var(--grad); border-radius: var(--radius-lg); padding: 56px; text-align: center; color: #fff; box-shadow: var(--shadow-lg); }
.cta-band h2 { font-family: 'Poppins'; font-size: 36px; margin: 0 0 12px; }
.cta-band p { font-size: 18px; opacity: .92; margin: 0 0 26px; }
.cta-band .btn-primary { background: #fff; color: var(--accent); box-shadow: 0 10px 30px rgba(0, 0, 0, .18); }

/* footer */
.footer { border-top: 1px solid var(--line); padding: 50px 0 36px; color: var(--muted); }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 30px; margin-bottom: 36px; }
.footer-grid h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--faint); margin: 0 0 14px; }
.footer-grid a { display: block; color: var(--muted); font-size: 14.5px; padding: 5px 0; }
.footer-grid a:hover { color: var(--accent); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--line); padding-top: 22px; font-size: 14px; flex-wrap: wrap; gap: 12px; }

/* ---------- auth ---------- */
.auth { min-height: 100vh; display: grid; grid-template-columns: 1.05fr 1fr; }
.auth-brand { background: var(--grad); color: #fff; padding: 54px; display: flex; flex-direction: column; position: relative; overflow: hidden; }
.auth-brand::after { content: ''; position: absolute; right: -120px; bottom: -120px; width: 380px; height: 380px; border-radius: 50%; background: rgba(255, 255, 255, .12); }
.auth-brand .brand-row { color: #fff; }
.auth-quote { margin-top: auto; }
.auth-quote h2 { font-family: 'Poppins'; font-size: 32px; line-height: 1.2; margin: 0 0 20px; max-width: 440px; }
.auth-quote .who { display: flex; align-items: center; gap: 12px; font-weight: 600; }
.auth-quote .who .av { width: 42px; height: 42px; border-radius: 50%; background: rgba(255, 255, 255, .25); display: grid; place-items: center; font-weight: 800; }
.auth-form-wrap { display: grid; place-items: center; padding: 40px; }
.auth-form { width: 100%; max-width: 380px; }
.auth-form h1 { font-family: 'Poppins'; font-size: 30px; margin: 0 0 6px; }
.auth-form .sub { color: var(--muted); margin: 0 0 26px; }
.tabs { display: flex; gap: 4px; background: var(--bg-soft); border-radius: 12px; padding: 4px; margin-bottom: 24px; }
.tabs button { flex: 1; border: 0; background: transparent; font: inherit; font-weight: 700; padding: 9px; border-radius: 9px; cursor: pointer; color: var(--muted); }
.tabs button.on { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; font-size: 13.5px; margin-bottom: 7px; }
.field input { width: 100%; font: inherit; padding: 13px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; transition: border .15s ease, box-shadow .15s ease; }
.field input:focus { outline: 0; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(124, 92, 255, .14); }
.sso { display: grid; gap: 10px; margin-bottom: 18px; }
.sso button { display: flex; align-items: center; justify-content: center; gap: 10px; font: inherit; font-weight: 700; padding: 12px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; cursor: pointer; }
.sso button:hover { border-color: var(--accent); }
.divider { display: flex; align-items: center; gap: 14px; color: var(--faint); font-size: 13px; margin: 18px 0; }
.divider::before, .divider::after { content: ''; height: 1px; background: var(--line); flex: 1; }
.auth-foot { text-align: center; color: var(--muted); font-size: 14px; margin-top: 18px; }
.auth-foot a { color: var(--accent); font-weight: 700; }
.tiny { font-size: 12.5px; color: var(--faint); text-align: center; margin-top: 14px; }

/* ---------- dashboard ---------- */
body.app { background: var(--bg-soft); }
.app-top { position: sticky; top: 0; z-index: 40; background: #fff; border-bottom: 1px solid var(--line); height: 64px; display: flex; align-items: center; gap: 18px; padding: 0 22px; }
.app-search { flex: 1; max-width: 520px; display: flex; align-items: center; gap: 10px; background: var(--bg-soft); border: 1.5px solid transparent; border-radius: 12px; padding: 10px 14px; color: var(--muted); }
.app-search:focus-within { border-color: var(--accent); background: #fff; }
.app-search input { border: 0; background: transparent; font: inherit; flex: 1; outline: 0; }
.app-top .spacer { flex: 1; }
.avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--grad); color: #fff; display: grid; place-items: center; font-weight: 800; cursor: pointer; }
.app-body { display: grid; grid-template-columns: 232px 1fr; }
.side { padding: 22px 14px; border-right: 1px solid var(--line); background: #fff; min-height: calc(100vh - 64px); position: sticky; top: 64px; align-self: start; }
.side a { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 12px; font-weight: 600; color: var(--muted); margin-bottom: 3px; }
.side a svg { width: 20px; height: 20px; }
.side a:hover { background: var(--bg-soft); color: var(--ink); }
.side a.on { background: var(--bg-tint); color: var(--accent); }
.side .side-h { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--faint); padding: 16px 14px 8px; }
.main { padding: 30px 34px 60px; }
.hello { font-family: 'Poppins'; font-size: 30px; margin: 4px 0 26px; }
.create-row { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; margin-bottom: 40px; }
.create-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 14px; text-align: center; cursor: pointer; transition: transform .14s ease, box-shadow .2s ease; box-shadow: var(--shadow-sm); }
.create-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.create-card .thumb { height: 78px; border-radius: 11px; margin-bottom: 12px; display: grid; place-items: center; color: #fff; }
.create-card .thumb svg { width: 26px; height: 26px; }
.create-card b { font-size: 14px; display: block; }
.create-card i { font-style: normal; font-size: 12px; color: var(--faint); }
.sec-title { display: flex; align-items: center; justify-content: space-between; margin: 0 0 18px; }
.sec-title h2 { font-size: 20px; margin: 0; }
.sec-title a { color: var(--accent); font-weight: 700; font-size: 14px; }
.design-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.design { border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); cursor: pointer; transition: transform .14s ease, box-shadow .2s ease; }
.design:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.design .dt { aspect-ratio: 4/3; display: grid; place-items: center; color: #fff; font-weight: 800; font-family: 'Poppins'; text-align: center; padding: 12px; }
.design .dm { padding: 11px 13px; }
.design .dm b { font-size: 14px; display: block; }
.design .dm i { font-style: normal; font-size: 12px; color: var(--faint); }

.dmenu:hover { background: var(--bg-soft) !important; color: var(--ink) !important; }
.card-menu { position: absolute; z-index: 60; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-md); padding: 6px; min-width: 160px; }
.card-menu button { display: block; width: 100%; text-align: left; border: 0; background: transparent; font: inherit; font-weight: 600; font-size: 14px; padding: 9px 12px; border-radius: 8px; cursor: pointer; color: var(--ink); }
.card-menu button:hover { background: var(--bg-soft); }
.card-menu button.danger { color: #e5484d; }
.card-menu button.danger:hover { background: #fdeaea; }

/* ---------- inner page header + prose (service pages) ---------- */
.page-hero { padding: 64px 0 28px; text-align: center; position: relative; overflow: hidden; }
.page-hero::before { content: ''; position: absolute; inset: -40% 0 auto 0; height: 360px; background: radial-gradient(50% 60% at 50% 0%, rgba(124, 92, 255, .14), transparent 70%); z-index: -1; }
.page-hero .eyebrow { margin-bottom: 16px; }
.page-hero h1 { font-family: 'Poppins'; font-size: 46px; letter-spacing: -.025em; margin: 0 0 14px; }
.page-hero p { font-size: 19px; color: var(--muted); max-width: 600px; margin: 0 auto; }
.prose { max-width: 760px; margin: 0 auto; }
.prose h2 { font-family: 'Poppins'; font-size: 26px; margin: 40px 0 12px; scroll-margin-top: 90px; }
.prose h3 { font-size: 18px; margin: 24px 0 8px; }
.prose p, .prose li { color: var(--muted); font-size: 16px; line-height: 1.7; }
.prose ul { padding-left: 20px; }
.prose .updated { color: var(--faint); font-size: 14px; margin-bottom: 8px; }
.legal-tabs { display: flex; gap: 8px; justify-content: center; margin-bottom: 30px; flex-wrap: wrap; }
.legal-tabs a { font-weight: 700; font-size: 14px; padding: 9px 18px; border-radius: 999px; background: var(--bg-soft); color: var(--muted); }
.legal-tabs a:hover { background: var(--bg-tint); color: var(--accent); }

/* use-case rows */
.uc { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; padding: 46px 0; border-top: 1px solid var(--line); scroll-margin-top: 80px; }
.uc:nth-child(even) .uc-visual { order: -1; }
.uc h2 { font-family: 'Poppins'; font-size: 30px; margin: 0 0 12px; }
.uc p { font-size: 17px; color: var(--muted); }
.uc ul { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 9px; }
.uc li { display: flex; gap: 10px; font-weight: 600; }
.uc li svg { width: 20px; height: 20px; color: var(--accent); flex: 0 0 20px; }
.uc-visual { border-radius: var(--radius-lg); aspect-ratio: 5/4; box-shadow: var(--shadow-lg); display: grid; place-items: center; color: #fff; font-family: 'Poppins'; font-weight: 800; font-size: 26px; text-align: center; padding: 20px; }

/* stats + values (about) */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; text-align: center; }
.stat b { display: block; font-family: 'Poppins'; font-size: 40px; color: var(--accent); }
.stat span { color: var(--muted); font-weight: 600; }
.jobs { display: grid; gap: 12px; max-width: 720px; margin: 0 auto; }
.job { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); }
.job b { font-size: 16px; } .job span { color: var(--faint); font-size: 14px; }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; max-width: 920px; margin: 0 auto; align-items: start; }
.contact-info .ci { display: flex; gap: 13px; align-items: flex-start; margin-bottom: 20px; }
.contact-info .ci svg { width: 22px; height: 22px; color: var(--accent); flex: 0 0 22px; margin-top: 2px; }
.contact-info .ci b { display: block; }
.contact-info .ci span { color: var(--muted); font-size: 14.5px; }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-md); }
.contact-card textarea { width: 100%; font: inherit; padding: 13px 14px; border: 1.5px solid var(--line); border-radius: 12px; resize: vertical; min-height: 120px; }
.contact-card textarea:focus { outline: 0; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(124, 92, 255, .14); }

@media (max-width: 940px) {
  .uc, .contact-grid { grid-template-columns: 1fr; }
  .uc:nth-child(even) .uc-visual { order: 0; }
  .stats { grid-template-columns: 1fr 1fr; }
}

/* ---------- responsive ---------- */
@media (max-width: 940px) {
  .hero-grid, .split, .auth { grid-template-columns: 1fr; }
  .features { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  h1.hero-title { font-size: 44px; }
  .auth-brand { display: none; }
  .create-row { grid-template-columns: repeat(3, 1fr); }
  .design-grid { grid-template-columns: repeat(2, 1fr); }
  .app-body { grid-template-columns: 1fr; }
  .side { display: none; }
  .tpl-row { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .features, .create-row, .design-grid { grid-template-columns: 1fr 1fr; }
  h1.hero-title { font-size: 36px; }
  .cta-band { padding: 36px 22px; }
}
