:root {
  --brand: #4091dd;
  --brand-dark: #176bb3;
  --brand-soft: #eaf5ff;
  --brand-softer: #f5fbff;
  --navy: #0b1e36;
  --navy-2: #102a4a;
  --text: #172033;
  --muted: #64748b;
  --line: #dce8f5;
  --surface: #ffffff;
  --surface-2: #f7fbff;
  --shadow: 0 24px 70px rgba(11, 30, 54, .12);
  --shadow-soft: 0 16px 48px rgba(64, 145, 221, .14);
  --radius: 26px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background: #ffffff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, textarea { font: inherit; }
::selection { color: #fff; background: var(--brand); }

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 90;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--brand), #9fd0fb);
  box-shadow: 0 0 22px rgba(64,145,221,.45);
}
.site-shell { overflow: hidden; }
.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}
.section-pad { padding: 108px 0; }
.section-muted {
  background:
    radial-gradient(circle at 12% 0%, rgba(64,145,221,.08), transparent 30%),
    linear-gradient(180deg, var(--brand-softer), #fff);
  border-block: 1px solid rgba(220, 232, 245, .75);
}

.header {
  position: fixed;
  z-index: 80;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: min(calc(100% - 32px), 1220px);
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 0 18px 0 22px;
  background: rgba(255, 255, 255, .86);
  border: 1px solid rgba(220, 232, 245, .92);
  border-radius: 22px;
  box-shadow: 0 20px 60px rgba(11, 30, 54, .09);
  backdrop-filter: blur(18px);
  transition: top .25s ease, height .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.header.scrolled {
  top: 10px;
  height: 68px;
  border-color: rgba(64,145,221,.22);
  box-shadow: 0 18px 50px rgba(11, 30, 54, .13);
}
.brand { min-width: 132px; }
.brand img { width: 132px; height: auto; }
.nav {
  display: flex;
  align-items: center;
  gap: 26px;
  color: #3f516b;
  font-size: 14px;
  font-weight: 760;
}
.nav a { position: relative; padding: 8px 0; }
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 2px;
  width: 0;
  height: 2px;
  background: var(--brand);
  transition: width .25s ease;
}
.nav a:hover { color: var(--navy); }
.nav a:hover::after { width: 100%; }
.header-actions { display: flex; align-items: center; gap: 12px; }
.text-link { font-size: 14px; font-weight: 850; color: var(--brand-dark); }

.button {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 24px;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--brand), #1d73bf);
  box-shadow: 0 14px 34px rgba(64, 145, 221, .25);
  font-weight: 850;
  letter-spacing: -.01em;
  cursor: pointer;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.button::before {
  content: "";
  position: absolute;
  inset: -2px;
  transform: translateX(-110%) skewX(-18deg);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.36), transparent);
  transition: transform .65s ease;
  z-index: -1;
}
.button:hover { transform: translateY(-2px); box-shadow: 0 18px 42px rgba(64, 145, 221, .34); }
.button:hover::before { transform: translateX(110%) skewX(-18deg); }
.button-small { min-height: 42px; padding: 0 18px; font-size: 14px; }
.button-ghost {
  color: var(--navy);
  background: rgba(255,255,255,.92);
  border-color: var(--line);
  box-shadow: 0 10px 26px rgba(11, 30, 54, .08);
}
.button-ghost::before { background: linear-gradient(90deg, transparent, rgba(64,145,221,.16), transparent); }
.button-ghost:hover { box-shadow: 0 14px 36px rgba(11, 30, 54, .12); border-color: rgba(64,145,221,.35); }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  cursor: pointer;
  padding: 10px;
}
.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--navy);
  margin: 5px 0;
  border-radius: 10px;
  transition: transform .25s ease, opacity .25s ease;
}
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.hero {
  position: relative;
  padding-top: 176px;
  padding-bottom: 88px;
  background:
    radial-gradient(circle at 82% 10%, rgba(64,145,221,.16), transparent 32%),
    linear-gradient(180deg, #f6fbff 0%, #ffffff 72%);
}
.hero-grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(64,145,221,.065) 1px, transparent 1px),
    linear-gradient(90deg, rgba(64,145,221,.065) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(to bottom, #000, transparent 72%);
  pointer-events: none;
}
.hero-mesh { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.hero-mesh i {
  position: absolute;
  display: block;
  width: 430px;
  height: 430px;
  border-radius: 999px;
  filter: blur(10px);
  opacity: .56;
  background: radial-gradient(circle, rgba(64,145,221,.24), transparent 68%);
  animation: meshFloat 12s ease-in-out infinite alternate;
}
.hero-mesh i:nth-child(1) { right: -100px; top: 90px; }
.hero-mesh i:nth-child(2) { left: -180px; top: 260px; width: 360px; height: 360px; animation-delay: -4s; opacity: .35; }
.hero-mesh i:nth-child(3) { right: 30%; bottom: -230px; width: 540px; height: 540px; animation-delay: -7s; opacity: .28; }
@keyframes meshFloat { from { transform: translate3d(0,0,0) scale(1); } to { transform: translate3d(34px,-24px,0) scale(1.06); } }

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  gap: 60px;
  align-items: center;
}
.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--brand-dark);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.eyebrow {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.9);
  border: 1px solid var(--line);
  box-shadow: 0 10px 26px rgba(64, 145, 221, .08);
}
.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 99px;
  background: var(--brand);
  box-shadow: 0 0 0 6px rgba(64,145,221,.12);
  animation: pulseDot 2.2s ease-in-out infinite;
}
@keyframes pulseDot { 0%,100% { box-shadow: 0 0 0 6px rgba(64,145,221,.12); } 50% { box-shadow: 0 0 0 11px rgba(64,145,221,0); } }
h1, h2, h3, p { margin-top: 0; }
h1 {
  margin: 22px 0 22px;
  color: var(--navy);
  font-size: clamp(42px, 6vw, 72px);
  line-height: .98;
  letter-spacing: -.055em;
}
h2 {
  color: var(--navy);
  font-size: clamp(32px, 4vw, 50px);
  line-height: 1.04;
  letter-spacing: -.04em;
  margin-bottom: 18px;
}
h3 {
  color: var(--navy);
  font-size: 21px;
  line-height: 1.2;
  letter-spacing: -.02em;
  margin-bottom: 10px;
}
.lead {
  max-width: 630px;
  color: #50627b;
  font-size: 20px;
  line-height: 1.75;
  margin-bottom: 30px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 24px; }
.hero-note {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 560px;
  color: var(--muted);
  font-size: 14px;
}
.hero-note::before {
  content: "";
  width: 36px;
  height: 1px;
  background: var(--brand);
  flex: 0 0 36px;
}

.hero-visual { position: relative; min-height: 540px; display: grid; align-items: center; }
.orbit {
  position: absolute;
  border-radius: 42px;
  border: 1px solid rgba(64,145,221,.22);
  pointer-events: none;
}
.orbit-one { right: -8px; top: 10px; width: 168px; height: 168px; transform: rotate(12deg); animation: orbitOne 8s ease-in-out infinite alternate; }
.orbit-two { left: -18px; bottom: 32px; width: 110px; height: 110px; border-radius: 32px; transform: rotate(-10deg); animation: orbitTwo 9s ease-in-out infinite alternate; }
@keyframes orbitOne { to { transform: translateY(18px) rotate(18deg); } }
@keyframes orbitTwo { to { transform: translateY(-18px) rotate(-2deg); } }
.browser-frame {
  position: relative;
  z-index: 2;
  overflow: hidden;
  border-radius: 30px;
  background: #fff;
  border: 1px solid rgba(220, 232, 245, .95);
  box-shadow: var(--shadow);
  transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .18s ease, box-shadow .25s ease;
}
.browser-frame:hover { box-shadow: 0 30px 86px rgba(11,30,54,.16); }
.browser-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,.35) 44%, transparent 62%);
  transform: translateX(-130%);
  animation: frameSheen 6.8s ease-in-out infinite;
}
@keyframes frameSheen { 0%, 52% { transform: translateX(-130%); } 72%, 100% { transform: translateX(130%); } }
.browser-top {
  height: 58px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 18px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #fff, #f8fbff);
}
.browser-dots { display: flex; gap: 7px; }
.browser-dots i { width: 10px; height: 10px; border-radius: 99px; background: #d7e4f2; }
.browser-dots i:nth-child(2) { background: #bbd7ef; }
.browser-dots i:nth-child(3) { background: var(--brand); }
.browser-url {
  flex: 1;
  height: 32px;
  display: flex;
  align-items: center;
  padding: 0 14px;
  color: #7690ad;
  background: #f3f8fe;
  border: 1px solid #e1edf8;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 760;
}
.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--brand-dark);
  font-size: 12px;
  font-weight: 900;
}
.live-badge i { width: 7px; height: 7px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 5px rgba(64,145,221,.14); }
.dashboard {
  display: grid;
  grid-template-columns: 150px 1fr;
  min-height: 478px;
  background: #f7fbff;
}
.dash-sidebar {
  padding: 22px 16px;
  background: #fff;
  border-right: 1px solid var(--line);
}
.dash-sidebar img { width: 94px; margin-bottom: 26px; }
.dash-sidebar button {
  display: block;
  width: 100%;
  padding: 10px 11px;
  margin-bottom: 8px;
  border: 0;
  border-radius: 12px;
  color: #70829a;
  background: transparent;
  font-size: 12px;
  font-weight: 800;
  text-align: left;
}
.dash-sidebar .side-active { color: #fff; background: var(--brand); box-shadow: 0 10px 22px rgba(64,145,221,.24); }
.dash-main { padding: 22px; }
.dash-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}
.dash-head strong { display: block; color: var(--navy); font-size: 18px; }
.dash-head small { color: var(--muted); }
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  color: #1267aa;
  background: #eaf5ff;
  border: 1px solid #d5eafd;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}
.status-pill::before { content: ""; width: 7px; height: 7px; border-radius: 99px; background: var(--brand); animation: blink 1.8s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .35; } }
.metric-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.metric-card {
  position: relative;
  min-height: 112px;
  padding: 16px;
  overflow: hidden;
  border-radius: 20px;
  background: #fff;
  border: 1px solid #e2edf8;
  box-shadow: 0 12px 30px rgba(11,30,54,.05);
}
.metric-card small { color: var(--muted); font-weight: 800; font-size: 11px; }
.metric-card b { display: block; color: var(--navy); font-size: 30px; margin-top: 5px; letter-spacing: -.04em; }
.metric-card span {
  position: absolute;
  right: -18px;
  bottom: -22px;
  width: 82px;
  height: 82px;
  border-radius: 99px;
  background: rgba(64,145,221,.12);
  animation: softScale 4s ease-in-out infinite alternate;
}
@keyframes softScale { to { transform: scale(1.16); opacity: .65; } }
.analytics-card,
.schedule-card {
  margin-top: 14px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid #e2edf8;
  box-shadow: 0 12px 30px rgba(11,30,54,.05);
}
.analytics-card { padding: 18px 18px 16px; }
.analytics-title { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.analytics-title span { color: var(--navy); font-weight: 900; }
.analytics-title em { color: var(--brand-dark); font-style: normal; font-size: 12px; font-weight: 900; }
.chart-bars {
  height: 130px;
  display: flex;
  align-items: end;
  gap: 14px;
  padding: 0 4px;
}
.chart-bars i {
  flex: 1;
  min-width: 18px;
  height: 0;
  border-radius: 14px 14px 4px 4px;
  background: linear-gradient(180deg, var(--brand), #cfe9ff);
  animation: barGrow .9s cubic-bezier(.2,.8,.2,1) forwards, barPulse 3.8s ease-in-out infinite alternate;
  animation-delay: calc(var(--i, 0) * .08s);
}
.chart-bars i:nth-child(1) { --i: 1; }
.chart-bars i:nth-child(2) { --i: 2; }
.chart-bars i:nth-child(3) { --i: 3; }
.chart-bars i:nth-child(4) { --i: 4; }
.chart-bars i:nth-child(5) { --i: 5; }
.chart-bars i:nth-child(6) { --i: 6; }
.chart-bars i:nth-child(7) { --i: 7; }
@keyframes barGrow { to { height: var(--h); } }
@keyframes barPulse { to { filter: saturate(1.15) brightness(1.03); } }
.schedule-card { padding: 10px; }
.schedule-card div {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 10px;
  align-items: center;
  padding: 10px;
  border-radius: 14px;
  animation: rowGlow 5s ease-in-out infinite;
}
.schedule-card div:nth-child(2) { animation-delay: 1s; }
.schedule-card div:nth-child(3) { animation-delay: 2s; }
@keyframes rowGlow { 0%,100% { background: transparent; } 50% { background: #f4faff; } }
.schedule-card div + div { border-top: 1px solid #eef4fb; }
.schedule-card b { color: var(--brand-dark); font-size: 12px; }
.schedule-card span { color: #50627b; font-size: 13px; font-weight: 700; }

.floating-card {
  position: absolute;
  z-index: 3;
  width: 196px;
  padding: 16px 18px;
  border: 1px solid rgba(220,232,245,.95);
  border-radius: 20px;
  background: rgba(255,255,255,.9);
  box-shadow: 0 20px 48px rgba(11,30,54,.12);
  backdrop-filter: blur(16px);
  animation: floatCard 5.5s ease-in-out infinite alternate;
}
.floating-card b { display: block; color: var(--navy); font-size: 14px; margin-bottom: 2px; }
.floating-card span { display: block; color: var(--muted); font-size: 12px; font-weight: 750; line-height: 1.45; }
.floating-one { top: 78px; left: -22px; }
.floating-two { right: -28px; bottom: 78px; animation-delay: -2s; }
@keyframes floatCard { to { transform: translateY(-14px); } }

.trust-row { padding: 28px 0; border-block: 1px solid var(--line); background: #fff; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.trust-item {
  position: relative;
  padding: 18px 20px;
  border-left: 2px solid rgba(64,145,221,.28);
  overflow: hidden;
}
.trust-item::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(64,145,221,.45), transparent);
  transform: translateX(-100%);
  animation: lineScan 5s ease-in-out infinite;
}
.trust-item:nth-child(2)::after { animation-delay: .7s; }
.trust-item:nth-child(3)::after { animation-delay: 1.4s; }
.trust-item:nth-child(4)::after { animation-delay: 2.1s; }
@keyframes lineScan { 0%, 55% { transform: translateX(-100%); } 85%, 100% { transform: translateX(100%); } }
.trust-grid b { display: block; color: var(--navy); font-size: 16px; margin-bottom: 3px; }
.trust-grid span { color: var(--muted); font-size: 13px; }

.two-col,
.security-grid,
.contact-grid,
.faq-grid {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 56px;
  align-items: center;
}
.section-copy p,
.section-heading p,
.statement-card p,
.feature-card p,
.process-card p,
.audience-card p,
.contact-copy p,
.security-list span,
.faq-section p {
  color: var(--muted);
  margin-bottom: 0;
}
.statement-card {
  position: relative;
  padding: 36px;
  overflow: hidden;
  border-radius: var(--radius);
  background: linear-gradient(145deg, #fff, #f6fbff);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .18s ease, box-shadow .25s ease;
}
.statement-card:hover { box-shadow: 0 22px 64px rgba(64,145,221,.18); }
.statement-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 36px;
  right: 36px;
  height: 4px;
  border-radius: 0 0 12px 12px;
  background: var(--brand);
}
.statement-card::after {
  content: "";
  position: absolute;
  width: 190px;
  height: 190px;
  right: -70px;
  bottom: -80px;
  border-radius: 50%;
  background: rgba(64,145,221,.09);
}
.statement-card ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}
.statement-card li {
  position: relative;
  padding-left: 22px;
  color: #304057;
  font-weight: 800;
  font-size: 14px;
}
.statement-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  border-radius: 99px;
  background: var(--brand);
}

.numbers-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.number-card {
  position: relative;
  padding: 28px;
  overflow: hidden;
  border-radius: var(--radius);
  background: rgba(255,255,255,.82);
  border: 1px solid var(--line);
  box-shadow: 0 18px 50px rgba(11,30,54,.06);
}
.number-card::after {
  content: "";
  position: absolute;
  right: -35px;
  top: -35px;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: rgba(64,145,221,.12);
}
.number-card strong { display: block; color: var(--navy); font-size: 40px; letter-spacing: -.04em; line-height: 1; margin-bottom: 9px; }
.number-card span:last-child { color: var(--muted); font-size: 14px; font-weight: 800; }

.section-heading { max-width: 760px; margin: 0 auto 48px; text-align: center; }
.bento-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature-card {
  position: relative;
  min-height: 260px;
  padding: 28px;
  overflow: hidden;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 18px 55px rgba(11,30,54,.06);
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .18s ease, box-shadow .25s ease, border-color .25s ease;
}
.feature-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(64,145,221,.12), transparent 32%);
  opacity: 0;
  transition: opacity .25s ease;
  pointer-events: none;
}
.feature-card:hover { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(-5px); box-shadow: var(--shadow); border-color: rgba(64,145,221,.35); }
.feature-card:hover::after { opacity: 1; }
.large-card { grid-column: span 2; }
.soft-blue { background: linear-gradient(145deg, #fff, #ecf7ff); }
.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 17px;
  margin-bottom: 22px;
  background: var(--brand-soft);
  border: 1px solid #cfe6fb;
  position: relative;
}
.card-icon::before,
.card-icon::after { content: ""; position: absolute; background: var(--brand); border-radius: 10px; }
.calendar-icon::before { inset: 15px 12px 12px; border: 2px solid var(--brand); background: transparent; }
.calendar-icon::after { width: 26px; height: 2px; left: 13px; top: 23px; }
.user-icon::before { width: 14px; height: 14px; left: 19px; top: 12px; border-radius: 99px; }
.user-icon::after { width: 28px; height: 14px; left: 12px; bottom: 12px; border-radius: 99px 99px 8px 8px; }
.team-icon::before { width: 10px; height: 10px; left: 12px; top: 15px; box-shadow: 14px -4px 0 var(--brand), 28px 0 0 var(--brand); border-radius: 99px; }
.team-icon::after { width: 34px; height: 12px; left: 9px; bottom: 13px; }
.branch-icon::before { width: 28px; height: 2px; left: 12px; top: 25px; }
.branch-icon::after { width: 10px; height: 10px; left: 11px; top: 12px; box-shadow: 16px 0 0 var(--brand), 8px 24px 0 var(--brand); border-radius: 4px; }
.report-icon::before { width: 8px; height: 24px; left: 13px; bottom: 13px; box-shadow: 13px -9px 0 var(--brand), 26px -2px 0 var(--brand); }

.module-layout {
  display: grid;
  grid-template-columns: 310px 1fr;
  gap: 28px;
  align-items: stretch;
}
.module-tabs {
  padding: 16px;
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 100% 0%, rgba(64,145,221,.35), transparent 40%),
    var(--navy);
  box-shadow: var(--shadow);
}
.module-tabs button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 18px;
  margin-bottom: 10px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px;
  color: rgba(255,255,255,.72);
  background: rgba(255,255,255,.04);
  font-weight: 900;
  text-align: left;
  cursor: pointer;
  transition: transform .2s ease, color .2s ease, background .2s ease, border-color .2s ease;
}
.module-tabs button::after { content: "→"; opacity: .55; transition: transform .2s ease; }
.module-tabs button:hover { transform: translateX(4px); color: #fff; }
.module-tabs button:hover::after { transform: translateX(3px); }
.module-tabs button.active { color: #fff; background: var(--brand); border-color: rgba(255,255,255,.16); box-shadow: 0 12px 28px rgba(64,145,221,.26); }
.module-panel {
  min-height: 364px;
  padding: 46px;
  overflow: hidden;
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 90% 12%, rgba(64,145,221,.16), transparent 32%),
    #fff;
  border: 1px solid var(--line);
  box-shadow: 0 20px 55px rgba(11,30,54,.08);
}
.tab-content { display: none; animation: fadeUp .35s ease both; }
.tab-content.active { display: block; }
.mini-timeline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 30px;
  color: var(--navy);
  font-weight: 900;
  font-size: 14px;
}
.mini-timeline i {
  width: 12px;
  height: 12px;
  border-radius: 99px;
  background: var(--brand);
  box-shadow: 0 0 0 6px rgba(64,145,221,.1);
  animation: timelinePulse 2.4s ease-in-out infinite;
}
.mini-timeline i:nth-of-type(2) { animation-delay: .35s; }
.mini-timeline i:nth-of-type(3) { animation-delay: .7s; }
@keyframes timelinePulse { 50% { box-shadow: 0 0 0 10px rgba(64,145,221,0); } }

.process-section { background: #fff; }
.process-grid { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.process-line {
  position: absolute;
  left: 7%;
  right: 7%;
  top: 47px;
  height: 2px;
  background: #e5eff9;
  pointer-events: none;
}
.process-line span {
  display: block;
  width: var(--process, 0%);
  height: 100%;
  background: linear-gradient(90deg, var(--brand), #a7d6ff);
  transition: width .45s ease;
}
.process-card {
  position: relative;
  z-index: 1;
  padding: 26px;
  min-height: 240px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 16px 44px rgba(11,30,54,.055);
}
.process-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 28px;
  color: var(--brand-dark);
  background: var(--brand-soft);
  border-radius: 16px;
  font-weight: 950;
}

.security-section {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  color: #fff;
}
.security-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 22%, rgba(64,145,221,.26), transparent 26%),
    linear-gradient(120deg, transparent, rgba(255,255,255,.04), transparent);
  pointer-events: none;
}
.security-grid { position: relative; }
.security-section h2 { color: #fff; }
.security-section .section-copy p { color: rgba(255,255,255,.68); }
.security-section .section-kicker { color: #9ed1ff; }
.security-list { display: grid; gap: 14px; }
.security-list div {
  padding: 22px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 20px;
  background: rgba(255,255,255,.05);
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.security-list div:hover { transform: translateX(6px); background: rgba(255,255,255,.075); border-color: rgba(255,255,255,.2); }
.security-list strong { display: block; color: #fff; margin-bottom: 4px; }
.security-list span { color: rgba(255,255,255,.66); }

.audience-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.audience-card {
  position: relative;
  padding: 30px;
  overflow: hidden;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 16px 45px rgba(11,30,54,.055);
}
.audience-card h3::before {
  content: "";
  display: block;
  width: 42px;
  height: 3px;
  margin-bottom: 20px;
  border-radius: 99px;
  background: var(--brand);
}
.audience-card::after {
  content: "";
  position: absolute;
  inset: auto -45px -45px auto;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(64,145,221,.08);
}

.faq-grid { align-items: start; }
.faq-list { display: grid; gap: 12px; }
details {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(11,30,54,.05);
  overflow: hidden;
}
summary {
  position: relative;
  padding: 20px 54px 20px 22px;
  color: var(--navy);
  cursor: pointer;
  font-weight: 900;
  list-style: none;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: var(--brand-dark);
  background: var(--brand-soft);
}
details[open] summary::after { content: "−"; }
details p { padding: 0 22px 20px; }

.contact-section {
  background:
    radial-gradient(circle at 18% 12%, rgba(64,145,221,.13), transparent 28%),
    linear-gradient(180deg, #fff, #f6fbff);
}
.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 28px;
}
.contact-methods a {
  width: fit-content;
  color: var(--brand-dark);
  font-weight: 900;
  border-bottom: 1px solid rgba(64,145,221,.35);
}
.contact-form {
  padding: 30px;
  border-radius: 30px;
  background: rgba(255,255,255,.9);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}
.contact-form label { display: block; margin-bottom: 16px; }
.contact-form span {
  display: block;
  margin-bottom: 7px;
  color: var(--navy);
  font-size: 13px;
  font-weight: 900;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid #dce8f5;
  border-radius: 16px;
  padding: 15px 16px;
  outline: none;
  color: var(--text);
  background: #fbfdff;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease, transform .2s ease;
}
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(64,145,221,.9);
  box-shadow: 0 0 0 4px rgba(64,145,221,.12);
  background: #fff;
  transform: translateY(-1px);
}
.contact-form textarea { resize: vertical; }
.contact-form .button { width: 100%; border: 0; }
.form-note { color: var(--muted); font-size: 12px; margin: 14px 0 0; text-align: center; }

.footer {
  padding: 38px 0;
  background: #fff;
  border-top: 1px solid var(--line);
}
.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.footer img { width: 132px; margin-bottom: 12px; }
.footer p { color: var(--muted); max-width: 420px; margin: 0; font-size: 14px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; color: #50627b; font-weight: 850; font-size: 14px; }
.footer-links a:hover { color: var(--brand-dark); }

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .72s ease, transform .72s ease;
  transition-delay: var(--delay, 0ms);
}
.reveal.visible { opacity: 1; transform: none; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

@media (max-width: 1080px) {
  .hero-grid, .two-col, .security-grid, .contact-grid, .faq-grid { grid-template-columns: 1fr; }
  .hero-grid { gap: 44px; }
  .hero-copy { max-width: 760px; }
  .trust-grid, .process-grid, .numbers-grid { grid-template-columns: repeat(2, 1fr); }
  .bento-grid, .audience-grid { grid-template-columns: 1fr 1fr; }
  .large-card { grid-column: span 1; }
  .process-line { display: none; }
  .floating-one { left: 18px; }
  .floating-two { right: 18px; }
}

@media (max-width: 900px) {
  .header { height: auto; min-height: 68px; align-items: center; flex-wrap: wrap; }
  .nav-toggle { display: block; margin-left: auto; }
  .header-actions { display: none; }
  .nav {
    display: none;
    width: 100%;
    order: 4;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 8px 0 12px;
  }
  .nav.open { display: flex; }
  .nav a {
    padding: 13px 14px;
    border-radius: 14px;
    background: #f7fbff;
  }
  .nav a::after { display: none; }
  .section-pad { padding: 78px 0; }
  .hero { padding-top: 142px; }
  .dashboard { grid-template-columns: 1fr; }
  .dash-sidebar { display: none; }
  .metric-grid { grid-template-columns: 1fr; }
  .module-layout { grid-template-columns: 1fr; }
  .module-tabs { display: grid; grid-template-columns: 1fr; }
  .floating-card { display: none; }
  .hero-visual { min-height: auto; }
}

@media (max-width: 680px) {
  .container { width: min(100% - 28px, var(--container)); }
  .header { width: calc(100% - 20px); top: 10px; padding-left: 16px; }
  .brand img { width: 118px; }
  .hero { padding-bottom: 62px; }
  h1 { font-size: clamp(38px, 13vw, 52px); }
  .lead { font-size: 17px; }
  .button { width: 100%; }
  .hero-actions { width: 100%; }
  .browser-frame { border-radius: 22px; }
  .dash-main { padding: 16px; }
  .trust-grid, .bento-grid, .process-grid, .audience-grid, .numbers-grid { grid-template-columns: 1fr; }
  .trust-grid div { padding: 14px 16px; }
  .statement-card, .module-panel, .contact-form { padding: 24px; }
  .statement-card ul { grid-template-columns: 1fr; }
  .chart-bars { gap: 8px; }
  .footer-grid { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
  .browser-frame,
  .feature-card,
  .statement-card { transform: none !important; }
}

/* --- MissAppy partner panel kapsam güncellemesi --- */
.nav { gap: 22px; }
.hero-copy .lead { max-width: 670px; }
.dashboard-partner { grid-template-columns: 170px 1fr; min-height: 528px; }
.dash-sidebar-compact { padding: 18px 12px; }
.dash-sidebar-compact img { width: 100px; margin-bottom: 16px; }
.dash-sidebar-compact button {
  padding: 8px 9px;
  margin-bottom: 5px;
  border-radius: 10px;
  font-size: 11px;
  line-height: 1.2;
}
.stat-heading { margin-bottom: 34px; }
.numbers-grid-strong .number-card {
  min-height: 170px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.number-card strong em {
  font-size: .58em;
  font-style: normal;
  color: var(--brand-dark);
  margin-left: 2px;
  vertical-align: .18em;
}
.numbers-grid-strong .number-card strong { font-size: clamp(40px, 4vw, 58px); }
.numbers-grid-strong .number-card span:last-child { max-width: 190px; }
.bento-grid-expanded .feature-card { min-height: 250px; }
.bento-grid-expanded .large-card { min-height: 280px; }
.sales-icon::before { width: 28px; height: 20px; left: 12px; top: 17px; border: 2px solid var(--brand); background: transparent; border-radius: 8px; }
.sales-icon::after { width: 18px; height: 2px; left: 17px; top: 27px; box-shadow: 0 7px 0 var(--brand); }
.cashier-icon::before { width: 30px; height: 22px; left: 11px; top: 17px; border: 2px solid var(--brand); background: transparent; border-radius: 7px; }
.cashier-icon::after { width: 18px; height: 3px; left: 17px; top: 28px; box-shadow: 0 -7px 0 var(--brand), 0 7px 0 var(--brand); }
.stock-icon::before { width: 27px; height: 27px; left: 12px; top: 13px; border: 2px solid var(--brand); background: transparent; border-radius: 8px; transform: rotate(45deg); }
.stock-icon::after { width: 20px; height: 2px; left: 16px; top: 26px; box-shadow: 0 8px 0 var(--brand); }
.invoice-icon::before { width: 24px; height: 30px; left: 14px; top: 11px; border: 2px solid var(--brand); background: transparent; border-radius: 6px; }
.invoice-icon::after { width: 14px; height: 2px; left: 19px; top: 22px; box-shadow: 0 7px 0 var(--brand), 0 14px 0 var(--brand); }
.marketing-icon::before { width: 26px; height: 20px; left: 9px; top: 16px; clip-path: polygon(0 30%, 100% 0, 100% 100%, 0 70%); }
.marketing-icon::after { width: 8px; height: 18px; left: 34px; top: 20px; transform: rotate(-18deg); }
.support-icon::before { width: 26px; height: 22px; left: 13px; top: 14px; border: 2px solid var(--brand); background: transparent; border-radius: 12px 12px 12px 4px; }
.support-icon::after { width: 4px; height: 4px; left: 21px; top: 24px; box-shadow: 7px 0 0 var(--brand), 14px 0 0 var(--brand); border-radius: 99px; }
.partner-section { position: relative; overflow: hidden; }
.partner-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 78% 10%, rgba(64,145,221,.18), transparent 28%),
    radial-gradient(circle at 12% 78%, rgba(23,107,179,.10), transparent 30%);
}
.partner-layout {
  position: relative;
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: 46px;
  align-items: center;
}
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}
.tag-cloud span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 12px;
  color: #24405f;
  background: rgba(255,255,255,.82);
  border: 1px solid rgba(220,232,245,.95);
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(11,30,54,.05);
  font-size: 13px;
  font-weight: 850;
}
.partner-window {
  position: relative;
  padding: 18px;
  border-radius: 30px;
  background: rgba(255,255,255,.9);
  border: 1px solid rgba(220,232,245,.95);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
  transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .18s ease, box-shadow .25s ease;
}
.partner-window:hover { box-shadow: 0 30px 86px rgba(11,30,54,.16); }
.partner-topbar {
  display: grid;
  grid-template-columns: 132px 1fr auto auto;
  gap: 14px;
  align-items: center;
  margin-bottom: 14px;
}
.partner-topbar img { width: 118px; }
.partner-topbar > span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: var(--brand-dark);
  background: #f3f8fe;
  border: 1px solid #dce8f5;
  border-radius: 12px;
  font-size: 14px;
}
.partner-search {
  min-height: 38px;
  display: flex;
  align-items: center;
  padding: 0 15px;
  color: #7690ad;
  background: #fff;
  border: 1px solid #cfe4f7;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 760;
  box-shadow: inset 0 0 0 1px rgba(64,145,221,.06);
}
.support-banner {
  padding: 18px 22px;
  margin-bottom: 16px;
  text-align: center;
  color: #fff;
  background: linear-gradient(135deg, #0f5b93, #0b4d7f);
  border-radius: 18px;
  box-shadow: 0 14px 32px rgba(15,91,147,.22);
}
.support-banner strong { display: block; font-size: 15px; margin-bottom: 3px; }
.support-banner span { display: block; color: rgba(255,255,255,.84); font-size: 13px; font-weight: 700; }
.partner-preview-grid {
  display: grid;
  grid-template-columns: 174px 1fr;
  gap: 16px;
}
.partner-menu {
  padding: 16px 12px;
  border-radius: 20px;
  background: #f1f7fd;
  border: 1px solid #dce8f5;
}
.partner-menu strong {
  display: block;
  margin: 0 8px 10px;
  color: var(--navy);
  font-size: 13px;
}
.partner-menu span {
  display: block;
  padding: 8px 10px;
  margin-bottom: 5px;
  color: #5f7189;
  background: rgba(255,255,255,.68);
  border-radius: 10px;
  font-size: 12px;
  font-weight: 780;
}
.partner-menu span:nth-of-type(1) { color: #fff; background: var(--brand); }
.partner-main { display: grid; gap: 14px; }
.partner-hero-card {
  min-height: 188px;
  padding: 28px;
  overflow: hidden;
  border-radius: 22px;
  background:
    linear-gradient(110deg, #fff 0%, rgba(255,255,255,.92) 52%, rgba(234,245,255,.72) 100%),
    radial-gradient(circle at 90% 40%, rgba(64,145,221,.28), transparent 30%);
  border: 1px solid #dce8f5;
  box-shadow: 0 18px 42px rgba(11,30,54,.06);
}
.partner-hero-card small {
  color: var(--brand-dark);
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.partner-hero-card h3 { max-width: 460px; font-size: 26px; margin: 10px 0 10px; }
.partner-hero-card p { max-width: 500px; color: var(--muted); margin: 0; }
.quick-actions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.quick-card {
  min-height: 112px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 10px;
  text-align: center;
  background: #fff;
  border: 1px solid #dce8f5;
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(11,30,54,.05);
  transition: transform .2s ease, box-shadow .2s ease;
}
.quick-card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(64,145,221,.12); }
.quick-card i {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--brand-soft);
  font-style: normal;
  font-size: 19px;
}
.quick-card b { color: var(--navy); font-size: 13px; }
.audience-grid-wide { grid-template-columns: repeat(4, 1fr); }
.module-tabs button:last-child { margin-bottom: 0; }

@media (max-width: 1180px) {
  .nav { gap: 16px; font-size: 13px; }
  .partner-layout { grid-template-columns: 1fr; }
  .partner-window { max-width: 920px; margin-inline: auto; }
  .audience-grid-wide { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .dashboard-partner { grid-template-columns: 1fr; min-height: auto; }
  .dash-sidebar-compact { display: none; }
  .partner-preview-grid { grid-template-columns: 1fr; }
  .partner-menu { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; }
  .partner-menu strong { grid-column: 1 / -1; }
  .quick-actions-grid { grid-template-columns: repeat(2, 1fr); }
  .partner-topbar { grid-template-columns: 118px 1fr; }
  .partner-topbar > span { display: none; }
}

@media (max-width: 680px) {
  .numbers-grid-strong .number-card { min-height: 144px; }
  .partner-window { padding: 12px; border-radius: 22px; }
  .support-banner { padding: 15px; }
  .partner-hero-card { min-height: auto; padding: 22px; }
  .partner-hero-card h3 { font-size: 22px; }
  .quick-actions-grid, .partner-menu, .audience-grid-wide { grid-template-columns: 1fr; }
  .partner-topbar { grid-template-columns: 1fr; }
  .partner-search { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .partner-window { transform: none !important; }
}

.number-card > span:last-child {
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}
.number-card strong .stat-number {
  color: inherit !important;
  font-size: inherit !important;
  font-weight: inherit !important;
}
.numbers-grid-strong .number-card > span:last-child { max-width: 190px; }


/* --- Animasyonlu randevu takvimi bölümü --- */
.calendar-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 14% 18%, rgba(64,145,221,.12), transparent 32%),
    radial-gradient(circle at 85% 72%, rgba(23,107,179,.11), transparent 28%),
    linear-gradient(180deg, #fff, #f7fbff 56%, #fff);
}
.calendar-sparkles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.calendar-sparkles i {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 99px;
  background: rgba(64,145,221,.36);
  box-shadow: 0 0 0 10px rgba(64,145,221,.08), 0 0 38px rgba(64,145,221,.35);
  animation: sparkleMove 9s ease-in-out infinite alternate;
}
.calendar-sparkles i:nth-child(1) { top: 18%; left: 8%; }
.calendar-sparkles i:nth-child(2) { top: 70%; left: 18%; width: 7px; height: 7px; animation-delay: -3s; }
.calendar-sparkles i:nth-child(3) { top: 22%; right: 12%; width: 8px; height: 8px; animation-delay: -5s; }
.calendar-sparkles i:nth-child(4) { bottom: 16%; right: 28%; width: 6px; height: 6px; animation-delay: -7s; }
@keyframes sparkleMove {
  from { transform: translate3d(0, 0, 0) scale(.86); opacity: .45; }
  to { transform: translate3d(34px, -28px, 0) scale(1.16); opacity: .9; }
}
.calendar-layout {
  position: relative;
  display: grid;
  grid-template-columns: .78fr 1.22fr;
  gap: 54px;
  align-items: center;
}
.calendar-feature-list {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}
.calendar-feature-list div {
  position: relative;
  padding: 16px 18px 16px 52px;
  border: 1px solid rgba(220,232,245,.95);
  border-radius: 18px;
  background: rgba(255,255,255,.82);
  box-shadow: 0 14px 34px rgba(11,30,54,.05);
  overflow: hidden;
}
.calendar-feature-list div::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 20px;
  width: 18px;
  height: 18px;
  border-radius: 7px;
  background: var(--brand);
  box-shadow: 0 0 0 7px rgba(64,145,221,.12);
}
.calendar-feature-list div::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent, rgba(64,145,221,.08), transparent);
  transform: translateX(-110%);
  animation: featureSweep 5.8s ease-in-out infinite;
}
.calendar-feature-list div:nth-child(2)::after { animation-delay: 1.2s; }
.calendar-feature-list div:nth-child(3)::after { animation-delay: 2.4s; }
@keyframes featureSweep { 0%, 55% { transform: translateX(-110%); } 85%, 100% { transform: translateX(110%); } }
.calendar-feature-list b { display: block; color: var(--navy); font-size: 15px; margin-bottom: 2px; }
.calendar-feature-list span { color: var(--muted); font-size: 13px; font-weight: 760; }
.smart-calendar {
  position: relative;
  padding: 20px;
  overflow: hidden;
  border-radius: 32px;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(220,232,245,.96);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .18s ease, box-shadow .25s ease;
}
.smart-calendar:hover { box-shadow: 0 32px 90px rgba(11,30,54,.17); }
.smart-calendar::before {
  content: "";
  position: absolute;
  width: 250px;
  height: 250px;
  right: -105px;
  top: -110px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(64,145,221,.22), transparent 66%);
  animation: calendarBlob 7s ease-in-out infinite alternate;
}
.smart-calendar::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 0%, rgba(255,255,255,.36) 45%, transparent 64%);
  transform: translateX(-120%);
  animation: calendarSheen 7.2s ease-in-out infinite;
}
@keyframes calendarBlob { to { transform: translate3d(-22px, 24px, 0) scale(1.12); opacity: .62; } }
@keyframes calendarSheen { 0%, 58% { transform: translateX(-120%); } 78%, 100% { transform: translateX(120%); } }
.calendar-toolbar,
.calendar-preview-grid,
.calendar-flow { position: relative; z-index: 1; }
.calendar-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
}
.calendar-toolbar small {
  display: block;
  color: var(--brand-dark);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.calendar-toolbar strong {
  display: block;
  color: var(--navy);
  font-size: 25px;
  line-height: 1.1;
  letter-spacing: -.03em;
}
.calendar-view-switch {
  display: inline-flex;
  gap: 6px;
  padding: 6px;
  border-radius: 999px;
  background: #f2f8fe;
  border: 1px solid #dce8f5;
}
.calendar-view-switch button {
  min-width: 58px;
  padding: 8px 12px;
  border: 0;
  border-radius: 999px;
  color: #65809d;
  background: transparent;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
  transition: color .2s ease, background .2s ease, transform .2s ease;
}
.calendar-view-switch button:hover { transform: translateY(-1px); color: var(--navy); }
.calendar-view-switch button.active { color: #fff; background: var(--brand); box-shadow: 0 8px 20px rgba(64,145,221,.22); }
.calendar-preview-grid {
  display: grid;
  grid-template-columns: 270px 1fr;
  gap: 16px;
}
.mini-calendar-card,
.appointment-board {
  border: 1px solid #dce8f5;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 16px 42px rgba(11,30,54,.06);
}
.mini-calendar-card { padding: 18px; }
.today-orb {
  position: relative;
  min-height: 136px;
  display: grid;
  place-items: center;
  text-align: center;
  overflow: hidden;
  border-radius: 22px;
  color: #fff;
  background:
    radial-gradient(circle at 72% 24%, rgba(255,255,255,.3), transparent 28%),
    linear-gradient(145deg, var(--brand), #1267aa);
  box-shadow: 0 18px 36px rgba(64,145,221,.25);
}
.today-orb::before,
.today-orb::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.28);
  animation: ringSpin 10s linear infinite;
}
.today-orb::before { width: 110px; height: 110px; }
.today-orb::after { width: 76px; height: 76px; animation-direction: reverse; animation-duration: 8s; }
@keyframes ringSpin { to { transform: rotate(360deg); } }
.today-orb span,
.today-orb b,
.today-orb em { position: relative; z-index: 1; }
.today-orb span { font-size: 12px; font-weight: 900; opacity: .86; text-transform: uppercase; letter-spacing: .08em; }
.today-orb b { display: block; margin: -8px 0 -10px; font-size: 56px; line-height: 1; letter-spacing: -.05em; }
.today-orb em { font-size: 12px; font-style: normal; font-weight: 850; opacity: .84; }
.mini-month-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 7px;
  margin-top: 16px;
}
.mini-month-grid span,
.mini-month-grid button {
  height: 31px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 900;
}
.mini-month-grid span { color: #7890a9; }
.mini-month-grid button {
  border: 1px solid transparent;
  color: #435872;
  background: #f4f9ff;
  cursor: pointer;
  animation: dayPop .45s ease both;
  animation-delay: calc(var(--day-i, 0) * 28ms);
  transition: transform .18s ease, color .18s ease, background .18s ease, border-color .18s ease;
}
.mini-month-grid button:hover { transform: translateY(-2px); border-color: rgba(64,145,221,.32); }
.mini-month-grid button.active { color: #fff; background: var(--brand); box-shadow: 0 8px 18px rgba(64,145,221,.24); }
.mini-month-grid button.soft { color: #9aaec3; background: #f8fbff; }
@keyframes dayPop { from { transform: scale(.72); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.appointment-board { padding: 18px; overflow: hidden; }
.board-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 14px;
}
.board-head strong { display: block; color: var(--navy); font-size: 16px; }
.board-head span { color: var(--muted); font-size: 12px; font-weight: 800; }
.board-head i {
  width: 12px;
  height: 12px;
  border-radius: 99px;
  background: #21c58b;
  box-shadow: 0 0 0 8px rgba(33,197,139,.12);
  animation: livePulse 2.2s ease-in-out infinite;
}
@keyframes livePulse { 50% { box-shadow: 0 0 0 14px rgba(33,197,139,0); } }
.appointment-lane {
  display: grid;
  gap: 11px;
  position: relative;
}
.appointment-lane::before {
  content: "";
  position: absolute;
  left: 48px;
  top: 10px;
  bottom: 10px;
  width: 2px;
  background: linear-gradient(180deg, rgba(64,145,221,.1), rgba(64,145,221,.48), rgba(64,145,221,.1));
}
.booking-card {
  position: relative;
  display: grid;
  grid-template-columns: 68px 1fr auto;
  gap: 13px;
  align-items: center;
  min-height: 76px;
  padding: 14px 14px;
  border: 1px solid #e1edf8;
  border-radius: 18px;
  background: linear-gradient(180deg, #fff, #fbfdff);
  box-shadow: 0 10px 28px rgba(11,30,54,.045);
  animation: bookingSlide 5.6s ease-in-out infinite;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.booking-card:nth-child(2) { animation-delay: .55s; }
.booking-card:nth-child(3) { animation-delay: 1.1s; }
.booking-card:nth-child(4) { animation-delay: 1.65s; }
.booking-card:hover { transform: translateX(5px); border-color: rgba(64,145,221,.34); box-shadow: 0 16px 38px rgba(64,145,221,.1); }
.booking-card::before {
  content: "";
  position: absolute;
  left: 43px;
  top: 50%;
  width: 12px;
  height: 12px;
  border-radius: 99px;
  background: var(--brand);
  border: 3px solid #fff;
  transform: translateY(-50%);
  box-shadow: 0 0 0 5px rgba(64,145,221,.1);
}
@keyframes bookingSlide { 0%,100% { transform: translateX(0); } 50% { transform: translateX(3px); } }
.booking-card time { color: var(--brand-dark); font-size: 13px; font-weight: 950; }
.booking-card strong { display: block; color: var(--navy); font-size: 14px; }
.booking-card span { display: block; color: var(--muted); font-size: 12px; font-weight: 760; }
.booking-card em {
  justify-self: end;
  padding: 7px 10px;
  border-radius: 999px;
  color: #17623f;
  background: rgba(33,197,139,.12);
  font-size: 11px;
  font-style: normal;
  font-weight: 950;
}
.booking-active { border-color: rgba(64,145,221,.35); background: linear-gradient(180deg, #fff, #f1f9ff); }
.booking-pending em { color: #9b5b00; background: rgba(255,184,77,.18); }
.calendar-flow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 16px;
  padding: 14px 16px;
  overflow: hidden;
  border: 1px solid #dce8f5;
  border-radius: 20px;
  background: #f7fbff;
}
.calendar-flow span {
  color: var(--navy);
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
}
.calendar-flow i {
  position: relative;
  flex: 1;
  height: 2px;
  min-width: 24px;
  background: #d8e9f8;
  border-radius: 99px;
}
.calendar-flow i::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 99px;
  background: var(--brand);
  transform: translateY(-50%);
  animation: flowDot 2.6s ease-in-out infinite;
}
.calendar-flow i:nth-of-type(2)::after { animation-delay: .4s; }
.calendar-flow i:nth-of-type(3)::after { animation-delay: .8s; }
@keyframes flowDot { 0% { left: 0; opacity: .25; } 50% { opacity: 1; } 100% { left: calc(100% - 9px); opacity: .25; } }

@media (max-width: 1080px) {
  .calendar-layout { grid-template-columns: 1fr; }
  .smart-calendar { max-width: 920px; margin-inline: auto; }
}

@media (max-width: 820px) {
  .calendar-preview-grid { grid-template-columns: 1fr; }
  .calendar-toolbar { align-items: flex-start; flex-direction: column; }
  .calendar-view-switch { width: 100%; justify-content: space-between; }
  .calendar-view-switch button { flex: 1; }
  .calendar-flow { align-items: stretch; flex-direction: column; }
  .calendar-flow i { width: 2px; height: 28px; min-width: 2px; margin-left: 10px; }
  .calendar-flow i::after { top: 0; left: 50%; transform: translateX(-50%); animation-name: flowDotVertical; }
  @keyframes flowDotVertical { 0% { top: 0; opacity: .25; } 50% { opacity: 1; } 100% { top: calc(100% - 9px); opacity: .25; } }
}

@media (max-width: 560px) {
  .smart-calendar { padding: 14px; border-radius: 24px; }
  .mini-calendar-card, .appointment-board { border-radius: 20px; }
  .booking-card { grid-template-columns: 58px 1fr; }
  .booking-card em { grid-column: 2; justify-self: start; }
  .appointment-lane::before { left: 38px; }
  .booking-card::before { left: 33px; }
  .calendar-feature-list div { padding-left: 46px; }
  .calendar-toolbar strong { font-size: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  .smart-calendar { transform: none !important; }
}
