/* ==========================================================================
   SOFTWARE APP — theme layer (loaded after app.css)
   A calmer, editorial look: neutral surfaces, one accent colour used sparingly,
   real alignment on a 12-column 1200px grid, no decorative blobs / glows / orbits.
   ========================================================================== */
:root {
  --bg: #FAFAF9; --surface: #F5F5F4; --border: #E7E5E4; --border-2: #F0EFED;
  --heading: #1C1917; --text: #44403C; --muted: #78716C; --faint: #A8A29E;
  --r: 12px; --r-sm: 8px; --r-xs: 6px;
  --sh-1: 0 1px 2px rgba(28,25,23,.05);
  --sh-2: 0 4px 14px -6px rgba(28,25,23,.12);
  --sh-3: 0 16px 40px -18px rgba(28,25,23,.25);
  --nav-h: 64px;
  --font-h: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}
body { font-size: 15px; line-height: 1.6; background: var(--bg); color: var(--text); }
h1, h2, h3, h4 { font-family: var(--font-h); letter-spacing: -.022em; font-weight: 700; }
h1 { font-size: clamp(2rem, 3.6vw, 3rem); font-weight: 750; line-height: 1.12; }
h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 700; }
h3 { font-size: 1.02rem; font-weight: 650; letter-spacing: -.01em; }
.lead { font-size: 1.08rem; line-height: 1.65; color: var(--muted); }
.container { width: min(1200px, 100% - 48px); margin-inline: auto; }
.section { padding: 80px 0; } .section-sm { padding: 44px 0; }
.soft-bg { background: #fff; border-block: 1px solid var(--border); }
.section-head { max-width: 640px; margin: 0 auto 40px; text-align: center; }
.section-head p { margin-bottom: 0; }

/* no decorative layers */
.hero-bg, .blob, .grid-fade, .auth-orbit, .tool-card::after, .app-card::before { display: none !important; }
.grad, .hero h1 .grad { background: none; -webkit-text-fill-color: currentColor; color: var(--accent); }
.float { animation: none; }

/* labels instead of pills */
.eyebrow { display: inline-flex; align-items: center; gap: 6px; padding: 0; margin-bottom: 14px; background: none; border: 0; box-shadow: none; border-radius: 0;
  color: var(--accent); font-size: 12.5px; font-weight: 650; letter-spacing: .06em; text-transform: uppercase; }
.eyebrow i { font-size: 12px; }
.eyebrow.light { background: none; color: rgba(255,255,255,.85); }

/* ── header: brand | centred nav | actions ─────────────────────────────── */
.topnav { height: var(--nav-h); background: rgba(250,250,249,.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); box-shadow: none; }
.topnav.scrolled { box-shadow: 0 1px 0 var(--border); }
.nav-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 24px; height: 100%; }
.nav-inner > .brand { justify-self: start; min-width: 0; }
.nav-links { justify-self: center; margin: 0; gap: 4px; }
.nav-actions { justify-self: end; margin: 0; gap: 8px; }
.nav-link { height: 36px; padding: 0 12px; border-radius: 8px; font-size: 14px; font-weight: 500; color: var(--text); line-height: 1; display: inline-flex; align-items: center; gap: 6px; }
.nav-link:hover { background: var(--surface); color: var(--heading); }
.nav-link.active { background: transparent; color: var(--heading); box-shadow: inset 0 -2px 0 var(--accent); border-radius: 0; }
.nav-link .tiny { font-size: 9px; opacity: .6; }
.brand { gap: 10px; } .brand b { font: 700 15px/1.2 var(--font-h); letter-spacing: -.01em; } .brand small { font-size: 11.5px; color: var(--muted); }
.brand > span:last-child { display: grid; min-width: 0; } .brand b, .brand small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.logo-mark { background: var(--heading); box-shadow: none; border-radius: 9px; }
.icon-btn { width: 36px; height: 36px; border-radius: 8px; border: 1px solid var(--border); background: #fff; color: var(--text); display: inline-grid; place-items: center; }
.icon-btn:hover { border-color: #D6D3D1; color: var(--heading); }
.dropdown-menu { border-radius: 10px; box-shadow: var(--sh-3); }
.dropdown-menu.mega a i { background: var(--surface); color: var(--heading); border-radius: 8px; }
.avatar-btn { height: 36px; border-radius: 8px; padding: 2px 10px 2px 2px; }
.avatar { border: 0; box-shadow: none; }

/* ── buttons ───────────────────────────────────────────────────────────── */
.btn { height: 40px; padding: 0 16px; border-radius: 8px; font-weight: 600; font-size: 14px; letter-spacing: -.005em; box-shadow: none; transform: none !important; }
.btn-lg { height: 46px; padding: 0 20px; font-size: 15px; } .btn-sm { height: 32px; padding: 0 12px; font-size: 13px; }
.btn-primary, .btn-accent { box-shadow: none; } .btn-primary { background: var(--heading); } .btn-primary:hover { background: #000; }
.btn-accent:hover, .btn-primary:hover { box-shadow: none; filter: brightness(.92); }
.btn-ghost { background: #fff; border: 1px solid var(--border); } .btn-ghost:hover { border-color: #D6D3D1; background: #fff; }
.btn-soft { background: var(--surface); color: var(--heading); border: 1px solid var(--border); } .btn-soft:hover { background: #EFEEEC; }
.btn .ripple { display: none; }

/* ── surfaces ──────────────────────────────────────────────────────────── */
.card, .tool-card, .feature, .app-card, .price-card, .step-card, .testi, .value, .cat-card, .launch-tile, .result-row, .stats-row, .stats-strip, .faq details {
  border-radius: var(--r); box-shadow: none; border: 1px solid var(--border); background: #fff; }
.tool-card:hover, .feature:hover, .app-card:hover, .price-card:hover, .step-card:hover, .cat-card:hover, .launch-tile:hover, .banner-card:hover {
  transform: none; box-shadow: var(--sh-2); border-color: #D6D3D1; }
.reveal { transition-duration: .45s !important; }
.app-tile { background: color-mix(in srgb, var(--c) 12%, #fff); color: var(--c); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 22%, #fff); border-radius: 10px; }
.app-tile.light { background: rgba(255,255,255,.14); color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.25); }
.tool-icon { background: var(--surface); color: var(--heading); border-radius: 10px; box-shadow: none; }
.tool-card:hover .tool-icon { transform: none; background: var(--accent); color: #fff; }
.app-card .open, .tool-card .go { opacity: 1; transform: none; }
.app-card .meta { border-top: 1px solid var(--border-2); padding-top: 12px; margin-top: 8px; }
.badge { border-radius: 6px; font-weight: 600; }

/* ── heroes ────────────────────────────────────────────────────────────── */
.hero { padding: 72px 0 56px; background: #fff; border-bottom: 1px solid var(--border); }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 64px; align-items: center; }
.hero-inner > * { min-width: 0; }
.hero-actions { justify-content: flex-start; margin: 26px 0 18px; }
.hero .trust { gap: 16px; }
.portal-hero { padding: 84px 0 64px; text-align: center; }
.portal-hero .hero-inner { display: block; max-width: 780px; margin: 0 auto; }
.portal-hero .hero-actions { justify-content: center; }
.portal-hero .lead { margin: 0 auto 28px; max-width: 620px; }
.page-hero { padding: 64px 0 28px; background: #fff; border-bottom: 1px solid var(--border); text-align: center; }
.page-hero .lead { max-width: 640px; margin: 0 auto; }
.page-hero + .section-sm, .page-hero + section { padding-top: 40px; }
.portal-search { display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 6px 6px 6px 14px; box-shadow: var(--sh-1); }
.portal-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: 15px var(--font); height: 38px; }
.portal-search .btn { position: static; transform: none; height: 38px; }
.portal-search:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px var(--a-soft); }
.visual-card, .code-window { border-radius: 14px; box-shadow: var(--sh-3); }
.vc-row { border-radius: 10px; }
.marquee { mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee .app-tile { width: 44px; height: 44px; }
.stats-strip, .stats-row { margin-top: 0; }
.stats-strip b, .stats-row b { font: 700 1.6rem var(--font-h); letter-spacing: -.02em; }

/* ── pricing ───────────────────────────────────────────────────────────── */
.price-grid { grid-template-columns: repeat(auto-fit, minmax(250px, 320px)); justify-content: center; gap: 16px; }
.price-card { padding: 26px; } .price-card.featured { border: 2px solid var(--heading); box-shadow: none; }
.price-card .ribbon { background: var(--heading); border-radius: 6px; }
.price-card .price { font-family: var(--font-h); letter-spacing: -.03em; }
.billing-toggle { border-radius: 10px; } .billing-toggle button { border-radius: 8px; }

/* ── bundle / CTA bands: solid ink, no glow ───────────────────────────── */
.bundle-card, .cta-band { background: var(--heading); box-shadow: none; border-radius: 16px; }
.bundle-card::after, .cta-band::after, .cta-band::before { display: none; }
.bundle-tiles .app-tile { background: rgba(255,255,255,.08); color: #fff; box-shadow: none; }

/* ── footer ────────────────────────────────────────────────────────────── */
.footer { background: #fff; border-top: 1px solid var(--border); margin-top: 0; }

/* ── panel ─────────────────────────────────────────────────────────────── */
.sidebar { background: #fff; border-right: 1px solid var(--border); }
.side-link { border-radius: 8px; }
.side-link.active { background: var(--surface); color: var(--heading); box-shadow: inset 2px 0 0 var(--accent) !important; }
.topbar { height: 64px; background: rgba(250,250,249,.92); border-bottom: 1px solid var(--border); }
.panel-content { padding: 28px; max-width: 1280px; width: 100%; margin: 0 auto; }
.guest-tool { max-width: 1100px; }
.guest-banner { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 10px 14px; margin-bottom: 18px; border: 1px solid var(--border); border-left: 3px solid var(--accent); border-radius: 8px; background: #fff; font-size: 14px; }
.guest-banner b { color: var(--heading); }

/* ── auth (login / register / OTP) ─────────────────────────────────────── */
.auth2 { min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); background: #fff; }
.auth2-form { display: flex; flex-direction: column; padding: 28px 40px; }
.auth2-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.auth2-body { flex: 1; display: grid; place-items: center; padding: 32px 0; }
.auth2-card { width: min(400px, 100%); }
.auth2-card h1 { font-size: 1.75rem; margin-bottom: 6px; }
.auth2-card > p.muted { margin-bottom: 24px; }
.auth2-foot { font-size: 12.5px; color: var(--faint); display: flex; gap: 14px; flex-wrap: wrap; }
.auth2-foot a { color: var(--muted); }
.auth2-side { position: relative; background: var(--heading); color: #E7E5E4; padding: 56px; display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
.auth2-side h2 { color: #fff; font-size: clamp(1.5rem, 2.4vw, 2rem); max-width: 440px; line-height: 1.25; }
.auth2-side p { color: #A8A29E; max-width: 440px; }
.auth2-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; max-width: 440px; }
.auth2-list li { display: grid; grid-template-columns: 36px 1fr; gap: 12px; align-items: start; }
.auth2-list li > span { width: 36px; height: 36px; border-radius: 8px; background: rgba(255,255,255,.07); display: grid; place-items: center; color: #fff; }
.auth2-list b { display: block; color: #fff; font-weight: 600; font-size: 14.5px; } .auth2-list small { color: #A8A29E; font-size: 13px; }
.auth2-apps { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 36px; max-width: 440px; }
.auth2-apps .app-tile { background: rgba(255,255,255,.06); color: #D6D3D1; box-shadow: none; width: 34px; height: 34px; font-size: 14px; }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; background: var(--surface); border: 1px solid var(--border); border-radius: 10px; margin-bottom: 18px; }
.auth-tabs a { text-align: center; padding: 8px; border-radius: 7px; font-weight: 600; font-size: 14px; color: var(--muted); }
.auth-tabs a.active { background: #fff; color: var(--heading); box-shadow: var(--sh-1); }
.auth2 .input { height: 44px; border-radius: 8px; } .auth2 .input-icon .input { padding-left: 38px; }
.auth2 .or-line { margin: 18px 0; }
.btn-google { background: #fff; border: 1px solid var(--border); color: var(--heading); } .btn-google:hover { border-color: #D6D3D1; }
.otp-inputs { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 8px; }
.otp-inputs input { height: 52px; text-align: center; font: 600 22px var(--mono); border: 1px solid var(--border); border-radius: 8px; background: #fff; }
.otp-inputs input:focus { outline: 0; border-color: var(--accent); box-shadow: 0 0 0 3px var(--a-soft); }
.auth-wrap.single { background: var(--bg); }
.auth-card { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 32px; }

@media (max-width: 1080px) {
  .nav-inner { grid-template-columns: auto 1fr auto; } .nav-links { justify-self: start; }
}
@media (max-width: 960px) {
  .nav-inner { display: flex; } .nav-actions { margin-left: auto; }
  .hero-inner { grid-template-columns: 1fr; gap: 36px; }
  .auth2 { grid-template-columns: 1fr; } .auth2-side { display: none; } .auth2-form { padding: 20px; }
  .panel-content { padding: 18px; }
}
@media (max-width: 620px) {
  .container { width: calc(100% - 32px); }
  .section { padding: 56px 0; } .hero, .portal-hero { padding: 48px 0 40px; }
  .portal-search .btn { display: none; }
}
