:root {
  --ink: #07111f;
  --ink-soft: #152238;
  --muted: #64748b;
  --line: #e2e8f0;
  --surface: #ffffff;
  --soft: #f6f9fc;
  --blue: #155dfc;
  --blue-2: #06a3ff;
  --navy: #07111f;
  --cyan: #e8f7ff;
  --green: #16a34a;
  --shadow: 0 20px 60px rgba(15, 23, 42, 0.10);
  --shadow-sm: 0 10px 30px rgba(15, 23, 42, 0.08);
  --radius: 22px;
  --radius-sm: 14px;
  --font: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --container: min(1180px, calc(100% - 40px));
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: #f8fbff;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: 0.25s ease;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

/* Floating background shapes */
.bg-shapes {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.45;
  animation: drift 18s ease-in-out infinite;
}

.shape-1 {
  width: 420px;
  height: 420px;
  top: -80px;
  left: -100px;
  background: radial-gradient(circle, rgba(21, 93, 252, 0.28), transparent 70%);
}

.shape-2 {
  width: 360px;
  height: 360px;
  top: 18%;
  right: -120px;
  background: radial-gradient(circle, rgba(6, 163, 255, 0.32), transparent 70%);
  animation-delay: -6s;
}

.shape-3 {
  width: 300px;
  height: 300px;
  bottom: 8%;
  left: 35%;
  background: radial-gradient(circle, rgba(21, 93, 252, 0.16), transparent 70%);
  animation-delay: -11s;
}

@keyframes drift {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(24px, -28px, 0) scale(1.06);
  }
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 10px 0;
  background: rgba(248, 251, 255, 0.82);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.75);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand-logo {
  width: 88px;
  height: 88px;
  flex-shrink: 0;
  object-fit: contain;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.10);
}

.brand-mark {
  width: 46px;
  height: 46px;
  display: inline-grid;
  place-items: center;
  border-radius: 15px;
  color: #fff;
  font-weight: 900;
  letter-spacing: -0.04em;
  font-size: 0.95rem;
  background: linear-gradient(135deg, var(--blue), var(--blue-2));
  box-shadow: 0 16px 36px rgba(21, 93, 252, 0.28);
  flex-shrink: 0;
}

.brand-mark.light {
  box-shadow: 0 14px 30px rgba(6, 163, 255, 0.22);
}

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

.brand-copy strong {
  font-size: 1.05rem;
  letter-spacing: -0.03em;
  font-weight: 900;
}

.brand-copy small {
  font-size: 0.68rem;
  color: var(--muted);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-top: 4px;
}

.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 750;
  color: var(--ink);
  padding: 10px 16px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.header-phone:hover {
  border-color: rgba(21, 93, 252, 0.35);
  color: var(--blue);
}

.icon-wrap {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--blue);
  background: var(--cyan);
}

/* Hero */
.hero {
  position: relative;
  z-index: 1;
  padding: 72px 0 40px;
  background:
    radial-gradient(circle at 15% 20%, rgba(21, 93, 252, 0.12), transparent 28%),
    radial-gradient(circle at 85% 12%, rgba(6, 163, 255, 0.16), transparent 30%),
    linear-gradient(180deg, #f8fbff 0%, #ffffff 58%, #f6f9fc 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 22px;
}

.pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue-2);
  box-shadow: 0 0 0 0 rgba(6, 163, 255, 0.55);
  animation: pulse 2s ease infinite;
}

@keyframes pulse {
  70% {
    box-shadow: 0 0 0 10px rgba(6, 163, 255, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(6, 163, 255, 0);
  }
}

.hero h1 {
  margin: 0 0 18px;
  font-size: clamp(2.4rem, 5.2vw, 4.4rem);
  line-height: 1.02;
  letter-spacing: -0.055em;
  font-weight: 900;
  max-width: 12ch;
  color: var(--ink);
}

.hero-lead {
  margin: 0 0 14px;
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  font-weight: 700;
  color: var(--ink-soft);
  max-width: 34ch;
}

.hero-text {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 48ch;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  font-weight: 800;
  padding: 14px 26px;
  border: 0;
  cursor: pointer;
}

.btn-primary {
  color: #fff !important;
  background: linear-gradient(135deg, var(--blue), var(--blue-2));
  box-shadow: 0 16px 36px rgba(21, 93, 252, 0.28);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 42px rgba(21, 93, 252, 0.34);
}

.btn-secondary {
  color: var(--ink) !important;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  border-color: var(--blue);
  color: var(--blue) !important;
  transform: translateY(-2px);
}

/* Hero visual */
.hero-visual {
  position: relative;
  min-height: 480px;
  display: grid;
  place-items: center;
}

.visual-card {
  position: relative;
  z-index: 2;
  width: min(100%, 520px);
  border-radius: 30px;
  padding: 14px;
  background: #09111f;
  box-shadow: 0 40px 90px rgba(7, 17, 31, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.visual-chrome {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px 16px;
}

.visual-chrome span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ef4444;
}

.visual-chrome span:nth-child(2) {
  background: #f59e0b;
}

.visual-chrome span:nth-child(3) {
  background: #22c55e;
}

.visual-chrome p {
  margin: 0 0 0 auto;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.78rem;
  font-weight: 750;
}

.visual-body {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 14px;
}

.viz-panel {
  min-height: 150px;
  border-radius: 20px;
  padding: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.045));
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.viz-panel.wide {
  grid-column: 1 / -1;
  position: relative;
  min-height: 140px;
  overflow: hidden;
}

.viz-panel small {
  color: rgba(255, 255, 255, 0.55);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.72rem;
}

.viz-panel strong {
  display: block;
  color: #fff;
  font-size: 2rem;
  margin-top: 8px;
  letter-spacing: -0.04em;
}

.progress {
  margin-top: 18px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.progress i {
  display: block;
  width: 82%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue), var(--blue-2));
  animation: fillBar 2.4s ease;
}

@keyframes fillBar {
  from {
    width: 0;
  }
}

.viz-panel ul {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
  font-weight: 650;
}

.viz-panel li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.viz-panel li i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue-2);
  box-shadow: 0 0 0 4px rgba(6, 163, 255, 0.15);
}

.code-lines {
  display: grid;
  gap: 12px;
  padding-top: 8px;
}

.code-lines span {
  display: block;
  height: 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.code-lines span:nth-child(1) {
  width: 78%;
}

.code-lines span:nth-child(2) {
  width: 58%;
}

.code-lines span:nth-child(3) {
  width: 70%;
}

.code-lines span:nth-child(4) {
  width: 42%;
}

.floating-chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  font-weight: 850;
  font-size: 0.82rem;
  color: var(--ink);
  animation: float 4.5s ease-in-out infinite;
}

.chip-a {
  right: 18px;
  top: 22px;
  color: var(--blue);
}

.chip-b {
  left: 22px;
  bottom: 18px;
  animation-delay: 1.2s;
}

@keyframes float {
  50% {
    transform: translateY(-10px);
  }
}

.orbit {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(21, 93, 252, 0.15);
  z-index: 1;
}

.orbit-1 {
  width: 340px;
  height: 340px;
  top: 8%;
  right: 4%;
}

.orbit-2 {
  width: 460px;
  height: 460px;
  bottom: 0;
  left: -4%;
  border-color: rgba(6, 163, 255, 0.12);
}

/* Business message */
.biz-message {
  position: relative;
  z-index: 1;
  padding: 28px 0 10px;
}

.biz-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 34px 38px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.biz-card h2 {
  margin: 0 0 8px;
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  letter-spacing: -0.035em;
  font-weight: 900;
}

.biz-card p {
  margin: 0;
  color: var(--muted);
  max-width: 48ch;
}

/* Contact */
.contact {
  position: relative;
  z-index: 1;
  padding: 40px 0 80px;
}

.contact-card {
  padding: 40px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 90% 10%, rgba(6, 163, 255, 0.12), transparent 28%),
    #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.contact-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
}

.contact-logo {
  width: 140px;
  height: 140px;
  object-fit: contain;
  border-radius: 50%;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 22px;
  border-radius: 18px;
  background: var(--soft);
  border: 1px solid transparent;
}

.contact-item:hover {
  border-color: rgba(21, 93, 252, 0.25);
  background: #fff;
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.contact-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: var(--blue);
  background: var(--cyan);
  flex-shrink: 0;
}

.contact-item small {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.contact-item strong {
  display: block;
  margin-top: 2px;
  font-size: 1.08rem;
  font-weight: 850;
  letter-spacing: -0.02em;
}

/* Footer */
.site-footer {
  position: relative;
  z-index: 1;
  background: var(--navy);
  color: rgba(255, 255, 255, 0.72);
  padding: 36px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-logo {
  width: 64px;
  height: 64px;
  object-fit: contain;
  border-radius: 50%;
  background: #fff;
  flex-shrink: 0;
}

.footer-brand strong {
  display: block;
  color: #fff;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.footer-brand small {
  display: block;
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.copyright {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 600;
}

/* Reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.reveal.delay-1 {
  transition-delay: 0.12s;
}

/* Responsive */
@media (max-width: 1100px) {
  .hero-grid {
    gap: 40px;
  }

  .hero-visual {
    min-height: 420px;
  }
}

@media (max-width: 960px) {
  .hero {
    padding-top: 48px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .hero h1 {
    max-width: none;
  }

  .hero-visual {
    min-height: auto;
    order: -1;
  }

  .orbit {
    display: none;
  }

  .visual-card {
    width: min(100%, 560px);
    margin-inline: auto;
  }
}

@media (max-width: 720px) {
  :root {
    --container: min(1180px, calc(100% - 28px));
  }

  .site-header {
    padding: 12px 0;
  }

  .header-phone span:last-child,
  .header-phone {
    font-size: 0.9rem;
  }

  .header-phone {
    padding: 8px 12px;
  }

  .brand-logo {
    width: 68px;
    height: 68px;
  }

  .contact-logo {
    width: 112px;
    height: 112px;
  }

  .footer-logo {
    width: 56px;
    height: 56px;
  }

  .hero {
    padding: 36px 0 24px;
  }

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

  .biz-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 28px 24px;
  }

  .contact {
    padding: 28px 0 56px;
  }

  .contact-card {
    padding: 28px 22px;
  }

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

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .floating-chip {
    display: none;
  }
}

@media (max-width: 420px) {
  .brand-mark {
    width: 42px;
    height: 42px;
    border-radius: 13px;
  }

  .header-phone {
    padding: 8px 10px;
    gap: 8px;
  }

  .visual-body {
    grid-template-columns: 1fr;
  }

  .viz-panel.wide {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

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