@font-face {
  font-family: "Borscha";
  src: url("./assets/fonts/borscha/Borscha-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Borscha";
  src: url("./assets/fonts/borscha/Borscha-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #ffffff;
  --fg: #00142f;
  --muted: #64748b;
  --card: #ffffff;
  --soft: #f2f7fd;
  --border: #dbe6f2;
  --primary: #38a1fb;
  --primary-dark: #0b82dd;
  --success: #10b981;
  --danger: #ef4444;
  --shadow: 0 24px 70px rgba(12, 40, 80, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: Montserrat, Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Borscha", Montserrat, system-ui, sans-serif;
  letter-spacing: 0;
}

p {
  margin: 0;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  min-height: 76px;
  padding: 14px clamp(18px, 4vw, 72px);
  border-bottom: 1px solid rgba(219, 230, 242, 0.78);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px);
}

.brand img {
  display: block;
  width: 164px;
  height: auto;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 600;
}

.desktop-nav a:hover,
.ghost-link:hover,
.site-footer a:hover {
  color: var(--primary);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ghost-link {
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 700;
}

.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 12px;
  font-weight: 800;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.primary-button {
  color: #ffffff;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  box-shadow: 0 16px 36px rgba(56, 161, 251, 0.28);
}

.secondary-button {
  color: var(--fg);
  background: var(--card);
  border: 1px solid var(--border);
}

.primary-button:hover,
.secondary-button:hover {
  transform: translateY(-2px);
}

.secondary-button:hover {
  border-color: rgba(56, 161, 251, 0.45);
  box-shadow: 0 10px 30px rgba(12, 40, 80, 0.08);
}

.primary-button.small {
  min-height: 40px;
  padding: 0 16px;
  border-radius: 10px;
  font-size: 0.92rem;
}

.full {
  width: 100%;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 0.86fr);
  gap: clamp(42px, 6vw, 88px);
  align-items: center;
  max-width: 1240px;
  margin: 0 auto;
  padding: clamp(62px, 7vw, 96px) clamp(18px, 4vw, 64px) 92px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 18px;
  z-index: -1;
  background-image:
    linear-gradient(to right, rgba(56, 161, 251, 0.08) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(56, 161, 251, 0.08) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(circle at 40% 25%, black, transparent 68%);
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-bottom: 18px;
  border: 1px solid rgba(56, 161, 251, 0.18);
  border-radius: 999px;
  background: rgba(56, 161, 251, 0.09);
  padding: 8px 12px;
  color: var(--primary-dark);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 560px;
  font-size: clamp(3rem, 5.35vw, 5.15rem);
  line-height: 1;
  text-wrap: balance;
}

.hero p {
  max-width: 540px;
  margin-top: 24px;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.trust-row span {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 11px;
  background: #fff;
}

.hero-showcase {
  position: relative;
  min-height: 590px;
  isolation: isolate;
}

.phone-card,
.dashboard-card {
  border: 1px solid rgba(219, 230, 242, 0.9);
  background: var(--card);
  box-shadow: var(--shadow);
}

.phone-card {
  position: absolute;
  right: min(13vw, 150px);
  top: 16px;
  z-index: 1;
  width: min(300px, 84vw);
  min-height: 560px;
  border-radius: 42px;
  overflow: hidden;
  border: 8px solid #102033;
  background: #efeae2;
}

.phone-topbar {
  display: flex;
  justify-content: space-between;
  padding: 9px 18px;
  color: #ffffff;
  background: #202c33;
  font-size: 0.78rem;
  font-weight: 800;
}

.chat-header {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 14px;
  color: #ffffff;
  background: #008069;
}

.chat-header img {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: #ffffff;
  padding: 7px;
}

.chat-header small {
  display: block;
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.78);
}

.chat-body {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 22px 14px;
}

.bubble {
  max-width: 86%;
  border-radius: 14px;
  padding: 11px 13px;
  font-size: 0.94rem;
  line-height: 1.45;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.sent {
  align-self: flex-end;
  background: #d9fdd3;
  border-top-right-radius: 4px;
}

.received {
  align-self: flex-start;
  background: #ffffff;
  border-top-left-radius: 4px;
}

.dashboard-card {
  position: absolute;
  right: 0;
  bottom: 26px;
  z-index: 2;
  width: min(430px, 82vw);
  border-radius: 24px;
  padding: 24px;
}

.dashboard-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  font-weight: 900;
}

.dashboard-header img {
  width: 34px;
  height: 34px;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.metric {
  min-width: 0;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 13px;
  background: var(--soft);
}

.metric small {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
}

.metric strong {
  display: block;
  margin-top: 8px;
  font-size: 1rem;
  white-space: nowrap;
}

.success {
  color: var(--success);
}

.danger {
  color: var(--danger);
}

.chart-bars {
  display: flex;
  align-items: end;
  gap: 12px;
  height: 156px;
  margin-top: 24px;
  border-radius: 16px;
  background: linear-gradient(180deg, var(--soft), #ffffff);
  padding: 18px;
}

.chart-bars span {
  flex: 1;
  min-height: 18px;
  border-radius: 999px 999px 6px 6px;
  background: linear-gradient(180deg, var(--primary), var(--primary-dark));
}

.section {
  padding: clamp(76px, 8vw, 118px) clamp(18px, 4vw, 64px);
}

.muted {
  background: var(--soft);
  border-block: 1px solid var(--border);
}

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

.section-heading h2,
.cta-section h2 {
  font-size: clamp(2.15rem, 4vw, 4rem);
  line-height: 1.02;
}

.steps,
.feature-grid,
.pricing-grid {
  display: grid;
  max-width: 1120px;
  margin: 0 auto;
  gap: 20px;
}

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

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

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

.steps article,
.feature-grid article,
.plan-card,
.faq-list details {
  border: 1px solid var(--border);
  border-radius: 22px;
  background: var(--card);
  padding: 30px;
  box-shadow: 0 14px 38px rgba(12, 40, 80, 0.06);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.steps article:hover,
.feature-grid article:hover,
.plan-card:hover,
.faq-list details:hover {
  transform: translateY(-3px);
  border-color: rgba(56, 161, 251, 0.36);
  box-shadow: 0 20px 50px rgba(12, 40, 80, 0.1);
}

.step-number {
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  color: #ffffff;
  background: var(--primary);
  font-weight: 900;
  margin-bottom: 18px;
}

.steps h3,
.feature-grid h3,
.plan-card h3 {
  font-size: 1.4rem;
}

.steps p,
.feature-grid p,
.plan-card p,
.faq-list p,
.cta-section p {
  margin-top: 12px;
  color: var(--muted);
  line-height: 1.65;
}

.feature-grid article {
  min-height: 190px;
}

.plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.plan-card strong {
  font-size: 2.4rem;
}

.plan-card small {
  color: var(--muted);
  font-size: 0.95rem;
}

.plan-card ul {
  display: grid;
  gap: 11px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
}

.plan-card li::before {
  content: "✓";
  margin-right: 9px;
  color: var(--success);
  font-weight: 900;
}

.highlighted {
  border-color: rgba(56, 161, 251, 0.5);
  box-shadow: 0 24px 70px rgba(56, 161, 251, 0.18);
  transform: translateY(-10px);
}

.badge {
  width: fit-content;
  border-radius: 999px;
  background: var(--primary);
  color: #ffffff;
  padding: 7px 10px;
  font-size: 0.78rem;
  font-weight: 900;
}

.faq-section {
  background: #ffffff;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: grid;
  gap: 14px;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 900;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.cta-section {
  max-width: 1080px;
  margin: 0 auto clamp(42px, 6vw, 72px);
  border: 1px solid rgba(56, 161, 251, 0.18);
  border-radius: 34px;
  background:
    radial-gradient(circle at 50% 0%, rgba(56, 161, 251, 0.18), transparent 46%),
    var(--soft);
  padding: clamp(64px, 8vw, 104px) 24px;
  text-align: center;
}

.cta-section .primary-button {
  margin-top: 34px;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
  border-top: 1px solid var(--border);
  padding: 28px 18px;
  color: var(--muted);
  font-weight: 700;
}

.site-footer img {
  width: 30px;
  height: 30px;
}

@media (max-width: 980px) {
  .desktop-nav,
  .ghost-link {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 54px;
  }

  .hero-showcase {
    min-height: auto;
    display: grid;
    gap: 20px;
    justify-items: center;
  }

  .phone-card {
    position: static;
  }

  .dashboard-card {
    position: static;
    width: min(520px, 100%);
  }

  .steps,
  .feature-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .highlighted {
    transform: none;
  }
}

@media (max-width: 560px) {
  .site-header {
    min-height: 64px;
  }

  .brand img {
    width: 138px;
  }

  .header-actions .primary-button {
    display: none;
  }

  .hero {
    padding-top: 52px;
  }

  .hero h1 {
    font-size: clamp(2.65rem, 15vw, 4.2rem);
  }

  .hero-actions,
  .primary-button,
  .secondary-button {
    width: 100%;
  }

  .metric-grid {
    grid-template-columns: 1fr;
  }

  .phone-card {
    width: min(300px, 100%);
    min-height: 520px;
  }

  .dashboard-card {
    padding: 18px;
  }
}
