:root {
  --bg: #f6f8fc;
  --card: #ffffff;
  --ink: #0f172a;
  --ink-soft: #334155;
  --line: #dbe3ef;
  --brand: #2563eb;
  --brand-dark: #1e40af;
  --accent: #0ea5a4;
  --sun: #f97316;
  --radius-lg: 28px;
  --radius-md: 18px;
  --shadow-lg: 0 22px 60px rgba(37, 99, 235, 0.13);
  --shadow-md: 0 14px 30px rgba(15, 23, 42, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  position: relative;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  font-family: "Sora", "Space Grotesk", sans-serif;
  letter-spacing: -0.02em;
}

p {
  margin: 0;
}

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

.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.section-gap {
  padding: 96px 0;
}

.background-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(22px);
  opacity: 0.35;
  z-index: -1;
}

.orb-1 {
  width: 420px;
  height: 420px;
  background: linear-gradient(145deg, #0ea5a4, #22d3ee);
  top: -120px;
  right: -120px;
}

.orb-2 {
  width: 320px;
  height: 320px;
  background: linear-gradient(160deg, #60a5fa, #f97316);
  left: -90px;
  top: 42%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(148, 163, 184, 0.25);
  backdrop-filter: blur(10px);
  background: rgba(246, 248, 252, 0.86);
}

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

.brand {
  font-family: "Sora", "Space Grotesk", sans-serif;
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--brand-dark);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.site-nav a {
  color: var(--ink-soft);
  font-weight: 600;
  font-size: 0.96rem;
}

.site-nav a:hover {
  color: var(--brand-dark);
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #ffffff;
  padding: 8px 12px;
  font-family: inherit;
  color: var(--ink);
  font-weight: 600;
}

.hero {
  padding-top: 88px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 34px;
  align-items: start;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid #bfdbfe;
  background: #eff6ff;
  color: #1d4ed8;
  padding: 8px 14px;
  font-weight: 700;
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-copy h1 {
  font-size: clamp(2.05rem, 4.5vw, 3.5rem);
  line-height: 1.08;
  margin-top: 16px;
  max-width: 15ch;
}

.lead {
  margin-top: 18px;
  color: var(--ink-soft);
  max-width: 62ch;
}

.hero-actions {
  margin-top: 28px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 12px 18px;
  font-weight: 700;
  font-size: 0.92rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.btn-primary {
  background: linear-gradient(140deg, var(--brand), var(--accent));
  color: #ffffff;
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.25);
}

.btn-secondary {
  background: #ffffff;
  border: 1px solid var(--line);
  color: var(--ink);
}

.stat-row {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.stat-chip {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 13px;
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--ink-soft);
  background: #ffffff;
}

.hero-panel {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-md);
}

.panel-title {
  font-family: "Sora", "Space Grotesk", sans-serif;
  font-weight: 700;
  margin-bottom: 14px;
}

.mini-card {
  border-radius: var(--radius-md);
  padding: 18px;
  border: 1px solid #dbeafe;
  background: linear-gradient(160deg, #ffffff, #f8fbff);
}

.mini-card + .mini-card {
  margin-top: 12px;
}

.mini-card h2 {
  font-size: 1.02rem;
  line-height: 1.35;
}

.mini-card p {
  color: var(--ink-soft);
  margin-top: 10px;
}

.section-heading h2 {
  margin-top: 14px;
  font-size: clamp(1.7rem, 2.8vw, 2.5rem);
  max-width: 18ch;
}

.apps-grid {
  margin-top: 30px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.app-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-md);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
}

.app-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  overflow: hidden;
}

.app-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.app-icon.chatone-icon img {
  object-fit: contain;
  padding: 8px;
}

.app-content h3 {
  font-size: 1.2rem;
}

.app-content p {
  margin-top: 10px;
  color: var(--ink-soft);
}

.app-content ul {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  color: var(--ink-soft);
}

.app-content li {
  position: relative;
  padding-left: 18px;
  margin-top: 8px;
}

.app-content li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

.app-shots {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.app-shots img {
  width: 100%;
  aspect-ratio: 9 / 19;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid var(--line);
}

.app-store-badge {
  display: inline-block;
  margin-top: 24px;
  border-radius: 10px;
  overflow: hidden;
  line-height: 0;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.app-store-badge:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.16);
}

.app-store-badge img {
  display: block;
  height: 40px;
  width: auto;
}

.about-card {
  background: linear-gradient(145deg, #0b1220, #1e293b);
  color: #e2e8f0;
  border-radius: var(--radius-lg);
  padding: clamp(24px, 5vw, 44px);
  box-shadow: var(--shadow-lg);
}

.about-card .eyebrow {
  border-color: rgba(125, 211, 252, 0.35);
  background: rgba(191, 219, 254, 0.16);
  color: #93c5fd;
}

.about-card h2 {
  margin-top: 16px;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  max-width: 25ch;
}

.about-card p {
  margin-top: 16px;
  max-width: 74ch;
}

.team-grid {
  margin-top: 30px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.team-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 24px;
}

.team-card h3 {
  font-size: 1.2rem;
}

.role {
  margin-top: 8px;
  color: var(--brand-dark);
  font-weight: 700;
}

.team-card .team-bio {
  margin-top: 12px;
  color: var(--ink-soft);
}

.team-socials {
  margin-top: 14px;
  display: flex;
  gap: 14px;
}

.team-socials a {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #ffffff;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.team-socials a img {
  width: 18px;
  height: 18px;
  display: block;
}

.team-socials .social-github {
  border-color: rgba(24, 23, 23, 0.22);
}

.team-socials .social-linkedin {
  border-color: rgba(24, 23, 23, 0.22);
}

.team-socials a:hover {
  transform: translateY(-1px);
}

.team-socials .social-github:hover {
  border-color: rgba(24, 23, 23, 0.45);
  box-shadow: 0 8px 18px rgba(24, 23, 23, 0.12);
}

.team-socials .social-linkedin:hover {
  border-color: rgba(24, 23, 23, 0.45);
  box-shadow: 0 8px 18px rgba(10, 102, 194, 0.2);
}

.team-socials a:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

.contact-grid {
  margin-top: 30px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact-item {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px;
}

.contact-label {
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.74rem;
  font-weight: 700;
  color: #64748b;
  margin-bottom: 8px;
}

.contact-item p,
.contact-item a {
  color: var(--ink-soft);
  font-weight: 600;
}

.contact-item a {
  color: var(--brand-dark);
}

.site-footer {
  border-top: 1px solid rgba(148, 163, 184, 0.3);
  padding: 26px 0;
  background: rgba(255, 255, 255, 0.5);
}

.footer-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  color: #475569;
  font-size: 0.94rem;
}

.footer-wrap a {
  color: var(--brand-dark);
  font-weight: 700;
}

.reveal {
  opacity: 0;
  transform: translateY(10px);
  animation: rise 0.55s ease forwards;
  animation-delay: var(--delay, 0s);
}

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

@media (max-width: 980px) {
  .hero-grid,
  .apps-grid,
  .team-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 64px;
  }

  .hero-copy h1 {
    max-width: 18ch;
  }
}

@media (max-width: 760px) {
  .section-gap {
    padding: 72px 0;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .site-nav {
    position: absolute;
    top: 72px;
    right: 4vw;
    left: 4vw;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: var(--shadow-md);
    padding: 10px;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    width: 100%;
    padding: 8px 10px;
    border-radius: 9px;
  }

  .site-nav a:hover {
    background: #eff6ff;
  }

  .app-card {
    grid-template-columns: 1fr;
  }

  .app-icon {
    width: 52px;
    height: 52px;
  }

}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal,
  .btn {
    animation: none;
    transition: none;
    transform: none;
    opacity: 1;
  }
}
