/* =========================================================
   AKADEMIGO — STARTUP EDUCATION COMPANY PROFILE
   Bootstrap 5 + custom visual system
   ========================================================= */

:root {
  --brand-950: #03291c;
  --brand-900: #06412d;
  --brand-850: #075137;
  --brand-800: #07613e;
  --brand-700: #087443;
  --brand-650: #07844a;
  --brand-600: #079455;
  --brand-500: #12b76a;
  --brand-400: #32d583;
  --brand-300: #6ce9a6;
  --brand-200: #a6f4c5;
  --brand-100: #d1fadf;
  --brand-50: #ecfdf3;

  --ink-950: #07130e;
  --ink-900: #101828;
  --ink-800: #1d2939;
  --ink-700: #344054;
  --ink-600: #475467;
  --ink-500: #667085;
  --ink-400: #98a2b3;

  --line-strong: #d0d5dd;
  --line: #e4e7ec;
  --line-soft: #edf1ee;
  --surface: #ffffff;
  --surface-soft: #f7faf8;
  --surface-muted: #f1f6f3;

  --blue: #175cd3;
  --blue-soft: #eff8ff;
  --gold: #b77600;
  --gold-soft: #fffaeb;
  --violet: #6941c6;
  --violet-soft: #f4f3ff;
  --orange: #e04f16;
  --orange-soft: #fff4ed;
  --pink: #c11574;
  --pink-soft: #fdf2fa;

  --shadow-xs: 0 1px 2px rgba(16, 24, 40, .05);
  --shadow-sm: 0 6px 18px rgba(16, 24, 40, .07);
  --shadow-md: 0 14px 36px rgba(16, 24, 40, .1);
  --shadow-lg: 0 28px 80px rgba(16, 24, 40, .15);
  --shadow-brand: 0 18px 45px rgba(8, 116, 67, .24);

  --radius-sm: 14px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-xl: 38px;
  --radius-pill: 999px;

  --section-space: clamp(88px, 9vw, 140px);
  --header-height: 84px;
  --container-max: 1280px;

  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 26px);
}

body {
  min-width: 320px;
  overflow-x: hidden;
  color: var(--ink-900);
  background: var(--surface);
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::selection,
*::selection {
  color: #fff;
  background: var(--brand-700);
}

img,
svg {
  display: block;
  max-width: 100%;
}

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

a:hover {
  color: inherit;
}

button,
input,
textarea,
select {
  font: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin-top: 0;
  color: var(--ink-950);
  font-family: "Manrope", sans-serif;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.05em;
}

p:last-child {
  margin-bottom: 0;
}

.container {
  width: min(calc(100% - 36px), var(--container-max));
  max-width: var(--container-max);
}

.section-space {
  position: relative;
  padding-block: var(--section-space);
}

.skip-link {
  position: fixed;
  z-index: 9999;
  top: 10px;
  left: 10px;
  padding: 11px 16px;
  color: #fff;
  background: var(--brand-900);
  border-radius: 10px;
  transform: translateY(-160%);
  transition: transform .2s ease;
}

.skip-link:focus {
  color: #fff;
  transform: translateY(0);
}

/* ---------- Shared UI ---------- */

.section-heading h2 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(2.3rem, 4.35vw, 4.4rem);
}

.section-heading > p {
  max-width: 665px;
  margin-bottom: 0;
  color: var(--ink-600);
  font-size: clamp(1rem, 1.25vw, 1.14rem);
}

.section-heading-center {
  max-width: 890px;
  margin-inline: auto;
  margin-bottom: clamp(48px, 6vw, 72px);
  text-align: center;
}

.section-heading-center h2,
.section-heading-center > p {
  margin-inline: auto;
}

.section-kicker,
.cta-kicker,
.role-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 22px;
  padding: 9px 14px;
  color: var(--brand-700);
  background: var(--brand-50);
  border: 1px solid var(--brand-100);
  border-radius: var(--radius-pill);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .075em;
  line-height: 1;
  text-transform: uppercase;
}

.section-kicker i,
.cta-kicker i,
.role-eyebrow i {
  font-size: .78rem;
}

.section-side-copy {
  max-width: 520px;
  margin: 0 0 6px auto;
  color: var(--ink-600);
  font-size: 1.06rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 13px 20px;
  border-radius: 13px;
  font-size: .92rem;
  font-weight: 700;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease, background-color .22s ease, color .22s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-brand {
  color: #fff;
  background: linear-gradient(135deg, var(--brand-650), var(--brand-500));
  border: 1px solid transparent;
  box-shadow: 0 10px 26px rgba(8, 116, 67, .2);
}

.btn-brand:hover,
.btn-brand:focus {
  color: #fff;
  background: linear-gradient(135deg, var(--brand-700), var(--brand-600));
  box-shadow: var(--shadow-brand);
}

.btn-soft {
  color: var(--brand-800);
  background: #fff;
  border: 1px solid #d5e8de;
  box-shadow: var(--shadow-xs);
}

.btn-soft:hover,
.btn-soft:focus {
  color: var(--brand-800);
  background: var(--brand-50);
  border-color: var(--brand-200);
  box-shadow: var(--shadow-sm);
}

.btn-light-brand {
  color: var(--brand-900);
  background: #fff;
  border: 1px solid rgba(255, 255, 255, .7);
  box-shadow: 0 12px 32px rgba(0, 0, 0, .16);
}

.btn-light-brand:hover,
.btn-light-brand:focus {
  color: var(--brand-900);
  background: var(--brand-50);
  box-shadow: 0 18px 42px rgba(0, 0, 0, .2);
}

.btn-ghost-light {
  color: #fff;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .2);
  backdrop-filter: blur(10px);
}

.btn-ghost-light:hover,
.btn-ghost-light:focus {
  color: #fff;
  background: rgba(255, 255, 255, .14);
  border-color: rgba(255, 255, 255, .35);
}

.btn-lg-brand {
  min-height: 56px;
  padding: 15px 23px;
  border-radius: 15px;
  font-size: .96rem;
}

.inline-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  color: var(--brand-700);
  font-weight: 800;
}

.inline-link i {
  transition: transform .2s ease;
}

.inline-link:hover {
  color: var(--brand-900);
}

.inline-link:hover i {
  transform: translateX(5px);
}

/* ---------- Navbar ---------- */

.site-header {
  position: fixed;
  z-index: 1040;
  top: 0;
  right: 0;
  left: 0;
  padding: 12px 0;
  transition: padding .25s ease, background-color .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.site-header.is-scrolled {
  padding: 7px 0;
  background: rgba(255, 255, 255, .9);
  border-bottom: 1px solid rgba(228, 231, 236, .85);
  box-shadow: 0 8px 30px rgba(16, 24, 40, .06);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.site-header .navbar {
  min-height: 60px;
  padding: 0;
}

.navbar-brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  margin-right: 28px;
  padding: 0;
  line-height: 0;
}

.navbar-brand img {
  width: clamp(160px, 14vw, 194px);
  height: auto;
  object-fit: contain;
  object-position: left center;
}

.navbar-nav {
  gap: 4px;
}

.navbar-nav .nav-link {
  position: relative;
  padding: 12px 13px !important;
  color: var(--ink-600);
  font-size: .88rem;
  font-weight: 700;
  transition: color .2s ease;
}

.navbar-nav .nav-link::after {
  position: absolute;
  right: 13px;
  bottom: 7px;
  left: 13px;
  height: 2px;
  content: "";
  background: var(--brand-600);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .2s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--brand-800);
}

.navbar-nav .nav-link.active::after {
  transform: scaleX(1);
}

.btn-nav {
  min-height: 44px;
  padding: 11px 17px;
  font-size: .84rem;
  white-space: nowrap;
}

.navbar-toggler {
  display: inline-flex;
  width: 46px;
  height: 44px;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow-xs);
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 4px rgba(18, 183, 106, .15);
}

.navbar-toggler span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink-800);
  border-radius: 2px;
}

/* ---------- Hero ---------- */

.hero-section {
  position: relative;
  min-height: 100vh;
  padding: clamp(142px, 13vw, 186px) 0 72px;
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 8%, rgba(209, 250, 223, .68), transparent 28%),
    radial-gradient(circle at 88% 18%, rgba(166, 244, 197, .48), transparent 30%),
    linear-gradient(180deg, #fbfefc 0%, #fff 72%);
}

.hero-mesh {
  position: absolute;
  inset: 0;
  opacity: .34;
  background-image:
    linear-gradient(rgba(8, 116, 67, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(8, 116, 67, .05) 1px, transparent 1px);
  background-size: 62px 62px;
  mask-image: linear-gradient(to bottom, #000, transparent 80%);
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 80%);
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(1px);
  pointer-events: none;
}

.hero-orb-one {
  top: 10%;
  right: -140px;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(18, 183, 106, .18), rgba(18, 183, 106, 0) 68%);
}

.hero-orb-two {
  bottom: 5%;
  left: -120px;
  width: 330px;
  height: 330px;
  background: radial-gradient(circle, rgba(23, 92, 211, .08), rgba(23, 92, 211, 0) 70%);
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 650px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 26px;
  padding: 7px 8px 7px 10px;
  color: var(--brand-800);
  background: rgba(255, 255, 255, .82);
  border: 1px solid rgba(166, 244, 197, .8);
  border-radius: var(--radius-pill);
  box-shadow: 0 6px 20px rgba(8, 116, 67, .08);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .04em;
  backdrop-filter: blur(10px);
}

.badge-icon {
  display: inline-grid;
  width: 27px;
  height: 27px;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--brand-700), var(--brand-400));
  border-radius: 50%;
  font-size: .68rem;
}

.badge-new {
  padding: 5px 9px;
  color: var(--brand-800);
  background: var(--brand-100);
  border-radius: var(--radius-pill);
  font-size: .63rem;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.hero-copy h1 {
  max-width: 710px;
  margin-bottom: 26px;
  font-size: clamp(3rem, 5.3vw, 5.55rem);
  letter-spacing: -.067em;
}

.hero-copy h1 span {
  color: transparent;
  background: linear-gradient(115deg, var(--brand-700), var(--brand-400));
  -webkit-background-clip: text;
  background-clip: text;
}

.hero-lead {
  max-width: 615px;
  margin-bottom: 32px;
  color: var(--ink-600);
  font-size: clamp(1.04rem, 1.38vw, 1.2rem);
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
}

.hero-assurance {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  margin-top: 30px;
}

.assurance-item {
  display: flex;
  align-items: flex-start;
  gap: 11px;
}

.assurance-item > span {
  display: grid;
  width: 23px;
  height: 23px;
  margin-top: 2px;
  place-items: center;
  flex: 0 0 23px;
  color: var(--brand-700);
  background: var(--brand-100);
  border-radius: 50%;
  font-size: .66rem;
}

.assurance-item p {
  margin: 0;
  line-height: 1.35;
}

.assurance-item strong,
.assurance-item small {
  display: block;
}

.assurance-item strong {
  color: var(--ink-800);
  font-size: .78rem;
}

.assurance-item small {
  margin-top: 4px;
  color: var(--ink-500);
  font-size: .7rem;
}

.hero-product {
  position: relative;
  z-index: 2;
  width: min(100%, 720px);
  min-height: 580px;
  margin-left: auto;
  padding: 44px 0 40px 32px;
}

.product-aura {
  position: absolute;
  z-index: -2;
  inset: 5% 0 0 8%;
  background: radial-gradient(circle at center, rgba(18, 183, 106, .24), rgba(18, 183, 106, .05) 48%, transparent 69%);
  border-radius: 50%;
  filter: blur(8px);
}

.product-aura::before,
.product-aura::after {
  position: absolute;
  content: "";
  border: 1px solid rgba(18, 183, 106, .18);
  border-radius: 50%;
}

.product-aura::before {
  inset: 4%;
}

.product-aura::after {
  inset: 15%;
}

.product-window {
  position: relative;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(208, 213, 221, .82);
  border-radius: 21px;
  box-shadow: 0 34px 90px rgba(16, 24, 40, .18), 0 12px 30px rgba(8, 116, 67, .08);
  transform: perspective(1600px) rotateY(-2.5deg) rotateX(1.4deg);
  transform-origin: center;
}

.window-bar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  min-height: 43px;
  padding: 10px 14px;
  align-items: center;
  background: #f9fafb;
  border-bottom: 1px solid var(--line-soft);
}

.window-controls {
  display: flex;
  gap: 6px;
}

.window-controls span {
  width: 8px;
  height: 8px;
  background: #d0d5dd;
  border-radius: 50%;
}

.window-controls span:first-child { background: #ff6b6b; }
.window-controls span:nth-child(2) { background: #f7c948; }
.window-controls span:last-child { background: #37c99b; }

.window-address {
  width: min(100%, 220px);
  margin-inline: auto;
  padding: 5px 10px;
  overflow: hidden;
  color: var(--ink-500);
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: 7px;
  font-size: .56rem;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.window-address i {
  margin-right: 5px;
  color: var(--brand-600);
}

.window-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--brand-700);
  font-size: .55rem;
  font-weight: 800;
}

.window-status i {
  width: 6px;
  height: 6px;
  background: var(--brand-500);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(18, 183, 106, .12);
}

.product-dashboard {
  display: grid;
  grid-template-columns: 104px 1fr;
  min-height: 455px;
  background: #f8faf9;
}

.dash-sidebar {
  display: flex;
  padding: 15px 10px;
  flex-direction: column;
  gap: 5px;
  background: #fff;
  border-right: 1px solid var(--line-soft);
}

.dash-brand {
  display: grid;
  width: 29px;
  height: 29px;
  margin: 0 auto 10px;
  place-items: center;
  overflow: hidden;
}

.dash-brand img {
  width: 27px;
  height: 27px;
  object-fit: contain;
}

.dash-sidebar a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 9px;
  color: var(--ink-500);
  border-radius: 7px;
  font-size: .55rem;
  font-weight: 700;
}

.dash-sidebar a i {
  width: 13px;
  color: var(--ink-400);
  text-align: center;
}

.dash-sidebar a.active {
  color: #fff;
  background: linear-gradient(135deg, var(--brand-700), var(--brand-500));
  box-shadow: 0 7px 16px rgba(8, 116, 67, .18);
}

.dash-sidebar a.active i {
  color: #fff;
}

.dash-main {
  padding: 17px;
  overflow: hidden;
}

.dash-topbar {
  display: flex;
  margin-bottom: 15px;
  align-items: center;
  justify-content: space-between;
}

.dash-topbar small,
.dash-topbar strong {
  display: block;
}

.dash-topbar small {
  margin-bottom: 2px;
  color: var(--ink-500);
  font-size: .52rem;
}

.dash-topbar strong {
  color: var(--ink-900);
  font-family: "Manrope", sans-serif;
  font-size: .72rem;
}

.dash-top-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.dash-top-actions > span:first-child {
  position: relative;
  display: grid;
  width: 27px;
  height: 27px;
  place-items: center;
  color: var(--ink-500);
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  font-size: .65rem;
}

.dash-top-actions b {
  position: absolute;
  top: 5px;
  right: 6px;
  width: 4px;
  height: 4px;
  background: #f04438;
  border: 1px solid #fff;
  border-radius: 50%;
}

.avatar-circle {
  display: grid;
  width: 29px;
  height: 29px;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--brand-700), var(--brand-400));
  border-radius: 9px;
  font-size: .54rem;
  font-weight: 800;
}

.dash-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 10px;
}

.dash-metrics article {
  padding: 10px;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: 9px;
  box-shadow: var(--shadow-xs);
}

.dash-metrics span,
.dash-metrics strong,
.dash-metrics small {
  display: block;
}

.dash-metrics span {
  margin-bottom: 5px;
  color: var(--ink-500);
  font-size: .48rem;
}

.dash-metrics strong {
  color: var(--brand-700);
  font-family: "Manrope", sans-serif;
  font-size: 1.05rem;
  letter-spacing: -.04em;
}

.dash-metrics .text-blue {
  color: var(--blue);
}

.dash-metrics small {
  margin-top: 3px;
  color: var(--ink-400);
  font-size: .42rem;
}

.dash-metrics small i {
  color: var(--brand-500);
}

.dash-widgets {
  display: grid;
  grid-template-columns: 1.75fr 1fr;
  gap: 9px;
}

.dash-widgets article {
  min-width: 0;
  padding: 11px;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  box-shadow: var(--shadow-xs);
}

.widget-head {
  display: flex;
  margin-bottom: 8px;
  align-items: flex-start;
  justify-content: space-between;
}

.widget-head strong,
.widget-head small {
  display: block;
}

.widget-head strong {
  margin-bottom: 1px;
  font-size: .56rem;
}

.widget-head small {
  color: var(--ink-400);
  font-size: .43rem;
}

.widget-head button {
  padding: 4px 6px;
  color: var(--ink-500);
  background: var(--surface-soft);
  border: 1px solid var(--line-soft);
  border-radius: 5px;
  font-size: .42rem;
}

.more-dot {
  color: var(--ink-400);
  font-size: .55rem;
}

.chart-wrap {
  position: relative;
  height: 152px;
  padding-bottom: 18px;
}

.chart-grid {
  position: absolute;
  inset: 5px 0 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.chart-grid i {
  height: 1px;
  background: #edf2ef;
}

.chart-wrap svg {
  position: absolute;
  inset: 4px 0 21px;
  width: 100%;
  height: calc(100% - 25px);
  overflow: visible;
}

.chart-fill {
  fill: url(#heroChartFill);
}

.chart-stroke {
  fill: none;
  stroke: var(--brand-500);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.chart-points circle {
  fill: #fff;
  stroke: var(--brand-500);
  stroke-width: 3;
}

.chart-labels {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  justify-content: space-between;
  color: var(--ink-400);
  font-size: .36rem;
}

.payment-widget {
  display: flex;
  flex-direction: column;
}

.donut {
  position: relative;
  display: grid;
  width: 88px;
  height: 88px;
  margin: 7px auto 12px;
  place-items: center;
  background: conic-gradient(var(--brand-500) 0 72%, #f7c948 72% 90%, #e4e7ec 90% 100%);
  border-radius: 50%;
}

.donut::after {
  position: absolute;
  width: 62px;
  height: 62px;
  content: "";
  background: #fff;
  border-radius: 50%;
}

.donut > div {
  position: relative;
  z-index: 2;
  text-align: center;
}

.donut strong,
.donut small {
  display: block;
}

.donut strong {
  font-family: "Manrope", sans-serif;
  font-size: .84rem;
}

.donut small {
  color: var(--ink-400);
  font-size: .38rem;
}

.donut-legend {
  display: grid;
  gap: 4px;
}

.donut-legend span {
  display: grid;
  grid-template-columns: 6px 1fr auto;
  gap: 4px;
  align-items: center;
  color: var(--ink-500);
  font-size: .39rem;
}

.donut-legend i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
}

.donut-legend .paid { background: var(--brand-500); }
.donut-legend .pending { background: #f7c948; }
.donut-legend .unpaid { background: #d0d5dd; }
.donut-legend b { color: var(--ink-700); }

.floating-ui {
  position: absolute;
  z-index: 5;
  display: flex;
  min-width: 195px;
  padding: 12px 14px;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, .93);
  border: 1px solid rgba(228, 231, 236, .88);
  border-radius: 15px;
  box-shadow: 0 17px 36px rgba(16, 24, 40, .14);
  backdrop-filter: blur(14px);
}

.floating-ui small,
.floating-ui strong {
  display: block;
  white-space: nowrap;
}

.floating-ui small {
  margin-bottom: 1px;
  color: var(--ink-500);
  font-size: .58rem;
}

.floating-ui strong {
  color: var(--ink-800);
  font-size: .69rem;
}

.float-icon {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  flex: 0 0 36px;
  border-radius: 11px;
  font-size: .92rem;
}

.float-icon.green {
  color: var(--brand-700);
  background: var(--brand-100);
}

.float-icon.whatsapp {
  color: #fff;
  background: #25d366;
}

.float-icon.blue {
  color: var(--blue);
  background: var(--blue-soft);
}

.online-dot {
  width: 7px;
  height: 7px;
  margin-left: auto;
  background: var(--brand-500);
  border: 2px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(18, 183, 106, .12);
}

.float-attendance {
  top: 15px;
  right: -4px;
  animation: floatY 5.4s ease-in-out infinite;
}

.float-whatsapp {
  right: -28px;
  bottom: 62px;
  animation: floatY 6.2s ease-in-out infinite reverse;
}

.float-payment {
  bottom: 12px;
  left: -12px;
  animation: floatY 5.8s ease-in-out infinite .8s;
}

@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

.hero-value-bar {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: .8fr 2.2fr;
  gap: 28px;
  margin-top: clamp(55px, 7vw, 82px);
  padding: 20px 24px;
  align-items: center;
  background: rgba(255, 255, 255, .86);
  border: 1px solid rgba(228, 231, 236, .9);
  border-radius: 20px;
  box-shadow: 0 16px 44px rgba(16, 24, 40, .08);
  backdrop-filter: blur(14px);
}

.value-intro {
  padding-right: 25px;
  border-right: 1px solid var(--line);
}

.value-intro span,
.value-intro strong {
  display: block;
}

.value-intro span {
  margin-bottom: 3px;
  color: var(--brand-700);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.value-intro strong {
  font-family: "Manrope", sans-serif;
  font-size: .9rem;
}

.value-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.value-list article {
  display: flex;
  align-items: center;
  gap: 10px;
}

.value-list article > i {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  flex: 0 0 36px;
  color: var(--brand-700);
  background: var(--brand-50);
  border: 1px solid var(--brand-100);
  border-radius: 11px;
}

.value-list strong,
.value-list small {
  display: block;
}

.value-list strong {
  color: var(--ink-800);
  font-size: .72rem;
}

.value-list small {
  margin-top: 2px;
  color: var(--ink-500);
  font-size: .62rem;
}

/* ---------- Solution ---------- */

.solution-section {
  background: #fff;
}

.solution-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 44px;
}

.solution-stats article {
  padding: 18px 14px;
  background: var(--surface-soft);
  border: 1px solid var(--line-soft);
  border-radius: 16px;
}

.solution-stats strong,
.solution-stats span {
  display: block;
}

.solution-stats strong {
  margin-bottom: 4px;
  color: var(--brand-700);
  font-family: "Manrope", sans-serif;
  font-size: 1.7rem;
  letter-spacing: -.05em;
}

.solution-stats span {
  color: var(--ink-500);
  font-size: .68rem;
  line-height: 1.35;
}

.transformation-panel {
  position: relative;
  padding: 24px;
  background: linear-gradient(180deg, #fbfdfc, #f4f9f6);
  border: 1px solid #dae8df;
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 68px rgba(16, 24, 40, .1);
}

.transformation-panel::before {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background: radial-gradient(circle at 84% 5%, rgba(18, 183, 106, .13), transparent 30%);
  border-radius: inherit;
}

.panel-head {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 55px 1fr;
  margin-bottom: 16px;
  align-items: center;
  color: var(--ink-500);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.panel-head > div {
  display: flex;
  align-items: center;
  gap: 8px;
}

.panel-head > div:last-child {
  color: var(--brand-700);
}

.before-dot,
.after-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.before-dot { background: #98a2b3; }
.after-dot { background: var(--brand-500); box-shadow: 0 0 0 5px rgba(18, 183, 106, .12); }

.panel-arrow {
  justify-content: center !important;
  color: var(--ink-400);
}

.transformation-row {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 34px 1fr;
  gap: 8px;
  margin-bottom: 9px;
  align-items: center;
}

.state-card {
  display: flex;
  min-height: 79px;
  padding: 14px;
  align-items: center;
  gap: 12px;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: 14px;
}

.state-card > span {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  flex: 0 0 32px;
  border-radius: 10px;
  font-size: .62rem;
  font-weight: 800;
}

.state-before > span {
  color: var(--ink-500);
  background: #f2f4f7;
}

.state-after {
  border-color: var(--brand-100);
  box-shadow: 0 5px 16px rgba(8, 116, 67, .05);
}

.state-after > span {
  color: var(--brand-700);
  background: var(--brand-100);
}

.state-card strong,
.state-card small {
  display: block;
}

.state-card strong {
  margin-bottom: 3px;
  color: var(--ink-800);
  font-size: .76rem;
}

.state-card small {
  color: var(--ink-500);
  font-size: .61rem;
  line-height: 1.4;
}

.row-arrow {
  color: var(--ink-400);
  font-size: .75rem;
  text-align: center;
}

.panel-result {
  position: relative;
  display: flex;
  margin-top: 16px;
  padding: 17px;
  align-items: center;
  gap: 13px;
  color: #fff;
  background: linear-gradient(135deg, var(--brand-850), var(--brand-600));
  border-radius: 15px;
  box-shadow: 0 12px 30px rgba(8, 116, 67, .2);
}

.panel-result > span {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  flex: 0 0 38px;
  background: rgba(255, 255, 255, .13);
  border: 1px solid rgba(255, 255, 255, .17);
  border-radius: 11px;
}

.panel-result strong,
.panel-result small {
  display: block;
}

.panel-result strong {
  margin-bottom: 2px;
  font-size: .78rem;
}

.panel-result small {
  color: rgba(255, 255, 255, .72);
  font-size: .64rem;
}

/* ---------- Features ---------- */

.features-section {
  overflow: hidden;
  background: var(--surface-soft);
}

.features-section::before {
  position: absolute;
  top: 8%;
  right: -200px;
  width: 480px;
  height: 480px;
  content: "";
  background: radial-gradient(circle, rgba(18, 183, 106, .09), transparent 68%);
  border-radius: 50%;
}

.bento-card {
  position: relative;
  height: 100%;
  min-height: 340px;
  padding: clamp(24px, 3vw, 36px);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  box-shadow: 0 9px 28px rgba(16, 24, 40, .055);
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}

.bento-card:hover {
  z-index: 2;
  border-color: #d5e8de;
  box-shadow: 0 22px 48px rgba(16, 24, 40, .11);
  transform: translateY(-6px);
}

.bento-card h3 {
  margin-bottom: 12px;
  font-size: clamp(1.3rem, 2vw, 2rem);
}

.bento-card p {
  margin-bottom: 0;
  color: var(--ink-600);
  font-size: .94rem;
}

.mini-label {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 8px 11px;
  color: var(--brand-700);
  background: var(--brand-50);
  border: 1px solid var(--brand-100);
  border-radius: var(--radius-pill);
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.mini-label.light {
  color: var(--brand-100);
  background: rgba(255, 255, 255, .1);
  border-color: rgba(255, 255, 255, .15);
}

.bento-analytics {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 26px;
  min-height: 405px;
  align-items: center;
  background: linear-gradient(145deg, #fff, #f2fbf6);
}

.analytics-card {
  padding: 20px;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: 19px;
  box-shadow: 0 18px 42px rgba(16, 24, 40, .1);
  transform: rotate(1.2deg);
}

.analytics-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.analytics-top small,
.analytics-top strong {
  display: block;
}

.analytics-top small {
  margin-bottom: 4px;
  color: var(--ink-500);
  font-size: .66rem;
}

.analytics-top strong {
  font-family: "Manrope", sans-serif;
  font-size: 2.15rem;
  letter-spacing: -.06em;
}

.analytics-top > span {
  padding: 5px 8px;
  color: var(--brand-700);
  background: var(--brand-50);
  border-radius: var(--radius-pill);
  font-size: .55rem;
  font-weight: 800;
}

.analytics-bars {
  display: grid;
  height: 150px;
  grid-template-columns: repeat(8, 1fr);
  gap: 8px;
  margin-top: 17px;
  align-items: end;
  border-bottom: 1px solid var(--line-soft);
}

.analytics-bars i {
  height: var(--height);
  background: linear-gradient(180deg, var(--brand-400), var(--brand-700));
  border-radius: 7px 7px 2px 2px;
  box-shadow: 0 5px 12px rgba(18, 183, 106, .13);
}

.analytics-bars i:nth-child(2n) {
  background: linear-gradient(180deg, #84e1b2, var(--brand-500));
}

.analytics-months {
  display: flex;
  margin-top: 7px;
  justify-content: space-between;
  color: var(--ink-400);
  font-size: .46rem;
}

.feature-icon {
  display: grid;
  width: 52px;
  height: 52px;
  margin-bottom: 24px;
  place-items: center;
  border-radius: 16px;
  font-size: 1.15rem;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .55);
}

.feature-icon.green { color: var(--brand-700); background: var(--brand-100); }
.feature-icon.blue { color: var(--blue); background: var(--blue-soft); }
.feature-icon.whatsapp { color: #fff; background: #25d366; }
.feature-icon.gold { color: var(--gold); background: var(--gold-soft); }
.feature-icon.violet { color: var(--violet); background: var(--violet-soft); }

.bento-attendance {
  min-height: 405px;
}

.attendance-list {
  display: grid;
  gap: 8px;
  margin-top: 26px;
}

.attendance-list > div {
  display: grid;
  grid-template-columns: 36px 1fr 22px;
  gap: 9px;
  padding: 9px 10px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  box-shadow: var(--shadow-xs);
}

.student-avatar {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 11px;
  font-size: .62rem;
  font-weight: 800;
}

.avatar-green { color: var(--brand-700); background: var(--brand-100); }
.avatar-blue { color: var(--blue); background: var(--blue-soft); }
.avatar-gold { color: var(--gold); background: var(--gold-soft); }

.attendance-list p {
  margin: 0;
  line-height: 1.3;
}

.attendance-list strong,
.attendance-list small {
  display: block;
}

.attendance-list strong {
  color: var(--ink-800);
  font-size: .68rem;
}

.attendance-list small {
  margin-top: 3px;
  color: var(--ink-500);
  font-size: .56rem;
}

.attendance-list > div > i {
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  color: var(--brand-700);
  background: var(--brand-100);
  border-radius: 50%;
  font-size: .52rem;
}

.bento-payment,
.bento-chat,
.bento-report {
  min-height: 390px;
}

.payment-receipt {
  position: absolute;
  right: 27px;
  bottom: 27px;
  left: 27px;
  padding: 18px;
  background: linear-gradient(145deg, #fff, #f7fbff);
  border: 1px solid #dbeafe;
  border-radius: 16px;
  box-shadow: 0 14px 30px rgba(23, 92, 211, .08);
}

.payment-receipt small,
.payment-receipt strong,
.payment-receipt span {
  display: block;
}

.payment-receipt small {
  color: var(--ink-500);
  font-size: .65rem;
}

.payment-receipt strong {
  margin: 3px 0 11px;
  font-family: "Manrope", sans-serif;
  font-size: 1.55rem;
  letter-spacing: -.05em;
}

.payment-receipt span {
  padding: 8px 10px;
  color: var(--brand-700);
  background: var(--brand-50);
  border-radius: 9px;
  font-size: .62rem;
  font-weight: 800;
}

.payment-receipt span i {
  margin-right: 6px;
}

.chat-box {
  position: absolute;
  right: 24px;
  bottom: 24px;
  left: 24px;
  padding: 14px;
  background: #f0f2f5;
  border: 1px solid var(--line);
  border-radius: 17px;
}

.chat-meta {
  display: flex;
  margin-bottom: 11px;
  align-items: center;
  gap: 8px;
}

.chat-meta > span {
  display: grid;
  width: 31px;
  height: 31px;
  place-items: center;
  color: #fff;
  background: #25d366;
  border-radius: 50%;
}

.chat-meta p {
  margin: 0;
  line-height: 1.25;
}

.chat-meta strong,
.chat-meta small {
  display: block;
}

.chat-meta strong { color: var(--ink-800); font-size: .67rem; }
.chat-meta small { color: var(--brand-600); font-size: .53rem; }

.chat-bubble {
  width: 88%;
  margin-left: auto;
  padding: 10px 11px 7px;
  color: var(--ink-700);
  background: #dcf8c6;
  border-radius: 10px 2px 10px 10px;
  box-shadow: var(--shadow-xs);
  font-size: .62rem;
  line-height: 1.5;
}

.chat-bubble small {
  display: block;
  margin-top: 4px;
  color: var(--ink-400);
  font-size: .45rem;
  text-align: right;
}

.score-card {
  position: absolute;
  right: 26px;
  bottom: 26px;
  left: 26px;
  padding: 18px;
  background: linear-gradient(145deg, #fffdf8, #fff8e6);
  border: 1px solid #f7e8b6;
  border-radius: 16px;
}

.score-card > small {
  color: var(--ink-500);
  font-size: .64rem;
}

.score-card > div:nth-child(2) {
  display: flex;
  margin-top: 6px;
  align-items: center;
  justify-content: space-between;
}

.score-card strong {
  font-family: "Manrope", sans-serif;
  font-size: 2rem;
  letter-spacing: -.06em;
}

.score-card span {
  padding: 5px 8px;
  color: var(--brand-700);
  background: var(--brand-50);
  border-radius: var(--radius-pill);
  font-size: .58rem;
  font-weight: 800;
}

.score-progress {
  height: 7px;
  margin-top: 14px;
  overflow: hidden;
  background: rgba(183, 118, 0, .12);
  border-radius: var(--radius-pill);
}

.score-progress i {
  display: block;
  width: 88.6%;
  height: 100%;
  background: linear-gradient(90deg, #f0b429, var(--gold));
  border-radius: inherit;
}

.bento-admin {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  min-height: 350px;
  align-items: center;
  color: #fff;
  background: linear-gradient(145deg, var(--brand-950), var(--brand-700));
  border-color: transparent;
}

.bento-admin h3 {
  color: #fff;
}

.bento-admin p {
  color: rgba(255, 255, 255, .68);
}

.file-stack {
  position: relative;
  min-height: 235px;
}

.file-item {
  position: absolute;
  right: 0;
  left: 0;
  display: flex;
  padding: 15px;
  align-items: center;
  gap: 10px;
  color: var(--ink-800);
  background: rgba(255, 255, 255, .96);
  border: 1px solid rgba(255, 255, 255, .8);
  border-radius: 14px;
  box-shadow: 0 16px 30px rgba(0, 0, 0, .18);
  font-size: .66rem;
  font-weight: 700;
}

.file-item > i {
  font-size: 1rem;
}

.file-back {
  top: 10px;
  right: 30px;
  left: 5px;
  opacity: .72;
  transform: rotate(-6deg);
}

.file-back > i { color: #217346; }

.file-middle {
  top: 82px;
  right: 6px;
  left: 28px;
  opacity: .86;
  transform: rotate(5deg);
}

.file-middle > i { color: #e5484d; }

.file-front {
  top: 150px;
  right: 16px;
  left: 10px;
}

.file-front > i { color: #2b579a; }

.file-front b {
  display: grid;
  width: 22px;
  height: 22px;
  margin-left: auto;
  place-items: center;
  color: var(--brand-700);
  background: var(--brand-100);
  border-radius: 50%;
  font-size: .5rem;
}

.bento-calendar {
  min-height: 350px;
}

.calendar-mini {
  position: absolute;
  right: 25px;
  bottom: 24px;
  left: 25px;
  padding: 15px;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: 15px;
  box-shadow: 0 14px 34px rgba(16, 24, 40, .08);
}

.calendar-head {
  display: flex;
  margin-bottom: 11px;
  align-items: center;
  justify-content: space-between;
  color: var(--ink-800);
  font-size: .65rem;
  font-weight: 800;
}

.calendar-head div {
  display: flex;
  gap: 5px;
}

.calendar-head i {
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  color: var(--ink-500);
  background: var(--surface-soft);
  border-radius: 6px;
  font-size: .48rem;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 5px;
  text-align: center;
}

.calendar-grid small {
  color: var(--ink-400);
  font-size: .45rem;
  font-weight: 700;
}

.calendar-grid b,
.calendar-grid i {
  display: grid;
  aspect-ratio: 1;
  place-items: center;
  color: var(--ink-600);
  border-radius: 7px;
  font-size: .5rem;
  font-style: normal;
}

.calendar-grid b.active {
  color: #fff;
  background: var(--brand-600);
  box-shadow: 0 5px 12px rgba(8, 116, 67, .2);
}

.feature-marquee {
  display: flex;
  margin-top: 28px;
  padding: 16px 20px;
  overflow-x: auto;
  align-items: center;
  gap: 12px;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: 17px;
  box-shadow: var(--shadow-xs);
  scrollbar-width: none;
}

.feature-marquee::-webkit-scrollbar { display: none; }

.feature-marquee span {
  display: inline-flex;
  padding: 8px 12px;
  align-items: center;
  gap: 7px;
  flex: 0 0 auto;
  color: var(--ink-700);
  background: var(--surface-soft);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-pill);
  font-size: .68rem;
  font-weight: 700;
}

.feature-marquee i {
  color: var(--brand-600);
}

/* ---------- Ecosystem ---------- */

.ecosystem-section {
  background: #fff;
}

.ecosystem-shell {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: 0 24px 70px rgba(16, 24, 40, .1);
}

.role-navigation {
  padding: 22px;
  background: linear-gradient(180deg, #f7faf8, #f0f7f3);
  border-right: 1px solid var(--line-soft);
}

.role-tabs {
  display: grid;
  gap: 9px;
}

.role-tab {
  display: grid;
  width: 100%;
  grid-template-columns: 44px 1fr 20px;
  gap: 12px;
  padding: 13px;
  align-items: center;
  color: var(--ink-600);
  background: transparent;
  border: 1px solid transparent;
  border-radius: 15px;
  text-align: left;
  transition: background-color .2s ease, border-color .2s ease, box-shadow .2s ease, color .2s ease, transform .2s ease;
}

.role-tab:hover {
  color: var(--ink-900);
  background: rgba(255, 255, 255, .72);
  transform: translateX(3px);
}

.role-tab.active {
  color: var(--ink-900);
  background: #fff;
  border-color: #dbe8e0;
  box-shadow: 0 9px 22px rgba(16, 24, 40, .07);
}

.role-tab-icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 13px;
  font-size: .95rem;
}

.role-tab-icon.blue { color: var(--blue); background: var(--blue-soft); }
.role-tab-icon.green { color: var(--brand-700); background: var(--brand-100); }
.role-tab-icon.violet { color: var(--violet); background: var(--violet-soft); }
.role-tab-icon.orange { color: var(--orange); background: var(--orange-soft); }
.role-tab-icon.gold { color: var(--gold); background: var(--gold-soft); }

.role-tab strong,
.role-tab small {
  display: block;
}

.role-tab strong {
  color: inherit;
  font-family: "Manrope", sans-serif;
  font-size: .78rem;
}

.role-tab small {
  margin-top: 3px;
  color: var(--ink-500);
  font-size: .6rem;
}

.role-tab > i:last-child {
  color: var(--ink-400);
  font-size: .7rem;
  transition: transform .2s ease, color .2s ease;
}

.role-tab.active > i:last-child {
  color: var(--brand-600);
  transform: translateX(2px);
}

.role-content-wrap {
  min-height: 570px;
}

.role-content-wrap .tab-content,
.role-content-wrap .tab-pane {
  height: 100%;
}

.role-content-grid {
  display: grid;
  min-height: 570px;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 4vw, 55px);
  padding: clamp(34px, 5vw, 62px);
  align-items: center;
}

.role-copy h3 {
  margin-bottom: 18px;
  font-size: clamp(1.8rem, 3vw, 3rem);
}

.role-copy > p {
  color: var(--ink-600);
  font-size: .98rem;
}

.role-copy ul {
  display: grid;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.role-copy li {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--ink-700);
  font-size: .78rem;
  font-weight: 700;
}

.role-copy li i {
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  color: var(--brand-700);
  background: var(--brand-100);
  border-radius: 50%;
  font-size: .5rem;
}

.role-preview {
  min-height: 400px;
  padding: 22px;
  background: linear-gradient(145deg, #f8fbf9, #eef7f2);
  border: 1px solid #dceae1;
  border-radius: 26px;
  box-shadow: 0 18px 48px rgba(16, 24, 40, .09);
}

.role-preview-head {
  display: flex;
  margin-bottom: 18px;
  align-items: center;
  justify-content: space-between;
}

.role-preview-head small,
.role-preview-head strong {
  display: block;
}

.role-preview-head small {
  margin-bottom: 3px;
  color: var(--ink-500);
  font-size: .62rem;
}

.role-preview-head strong {
  font-size: .86rem;
}

.role-preview-head > span {
  padding: 7px 9px;
  color: var(--ink-500);
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: 9px;
  font-size: .52rem;
}

.role-kpi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.role-kpi-grid > div {
  padding: 12px;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: 12px;
}

.role-kpi-grid small,
.role-kpi-grid strong,
.role-kpi-grid span {
  display: block;
}

.role-kpi-grid small { color: var(--ink-500); font-size: .49rem; }
.role-kpi-grid strong { margin: 4px 0 2px; color: var(--brand-700); font-family: "Manrope", sans-serif; font-size: 1.22rem; }
.role-kpi-grid span { color: var(--brand-600); font-size: .46rem; font-weight: 800; }

.role-graph {
  margin-top: 12px;
  padding: 15px;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: 14px;
}

.graph-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.graph-head strong { font-size: .64rem; }
.graph-head small { color: var(--ink-500); font-size: .48rem; }

.graph-columns {
  display: grid;
  height: 190px;
  grid-template-columns: repeat(8, 1fr);
  gap: 7px;
  margin-top: 16px;
  align-items: end;
  border-bottom: 1px solid var(--line-soft);
}

.graph-columns i {
  height: var(--h);
  background: linear-gradient(180deg, var(--brand-300), var(--brand-700));
  border-radius: 6px 6px 2px 2px;
}

.teacher-preview {
  display: grid;
  align-content: center;
  gap: 12px;
}

.teacher-card,
.teacher-task,
.teacher-stats {
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: 15px;
  box-shadow: var(--shadow-xs);
}

.teacher-card {
  display: flex;
  padding: 15px;
  align-items: center;
  gap: 13px;
}

.teacher-date {
  display: grid;
  width: 54px;
  height: 58px;
  place-items: center;
  align-content: center;
  color: #fff;
  background: linear-gradient(145deg, var(--brand-700), var(--brand-500));
  border-radius: 13px;
}

.teacher-date strong { font-size: 1.2rem; line-height: 1; }
.teacher-date small { margin-top: 2px; font-size: .47rem; }
.teacher-card > div:last-child small,
.teacher-card > div:last-child strong,
.teacher-card > div:last-child span { display: block; }
.teacher-card > div:last-child > small { color: var(--ink-500); font-size: .54rem; }
.teacher-card > div:last-child strong { margin: 3px 0; font-size: .72rem; }
.teacher-card > div:last-child span { color: var(--brand-600); font-size: .5rem; }
.teacher-card > div:last-child span i { font-size: .35rem; }

.teacher-task {
  display: flex;
  padding: 15px;
  align-items: center;
  justify-content: space-between;
}

.teacher-task > div {
  display: flex;
  align-items: center;
  gap: 10px;
}

.teacher-task > div > span {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  color: var(--blue);
  background: var(--blue-soft);
  border-radius: 11px;
}

.teacher-task p { margin: 0; line-height: 1.3; }
.teacher-task strong,
.teacher-task small { display: block; }
.teacher-task strong { font-size: .64rem; }
.teacher-task small { margin-top: 3px; color: var(--ink-500); font-size: .52rem; }
.teacher-task button { padding: 7px 11px; color: #fff; background: var(--brand-600); border: 0; border-radius: 8px; font-size: .54rem; font-weight: 800; }

.teacher-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 14px;
  text-align: center;
}

.teacher-stats > div + div { border-left: 1px solid var(--line-soft); }
.teacher-stats span,
.teacher-stats strong { display: block; }
.teacher-stats span { color: var(--ink-500); font-size: .5rem; }
.teacher-stats strong { margin-top: 3px; color: var(--brand-700); font-family: "Manrope", sans-serif; font-size: 1.2rem; }

.parent-preview {
  display: grid;
  align-content: center;
  gap: 12px;
}

.parent-profile,
.parent-notice,
.parent-cards > div {
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: 15px;
  box-shadow: var(--shadow-xs);
}

.parent-profile {
  display: grid;
  grid-template-columns: 48px 1fr 20px;
  gap: 11px;
  padding: 15px;
  align-items: center;
}

.parent-avatar {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  color: #fff;
  background: linear-gradient(145deg, var(--violet), #9e77ed);
  border-radius: 15px;
  font-size: .72rem;
  font-weight: 800;
}

.parent-profile small,
.parent-profile strong,
.parent-profile span { display: block; }
.parent-profile small { color: var(--ink-500); font-size: .49rem; }
.parent-profile strong { margin: 2px 0; font-size: .7rem; }
.parent-profile div span { color: var(--ink-500); font-size: .5rem; }
.parent-profile > i { color: var(--ink-400); }

.parent-notice {
  display: grid;
  grid-template-columns: 39px 1fr 20px;
  gap: 10px;
  padding: 14px;
  align-items: center;
}

.parent-notice > span {
  display: grid;
  width: 39px;
  height: 39px;
  place-items: center;
  color: var(--brand-700);
  background: var(--brand-100);
  border-radius: 12px;
}

.parent-notice p { margin: 0; line-height: 1.3; }
.parent-notice strong,
.parent-notice small { display: block; }
.parent-notice strong { font-size: .65rem; }
.parent-notice small { margin-top: 3px; color: var(--ink-500); font-size: .5rem; }
.parent-notice > i { color: var(--brand-500); }

.parent-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.parent-cards > div {
  padding: 16px;
}

.parent-cards i { color: var(--violet); }
.parent-cards span,
.parent-cards strong { display: block; }
.parent-cards span { margin-top: 12px; color: var(--ink-500); font-size: .52rem; }
.parent-cards strong { margin-top: 3px; font-size: 1rem; }

.student-preview {
  display: grid;
  align-content: center;
  gap: 12px;
}

.student-greeting,
.student-agenda,
.student-menu {
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: 15px;
  box-shadow: var(--shadow-xs);
}

.student-greeting {
  display: flex;
  padding: 15px;
  align-items: center;
  justify-content: space-between;
}

.student-greeting small,
.student-greeting strong { display: block; }
.student-greeting small { color: var(--ink-500); font-size: .54rem; }
.student-greeting strong { margin-top: 2px; font-size: .8rem; }
.student-greeting > span { display: grid; width: 36px; height: 36px; place-items: center; color: var(--ink-600); background: var(--surface-soft); border-radius: 11px; }

.student-agenda {
  padding: 17px;
}

.student-agenda small,
.student-agenda strong,
.student-agenda span { display: block; }
.student-agenda small { color: var(--ink-500); font-size: .5rem; }
.student-agenda strong { margin: 6px 0 2px; font-size: .86rem; }
.student-agenda span { color: var(--ink-500); font-size: .55rem; }
.agenda-progress { height: 6px; margin-top: 16px; overflow: hidden; background: var(--surface-muted); border-radius: var(--radius-pill); }
.agenda-progress i { display: block; width: 62%; height: 100%; background: linear-gradient(90deg, var(--orange), #f79009); border-radius: inherit; }

.student-menu {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 12px;
  gap: 7px;
}

.student-menu > div {
  display: grid;
  padding: 11px 4px;
  place-items: center;
  gap: 7px;
  color: var(--ink-600);
  background: var(--surface-soft);
  border-radius: 10px;
  font-size: .49rem;
  font-weight: 700;
}

.student-menu i { color: var(--orange); font-size: .9rem; }

.ops-preview {
  display: grid;
  align-content: center;
  gap: 12px;
}

.ops-title {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.ops-title small,
.ops-title strong { display: block; }
.ops-title small { color: var(--ink-500); font-size: .55rem; }
.ops-title strong { margin-top: 2px; font-size: .78rem; }
.ops-title > span { padding: 5px 8px; color: var(--brand-700); background: var(--brand-100); border-radius: var(--radius-pill); font-size: .5rem; font-weight: 800; }

.ops-list {
  display: grid;
  gap: 8px;
}

.ops-list > div {
  display: grid;
  grid-template-columns: 38px 1fr 20px;
  gap: 9px;
  padding: 10px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  box-shadow: var(--shadow-xs);
}

.ops-icon {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 11px;
}

.ops-icon.purple { color: var(--violet); background: var(--violet-soft); }
.ops-icon.gold { color: var(--gold); background: var(--gold-soft); }
.ops-icon.pink { color: var(--pink); background: var(--pink-soft); }
.ops-icon.gray { color: var(--ink-600); background: #f2f4f7; }

.ops-list p { margin: 0; line-height: 1.3; }
.ops-list strong,
.ops-list small { display: block; }
.ops-list strong { font-size: .61rem; }
.ops-list small { margin-top: 3px; color: var(--ink-500); font-size: .48rem; }
.ops-list > div > i { color: var(--ink-400); font-size: .65rem; }

/* ---------- Flow ---------- */

.flow-section {
  overflow: hidden;
  color: #fff;
  background: linear-gradient(150deg, var(--brand-950) 0%, #073d2c 45%, #08613f 100%);
}

.flow-bg {
  position: absolute;
  inset: 0;
  opacity: .26;
  background-image:
    radial-gradient(circle at 18% 20%, rgba(108, 233, 166, .5) 0 1px, transparent 2px),
    radial-gradient(circle at 76% 44%, rgba(108, 233, 166, .4) 0 1px, transparent 2px),
    linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
  background-size: 120px 120px, 160px 160px, 74px 74px, 74px 74px;
}

.light-heading h2 {
  color: #fff;
}

.light-heading > p {
  color: rgba(255, 255, 255, .67);
}

.dark-kicker {
  color: var(--brand-200);
  background: rgba(255, 255, 255, .07);
  border-color: rgba(255, 255, 255, .13);
}

.flow-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.flow-track::before {
  position: absolute;
  z-index: 0;
  top: 48px;
  right: 10%;
  left: 10%;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(166, 244, 197, .45), transparent);
}

.flow-card {
  position: relative;
  z-index: 1;
  min-height: 215px;
  padding: 20px;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .11);
  border-radius: 20px;
  backdrop-filter: blur(10px);
  transition: transform .25s ease, background-color .25s ease, border-color .25s ease;
}

.flow-card:hover {
  background: rgba(255, 255, 255, .11);
  border-color: rgba(166, 244, 197, .35);
  transform: translateY(-6px);
}

.flow-no {
  position: absolute;
  top: 17px;
  right: 18px;
  color: rgba(255, 255, 255, .27);
  font-family: "Manrope", sans-serif;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .08em;
}

.flow-icon {
  display: grid;
  width: 54px;
  height: 54px;
  margin-bottom: 22px;
  place-items: center;
  color: var(--brand-200);
  background: rgba(166, 244, 197, .1);
  border: 1px solid rgba(166, 244, 197, .22);
  border-radius: 16px;
  font-size: 1.2rem;
}

.flow-card h3 {
  margin-bottom: 9px;
  color: #fff;
  font-size: 1.05rem;
  letter-spacing: -.035em;
}

.flow-card p {
  color: rgba(255, 255, 255, .58);
  font-size: .76rem;
  line-height: 1.6;
}

.flow-summary {
  display: flex;
  margin-top: 26px;
  padding: 20px 24px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: rgba(255, 255, 255, .09);
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 20px;
  backdrop-filter: blur(12px);
}

.flow-summary > div:first-child {
  display: flex;
  align-items: center;
  gap: 13px;
}

.flow-summary > div:first-child > i {
  color: var(--brand-300);
  font-size: 1.7rem;
}

.flow-summary p {
  margin: 0;
  color: rgba(255, 255, 255, .75);
  font-size: .88rem;
}

.flow-summary strong {
  color: #fff;
}

.flow-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.flow-benefits span {
  display: inline-flex;
  padding: 8px 10px;
  align-items: center;
  gap: 6px;
  color: var(--brand-100);
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--radius-pill);
  font-size: .62rem;
  font-weight: 700;
}

/* ---------- Packages ---------- */

.package-section {
  background: #fff;
}

.package-card {
  position: relative;
  display: flex;
  height: 100%;
  min-height: 615px;
  padding: 25px;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 8px 28px rgba(16, 24, 40, .055);
  transition: transform .26s ease, box-shadow .26s ease, border-color .26s ease;
}

.package-card:hover {
  box-shadow: 0 24px 52px rgba(16, 24, 40, .12);
  transform: translateY(-7px);
}

.package-header {
  text-align: center;
}

.package-icon {
  display: grid;
  width: 62px;
  height: 62px;
  margin: 0 auto 18px;
  place-items: center;
  border-radius: 20px;
  font-size: 1.45rem;
}

.package-header small {
  display: block;
  margin-bottom: 6px;
  color: var(--ink-500);
  font-size: .64rem;
  font-weight: 800;
  letter-spacing: .055em;
  text-transform: uppercase;
}

.package-header h3 {
  margin-bottom: 9px;
  font-size: 1.45rem;
}

.package-header p {
  min-height: 67px;
  color: var(--ink-600);
  font-size: .76rem;
  line-height: 1.55;
}

.package-divider {
  height: 1px;
  margin: 18px 0;
  background: var(--line-soft);
}

.package-card ul {
  display: grid;
  gap: 11px;
  margin: 0 0 25px;
  padding: 0;
  list-style: none;
}

.package-card li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: var(--ink-700);
  font-size: .7rem;
  line-height: 1.45;
}

.package-card li i {
  margin-top: 3px;
  flex: 0 0 auto;
  font-size: .67rem;
}

.package-card li.included {
  padding: 9px 10px;
  background: var(--surface-soft);
  border: 1px solid var(--line-soft);
  border-radius: 9px;
  font-weight: 800;
}

.package-cta {
  display: flex;
  min-height: 46px;
  margin-top: auto;
  padding: 12px 14px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid currentColor;
  border-radius: 12px;
  font-size: .73rem;
  font-weight: 800;
  transition: background-color .2s ease, color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.package-cta:hover {
  transform: translateY(-2px);
}

.package-card.basic { border-top: 4px solid var(--brand-600); }
.package-card.basic .package-icon { color: var(--brand-700); background: var(--brand-100); }
.package-card.basic li i,
.package-card.basic .package-cta { color: var(--brand-700); }
.package-card.basic .package-cta:hover { color: #fff; background: var(--brand-700); box-shadow: 0 10px 24px rgba(8, 116, 67, .18); }

.package-card.super { border-top: 4px solid var(--blue); }
.package-card.super .package-icon { color: var(--blue); background: var(--blue-soft); }
.package-card.super li i,
.package-card.super .package-cta { color: var(--blue); }
.package-card.super .package-cta:hover { color: #fff; background: var(--blue); box-shadow: 0 10px 24px rgba(23, 92, 211, .18); }

.package-card.premium {
  border: 1px solid #eed899;
  border-top: 4px solid var(--gold);
  box-shadow: 0 20px 46px rgba(183, 118, 0, .12);
  transform: translateY(-12px);
}

.package-card.premium:hover {
  transform: translateY(-18px);
}

.package-card.premium .package-icon { color: var(--gold); background: var(--gold-soft); }
.package-card.premium li i,
.package-card.premium .package-cta { color: var(--gold); }
.package-card.premium .package-cta:hover { color: #fff; background: var(--gold); box-shadow: 0 10px 24px rgba(183, 118, 0, .18); }

.recommended {
  position: absolute;
  top: -16px;
  left: 50%;
  display: inline-flex;
  padding: 7px 12px;
  align-items: center;
  gap: 6px;
  color: #fff;
  background: linear-gradient(135deg, #d99b11, var(--gold));
  border-radius: var(--radius-pill);
  box-shadow: 0 8px 18px rgba(183, 118, 0, .22);
  font-size: .57rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  transform: translateX(-50%);
  white-space: nowrap;
}

.package-card.exclusive { border-top: 4px solid var(--violet); }
.package-card.exclusive .package-icon { color: var(--violet); background: var(--violet-soft); }
.package-card.exclusive li i,
.package-card.exclusive .package-cta { color: var(--violet); }
.package-card.exclusive .package-cta:hover { color: #fff; background: var(--violet); box-shadow: 0 10px 24px rgba(105, 65, 198, .18); }

.package-help {
  display: grid;
  grid-template-columns: 50px 1fr auto;
  gap: 15px;
  margin-top: 38px;
  padding: 20px;
  align-items: center;
  background: linear-gradient(145deg, #f7faf8, #f0f8f3);
  border: 1px solid #dce9e1;
  border-radius: 19px;
}

.help-icon {
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  color: var(--brand-700);
  background: var(--brand-100);
  border-radius: 15px;
  font-size: 1.1rem;
}

.package-help strong {
  display: block;
  margin-bottom: 3px;
  font-size: .84rem;
}

.package-help p {
  color: var(--ink-600);
  font-size: .72rem;
}

/* ---------- Trust ---------- */

.trust-section {
  overflow: hidden;
  color: #fff;
  background: linear-gradient(145deg, #041f17, var(--brand-900) 52%, #075f3b);
}

.trust-mesh {
  position: absolute;
  inset: 0;
  opacity: .28;
  background-image:
    radial-gradient(circle at 15% 20%, rgba(108, 233, 166, .35), transparent 28%),
    radial-gradient(circle at 88% 65%, rgba(108, 233, 166, .2), transparent 30%),
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: auto, auto, 72px 72px, 72px 72px;
}

.security-visual {
  position: relative;
  width: min(100%, 510px);
  aspect-ratio: 1;
  margin-left: auto;
}

.security-ring {
  position: absolute;
  border: 1px solid rgba(166, 244, 197, .18);
  border-radius: 50%;
}

.ring-one { inset: 5%; }
.ring-two { inset: 18%; border-style: dashed; animation: spin 22s linear infinite; }
.ring-three { inset: 31%; border-color: rgba(166, 244, 197, .32); }

@keyframes spin { to { transform: rotate(360deg); } }

.security-core {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 162px;
  height: 162px;
  place-items: center;
  align-content: center;
  color: #fff;
  background: radial-gradient(circle at 35% 28%, #0d8b59, var(--brand-950));
  border: 1px solid rgba(166, 244, 197, .38);
  border-radius: 50%;
  box-shadow: 0 0 0 15px rgba(166, 244, 197, .055), 0 28px 55px rgba(0, 0, 0, .28);
  transform: translate(-50%, -50%);
}

.security-core > span {
  display: grid;
  width: 50px;
  height: 50px;
  margin-bottom: 9px;
  place-items: center;
  color: var(--brand-100);
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 16px;
  font-size: 1.3rem;
}

.security-core strong,
.security-core small {
  display: block;
  text-align: center;
}

.security-core strong {
  font-family: "Manrope", sans-serif;
  font-size: .88rem;
}

.security-core small {
  margin-top: 2px;
  color: rgba(255, 255, 255, .55);
  font-size: .48rem;
}

.security-node {
  position: absolute;
  display: inline-flex;
  padding: 9px 12px;
  align-items: center;
  gap: 7px;
  color: var(--brand-100);
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--radius-pill);
  box-shadow: 0 12px 24px rgba(0, 0, 0, .16);
  font-size: .62rem;
  font-weight: 800;
  backdrop-filter: blur(10px);
}

.node-cloud { top: 13%; left: 18%; }
.node-backup { top: 23%; right: 9%; }
.node-access { bottom: 20%; left: 8%; }
.node-realtime { right: 14%; bottom: 13%; }

.trust-features {
  margin-top: clamp(50px, 6vw, 78px);
}

.trust-card {
  height: 100%;
  padding: 23px;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .11);
  border-radius: 19px;
  backdrop-filter: blur(10px);
  transition: transform .22s ease, background-color .22s ease, border-color .22s ease;
}

.trust-card:hover {
  background: rgba(255, 255, 255, .1);
  border-color: rgba(166, 244, 197, .28);
  transform: translateY(-5px);
}

.trust-card > span {
  display: grid;
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  place-items: center;
  color: var(--brand-200);
  background: rgba(166, 244, 197, .09);
  border: 1px solid rgba(166, 244, 197, .16);
  border-radius: 14px;
}

.trust-card h3 {
  margin-bottom: 9px;
  color: #fff;
  font-size: 1.04rem;
}

.trust-card p {
  color: rgba(255, 255, 255, .58);
  font-size: .74rem;
  line-height: 1.65;
}

/* ---------- FAQ ---------- */

.faq-section {
  background: var(--surface-soft);
}

.faq-heading {
  position: sticky;
  top: calc(var(--header-height) + 35px);
}

.faq-accordion {
  display: grid;
  gap: 11px;
}

.faq-accordion .accordion-item {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: 15px !important;
  box-shadow: var(--shadow-xs);
}

.faq-accordion .accordion-button {
  padding: 19px 21px;
  color: var(--ink-900);
  background: #fff;
  border: 0;
  box-shadow: none;
  font-family: "Manrope", sans-serif;
  font-size: .92rem;
  font-weight: 800;
  letter-spacing: -.025em;
}

.faq-accordion .accordion-button:not(.collapsed) {
  color: var(--brand-800);
  background: #fff;
}

.faq-accordion .accordion-button::after {
  width: 29px;
  height: 29px;
  background-image: none;
  background-color: var(--surface-soft);
  border: 1px solid var(--line-soft);
  border-radius: 9px;
  content: "+";
  color: var(--ink-600);
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 1rem;
  font-weight: 600;
  line-height: 27px;
  text-align: center;
  transform: none;
}

.faq-accordion .accordion-button:not(.collapsed)::after {
  color: #fff;
  background: var(--brand-600);
  border-color: var(--brand-600);
  content: "−";
}

.faq-accordion .accordion-body {
  padding: 0 21px 21px;
  color: var(--ink-600);
  font-size: .82rem;
  line-height: 1.75;
}

/* ---------- CTA ---------- */

.cta-section {
  padding: clamp(70px, 8vw, 110px) 0;
  background: #fff;
}

.cta-card {
  position: relative;
  padding: clamp(36px, 5vw, 66px);
  overflow: hidden;
  color: #fff;
  background: linear-gradient(135deg, var(--brand-950), var(--brand-700) 60%, var(--brand-500));
  border-radius: clamp(26px, 4vw, 42px);
  box-shadow: 0 30px 80px rgba(8, 116, 67, .22);
}

.cta-pattern {
  position: absolute;
  inset: 0;
  opacity: .32;
  background-image:
    radial-gradient(circle at 82% 18%, rgba(166, 244, 197, .58), transparent 25%),
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: auto, 54px 54px, 54px 54px;
}

.cta-kicker {
  color: var(--brand-100);
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .14);
}

.cta-card h2 {
  max-width: 780px;
  margin-bottom: 18px;
  color: #fff;
  font-size: clamp(2.25rem, 4vw, 4.1rem);
}

.cta-card p {
  max-width: 760px;
  color: rgba(255, 255, 255, .68);
  font-size: 1rem;
}

.cta-buttons {
  display: grid;
  gap: 11px;
}

/* ---------- Footer ---------- */

.site-footer {
  padding-top: 72px;
  background: #07120e;
}

.footer-main {
  padding-bottom: 56px;
}

.footer-brand > a {
  display: inline-flex;
  line-height: 0;
}

.footer-brand img {
  width: min(220px, 100%);
  height: auto;
  object-fit: contain;
  object-position: left center;
  filter: drop-shadow(0 0 0 rgba(0,0,0,0));
}

.footer-brand p {
  max-width: 390px;
  margin-top: 23px;
  color: rgba(255, 255, 255, .53);
  font-size: .82rem;
  line-height: 1.75;
}

.footer-social {
  display: flex;
  gap: 9px;
  margin-top: 24px;
}

.footer-social a {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  color: rgba(255, 255, 255, .7);
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 12px;
  transition: color .2s ease, background-color .2s ease, border-color .2s ease, transform .2s ease;
}

.footer-social a:hover {
  color: #fff;
  background: var(--brand-700);
  border-color: var(--brand-600);
  transform: translateY(-3px);
}

.footer-column {
  display: grid;
  align-content: start;
  gap: 11px;
}

.footer-column h2 {
  margin-bottom: 8px;
  color: #fff;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.footer-column a,
.footer-column span {
  color: rgba(255, 255, 255, .5);
  font-size: .73rem;
  transition: color .2s ease, transform .2s ease;
}

.footer-column a:hover {
  color: var(--brand-300);
  transform: translateX(3px);
}

.footer-contact a {
  word-break: break-word;
}

.footer-bottom {
  display: flex;
  padding: 22px 0 28px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid rgba(255, 255, 255, .08);
}

.footer-bottom p,
.footer-bottom a {
  margin: 0;
  color: rgba(255, 255, 255, .38);
  font-size: .65rem;
}

.footer-bottom div {
  display: flex;
  gap: 18px;
}

.footer-bottom a:hover {
  color: rgba(255, 255, 255, .75);
}

/* ---------- Floating WhatsApp ---------- */

.floating-whatsapp {
  position: fixed;
  z-index: 1035;
  right: 20px;
  bottom: 20px;
  display: flex;
  padding: 8px 14px 8px 8px;
  align-items: center;
  gap: 9px;
  color: #fff;
  background: #159447;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: var(--radius-pill);
  box-shadow: 0 14px 34px rgba(21, 148, 71, .34);
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.floating-whatsapp:hover {
  color: #fff;
  background: #12833f;
  box-shadow: 0 18px 42px rgba(21, 148, 71, .42);
  transform: translateY(-4px);
}

.floating-whatsapp > span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  background: rgba(255, 255, 255, .14);
  border-radius: 50%;
  font-size: 1.3rem;
}

.floating-whatsapp p {
  margin: 0;
  line-height: 1.25;
}

.floating-whatsapp small,
.floating-whatsapp strong {
  display: block;
}

.floating-whatsapp small {
  margin-bottom: 2px;
  color: rgba(255, 255, 255, .68);
  font-size: .55rem;
}

.floating-whatsapp strong {
  font-size: .68rem;
}

/* ---------- Reveal Animations ---------- */

.reveal-up,
.reveal-scale {
  opacity: 0;
  transition: opacity .75s ease, transform .75s cubic-bezier(.2, .75, .25, 1);
}

.reveal-up {
  transform: translateY(28px);
}

.reveal-scale {
  transform: translateY(16px) scale(.975);
}

.reveal-up.is-visible,
.reveal-scale.is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- Responsive ---------- */

@media (max-width: 1199.98px) {
  .hero-product {
    min-height: 525px;
    padding-left: 15px;
  }

  .floating-ui {
    min-width: 174px;
    padding: 10px 12px;
  }

  .float-whatsapp {
    right: -5px;
  }

  .hero-value-bar {
    grid-template-columns: 1fr;
  }

  .value-intro {
    padding: 0 0 14px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .flow-track {
    grid-template-columns: repeat(2, 1fr);
  }

  .flow-track::before {
    display: none;
  }

  .package-card.premium,
  .package-card.premium:hover {
    transform: none;
  }
}

@media (max-width: 991.98px) {
  :root {
    --header-height: 76px;
  }

  .site-header {
    padding: 8px 0;
  }

  .site-header .navbar {
    min-height: 58px;
  }

  .navbar-brand img {
    width: 174px;
  }

  .navbar-collapse {
    margin-top: 10px;
    padding: 15px;
    background: rgba(255, 255, 255, .97);
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(15px);
  }

  .navbar-nav {
    gap: 0;
  }

  .navbar-nav .nav-link {
    padding: 10px 6px !important;
  }

  .navbar-nav .nav-link::after {
    right: auto;
    bottom: 6px;
    left: 6px;
    width: 28px;
  }

  .btn-nav {
    width: 100%;
    margin-top: 7px;
  }

  .hero-section {
    min-height: auto;
    padding-top: 132px;
  }

  .hero-copy {
    max-width: 720px;
  }

  .hero-copy h1 {
    max-width: 770px;
  }

  .hero-product {
    width: min(100%, 730px);
    margin-inline: auto;
  }

  .solution-stats {
    max-width: 570px;
  }

  .section-side-copy {
    margin-left: 0;
  }

  .bento-analytics,
  .bento-admin {
    grid-template-columns: 1fr 1fr;
  }

  .role-navigation {
    border-right: 0;
    border-bottom: 1px solid var(--line-soft);
  }

  .role-tabs {
    display: flex;
    padding-bottom: 3px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .role-tabs::-webkit-scrollbar { display: none; }

  .role-tab {
    min-width: 205px;
    flex: 0 0 auto;
  }

  .role-content-wrap,
  .role-content-grid {
    min-height: auto;
  }

  .role-content-grid {
    grid-template-columns: 1fr 1fr;
  }

  .security-visual {
    margin-inline: auto;
  }

  .faq-heading {
    position: static;
  }

  .cta-buttons {
    max-width: 420px;
  }

  .footer-brand p {
    max-width: 500px;
  }
}

@media (max-width: 767.98px) {
  .container {
    width: min(calc(100% - 28px), var(--container-max));
  }

  .section-heading h2 {
    font-size: clamp(2rem, 9vw, 3.2rem);
  }

  .hero-section {
    padding: 118px 0 58px;
  }

  .hero-copy h1 {
    font-size: clamp(2.65rem, 13vw, 4.3rem);
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-assurance {
    display: grid;
    gap: 14px;
  }

  .hero-product {
    min-height: 470px;
    padding: 32px 0 42px;
  }

  .product-window {
    border-radius: 17px;
    transform: none;
  }

  .window-address {
    display: none;
  }

  .window-bar {
    grid-template-columns: 1fr auto;
  }

  .product-dashboard {
    grid-template-columns: 76px 1fr;
    min-height: 400px;
  }

  .dash-sidebar {
    padding: 11px 7px;
  }

  .dash-sidebar a {
    padding: 8px 7px;
    justify-content: center;
  }

  .dash-sidebar a span {
    display: none;
  }

  .dash-main {
    padding: 12px;
  }

  .dash-metrics {
    grid-template-columns: repeat(2, 1fr);
  }

  .dash-widgets {
    grid-template-columns: 1fr;
  }

  .payment-widget {
    display: none !important;
  }

  .floating-ui {
    min-width: 160px;
  }

  .float-attendance {
    top: 4px;
    right: 6px;
  }

  .float-whatsapp {
    right: 0;
    bottom: 22px;
  }

  .float-payment {
    bottom: -7px;
    left: 4px;
  }

  .hero-value-bar {
    margin-top: 45px;
    padding: 18px;
  }

  .value-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .solution-stats {
    grid-template-columns: repeat(3, 1fr);
  }

  .transformation-panel {
    padding: 17px;
  }

  .panel-head {
    grid-template-columns: 1fr 30px 1fr;
    font-size: .58rem;
  }

  .transformation-row {
    grid-template-columns: 1fr;
    gap: 6px;
    margin-bottom: 14px;
  }

  .row-arrow {
    transform: rotate(90deg);
  }

  .state-card {
    min-height: 72px;
  }

  .bento-card {
    min-height: 350px;
  }

  .bento-analytics,
  .bento-admin {
    grid-template-columns: 1fr;
  }

  .bento-analytics {
    min-height: auto;
  }

  .analytics-card {
    margin-top: 10px;
    transform: none;
  }

  .bento-admin {
    min-height: 520px;
  }

  .file-stack {
    min-height: 240px;
  }

  .role-content-grid {
    grid-template-columns: 1fr;
    padding: 30px 22px;
  }

  .role-preview {
    min-height: 365px;
  }

  .flow-track {
    grid-template-columns: 1fr 1fr;
  }

  .flow-summary {
    align-items: flex-start;
    flex-direction: column;
  }

  .package-help {
    grid-template-columns: 48px 1fr;
  }

  .package-help .btn {
    grid-column: 1 / -1;
    width: 100%;
  }

  .security-visual {
    max-width: 430px;
  }

  .cta-card {
    padding: 34px 24px;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .floating-whatsapp p {
    display: none;
  }

  .floating-whatsapp {
    padding: 7px;
  }
}

@media (max-width: 575.98px) {
  .navbar-brand img {
    width: 151px;
  }

  .hero-badge {
    max-width: 100%;
    font-size: .65rem;
  }

  .badge-new {
    display: none;
  }

  .hero-product {
    min-height: 418px;
  }

  .product-dashboard {
    grid-template-columns: 56px 1fr;
    min-height: 345px;
  }

  .dash-brand {
    width: 24px;
    height: 24px;
  }

  .dash-brand img {
    width: 22px;
    height: 22px;
  }

  .dash-sidebar a {
    font-size: .48rem;
  }

  .dash-metrics article {
    padding: 8px;
  }

  .dash-metrics strong {
    font-size: .88rem;
  }

  .attendance-chart {
    padding: 9px !important;
  }

  .chart-wrap {
    height: 120px;
  }

  .floating-ui {
    min-width: 148px;
    padding: 8px 9px;
    border-radius: 12px;
  }

  .float-icon {
    width: 31px;
    height: 31px;
    flex-basis: 31px;
    font-size: .78rem;
  }

  .floating-ui small { font-size: .49rem; }
  .floating-ui strong { font-size: .58rem; }

  .float-attendance {
    right: -4px;
  }

  .float-whatsapp {
    display: none;
  }

  .float-payment {
    bottom: 2px;
    left: -4px;
  }

  .value-list {
    grid-template-columns: 1fr;
  }

  .solution-stats {
    grid-template-columns: 1fr;
  }

  .solution-stats article {
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .solution-stats strong {
    margin: 0;
    font-size: 1.4rem;
  }

  .panel-head {
    display: none;
  }

  .bento-card {
    padding: 24px;
  }

  .analytics-bars {
    height: 120px;
  }

  .bento-payment,
  .bento-chat,
  .bento-report {
    min-height: 375px;
  }

  .role-tab {
    min-width: 180px;
    grid-template-columns: 38px 1fr;
  }

  .role-tab-icon {
    width: 38px;
    height: 38px;
  }

  .role-tab > i:last-child {
    display: none;
  }

  .role-preview {
    min-height: 330px;
    padding: 16px;
  }

  .role-kpi-grid {
    grid-template-columns: 1fr 1fr;
  }

  .role-kpi-grid > div:last-child {
    grid-column: 1 / -1;
  }

  .graph-columns {
    height: 145px;
  }

  .flow-track {
    grid-template-columns: 1fr;
  }

  .flow-card {
    min-height: 190px;
  }

  .flow-benefits {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(2, 1fr);
  }

  .flow-benefits span {
    justify-content: center;
  }

  .package-card {
    min-height: auto;
  }

  .recommended {
    font-size: .5rem;
  }

  .package-help {
    padding: 17px;
  }

  .security-core {
    width: 132px;
    height: 132px;
  }

  .security-node {
    padding: 7px 9px;
    font-size: .52rem;
  }

  .node-cloud { top: 10%; left: 11%; }
  .node-backup { top: 19%; right: 2%; }
  .node-access { bottom: 16%; left: 2%; }
  .node-realtime { right: 7%; bottom: 9%; }

  .faq-accordion .accordion-button {
    padding: 17px;
    font-size: .82rem;
  }

  .faq-accordion .accordion-body {
    padding: 0 17px 18px;
  }

  .cta-buttons .btn {
    width: 100%;
  }

  .footer-bottom div {
    flex-wrap: wrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }

  .reveal-up,
  .reveal-scale {
    opacity: 1;
    transform: none;
  }
}
