/* ============================================================
   DiamondERP — Landing styles
   Direction: light "green luxury" SaaS — white base, layered
   mint surfaces, deep emerald primary, bright accent highlights.
   ============================================================ */

:root {
  /* Green + white palette */
  --green-900: #06342a;
  --green-800: #0b4a3b;
  --green-700: #0f7a5c;   /* primary */
  --green-600: #12965f;
  --green-500: #12b981;   /* accent */
  --green-400: #34d399;
  --green-300: #6ee7b7;
  --mint-100: #eafaf3;
  --mint-50:  #f3fcf8;

  --white: #ffffff;
  --ink:      #0c1f19;
  --ink-soft: #3c534b;
  --ink-mute: #6d827a;
  --line:     #e2efe9;
  --line-soft:#edf5f1;

  --bg:       #ffffff;
  --bg-tint:  #f4fbf8;

  /* Typography */
  --font-body: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-head: 'Sora', 'Manrope', system-ui, sans-serif;

  --text-hero: clamp(2.4rem, 1rem + 6vw, 4.6rem);
  --text-h2:   clamp(1.9rem, 1rem + 3vw, 3rem);
  --text-h3:   clamp(1.15rem, 1rem + 0.6vw, 1.4rem);
  --text-lead: clamp(1.02rem, 0.96rem + 0.4vw, 1.2rem);

  /* Space */
  --space-section: clamp(4.5rem, 3rem + 6vw, 8.5rem);
  --radius: 18px;
  --radius-sm: 12px;
  --radius-lg: 28px;

  /* Shadows / effects */
  --shadow-sm: 0 2px 10px rgba(9, 61, 45, .06);
  --shadow-md: 0 12px 34px rgba(9, 61, 45, .10);
  --shadow-lg: 0 30px 70px rgba(9, 61, 45, .16);
  --shadow-glow: 0 20px 60px rgba(18, 185, 129, .28);

  --grad-primary: linear-gradient(135deg, var(--green-500), var(--green-700));
  --grad-deep: linear-gradient(150deg, var(--green-800), var(--green-900));

  --dur: 320ms;
  --ease: cubic-bezier(.16, 1, .3, 1);
}

/* ---------- Reset-ish ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.1; margin: 0; letter-spacing: -.02em; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; }

.container { width: min(1200px, 100% - 3rem); margin-inline: auto; }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 999;
  background: var(--green-700); color: #fff; padding: .7rem 1.2rem; border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .72rem 1.35rem; border-radius: 999px; font-weight: 600; font-size: .95rem;
  border: 1.5px solid transparent; transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), background var(--dur) var(--ease), color var(--dur) var(--ease);
  white-space: nowrap;
}
.btn-lg { padding: .95rem 1.8rem; font-size: 1.02rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--grad-primary); color: #fff; box-shadow: 0 10px 26px rgba(18,150,95,.32); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 36px rgba(18,150,95,.42); }
.btn-outline { background: transparent; color: var(--green-700); border-color: var(--line); }
.btn-outline:hover { border-color: var(--green-500); color: var(--green-600); background: var(--mint-50); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--ink-soft); }
.btn-ghost:hover { color: var(--green-700); background: var(--mint-100); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  padding: .85rem 0;
  transition: background var(--dur) var(--ease), box-shadow var(--dur) var(--ease), padding var(--dur) var(--ease);
}
.site-header.scrolled {
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(180%) blur(16px);
  box-shadow: 0 1px 0 var(--line), var(--shadow-sm);
  padding: .55rem 0;
}
.header-inner { display: flex; align-items: center; gap: 1.5rem; }
.brand { display: inline-flex; align-items: center; gap: .55rem; font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; }
.brand-mark { display: grid; place-items: center; filter: drop-shadow(0 4px 10px rgba(18,150,95,.35)); }
.brand-text { color: var(--ink); }
.brand-text strong { color: var(--green-700); font-weight: 800; }

.main-nav { display: flex; gap: 1.6rem; margin-left: auto; }
.main-nav a { font-weight: 500; color: var(--ink-soft); font-size: .96rem; position: relative; padding: .3rem 0; }
.main-nav a::after { content: ''; position: absolute; left: 0; bottom: -2px; width: 0; height: 2px; background: var(--grad-primary); border-radius: 2px; transition: width var(--dur) var(--ease); }
.main-nav a:hover { color: var(--green-700); }
.main-nav a:hover::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: .6rem; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; padding: 8px; margin-left: auto; }
.nav-toggle span { width: 24px; height: 2.5px; background: var(--ink); border-radius: 2px; transition: var(--dur) var(--ease); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

.mobile-menu {
  display: flex; flex-direction: column; gap: .3rem;
  padding: 1rem 1.5rem 1.5rem; background: rgba(255,255,255,.97);
  backdrop-filter: blur(16px); box-shadow: var(--shadow-md);
  border-top: 1px solid var(--line);
}
.mobile-menu[hidden] { display: none; }
.mobile-menu a { padding: .8rem .4rem; font-weight: 600; color: var(--ink-soft); border-bottom: 1px solid var(--line-soft); }
.mobile-menu a.btn { margin-top: .8rem; border-bottom: 0; color: #fff; }

/* ---------- Eyebrow / section head ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .82rem; font-weight: 700; letter-spacing: .02em; text-transform: uppercase;
  color: var(--green-700); background: var(--mint-100);
  padding: .4rem .85rem; border-radius: 999px; border: 1px solid var(--line);
}
.eyebrow.center { margin-inline: auto; }
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green-500); box-shadow: 0 0 0 4px rgba(18,185,129,.18); }

.section { padding-block: var(--space-section); }
.section-tint { background: var(--bg-tint); border-block: 1px solid var(--line-soft); }
.section-head { max-width: 720px; margin-inline: auto; text-align: center; margin-bottom: clamp(2.5rem, 4vw, 4rem); display: flex; flex-direction: column; gap: 1rem; }
.section-title { font-size: var(--text-h2); }
.section-title.left { text-align: left; }
.section-lead { color: var(--ink-mute); font-size: var(--text-lead); }
.section-lead.left { text-align: left; }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; padding-top: clamp(8rem, 6rem + 8vw, 11rem); padding-bottom: clamp(4rem, 3rem + 5vw, 7rem); overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.glow { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .55; }
.glow-1 { width: 620px; height: 620px; top: -220px; right: -140px; background: radial-gradient(circle, rgba(52,211,153,.55), transparent 65%); }
.glow-2 { width: 520px; height: 520px; bottom: -260px; left: -160px; background: radial-gradient(circle, rgba(18,150,95,.35), transparent 65%); }
.grid-overlay {
  position: absolute; inset: 0;
  background-image: linear-gradient(var(--line-soft) 1px, transparent 1px), linear-gradient(90deg, var(--line-soft) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 30%, transparent 75%);
  opacity: .7;
}

.hero-inner { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 4vw, 4rem); align-items: center; }
.hero-title { font-size: var(--text-hero); font-weight: 800; margin: 1.2rem 0 1.3rem; }
.hero-title .grad { background: var(--grad-primary); -webkit-background-clip: text; background-clip: text; color: transparent; display: inline-block; }
.hero-sub { font-size: var(--text-lead); color: var(--ink-mute); max-width: 33rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.8rem 0 1.5rem; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 1rem 1.4rem; }
.hero-badges li { display: inline-flex; align-items: center; gap: .45rem; font-size: .9rem; font-weight: 600; color: var(--ink-soft); }
.hero-badges svg { color: var(--green-600); }

/* Dashboard mockup */
.hero-visual { position: relative; }
.dash-window {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); overflow: hidden; transform: perspective(1600px) rotateY(-9deg) rotateX(3deg);
  transition: transform 600ms var(--ease);
}
.hero-visual:hover .dash-window { transform: perspective(1600px) rotateY(-3deg) rotateX(1deg); }
.dash-topbar { display: flex; align-items: center; gap: .5rem; padding: .8rem 1rem; background: var(--mint-50); border-bottom: 1px solid var(--line); }
.tl-dot { width: 10px; height: 10px; border-radius: 50%; background: #cfe6dc; }
.tl-dot:nth-child(1){ background:#f6a6a6; } .tl-dot:nth-child(2){ background:#f6d488; } .tl-dot:nth-child(3){ background:#9be0b6; }
.dash-search { margin-left: .6rem; font-size: .78rem; color: var(--ink-mute); background: #fff; border: 1px solid var(--line); padding: .3rem .8rem; border-radius: 8px; flex: 1; }
.dash-body { display: grid; grid-template-columns: 128px 1fr; min-height: 320px; }
.dash-side { padding: 1rem .7rem; background: linear-gradient(180deg, var(--mint-50), #fff); border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: .25rem; }
.side-item { display: flex; align-items: center; gap: .5rem; font-size: .8rem; font-weight: 600; color: var(--ink-mute); padding: .5rem .55rem; border-radius: 9px; }
.side-item i { width: 14px; height: 14px; border-radius: 4px; background: #d5e9e0; }
.side-item.active { background: var(--grad-primary); color: #fff; box-shadow: 0 6px 16px rgba(18,150,95,.32); }
.side-item.active i { background: rgba(255,255,255,.8); }
.dash-main { padding: 1.1rem; display: flex; flex-direction: column; gap: 1rem; }
.kpi-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: .7rem; }
.kpi { background: var(--mint-50); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: .7rem .75rem; display: flex; flex-direction: column; gap: .15rem; }
.kpi-label { font-size: .68rem; color: var(--ink-mute); text-transform: uppercase; letter-spacing: .04em; font-weight: 700; }
.kpi-value { font-family: var(--font-head); font-size: 1.5rem; font-weight: 800; color: var(--ink); }
.kpi-trend { font-size: .68rem; font-weight: 700; color: var(--ink-mute); }
.kpi-trend.up { color: var(--green-600); }
.dash-chart { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: .8rem .9rem 1rem; flex: 1; }
.chart-head { display: flex; justify-content: space-between; align-items: center; font-size: .78rem; font-weight: 700; color: var(--ink-soft); margin-bottom: .8rem; }
.chart-legend { display: inline-flex; align-items: center; gap: .35rem; font-size: .66rem; color: var(--ink-mute); font-weight: 600; }
.chart-legend i { width: 9px; height: 9px; border-radius: 3px; }
.chart-legend .lg-1 { background: var(--green-500); } .chart-legend .lg-2 { background: var(--green-300); }
.bars { display: flex; align-items: flex-end; gap: .55rem; height: 130px; }
.bar-group { flex: 1; display: flex; align-items: flex-end; gap: 3px; height: 100%; }
.bar-group span { flex: 1; border-radius: 5px 5px 0 0; background: var(--green-300); animation: barGrow 900ms var(--ease) backwards; }
.bar-group span:first-child { background: var(--grad-primary); }
@keyframes barGrow { from { height: 0 !important; opacity: .3; } }

.float-card {
  position: absolute; display: flex; align-items: center; gap: .6rem;
  background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: .6rem .85rem;
  box-shadow: var(--shadow-md); animation: floaty 5s ease-in-out infinite;
}
.float-card b { display: block; font-size: .82rem; font-family: var(--font-head); }
.float-card small { color: var(--ink-mute); font-size: .72rem; }
.fc-icon { font-size: 1.2rem; }
.fc-1 { top: 8%; left: -6%; }
.fc-2 { bottom: 6%; right: -4%; animation-delay: 1.6s; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* ---------- Trust bar ---------- */
.trust { padding-block: 2.4rem; border-block: 1px solid var(--line-soft); background: var(--bg-tint); }
.trust-caption { text-align: center; color: var(--ink-mute); font-weight: 600; font-size: .9rem; margin-bottom: 1.4rem; }
.trust-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1rem; }
.trust-item { text-align: center; padding: .5rem; }
.trust-item b { display: block; font-family: var(--font-head); font-size: .98rem; color: var(--green-800); }
.trust-item span { font-size: .78rem; color: var(--ink-mute); }

/* ============================================================
   BENTO FEATURES
   ============================================================ */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; }
.bento-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.6rem; position: relative; overflow: hidden;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.bento-card::before {
  content: ''; position: absolute; inset: 0; opacity: 0;
  background: radial-gradient(120% 80% at 0% 0%, rgba(18,185,129,.10), transparent 60%);
  transition: opacity var(--dur) var(--ease);
}
.bento-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--green-300); }
.bento-card:hover::before { opacity: 1; }
.bento-card.span-2 { grid-column: span 2; }
.bc-icon {
  width: 48px; height: 48px; display: grid; place-items: center; font-size: 1.5rem;
  background: var(--mint-100); border: 1px solid var(--line); border-radius: 14px; margin-bottom: 1rem;
}
.bento-card h3 { font-size: var(--text-h3); margin-bottom: .5rem; }
.bento-card p { color: var(--ink-mute); font-size: .95rem; position: relative; }
.chips { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: 1rem; position: relative; }
.chips li { font-size: .74rem; font-weight: 600; color: var(--green-800); background: var(--mint-100); border: 1px solid var(--line); padding: .3rem .7rem; border-radius: 999px; }

/* ============================================================
   MODULE TABS
   ============================================================ */
.tabs { max-width: 1040px; margin-inline: auto; }
.tab-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: .35rem; padding: .35rem; background: #fff; border: 1px solid var(--line); border-radius: 999px; margin: 0 auto 2.2rem; box-shadow: var(--shadow-sm); width: fit-content; }
.tab-btn { border: 0; background: transparent; color: var(--ink-soft); font-weight: 600; font-size: .92rem; padding: .6rem 1.3rem; border-radius: 999px; transition: var(--dur) var(--ease); }
.tab-btn:hover { color: var(--green-700); }
.tab-btn.active { background: var(--grad-primary); color: #fff; box-shadow: 0 8px 20px rgba(18,150,95,.3); }

.tab-panel { display: none; }
.tab-panel.active { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; animation: fadeUp 500ms var(--ease); }
.panel-copy h3 { font-size: clamp(1.5rem, 1rem + 1.5vw, 2rem); margin-bottom: 1rem; }
.panel-copy p { color: var(--ink-mute); font-size: 1.02rem; margin-bottom: 1.4rem; }
.ticks { display: flex; flex-direction: column; gap: .7rem; }
.ticks li { display: flex; align-items: flex-start; gap: .6rem; font-weight: 500; color: var(--ink-soft); }
.ticks li::before {
  content: '✓'; flex: none; width: 22px; height: 22px; display: grid; place-items: center; margin-top: 1px;
  background: var(--mint-100); color: var(--green-600); border-radius: 50%; font-size: .75rem; font-weight: 800; border: 1px solid var(--line);
}

.panel-visual { display: grid; place-items: center; }
.mini-app {
  width: 100%; max-width: 380px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow-md); padding: 1.2rem; display: flex; flex-direction: column; gap: .6rem;
}
.ma-head { font-family: var(--font-head); font-weight: 700; font-size: .95rem; padding-bottom: .7rem; border-bottom: 1px solid var(--line-soft); margin-bottom: .3rem; }
.ma-row { display: flex; align-items: center; gap: .7rem; padding: .55rem; border-radius: 12px; background: var(--mint-50); }
.av { width: 34px; height: 34px; border-radius: 50%; background: var(--grad-primary); color: #fff; display: grid; place-items: center; font-size: .78rem; font-weight: 700; }
.ma-info { flex: 1; } .ma-info b { display: block; font-size: .86rem; font-family: var(--font-head); } .ma-info small { color: var(--ink-mute); font-size: .74rem; }
.pill { font-size: .7rem; font-weight: 700; padding: .28rem .6rem; border-radius: 999px; }
.pill-ok { background: rgba(18,185,129,.14); color: var(--green-700); }
.pill-warn { background: #fff2d9; color: #b06f00; }
.ma-map { position: relative; height: 100px; background: linear-gradient(135deg, var(--mint-100), #fff); border: 1px solid var(--line); border-radius: 12px; margin-top: .3rem; overflow: hidden; }
.ma-map .pin { position: absolute; width: 10px; height: 10px; border-radius: 50%; background: var(--green-600); box-shadow: 0 0 0 4px rgba(18,150,95,.2); z-index: 2; }
.ma-map .p1 { top: 30%; left: 20%; } .ma-map .p2 { top: 60%; left: 50%; } .ma-map .p3 { top: 35%; left: 78%; }
.ma-map::after { content: ''; position: absolute; top: 30%; left: 20%; width: 60%; height: 30%;
  border-top: 2px dashed var(--green-400); border-right: 2px dashed var(--green-400); border-radius: 0 30px 0 0; opacity: .6; }

.task-item { display: flex; align-items: center; gap: .6rem; padding: .55rem .7rem; border-radius: 10px; background: var(--mint-50); font-size: .88rem; font-weight: 500; color: var(--ink-soft); }
.task-item::before { content: ''; width: 18px; height: 18px; border-radius: 6px; border: 2px solid var(--line); flex: none; }
.task-item.done { color: var(--ink-mute); }
.task-item.done::before { content: '✓'; background: var(--grad-primary); border-color: transparent; color: #fff; display: grid; place-items: center; font-size: .7rem; font-weight: 800; }
.ma-progress { height: 8px; background: var(--line-soft); border-radius: 999px; overflow: hidden; margin-top: .3rem; }
.ma-progress span { display: block; height: 100%; background: var(--grad-primary); border-radius: 999px; }
.ma-foot { display: flex; justify-content: space-between; align-items: center; font-size: .8rem; color: var(--ink-mute); font-weight: 600; }

.doc-lines { display: flex; flex-direction: column; gap: .5rem; padding: .5rem 0; }
.doc-lines span { height: 8px; background: var(--line-soft); border-radius: 4px; }
.doc-lines span.short { width: 60%; }
.doc-sign { border: 1px dashed var(--green-300); border-radius: 12px; padding: .5rem; text-align: center; background: var(--mint-50); }
.doc-sign svg { width: 140px; margin: 0 auto; }
.doc-sign small { color: var(--green-700); font-weight: 700; font-size: .74rem; }

.fin-row { display: flex; justify-content: space-between; font-size: .88rem; font-weight: 600; color: var(--ink-soft); padding: .35rem 0; }
.fin-row b { font-family: var(--font-head); }
.fin-bar { display: flex; height: 12px; border-radius: 999px; overflow: hidden; gap: 2px; margin: .5rem 0; }
.fin-bar span:nth-child(1) { background: var(--green-300); } .fin-bar span:nth-child(2) { background: var(--green-500); } .fin-bar span:nth-child(3) { background: var(--green-700); }

/* ============================================================
   MOBILE SECTION
   ============================================================ */
.mobile-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.feature-list { display: grid; gap: 1.1rem; margin-top: 1.8rem; }
.fl-item { display: flex; gap: .9rem; }
.fl-ic { flex: none; width: 44px; height: 44px; display: grid; place-items: center; font-size: 1.25rem; background: var(--mint-100); border: 1px solid var(--line); border-radius: 12px; }
.fl-item b { font-family: var(--font-head); font-size: 1.02rem; }
.fl-item p { color: var(--ink-mute); font-size: .9rem; margin-top: .1rem; }

.mobile-visual { position: relative; display: grid; place-items: center; }
.phone {
  position: relative; width: 280px; height: 560px; background: #0c1f19; border-radius: 42px;
  padding: 12px; box-shadow: var(--shadow-lg), 0 0 0 2px rgba(12,31,25,.06); z-index: 2;
}
.phone-notch { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); width: 120px; height: 24px; background: #0c1f19; border-radius: 0 0 16px 16px; z-index: 3; }
.phone-screen { width: 100%; height: 100%; background: linear-gradient(180deg, var(--mint-50), #fff); border-radius: 32px; padding: 2.4rem 1rem 1rem; display: flex; flex-direction: column; gap: .7rem; overflow: hidden; }
.ph-top { display: flex; justify-content: space-between; font-size: .72rem; font-weight: 700; color: var(--ink-mute); padding: 0 .3rem; }
.ph-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: .8rem .9rem; box-shadow: var(--shadow-sm); }
.ph-hero { background: var(--grad-deep); color: #fff; border: 0; }
.ph-hero small { opacity: .75; font-size: .74rem; }
.ph-hero b { display: block; font-family: var(--font-head); font-size: 1.15rem; margin: .1rem 0 .5rem; }
.ph-chip { display: inline-block; background: rgba(255,255,255,.16); padding: .25rem .7rem; border-radius: 999px; font-size: .72rem; font-weight: 600; }
.ph-line { display: flex; justify-content: space-between; font-size: .82rem; font-weight: 600; margin-bottom: .5rem; }
.ph-line b { font-family: var(--font-head); color: var(--green-700); }
.ph-progress { height: 7px; background: var(--line-soft); border-radius: 999px; overflow: hidden; }
.ph-progress span { display: block; height: 100%; background: var(--grad-primary); }
.ph-task { display: flex; align-items: center; gap: .55rem; font-size: .82rem; font-weight: 500; padding: .65rem .8rem; }
.ph-task i { width: 16px; height: 16px; border-radius: 5px; border: 2px solid var(--line); flex: none; }
.ph-task i.ok { background: var(--grad-primary); border-color: transparent; position: relative; }
.ph-task i.ok::after { content: '✓'; position: absolute; inset: 0; color: #fff; font-size: .6rem; display: grid; place-items: center; font-weight: 800; }
.ph-btn { margin-top: auto; background: var(--grad-primary); color: #fff; border: 0; border-radius: 14px; padding: .8rem; font-weight: 700; font-size: .88rem; box-shadow: 0 8px 20px rgba(18,150,95,.35); }
.phone-glow { position: absolute; width: 340px; height: 340px; background: radial-gradient(circle, rgba(52,211,153,.4), transparent 65%); filter: blur(40px); z-index: 1; }

/* ============================================================
   STEPS
   ============================================================ */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem 1.4rem; position: relative; transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.step:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.step-num { font-family: var(--font-head); font-size: 1.6rem; font-weight: 800; background: var(--grad-primary); -webkit-background-clip: text; background-clip: text; color: transparent; }
.step h3 { font-size: 1.15rem; margin: .6rem 0 .5rem; }
.step p { color: var(--ink-mute); font-size: .92rem; }

/* ============================================================
   ROLES
   ============================================================ */
.roles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.role-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease); }
.role-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--green-300); }
.role-tag { display: inline-block; font-size: .68rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; padding: .28rem .65rem; border-radius: 999px; margin-bottom: .8rem; }
.role-tag.erp { background: var(--mint-100); color: var(--green-700); border: 1px solid var(--line); }
.role-tag.mob { background: var(--green-800); color: #fff; }
.role-card h3 { font-size: 1.25rem; margin-bottom: .4rem; }
.role-card p { color: var(--ink-mute); font-size: .9rem; }

/* ============================================================
   STATS BAND
   ============================================================ */
.stats-band { background: var(--grad-deep); color: #fff; padding-block: clamp(3rem, 4vw, 4.5rem); position: relative; overflow: hidden; }
.stats-band::before { content: ''; position: absolute; inset: 0; background: radial-gradient(60% 120% at 80% 0%, rgba(52,211,153,.25), transparent 60%); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; position: relative; text-align: center; }
.stat b { display: block; font-family: var(--font-head); font-size: clamp(2.2rem, 1.5rem + 2vw, 3.4rem); font-weight: 800; background: linear-gradient(120deg, #fff, var(--green-300)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { color: rgba(255,255,255,.75); font-size: .92rem; font-weight: 500; }

/* ============================================================
   TECH
   ============================================================ */
.tech-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.tech-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem 1.5rem; transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.tech-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.tech-card b { display: block; font-family: var(--font-head); font-size: 1.1rem; color: var(--green-800); margin-bottom: .3rem; }
.tech-card span { color: var(--ink-mute); font-size: .9rem; }

/* ============================================================
   PRICING
   ============================================================ */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; align-items: stretch; }
.price-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 2rem 1.8rem; display: flex; flex-direction: column; position: relative; transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.price-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.price-card.featured { background: var(--grad-deep); color: #fff; border: 0; box-shadow: var(--shadow-lg); transform: scale(1.03); }
.price-card.featured:hover { transform: scale(1.03) translateY(-5px); }
.badge-pop { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--green-400); color: var(--green-900); font-size: .72rem; font-weight: 800; padding: .35rem .9rem; border-radius: 999px; text-transform: uppercase; letter-spacing: .04em; }
.price-card h3 { font-size: 1.4rem; }
.price-sub { color: var(--ink-mute); font-size: .88rem; margin: .3rem 0 1.2rem; }
.price-card.featured .price-sub { color: rgba(255,255,255,.7); }
.price { display: flex; align-items: baseline; gap: .3rem; margin-bottom: 1.4rem; padding-bottom: 1.4rem; border-bottom: 1px solid var(--line); }
.price-card.featured .price { border-color: rgba(255,255,255,.15); }
.price .cur { font-size: 1rem; color: var(--ink-mute); font-weight: 600; }
.price b { font-family: var(--font-head); font-size: 2rem; font-weight: 800; }
.price .per { font-size: .85rem; color: var(--ink-mute); }
.price-card ul { display: flex; flex-direction: column; gap: .7rem; margin-bottom: 1.6rem; flex: 1; }
.price-card li { display: flex; align-items: flex-start; gap: .55rem; font-size: .92rem; color: var(--ink-soft); }
.price-card li::before { content: '✓'; color: var(--green-500); font-weight: 800; }
.price-card.featured li { color: rgba(255,255,255,.9); }
.price-card.featured li::before { color: var(--green-300); }

/* ============================================================
   CTA
   ============================================================ */
.cta-section { padding-block: var(--space-section); }
.cta-box { position: relative; background: var(--grad-deep); color: #fff; border-radius: var(--radius-lg); padding: clamp(2.5rem, 5vw, 4.5rem); text-align: center; overflow: hidden; box-shadow: var(--shadow-lg); }
.cta-glow { position: absolute; width: 500px; height: 500px; top: -200px; right: -100px; background: radial-gradient(circle, rgba(52,211,153,.4), transparent 65%); filter: blur(40px); }
.cta-box h2 { font-size: var(--text-h2); margin-bottom: .9rem; position: relative; }
.cta-box > p { color: rgba(255,255,255,.8); max-width: 40rem; margin: 0 auto 2rem; position: relative; font-size: var(--text-lead); }
.cta-form { display: flex; flex-wrap: wrap; gap: .7rem; justify-content: center; max-width: 640px; margin-inline: auto; position: relative; }
.cta-form input { flex: 1 1 200px; padding: .95rem 1.2rem; border-radius: 999px; border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.1); color: #fff; font-size: .98rem; }
.cta-form input::placeholder { color: rgba(255,255,255,.6); }
.cta-form input:focus { outline: 2px solid var(--green-400); background: rgba(255,255,255,.16); }
.cta-form .btn { flex: 0 0 auto; }
.cta-note { margin-top: 1.2rem; color: var(--green-300); font-weight: 700; position: relative; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--bg-tint); border-top: 1px solid var(--line); padding-top: clamp(3rem, 4vw, 4rem); }
.footer-inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2rem; padding-bottom: 2.5rem; }
.footer-brand p { color: var(--ink-mute); font-size: .9rem; margin-top: .8rem; max-width: 22rem; }
.footer-col h4 { font-size: .82rem; text-transform: uppercase; letter-spacing: .05em; color: var(--green-800); margin-bottom: 1rem; }
.footer-col a { display: block; color: var(--ink-mute); font-size: .92rem; padding: .3rem 0; transition: color var(--dur) var(--ease); }
.footer-col a:hover { color: var(--green-700); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-block: 1.5rem; border-top: 1px solid var(--line); color: var(--ink-mute); font-size: .84rem; }

/* ============================================================
   REVEAL ANIMATION
   ============================================================ */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 700ms var(--ease), transform 700ms var(--ease); }
.reveal[data-delay="1"] { transition-delay: 90ms; }
.reveal[data-delay="2"] { transition-delay: 180ms; }
.reveal[data-delay="3"] { transition-delay: 270ms; }
.reveal.in { opacity: 1; transform: none; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .main-nav, .header-actions { display: none; }
  .nav-toggle { display: flex; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { margin-top: 1rem; }
  .dash-window { transform: none; }
  .hero-visual:hover .dash-window { transform: none; }
  .mobile-grid { grid-template-columns: 1fr; }
  .roles-grid, .tech-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .bento { grid-template-columns: 1fr 1fr; }
  .bento-card.span-2 { grid-column: span 2; }
  .trust-grid { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .price-card.featured { transform: none; }
  .price-card.featured:hover { transform: translateY(-5px); }
  .tab-panel.active { grid-template-columns: 1fr; }
  .panel-visual { order: -1; }
  .footer-bottom { flex-direction: column; gap: .5rem; text-align: center; }
  .float-card { display: none; }
}
@media (max-width: 480px) {
  .container { width: min(1200px, 100% - 2rem); }
  .bento, .steps, .roles-grid, .tech-grid, .trust-grid { grid-template-columns: 1fr; }
  .bento-card.span-2 { grid-column: span 1; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .cta-form input { flex-basis: 100%; }
  .cta-form .btn { width: 100%; }
}
