/* =========================
   RESET
========================= */

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

:root {
  --bg: #030712;
  --panel: rgba(255,255,255,.06);
  --border: rgba(255,255,255,.1);
  --text: #ffffff;
  --muted: #9fb0c3;
  --blue: #38bdf8;
  --cyan: #67e8f9;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.6;
}

/* =========================
   GLOBAL
========================= */

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

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

section {
  padding: 100px 24px;
}

.eyebrow {
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .8rem;
  font-weight: 900;
  margin-bottom: 18px;
}

.section-heading {
  width: min(1200px, 92%);
  margin: 0 auto 60px;
}

.section-heading h2 {
  font-size: clamp(3rem, 7vw, 6rem);
  line-height: .92;
  letter-spacing: -.06em;
  margin-bottom: 18px;
}

.section-heading p {
  color: var(--muted);
  max-width: 700px;
}

/* =========================
   BACKGROUND FX
========================= */

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;

  background:
    radial-gradient(circle at 20% 20%, rgba(56,189,248,.12), transparent 25%),
    radial-gradient(circle at 80% 30%, rgba(59,130,246,.08), transparent 30%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;

  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);

  background-size: 90px 90px;
}

/* =========================
   NAVBAR
========================= */

.site-header {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1180px, 92%);
  z-index: 1000;

  background: rgba(5,10,20,.6);
  backdrop-filter: blur(20px);

  border: 1px solid var(--border);
  border-radius: 24px;
}

.navbar {
  min-height: 78px;
  padding: 0 24px;

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

.brand-logo {
  width: 48px;
}

.nav-links {
  display: flex;
  gap: 30px;
  align-items: center;
}

.nav-links a {
  color: rgba(255,255,255,.75);
  font-weight: 700;
}

.nav-links a:hover {
  color: white;
}

.nav-cta {
  padding: 14px 22px;
  border-radius: 999px;

  background: linear-gradient(135deg, var(--blue), var(--cyan));

  color: #03121f !important;
  font-weight: 900;
}

.menu-btn {
  display: none;
  background: transparent;
  border: none;
  color: white;
  font-size: 1.8rem;
}

/* =========================
   HERO
========================= */

.hero {
  position: relative;
  min-height: 100vh;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  text-align: center;
  overflow: hidden;

  padding: 150px 24px 100px;
}

.hero-video {
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;
  object-fit: cover;

  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;

  background:
    linear-gradient(rgba(3,7,18,.72), rgba(3,7,18,.94));

  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
}

.hero h1 {
  font-size: clamp(3.5rem, 8vw, 7rem);
  line-height: .86;
  letter-spacing: -.08em;
  margin-bottom: 26px;
}

.hero-text {
  max-width: 720px;
  margin: 0 auto 34px;
  color: #dbeafe;
  font-size: 1.1rem;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.btn {
  padding: 16px 26px;
  border-radius: 18px;
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: .25s ease;
}

.btn:hover {
  transform: translateY(-3px);
}

.primary {
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  color: #03121f;
}

.secondary {
  background: rgba(255,255,255,.08);
  border: 1px solid var(--border);
}

.hero-device {
  position: relative;
  z-index: 2;

  width: min(1000px, 92%);
  margin-top: 70px;
}

.device-frame {
  border-radius: 34px;
  overflow: hidden;

  border: 1px solid rgba(255,255,255,.1);

  background: rgba(255,255,255,.05);

  backdrop-filter: blur(20px);

  padding: 18px;
}

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

.scene-section {
  background:
    linear-gradient(180deg, #030712, #07111f);
}

.scene-inner {
  width: min(1200px, 100%);
  margin: auto;
}

.scene-inner h2 {
  font-size: clamp(3rem, 7vw, 6rem);
  line-height: .92;
  letter-spacing: -.06em;
  margin-bottom: 30px;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 18px;
  margin-bottom: 50px;
}

.trust-item,
.scene-card,
.pricing-card,
.contact-box,
.featured-project {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  backdrop-filter: blur(18px);
}

.trust-item {
  padding: 24px;
  border-radius: 22px;
  text-align: center;
}

.scene-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 24px;
}

.scene-card {
  padding: 34px;
  border-radius: 28px;
}

.scene-card span {
  color: var(--cyan);
  display: block;
  margin-bottom: 20px;
  font-weight: 900;
}

.scene-card p {
  color: var(--muted);
}
.browser-showcase {
  width: min(1100px, 92%);
  margin: 90px auto 0;
  position: relative;
  z-index: 2;
}

.browser-frame {
  width: 100%;
  border-radius: 34px;
  overflow: hidden;
  background: rgba(8,12,24,.82);
  border: 1px solid rgba(255,255,255,.08);

  box-shadow:
    0 30px 80px rgba(0,0,0,.45),
    0 0 60px rgba(56,189,248,.12);

  backdrop-filter: blur(18px);
}

.browser-top {
  height: 54px;
  padding: 0 20px;

  display: flex;
  align-items: center;
  gap: 14px;

  background: rgba(3,7,18,.85);
}

.browser-dots {
  display: flex;
  gap: 8px;
}

.browser-dots span {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  background: var(--cyan);
}

.browser-screen {
  width: 100%;
  height: 560px;
  overflow: hidden;
}

.browser-screen img {
  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: top center;

  display: block;
}

/* =========================
   PORTFOLIO
========================= */

.featured-project {
  width: min(1200px, 92%);
  margin: auto;

  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;

  padding: 60px;
  border-radius: 38px;
}

.featured-content h3 {
  font-size: clamp(3rem, 6vw, 5rem);
  line-height: .9;
  margin-bottom: 24px;
}

.featured-content p {
  color: var(--muted);
  margin-bottom: 24px;
}

.project-price {
  margin-bottom: 28px;
  display: inline-block;

  padding: 14px 22px;
  border-radius: 999px;

  background: rgba(56,189,248,.1);
  border: 1px solid rgba(56,189,248,.25);
}

.featured-visual img {
  border-radius: 28px;
}

.portfolio-grid {
  width: min(1200px, 92%);
  margin: 40px auto 0;

  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.project-card {
  position: relative;
  min-height: 500px;
  overflow: hidden;
  border-radius: 34px;
}

.project-image {
  position: absolute;
  inset: 0;

  background-size: cover;
  background-position: center;
}

.project-two,
.project-three {
  background:
    radial-gradient(circle at top left,
      rgba(56,189,248,.16),
      transparent 45%),
    linear-gradient(
      180deg,
      rgba(10,15,30,.96),
      rgba(5,10,20,1)
    );

  border: 1px solid rgba(255,255,255,.06);
}

.project-two::before,
.project-three::before {
  content: "";

  position: absolute;
  inset: 0;

  background:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);

  background-size: 42px 42px;

  opacity: .18;
}

.project-info {
  position: absolute;
  left: 30px;
  right: 30px;
  bottom: 30px;
}

.project-info p {
  color: var(--cyan);
  margin-bottom: 10px;
}

.project-info h3 {
  font-size: 2rem;
}

/* =========================
   PRICING
========================= */

.pricing-grid {
  width: min(1200px, 92%);
  margin: auto;

  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 24px;
}

.pricing-card {
  padding: 40px 32px;
  border-radius: 30px;
}

.pricing-card h3 {
  font-size: 3rem;
  margin: 18px 0;
}

.pricing-description {
  color: var(--muted);
  margin-bottom: 24px;
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.featured-price {
  border: 1px solid rgba(56,189,248,.35);
}

.popular-tag {
  display: inline-block;

  margin-bottom: 18px;

  background: var(--cyan);
  color: #03121f;

  padding: 8px 14px;
  border-radius: 999px;

  font-size: .72rem;
  font-weight: 900;
}

/* =========================
   CONTACT
========================= */

.contact-box {
  width: min(1200px, 92%);
  margin: auto;

  text-align: center;

  padding: 80px 30px;
  border-radius: 38px;
}

.contact-box h2 {
  font-size: clamp(3rem, 7vw, 6rem);
  line-height: .92;
  letter-spacing: -.06em;
  margin-bottom: 20px;
}

.contact-box p {
  color: var(--muted);
  max-width: 700px;
  margin: 0 auto 34px;
}

.contact-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* =========================
   FOOTER
========================= */

.footer {
  padding: 40px 20px;
  text-align: center;
  color: var(--muted);
}

/* =========================
   SCROLL BAR
========================= */

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;

  height: 3px;
  width: 0%;

  z-index: 9999;

  background: linear-gradient(90deg, var(--blue), var(--cyan));
}

/* =========================
   CODE TRAIL
========================= */

.code-trail-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9998;
}

.code-particle {
  position: fixed;
  color: #38bdf8;

  font-family: monospace;
  font-size: 13px;
  font-weight: 700;

  text-shadow: 0 0 18px rgba(56,189,248,.85);

  animation: codeFloat 1s ease-out forwards;
}

@keyframes codeFloat {
  from {
    opacity: 1;
    transform: translateY(0);
  }

  to {
    opacity: 0;
    transform: translateY(-30px);
  }
}

/* =========================
   MOBILE
========================= */

@media (max-width: 900px) {

  .site-header {
    width: 94%;
    top: 14px;
  }

  .navbar {
    min-height: 72px;
  }

  .menu-btn {
    display: block;
  }

  .nav-links {
    display: none;

    position: absolute;
    top: 84px;
    left: 0;
    right: 0;

    padding: 20px;

    flex-direction: column;
    align-items: stretch;
    gap: 14px;

    background: rgba(5,10,20,.96);

    border: 1px solid var(--border);
    border-radius: 24px;
  }

  .nav-links.show {
    display: flex;
  }

  .hero {
    min-height: auto;
    padding: 140px 20px 70px;
  }

  .hero h1 {
    font-size: 3.4rem;
  }

  .hero-device {
    margin-top: 45px;
  }

  .scene-grid,
  .trust-strip,
  .featured-project,
  .portfolio-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .featured-project {
    padding: 34px 24px;
    gap: 34px;
  }

  .project-card {
    min-height: 380px;
  }

  .hero-buttons,
  .contact-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  section {
    padding: 70px 20px;
  }

  .section-heading {
    margin-bottom: 40px;
  }

  .section-heading h2,
  .scene-inner h2,
  .contact-box h2 {
    font-size: 2.8rem;
  }
}
/* =========================
   BUTTON SHINE EFFECT
========================= */

.btn,
.nav-cta {
  position: relative;
  overflow: hidden;
}

.btn::after,
.nav-cta::after {
  content: "";

  position: absolute;
  top: 0;
  left: -120%;

  width: 80%;
  height: 100%;

  background: linear-gradient(
    120deg,
    transparent,
    rgba(255,255,255,.55),
    transparent
  );

  transform: skewX(-20deg);

  transition: .65s ease;
}

.btn:hover::after,
.nav-cta:hover::after {
  left: 140%;
}
/* =========================
   DEVICE / BROWSER GLOW
========================= */

.hero-device,
.browser-showcase,
.featured-project {
  position: relative;
}

.device-glow,
.browser-glow,
.featured-glow {
  position: absolute;

  background: radial-gradient(
    circle,
    rgba(56,189,248,.38),
    transparent 70%
  );

  filter: blur(70px);

  pointer-events: none;

  opacity: .9;
}

/* HERO DEVICE */

.device-glow {
  width: 65%;
  height: 140px;

  bottom: -30px;
  left: 50%;

  transform: translateX(-50%);
}

/* BROWSER */

.browser-glow {
  inset: 18% 8% -12%;
}

/* FEATURED PROJECT */

.featured-glow {
  width: 700px;
  height: 700px;

  top: 50%;
  left: 55%;

  transform: translate(-50%, -50%);
}

/* MOBILE */

@media (max-width: 900px) {
  .device-glow,
  .browser-glow,
  .featured-glow {
    opacity: .55;
    filter: blur(50px);
  }
}
/* =========================
   CONTACT GLOW
========================= */

.contact-box {
  position: relative;
  overflow: hidden;
}

.contact-box::before {
  content: "";

  position: absolute;
  inset: -40%;

  background: radial-gradient(
    circle,
    rgba(56,189,248,.22),
    transparent 55%
  );

  filter: blur(70px);

  opacity: .9;

  pointer-events: none;
}

.contact-box > * {
  position: relative;
  z-index: 2;
}
/* =========================
   STRONGER GLASS / SHADOWS
========================= */

.scene-card,
.trust-item,
.pricing-card,
.contact-box,
.featured-project,
.device-frame,
.browser-frame,
.site-header {
  background: rgba(255,255,255,.06);

  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);

  border: 1px solid rgba(255,255,255,.1);

  box-shadow:
    0 10px 40px rgba(0,0,0,.28),
    inset 0 1px 0 rgba(255,255,255,.05);
}

/* STRONGER HOVER DEPTH */

.scene-card:hover,
.pricing-card:hover,
.project-card:hover,
.featured-project:hover {
  transform: translateY(-8px);

  box-shadow:
    0 18px 60px rgba(0,0,0,.4),
    0 0 30px rgba(56,189,248,.12);
}
/* =========================
   ANIMATED BACKGROUND EFFECTS
========================= */

body {
  position: relative;
}

.ambient-orb {
  position: fixed;
  width: 420px;
  height: 420px;
  border-radius: 999px;
  pointer-events: none;
  z-index: -1;
  filter: blur(95px);
  opacity: .22;
  animation: floatOrb 14s ease-in-out infinite alternate;
}

.orb-one {
  top: 12%;
  left: -140px;
  background: #38bdf8;
}

.orb-two {
  top: 42%;
  right: -150px;
  background: #2563eb;
  animation-delay: 3s;
}

.orb-three {
  bottom: 8%;
  left: 25%;
  background: #67e8f9;
  animation-delay: 6s;
}

@keyframes floatOrb {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }

  to {
    transform: translate3d(45px, -55px, 0) scale(1.12);
  }
}

body::after {
  animation: gridMove 18s linear infinite;
}

@keyframes gridMove {
  from {
    background-position: 0 0;
  }

  to {
    background-position: 90px 90px;
  }
}

.hero::after,
.scene-section::after,
.portfolio::after,
.pricing::after,
.contact::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(
    circle at 50% 50%,
    rgba(56,189,248,.08),
    transparent 45%
  );
  opacity: .55;
  animation: sectionPulse 7s ease-in-out infinite alternate;
}

@keyframes sectionPulse {
  from {
    opacity: .25;
  }

  to {
    opacity: .65;
  }
}

.hero,
.scene-section,
.portfolio,
.pricing,
.contact {
  position: relative;
  overflow: hidden;
}

@media (max-width: 900px) {
  .ambient-orb {
    width: 260px;
    height: 260px;
    filter: blur(75px);
    opacity: .16;
  }

  .hero::after,
  .scene-section::after,
  .portfolio::after,
  .pricing::after,
  .contact::after {
    opacity: .3;
  }
}
/* =========================
   SCROLL REVEAL ANIMATIONS
========================= */

.reveal {
  opacity: 0;
  transform: translateY(45px);
  transition:
    opacity .9s ease,
    transform .9s ease;
}

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

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

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

.reveal-delay-3 {
  transition-delay: .3s;
}
/* =========================
   CURSOR SPOTLIGHT
========================= */

.cursor-spotlight {
  position: fixed;
  width: 360px;
  height: 360px;
  border-radius: 999px;
  pointer-events: none;
  z-index: 1;
  opacity: .18;
  background: radial-gradient(circle, rgba(56,189,248,.65), transparent 65%);
  filter: blur(25px);
  transform: translate(-50%, -50%);
}
/* =========================
   LOADER
========================= */

.loader {
  position: fixed;
  inset: 0;

  background: #030712;

  display: flex;
  align-items: center;
  justify-content: center;

  z-index: 999999;

  transition:
    opacity .8s ease,
    visibility .8s ease;
}

.loader.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-logo {
  width: 120px;
  height: 120px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: rgba(10, 15, 30, 0.65);
  border-radius: 28px;
  padding: 20px;

  border: 1px solid rgba(56,189,248,.22);

  box-shadow:
    0 0 35px rgba(56,189,248,.35),
    0 0 70px rgba(56,189,248,.16);

  backdrop-filter: blur(14px);

  animation: loaderPulse 1.8s ease-in-out infinite;
}

.loader-logo img {
  width: 82px;
  height: 82px;
  object-fit: contain;

  filter: drop-shadow(0 0 16px rgba(56,189,248,.65));

  animation: logoFloat 2.5s ease-in-out infinite;
}

@keyframes loaderPulse {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.08);
  }

  100% {
    transform: scale(1);
  }
}
@keyframes logoFloat {

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

  50% {
    transform: translateY(-8px);
  }
}
/* =========================
   WHY WORK WITH ME
========================= */

.why-grid {
  width: min(1200px, 92%);
  margin: auto;

  display: grid;
  grid-template-columns: repeat(4, 1fr);

  gap: 24px;
}

.why-card {
  padding: 34px;
  border-radius: 30px;

  background: rgba(255,255,255,.05);

  border: 1px solid rgba(255,255,255,.08);

  backdrop-filter: blur(18px);

  transition:
    transform .25s ease,
    border-color .25s ease,
    background .25s ease;
}

.why-card:hover {
  transform: translateY(-8px);

  border-color: rgba(56,189,248,.4);

  background: rgba(56,189,248,.08);
}

.why-card span {
  display: block;

  font-size: 1.7rem;

  margin-bottom: 18px;
}

.why-card h3 {
  margin-bottom: 14px;

  font-size: 1.2rem;
}

.why-card p {
  color: var(--muted);
}

@media (max-width: 900px) {
  .why-grid {
    grid-template-columns: 1fr;
  }
}
/* =========================
   CONTACT OPTIONS
========================= */

.contact-grid {
  margin-top: 34px;

  display: grid;
  grid-template-columns: repeat(4, 1fr);

  gap: 18px;
}

.contact-card {
  padding: 26px 18px;

  border-radius: 24px;

  background: rgba(255,255,255,.055);

  border: 1px solid rgba(255,255,255,.09);

  backdrop-filter: blur(18px);

  transition:
    transform .25s ease,
    border-color .25s ease,
    background .25s ease;
}

.contact-card:hover {
  transform: translateY(-7px);

  border-color: rgba(56,189,248,.45);

  background: rgba(56,189,248,.08);
}

.contact-card span {
  display: block;

  font-size: 1.7rem;

  margin-bottom: 14px;
}

.contact-card h3 {
  margin-bottom: 8px;

  font-size: 1.05rem;
}

.contact-card p {
  margin: 0 auto;

  color: var(--muted);

  font-size: .92rem;
}

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