:root {
  --bg-main: #060816;
  --bg-secondary: #0b1020;
  --card-bg: rgba(14, 19, 38, 0.75);
  --primary: #00e5ff;
  --secondary: #7b61ff;
  --text-main: #f4f8ff;
  --text-soft: #9fb3c8;
  --shadow-glow: 0 0 20px rgba(0, 229, 255, 0.18);
  --shadow-purple: 0 0 30px rgba(123, 97, 255, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background:
    radial-gradient(circle at 20% 20%, rgba(0, 229, 255, 0.10), transparent 25%),
    radial-gradient(circle at 80% 30%, rgba(123, 97, 255, 0.10), transparent 30%),
    radial-gradient(circle at 50% 80%, rgba(0, 229, 255, 0.07), transparent 25%),
    linear-gradient(135deg, #04060f, #08101d, #050915);
  color: var(--text-main);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: -2;
}

/* Navbar */
.navbar {
  background: rgba(6, 8, 22, 0.72) !important;
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: 0.3s ease;
}

.navbar.scrolled {
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
  border-bottom: 1px solid rgba(0, 229, 255, 0.12);
}

.navbar-brand {
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: 0.5px;
  color: #fff !important;
}

.brand-icon {
  color: var(--primary);
  text-shadow: 0 0 14px rgba(0, 229, 255, 0.7);
}

.nav-link {
  color: #d7e4f3 !important;
  position: relative;
  font-weight: 500;
  margin-left: 10px;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 8px;
  bottom: 2px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transition: width 0.3s ease;
  box-shadow: var(--shadow-glow);
}

.nav-link:hover::after {
  width: calc(100% - 16px);
}

.btn-glow {
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  color: #031019;
  font-weight: 700;
  border: none;
  border-radius: 50px;
  box-shadow: 0 0 18px rgba(0, 229, 255, 0.25);
  transition: 0.3s ease;
}

.btn-glow:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 0 25px rgba(0, 229, 255, 0.4), 0 0 35px rgba(123, 97, 255, 0.25);
  color: #04141f;
}

.btn-outline-tech {
  border: 1px solid rgba(0, 229, 255, 0.35);
  color: var(--text-main);
  border-radius: 50px;
  background: rgba(255,255,255,0.02);
  transition: 0.3s ease;
}

.btn-outline-tech:hover {
  background: rgba(0, 229, 255, 0.08);
  border-color: rgba(0, 229, 255, 0.7);
  box-shadow: var(--shadow-glow);
  color: #fff;
}

.btn-whatsapp {
  border-color: #25d366;
  background: radial-gradient(circle at top left, rgba(37, 211, 102, 0.18), transparent 45%), rgba(255,255,255,0.02);
  color: #e9fff3;
  box-shadow: 0 0 18px rgba(37, 211, 102, 0.24);
}

.btn-whatsapp:hover {
  background: linear-gradient(135deg, rgba(37, 211, 102, 0.24), rgba(0, 0, 0, 0.12));
  border-color: #25d366;
  box-shadow: 0 0 28px rgba(37, 211, 102, 0.35);
  color: #fff;
  transform: translateY(-2px) scale(1.02);
}

.btn-behance {
  border-color: #1769ff;
  background: radial-gradient(circle at top left, rgba(23, 105, 255, 0.18), transparent 45%), rgba(255,255,255,0.02);
  color: #b3d9ff;
  box-shadow: 0 0 18px rgba(23, 105, 255, 0.24);
}

.btn-behance:hover {
  background: linear-gradient(135deg, rgba(23, 105, 255, 0.24), rgba(0, 0, 0, 0.12));
  border-color: #1769ff;
  box-shadow: 0 0 28px rgba(23, 105, 255, 0.35);
  color: #fff;
  transform: translateY(-2px) scale(1.02);
}

.btn-github {
  border-color: #ffffffce;
  background: rgba(255,255,255,0.05);
  color: #f0f0f0;
  box-shadow: 0 0 5px rgba(255, 255, 255, 0.4), 0 0 18px rgba(51, 51, 51, 0.24);
}

.btn-github:hover {
  background: linear-gradient(135deg, rgba(51, 51, 51, 0.24), rgba(0, 0, 0, 0.12));
  border-color: #666;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.6), 0 0 28px rgba(51, 51, 51, 0.35);
  color: #fff;
  transform: translateY(-2px) scale(1.02);
}

.copy-btn {
  background: none;
  border: none;
  color: var(--primary);
  cursor: pointer;
  font-size: 0.9rem;
  margin-left: 8px;
  padding: 2px 4px;
  border-radius: 4px;
  transition: 0.3s ease;
}

.copy-btn:hover {
  background: rgba(0, 229, 255, 0.1);
  color: #fff;
}

/* Hero */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 100px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 50px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(0, 229, 255, 0.16);
  color: var(--primary);
  font-size: 0.92rem;
  box-shadow: var(--shadow-glow);
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: clamp(2.6rem, 6vw, 5rem);
  line-height: 1.05;
  font-weight: 800;
  margin-bottom: 1.25rem;
}

.gradient-text {
  background: linear-gradient(90deg, #ffffff, #8ef6ff, #a999ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-text {
  font-size: 1.08rem;
  color: var(--text-soft);
  max-width: 600px;
  line-height: 1.8;
  margin-bottom: 2rem;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 2rem;
}

.stat-box {
  min-width: 140px;
  padding: 18px 20px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 18px;
  box-shadow: inset 0 0 20px rgba(255,255,255,0.015);
  transition: 0.3s ease;
}

.stat-box:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 229, 255, 0.25);
  box-shadow: var(--shadow-glow);
}

.stat-box h4 {
  margin: 0;
  font-size: 1.5rem;
  color: var(--primary);
  font-weight: 700;
}

.stat-box p {
  margin: 6px 0 0;
  color: var(--text-soft);
  font-size: 0.92rem;
}

.hero-visual {
  position: relative;
  z-index: 1;
}

/* Glow orbs */
.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.45;
  z-index: 0;
  animation: floatOrb 10s ease-in-out infinite;
}

.orb-1 {
  width: 250px;
  height: 250px;
  background: rgba(0, 229, 255, 0.20);
  top: 80px;
  left: -80px;
}

.orb-2 {
  width: 280px;
  height: 280px;
  background: rgba(123, 97, 255, 0.18);
  bottom: 50px;
  right: -100px;
  animation-delay: 2s;
}

.orb-3 {
  width: 180px;
  height: 180px;
  background: rgba(0, 229, 255, 0.12);
  top: 50%;
  left: 55%;
  animation-delay: 4s;
}

@keyframes floatOrb {
  0%, 100% { transform: translateY(0px) translateX(0px); }
  50% { transform: translateY(-20px) translateX(10px); }
}

.tech-card {
  position: relative;
  background: linear-gradient(145deg, rgba(10, 16, 32, 0.88), rgba(7, 10, 22, 0.78));
  border: 1px solid rgba(0, 229, 255, 0.16);
  border-radius: 24px;
  padding: 24px;
  box-shadow:
    0 0 20px rgba(0, 229, 255, 0.10),
    0 0 50px rgba(123, 97, 255, 0.10),
    inset 0 0 20px rgba(255,255,255,0.02);
  overflow: hidden;
}

.tech-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.04), transparent);
  transform: translateX(-100%);
  animation: shine 5s linear infinite;
}

@keyframes shine {
  100% { transform: translateX(100%); }
}

.screen-header {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
}

.screen-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
}

.screen-dot:nth-child(1) { background: #ff5f57; }
.screen-dot:nth-child(2) { background: #febc2e; }
.screen-dot:nth-child(3) { background: #28c840; }

.mockup-block {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 18px;
  padding: 18px;
  margin-bottom: 16px;
}

.mockup-line {
  height: 10px;
  border-radius: 20px;
  margin-bottom: 12px;
  background: linear-gradient(90deg, rgba(0,229,255,0.7), rgba(123,97,255,0.45));
  animation: pulseLine 2.2s ease-in-out infinite;
}

.mockup-line.small { width: 45%; }
.mockup-line.medium { width: 70%; }
.mockup-line.large { width: 100%; }

@keyframes pulseLine {
  0%, 100% { opacity: 0.55; }
  50% { opacity: 1; }
}

.floating-mini {
  position: absolute;
  border-radius: 18px;
  padding: 14px 16px;
  background: rgba(10, 15, 30, 0.88);
  border: 1px solid rgba(0, 229, 255, 0.20);
  box-shadow: var(--shadow-glow);
  color: #fff;
  animation: floatCard 4s ease-in-out infinite;
}

.floating-mini.one {
  top: -20px;
  right: -20px;
}

.floating-mini.two {
  bottom: -15px;
  left: -20px;
  animation-delay: 1.8s;
}

@keyframes floatCard {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

/* General sections */
.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 12px;
}

.section-subtitle {
  color: var(--text-soft);
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.8;
}

.service-card,
.feature-card,
.contact-card {
  background: var(--card-bg);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 22px;
  padding: 28px 24px;
  height: 100%;
  transition: 0.35s ease;
  position: relative;
  overflow: hidden;
}

.service-card::before,
.feature-card::before,
.contact-card::before {
  content: "";
  position: absolute;
  top: -80px;
  right: -80px;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(0,229,255,0.18), transparent 70%);
  pointer-events: none;
}

.service-card:hover,
.feature-card:hover,
.contact-card:hover {
  transform: translateY(-8px);
  border-color: rgba(0, 229, 255, 0.24);
  box-shadow: var(--shadow-glow), var(--shadow-purple);
}

.service-icon,
.feature-icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.4rem;
  color: var(--primary);
  background: rgba(0, 229, 255, 0.08);
  border: 1px solid rgba(0, 229, 255, 0.18);
  box-shadow: var(--shadow-glow);
}

.service-card h4,
.feature-card h5 {
  font-weight: 700;
  margin-bottom: 12px;
}

.service-card p,
.feature-card p,
.contact-card p {
  color: var(--text-soft);
  line-height: 1.75;
  margin-bottom: 0;
}

.why-box {
  background: linear-gradient(145deg, rgba(10, 16, 32, 0.9), rgba(7, 10, 22, 0.82));
  border: 1px solid rgba(0,229,255,0.14);
  border-radius: 28px;
  padding: 40px;
  box-shadow: var(--shadow-glow);
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.check-list li {
  color: var(--text-soft);
  margin-bottom: 18px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.check-list i {
  color: var(--primary);
  margin-top: 4px;
  text-shadow: 0 0 12px rgba(0,229,255,0.65);
}

.cta-box {
  background:
    linear-gradient(135deg, rgba(0,229,255,0.10), rgba(123,97,255,0.10)),
    rgba(8, 12, 26, 0.92);
  border: 1px solid rgba(0,229,255,0.20);
  border-radius: 28px;
  padding: 50px 30px;
  box-shadow: var(--shadow-glow), var(--shadow-purple);
  text-align: center;
}

.footer {
  border-top: 1px solid rgba(255,255,255,0.06);
  background: rgba(5, 8, 18, 0.9);
}

.footer a {
  color: var(--text-soft);
  text-decoration: none;
  transition: 0.3s ease;
}

.footer a:hover {
  color: var(--primary);
}

.social-links a {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.08);
  color: #fff;
  background: rgba(255,255,255,0.03);
  transition: 0.3s ease;
  margin-right: 10px;
}

.social-links a:hover {
  color: var(--primary);
  border-color: rgba(0,229,255,0.3);
  box-shadow: var(--shadow-glow);
  transform: translateY(-3px);
}

/* Reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.8s ease;
}

.reveal-left.active {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(50px);
  transition: all 0.8s ease;
}

.reveal-right.active {
  opacity: 1;
  transform: translateX(0);
}

/* Responsive */
@media (max-width: 991.98px) {
  .hero-section {
    text-align: center;
    padding-top: 120px;
  }

  .hero-text {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-stats {
    justify-content: center;
  }

  .floating-mini.one,
  .floating-mini.two {
    position: static;
    display: inline-block;
    margin: 12px 8px 0;
  }

  .hero-visual {
    margin-top: 50px;
  }

  .why-box {
    padding: 28px;
  }
}

@media (max-width: 575.98px) {
  .hero-title {
    font-size: 2.4rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .stat-box {
    width: 100%;
  }
}

.demo-showcase {
  position: relative;
  margin-top: 56px;
  padding: 36px;
  background: linear-gradient(145deg, rgba(8, 13, 28, 0.92), rgba(5, 9, 20, 0.82));
  border: 1px solid rgba(0, 229, 255, 0.14);
  border-radius: 28px;
  box-shadow: var(--shadow-glow);
}

.demo-showcase-header {
  max-width: 760px;
  margin: 0 auto 28px;
}

.demo-showcase-header h3 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  margin: 16px 0 12px;
}

.demo-showcase-header p {
  color: var(--text-soft);
  line-height: 1.8;
  margin-bottom: 0;
}

.demo-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(0, 229, 255, 0.18);
  color: var(--primary);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.demo-category + .demo-category {
  margin-top: 2.5rem;
}

.demo-category-title {
  margin: 0 0 10px;
  font-size: clamp(1.25rem, 2.2vw, 1.65rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #dff8ff;
}

.demo-site-card {
  display: block;
  height: 100%;
  padding: 28px;
  border-radius: 24px;
  text-decoration: none;
  color: var(--text-main);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01)),
    rgba(12, 18, 35, 0.92);
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: inset 0 0 20px rgba(255,255,255,0.02);
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.demo-site-image-wrap {
  position: relative;
  margin: -10px -10px 20px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.3);
}

.demo-site-image-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(150deg, rgba(0, 229, 255, 0.18), transparent 55%, rgba(123, 97, 255, 0.2));
  pointer-events: none;
}

.demo-site-image {
  width: 100%;
  height: 170px;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

.demo-site-card:hover {
  transform: translateY(-8px);
  border-color: rgba(0, 229, 255, 0.28);
  box-shadow: var(--shadow-glow), var(--shadow-purple);
  color: var(--text-main);
}

.demo-site-card:hover .demo-site-image {
  transform: scale(1.06);
}

.demo-site-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.demo-site-icon {
  width: 68px;
  height: 68px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--primary);
  background: rgba(0, 229, 255, 0.08);
  border: 1px solid rgba(0, 229, 255, 0.18);
  box-shadow: var(--shadow-glow);
}

.demo-site-tag {
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(123, 97, 255, 0.12);
  border: 1px solid rgba(123, 97, 255, 0.22);
  color: #dcd5ff;
  font-size: 0.85rem;
}

.demo-site-card h4 {
  font-size: 1.45rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.demo-site-card p {
  color: var(--text-soft);
  line-height: 1.75;
  margin-bottom: 18px;
}

.demo-site-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--primary);
  font-weight: 700;
}

.package-group + .package-group {
  margin-top: 2.5rem;
}

.package-group-head {
  margin-bottom: 18px;
}

.package-group-head h3 {
  margin: 0;
  font-size: clamp(1.45rem, 2.4vw, 1.9rem);
  font-weight: 800;
  color: #e9fbff;
}

.package-group-head span {
  display: block;
  margin-top: 8px;
  color: var(--text-soft);
}

.package-card {
  height: 100%;
  border-radius: 24px;
  padding: 16px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.015)),
    rgba(10, 16, 32, 0.92);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: inset 0 0 22px rgba(255,255,255,0.02);
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.package-card:hover {
  transform: translateY(-8px);
  border-color: rgba(0, 229, 255, 0.3);
  box-shadow: var(--shadow-glow), 0 16px 32px rgba(0, 0, 0, 0.32);
}

.package-image-wrap {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.32);
}

.package-image {
  width: 100%;
  height: auto;
  display: block;
}

.package-content {
  padding: 16px 8px 6px;
}

.package-content h4 {
  margin: 0 0 10px;
  font-size: 1.3rem;
  font-weight: 700;
}

.package-content p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.75;
}

.demo-showcase {
  padding: 28px;
}

.demo-site-top {
  align-items: flex-start;
  flex-direction: column;
}

.demo-showcase {
  padding: 24px 20px;
}

.demo-site-card {
  padding: 24px;
}

.demo-site-image {
  height: 160px;
}

.corner-floating-logo {
  position: fixed;
  right: 22px;
  bottom: 88px;
  width: clamp(78px, 8vw, 130px);
  z-index: 1000;
  pointer-events: none;
  padding: 8px;
  border-radius: 50%;
  border: 1.5px solid rgba(0, 229, 255, 0.45);
  background: radial-gradient(circle, rgba(7, 12, 25, 0.88), rgba(7, 12, 25, 0.58));
  box-shadow: 0 0 0 5px rgba(0, 229, 255, 0.09), 0 10px 24px rgba(0, 0, 0, 0.35);
  animation: cornerLogoFloat 6s ease-in-out infinite;
}

.corner-floating-logo img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 50%;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.35));
}

@keyframes cornerLogoFloat {
  0%, 100% {
    transform: translateY(0) rotate(-2deg);
  }
  50% {
    transform: translateY(-12px) rotate(2deg);
  }
}

@media (max-width: 767.98px) {
  .corner-floating-logo {
    right: 14px;
    bottom: 86px;
    width: 74px;
  }
}

/* Neon Divider */
.neon-divider {
  position: relative;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin: 40px 0;
}

.neon-line {
  position: absolute;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(0, 229, 255, 0.3) 20%, 
    rgba(0, 229, 255, 0.8) 50%, 
    rgba(0, 229, 255, 0.3) 80%, 
    transparent 100%);
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.5);
}

.neon-glow {
  position: absolute;
  width: 100px;
  height: 40px;
  background: radial-gradient(ellipse, rgba(0, 229, 255, 0.6), transparent 70%);
  filter: blur(8px);
  animation: neonSweep 3s ease-in-out infinite;
}

@keyframes neonSweep {
  0% { 
    transform: translateX(-150px); 
    opacity: 0;
  }
  50% { 
    opacity: 1;
  }
  100% { 
    transform: translateX(150px); 
    opacity: 0;
  }
}
