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

/* =========================
   Variables
========================= */
:root {
  --bg: #030816;
  --bg-soft: #050f1d;
  --card: rgba(255, 255, 255, 0.08);
  --card-strong: rgba(255, 255, 255, 0.11);
  --line: rgba(255, 255, 255, 0.14);
  --text: #ffffff;
  --muted: #a9bfd6;
  --cyan: #00e5ff;
  --green: #22c55e;
  --blue: #2563eb;
  --red: #ef4444;
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.42);
}

/* =========================
   Reset
========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

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

ul {
  list-style: none;
}

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

/* =========================
   Background
========================= */
.noise {
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(0, 229, 255, 0.14), transparent 28%),
    radial-gradient(circle at 80% 10%, rgba(34, 197, 94, 0.12), transparent 30%),
    radial-gradient(circle at 80% 80%, rgba(37, 99, 235, 0.12), transparent 30%);
}

.cursor-glow {
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: -2;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(18px);
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(0, 229, 255, 0.18), transparent 65%);
}

/* =========================
   Navbar
========================= */
.navbar {
  position: fixed;
  top: 20px;
  left: 50%;
  z-index: 100;
  width: min(1180px, 92%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(5, 14, 28, 0.72);
  backdrop-filter: blur(22px);
  box-shadow: var(--shadow);
  transform: translateX(-50%);
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  font-weight: 900;
  color: #00111f;
  background: linear-gradient(135deg, var(--cyan), var(--green));
}

.logo b,
.logo small {
  display: block;
}

.logo small {
  color: var(--muted);
  font-size: 11px;
}

.nav-links {
  display: flex;
  gap: 24px;
  color: #cfe4ff;
  font-size: 14px;
}

.nav-links a {
  transition: 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active-link {
  color: var(--cyan);
}

.nav-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 20px;
  border: 0;
  border-radius: 15px;
  font-weight: 800;
  transition: 0.35s ease;
}

.nav-cta,
.btn-primary {
  color: #00111f;
  background: linear-gradient(135deg, var(--cyan), var(--green));
  box-shadow: 0 18px 50px rgba(0, 229, 255, 0.22);
}

.btn-ghost {
  color: #ffffff;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.06);
}

.nav-cta:hover,
.btn:hover {
  transform: translateY(-4px);
}

.menu-btn {
  display: none;
}

/* =========================
   Hero
========================= */
.hero {
  min-height: 90vh;
  padding: 145px 8% 80px;
  background:
    linear-gradient(135deg, rgba(3, 8, 22, 0.97), rgba(7, 19, 38, 0.94)),
    radial-gradient(circle at 72% 22%, rgba(0, 229, 255, 0.25), transparent 28%);
}

.hero-grid {
  max-width: 1380px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1.18fr;
  align-items: center;
  gap: 70px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  padding: 10px 16px;
  border: 1px solid rgba(0, 229, 255, 0.25);
  border-radius: 999px;
  color: var(--cyan);
  background: rgba(0, 229, 255, 0.11);
  font-weight: 800;
}

h1 {
  margin-bottom: 24px;
  font-size: clamp(36px, 4.8vw, 64px);
  line-height: 1.08;
  letter-spacing: -2px;
}

h1 span,
.mini-body h2 span {
  color: var(--cyan);
}

.lead {
  max-width: 720px;
  margin-bottom: 30px;
  color: #d6e5f5;
  font-size: 17px;
  line-height: 1.8;
}

.hero-buttons,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-buttons {
  margin-bottom: 30px;
}

.trust-row {
  max-width: 720px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.trust-row div,
.metric,
.fact-card,
.glass,
.feature,
.benefit,
.testimonial,
.cta-card,
.live-card {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(145deg, var(--card-strong), rgba(255, 255, 255, 0.04));
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow);
}

.trust-row div {
  padding: 18px;
}

.trust-row strong {
  display: block;
}

.trust-row span,
.fact-card span,
.muted,
.metric span,
.timeline-item p,
.testimonial span {
  color: var(--muted);
}

/* =========================
   Devices
========================= */
.showcase {
  position: relative;
  min-height: 560px;
  perspective: 1400px;
}

.laptop-3d {
  position: absolute;
  inset: 30px 20px 60px 0;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 32px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.05));
  box-shadow: 0 50px 100px rgba(0, 0, 0, 0.55);
  transform: rotateY(-9deg) rotateX(4deg);
  animation: floatLaptop 5s ease-in-out infinite;
}

.browser-bar {
  height: 48px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 15px;
  border-radius: 18px 18px 0 0;
  color: #0f172a;
  background: #f8fafc;
}

.browser-bar span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #ef4444;
}

.browser-bar span:nth-child(2) {
  background: #f59e0b;
}

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

.browser-bar p {
  margin-left: 12px;
  color: #334155;
  font-size: 12px;
}

.screen-content {
  height: 430px;
  padding: 28px;
  border-radius: 0 0 24px 24px;
  background:
    radial-gradient(circle at 70% 30%, rgba(0, 229, 255, 0.22), transparent 30%),
    linear-gradient(135deg, #071d35, #020617);
}

.mini-header {
  height: 58px;
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 34px;
  padding: 0 18px;
  border-radius: 16px;
  color: #071326;
  background: #ffffff;
}

.mini-body {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  align-items: center;
  gap: 28px;
}

.mini-tag {
  display: inline-block;
  margin-bottom: 15px;
  padding: 8px 12px;
  border: 1px solid rgba(0, 229, 255, 0.18);
  border-radius: 999px;
  color: var(--cyan);
  background: rgba(0, 229, 255, 0.1);
  font-size: 12px;
  font-weight: 800;
}

.mini-body h2 {
  margin-bottom: 15px;
  font-size: 37px;
  line-height: 1.15;
}

.mini-body p {
  margin-bottom: 18px;
  color: #cbd5e1;
  line-height: 1.6;
}

.mini-body button,
.phone-content button {
  padding: 13px 18px;
  border: 0;
  border-radius: 12px;
  color: #00111f;
  background: linear-gradient(135deg, var(--cyan), var(--green));
  font-weight: 900;
}

.dashboard-card {
  min-height: 260px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.12);
}

.dash-title {
  margin-bottom: 22px;
  font-weight: 800;
}

.bars {
  height: 120px;
  display: flex;
  align-items: end;
  gap: 13px;
}

.bars i {
  flex: 1;
  border-radius: 12px 12px 0 0;
  background: linear-gradient(180deg, var(--cyan), var(--blue));
}

.dash-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 22px;
}

.dash-grid span {
  padding: 12px;
  border-radius: 12px;
  color: #071326;
  background: #ffffff;
  font-weight: 800;
  text-align: center;
}

.phone-3d {
  position: absolute;
  right: -12px;
  bottom: 0;
  width: 205px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 35px;
  background: #111827;
  box-shadow: 0 34px 75px rgba(0, 0, 0, 0.55);
  animation: floatPhone 4.5s ease-in-out infinite;
}

.phone-notch {
  width: 70px;
  height: 18px;
  margin: 0 auto -6px;
  border-radius: 0 0 18px 18px;
  background: #020617;
}

.phone-content {
  min-height: 355px;
  padding: 25px 18px;
  border-radius: 28px;
  background: linear-gradient(135deg, #071d35, #020617);
}

.phone-content h3 {
  margin: 45px 0 18px;
  font-size: 22px;
  line-height: 1.25;
}

.phone-stat {
  margin-top: 12px;
  padding: 12px;
  border-radius: 12px;
  color: #071326;
  background: #ffffff;
  font-size: 13px;
  font-weight: 800;
}

.floating-card {
  position: absolute;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  color: #dff7ff;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
  font-weight: 800;
  animation: floatCard 4s ease-in-out infinite;
}

.floating-card i {
  color: var(--cyan);
}

.card-top {
  top: 0;
  right: 90px;
}

.card-bottom {
  bottom: 80px;
  left: 20px;
}

/* =========================
   Metrics & Sections
========================= */
.metrics {
  position: relative;
  z-index: 5;
  max-width: 1180px;
  margin: -45px auto 0;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.metric {
  padding: 28px 20px;
  text-align: center;
}

.metric strong {
  display: block;
  color: var(--cyan);
  font-size: 44px;
}

.section {
  padding: 110px 8%;
}

.section-heading {
  max-width: 920px;
  margin: 0 auto 58px;
  text-align: center;
}

.section-heading h2 {
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.12;
  letter-spacing: -1.5px;
}

.facts-grid,
.feature-grid {
  max-width: 1180px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.fact-card,
.feature,
.glass,
.benefit {
  padding: 30px;
}

.fact-card strong {
  font-size: 20px;
}

/* =========================
   Challenge / Solution
========================= */
.split-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 55px;
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.06), transparent);
}

.split-section h2 {
  margin-bottom: 20px;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.12;
}

.split-section p,
.cta-card p {
  color: #d6e5f5;
  font-size: 18px;
  line-height: 1.85;
}

.challenge-list {
  display: grid;
  gap: 18px;
}

.challenge-list div {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.08);
}

.challenge-list i {
  color: var(--red);
}

.solution-grid,
.benefits {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.glass,
.feature,
.benefit,
.gallery-card {
  transition: 0.35s ease;
}

.glass i,
.feature i,
.benefit i {
  margin-bottom: 20px;
  color: var(--cyan);
  font-size: 34px;
}

.glass h3,
.feature h3,
.benefit h3 {
  margin-bottom: 12px;
  font-size: 22px;
}

.glass p,
.feature p,
.benefit p {
  color: #d9e8f8;
  line-height: 1.7;
}

.glass:hover,
.feature:hover,
.benefit:hover,
.gallery-card:hover {
  border-color: rgba(0, 229, 255, 0.45);
  transform: translateY(-8px);
}

/* =========================
   Process & Before After
========================= */
.process-section,
.gallery-section {
  background: var(--bg-soft);
}

.timeline {
  max-width: 1050px;
  margin: auto;
  display: grid;
  gap: 22px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 90px 220px 1fr;
  align-items: center;
  gap: 25px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: var(--card);
}

.timeline-item span {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  color: #00111f;
  background: linear-gradient(135deg, var(--cyan), var(--green));
  font-weight: 900;
}

.before-after {
  max-width: 1120px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.before,
.after {
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--card);
}

.before {
  border-left: 6px solid var(--red);
}

.after {
  border-left: 6px solid var(--green);
}

.before h3,
.after h3 {
  margin-bottom: 20px;
  font-size: 28px;
}

.before h3 {
  color: #ff8585;
}

.after h3 {
  color: #76f1a5;
}

.before li,
.after li {
  padding: 11px 0;
  color: #d8e7f5;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* =========================
   Gallery with Real Images
========================= */
.gallery-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-auto-rows: 240px;
  gap: 22px;
}

.gallery-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: #020617;
  box-shadow: var(--shadow);
}

.gallery-card.big {
  grid-row: span 2;
}

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

.gallery-card figcaption,
.gallery-card span {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  padding: 12px 14px;
  border-radius: 14px;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.66);
  backdrop-filter: blur(12px);
  font-size: 17px;
  font-weight: 900;
}

/* =========================
   Technology
========================= */
.tech-grid {
  max-width: 1180px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}

.tech-grid span {
  min-height: 120px;
  display: grid;
  place-items: center;
  gap: 8px;
  padding: 20px;
  border-radius: 24px;
  color: #06111f;
  background: #ffffff;
  font-weight: 900;
  text-align: center;
}

.tech-grid i {
  color: #0284c7;
  font-size: 35px;
}

/* =========================
   Live Preview / Testimonial / CTA
========================= */
.live-card {
  max-width: 1180px;
  margin: auto;
  padding: 45px;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 35px;
}

.live-card h2 {
  margin-bottom: 15px;
  font-size: clamp(32px, 4vw, 52px);
}

.live-card p {
  margin-bottom: 24px;
  color: #d6e5f5;
  line-height: 1.8;
}

.preview-window {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #ffffff;
}

.preview-body {
  min-height: 260px;
  padding: 40px;
  background:
    radial-gradient(circle at 80% 30%, rgba(0, 229, 255, 0.26), transparent 32%),
    linear-gradient(135deg, #071d35, #020617);
}

.preview-body h3 {
  font-size: 36px;
}

.testimonial {
  max-width: 940px;
  margin: auto;
  padding: 55px;
  text-align: center;
}

.testimonial i {
  margin-bottom: 20px;
  color: var(--cyan);
  font-size: 44px;
}

.testimonial p {
  color: #e6f4ff;
  font-size: 25px;
  line-height: 1.65;
}

.testimonial h4 {
  margin-top: 25px;
  font-size: 22px;
}

.cta-section {
  padding: 40px 8% 100px;
}

.cta-card {
  max-width: 1100px;
  margin: auto;
  padding: 70px;
  text-align: center;
  background:
    radial-gradient(circle at 70% 0, rgba(34, 197, 94, 0.25), transparent 34%),
    linear-gradient(135deg, rgba(0, 229, 255, 0.14), rgba(255, 255, 255, 0.04));
}

.cta-card h2 {
  margin-bottom: 18px;
  font-size: clamp(34px, 4.6vw, 58px);
  line-height: 1.08;
}

.cta-actions {
  justify-content: center;
  margin-top: 30px;
}

.footer {
  padding: 32px;
  color: var(--muted);
  background: #020617;
  text-align: center;
}

/* =========================
   Animation
========================= */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

@keyframes floatLaptop {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -14px; }
}

@keyframes floatPhone {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -10px; }
}

@keyframes floatCard {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -12px; }
}

/* =========================
   Responsive
========================= */
@media (max-width: 1180px) {
  .solution-grid,
  .benefits {
    grid-template-columns: repeat(2, 1fr);
  }

  .tech-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 980px) {
  .nav-links,
  .nav-cta {
    display: none;
  }

  .menu-btn {
    display: block;
  }

  .hero-grid,
  .split-section,
  .live-card {
    grid-template-columns: 1fr;
  }

  .showcase {
    min-height: 720px;
  }

  .laptop-3d {
    inset: 20px 0 auto 0;
  }

  .phone-3d {
    right: 40px;
    bottom: 20px;
  }

  .metrics,
  .facts-grid,
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 260px;
  }

  .gallery-card.big {
    grid-row: span 1;
  }

  .timeline-item,
  .before-after {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .hero {
    padding: 125px 6% 70px;
  }

  .section {
    padding: 80px 6%;
  }

  h1 {
    letter-spacing: -1px;
  }

  .trust-row,
  .metrics,
  .facts-grid,
  .solution-grid,
  .feature-grid,
  .benefits,
  .tech-grid {
    grid-template-columns: 1fr;
  }

  .showcase {
    min-height: auto;
  }

  .laptop-3d,
  .phone-3d {
    position: relative;
    inset: auto;
    right: auto;
    bottom: auto;
    margin-top: 25px;
    transform: none;
  }

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

  .mini-header small {
    display: none;
  }

  .screen-content {
    height: auto;
  }

  .phone-3d {
    width: 100%;
  }

  .cta-card {
    padding: 45px 25px;
  }

  .testimonial {
    padding: 35px 22px;
  }

  .testimonial p {
    font-size: 19px;
  }
}