/* ===== SoraORM Landing — Modern CSS ===== */
:root {
  --bg: #f7f7f5;
  --surface: #ffffff;
  --ink: #1f1a17;
  --muted: #6b5d54;
  --line: #e7e5e1;

  --terra: #c16e4b;
  --terra-dark: #a4542f;
  --olive: #6e7a4f;
  --accent-grad: linear-gradient(135deg, #c16e4b 0%, #d98a52 50%, #8a8a4d 100%);

  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 12px 40px rgba(30, 30, 30, 0.10);
  --shadow-sm: 0 4px 18px rgba(30, 30, 30, 0.06);
  --maxw: 1120px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: "Work Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .brand-name { font-family: "Inter", sans-serif; letter-spacing: -0.02em; }

a { text-decoration: none; color: inherit; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 600; font-family: "Inter", sans-serif;
  padding: 12px 22px; border-radius: 999px;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-lg { padding: 15px 30px; font-size: 1.02rem; }

.btn-primary { background: var(--terra); color: #fff; box-shadow: 0 8px 22px rgba(193,110,75,.30); }
.btn-primary:hover { background: var(--terra-dark); }

.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--terra); color: var(--terra-dark); }

.btn-light { background: #fff; color: var(--terra-dark); box-shadow: 0 8px 22px rgba(0,0,0,.12); }

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 247, 245, 0.82);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 70px; gap: 20px; }

.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; }
.brand-mark {
  width: 34px; height: 34px; border-radius: 10px;
  background: var(--accent-grad); color: #fff;
  display: grid; place-items: center; font-family: "Inter"; font-weight: 900; font-size: 1.1rem;
  box-shadow: var(--shadow-sm);
}
.brand-name { font-size: 1.25rem; }

.nav-links { display: flex; gap: 28px; list-style: none; }
.nav-links a { color: var(--muted); font-weight: 500; font-size: .98rem; transition: color .2s; }
.nav-links a:hover { color: var(--terra-dark); }

/* ===== Hero ===== */
.hero { padding: 70px 0 50px; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; top: -180px; right: -160px;
  width: 520px; height: 520px; border-radius: 50%;
  background: radial-gradient(circle, rgba(193,110,75,.16), transparent 65%);
  z-index: 0;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 50px; align-items: center; position: relative; z-index: 1; }

.eyebrow {
  display: inline-block; font-family: "Inter"; font-weight: 600; font-size: .8rem;
  letter-spacing: .08em; text-transform: uppercase; color: var(--terra-dark);
  background: rgba(193,110,75,.10); padding: 6px 14px; border-radius: 999px; margin-bottom: 18px;
}
.hero h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 900; line-height: 1.05; }
.grad { background: var(--accent-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lede { margin: 22px 0 28px; font-size: 1.12rem; color: var(--muted); max-width: 520px; }

.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-trust { list-style: none; display: flex; gap: 22px; flex-wrap: wrap; margin-top: 28px; color: var(--muted); font-size: .95rem; font-weight: 500; }

/* ===== Hero device ===== */
.hero-visual { display: grid; place-items: center; }
.device {
  width: 320px; background: #fff; border-radius: 30px; padding: 14px;
  box-shadow: var(--shadow); border: 1px solid var(--line);
  transform: rotate(-2deg);
}
.device-top { display: flex; gap: 6px; justify-content: center; margin-bottom: 12px; }
.device-top span { width: 6px; height: 6px; border-radius: 50%; background: var(--line); }
.device-top span:first-child { width: 42px; border-radius: 999px; }
.device-screen { background: var(--bg); border-radius: 20px; padding: 16px; display: grid; gap: 12px; }

.mini-card { background: #fff; border-radius: var(--radius-sm); padding: 16px; box-shadow: var(--shadow-sm); }
.mini-label { font-size: .78rem; color: var(--muted); }
.mini-value { font-family: "Inter"; font-weight: 800; font-size: 1.6rem; color: var(--ink); margin: 2px 0 12px; }
.mini-bars { display: flex; gap: 7px; align-items: flex-end; height: 70px; }
.mini-bars i { flex: 1; background: var(--accent-grad); border-radius: 6px 6px 3px 3px; }

.mini-row { display: flex; gap: 10px; }
.mini-pill { flex: 1; background: #fff; border-radius: 10px; padding: 10px; font-size: .78rem; font-weight: 600; box-shadow: var(--shadow-sm); }
.mini-stamp { flex: 1; background: #fff; border-radius: 10px; padding: 12px; box-shadow: var(--shadow-sm); }
.mini-stamp p { font-size: .78rem; color: var(--muted); margin-bottom: 8px; }
.stamps { display: flex; gap: 6px; }
.stamps b { width: 18px; height: 18px; border-radius: 50%; background: var(--terra); }
.stamps b.off { background: var(--line); }

/* ===== Sections ===== */
.section { padding: 84px 0; }
.section-alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 50px; }
.section-head h2 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); font-weight: 800; margin-top: 6px; }
.section-head p { color: var(--muted); margin-top: 14px; font-size: 1.05rem; }

.grid { display: grid; gap: 22px; }
.features { grid-template-columns: repeat(4, 1fr); }

/* ===== Cards ===== */
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 22px; box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(193,110,75,.4); }
.card .ico {
  width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center;
  font-size: 1.5rem; background: rgba(193,110,75,.10); margin-bottom: 16px;
}
.card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: .96rem; }
.card.soft { background: var(--bg); }

/* ===== Steps ===== */
.steps { grid-template-columns: repeat(3, 1fr); }
.step { padding: 28px; }
.step-num {
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px;
  background: var(--accent-grad); color: #fff; font-family: "Inter"; font-weight: 900; font-size: 1.2rem;
  margin-bottom: 16px; box-shadow: var(--shadow-sm);
}
.step h3 { font-size: 1.2rem; margin-bottom: 8px; }
.step p { color: var(--muted); }

/* ===== Audience ===== */
.audience { grid-template-columns: repeat(3, 1fr); }
.audience h3 { font-size: 1.2rem; margin-bottom: 8px; }
.audience p { color: var(--muted); }

/* ===== CTA banner ===== */
.cta-banner { background: var(--accent-grad); color: #fff; }
.cta-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 30px;
  padding: 56px 24px; flex-wrap: wrap;
}
.cta-inner h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; }
.cta-inner p { margin-top: 8px; opacity: .92; }

/* ===== Contact ===== */
.contact { grid-template-columns: repeat(3, 1fr); }
.contact-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; box-shadow: var(--shadow-sm); text-align: center;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s;
}
.contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(193,110,75,.4); }
.contact-card .ico { font-size: 2rem; margin-bottom: 12px; }
.contact-card h3 { font-size: 1.1rem; margin-bottom: 6px; }
.contact-card p { color: var(--ink); font-weight: 600; word-break: break-word; }
.contact-action { display: inline-block; margin-top: 12px; color: var(--terra-dark); font-weight: 600; font-size: .92rem; }

/* ===== Footer ===== */
.site-footer { background: #221b16; color: #d9cfc7; padding: 56px 0 28px; }
.footer-grid { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; padding-bottom: 32px; border-bottom: 1px solid rgba(255,255,255,.08); }
.site-footer .brand-name { color: #fff; }
.footer-tag { margin-top: 14px; max-width: 360px; color: #b6a99f; }
.footer-links { display: flex; gap: 26px; flex-wrap: wrap; align-items: center; }
.footer-links a { color: #cbbfb6; font-weight: 500; transition: color .2s; }
.footer-links a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding-top: 22px; color: #9a8d83; font-size: .9rem; }

/* ===== Real screenshot frames ===== */
.frame {
  margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 14px;
  overflow: hidden; box-shadow: var(--shadow); max-width: 520px; width: 100%;
}
.frame-bar { display: flex; align-items: center; gap: 7px; padding: 11px 15px; background: var(--bg);
  border-bottom: 1px solid var(--line); font-size: .78rem; color: var(--muted); font-weight: 600; }
.frame-bar b { margin-left: 8px; font-family: "Inter"; font-weight: 600; }
.frame img { display: block; width: 100%; height: auto; }
.frame figcaption { padding: 12px 16px; font-size: .86rem; color: var(--muted); border-top: 1px solid var(--line); background: #fff; }
.frame-float { transform: rotate(-1.4deg); transition: transform .3s ease; }
.frame-float:hover { transform: rotate(0); }

.phone-frame { margin: 0; width: 270px; background: #1c1714; border-radius: 36px; padding: 10px;
  box-shadow: var(--shadow); overflow: hidden; }
.phone-frame img { display: block; width: 100%; height: auto; border-radius: 28px; }

.dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.dot.r { background: #ec6a5e; } .dot.y { background: #f4bf4f; } .dot.g { background: #61c554; }

/* gallery */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.gallery .frame { max-width: none; transition: transform .2s ease, box-shadow .2s ease; }
.gallery .frame:hover { transform: translateY(-5px); }

/* ===== Problem / Solution ===== */
.ps-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.ps-col { border-radius: var(--radius); padding: 30px 28px; border: 1px solid var(--line); }
.ps-col h3 { font-size: 1.25rem; margin-bottom: 16px; }
.ps-col ul { list-style: none; display: grid; gap: 12px; }
.ps-col li { color: var(--muted); padding-left: 4px; }
.ps-problem { background: #fdf3f0; border-color: #f3d9d0; }
.ps-solution { background: #f1f6ec; border-color: #d8e6c8; }

/* ===== Deep-dive feature blocks ===== */
.deep { display: grid; grid-template-columns: 1fr 1fr; gap: 54px; align-items: center; margin-bottom: 70px; }
.deep:last-child { margin-bottom: 0; }
.deep.reverse .deep-copy { order: 2; }
.tag {
  display: inline-block; font-family: "Inter"; font-weight: 700; font-size: .72rem; letter-spacing: .08em;
  text-transform: uppercase; color: var(--terra-dark); background: rgba(193,110,75,.10);
  padding: 5px 12px; border-radius: 999px; margin-bottom: 14px;
}
.deep-copy h3 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); font-weight: 800; margin-bottom: 12px; }
.deep-copy > p { color: var(--muted); font-size: 1.04rem; margin-bottom: 18px; }
.ticks { list-style: none; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 28px; color: var(--ink); }
.ticks li::before { content: "✓"; position: absolute; left: 0; top: 0; color: #fff; background: var(--terra);
  width: 18px; height: 18px; border-radius: 50%; font-size: .7rem; display: grid; place-items: center; margin-top: 3px; }

/* generic browser-style shot */
.deep-shot { display: grid; place-items: center; }
.shot { width: 100%; max-width: 440px; background: #fff; border-radius: 16px; overflow: hidden;
  box-shadow: var(--shadow); border: 1px solid var(--line); }
.shot-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; background: var(--bg);
  border-bottom: 1px solid var(--line); font-size: .8rem; color: var(--muted); font-weight: 600; }
.shot-bar b { margin-left: 8px; font-family: "Inter"; }
.dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.dot.r { background: #ec6a5e; } .dot.y { background: #f4bf4f; } .dot.g { background: #61c554; }

/* POS shot */
.pos-body { display: grid; grid-template-columns: 1.3fr 1fr; gap: 0; }
.pos-list { padding: 16px; display: grid; gap: 10px; align-content: start; border-right: 1px solid var(--line); }
.pos-item { display: flex; justify-content: space-between; font-size: .9rem; padding: 10px 12px;
  background: var(--bg); border-radius: 10px; }
.pos-item.muted { opacity: .55; }
.pos-total { padding: 16px; display: grid; gap: 10px; align-content: start; }
.pos-total-row { display: flex; justify-content: space-between; font-size: .9rem; color: var(--muted); }
.pos-total-row.big { font-family: "Inter"; font-weight: 800; font-size: 1.15rem; color: var(--ink); }
.pos-pay { display: flex; gap: 6px; flex-wrap: wrap; }
.pay { font-size: .72rem; font-weight: 600; padding: 5px 9px; border-radius: 8px; }
.pay.cash { background: #eaf5e6; color: #4a7a33; }
.pay.online { background: #e9f0fb; color: #3a63a8; }
.pos-checkout { background: var(--terra); color: #fff; text-align: center; padding: 11px; border-radius: 10px;
  font-weight: 700; font-size: .9rem; margin-top: 4px; }

/* Dashboard shot */
.dash-body { padding: 18px; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 16px; }
.kpi { background: var(--bg); border-radius: 12px; padding: 12px; }
.kpi p { font-size: .72rem; color: var(--muted); }
.kpi b { font-family: "Inter"; font-weight: 800; font-size: 1.15rem; display: block; margin: 2px 0; }
.kpi i { font-size: .74rem; color: var(--muted); font-style: normal; }
.kpi i.up { color: #4a7a33; font-weight: 700; }
.chart { display: flex; gap: 6px; align-items: flex-end; height: 120px; padding: 12px; background: var(--bg); border-radius: 12px; }
.chart i { flex: 1; background: var(--accent-grad); border-radius: 5px 5px 2px 2px; }

/* Phone shot (loyalty) */
.phone-shot { width: 270px; background: #1c1714; border-radius: 34px; padding: 12px; box-shadow: var(--shadow); position: relative; }
.phone-notch { width: 110px; height: 22px; background: #1c1714; border-radius: 0 0 16px 16px; position: absolute; top: 12px; left: 50%; transform: translateX(-50%); z-index: 2; }
.phone-screen { background: var(--bg); border-radius: 26px; padding: 30px 20px 22px; display: grid; gap: 12px; }
.ps-name { font-family: "Inter"; font-weight: 800; font-size: 1.1rem; }
.loyal-card { background: var(--accent-grad); color: #fff; border-radius: 16px; padding: 18px; }
.loyal-card p { font-size: .78rem; opacity: .9; }
.loyal-card b { font-family: "Inter"; font-weight: 900; font-size: 1.9rem; display: block; margin: 2px 0; }
.loyal-card small { font-size: .76rem; opacity: .9; }
.ps-sub { font-size: .82rem; color: var(--muted); font-weight: 600; }
.qr-box { background: #fff; border-radius: 14px; padding: 16px; display: grid; place-items: center; gap: 8px; box-shadow: var(--shadow-sm); }
.qr { width: 88px; height: 88px; border-radius: 8px;
  background:
    linear-gradient(90deg, #1c1714 25%, transparent 0 50%, #1c1714 0 60%, transparent 0),
    linear-gradient(0deg, #1c1714 25%, transparent 0 45%, #1c1714 0 70%, transparent 0),
    #1c1714;
  background-size: 16px 16px, 16px 16px, 100% 100%;
  background-blend-mode: difference; opacity: .9;
  border: 6px solid #fff; box-shadow: 0 0 0 1px var(--line); }
.qr-box span { font-size: .74rem; color: var(--muted); }

/* HR / closing shot */
.hr-body { padding: 16px; display: grid; gap: 10px; }
.hr-row { display: flex; align-items: center; gap: 12px; background: var(--bg); border-radius: 12px; padding: 12px; }
.avi { width: 36px; height: 36px; border-radius: 10px; background: var(--accent-grad); color: #fff;
  display: grid; place-items: center; font-family: "Inter"; font-weight: 800; font-size: .8rem; }
.hr-row div { flex: 1; }
.hr-row b { font-size: .92rem; display: block; }
.hr-row small { font-size: .76rem; color: var(--muted); }
.badge { font-size: .7rem; font-weight: 700; padding: 5px 10px; border-radius: 999px; }
.badge.ok { background: #eaf5e6; color: #4a7a33; }
.badge.live { background: #fdeede; color: #b06a16; }
.closing { background: var(--bg); border-radius: 12px; padding: 14px; display: grid; gap: 8px; margin-top: 2px; }
.cl-row { display: flex; justify-content: space-between; font-size: .9rem; color: var(--muted); }
.cl-row b { color: var(--ink); }
.cl-row.var.ok b { color: #4a7a33; }

/* ===== Dark "your data" section ===== */
.section-dark { background: #221b16; color: #e7ddd5; }
.section-head.light h2 { color: #fff; }
.section-head.light p { color: #c4b6ac; }
.eyebrow-light { background: rgba(255,255,255,.10); color: #f0c9b4; }
.data-grid { grid-template-columns: repeat(3, 1fr); }
.data-card { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); border-radius: var(--radius); padding: 26px 22px; transition: transform .2s, background .2s; }
.data-card:hover { transform: translateY(-4px); background: rgba(255,255,255,.07); }
.data-card .ico { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; font-size: 1.5rem; background: rgba(193,110,75,.22); margin-bottom: 16px; }
.data-card h3 { color: #fff; font-size: 1.12rem; margin-bottom: 8px; }
.data-card p { color: #bcaea4; font-size: .95rem; }

/* ===== FAQ ===== */
.faq { max-width: 760px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 4px 20px; box-shadow: var(--shadow-sm); }
.faq summary { cursor: pointer; font-family: "Inter"; font-weight: 600; padding: 16px 0; list-style: none; position: relative; padding-right: 30px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 14px; font-size: 1.4rem; color: var(--terra); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding: 0 0 18px; }

/* ===== Responsive ===== */
@media (max-width: 980px) {
  .features { grid-template-columns: repeat(2, 1fr); }
  .data-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .frame { max-width: 100%; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .device { transform: rotate(0); width: 300px; }
  .deep, .deep.reverse { grid-template-columns: 1fr; gap: 30px; }
  .deep.reverse .deep-copy { order: 0; }
  .pos-body { grid-template-columns: 1fr; }
  .pos-list { border-right: none; border-bottom: 1px solid var(--line); }
}
@media (max-width: 760px) {
  .nav-links { display: none; }
  .steps, .audience, .contact, .ps-grid, .data-grid, .gallery { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .features { grid-template-columns: 1fr; }
  .nav-login { padding: 10px 16px; font-size: .9rem; }
  .section { padding: 60px 0; }
}
