:root {
  --bg: #070b19;
  --bg-alt: #0c1329;
  --surface: rgba(255, 255, 255, 0.08);
  --surface-strong: rgba(255, 255, 255, 0.12);
  --text: #f4f7ff;
  --muted: #b4bfd6;
  --primary: #3ec9ff;
  --secondary: #7a8cff;
  --gradient: linear-gradient(135deg, #00d5ff 0%, #7a8cff 45%, #2f4fff 100%);
  --shadow: 0 14px 35px rgba(0, 0, 0, 0.35);
  --radius: 18px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 15% 20%, rgba(62, 201, 255, 0.18), transparent 35%),
    radial-gradient(circle at 80% 15%, rgba(122, 140, 255, 0.22), transparent 30%),
    linear-gradient(160deg, var(--bg), #040611 65%);
  min-height: 100vh;
  line-height: 1.6;
}

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

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

ul {
  list-style: none;
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.section {
  padding: 92px 0;
}

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

.section-heading h2 {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
}

.label,
.badge {
  color: var(--primary);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 700;
}

.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(12px);
  background: rgba(6, 11, 24, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.navbar {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.45rem;
  font-weight: 700;
}

.logo span {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

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

.nav-links a {
  color: var(--muted);
  font-weight: 500;
  transition: color 0.25s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: #fff;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  border-radius: 99px;
  background: #fff;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.hero {
  padding-top: 120px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: center;
}

.hero h1 {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  line-height: 1.1;
  margin: 14px 0 16px;
}

.hero-subtext {
  color: var(--muted);
  max-width: 60ch;
}

.hero-actions {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn {
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  border-radius: 12px;
  padding: 12px 22px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

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

.btn-primary,
.btn-small {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 10px 24px rgba(74, 131, 255, 0.35);
}

.btn-secondary {
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.08);
}

.btn-small {
  font-size: 0.9rem;
  padding: 10px 16px;
}

.glass-panel,
.card,
.about-card {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}

.glass-panel {
  padding: 34px;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.grid {
  display: grid;
  gap: 20px;
}

.cards-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  padding: 22px;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.card:hover {
  transform: translateY(-7px);
  border-color: rgba(62, 201, 255, 0.55);
}

.service-card .icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  background: rgba(122, 140, 255, 0.2);
  font-size: 1.35rem;
}

.service-card h3,
.project-content h3,
.pricing-card h3 {
  margin-bottom: 8px;
}

.project-card {
  padding: 0;
  overflow: hidden;
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

.project-media img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.project-content {
  padding: 18px 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: left;
}

.project-content p {
  color: var(--muted);
  line-height: 1.5;
}

.project-content .tech-stack {
  color: #d9e9ff;
  font-size: 0.92rem;
  margin-bottom: 8px;
}

.project-content .btn {
  align-self: flex-start;
  margin-top: 8px;
}

@media (max-width: 1024px) {
  .hero-grid,
  .generator-shell,
  .why-grid,
  .solutions-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .grid {
    gap: 18px;
  }
}

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

  .header {
    padding: 0 1rem;
  }

  .menu-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    inset: 76px 0 0;
    padding: 1.5rem;
    background: rgba(6, 11, 24, 0.95);
    backdrop-filter: blur(12px);
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
    transform: translateY(-160%);
    transition: transform 0.25s ease;
    z-index: 1005;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .nav-links.open {
    transform: translateY(0);
  }

  .nav-links a {
    width: 100%;
    color: #d8e0ff;
    font-size: 1rem;
  }

  .nav-links a.active {
    color: #fff;
    font-weight: 700;
  }
}

.service-card p,
.contact-info p,
.about-card p {
  color: var(--muted);
}

.why-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.why-card {
  padding: 22px;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.why-card:hover {
  transform: translateY(-7px);
  border-color: rgba(62, 201, 255, 0.55);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.35);
}

.why-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  font-size: 1.25rem;
  color: var(--primary);
  background: rgba(122, 140, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.why-card h3 {
  margin-bottom: 8px;
}

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

.generator-shell {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 28px;
  align-items: center;
  padding: clamp(26px, 4vw, 38px);
  border-radius: 28px;
  background:
    radial-gradient(circle at top left, rgba(62, 201, 255, 0.16), transparent 30%),
    radial-gradient(circle at bottom right, rgba(122, 140, 255, 0.22), transparent 32%),
    linear-gradient(135deg, rgba(18, 24, 51, 0.95), rgba(7, 11, 25, 0.92));
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.tool-badge {
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #fff;
  background: rgba(62, 201, 255, 0.16);
  border: 1px solid rgba(62, 201, 255, 0.3);
}

.generator-copy h2 {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2rem, 3.6vw, 3rem);
  line-height: 1.08;
  margin-bottom: 12px;
}

.generator-subtitle {
  color: #fff;
  font-size: 1.08rem;
  font-weight: 600;
  margin-bottom: 14px;
}

.generator-description {
  color: var(--muted);
  max-width: 62ch;
  margin-bottom: 20px;
}

.generator-features {
  display: grid;
  gap: 12px;
  margin-bottom: 26px;
}

.generator-features li {
  position: relative;
  padding-left: 18px;
  color: var(--text);
}

.generator-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 14px rgba(62, 201, 255, 0.4);
}

.generator-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.generator-preview {
  display: flex;
  justify-content: center;
}

.preview-window {
  width: min(100%, 420px);
  padding: 18px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(18px);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.preview-window:hover {
  transform: translateY(-8px);
  box-shadow: 0 28px 54px rgba(0, 0, 0, 0.36);
}

.preview-topbar {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

.preview-topbar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.34);
}

.preview-hero {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 14px;
  padding: 16px;
  border-radius: 18px;
  margin-bottom: 16px;
  background: linear-gradient(135deg, rgba(62, 201, 255, 0.16), rgba(122, 140, 255, 0.14));
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.preview-avatar {
  width: 70px;
  height: 70px;
  border-radius: 18px;
  background: linear-gradient(135deg, #3ec9ff, #7a8cff);
}

.preview-label {
  color: #cfefff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.preview-hero h3 {
  margin-bottom: 6px;
}

.preview-hero p {
  color: var(--muted);
  font-size: 0.92rem;
}

.preview-panels {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 12px;
  margin-bottom: 14px;
}

.preview-stack {
  display: grid;
  gap: 12px;
}

.preview-card {
  min-height: 86px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.preview-card.tall {
  min-height: 184px;
}

.preview-footer {
  display: flex;
  gap: 10px;
}

.preview-pill {
  height: 18px;
  width: 54px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.preview-pill.wide {
  width: 96px;
}

.generator-cta {
  margin-top: 22px;
  padding: 24px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background:
    linear-gradient(135deg, rgba(16, 24, 51, 0.92), rgba(7, 11, 25, 0.9)),
    rgba(255, 255, 255, 0.04);
}

.generator-cta h3 {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.4rem, 2.6vw, 2rem);
}

.solutions-copy {
  color: var(--muted);
  max-width: 70ch;
  margin-bottom: 28px;
}

.solutions-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.solution-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  min-height: 100%;
}

.solution-card h3 {
  margin: 0;
}

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

.solution-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  color: #fff;
  background: var(--gradient);
  box-shadow: 0 12px 24px rgba(74, 131, 255, 0.28);
}

.solution-features {
  width: 100%;
  display: grid;
  gap: 10px;
  margin-bottom: 6px;
}

.solution-features li {
  position: relative;
  padding-left: 16px;
  color: var(--text);
}

.solution-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 12px rgba(62, 201, 255, 0.35);
}

.solution-card .btn {
  margin-top: auto;
}

.portfolio-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.project-card {
  overflow: hidden;
  padding: 0;
}

.project-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.project-content {
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.pricing-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pricing-card ul {
  margin: 14px 0 22px;
}

.pricing-card li {
  color: var(--muted);
  margin-bottom: 8px;
}

.price {
  font-size: 2rem;
  font-family: "Space Grotesk", sans-serif;
  color: #fff;
}

.popular {
  position: relative;
  border-color: rgba(62, 201, 255, 0.6);
}

.tag {
  position: absolute;
  top: -12px;
  right: 16px;
  font-size: 0.75rem;
  background: var(--gradient);
  color: #fff;
  border-radius: 99px;
  padding: 5px 10px;
}

.testimonial-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.testimonial-card img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  margin-bottom: 14px;
}

.testimonial-card p {
  color: var(--muted);
  margin-bottom: 12px;
}

.testimonial-card span {
  color: #97a5ca;
  font-size: 0.92rem;
}

.about-card {
  padding: clamp(24px, 4vw, 42px);
}

.about-card h2 {
  margin: 10px 0 12px;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.6rem, 3.5vw, 2.5rem);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: start;
}

.contact-info h2 {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.3rem);
  margin: 10px 0 14px;
}

.contact-info ul {
  margin-top: 18px;
}

.contact-info li {
  margin-bottom: 9px;
}

.contact-form {
  display: grid;
  gap: 10px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 10px;
  padding: 12px;
  font: inherit;
  outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--primary);
}

.footer {
  margin-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 34px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 20px;
}

.footer h4 {
  margin-bottom: 10px;
}

.quick-links li {
  margin-bottom: 8px;
}

.quick-links a,
.footer p {
  color: var(--muted);
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-links a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: transform 0.2s ease, background 0.2s ease;
}

.social-links a:hover {
  transform: translateY(-3px);
  background: rgba(62, 201, 255, 0.2);
}

.copyright {
  margin-top: 24px;
  text-align: center;
  color: #99a5c9;
  font-size: 0.9rem;
}

.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #25d366;
  color: #fff;
  font-size: 1.8rem;
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.45);
  z-index: 1200;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 16px 32px rgba(37, 211, 102, 0.5);
}

.fade-up {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.show {
  opacity: 1;
  transform: translateY(0);
}

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

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

  .generator-shell {
    grid-template-columns: 1fr;
  }

  .cards-grid,
  .solutions-grid,
  .why-grid,
  .portfolio-grid,
  .pricing-grid,
  .testimonial-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  .nav-links {
    position: absolute;
    top: 76px;
    right: 4%;
    width: min(280px, 92%);
    background: rgba(7, 11, 25, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    flex-direction: column;
    gap: 14px;
    padding: 16px;
    transform: scale(0.96);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
  }

  .nav-links.open {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1);
  }

  .generator-actions,
  .generator-cta {
    flex-direction: column;
    align-items: flex-start;
  }

  .preview-panels {
    grid-template-columns: 1fr;
  }

  .preview-card.tall {
    min-height: 140px;
  }

  .cards-grid,
  .solutions-grid,
  .why-grid,
  .portfolio-grid,
  .pricing-grid,
  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 96px;
  }

  .section {
    padding: 72px 0;
  }

  .whatsapp-float {
    right: 16px;
    bottom: 16px;
    width: 52px;
    height: 52px;
    font-size: 1.6rem;
  }
}
