/* ============================================================
   Dream POS Systems — landing site
   Theme: royal blue + growth green, finance/tech, cloud + chart
   ============================================================ */
:root {
  --blue: #1a4fa0;
  --blue-deep: #143b7d;
  --blue-ink: #0e2a5c;
  --green: #2e9c3f;
  --green-deep: #1f7d34;
  --sky: #3aa0e0;
  --ink: #11203a;
  --slate: #475571;
  --mute: #7c8aa3;
  --line: #e3e8f0;
  --bg: #ffffff;
  --bg-soft: #f4f7fb;
  --bg-blue: #0e2a5c;
  --white: #ffffff;

  --grad: linear-gradient(135deg, var(--blue) 0%, var(--green) 100%);
  --grad-soft: linear-gradient(135deg, #1a4fa0 0%, #2e9c3f 120%);

  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-head: 'Sora', 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', 'Courier New', monospace;

  --maxw: 1180px;
  --r: 12px;
  --shadow: 0 1px 2px rgba(16,32,58,.06), 0 10px 30px rgba(16,32,58,.08);
  --shadow-lg: 0 20px 50px rgba(16,32,58,.16);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce){ html{scroll-behavior:auto} *{animation:none!important;transition:none!important} }

body { font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.6; font-size: 17px; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

h1,h2,h3,h4 { font-family: var(--font-head); font-weight: 700; line-height: 1.12; letter-spacing: -0.02em; color: var(--ink); }
h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
h3 { font-size: 1.3rem; }
p { margin-bottom: 1rem; }
.lead { font-size: 1.2rem; color: var(--slate); }

.eyebrow { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--green-deep); font-weight: 600; margin-bottom: 1rem; display: inline-block; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; font-size: .98rem; padding: .85rem 1.6rem; border-radius: 10px; border: 1.5px solid transparent; cursor: pointer; transition: transform .14s ease, box-shadow .14s ease, background .14s; text-decoration: none; }
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 4px 14px rgba(26,79,160,.3); }
.btn-primary:hover { box-shadow: 0 8px 22px rgba(26,79,160,.4); }
.btn-ghost { background: transparent; color: var(--blue); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--blue); background: var(--bg-soft); }
.btn-white { background: #fff; color: var(--blue-deep); }
.btn-white:hover { background: #eef3fb; }

/* header */
header.site { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.9); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.brand { display: flex; align-items: center; }
.brand:hover { text-decoration: none; opacity: .88; }
nav.main { display: flex; align-items: center; gap: 1.7rem; }
nav.main a { color: var(--ink); font-weight: 500; font-size: .96rem; }
nav.main a:hover { color: var(--blue); text-decoration: none; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; font-size: 1.5rem; color: var(--ink); }
@media (max-width: 880px){
  nav.main { position: fixed; inset: 74px 0 auto 0; background: #fff; flex-direction: column; gap: 0; padding: 1rem 24px 2rem; border-bottom: 1px solid var(--line); transform: translateY(-130%); transition: transform .25s ease; box-shadow: var(--shadow); }
  nav.main.open { transform: translateY(0); }
  nav.main a { padding: .85rem 0; width: 100%; border-bottom: 1px solid var(--line); }
  nav.main .btn { margin-top: 1rem; width: 100%; justify-content: center; }
  .nav-toggle { display: block; }
}

/* logo image */
.logo-img { height: 52px; width: auto; display: block; }

/* hero */
.hero { position: relative; overflow: hidden; padding: 5rem 0 4.5rem; background: radial-gradient(1200px 500px at 80% -10%, rgba(58,160,224,.12), transparent), radial-gradient(900px 500px at 10% 110%, rgba(46,156,63,.10), transparent); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 3.5rem; align-items: center; }
.hero h1 { margin-bottom: 1.2rem; }
.hero .lead { max-width: 34ch; margin-bottom: 2rem; }
.hero-cta { display: flex; gap: .8rem; flex-wrap: wrap; }
.hero-note { margin-top: 1.4rem; font-family: var(--font-mono); font-size: .82rem; color: var(--mute); }
@media (max-width: 880px){ .hero-grid { grid-template-columns: 1fr; } .hero .lead { max-width: none; } }

/* dashboard mock card */
.dash { background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg); overflow: hidden; }
.dash-top { background: var(--bg-blue); padding: 1rem 1.2rem; display: flex; align-items: center; justify-content: space-between; }
.dash-top .dots { display: flex; gap: 6px; }
.dash-top .dots i { width: 10px; height: 10px; border-radius: 50%; display: block; background: rgba(255,255,255,.3); }
.dash-top .tag { font-family: var(--font-mono); font-size: .7rem; color: #9fc3ef; letter-spacing: .1em; }
.dash-body { padding: 1.4rem; }
.dash-kpis { display: grid; grid-template-columns: repeat(3,1fr); gap: .8rem; margin-bottom: 1.2rem; }
.kpi { background: var(--bg-soft); border-radius: 10px; padding: .8rem; }
.kpi .l { font-size: .65rem; text-transform: uppercase; letter-spacing: .08em; color: var(--mute); font-family: var(--font-mono); }
.kpi .v { font-family: var(--font-head); font-weight: 700; font-size: 1.3rem; color: var(--blue-deep); }
.kpi .v.green { color: var(--green-deep); }
.chart-area { height: 130px; display: flex; align-items: flex-end; gap: 8px; padding-top: 10px; }
.chart-area .bar { flex: 1; border-radius: 5px 5px 0 0; background: var(--grad); opacity: .9; }
.chart-cap { font-family: var(--font-mono); font-size: .68rem; color: var(--mute); margin-top: .6rem; text-align: center; }

/* sections */
.section { padding: 5rem 0; }
.section.soft { background: var(--bg-soft); }
.section.blue { background: var(--bg-blue); color: #dbe6f5; position: relative; overflow: hidden; }
.section.blue h1,.section.blue h2,.section.blue h3 { color: #fff; }
.section.blue .lead { color: #a9c0e0; }
.section.blue .eyebrow { color: #7fe0a0; }
.section-head { max-width: 640px; margin-bottom: 2.8rem; }
.section-head.center { margin: 0 auto 2.8rem; text-align: center; }

/* feature grid */
.grid { display: grid; gap: 1.4rem; }
.grid-3 { grid-template-columns: repeat(3,1fr); }
.grid-2 { grid-template-columns: repeat(2,1fr); }
@media (max-width: 880px){ .grid-3,.grid-2 { grid-template-columns: 1fr; } }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 1.8rem; transition: transform .16s ease, box-shadow .16s ease, border-color .16s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #cdd9ec; }
.card .ico { width: 48px; height: 48px; border-radius: 11px; background: var(--grad); display: grid; place-items: center; margin-bottom: 1.1rem; color: #fff; }
.card .ico svg { width: 24px; height: 24px; }
.card h3 { margin-bottom: .5rem; }
.card p { color: var(--slate); font-size: .96rem; margin-bottom: 0; }
.section.blue .card { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.12); }
.section.blue .card p { color: #a9c0e0; }
.section.blue .card h3 { color: #fff; }

/* stat band */
.stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.5rem; text-align: center; }
.stat .num { font-family: var(--font-head); font-size: 2.8rem; font-weight: 700; }
.stat .num.b { color: #7fb4ff; }
.stat .num.g { color: #7fe0a0; }
.stat .lbl { font-size: .92rem; color: #a9c0e0; }
@media (max-width: 720px){ .stats { grid-template-columns: repeat(2,1fr); } }

/* split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; }
.split.rev > :first-child { order: 2; }
@media (max-width: 880px){ .split { grid-template-columns: 1fr; } .split.rev > :first-child { order: 0; } }
.pill { display:inline-block; font-family: var(--font-mono); font-size:.72rem; letter-spacing:.12em; text-transform:uppercase; background: #eaf1fb; color: var(--blue); padding:.35rem .8rem; border-radius:20px; font-weight:600; }
.section.blue .pill { background: rgba(127,224,160,.15); color: #7fe0a0; }

.checklist { list-style: none; margin-top: 1.4rem; }
.checklist li { padding: .6rem 0 .6rem 2.2rem; position: relative; border-bottom: 1px solid var(--line); color: var(--slate); }
.checklist li strong { color: var(--ink); }
.checklist li::before { content:""; position: absolute; left: 0; top: .75rem; width: 22px; height: 22px; background: var(--grad); border-radius: 6px; }
.checklist li::after { content:"✓"; position: absolute; left: 6px; top: .6rem; color: #fff; font-size: .8rem; font-weight: 700; }
.section.blue .checklist li { border-color: rgba(255,255,255,.12); color: #c5d6ec; }

/* visual panel (chart/cloud motif) */
.panel { background: var(--grad); border-radius: 16px; padding: 2.4rem; color: #fff; position: relative; overflow: hidden; box-shadow: var(--shadow-lg); }
.panel::after { content:""; position: absolute; right: -40px; bottom: -40px; width: 200px; height: 200px; background: radial-gradient(circle, rgba(255,255,255,.18), transparent 70%); }
.panel .big { font-family: var(--font-head); font-size: 3rem; font-weight: 700; }
.panel .row { display: flex; justify-content: space-between; padding: .6rem 0; border-bottom: 1px solid rgba(255,255,255,.2); font-family: var(--font-mono); font-size: .9rem; }
.panel .row:last-child { border: none; }

/* pricing */
.price-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.4rem; align-items: start; }
@media (max-width: 880px){ .price-grid { grid-template-columns: 1fr; } }
.plan { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 2rem; }
.plan.feat { border: 2px solid transparent; background: linear-gradient(#fff,#fff) padding-box, var(--grad) border-box; position: relative; box-shadow: var(--shadow); }
.plan.feat .badge { position: absolute; top: -13px; left: 2rem; background: var(--grad); color: #fff; font-size: .7rem; font-weight: 700; font-family: var(--font-mono); letter-spacing: .1em; text-transform: uppercase; padding: .3rem .8rem; border-radius: 6px; }
.plan h3 { font-size: 1.4rem; }
.plan .price { font-family: var(--font-head); font-size: 2.6rem; font-weight: 700; color: var(--blue-deep); margin: .6rem 0 .2rem; }
.plan .price small { font-size: .9rem; color: var(--mute); font-weight: 400; font-family: var(--font); }
.plan .per { color: var(--mute); font-size: .9rem; margin-bottom: 1.4rem; }
.plan ul { list-style: none; margin: 1.2rem 0; }
.plan li { padding: .5rem 0; border-bottom: 1px solid var(--bg-soft); font-size: .95rem; display: flex; gap: .6rem; color: var(--slate); }
.plan li::before { content:"✓"; color: var(--green); font-weight: 700; }
.plan .btn { width: 100%; justify-content: center; margin-top: .6rem; }

/* blog */
.post-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.6rem; }
@media (max-width: 880px){ .post-grid { grid-template-columns: 1fr; } }
.post-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: transform .16s ease, box-shadow .16s ease; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.post-card .thumb { height: 150px; background: var(--grad); display: grid; place-items: center; color: #fff; font-family: var(--font-mono); font-size: .78rem; letter-spacing: .1em; position: relative; overflow: hidden; }
.post-card .thumb::after { content:""; position:absolute; inset:0; background: radial-gradient(circle at 70% 20%, rgba(255,255,255,.2), transparent 60%); }
.post-card .body { padding: 1.4rem; }
.post-card .tag { font-family: var(--font-mono); font-size: .72rem; color: var(--green-deep); letter-spacing: .1em; text-transform: uppercase; }
.post-card h3 { font-size: 1.15rem; margin: .5rem 0; }
.post-card p { color: var(--slate); font-size: .92rem; margin-bottom: .8rem; }
.post-card .meta { font-size: .82rem; color: var(--mute); }

/* article */
.article { max-width: 720px; margin: 0 auto; }
.article .tag { font-family: var(--font-mono); font-size: .75rem; color: var(--green-deep); letter-spacing: .1em; text-transform: uppercase; }
.article h1 { margin: .6rem 0 1rem; }
.article .meta { color: var(--mute); font-size: .92rem; margin-bottom: 2rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--line); }
.article h2 { font-size: 1.6rem; margin: 2.2rem 0 .8rem; color: var(--blue-deep); }
.article p, .article li { color: #2c3950; }
.article ul,.article ol { margin: 1rem 0 1.5rem 1.4rem; }
.article li { margin-bottom: .5rem; }
.article blockquote { border-left: 3px solid var(--green); padding-left: 1.2rem; margin: 1.5rem 0; color: var(--slate); font-style: italic; }

/* contact */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
@media (max-width: 880px){ .form-grid { grid-template-columns: 1fr; } }
.field { margin-bottom: 1.2rem; }
.field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: .4rem; }
.field input,.field select,.field textarea { width: 100%; padding: .85rem 1rem; border: 1.5px solid var(--line); border-radius: 9px; font-family: var(--font); font-size: 1rem; background: #fff; color: var(--ink); }
.field input:focus,.field select:focus,.field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(26,79,160,.13); }
.field textarea { resize: vertical; min-height: 130px; }
.form-status { padding: 1rem; border-radius: 9px; margin-bottom: 1rem; display: none; font-size: .95rem; }
.form-status.ok { display: block; background: #e8f5ec; color: var(--green-deep); border: 1px solid var(--green); }
.form-status.err { display: block; background: #fdecea; color: #c0392b; border: 1px solid #c0392b; }
.cdetail { padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.cdetail .k { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); }
.cdetail .v { font-size: 1.05rem; font-weight: 500; }

/* page hero */
.page-hero { padding: 4rem 0 2.5rem; background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.page-hero .lead { max-width: 62ch; }

/* cta band */
.cta-band { text-align: center; }
.cta-band h2 { max-width: 20ch; margin: 0 auto 1rem; }
.cta-band .lead { max-width: 46ch; margin: 0 auto 1.8rem; }

/* footer */
footer.site { background: var(--bg-blue); color: #9fb3d1; padding: 3.6rem 0 2rem; }
footer.site .cols { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2rem; margin-bottom: 2.5rem; }
@media (max-width: 880px){ footer.site .cols { grid-template-columns: 1fr 1fr; } }
footer.site h4 { color: #fff; font-family: var(--font); font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 1rem; }
footer.site a { color: #9fb3d1; display: block; padding: .3rem 0; font-size: .92rem; }
footer.site a:hover { color: #7fe0a0; text-decoration: none; }
footer.site .brand { margin-bottom: 1rem; }
footer.site .tagline { font-size: .92rem; max-width: 30ch; color: #9fb3d1; }
footer.site .bottom { border-top: 1px solid rgba(255,255,255,.12); padding-top: 1.5rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; font-size: .85rem; }

.mt-1{margin-top:1rem}.mt-2{margin-top:2rem}.mb-0{margin-bottom:0}.center{text-align:center}
