/* Reset & basics */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  min-height: 100vh;
  background: radial-gradient(circle at top left, rgba(102, 150, 255, 0.24), transparent 25%),
              radial-gradient(circle at bottom right, rgba(89, 231, 203, 0.16), transparent 20%),
              #05122b;
  color: #eef4ff;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
  display: block;
}
button,
input,
textarea {
  font: inherit;
}
.page-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 20% 10%, rgba(110, 140, 255, 0.22), transparent 18%),
              radial-gradient(circle at 80% 90%, rgba(75, 225, 255, 0.14), transparent 24%);
  z-index: -1;
}
.main-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 5%;
  backdrop-filter: blur(18px);
  background: rgba(4, 12, 32, 0.55);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.brand {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}
.nav-links a {
  color: #dfe7ff;
  transition: color 0.2s ease;
}
.nav-links a:hover {
  color: #ffffff;
}
.nav-links a.cta {
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.18);
}
.section-glass {
  max-width: 1180px;
  margin: 0 auto 56px;
  padding: 60px 5%;
}
.section-glass h1,
.section-glass h2 {
  font-size: clamp(2rem, 2.8vw, 2.6rem);
  margin-bottom: 14px;
}
.section-glass p {
  max-width: 760px;
  color: #c7d2ff;
  margin-bottom: 36px;
}
.section-intro {
  max-width: 760px;
  margin-bottom: 40px;
}
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}
.glass-card {
  display: block;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 26px;
  padding: 28px;
  backdrop-filter: blur(24px);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.18);
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.glass-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.24);
}
.glass-card h2,
.glass-card h3 {
  color: #ffffff;
  margin-bottom: 16px;
}
.glass-card p,
.glass-card li {
  color: #d2ddff;
  line-height: 1.8;
}
.glass-card ul {
  list-style: none;
  padding-left: 0;
  margin-top: 12px;
}
.glass-card ul li {
  margin-bottom: 10px;
}
.form-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.input-group {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}
.input-group label {
  color: #d6e1ff;
  font-weight: 600;
}
.input-field,
.text-area {
  width: 100%;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  color: #eef4ff;
  outline: none;
}
.input-field::placeholder,
.text-area::placeholder {
  color: rgba(230, 239, 255, 0.7);
}
.form-status {
  margin-top: 18px;
  color: #c7d2ff;
  font-size: 0.98rem;
}
.form-status.success {
  color: #9df7a8;
}
.form-status.error {
  color: #ff9aa8;
}
.text-area {
  min-height: 140px;
  resize: vertical;
}
.price {
  font-size: 2.4rem;
  font-weight: 700;
  margin: 18px 0;
  color: #f9fbff;
}
.pricing-card ul {
  margin-bottom: 24px;
}
.pricing-card.featured {
  border-color: rgba(95, 127, 255, 0.5);
  background: rgba(95, 127, 255, 0.12);
}
.project-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(2, 7, 25, 0.88);
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 200;
}
.project-modal.active {
  display: flex;
}
.modal-content {
  width: 100%;
  max-width: 640px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 28px;
  padding: 28px;
  box-shadow: 0 48px 100px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(28px);
}
.close-modal {
  position: absolute;
  top: 18px;
  right: 18px;
  font-size: 1.7rem;
  color: #ffffff;
  cursor: pointer;
}
.project-card img {
  border-radius: 20px;
  margin-bottom: 20px;
}
.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  place-items: center;
  padding: 100px 5% 60px;
  overflow: hidden;
}
.hero-background {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.hero-background::before {
  content: '';
  position: absolute;
  inset: -15%;
  background: radial-gradient(circle at 20% 20%, rgba(95, 127, 255, 0.22), transparent 24%),
              radial-gradient(circle at 80% 15%, rgba(129, 255, 215, 0.14), transparent 18%);
  filter: blur(28px);
  opacity: 0.95;
}
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(4px);
  opacity: 0.72;
  animation: floatBlob 14s ease-in-out infinite;
}
.hero-blob {
  width: 280px;
  height: 280px;
  background: rgba(95, 127, 255, 0.22);
  left: 10%;
  top: 14%;
}
.hero-blob--small {
  width: 180px;
  height: 180px;
  background: rgba(129, 255, 215, 0.16);
  left: 72%;
  top: 24%;
  animation-duration: 18s;
}
.hero-particle {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 0 18px rgba(255, 255, 255, 0.22);
  opacity: 0.92;
  animation: drift 10s linear infinite;
}
.hero-particle--1 {
  top: 30%;
  left: 34%;
}
.hero-particle--2 {
  top: 58%;
  left: 18%;
  width: 8px;
  height: 8px;
  animation-duration: 9s;
}
.hero-particle--3 {
  top: 68%;
  left: 82%;
  width: 10px;
  height: 10px;
  animation-duration: 12s;
}
@keyframes floatBlob {
  0%, 100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-26px) scale(1.03);
  }
}
@keyframes drift {
  0%, 100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.9;
  }
  50% {
    transform: translate(12px, -10px) scale(1.1);
    opacity: 0.7;
  }
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
  max-width: 1200px;
  width: 100%;
}
.hero-copy {
  max-width: 680px;
}
.eyebrow {
  display: inline-block;
  margin-bottom: 18px;
  color: #8aa7ff;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.82rem;
}
.hero-copy h1 {
  font-size: clamp(2.6rem, 4vw, 4.4rem);
  line-height: 1.02;
  margin-bottom: 24px;
  max-width: 780px;
  text-shadow: 0 28px 70px rgba(2, 8, 24, 0.28);
}
.hero-copy p {
  color: #d6e1ff;
  font-size: 1.1rem;
  max-width: 600px;
  margin-bottom: 34px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.btn.primary {
  background: #5f7fff;
  color: #fff;
  box-shadow: 0 18px 38px rgba(95, 127, 255, 0.28);
}
.btn.secondary {
  background: rgba(255, 255, 255, 0.11);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #eef4ff;
}
.btn:hover {
  transform: translateY(-2px);
}
.floating-card {
  width: 100%;
  max-width: 440px;
  min-height: 420px;
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 48px 110px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(26px);
  overflow: hidden;
  transform: perspective(1200px) rotateY(12deg) rotateX(4deg);
  transition: transform 0.45s ease, box-shadow 0.45s ease;
}
.hero-card:hover .floating-card {
  transform: perspective(1200px) rotateY(8deg) rotateX(8deg) translateY(-12px);
  box-shadow: 0 58px 120px rgba(0, 0, 0, 0.28);
}
.floating-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.14), transparent 52%);
  pointer-events: none;
}
.card-top {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 420px;
  padding: 36px;
}
.card-label {
  color: #8fb7ff;
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.card-top h2 {
  font-size: 2rem;
  line-height: 1.08;
  margin-bottom: 22px;
  color: #f8fbff;
}
.card-top p {
  color: #d8e4ff;
  line-height: 1.8;
}
.card-details {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}
.detail-item {
  display: grid;
  gap: 6px;
}
.detail-item strong {
  color: #ffffff;
}
.detail-item span {
  color: #c7d3ff;
  font-size: 0.95rem;
}
footer {
  text-align: center;
  padding: 28px 5% 40px;
  color: #aab8ff;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
@media (max-width: 1080px) {
  .section-glass {
    padding: 56px 5%;
  }
  .hero {
    padding: 84px 5% 44px;
  }
  .hero-copy h1 {
    font-size: clamp(2.3rem, 3.6vw, 3.6rem);
  }
  .hero-copy p {
    max-width: 100%;
  }
  .card-grid,
  .stats-grid,
  .skills-grid,
  .feature-grid,
  .spotlight-grid,
  .grid-highlight,
  .highlight-grid {
    gap: 22px;
  }
  .glass-card,
  .pricing-card,
  .feature-card,
  .stat-card,
  .spotlight,
  .highlight {
    padding: 24px;
  }
}
@media (max-width: 900px) {
  .main-nav {
    padding: 18px 5%;
  }
  .section-glass {
    padding: 42px 5%;
  }
  .hero {
    padding: 70px 5% 36px;
  }
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-card {
    order: -1;
  }
  .hero-copy h1 {
    font-size: 3rem;
  }
  .hero-actions {
    gap: 14px;
  }
  .btn {
    min-width: 0;
  }
}
@media (max-width: 680px) {
  .main-nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .nav-links {
    width: 100%;
    justify-content: flex-start;
  }
  .hero {
    padding: 60px 5% 30px;
  }
  .hero-copy h1 {
    font-size: 2.4rem;
  }
  .hero-copy p,
  .section-glass p,
  .glass-card p,
  .feature-card p,
  .stat-card p,
  .spotlight p,
  .highlight p {
    max-width: 100%;
  }
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }
  .btn {
    width: 100%;
    justify-content: center;
    padding: 14px 18px;
  }
  .glass-card,
  .pricing-card,
  .feature-card,
  .stat-card,
  .spotlight,
  .highlight {
    padding: 20px;
  }
  .project-card img {
    min-height: 200px;
    object-fit: cover;
  }
}
@media (max-width: 520px) {
  .main-nav {
    padding: 16px 4%;
  }
  .section-glass {
    padding: 28px 4%;
  }
  .hero {
    padding: 50px 4% 24px;
  }
  .hero-copy h1 {
    font-size: 2rem;
  }
  .hero-copy p,
  .section-glass p {
    font-size: 1rem;
  }
}
