:root {
  --bg: #0b0b0d;
  --panel: rgba(255, 255, 255, 0.04);
  --panel-border: rgba(255, 255, 255, 0.06);
  --muted: #bfc0c5;
  --accent: #ff0066;
  --accent2: #7c3cff;
  --glass-radius: 16px;
  --container: 1180px;
    font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial;
}

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

body {
  background: linear-gradient(180deg, #040406, var(--bg));
  color: #f3f4f6;
  line-height: 1.5;
  overflow-x: hidden;
}

/* CONTAINER */
.container {
  width: 90%;
  max-width: var(--container);
  margin: auto;
}


/* =========================
   NAV (FINAL – UNBREAKABLE)
========================= */

.nav-wrap {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
}

.nav {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  background: rgba(10, 10, 15, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.nav-links {
  display: flex;
  gap: 18px;
  list-style: none;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 28px;
  color: #fff;
  cursor: pointer;
}

/* MOBILE */
@media (max-width: 920px) {
  .nav-toggle {
    display: block;
    z-index: 10001;
  }

  .nav-links {
    position: fixed;
    inset: 0;
    background: #040406;

    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 28px;

    /* 🔑 THIS IS THE KEY */
    visibility: hidden;
    opacity: 0;
    pointer-events: none;

    transition: opacity 0.3s ease;
    z-index: 10000;
  }

  .nav-links.open {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links a {
    font-size: 1.3rem;
    color: #fff;
  }
}




/* =========================
   HERO FIX
========================= */
.hero {
  padding-top: 80px; /* nav height */
}
/* HERO */
.hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: 60px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0
}

.bg-layer {
  position: absolute;
  inset: -10% -20% -10% -20%;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 120% 120%;
  filter: contrast(.95) saturate(1.05)
}

.layer--far {
  background-image:
    radial-gradient(circle at 20% 30%, rgba(124, 60, 255, 0.12), transparent 20%),
    radial-gradient(circle at 80% 70%, rgba(255, 0, 102, 0.09), transparent 20%);
}

.layer--mid {
  background-image: linear-gradient(120deg, rgba(124, 60, 255, 0.04), rgba(255, 0, 102, 0.03));
  mix-blend-mode: overlay;
}

.layer--near {
  background-image: conic-gradient(from 90deg at 50% 50%, rgba(255, 0, 120, 0.04), rgba(124, 60, 255, 0.04));
  opacity: 0.9;
  filter: blur(20px);
}

/* Hero inner layout */
.hero-inner {
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 80px 0;
  z-index: 2;
}

.hero-left {
  flex: 1;
  max-width: 640px
}

.eyebrow {
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-size: .8rem
}

.hero-title {
  font-size: clamp(36px, 6vw, 64px);
  line-height: 1.02;
  margin-bottom: 18px;
  font-weight: 800;
}

.hero-title span {
  display: block;
  margin-top: 8px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  color: transparent;
}

.hero-lead {
  color: var(--muted);
  font-size: 1.06rem;
  max-width: 48rem;
  margin-bottom: 22px;
}

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

.btn {
  display: inline-block;
  padding: 12px 18px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
  border: none;
  cursor: pointer;
  font-size: 0.95rem;
}

.btn-primary {
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  color: #fff;
  box-shadow: 0 10px 40px rgba(124, 60, 255, 0.18);
}

.btn-ghost {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.10);
  color: var(--muted);
}

.btn-outline {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.20);
  color: #fff;
}

.trust {
  display: flex;
  flex-wrap: wrap;
   gap: 12px 16px;     /* why coding sucks */
  margin-top: 18px;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.9rem;
}

/* Hero right device */
.hero-right {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center
}

.device-mock {
  width: 380px;
  height: 480px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
  border: 1px solid var(--panel-border);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}

.device-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 18px;
}

/* Scroll down */
.scroll-down {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.8rem;
  text-decoration: none;
  color: var(--muted);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

/* Section common */
.section {
  padding: 80px 0
}

.section.alt {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.01), transparent)
}

.section-title {
  font-size: 28px;
  margin-bottom: 8px;
  font-weight: 700
}

.section-sub {
  color: var(--muted);
  margin-bottom: 22px
}

.section-note {
  margin-top: 20px;
  color: var(--muted);
  text-align: center;
  font-size: 0.92rem;
}

/* Features */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 22px;
  margin-top: 20px;
}

.card {
  padding: 22px;
  border-radius: 14px;
  background: var(--panel);
  border: 1px solid var(--panel-border);
  text-align: center;
  min-height: 150px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Work grid */
.work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.work-grid.advanced {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.work-card {
  border-radius: 18px;
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--panel-border);
  transition: all .4s ease;
}

.work-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 80px rgba(124, 60, 255, 0.18);
}

.work-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.work-info {
  padding: 16px;
  font-size: 0.93rem;
}

.work-info h3 {
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.work-info p {
  color: var(--muted);
  margin-bottom: 4px;
}

.work-links {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

/* PRICING */
.pricing-label {
  font-size: 1rem;
  font-weight: 700;
  margin-top: 24px;
}

.pricing-grid {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 18px;
}

.pricing-card {
  width: 280px;
  perspective: 1000px
}

.flip-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform .8s;
}

.flip-front,
.flip-back {
  position: relative;
  min-height: 260px;
  border-radius: 16px;
  padding: 22px;
  backface-visibility: hidden;
  background: var(--panel);
  border: 1px solid var(--panel-border);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 8px;
}

.flip-back {
  position: absolute;
  inset: 0;
  transform: rotateY(180deg);
}

.price {
  font-size: 28px;
  font-weight: 800;
  color: var(--accent);
  margin: 4px 0;
}

.muted {
  color: var(--muted);
  font-size: 0.9rem
}

.highlight .flip-front,
.highlight .flip-back {
  box-shadow: 0 30px 80px rgba(124, 60, 255, 0.18);
  border: 1px solid rgba(124, 60, 255, 0.25);
}

.badge {
  display: inline-block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(124, 60, 255, 0.2);
}

.flip-back ul {
  list-style: none;
  margin: 0 0 10px;
  padding: 0;
  font-size: 0.9rem;
}

.flip-back li {
  opacity: 0.88;
  margin-bottom: 4px
}

/* Allow JS flip */
.flip-card:hover .flip-inner,
.flip-inner.flipped {
  transform: rotateY(180deg);
}

/* Business pricing */
.business-pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.business-card {
  border-radius: 16px;
  background: var(--panel);
  border: 1px solid var(--panel-border);
  padding: 18px;
}

.business-card h4 {
  margin-bottom: 4px;
  font-size: 1rem
}

.business-card .price {
  margin-bottom: 8px
}

.business-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.business-card li {
  margin-bottom: 4px
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 24px;
  margin-top: 18px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: transparent;
  color: #fff;
  margin-bottom: 10px;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.form-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 6px;
}

.form-note {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.85rem;
}

.contact-side {
  padding: 22px;
  border-radius: 16px;
  background: var(--panel);
  border: 1px solid var(--panel-border);
}

.contact-side h3 {
  margin-bottom: 10px
}

.contact-side ul {
  list-style: disc;
  padding-left: 18px;
  margin-bottom: 12px;
}

/* Tools Section */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 22px;
  margin-top: 25px;
}

.tool-card {
  padding: 20px;
  border-radius: 14px;
  border: 1px solid var(--panel-border);
  background: var(--panel);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  backdrop-filter: blur(12px);
  transition: all .25s ease;
}

.tool-card img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.35));
}

.tool-card span {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--muted);
}

/* Footer */
.site-footer {
  padding: 30px 0;
  text-align: center;
  color: var(--muted);
  border-top: 1px solid rgba(255, 255, 255, 0.02);
  font-size: 0.9rem;
}

/* Reveal & tilt classes (initial) */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  filter: blur(6px);
  transition: all .9s cubic-bezier(.2, .9, .3, 1);
}

.reveal.active {
  opacity: 1;
  transform: none;
  filter: blur(0);
}

.tilt-3d {
  transform-style: preserve-3d;
  transition: transform .25s cubic-bezier(.03, .98, .52, .99);
}

/* Floating WhatsApp */
.floating-whatsapp {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25D366, #128C7E);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 26px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  z-index: 1500;
}

/* HERO "God level" animations */
.hero-title {
  animation: heroReveal 1.4s cubic-bezier(.16, 1, .3, 1) both;
}

@keyframes heroReveal {
  from {
    opacity: 0;
    transform: translateY(60px) scale(0.92);
    filter: blur(10px);
  }

  to {
    opacity: 1;
    transform: none;
    filter: blur(0);
  }
}

.device-mock {
  animation: floatDevice 6s ease-in-out infinite;
}

@keyframes floatDevice {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-18px);
  }
}

.layer--near {
  animation: glowPulse 8s ease-in-out infinite alternate;
}

@keyframes glowPulse {
  from {
    opacity: 0.6;
  }

  to {
    opacity: 1;
  }
}

/* Responsive */
@media(max-width:920px) {
  .hero-inner {
    flex-direction: column;
    padding: 60px 0 40px
  }

  .device-mock {
    width: 320px;
    height: 380px
  }

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

  .nav-links {
    display: none
  }

  .hero {
    padding-top: 80px
  }
}

@media(max-width:600px) {
  .device-mock {
    width: 280px;
    height: 340px
  }

  .trust {
    flex-direction: column
  }
}




.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  margin-top: 20px;
}

.testimonial-card {
  padding: 22px;
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: 14px;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.testimonial-card h4 {
  margin-top: 12px;
  color: #fff;
  font-size: 0.9rem;
}

/* footer */
.footer-socials {
  margin-top: 10px;
  display: flex;
  gap: 14px;
  justify-content: center;
}

.footer-socials a {
  color: var(--muted);
  transition: transform 0.2s ease, color 0.2s ease;
}

.footer-socials a:hover {
  color: #fff;
  transform: translateY(-2px);
}

/* ===============================
   SERVICES SECTION
================================ */

.services-section {
  padding: 90px 0;
}

.services-container {
  width: 90%;
  max-width: 900px;
  margin: 0 auto;
}

.services-title {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 10px;
}

.services-sub {
  color: #bfc0c5;
  margin-bottom: 40px;
  max-width: 600px;
}

.service-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 26px;
  margin-bottom: 28px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(124, 60, 255, 0.18);
}

.service-card h3 {
  font-size: 22px;
  margin-bottom: 4px;
}

.service-for {
  color: #ff0066;
  font-weight: 600;
  margin-bottom: 14px;
}

.service-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
}

.service-card li {
  color: #bfc0c5;
  font-size: 0.95rem;
  margin-bottom: 8px;
  padding-left: 18px;
  position: relative;
}

.service-card li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: #7c3cff;
  font-size: 0.85rem;
}

.service-meta {
  color: #bfc0c5;
  font-size: 0.9rem;
  margin-bottom: 18px;
}

.service-btn {
  display: inline-block;
  padding: 12px 18px;
  border-radius: 12px;
  background: linear-gradient(90deg, #ff0066, #7c3cff);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}



/* FIX: allow nav clicks on mobile */
.nav-wrap {
  pointer-events: auto;
}

/* FIX: hero background must NOT capture clicks */
.hero-bg,
.bg-layer {
  pointer-events: none;
}




/* =========================
   CLEAN RESPONSIVE NAV
========================= */

.site-nav {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(10,10,15,0.95);
  backdrop-filter: blur(10px);
  z-index: 99999;
}

.nav-inner {
  height: 64px;
  max-width: 1180px;
  margin: auto;
  padding: 0 16px;

  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 20px;
  font-weight: 700;
}

.logo span {
  background: linear-gradient(90deg, #ff0066, #7c3cff);
  -webkit-background-clip: text;
  color: transparent;
}

/* menu */
.menu {
  display: flex;
  gap: 20px;
  list-style: none;
}

.menu a {
  color: #bfc0c5;
  text-decoration: none;
  font-weight: 600;
}

/* mobile button */
.menu-btn {
  display: none;
  font-size: 26px;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
}

/* MOBILE */
@media (max-width: 900px) {
  .menu-btn {
    display: block;
  }

  .menu {
    position: fixed;
    inset: 0;
    background: #040406;

    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 28px;

    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
  }

  .menu.open {
    opacity: 1;
    pointer-events: auto;
  }

  .menu a {
    font-size: 1.4rem;
    color: white;
  }
}
