:root {
  --black: #0a0f1c;
  --navy: #111827;
  --blue: #3b82f6;
  --cyan: #06b6d4;
  --white: #ffffff;
  --glass: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.12);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  background: var(--black);
  color: white;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  width: min(1200px, 92%);
  margin: auto;
}

/* ==========================
BACKGROUND
========================== */

.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;

  padding: 10px 18px;

  border: 1px solid var(--border);
  border-radius: 999px;

  background: var(--glass);

  margin-bottom: 24px;
}

.badge i {
  color: var(--cyan);
  font-size: 14px;
}

.bg-glow {
  position: fixed;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--blue), transparent 70%);
  filter: blur(120px);
  opacity: 0.12;
  top: -200px;
  right: -200px;
  z-index: -2;
}

.bg-glow-2 {
  position: fixed;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--cyan), transparent 70%);
  filter: blur(120px);
  opacity: 0.12;
  bottom: -200px;
  left: -200px;
  z-index: -2;
}

.particles {
  position: fixed;
  inset: 0;
  z-index: -1;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  animation: float 15s linear infinite;
}

@keyframes float {
  from {
    transform: translateY(100vh);
  }
  to {
    transform: translateY(-100vh);
  }
}

/* ==========================
NAVBAR
========================== */

nav {
  position: fixed;
  top: 0;
  width: 100%;
  backdrop-filter: blur(20px);
  background: rgba(10, 15, 28, 0.75);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  z-index: 999;
}

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
}

.logo {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 1px;
}

.logo span {
  color: var(--cyan);
}

.nav-links {
  display: flex;
  gap: 30px;
}

.nav-links a {
  color: #ccc;
  transition: 0.3s;
}

.nav-links a:hover {
  color: white;
}

/* ==========================
HERO
========================== */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.badge {
  display: inline-flex;
  padding: 10px 18px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--glass);
  margin-bottom: 24px;
}

.hero h1 {
  font-size: 72px;
  line-height: 1.05;
  font-weight: 900;
}

.gradient {
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  -webkit-background-clip: text;
  color: transparent;
}

.hero p {
  margin-top: 24px;
  color: #b7b7b7;
  line-height: 1.8;
  font-size: 18px;
}

.hero-buttons {
  margin-top: 35px;
  display: flex;
  gap: 20px;
}

.btn {
  padding: 15px 28px;
  border-radius: 12px;
  font-weight: 600;
  transition: 0.4s;
}

.btn-primary {
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  box-shadow: 0 0 40px rgba(59, 130, 246, 0.4);
}

.btn-primary:hover {
  transform: translateY(-4px);
}

.btn-secondary {
  border: 1px solid var(--border);
  background: var(--glass);
}

/* HERO CARD */

.hero-card {
  padding: 50px;
  text-align: center;
}

.hero-icon {
  margin-bottom: 25px;
}

.hero-icon i {
  font-size: 80px;

  background: linear-gradient(135deg, var(--blue), var(--cyan));

  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

  animation: floatIcon 4s ease-in-out infinite;
}

.hero-card h3 {
  font-size: 28px;
  margin-bottom: 20px;
}

.hero-card p {
  color: #b6b6b6;
  line-height: 1.8;
}

.hero-features {
  margin-top: 30px;

  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}

.feature-item {
  padding: 12px;

  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;

  background: rgba(255, 255, 255, 0.03);

  font-size: 14px;
}

.feature-item i {
  color: var(--cyan);
  margin-right: 8px;
}

@keyframes floatIcon {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

/* ==========================
GLASS CARD
========================== */

.card {
  background: var(--glass);
  border: 1px solid var(--border);
  backdrop-filter: blur(20px);
  border-radius: 24px;
  transition: 0.4s;
}

.card:hover {
  transform: translateY(-8px);
  border-color: rgba(59, 130, 246, 0.4);
}

.hero-card {
  padding: 40px;
}

.hero-card h3 {
  margin-bottom: 15px;
}

/* ==========================
SECTION
========================== */

section {
  padding: 100px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title h2 {
  font-size: 46px;
  margin-bottom: 15px;
}

.section-title p {
  color: #9ca3af;
}

/* ==========================
SERVICES
========================== */

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.service {
  padding: 35px;
  text-align: center;
}

.service-icon {
  font-size: 60px;
  margin-bottom: 20px;
  display: inline-block;

  background: linear-gradient(135deg, var(--blue), var(--cyan));

  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

  transition: all 0.4s ease;
}

.service h3 {
  margin-bottom: 15px;
  font-size: 24px;
}

.service p {
  color: #b6b6b6;
  line-height: 1.8;
}

.service:hover .service-icon {
  transform: scale(1.15);
}

.card.service {
  position: relative;
  overflow: hidden;
}

.card.service::before {
  content: "";
  position: absolute;
  inset: 0;

  background: linear-gradient(
    135deg,
    rgba(59, 130, 246, 0.08),
    rgba(6, 182, 212, 0.08)
  );

  opacity: 0;
  transition: 0.4s;
}

.card.service:hover::before {
  opacity: 1;
}

/* ==========================
STATS
========================== */

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.stat {
  text-align: center;
  padding: 35px;
}

.counter {
  font-size: 48px;
  font-weight: 800;
  color: var(--cyan);
}

/* ==========================
PROCESS
========================== */

.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

.step {
  padding: 30px;
}

.step-number {
  font-size: 48px;
  font-weight: 900;
  color: var(--blue);
  margin-bottom: 15px;
}

/* ==========================
PORTFOLIO
========================== */

.portfolio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.project {
  height: 250px;
  position: relative;
  overflow: hidden;
}

.project::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
}

.project-content {
  position: absolute;
  bottom: 20px;
  left: 20px;
}

/* ==========================
CONTACT
========================== */

.contact {
  max-width: 800px;
  margin: auto;
  padding: 50px;
}

.input {
  width: 100%;
  padding: 16px;
  margin-bottom: 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  color: white;
}

textarea {
  min-height: 140px;
}

.stat-icon,
.step-icon,
.tech-icon {
  font-size: 48px;
  margin-bottom: 20px;

  background: linear-gradient(135deg, var(--blue), var(--cyan));

  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat h3,
.step h3,
.project h3 {
  margin-top: 15px;
  margin-bottom: 10px;
}

.stat p,
.step p {
  color: #b6b6b6;
  line-height: 1.7;
}

.project {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* ==========================
FOOTER
========================== */

footer {
  padding: 40px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
  color: #9ca3af;
}

/* ==========================
ANIMATION
========================== */

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: 1s;
}

.reveal.active {
  opacity: 1;
  transform: none;
}

/* ==========================
RESPONSIVE
========================== */

@media (max-width: 900px) {
  .hero-grid,
  .grid-3,
  .stats,
  .process,
  .portfolio {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 48px;
  }

  .nav-links {
    display: none;
  }
}
