/* Dashami Tech home page: the same family look as Campus Manager and VendorCalc OS
   (indigo to cyan gradient, Poppins, soft bordered cards, glowing buttons). Light only. */
:root {
  --bg: #F5F7FC; --surface: #FFFFFF; --surface2: #F5F7FD; --soft: #EEF2FF;
  --ink: #0F172A; --muted: #5F6B82; --line: #E2E7F0; --border-soft: rgba(15, 23, 42, .07);
  --brand: #6366F1; --brand-fg: #4F46E5; --good: #059669; --good-soft: #E3F7EF; --bad: #DC2626;
  --grad: linear-gradient(135deg, #6366F1 0%, #06B6D4 100%);
  --grad-neon: linear-gradient(135deg, #6366F1, #22D3EE);
  --grad-text: linear-gradient(90deg, #6366F1, #22D3EE);
  --grad-soft: linear-gradient(135deg, rgba(99, 102, 241, .14), rgba(34, 211, 238, .08));
  --shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 8px 28px rgba(99, 102, 241, .08);
  --glow: 0 4px 20px rgba(99, 102, 241, .35); --glow-strong: 0 8px 28px rgba(99, 102, 241, .5);
  --ease: .18s ease; --ease-out: cubic-bezier(.16, 1, .3, 1);
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0; font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; color: var(--ink);
  background-color: var(--bg);
  background-image: radial-gradient(ellipse at 15% 0%, rgba(99, 102, 241, .16) 0%, transparent 45%), radial-gradient(ellipse at 85% 10%, rgba(34, 211, 238, .12) 0%, transparent 45%);
  background-repeat: no-repeat; -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { display: block; }
::selection { background: rgba(99, 102, 241, .24); }

/* top bar */
.top { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .78); backdrop-filter: blur(20px) saturate(1.4); -webkit-backdrop-filter: blur(20px) saturate(1.4); border-bottom: 1px solid var(--border-soft); box-shadow: 0 8px 28px rgba(15, 23, 42, .04); }
.top-in { display: flex; align-items: center; gap: 12px; max-width: 1120px; margin: 0 auto; padding: 10px 16px; }
.brand { display: flex; align-items: center; gap: 9px; flex: 1; text-decoration: none; }
.brand img { border-radius: 10px; box-shadow: var(--glow); }
.brand span { display: flex; flex-direction: column; line-height: 1.02; }
.brand b { font-size: 1.05rem; font-weight: 800; letter-spacing: -0.02em; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.brand small { font-size: 0.7rem; font-weight: 600; color: var(--muted); letter-spacing: 0.08em; text-transform: uppercase; }
.links { display: none; }
.links a { text-decoration: none; color: var(--muted); font-size: 0.86rem; font-weight: 600; padding: 8px 6px; transition: color var(--ease); }
.links a:hover { color: var(--ink); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 22px; border: 0; border-radius: 999px; background: var(--grad); color: #FFFFFF; box-shadow: var(--glow); font: inherit; font-size: 0.92rem; font-weight: 700; text-decoration: none; cursor: pointer; transition: transform var(--ease), box-shadow var(--ease), background-color var(--ease), border-color var(--ease); }
.btn:active { transform: scale(.97); }
@media (hover: hover) { .btn:hover { transform: translateY(-1px); box-shadow: var(--glow-strong); } }
.btn-sm { min-height: 38px; padding: 0 18px; font-size: 0.82rem; flex: none; }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line); box-shadow: none; }
@media (hover: hover) { .btn-ghost:hover { box-shadow: none; border-color: var(--brand); background: var(--soft); } }
.btn-block { display: flex; width: 100%; }
.btn-white { background: #FFFFFF; color: #4F46E5; box-shadow: 0 6px 18px rgba(0, 0, 0, .18); }
.btn-glass { background: rgba(255, 255, 255, .16); border: 1.5px solid rgba(255, 255, 255, .45); box-shadow: none; }

/* sections */
.sec { max-width: 1120px; margin: 0 auto; padding: 56px 18px 0; }
.narrow { max-width: 760px; }
.kick { margin: 0 0 6px; text-align: center; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brand-fg); }
h2 { margin: 0 0 6px; text-align: center; font-size: clamp(1.3rem, 4.4vw, 1.85rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; }
.sub { margin: 0 0 22px; text-align: center; color: var(--muted); font-size: 0.92rem; }
h2 + .feats, h2 + .steps { margin-top: 22px; }
.grad { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

/* hero */
.hero { max-width: 1120px; margin: 0 auto; padding: 22px 14px 0; }
.hero-grid { display: grid; gap: 28px; align-items: center; padding: 26px 18px; border-radius: 28px; background: linear-gradient(180deg, rgba(255, 255, 255, .86), rgba(255, 255, 255, .62)); border: 1px solid var(--border-soft); box-shadow: 0 28px 70px rgba(15, 23, 42, .08); }
.hero-copy { text-align: center; }
.chip { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 14px; padding: 5px 14px; border-radius: 999px; background: rgba(99, 102, 241, .12); border: 1px solid rgba(99, 102, 241, .24); color: var(--brand-fg); font-size: 0.74rem; font-weight: 600; }
h1 { margin: 0 0 14px; font-size: clamp(1.95rem, 7vw, 3.3rem); font-weight: 800; line-height: 1.08; letter-spacing: -0.025em; }
.hero-copy > p { max-width: 540px; margin: 0 auto 22px; color: var(--muted); font-size: 0.98rem; line-height: 1.7; }
.ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.proof { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 22px; }
.proof-card { padding: 12px 8px; border-radius: 18px; background: var(--surface); border: 1px solid var(--border-soft); box-shadow: 0 10px 30px rgba(15, 23, 42, .05); }
.proof-card b { display: block; font-size: 1.45rem; font-weight: 800; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.proof-card span { display: block; margin-top: 2px; font-size: 0.72rem; line-height: 1.35; color: var(--muted); }

/* the stacked product cards */
.stack { display: grid; gap: 12px; max-width: 380px; width: 100%; margin: 0 auto; }
.mini { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 22px; background: var(--surface); border: 1px solid var(--border-soft); box-shadow: 0 18px 40px -16px rgba(79, 70, 229, .3); animation: pop .6s var(--ease-out) both; }
.mini img, .plus { flex: none; width: 52px; height: 52px; border-radius: 15px; }

.mini div { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.mini b { font-size: 1rem; }
.mini small { color: var(--muted); font-size: 0.76rem; }
.mini-campus { animation-delay: .1s; }
.mini-vendor { animation-delay: .22s; }
a.mini { text-decoration: none; color: inherit; cursor: pointer; transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease); }
a.mini:active { transform: scale(.98); }
@media (hover: hover) {
  a.mini:hover { border-color: rgba(99, 102, 241, .35); box-shadow: 0 22px 44px -16px rgba(79, 70, 229, .45); transform: translateY(-2px); }
  a.mini:hover .go { transform: translateX(3px); color: var(--brand-fg); }
}
.go { flex: none; color: var(--muted); font-size: 1.1rem; font-weight: 700; transition: transform var(--ease), color var(--ease); }
.mini-next { animation-delay: .34s; border-style: dashed; box-shadow: none; background: rgba(255, 255, 255, .6); }
.plus { display: grid; place-items: center; background: var(--grad-soft); border: 1px solid rgba(99, 102, 241, .24); color: var(--brand-fg); font-size: 1.6rem; font-weight: 700; }
.live { flex: none; padding: 3px 9px; border-radius: 8px; background: var(--good-soft); color: var(--good); font-size: 0.62rem; font-weight: 700; letter-spacing: 0.08em; }

/* products */
.products { display: grid; gap: 14px; }
.product { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 12px; padding: 22px 20px; border-radius: 24px; background: var(--surface); border: 1px solid var(--border-soft); box-shadow: var(--shadow); transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease); }
.product::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--grad-neon); }
@media (hover: hover) { .product:hover { transform: translateY(-3px); border-color: rgba(99, 102, 241, .35); box-shadow: 0 16px 40px rgba(99, 102, 241, .16); } }
.p-head { display: flex; align-items: center; gap: 14px; }
.p-logo { width: 56px; height: 56px; border-radius: 16px; flex: none; box-shadow: 0 6px 18px rgba(15, 23, 42, .15); }
.p-logo.round { border-radius: 50%; }
.p-head h3 { margin: 0; font-size: 1.15rem; letter-spacing: -0.01em; }
.p-head small { color: var(--muted); font-size: 0.8rem; }
.product > p { margin: 0; color: var(--muted); font-size: 0.9rem; line-height: 1.65; }
.product ul { list-style: none; margin: 0 0 6px; padding: 0; display: grid; gap: 8px; }
.product li { position: relative; padding-left: 28px; font-size: 0.88rem; }
.product li::before { content: '✓'; position: absolute; left: 0; top: 0; width: 20px; height: 20px; display: grid; place-items: center; border-radius: 6px; background: var(--good-soft); color: var(--good); font-size: 0.72rem; font-weight: 800; }
.product .btn { margin-top: auto; }
.url { text-align: center; color: var(--muted); font-size: 0.75rem; }

/* why */
.feats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.feat { display: flex; flex-direction: column; gap: 6px; padding: 18px 14px; border-radius: 18px; background: var(--surface); border: 1px solid var(--border-soft); box-shadow: var(--shadow); transition: transform var(--ease); }
@media (hover: hover) { .feat:hover { transform: translateY(-3px); } }
.ico { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 13px; background: var(--grad-soft); border: 1px solid rgba(99, 102, 241, .24); font-size: 22px; }
.feat b { margin-top: 4px; font-size: 0.94rem; }
.feat > span:last-child { color: var(--muted); font-size: 0.8rem; line-height: 1.5; }

/* steps */
.steps { list-style: none; margin: 0; padding: 0; }
.steps li { position: relative; display: flex; gap: 16px; padding-bottom: 22px; }
.steps li:last-child { padding-bottom: 0; }
.steps li:not(:last-child)::after { content: ''; position: absolute; left: 18px; top: 40px; bottom: 4px; width: 2px; background: var(--line); }
.num { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--grad-neon); color: #FFFFFF; font-weight: 800; box-shadow: var(--glow); }
.steps li > div { display: flex; flex-direction: column; gap: 3px; padding-top: 6px; }
.steps b { font-size: 0.96rem; }
.steps li > div > span { color: var(--muted); font-size: 0.86rem; line-height: 1.6; }

/* contact form */
.form { display: flex; flex-direction: column; gap: 14px; padding: 22px 18px; border-radius: 24px; background: var(--surface); border: 1px solid var(--border-soft); box-shadow: var(--shadow); }
.two { display: grid; gap: 14px; }
.form label { display: flex; flex-direction: column; gap: 6px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.form input, .form textarea { width: 100%; min-height: 46px; padding: 11px 14px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--surface2); color: var(--ink); font: inherit; font-size: 0.95rem; text-transform: none; letter-spacing: 0; font-weight: 500; outline: none; transition: border-color var(--ease), box-shadow var(--ease), background-color var(--ease); }
.form textarea { resize: vertical; }
.form input:focus, .form textarea:focus { border-color: var(--brand); background: var(--surface); box-shadow: 0 0 0 3px rgba(99, 102, 241, .16); }
.form input.bad, .form textarea.bad { border-color: var(--bad); }
.seg { display: flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--soft); border: 1px solid var(--border-soft); }
.seg button { flex: 1; min-height: 38px; padding: 0 8px; border: 0; border-radius: 999px; background: transparent; color: var(--muted); font: inherit; font-size: 0.78rem; font-weight: 600; text-transform: none; letter-spacing: 0; cursor: pointer; transition: all var(--ease); }
.seg button.on { background: var(--surface); color: var(--brand-fg); box-shadow: 0 2px 10px rgba(99, 102, 241, .16); }
.err { margin: 0; color: var(--bad); font-size: 0.85rem; }
.or { margin: 0; text-align: center; color: var(--muted); font-size: 0.85rem; }
.or a { color: var(--brand-fg); font-weight: 700; text-decoration: none; }

/* call to action */
.cta { padding: 34px 22px; border-radius: 26px; text-align: center; color: #FFFFFF; background: radial-gradient(circle at 85% 0%, rgba(255, 255, 255, .22), transparent 45%), var(--grad-neon); box-shadow: 0 24px 60px -20px rgba(79, 70, 229, .55); }
.cta h2 { color: #FFFFFF; }
.cta p { margin: 0 0 20px; opacity: .92; font-size: 0.92rem; }
.ctas.center { justify-content: center; }

/* footer */
.foot { margin-top: 56px; border-top: 1px solid var(--line); background: rgba(255, 255, 255, .6); }
.foot-in { max-width: 1120px; margin: 0 auto; padding: 22px 18px; display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; color: var(--muted); font-size: 0.78rem; }
.foot-in .brand { flex: none; }
.foot nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; }
.foot nav a { text-decoration: none; font-weight: 600; color: var(--brand-fg); }
.foot p { margin: 0; }

/* motion */
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.97); } }
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease-out), transform .6s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }

/* wider screens */
@media (min-width: 640px) {
  .products { grid-template-columns: 1fr 1fr; }
  .two { grid-template-columns: 1fr 1fr; }
  .feats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 900px) {
  .links { display: flex; gap: 16px; margin-right: 8px; }
  .hero { padding-top: 40px; }
  .hero-grid { grid-template-columns: minmax(0, 1.25fr) minmax(320px, 420px); gap: 40px; padding: 46px; border-radius: 32px; }
  .hero-copy { text-align: left; }
  .hero-copy > p { margin-left: 0; }
  .ctas { justify-content: flex-start; }
  .sec { padding-top: 80px; }
  .foot-in { flex-direction: row; justify-content: space-between; }
}
@media (max-width: 380px) { .proof { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .mini { animation: none; }
}
