:root {
  --bg-page: #f3f4f6;
  --bg-soft: #e5f2ff;
  --bg-card: #ffffff;
  --border-soft: #e2e8f0;
  --accent: #2563eb;
  --accent-soft: #dbeafe;
  --accent-strong: #0ea5e9;
  --text-main: #0f172a;
  --text-muted: #6b7280;
  --radius-lg: 18px;
  --radius-md: 12px;
  --shadow-soft: 0 18px 40px rgba(148, 163, 184, 0.3);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Poppins", sans-serif;
  color: var(--text-main);
  background:
    radial-gradient(circle at top left, rgba(59, 130, 246, 0.18), transparent 55%),
    radial-gradient(circle at bottom right, rgba(56, 189, 248, 0.2), transparent 55%),
    var(--bg-page);
}

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

a {
  color: inherit;
}

/* Layout */
.container {
  width: min(1120px, 100% - 3rem);
  margin-inline: auto;
}

.section {
  padding: 3.5rem 0;
}

.section-soft {
  padding: 3rem 0;
  background: linear-gradient(135deg, #eff6ff, #f9fafb);
}

.section-header {
  text-align: center;
  margin-bottom: 2rem;
}

.section-header h2 {
  font-size: 1.8rem;
  margin-bottom: 0.3rem;
}

.section-header p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.98rem;
}

.section-header.align-left {
  text-align: left;
}

/* Top strip */
.top-strip {
  background: #0f172a;
  color: #e5e7eb;
  font-size: 0.82rem;
}

.strip-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem;
  padding: 0.45rem 0;
}

.strip-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.8);
}

.strip-pill i {
  color: var(--accent-soft);
}

.strip-text {
  opacity: 0.9;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(16px);
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid #e5e7eb;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.logo {
  height: 48px;
  width: auto;
  border-radius: 10px;
  background: #f3f4f6;
  padding: 4px 6px;
  box-shadow: 0 4px 12px rgba(148, 163, 184, 0.5);
}

.brand-copy {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.02em;
}

.brand-tagline {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.main-nav a {
  margin-left: 1.3rem;
  font-size: 0.9rem;
  color: #4b5563;
  text-decoration: none;
  position: relative;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.3rem;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(to right, var(--accent), var(--accent-strong));
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease-out;
}

.main-nav a:hover {
  color: var(--accent);
}

.main-nav a:hover::after {
  transform: scaleX(1);
}

/* Hero */
.hero {
  padding: 3rem 0 2.75rem;
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 2.6rem;
  align-items: center;
}

.hero-copy h1 {
  font-size: clamp(2rem, 3vw, 2.7rem);
  margin-bottom: 0.4rem;
}

.hero-copy p {
  color: var(--text-muted);
  max-width: 470px;
  font-size: 0.98rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.4rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 0.65rem 1.5rem;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s, transform 0.15s;
}

.btn i {
  font-size: 0.9rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #f9fafb;
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.5);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 40px rgba(37, 99, 235, 0.8);
}

.btn-outline {
  background: #ffffff;
  border-color: #cbd5f5;
  color: #1d4ed8;
}

.btn-outline:hover {
  background: #eff6ff;
  border-color: var(--accent);
}

.hero-chips {
  margin-top: 1.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  font-size: 0.82rem;
}

.hero-chips span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.42rem 0.85rem;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  box-shadow: 0 4px 14px rgba(148, 163, 184, 0.4);
}

.hero-chips i {
  color: var(--accent);
}

/* Hero panel */
.hero-panel {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-orbit {
  position: absolute;
  border-radius: 999px;
  filter: blur(18px);
  opacity: 0.9;
}

.hero-orbit-1 {
  inset: 10% 5% 40% 0;
  background: radial-gradient(circle at 0 0, rgba(59, 130, 246, 0.45), transparent 60%);
}

.hero-orbit-2 {
  inset: 40% 0 0 25%;
  background: radial-gradient(circle at 100% 100%, rgba(56, 189, 248, 0.5), transparent 60%);
}

.hero-card {
  position: relative;
  width: min(340px, 100%);
  background: linear-gradient(145deg, #0f172a, #020617);
  color: #e5e7eb;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(148, 163, 184, 0.5);
  box-shadow: var(--shadow-soft);
  padding: 1rem;
  z-index: 1;
  animation: floatCard 7s ease-in-out infinite;
}

.hero-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}

.hero-card-header span:first-child i {
  color: var(--accent-soft);
  margin-right: 0.4rem;
}

.status-pill {
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  font-size: 0.75rem;
}

.status-ok {
  background: rgba(22, 163, 74, 0.18);
  color: #bbf7d0;
  border: 1px solid rgba(22, 163, 74, 0.8);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.metric-label {
  display: block;
  font-size: 0.7rem;
  color: #9ca3af;
}

.metric-value {
  font-size: 0.96rem;
  font-weight: 600;
}

.hero-stream {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.8rem;
}

.stream-item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(51, 65, 85, 0.9);
  width: fit-content;
}

.stream-item i {
  color: #4ade80;
}

/* Cards Grid */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.2rem;
}

.card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 1.1rem 1rem;
  border: 1px solid var(--border-soft);
  box-shadow: 0 10px 26px rgba(148, 163, 184, 0.3);
  transition: transform 0.25s ease-out, box-shadow 0.25s ease-out, border-color 0.2s ease-out;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 35px rgba(148, 163, 184, 0.5);
  border-color: var(--accent-soft);
}

.card-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: radial-gradient(circle at top left, var(--accent-soft), transparent 70%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.65rem;
}

.card-icon i {
  color: var(--accent);
  font-size: 1.15rem;
}

.card h3 {
  font-size: 1rem;
  margin: 0 0 0.25rem;
}

.card p {
  margin: 0;
  font-size: 0.86rem;
  color: var(--text-muted);
}

/* Who we help chips */
.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid #d1d5db;
  font-size: 0.86rem;
  box-shadow: 0 4px 14px rgba(148, 163, 184, 0.4);
}

.chip i {
  color: var(--accent);
}

/* Contact */
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.9fr);
  gap: 2.4rem;
  align-items: center;
}

.contact-details p {
  margin: 0.3rem 0;
  font-size: 0.96rem;
}

.contact-details i {
  margin-right: 0.5rem;
  color: var(--accent);
}

.contact-details a {
  text-decoration: none;
  color: #1d4ed8;
}

.contact-details a:hover {
  text-decoration: underline;
}

.contact-social {
  margin-top: 1rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.contact-social a {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border: 1px solid #d1d5db;
  color: #4b5563;
  text-decoration: none;
  font-size: 0.9rem;
  transition: border-color 0.2s, color 0.2s, background 0.2s, transform 0.15s;
}

.contact-social a:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-soft);
  transform: translateY(-1px);
}

.contact-aside {
  justify-self: end;
}

.business-card-wrap {
  position: relative;
  width: 260px;
  max-width: 100%;
  height: 170px;
}

.business-card {
  position: absolute;
  width: 190px;
  height: 115px;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 12px 25px rgba(148, 163, 184, 0.65);
  border: 1px solid #e5e7eb;
  overflow: hidden;
}

.business-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.front-card {
  top: 18px;
  left: 10px;
  transform: rotate(-4deg);
}

.back-card {
  top: 40px;
  right: 0;
  transform: rotate(6deg);
}

.contact-note {
  margin-top: 1.2rem;
  font-size: 0.86rem;
  color: var(--text-muted);
}

/* Chat widget */
.chat-widget {
  position: fixed;
  bottom: 1.1rem;
  right: 1.1rem;
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.chat-toggle {
  width: 54px;
  height: 54px;
  border-radius: 999px;
  border: none;
  background: radial-gradient(circle at top left, var(--accent), var(--accent-strong));
  color: #f9fafb;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 14px 35px rgba(37, 99, 235, 0.7);
  animation: pulseBubble 3s infinite;
  transition: transform 0.2s, box-shadow 0.2s;
}

.chat-toggle:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 45px rgba(37, 99, 235, 0.9);
}

.chat-window {
  width: 260px;
  max-width: 90vw;
  background: #ffffff;
  border-radius: 14px;
  border: 1px solid #d1d5db;
  box-shadow: 0 16px 40px rgba(148, 163, 184, 0.8);
  margin-bottom: 0.7rem;
  overflow: hidden;
  transform: translateY(8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease-out, transform 0.2s ease-out;
}

.chat-widget.open .chat-window {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.55rem 0.7rem;
  background: linear-gradient(to right, var(--accent), var(--accent-strong));
  color: #f9fafb;
  font-size: 0.9rem;
  font-weight: 600;
}

.chat-header i {
  margin-right: 0.4rem;
}

.chat-close {
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 1.15rem;
  color: #0f172a;
}

.chat-body {
  padding: 0.7rem;
  max-height: 190px;
  overflow-y: auto;
  font-size: 0.86rem;
  color: var(--text-main);
}

.chat-msg {
  margin: 0.25rem 0;
}

.chat-msg.bot {
  background: #f3f4f6;
  padding: 0.45rem 0.5rem;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
}

.chat-footer {
  padding: 0.65rem;
  border-top: 1px solid #e5e7eb;
  display: flex;
  gap: 0.4rem;
  background: #f9fafb;
}

.chat-action {
  flex: 1;
  border-radius: 999px;
  border: 1px solid #bfdbfe;
  background: #ffffff;
  color: #1d4ed8;
  font-size: 0.8rem;
  padding: 0.4rem 0.5rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.chat-action:hover {
  background: #eff6ff;
  border-color: var(--accent);
}

/* Footer */
.site-footer {
  border-top: 1px solid #e5e7eb;
  background: #ffffff;
}

.footer-inner {
  padding: 1rem 0;
  font-size: 0.82rem;
  color: var(--text-muted);
  text-align: center;
}

/* Animations */
@keyframes floatCard {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-7px);
  }
}

@keyframes pulseBubble {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.7);
  }
  70% {
    transform: scale(1.05);
    box-shadow: 0 0 0 14px rgba(37, 99, 235, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(37, 99, 235, 0);
  }
}

/* Responsive */
@media (max-width: 900px) {
  .hero-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero-panel {
    order: -1;
  }
  .cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .contact-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .contact-aside {
    justify-self: flex-start;
  }
}

@media (max-width: 700px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem;
  }
  .main-nav a {
    margin-left: 0;
    margin-right: 1rem;
  }
  .strip-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .cards-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .business-card-wrap {
    height: 150px;
  }
  .business-card {
    width: 170px;
    height: 105px;
  }
}
