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

/* ===========================
   NEXO APPS — Techbar Clone Style
   =========================== */

/* ---- CSS Variables ---- */
:root {
  --clr-bg: #0e1116;
  /* Deep charcoal/navy background */
  --clr-surface: #1a1d24;
  /* Slightly lighter surface for cards */
  --clr-border: rgba(255, 255, 255, 0.1);

  --clr-primary: #c7eb4c;
  /* Techbar vibrant lime green */
  --clr-primary-hover: #b4d53a;

  --clr-text: #ffffff;
  --clr-text-dim: #a0a6b3;
  /* Light muted grey for paragraphs */

  --clr-accent-blue: #728cfb;
  --clr-accent-green: #0b453c;
  --clr-accent-slate: #5b697e;

  /* Massive rounded corners like techbar */
  --radius: 12px;
  --radius-lg: 30px;
  --radius-xl: 40px;
  --radius-pill: 9999px;

  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);

  --font-heading: 'Syne', sans-serif;
  /* Close to Clash Display */
  --font-body: 'Inter', sans-serif;

  --nav-height: 80px;
}

/* ---- Reset ---- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background: var(--clr-bg);
  color: var(--clr-text);
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  list-style: none;
}

button {
  cursor: pointer;
  font-family: inherit;
  border: none;
  outline: none;
  background: transparent;
}

input,
textarea {
  font-family: inherit;
  outline: none;
}

/* ===========================
   NAV BAR (Blurred Glass)
   =========================== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  padding: 0 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(14, 17, 22, 0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: var(--transition);
}

.nav.scrolled {
  background: rgba(14, 17, 22, 0.85);
  border-bottom: 1px solid var(--clr-border);
}

.nav-logo {
  font-family: var(--font-heading);
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--clr-text);
}

.nav-logo span {
  color: var(--clr-primary);
  font-weight: 500;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--clr-text);
  transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--clr-primary);
}

.nav-cta {
  border: 1px solid var(--clr-border);
  color: var(--clr-text);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.6rem 1.5rem;
  border-radius: var(--radius-pill);
  transition: var(--transition);
}

.nav-cta:hover {
  background: var(--clr-text);
  color: var(--clr-bg);
}

/* Mobile Nav */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 30px;
  height: 2px;
  background: var(--clr-text);
  transition: var(--transition);
}

.mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  background: rgba(14, 17, 22, 0.98);
  backdrop-filter: blur(20px);
  z-index: 999;
  padding: 2rem;
  border-bottom: 1px solid var(--clr-border);
  flex-direction: column;
  gap: 1.5rem;
}

.mobile-menu.open {
  display: flex;
}

@media(max-width: 900px) {
  .nav {
    padding: 0 1.5rem;
  }

  .nav-links,
  .nav-cta {
    display: none;
  }

  .hamburger {
    display: flex;
  }
}

/* ===========================
   BUTTONS
   =========================== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--clr-primary);
  color: #000;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  padding: 1rem 2.5rem;
  border-radius: var(--radius-pill);
  transition: var(--transition);
}

.btn-primary:hover {
  background: var(--clr-primary-hover);
  transform: translateY(-2px);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--clr-text);
  font-weight: 600;
  font-size: 1rem;
  padding: 1rem 2.5rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--clr-border);
  transition: var(--transition);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.05);
}

/* ===========================
   LAYOUT & TYPOGRAPHY
   =========================== */
.section {
  padding: 8rem 4rem;
  position: relative;
  z-index: 2;
}

@media(max-width: 768px) {
  .section {
    padding: 5rem 1.5rem;
  }
}

.section-inner {
  max-width: 1400px;
  margin: 0 auto;
}

/* Massive Techbar-style Typography */
.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 8vw, 7.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.04em;
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
  text-transform: uppercase;
  word-wrap: break-word;
}

.hero-title span.lime {
  color: var(--clr-primary);
}

.hero-title span.blue {
  color: var(--clr-accent-blue);
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2vw, 1.25rem);
  color: var(--clr-text);
  text-align: center;
  max-width: 600px;
  margin: 2rem auto 3rem;
  line-height: 1.6;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 2rem;
  word-wrap: break-word;
}

/* ===========================
   HERO AURA BACKGROUND (Techbar style)
   =========================== */
.hero-aura-wrap {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 120vh;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}

.aura-swoosh {
  position: absolute;
  top: 30%;
  left: -10%;
  width: 120%;
  height: 300px;
  background: linear-gradient(90deg, transparent, rgba(199, 235, 76, 0.2), rgba(114, 140, 251, 0.2), transparent);
  filter: blur(100px);
  transform: rotate(-10deg);
  animation: auraPan 15s ease-in-out infinite alternate;
}

@keyframes auraPan {
  0% {
    transform: rotate(-10deg) translateY(0) scale(1);
  }

  100% {
    transform: rotate(-5deg) translateY(50px) scale(1.1);
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 15vh;
  padding-left: 4rem;
  padding-right: 4rem;
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

@media(max-width: 768px) {
  .hero-content {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

/* Tagline Indicator block (like top left of hero) */
.hero-indicator {
  position: absolute;
  top: -1rem;
  left: -2rem;
  width: 24px;
  height: 24px;
  background: var(--clr-primary);
}

/* ===========================
   SERVICES / CARDS GRID
   =========================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

@media(max-width: 900px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

.service-card {
  padding: 3rem;
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 380px;
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-5px);
}

/* Specific Card Colors replicating the screenshots */
.card-lime {
  background: var(--clr-primary);
  color: #000;
}

.card-lime .service-desc {
  color: rgba(0, 0, 0, 0.7);
}

.card-slate {
  background: var(--clr-accent-slate);
  color: #fff;
}

.card-slate .service-desc {
  color: rgba(255, 255, 255, 0.8);
}

.card-green {
  background: var(--clr-accent-green);
  color: #fff;
}

.card-green .service-desc {
  color: rgba(255, 255, 255, 0.8);
}

.card-white {
  background: #f8f9fa;
  color: #000;
}

.card-white .service-desc {
  color: rgba(0, 0, 0, 0.7);
}

.service-title {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}

.service-desc {
  font-size: 1.1rem;
  line-height: 1.6;
}

.service-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 2rem;
}

/* Basic line icon styling */
.service-icon svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
  stroke-width: 1.5;
  fill: none;
}

/* ===========================
   ACCORDION (FAQ/PROCESS)
   =========================== */
.accordion-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

@media(max-width: 900px) {
  .accordion-wrap {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.accordion-list {
  display: flex;
  flex-direction: column;
}

.accordion-item {
  border-bottom: 1px solid var(--clr-border);
}

.accordion-item:first-child {
  border-top: 1px solid var(--clr-border);
}

.accordion-header {
  width: 100%;
  text-align: left;
  padding: 1.75rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--clr-text);
}

.accordion-header:hover {
  color: var(--clr-primary);
}

.accordion-icon {
  width: 32px;
  height: 32px;
  border: 1px solid var(--clr-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 300;
  transition: var(--transition);
}

.accordion-item.active .accordion-icon {
  transform: rotate(45deg);
  border-color: var(--clr-primary);
  color: var(--clr-primary);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.accordion-inner {
  padding-bottom: 1.75rem;
  font-size: 1.05rem;
  color: var(--clr-text-dim);
  line-height: 1.6;
}

/* ===========================
   LARGE WATERMARK BACKGROUND
   =========================== */
.watermark-wrap {
  position: absolute;
  bottom: -3vw;
  left: 0;
  width: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
  display: flex;
  justify-content: center;
}

.watermark-text {
  font-family: var(--font-heading);
  font-size: 24vw;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.02);
  white-space: nowrap;
  line-height: 0.75;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  user-select: none;
}

/* ===========================
   FOOTER
   =========================== */
.footer {
  position: relative;
  padding: 6rem 4rem 2rem;
  overflow: hidden;
  border-top: 1px solid var(--clr-border);
  background: var(--clr-bg);
}

@media(max-width: 768px) {
  .footer {
    padding: 3rem 1.5rem 1.5rem;
  }
}

.footer-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

@media(max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media(max-width: 500px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer-heading {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--clr-text-dim);
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-link {
  display: block;
  font-size: 1rem;
  color: var(--clr-text);
  margin-bottom: 0.75rem;
  transition: var(--transition);
}

.footer-link:hover {
  color: var(--clr-primary);
  transform: translateX(5px);
}

.footer-bottom {
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--clr-border);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ===========================
   SCROLL ANIMATIONS
   =========================== */
.reveal-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

.delay-1 {
  transition-delay: 0.1s;
}

.delay-2 {
  transition-delay: 0.2s;
}

/* Miscellaneous utility */
.badge {
  display: inline-block;
  padding: 0.35rem 1rem;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 500;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--clr-border);
}