:root {
  --blue: #1d4ed8;
  --gray: #334155;
  --light: #f8fafc;
  --white: #ffffff;
  --accent: #0ea5e9;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
  --radius: 14px;
  --transition: 0.25s ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  color: var(--gray);
  background: #eef2f7;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

h1,
h2,
h3,
h4 {
  color: var(--gray);
  letter-spacing: -0.4px;
}

.page {
  min-height: 100vh;
  background: radial-gradient(circle at 20% 20%, rgba(29, 78, 216, 0.08), transparent 32%),
    radial-gradient(circle at 80% 0%, rgba(14, 165, 233, 0.08), transparent 26%),
    #eef2f7;
}

.container {
  width: min(1200px, 92%);
  margin: 0 auto;
}

header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.brand .mark {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--blue), var(--accent));
  display: grid;
  place-items: center;
  color: var(--white);
  font-weight: 800;
}

.nav-links {
  display: flex;
  gap: 18px;
  align-items: center;
}

.nav-links a {
  font-weight: 600;
  padding: 10px 12px;
  border-radius: 10px;
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--blue);
  background: rgba(29, 78, 216, 0.08);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--blue), #1337a3);
  color: var(--white);
  padding: 12px 18px;
  border-radius: 12px;
  border: none;
  font-weight: 700;
  letter-spacing: 0.2px;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 12px 30px rgba(29, 78, 216, 0.35);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(29, 78, 216, 0.45);
}

.btn.secondary {
  background: transparent;
  color: var(--blue);
  border: 1px solid rgba(29, 78, 216, 0.3);
  box-shadow: none;
}

.section {
  padding: 80px 0;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}

.section-header h2 {
  margin: 0;
  font-size: 32px;
}

.section-subtitle {
  color: #556070;
  max-width: 700px;
}

.hero {
  padding: 110px 0 80px;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  align-items: center;
}

.hero-card {
  background: var(--white);
  border-radius: 18px;
  padding: 32px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.hero-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(29, 78, 216, 0.18), transparent 55%);
  pointer-events: none;
}

.hero h1 {
  font-size: clamp(36px, 4vw, 48px);
  margin: 0 0 16px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(29, 78, 216, 0.08);
  color: var(--blue);
  font-weight: 700;
  font-size: 14px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 24px 0 12px;
}

.points {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.point {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: #1f2a3d;
}

.stat-board {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 16px;
}

.stat {
  padding: 22px;
  border-radius: 14px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.stat .value {
  display: block;
  font-size: 28px;
  font-weight: 800;
  color: var(--blue);
}

.stat .label {
  color: #556070;
  font-weight: 600;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  transition: transform var(--transition);
}

.card:hover {
  transform: translateY(-4px);
}

.pill {
  display: inline-block;
  padding: 6px 12px;
  background: rgba(29, 78, 216, 0.08);
  color: var(--blue);
  border-radius: 999px;
  font-weight: 700;
  font-size: 12px;
  margin-bottom: 10px;
}

.services .card h3 {
  margin: 8px 0 10px;
}

.services .card p {
  color: #5a6375;
  margin: 0 0 12px;
}

.mockup {
  width: 100%;
  height: 140px;
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(29, 78, 216, 0.22), rgba(14, 165, 233, 0.16));
  display: grid;
  place-items: center;
  color: var(--white);
  font-weight: 800;
  letter-spacing: 0.8px;
}

.enterprise,
.reseller,
.franchise {
  background: var(--white);
  border-radius: 18px;
  padding: 32px;
  box-shadow: var(--shadow);
  margin-top: 18px;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.feature {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: #1f2a3d;
}

.feature span {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: rgba(29, 78, 216, 0.12);
  color: var(--blue);
  font-weight: 800;
}

.portfolio-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.filter-btn {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(51, 65, 85, 0.18);
  background: var(--white);
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn.active {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.portfolio-item {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  background: #0f172a;
  color: var(--white);
  box-shadow: var(--shadow);
}

.portfolio-item img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  filter: brightness(0.92);
}

.portfolio-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 6px 10px;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 10px;
  font-weight: 700;
}

.portfolio-caption {
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.clients-logos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
}

.client-card {
  background: var(--white);
  border-radius: 12px;
  padding: 16px;
  box-shadow: var(--shadow);
  display: grid;
  place-items: center;
  font-weight: 700;
  color: #1f2a3d;
}

.quote {
  background: var(--white);
  border-radius: 18px;
  padding: 32px;
  box-shadow: var(--shadow);
}

.quote form {
  display: grid;
  gap: 14px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
}

label {
  font-weight: 700;
  color: #1f2a3d;
}

input,
select,
textarea {
  width: 100%;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid rgba(51, 65, 85, 0.2);
  font-family: inherit;
  background: #f8fafc;
}

textarea {
  min-height: 110px;
}

.step {
  display: none;
}

.step.active {
  display: block;
}

.stepper {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.stepper span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(29, 78, 216, 0.2);
}

.stepper span.active {
  background: var(--blue);
}

.branches {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.branch {
  background: var(--white);
  border-radius: 14px;
  padding: 16px;
  box-shadow: var(--shadow);
}

.map {
  margin-top: 16px;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

footer {
  background: #0b1220;
  color: #d9e0ed;
  padding: 32px 0 20px;
  margin-top: 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.footer-brand {
  display: grid;
  gap: 8px;
}

.footer-links a {
  display: block;
  margin: 6px 0;
  color: #cbd5e1;
}

.live-chat {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 20;
}

.chat-toggle {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, var(--blue), var(--accent));
  color: var(--white);
  font-size: 22px;
  box-shadow: 0 14px 40px rgba(29, 78, 216, 0.45);
  cursor: pointer;
}

.chat-window {
  position: absolute;
  right: 0;
  bottom: 70px;
  width: 320px;
  background: var(--white);
  border-radius: 16px;
  box-shadow: var(--shadow);
  overflow: hidden;
  display: none;
}

.chat-window.active {
  display: block;
}

.chat-header {
  background: var(--blue);
  color: var(--white);
  padding: 14px;
  font-weight: 700;
}

.chat-body {
  padding: 14px;
}

.chat-body input,
.chat-body textarea {
  background: #f1f5f9;
}

.franchise-page {
  padding: 40px 0 80px;
}

.legal {
  background: var(--white);
  padding: 32px;
  border-radius: 18px;
  box-shadow: var(--shadow);
}

@media (max-width: 720px) {
  .nav-links {
    display: none;
  }
  header {
    position: static;
  }
  .section {
    padding: 60px 0;
  }
}

