@import url('https://fonts.googleapis.com/css2?family=Sora:wght@400;600;700;800&family=Poppins:wght@400;500;600;700&display=swap');

body {
  overflow-x: hidden;
}

.nav-link {
  position: relative;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  height: 2px;
  width: 0;
  background-color: #2563eb;
  transition: width 180ms ease;
}

.nav-link:hover::after {
  width: 100%;
}

.service-card {
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 34px -25px rgba(15, 23, 42, 0.45);
}

.btn-primary {
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 26px -18px rgba(37, 99, 235, 0.6);
}

.ip-home {
  font-family: "Poppins", sans-serif;
}

.ip-home h1,
.ip-home h2,
.ip-home h3,
.ip-home h4 {
  font-family: "Sora", "Poppins", sans-serif;
}

.ip-home-section {
  position: relative;
}

.ip-home-grid {
  background-image:
    linear-gradient(rgba(15, 23, 42, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.05) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.95), rgba(0, 0, 0, 0.2));
}

.ip-home-hero {
  background: linear-gradient(180deg, #f8fbff 0%, #f0f6ff 58%, #eef2ff 100%);
}

.ip-home-orb {
  position: absolute;
  border-radius: 9999px;
  filter: blur(22px);
  opacity: 0.55;
  pointer-events: none;
}

.ip-home-orb-left {
  left: -4rem;
  top: 6rem;
  width: 15rem;
  height: 15rem;
  background: #7dd3fc;
}

.ip-home-orb-right {
  right: -5rem;
  top: 4rem;
  width: 20rem;
  height: 20rem;
  background: #fdba74;
}

.ip-home-kicker {
  display: inline-flex;
  align-items: center;
  border-radius: 9999px;
  border: 1px solid #bfdbfe;
  background: #eff6ff;
  padding: 0.45rem 0.9rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #1d4ed8;
}

.ip-home-kicker-dark {
  border-color: rgba(125, 211, 252, 0.4);
  background: rgba(56, 189, 248, 0.12);
  color: #bae6fd;
}

.ip-home-highlight {
  position: relative;
  z-index: 1;
  display: inline-block;
}

.ip-home-highlight::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.12em;
  z-index: -1;
  height: 0.26em;
  border-radius: 9999px;
  background: rgba(251, 191, 36, 0.55);
}

.ip-home-card,
.ip-home-panel {
  border-radius: 1.2rem;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  box-shadow: 0 20px 42px -32px rgba(15, 23, 42, 0.5);
}

.ip-home-panel {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(4px);
}

.ip-home-btn-dark,
.ip-home-btn-light,
.ip-home-btn-soft,
.ip-home-btn-contact,
.ip-home-control-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.85rem;
  padding: 0.78rem 1.18rem;
  font-weight: 600;
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}

.ip-home-btn-dark {
  background: #0f172a;
  color: #fff;
  box-shadow: 0 18px 36px -22px rgba(15, 23, 42, 0.85);
}

.ip-home-btn-dark:hover {
  background: #0b4d76;
  transform: translateY(-1px);
}

.ip-home-btn-light {
  border: 1px solid #cbd5e1;
  background: #fff;
  color: #0f172a;
}

.ip-home-btn-light:hover {
  border-color: #7dd3fc;
  color: #075985;
  transform: translateY(-1px);
}

.ip-home-btn-soft {
  border: 1px solid #c7d2fe;
  background: #e0e7ff;
  color: #3730a3;
}

.ip-home-btn-soft:hover {
  background: #c7d2fe;
  transform: translateY(-1px);
}

.ip-home-btn-contact {
  background: #06b6d4;
  color: #fff;
  box-shadow: 0 18px 34px -20px rgba(6, 182, 212, 0.85);
}

.ip-home-btn-contact:hover {
  background: #0891b2;
  transform: translateY(-1px);
}

.ip-home-control-btn {
  border: 1px solid rgba(148, 163, 184, 0.55);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.ip-home-control-btn:hover {
  background: rgba(255, 255, 255, 0.18);
}

.ip-home-scroll-top {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 45;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 0.9rem;
  border: 1px solid #1e3a8a;
  background: linear-gradient(180deg, #2563eb 0%, #1d4ed8 100%);
  color: #fff;
  font-size: 1.1rem;
  box-shadow: 0 20px 32px -22px rgba(30, 58, 138, 0.85);
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: transform 180ms ease, opacity 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.ip-home-scroll-top:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 32px -20px rgba(30, 58, 138, 0.95);
}

.ip-home-scroll-top.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.ip-home-chip {
  display: inline-flex;
  align-items: center;
  border-radius: 9999px;
  border: 1px solid #dbeafe;
  background: #eff6ff;
  padding: 0.3rem 0.8rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: #1d4ed8;
}

.ip-home-tag {
  border-radius: 0.9rem;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  padding: 0.8rem 0.95rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: #334155;
}

.ip-home-deep {
  background:
    radial-gradient(950px 380px at 12% -8%, rgba(56, 189, 248, 0.2), transparent 55%),
    radial-gradient(860px 350px at 90% -10%, rgba(59, 130, 246, 0.16), transparent 60%),
    linear-gradient(160deg, #0f172a 0%, #172554 58%, #1e3a8a 100%);
}

.ip-home-deep-card {
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(4px);
}

.ip-home-slide {
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.ip-home-preview-shell {
  overflow: hidden;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: #020617;
  min-height: 30rem;
}

.ip-home-preview-head {
  display: flex;
  align-items: center;
  gap: 0.38rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.25);
  background: linear-gradient(180deg, #0f172a 0%, #111827 100%);
  padding: 0.6rem 0.75rem;
}

.ip-home-preview-dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 9999px;
  background: rgba(148, 163, 184, 0.8);
}

.ip-home-preview-label {
  margin-left: 0.3rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #cbd5e1;
}

.ip-home-preview-surface {
  display: flex;
  min-height: calc(30rem - 2.35rem);
  flex-direction: column;
  gap: 1rem;
  padding: 1rem;
  color: #e2e8f0;
}

.ip-home-preview-surface-pizza {
  background:
    radial-gradient(640px 240px at 10% -10%, rgba(251, 191, 36, 0.18), transparent 55%),
    linear-gradient(145deg, #3f1d10 0%, #7c2d12 48%, #111827 100%);
}

.ip-home-preview-surface-events {
  background:
    radial-gradient(620px 240px at 8% -10%, rgba(244, 114, 182, 0.15), transparent 58%),
    linear-gradient(145deg, #172554 0%, #1d4ed8 52%, #0f172a 100%);
}

.ip-home-preview-surface-sms {
  background:
    radial-gradient(620px 240px at 8% -10%, rgba(34, 211, 238, 0.18), transparent 58%),
    linear-gradient(145deg, #0f172a 0%, #0f766e 50%, #155e75 100%);
}

.ip-home-preview-surface-dtr {
  background:
    radial-gradient(620px 240px at 12% -8%, rgba(96, 165, 250, 0.16), transparent 56%),
    linear-gradient(145deg, #111827 0%, #1e3a8a 50%, #312e81 100%);
}

.ip-home-preview-surface-rent {
  background:
    radial-gradient(620px 240px at 10% -8%, rgba(45, 212, 191, 0.16), transparent 58%),
    linear-gradient(145deg, #082f49 0%, #155e75 48%, #1f2937 100%);
}

.ip-home-preview-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.ip-home-preview-domain {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #dbeafe;
}

.ip-home-preview-badge {
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  padding: 0.28rem 0.7rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #e0f2fe;
}

.ip-home-preview-hero-copy {
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(15, 23, 42, 0.34);
  backdrop-filter: blur(3px);
  padding: 1.05rem;
}

.ip-home-preview-kicker {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #bae6fd;
}

.ip-home-preview-title {
  margin-top: 0.55rem;
  font-size: 1.55rem;
  line-height: 1.1;
  font-weight: 900;
  color: #fff;
}

.ip-home-preview-text {
  margin-top: 0.7rem;
  max-width: 36rem;
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(226, 232, 240, 0.92);
}

.ip-home-preview-grid {
  display: grid;
  gap: 0.9rem;
  margin-top: auto;
}

.ip-home-preview-card {
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(15, 23, 42, 0.36);
  backdrop-filter: blur(4px);
  padding: 1rem;
}

.ip-home-preview-card-title {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #bae6fd;
}

.ip-home-preview-card-text {
  margin-top: 0.45rem;
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(226, 232, 240, 0.94);
}

.ip-tools-section {
  background:
    radial-gradient(920px 340px at 10% -8%, rgba(56, 189, 248, 0.14), transparent 62%),
    radial-gradient(760px 320px at 95% -10%, rgba(30, 64, 175, 0.08), transparent 58%),
    linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
}

.ip-tools-shell {
  border-radius: 1.5rem;
  border: 1px solid #dbe4ef;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  padding: 1rem;
  box-shadow: 0 28px 55px -38px rgba(15, 23, 42, 0.55);
}

.ip-tools-slide {
  border-radius: 1.1rem;
  border: 0;
  background: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.ip-tools-slide-grid {
  display: grid;
  border: 0;
  gap: 1.25rem;
  padding: 1rem;
}

.ip-tools-copy {
  border-radius: 1rem;
  border: 1px solid #e2e8f0;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  padding: 1.2rem;
}

.ip-tools-cta {
  border-radius: 0.75rem;
  border: 1px solid #dbeafe;
  background: #eff6ff;
  color: #1d4ed8;
  padding: 0.52rem 0.9rem;
  transition: transform 160ms ease, border-color 160ms ease, background-color 160ms ease, color 160ms ease;
}

.ip-tools-cta:hover {
  border-color: #bfdbfe;
  background: #dbeafe;
  color: #1e3a8a;
  transform: translateY(-1px);
}

.ip-tools-preview-wrap {
  overflow: hidden;
  border-radius: 1rem;
  border: 1px solid #d4dce8;
  background: #0b1120;
}

.ip-tools-preview-head {
  display: flex;
  align-items: center;
  gap: 0.38rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.25);
  background: linear-gradient(180deg, #0f172a 0%, #111827 100%);
  padding: 0.6rem 0.75rem;
}

.ip-tools-preview-dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 9999px;
  background: rgba(148, 163, 184, 0.8);
}

.ip-tools-preview-label {
  margin-left: 0.3rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #cbd5e1;
}

.ip-tools-preview-frame {
  height: 16rem;
}

.ip-tools-preview-frame iframe {
  display: block;
  border: 0;
}

.ip-tools-nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border-radius: 0.78rem;
  border: 1px solid #cbd5e1;
  background: #fff;
  color: #0f172a;
  font-weight: 600;
  padding: 0.58rem 0.96rem;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease, color 160ms ease;
}

.ip-tools-nav-btn:hover {
  border-color: #93c5fd;
  color: #1e3a8a;
  transform: translateY(-1px);
  box-shadow: 0 10px 18px -14px rgba(30, 58, 138, 0.9);
}

.ip-tools-dots {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.ip-tools-dot {
  width: 0.6rem;
  height: 0.6rem;
  border: 1px solid #cbd5e1;
  border-radius: 9999px;
  background: #e2e8f0;
  transition: width 160ms ease, background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.ip-tools-dot.is-inactive:hover {
  transform: translateY(-1px);
  border-color: #94a3b8;
}

.ip-tools-dot.is-active {
  width: 1.65rem;
  background: linear-gradient(90deg, #2563eb 0%, #0ea5e9 100%);
  border-color: #1d4ed8;
}

@media (min-width: 768px) {
  .ip-home-preview-shell {
    min-height: 34rem;
  }

  .ip-home-preview-surface {
    min-height: calc(34rem - 2.35rem);
    padding: 1.2rem;
  }

  .ip-home-preview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ip-home-preview-card-wide {
    grid-column: 1 / -1;
  }

  .ip-tools-shell {
    padding: 1.2rem;
  }

  .ip-tools-slide-grid {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.12fr);
    gap: 1.4rem;
    align-items: stretch;
    padding: 1.2rem;
  }

  .ip-tools-preview-frame {
    height: 20rem;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .ip-home-slide:hover {
    transform: translateY(-2px);
  }
}

@media (max-width: 767px) {
  .ip-home-hero {
    padding-top: 6.8rem;
  }

  .ip-home-btn-dark,
  .ip-home-btn-light,
  .ip-home-btn-soft,
  .ip-home-btn-contact {
    width: 100%;
  }

  .ip-home-scroll-top {
    right: 0.75rem;
    bottom: 0.75rem;
    width: 2.6rem;
    height: 2.6rem;
  }

  .ip-tools-nav {
    flex-wrap: wrap;
  }

  .ip-tools-nav-btn {
    min-width: 6.5rem;
    justify-content: center;
  }
}
