:root {
  --bg: #07111f;
  --bg-deep: #030712;
  --surface: rgba(255, 255, 255, 0.055);
  --surface-strong: rgba(255, 255, 255, 0.09);
  --surface-card: linear-gradient(180deg, rgba(255, 255, 255, 0.105), rgba(255, 255, 255, 0.045));
  --border: rgba(255, 255, 255, 0.13);
  --border-strong: rgba(125, 211, 252, 0.35);
  --text: #f8fafc;
  --muted: #b7c4d8;
  --muted-2: #8ea0ba;
  --blue: #38bdf8;
  --blue-deep: #2563eb;
  --violet: #8b5cf6;
  --green: #34d399;
  --mint: #5eead4;
  --amber: #fbbf24;
  --danger: #ef4444;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
  --shadow-soft: 0 16px 42px rgba(0, 0, 0, 0.24);
  --radius-xl: 22px;
  --radius-lg: 16px;
  --radius-md: 12px;
  --font-main: "Noto Sans Georgian", "Inter", system-ui, sans-serif;
  --max-width: 1180px;
  --section: clamp(72px, 9vw, 118px);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-main);
  line-height: 1.65;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

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

button {
  border: 0;
}

:focus-visible {
  outline: 3px solid rgba(56, 189, 248, 0.85);
  outline-offset: 4px;
}

.skip-link {
  position: absolute;
  top: -48px;
  left: 16px;
  z-index: 9999;
  padding: 10px 14px;
  border-radius: 0 0 10px 10px;
  background: var(--blue);
  color: #02111f;
  font-weight: 800;
  text-decoration: none;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 0;
}

.container {
  width: min(100% - 32px, var(--max-width));
  margin-inline: auto;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(3, 7, 18, 0.72);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 78px;
}

.logo {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  text-decoration: none;
}

.logo img {
  width: auto;
  height: 44px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.logo:hover img {
  transform: translateY(-1px);
  opacity: 0.92;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-menu a {
  border-radius: 999px;
  padding: 10px 14px;
  color: var(--muted);
  font-size: 0.93rem;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-menu a:hover,
.nav-menu a:focus-visible,
.nav-menu a.is-active {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
}

.mobile-menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.07);
  cursor: pointer;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  flex: 0 0 auto;
  border-radius: 14px;
  padding: 11px 18px;
  background: linear-gradient(135deg, #38bdf8, #1d4ed8);
  color: #ffffff;
  font-size: 0.92rem;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 14px 28px rgba(29, 78, 216, 0.24);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.header-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(29, 78, 216, 0.34);
}

.mobile-menu-toggle span {
  grid-column: 1;
  grid-row: 1;
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: var(--text);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.mobile-menu-toggle span:nth-child(1) {
  transform: translateY(-7px);
}

.mobile-menu-toggle span:nth-child(3) {
  transform: translateY(7px);
}

.mobile-menu-toggle.is-open span:nth-child(1) {
  transform: rotate(45deg);
}

.mobile-menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.is-open span:nth-child(3) {
  transform: rotate(-45deg);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 13px 20px;
  border-radius: 13px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

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

.btn-primary {
  background: linear-gradient(135deg, #38bdf8, #1d4ed8);
  color: #ffffff;
  box-shadow: 0 16px 34px rgba(29, 78, 216, 0.26);
}

.btn-primary:hover {
  box-shadow: 0 20px 42px rgba(29, 78, 216, 0.34);
}

.btn-secondary,
.btn-outline {
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.075);
  color: var(--text);
}

.btn-secondary:hover,
.btn-outline:hover {
  border-color: rgba(56, 189, 248, 0.45);
  background: rgba(56, 189, 248, 0.12);
}

section {
  padding: var(--section) 0;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 42px;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  margin-bottom: 12px;
  border: 1px solid rgba(56, 189, 248, 0.2);
  border-radius: 999px;
  padding: 7px 12px;
  background: rgba(56, 189, 248, 0.08);
  color: #bae6fd;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3.15rem);
  line-height: 1.18;
  font-weight: 800;
}

.section-lead {
  margin-top: 14px;
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.12rem);
}

.grid {
  display: grid;
  gap: 22px;
}

.hero {
  position: relative;
  min-height: min(820px, calc(100vh - 78px));
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: clamp(72px, 8vw, 112px) 0 clamp(64px, 7vw, 94px);
  background:
    radial-gradient(circle at 78% 24%, rgba(56, 189, 248, 0.2), transparent 32%),
    radial-gradient(circle at 18% 18%, rgba(94, 234, 212, 0.12), transparent 34%),
    radial-gradient(circle at 36% 92%, rgba(139, 92, 246, 0.14), transparent 34%),
    linear-gradient(118deg, #07111f 0%, #0e2540 48%, #081522 100%);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(18px);
}

.hero::before {
  width: 720px;
  height: 720px;
  right: -14%;
  top: -30%;
  background: radial-gradient(circle, rgba(125, 211, 252, 0.12), transparent 66%);
}

.hero::after {
  width: 520px;
  height: 520px;
  left: 8%;
  bottom: -30%;
  background: radial-gradient(circle, rgba(52, 211, 153, 0.12), transparent 68%);
}

.hero-container {
  position: relative;
  z-index: 1;
  display: grid;
  width: min(100% - 32px, 1200px);
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  align-items: start;
  gap: clamp(22px, 3vw, 34px);
}

.hero-content {
  width: 100%;
  max-width: 940px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  overflow: visible;
  text-align: center;
}

.hero h1 {
  max-width: 980px;
  margin: 0 auto;
  font-size: clamp(34px, 4.7vw, 58px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: 0;
  text-wrap: balance;
  overflow-wrap: normal;
  word-break: normal;
}

.hero h1 span {
  display: block;
  white-space: nowrap;
}

.hero p {
  max-width: 600px;
  margin: 0 auto;
  color: rgba(226, 232, 240, 0.84);
  font-size: clamp(1.05rem, 1.45vw, 1.22rem);
  line-height: 1.72;
  text-align: center;
}

.hero-copy {
  width: 100%;
  max-width: 760px;
  display: grid;
  justify-items: center;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 28px;
}

.hero-actions .btn {
  min-height: 58px;
  padding: 16px 26px;
  border-radius: 16px;
  font-size: 1rem;
}

.hero-actions .btn-primary {
  background: linear-gradient(135deg, #38bdf8 0%, #2563eb 52%, #1d4ed8 100%);
  box-shadow: 0 20px 44px rgba(37, 99, 235, 0.34);
}

.hero-actions .btn-secondary {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 16px 36px rgba(3, 7, 18, 0.18);
  backdrop-filter: blur(14px);
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
  list-style: none;
  color: rgba(226, 232, 240, 0.88);
  font-weight: 700;
}

.hero-points li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.055);
  font-size: 0.9rem;
  line-height: 1.35;
  backdrop-filter: blur(12px);
}

.hero-points i {
  margin-top: 4px;
  color: var(--green);
  font-size: 0.8rem;
}

.hero-visual {
  position: relative;
  width: 100%;
  max-width: 920px;
  justify-self: center;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: -28px;
  z-index: -1;
  border-radius: 42px;
  background:
    linear-gradient(135deg, rgba(56, 189, 248, 0.18), rgba(94, 234, 212, 0.08)),
    rgba(255, 255, 255, 0.04);
  filter: blur(20px);
}

.hero-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 24px;
  background: #f8fafc;
  box-shadow: 0 28px 90px rgba(3, 7, 18, 0.38);
  color: #0f172a;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  will-change: transform;
}

.hero-dashboard {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  min-height: 560px;
}

.mock-mobile-toolbar {
  display: none;
}

.mock-browser {
  background: #ffffff;
}

.mock-app-menu-toggle {
  display: none;
}

.mock-browser-bar {
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid #e2e8f0;
  padding: 10px 12px;
  background: #f8fafc;
}

.mock-browser-dots,
.mock-browser-controls {
  display: flex;
  align-items: center;
  gap: 7px;
}

.mock-browser-dots span {
  width: 9px;
  height: 9px;
  border-radius: 999px;
}

.mock-browser-dots span:nth-child(1) {
  background: #fb7185;
}

.mock-browser-dots span:nth-child(2) {
  background: #facc15;
}

.mock-browser-dots span:nth-child(3) {
  background: #34d399;
}

.mock-browser-controls {
  color: #94a3b8;
  font-size: 0.68rem;
}

.mock-address {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  border: 1px solid #dbe4f0;
  border-radius: 999px;
  padding: 7px 12px;
  background: #ffffff;
  color: #64748b;
  font-size: 0.72rem;
  font-weight: 800;
}

.mock-address span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero-frame:hover,
.hero-frame:focus-within {
  transform: scale(1.035);
  box-shadow: 0 34px 100px rgba(3, 7, 18, 0.46);
}

.mock-sidebar {
  border-right: 1px solid #e2e8f0;
  padding: 14px 10px;
  background: #ffffff;
}

.mock-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  color: #111827;
  font-size: 0.78rem;
}

.mock-brand img {
  width: 28px;
  height: 28px;
}

.mock-sidebar > span {
  display: block;
  margin: 12px 0 7px;
  color: #94a3b8;
  font-size: 0.54rem;
  font-weight: 700;
  text-transform: uppercase;
}

.mock-sidebar > span:first-of-type {
  margin-top: 0;
}

.mock-sidebar ul {
  display: grid;
  gap: 4px;
  list-style: none;
}

.mock-sidebar li {
  padding: 0;
}

.mock-sidebar button {
  display: flex;
  align-items: center;
  gap: 7px;
  width: 100%;
  border: 0;
  border-radius: 9px;
  padding: 7px;
  background: transparent;
  color: #64748b;
  font-size: 0.64rem;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.mock-sidebar button.is-active,
.mock-sidebar button:hover,
.mock-mobile-toolbar button.is-active,
.mock-mobile-toolbar button:hover {
  background: #f1e7ff;
  color: #8b35e8;
}

.mock-main {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 14px;
  padding: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  min-height: 0;
  overflow: hidden;
}

.mock-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.mock-topbar strong {
  display: block;
  font-size: 1.05rem;
}

.mock-topbar span {
  display: block;
  margin-top: 4px;
  color: #64748b;
  font-size: 0.72rem;
}

.mock-topbar button {
  border: 0;
  border-radius: 10px;
  padding: 9px 12px;
  background: #9333ea;
  color: #ffffff;
  font-weight: 800;
}

.mock-kpis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.mock-card,
.mock-panel {
  border: 1px solid #dbe4f0;
  border-radius: 13px;
  background: #ffffff;
}

.mock-card {
  min-height: 118px;
  padding: 14px;
}

.mock-card span,
.mock-card small {
  display: block;
  color: #64748b;
  font-size: 0.68rem;
  font-weight: 700;
}

.mock-card strong {
  display: block;
  margin: 12px 0 8px;
  font-size: clamp(1rem, 1.9vw, 1.28rem);
  letter-spacing: 0.02em;
}

.dashboard-kpis {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.dashboard-card {
  min-height: 150px;
}

.mock-view {
  display: grid;
  align-content: start;
  gap: 14px;
  min-height: 420px;
  transition: opacity 0.18s ease, filter 0.18s ease, transform 0.18s ease;
}

.mock-view[hidden] {
  display: none;
}

.mock-page-loader {
  position: absolute;
  inset: 66px 18px 18px;
  z-index: 5;
  display: none;
  place-items: center;
  gap: 10px;
  border: 1px solid #dbe4f0;
  border-radius: 16px;
  background: rgba(248, 250, 252, 0.82);
  color: #64748b;
  font-size: 0.78rem;
  font-weight: 900;
  backdrop-filter: blur(6px);
  pointer-events: none;
}

.mock-page-loader span {
  width: 28px;
  height: 28px;
  border: 3px solid #e9d5ff;
  border-top-color: #9333ea;
  border-radius: 999px;
  animation: mock-spin 0.8s linear infinite;
}

.mock-browser.is-loading .mock-page-loader {
  display: grid;
}

.mock-browser.is-loading .mock-view.is-active {
  opacity: 0.28;
  filter: blur(2px);
  transform: translateY(3px);
}

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

.mock-dashboard-summary {
  display: grid;
  grid-template-columns: 0.9fr 1.4fr;
  gap: 10px;
}

.mock-invoice-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 12px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 10px;
  background: #f8fafc;
  color: #334155;
  font-size: 0.74rem;
  font-weight: 800;
  cursor: pointer;
}

.mock-invoice-link + .mock-invoice-link {
  margin-top: 8px;
}

.mock-invoice-link strong {
  color: #22c55e;
}

.mock-invoice-flow {
  display: grid;
  gap: 12px;
}

.mock-stepper {
  display: flex;
  justify-content: center;
  gap: 20px;
  color: #6b21a8;
  font-size: 0.68rem;
  font-weight: 900;
}

.mock-stepper span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  position: relative;
}

.mock-stepper span + span::before {
  content: "";
  width: 28px;
  height: 1px;
  margin-right: 2px;
  background: #9333ea;
}

.mock-stepper i {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border: 1px solid #9333ea;
  border-radius: 999px;
  color: #9333ea;
  font-size: 0.66rem;
}

.mock-party-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.mock-party-card,
.mock-invoice-section {
  border: 1px solid #dbe4f0;
  border-radius: 12px;
  background: #ffffff;
}

.mock-party-card strong,
.mock-invoice-section > strong {
  display: block;
  padding: 10px 12px;
  border-bottom: 1px solid #e2e8f0;
  font-size: 0.75rem;
}

.mock-party-card dl {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr);
  gap: 6px 10px;
  padding: 10px 12px;
  font-size: 0.64rem;
}

.mock-party-card dt {
  color: #64748b;
}

.mock-party-card dd {
  min-width: 0;
  overflow: hidden;
  text-align: right;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 800;
}

.mock-invoice-section > span,
.mock-invoice-section > small {
  display: block;
  padding: 12px;
  font-size: 0.72rem;
}

.mock-invoice-section > small {
  padding-top: 0;
  color: #64748b;
  font-size: 0.62rem;
}

.mock-invoice-product-line,
.mock-invoice-final-total {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 10px;
  padding: 11px 12px;
  border-top: 1px solid #e2e8f0;
  font-size: 0.72rem;
}

.mock-invoice-product-line small {
  color: #64748b;
}

.mock-invoice-product-line b {
  color: #22c55e;
}

.mock-invoice-final-total {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}

.mock-invoice-final-total span {
  color: #64748b;
}

.mock-invoice-final-total strong {
  color: #9333ea;
  font-size: 1.15rem;
}

.mock-flow-actions {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.mock-flow-actions button {
  border: 1px solid #dbe4f0;
  border-radius: 10px;
  padding: 9px 12px;
  background: #ffffff;
  color: #0f172a;
  font-size: 0.72rem;
  font-weight: 900;
}

.mock-flow-actions button:last-child {
  border-color: #9333ea;
  background: #9333ea;
  color: #ffffff;
}

.mock-flow-success {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: center;
  gap: 8px;
  border-radius: 999px;
  padding: 10px 16px;
  background: #dcfce7;
  color: #15803d;
  font-size: 0.78rem;
  font-weight: 900;
}

.mock-invoice-row {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(220px, 0.85fr);
  gap: 10px;
}

.mock-invoice-builder,
.mock-invoice-preview {
  border: 1px solid #dbe4f0;
  border-radius: 13px;
  background: #ffffff;
}

.mock-invoice-builder {
  padding: 14px;
}

.mock-invoice-fields {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 10px;
}

.mock-invoice-fields span,
.mock-invoice-items div,
.mock-preview-client,
.mock-preview-total,
.mock-preview-status {
  border-radius: 10px;
  background: #f8fafc;
}

.mock-invoice-fields span {
  display: grid;
  gap: 5px;
  padding: 9px;
}

.mock-invoice-fields small,
.mock-invoice-items span,
.mock-preview-client span,
.mock-preview-total span {
  color: #64748b;
  font-size: 0.62rem;
  font-weight: 800;
}

.mock-invoice-fields strong {
  font-size: 0.72rem;
}

.mock-invoice-items {
  display: grid;
  gap: 7px;
}

.mock-invoice-items div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 9px;
  font-size: 0.72rem;
}

.mock-invoice-items strong {
  color: #22c55e;
}

.mock-invoice-builder button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 10px;
  border: 0;
  border-radius: 10px;
  padding: 9px 11px;
  background: linear-gradient(135deg, #38bdf8, #2563eb);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 900;
}

.mock-invoice-preview {
  display: grid;
  gap: 10px;
  padding: 14px;
}

.mock-preview-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid #e2e8f0;
}

.mock-preview-head strong {
  font-size: 1rem;
}

.mock-preview-head span {
  color: #64748b;
  font-size: 0.68rem;
  font-weight: 800;
}

.mock-preview-client,
.mock-preview-total {
  display: grid;
  gap: 4px;
  padding: 10px;
}

.mock-preview-total {
  background: #ecfeff;
}

.mock-preview-total strong {
  color: #0e7490;
  font-size: 1.08rem;
}

.mock-preview-status {
  padding: 9px;
  background: #dcfce7;
  color: #15803d;
  font-size: 0.68rem;
  font-weight: 900;
  text-align: center;
}

.mock-list-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(220px, 0.9fr);
  gap: 10px;
}

.mock-list-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 10px;
  background: #f8fafc;
  color: #334155;
  font-size: 0.74rem;
  font-weight: 800;
}

.mock-list-row + .mock-list-row {
  margin-top: 8px;
}

.mock-list-row strong {
  color: #22c55e;
}

.mock-list-row.is-expense strong {
  color: #fb7185;
}

.mock-detail-card {
  display: grid;
  gap: 8px;
  align-content: start;
  border: 1px solid #dbe4f0;
  border-radius: 13px;
  padding: 14px;
  background: #ffffff;
}

.mock-detail-card span,
.mock-detail-card p {
  color: #64748b;
  font-size: 0.72rem;
  font-weight: 700;
}

.mock-detail-card strong {
  font-size: 1.05rem;
}

.mock-page-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.mock-page-head strong {
  display: block;
  font-size: 1rem;
}

.mock-page-head span {
  display: block;
  margin-top: 4px;
  color: #64748b;
  font-size: 0.68rem;
  font-weight: 700;
}

.mock-page-head button {
  border: 0;
  border-radius: 10px;
  padding: 9px 12px;
  background: #9333ea;
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 900;
}

.mock-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.mock-mini-stat {
  border: 1px solid #dbe4f0;
  border-radius: 12px;
  padding: 12px;
  background: #ffffff;
}

.mock-mini-stat span,
.mock-mini-stat small {
  display: block;
  color: #64748b;
  font-size: 0.62rem;
  font-weight: 800;
}

.mock-mini-stat strong {
  display: block;
  margin: 8px 0 4px;
  font-size: 1rem;
}

.is-blue-text {
  color: #3b82f6;
}

.is-orange-text {
  color: #fb923c;
}

.mock-search {
  border: 1px solid #dbe4f0;
  border-radius: 10px;
  padding: 9px 11px;
  background: #ffffff;
  color: #94a3b8;
  font-size: 0.7rem;
  font-weight: 700;
}

.mock-table {
  overflow: hidden;
  border: 1px solid #dbe4f0;
  border-radius: 12px;
  background: #ffffff;
}

.mock-table > div {
  display: grid;
  grid-template-columns: 1fr 1fr 0.8fr 0.9fr;
  gap: 10px;
  align-items: center;
  min-height: 38px;
  padding: 9px 12px;
  border-top: 1px solid #e2e8f0;
  color: #334155;
  font-size: 0.66rem;
  font-weight: 800;
}

.mock-table > div:first-child {
  border-top: 0;
}

.mock-table-head {
  background: #f8fafc;
  color: #64748b !important;
  text-transform: none;
}

.mock-table strong {
  color: #22c55e;
}

.badge {
  justify-self: start;
  border-radius: 999px;
  padding: 4px 8px;
  background: #dcfce7;
  color: #16a34a;
  font-size: 0.58rem;
}

.badge.pending {
  background: #fef3c7;
  color: #d97706;
}

.badge.purple {
  background: #f3e8ff;
  color: #9333ea;
}

.mock-doc-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.mock-doc-card {
  display: grid;
  gap: 8px;
  min-height: 128px;
  border: 1px solid #bfdbfe;
  border-radius: 13px;
  padding: 14px;
  background: #ffffff;
}

.mock-doc-card > i {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: #eaf2ff;
  color: #3b82f6;
}

.mock-doc-card strong {
  font-size: 0.82rem;
}

.mock-doc-card span {
  color: #64748b;
  font-size: 0.66rem;
  font-weight: 700;
  line-height: 1.45;
}

.mock-doc-card small {
  align-self: end;
  color: #3b82f6;
  font-size: 0.66rem;
  font-weight: 900;
}

.mock-doc-card.is-purple {
  border-color: #d8b4fe;
  background: linear-gradient(135deg, #faf5ff, #ffffff);
}

.mock-doc-card.is-purple > i {
  background: #f3e8ff;
  color: #9333ea;
}

.mock-doc-card.is-purple small {
  color: #9333ea;
}

.mock-doc-card.is-green-card {
  border-color: #bbf7d0;
}

.mock-doc-card.is-green-card > i {
  background: #dcfce7;
  color: #22c55e;
}

.mock-doc-card.is-green-card small {
  color: #22c55e;
}

.mock-doc-card.is-orange {
  border-color: #fed7aa;
}

.mock-doc-card.is-orange > i {
  background: #ffedd5;
  color: #fb923c;
}

.mock-doc-card.is-orange small {
  color: #fb923c;
}

.is-green {
  color: #22c55e;
}

.is-red {
  color: #fb7185;
}

.is-purple {
  color: #8b5cf6;
}

.mock-panels {
  display: grid;
  grid-template-columns: 0.9fr 1.5fr;
  gap: 10px;
}

.mock-panel {
  min-height: 170px;
  padding: 14px;
}

.mock-panel-title {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 0.78rem;
}

.mock-panel-title span {
  color: #9333ea;
  font-size: 0.68rem;
  font-weight: 800;
}

.mock-client {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 10px;
  color: #334155;
  font-size: 0.74rem;
}

.mock-client + .mock-client {
  margin-top: 8px;
}

.mock-client strong {
  color: #22c55e;
}

.mock-bars {
  display: flex;
  align-items: end;
  justify-content: center;
  gap: 24px;
  height: 112px;
  border-bottom: 1px dashed #cbd5e1;
}

.bar {
  width: 42px;
  border-radius: 6px 6px 0 0;
}

.bar.income {
  height: 104px;
  background: #10b981;
}

.bar.expense {
  height: 86px;
  background: #f43f5e;
}

.mock-legend {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 14px;
  color: #64748b;
  font-size: 0.68rem;
  font-weight: 700;
}

.mock-legend i {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 4px;
  border-radius: 999px;
}

.income-dot {
  background: #10b981;
}

.expense-dot {
  background: #f43f5e;
}


.services,
.invoice-demo,
.why-resulta,
.proof,
.faq {
  background:
    radial-gradient(circle at 82% 10%, rgba(94, 234, 212, 0.08), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.018), rgba(255, 255, 255, 0));
}

.services-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.value-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.proof-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  position: relative;
  min-width: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background: var(--surface-card);
  box-shadow: var(--shadow-soft);
}

.feature-card {
  min-height: 285px;
  padding: 28px;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-strong);
  background: linear-gradient(180deg, rgba(56, 189, 248, 0.12), rgba(255, 255, 255, 0.045));
}

.invoice-demo {
  background:
    radial-gradient(circle at 12% 12%, rgba(139, 92, 246, 0.12), transparent 32%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.012), rgba(255, 255, 255, 0.04));
}

.invoice-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 18px;
  align-items: stretch;
}

.invoice-builder,
.invoice-preview {
  border: 1px solid var(--border);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.065);
  box-shadow: var(--shadow-soft);
}

.invoice-builder {
  padding: 22px;
}

.invoice-window-bar {
  display: flex;
  gap: 7px;
  margin-bottom: 20px;
}

.invoice-window-bar span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.58);
}

.invoice-window-bar span:nth-child(1) {
  background: #fb7185;
}

.invoice-window-bar span:nth-child(2) {
  background: #facc15;
}

.invoice-window-bar span:nth-child(3) {
  background: #34d399;
}

.invoice-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.invoice-form-grid label {
  display: grid;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 13px;
  color: rgba(203, 213, 225, 0.78);
  font-size: 0.78rem;
  font-weight: 800;
}

.invoice-form-grid span,
.invoice-item-row,
.invoice-create-btn {
  color: #ffffff;
}

.invoice-form-grid span {
  font-size: 0.96rem;
}

.invoice-items {
  margin-top: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  overflow: hidden;
}

.invoice-item-row {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) 70px 110px;
  gap: 10px;
  padding: 13px 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
}

.invoice-item-row:first-child {
  border-top: 0;
}

.invoice-item-head {
  background: rgba(56, 189, 248, 0.1);
  color: rgba(203, 213, 225, 0.82);
  font-size: 0.76rem;
  font-weight: 800;
}

.invoice-item-row strong {
  color: #34d399;
}

.invoice-create-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  border: 0;
  border-radius: 14px;
  padding: 13px 17px;
  background: linear-gradient(135deg, #38bdf8, #2563eb);
  font-weight: 900;
}

.invoice-preview {
  padding: 24px;
  background: #ffffff;
  color: #0f172a;
}

.invoice-preview-head,
.invoice-preview-lines div,
.invoice-total,
.invoice-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.invoice-preview-head {
  padding-bottom: 18px;
  border-bottom: 1px solid #e2e8f0;
}

.invoice-preview-head strong {
  display: block;
  font-size: 1.35rem;
}

.invoice-preview-head span,
.invoice-preview-meta span,
.invoice-preview-lines span,
.invoice-total span {
  color: #64748b;
  font-size: 0.82rem;
  font-weight: 700;
}

.invoice-preview-meta {
  display: grid;
  gap: 6px;
  margin-top: 18px;
  border-radius: 14px;
  padding: 14px;
  background: #f8fafc;
}

.invoice-preview-lines {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.invoice-preview-lines div {
  padding-bottom: 12px;
  border-bottom: 1px solid #e2e8f0;
}

.invoice-total {
  margin-top: 18px;
  border-radius: 16px;
  padding: 16px;
  background: #ecfeff;
}

.invoice-total strong {
  color: #0e7490;
  font-size: 1.35rem;
}

.invoice-status {
  justify-content: center;
  margin-top: 16px;
  border-radius: 999px;
  padding: 10px 12px;
  background: #dcfce7;
  color: #15803d;
  font-size: 0.86rem;
  font-weight: 900;
}

.value-card,
.proof-card {
  min-height: 100%;
  padding: 28px;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.value-card:hover,
.proof-card:hover {
  transform: translateY(-4px);
  border-color: rgba(94, 234, 212, 0.34);
  background: linear-gradient(180deg, rgba(94, 234, 212, 0.105), rgba(255, 255, 255, 0.045));
}

.card-icon,
.package-icon,
.quote-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 18px;
  border: 1px solid rgba(56, 189, 248, 0.24);
  border-radius: 15px;
  background: rgba(56, 189, 248, 0.1);
  color: #7dd3fc;
  font-size: 1.3rem;
}

.card h3,
.step-card h3 {
  font-size: 1.18rem;
  line-height: 1.35;
  font-weight: 800;
}

.card p,
.step-card p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.96rem;
}

.steps {
  background:
    linear-gradient(180deg, rgba(3, 7, 18, 0.22), rgba(3, 7, 18, 0.48)),
    radial-gradient(circle at 50% 0%, rgba(56, 189, 248, 0.13), transparent 40%);
}

.steps-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  counter-reset: steps;
}

.step-card {
  padding: 30px;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.045);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.step-card:hover {
  transform: translateY(-4px);
  border-color: rgba(56, 189, 248, 0.32);
}

.step-number {
  margin-bottom: 26px;
  color: rgba(125, 211, 252, 0.72);
  font-size: clamp(2.9rem, 6vw, 4.3rem);
  font-weight: 800;
  line-height: 0.9;
}

.packages {
  background:
    radial-gradient(circle at 50% 0%, rgba(56, 189, 248, 0.18), transparent 38%),
    linear-gradient(180deg, rgba(4, 13, 28, 0.94), rgba(7, 17, 31, 0.98));
}

.packages-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}

.package-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 30px;
  overflow: visible;
}

.package-card.featured {
  border-color: rgba(56, 189, 248, 0.55);
  background:
    linear-gradient(180deg, rgba(56, 189, 248, 0.16), rgba(255, 255, 255, 0.06)),
    rgba(255, 255, 255, 0.06);
  box-shadow: 0 26px 80px rgba(37, 99, 235, 0.28);
  transform: translateY(-14px);
}

.package-card[aria-current="true"]::after {
  content: "არჩეულია";
  position: absolute;
  top: 24px;
  right: 24px;
  border: 1px solid rgba(52, 211, 153, 0.45);
  border-radius: 999px;
  padding: 6px 10px;
  background: rgba(52, 211, 153, 0.14);
  color: #bbf7d0;
  font-size: 0.74rem;
  font-weight: 900;
}

.popular-badge {
  position: absolute;
  top: -15px;
  left: 28px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border-radius: 999px;
  padding: 8px 13px;
  background: linear-gradient(135deg, var(--amber), #f97316);
  color: #1b1200;
  font-size: 0.78rem;
  font-weight: 900;
  box-shadow: 0 12px 28px rgba(251, 191, 36, 0.22);
}

.package-desc {
  min-height: 54px;
}

.price-wrapper {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 22px 0 20px;
  border-radius: 16px;
}

.price {
  color: #ffffff;
  font-size: clamp(2.35rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1;
}

.price-period {
  color: var(--muted-2);
  font-weight: 700;
}

.price-wrapper.highlighted .price {
  color: #e0f7ff;
}

.package-card ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0 0 26px;
  list-style: none;
}

.package-card li {
  display: flex;
  gap: 10px;
  color: var(--muted);
  font-size: 0.93rem;
}

.package-card li i {
  margin-top: 5px;
  color: var(--green);
  font-size: 0.82rem;
}

.package-card .btn {
  width: 100%;
  margin-top: auto;
}

.package-card.is-selected {
  border-color: rgba(52, 211, 153, 0.82);
  box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.15), var(--shadow-soft);
}

.testimonials-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.testimonial-card {
  padding: 30px;
}

.quote {
  margin-top: 0;
  color: #e6eef9;
  font-size: 1.05rem;
}

.author {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 18px;
}

.avatar {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--green));
  color: #03111f;
  font-weight: 900;
}

.author strong {
  display: block;
}

.author span {
  display: block;
  color: var(--muted-2);
  font-size: 0.9rem;
}

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 880px;
  margin-inline: auto;
}

.faq-item {
  padding: 0;
  overflow: hidden;
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: 100%;
  padding: 20px 22px;
  border: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
  list-style: none;
}

.faq-item h3 {
  font-size: 1rem;
}

.faq-icon {
  flex: 0 0 auto;
  color: var(--blue);
  transition: transform 0.2s ease;
}

.faq-item.is-open {
  border-color: rgba(56, 189, 248, 0.32);
}

.faq-item.is-open .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  padding: 0 22px;
  opacity: 0;
  transition: max-height 0.24s ease, padding 0.24s ease, opacity 0.2s ease;
}

.faq-item.is-open .faq-answer {
  max-height: 220px;
  padding-bottom: 22px;
  opacity: 1;
}

.faq-answer p {
  margin-top: 16px;
}

.contact {
  background:
    radial-gradient(circle at 18% 10%, rgba(52, 211, 153, 0.13), transparent 32%),
    linear-gradient(180deg, rgba(7, 17, 31, 0.96), rgba(3, 7, 18, 1));
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(28px, 5vw, 62px);
  align-items: start;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 28px;
  padding: clamp(26px, 5vw, 52px);
  background:
    linear-gradient(135deg, rgba(56, 189, 248, 0.1), rgba(255, 255, 255, 0.045)),
    rgba(255, 255, 255, 0.045);
  box-shadow: var(--shadow);
}

.contact-text h2 {
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.16;
  font-weight: 800;
}

.contact-text > p {
  margin-top: 16px;
  color: var(--muted);
  font-size: 1.05rem;
}

.contact-info {
  display: grid;
  gap: 14px;
  margin-top: 30px;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.contact-info-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #e8f4ff;
  font-weight: 700;
}

.contact-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border: 1px solid rgba(56, 189, 248, 0.24);
  border-radius: 13px;
  background: rgba(56, 189, 248, 0.1);
  color: #bae6fd;
}

.contact-form {
  display: grid;
  gap: 18px;
}

.form-group {
  display: grid;
  gap: 8px;
}

.form-group label {
  color: #dbeafe;
  font-size: 0.92rem;
  font-weight: 800;
}

.form-group label i {
  margin-right: 6px;
  color: #7dd3fc;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  padding: 14px 15px;
  background: rgba(3, 7, 18, 0.42);
  color: var(--text);
  resize: vertical;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(183, 196, 216, 0.62);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: rgba(56, 189, 248, 0.7);
  background: rgba(3, 7, 18, 0.58);
  box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.12);
  outline: none;
}

.form-group select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, rgba(226, 232, 240, 0.82) 50%),
    linear-gradient(135deg, rgba(226, 232, 240, 0.82) 50%, transparent 50%);
  background-position:
    calc(100% - 18px) calc(50% - 3px),
    calc(100% - 12px) calc(50% - 3px);
  background-repeat: no-repeat;
  background-size: 6px 6px, 6px 6px;
}

.form-group input.is-invalid,
.form-group select.is-invalid,
.form-group textarea.is-invalid {
  border-color: rgba(239, 68, 68, 0.8);
  box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.11);
}

.field-error {
  min-height: 1.2em;
  color: #fecaca;
  font-size: 0.84rem;
  font-weight: 700;
}

.form-status {
  min-height: 1.5em;
  border-radius: 14px;
  font-weight: 800;
}

.form-status.is-success,
.form-status.is-error {
  padding: 13px 15px;
}

.form-status.is-success {
  border: 1px solid rgba(52, 211, 153, 0.36);
  background: rgba(52, 211, 153, 0.13);
  color: #dcfce7;
}

.form-status.is-error {
  border: 1px solid rgba(239, 68, 68, 0.36);
  background: rgba(239, 68, 68, 0.12);
  color: #fee2e2;
}

.submit-btn {
  width: 100%;
}

.submit-btn.is-success {
  background: var(--green);
  color: #052016;
  box-shadow: 0 16px 34px rgba(52, 211, 153, 0.24);
}

.submit-btn.is-error {
  background: var(--danger);
  color: #ffffff;
  box-shadow: 0 16px 34px rgba(239, 68, 68, 0.22);
}

.pkg-notice {
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid rgba(52, 211, 153, 0.35);
  border-radius: 14px;
  padding: 13px 15px;
  background: rgba(52, 211, 153, 0.12);
  color: #eafff7;
  font-weight: 700;
}

.pkg-notice[hidden] {
  display: none;
}

.pkg-notice i {
  color: var(--green);
}

.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  background: #020617;
  padding: 42px 0;
  color: var(--muted);
  text-align: center;
}

.footer h2 {
  color: var(--text);
  font-size: 1.25rem;
  font-weight: 800;
}

@keyframes accordion-open {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin: 20px 0;
}

.social-links a {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.045);
  color: var(--muted);
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.social-links a:hover {
  transform: translateY(-2px);
  background: rgba(56, 189, 248, 0.14);
  color: #e0f7ff;
}

@media (max-width: 1080px) {
  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .mock-kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mock-stat-grid,
  .dashboard-kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mock-dashboard-summary,
  .mock-invoice-row,
  .mock-party-grid,
  .mock-list-layout,
  .mock-doc-grid,
  .invoice-workspace {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  body.menu-open::before {
    content: "";
    position: fixed;
    inset: 78px 0 0;
    z-index: 998;
    background: rgba(3, 7, 18, 0.54);
  }

  .mobile-menu-toggle {
    display: grid;
  }

  .header-cta {
    margin-left: auto;
    min-height: 42px;
    padding: 10px 14px;
    font-size: 0.84rem;
  }

  .nav-menu {
    position: fixed;
    top: 78px;
    left: 16px;
    right: 16px;
    z-index: 1001;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    padding: 14px;
    background: rgba(3, 7, 18, 0.96);
    box-shadow: var(--shadow);
  }

  .nav-menu.active {
    display: flex;
  }

  .nav-menu a,
  .nav-menu .nav-cta {
    margin-left: 0;
    padding: 13px 14px;
    border-radius: 12px;
  }

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

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

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

  .hero-visual {
    width: min(100%, 620px);
    max-width: 620px;
    justify-self: center;
    margin-top: 8px;
  }

  .mock-browser {
    max-width: 390px;
    margin: 0 auto;
    border: 8px solid #0f172a;
    border-radius: 34px;
    box-shadow: 0 28px 80px rgba(3, 7, 18, 0.46);
    height: 620px;
  }

  .hero-frame:hover,
  .hero-frame:focus-within {
    transform: none;
  }

  .hero-dashboard {
    position: relative;
    grid-template-columns: 1fr;
    grid-template-rows: minmax(0, 1fr);
    height: calc(620px - 39px);
    min-height: 0;
    overflow: hidden;
  }

  .hero-dashboard::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 4;
    display: none;
    background: rgba(15, 23, 42, 0.58);
    backdrop-filter: blur(2px);
  }

  .mock-browser.is-menu-open .hero-dashboard::after {
    display: block;
  }

  .mock-browser-bar {
    grid-template-columns: minmax(0, 1fr);
  }

  .mock-browser-controls,
  .mock-browser-dots {
    display: none;
  }

  .mock-app-menu-toggle {
    display: inline-grid;
    place-items: center;
    flex: 0 0 auto;
    width: 34px;
    height: 34px;
    border: 1px solid #dbe4f0;
    border-radius: 10px;
    background: #ffffff;
    color: #64748b;
  }

  .mock-sidebar {
    display: none;
  }

  .mock-mobile-toolbar {
    position: absolute;
    inset: 0 auto 0 0;
    z-index: 5;
    display: grid;
    align-content: start;
    width: min(74%, 290px);
    gap: 5px;
    overflow-y: auto;
    overscroll-behavior: contain;
    border-right: 1px solid #e2e8f0;
    padding: 14px 12px;
    background: #ffffff;
    transform: translateX(-104%);
    transition: transform 0.22s ease;
    scrollbar-width: thin;
    scrollbar-color: #94a3b8 #f1f5f9;
    -webkit-overflow-scrolling: touch;
  }

  .mock-browser.is-menu-open .mock-mobile-toolbar {
    transform: translateX(0);
  }

  .mock-mobile-menu-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin: -2px 0 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid #e2e8f0;
  }

  .mock-mobile-menu-head .mock-brand {
    margin: 0;
  }

  .mock-mobile-menu-head .mock-brand div {
    display: grid;
    gap: 2px;
  }

  .mock-mobile-menu-head .mock-brand span {
    color: #64748b;
    font-size: 0.54rem;
    font-weight: 700;
  }

  .mock-app-menu-close {
    display: inline-grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border: 1px solid #dbe4f0;
    border-radius: 9px;
    background: #f8fafc;
    color: #64748b;
  }

  .mock-mobile-toolbar > span {
    margin: 10px 0 4px;
    color: #94a3b8;
    font-size: 0.52rem;
    font-weight: 800;
    text-transform: uppercase;
  }

  .mock-mobile-toolbar button {
    display: flex;
    align-items: center;
    gap: 7px;
    width: 100%;
    border: 0;
    border-radius: 10px;
    padding: 8px 9px;
    background: transparent;
    color: #64748b;
    font-size: 0.68rem;
    font-weight: 800;
  }

  .mock-panels,
  .mock-dashboard-summary,
  .mock-invoice-row,
  .mock-party-grid,
  .mock-list-layout,
  .mock-doc-grid {
    grid-template-columns: 1fr;
  }

  .steps-grid,
  .packages-grid,
  .testimonials-grid,
  .proof-grid,
  .contact-wrapper {
    grid-template-columns: 1fr;
  }

  .package-card.featured {
    transform: none;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 24px, var(--max-width));
  }

  .header-inner {
    min-height: 70px;
  }

  .logo img {
    height: 38px;
  }

  .header-cta {
    width: 42px;
    padding: 0;
    border-radius: 12px;
    font-size: 0;
  }

  .header-cta i {
    font-size: 0.95rem;
  }

  body.menu-open::before,
  .nav-menu {
    top: 70px;
  }

  section {
    padding: 62px 0;
  }

  .hero h1 {
    font-size: clamp(30px, 8vw, 38px);
    line-height: 1.14;
  }

  .hero h1 span {
    white-space: normal;
  }

  .hero-content {
    padding: 0;
  }

  .hero p {
    max-width: 100%;
  }

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

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

  .hero-points {
    align-items: stretch;
  }

  .hero-points li {
    width: 100%;
    border-radius: 16px;
  }

  .hero-visual {
    display: grid;
    gap: 10px;
  }

  .hero-frame {
    border-radius: 26px;
  }

  .mock-browser-bar {
    gap: 6px;
    padding: 7px;
    min-height: 39px;
  }

  .mock-browser-dots span {
    width: 7px;
    height: 7px;
  }

  .mock-address {
    padding: 5px 8px;
    font-size: 0.54rem;
  }

  .mock-main {
    gap: 8px;
    height: 100%;
    padding: 8px 8px 18px;
    font-size: 0.74rem;
    min-height: 0;
    overflow: hidden;
    overscroll-behavior: contain;
    grid-template-rows: auto minmax(0, 1fr);
  }

  .mock-view {
    gap: 8px;
    min-height: 0;
    height: 100%;
    max-height: 100%;
    overflow-y: auto;
    padding: 0 2px 18px 0;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: #94a3b8 #f1f5f9;
    -webkit-overflow-scrolling: touch;
  }

  .mock-view::-webkit-scrollbar {
    width: 7px;
  }

  .mock-view::-webkit-scrollbar-track {
    border-radius: 999px;
    background: #f1f5f9;
  }

  .mock-view::-webkit-scrollbar-thumb {
    border: 2px solid #f1f5f9;
    border-radius: 999px;
    background: #94a3b8;
  }

  .mock-view::-webkit-scrollbar-thumb:hover {
    background: #64748b;
  }

  .mock-topbar {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px;
  }

  .mock-page-loader {
    inset: 50px 8px 8px;
    border-radius: 12px;
  }

  .mock-topbar strong,
  .mock-page-head strong {
    font-size: 0.78rem;
  }

  .mock-topbar span,
  .mock-page-head span {
    font-size: 0.52rem;
  }

  .mock-topbar button {
    padding: 6px 7px;
    font-size: 0.56rem;
  }

  .mock-kpis {
    grid-template-columns: 1fr;
  }

  .mock-stat-grid,
  .dashboard-kpis {
    grid-template-columns: 1fr;
  }

  .mock-page-head {
    display: grid;
  }

  .mock-table {
    display: grid;
    gap: 6px;
    overflow: visible;
    border: 0;
    background: transparent;
  }

  .mock-table-head {
    display: none !important;
  }

  .mock-table > div {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 4px 8px;
    min-height: auto;
    border: 1px solid #dbe4f0;
    border-radius: 10px;
    padding: 8px;
    background: #ffffff;
  }

  .mock-table > div:first-child {
    border-top: 1px solid #dbe4f0;
  }

  .mock-table > div:not(.mock-table-head) span:first-child {
    grid-column: 1 / -1;
    color: #0f172a;
    font-weight: 900;
  }

  .mock-table > div:not(.mock-table-head) span:nth-child(2) {
    color: #334155;
    font-weight: 900;
  }

  .mock-table > div:not(.mock-table-head) span:nth-child(3),
  .mock-table > div:not(.mock-table-head) b {
    justify-self: start;
    align-self: center;
  }

  .mock-table > div:not(.mock-table-head) strong {
    justify-self: end;
    align-self: center;
    white-space: nowrap;
  }

  .mock-invoice-fields {
    grid-template-columns: 1fr;
  }

  .mock-stepper {
    flex-wrap: wrap;
    gap: 10px;
  }

  .mock-stepper span + span::before {
    display: none;
  }

  .mock-party-card dl,
  .mock-invoice-product-line {
    grid-template-columns: 1fr;
  }

  .mock-party-card dd {
    text-align: left;
  }

  .mock-card {
    min-height: auto;
    padding: 8px;
  }

  .mock-card span,
  .mock-card small,
  .mock-mini-stat span,
  .mock-mini-stat small,
  .mock-table > div,
  .mock-search,
  .mock-panel-title,
  .mock-invoice-link,
    .mock-doc-card span,
    .mock-party-card dl,
    .mock-invoice-section > span {
    font-size: 0.5rem;
  }

  .mock-card strong,
  .mock-mini-stat strong {
    font-size: 0.78rem;
  }

  .mock-mini-stat,
  .mock-panel,
  .mock-invoice-section,
  .mock-party-card,
  .mock-doc-card {
    border-radius: 9px;
    padding: 8px;
  }

  .mock-mobile-toolbar {
    padding: 6px 8px;
  }

  .mock-mobile-toolbar button {
    gap: 4px;
    padding: 6px 7px;
    font-size: 0.55rem;
  }

  .mock-chart,
  .mock-invoice-preview {
    display: none;
  }

  .invoice-builder,
  .invoice-preview {
    border-radius: 18px;
    padding: 16px;
  }

  .invoice-form-grid,
  .invoice-item-row {
    grid-template-columns: 1fr;
  }

  .invoice-item-row {
    gap: 6px;
  }

  .services-grid,
  .value-grid,
  .proof-grid {
    grid-template-columns: 1fr;
  }

  .feature-card,
  .value-card,
  .proof-card,
  .package-card,
  .testimonial-card,
  .step-card {
    padding: 24px;
  }

  .faq-question {
    align-items: flex-start;
    padding: 18px;
  }

  .faq-answer {
    padding: 0 18px 18px;
  }

  .contact-wrapper {
    border-radius: 22px;
    padding: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .hero-frame:hover,
  .hero-frame:focus-within {
    transform: none;
  }

  .mock-page-loader span {
    animation: none;
  }
}
