/* Base reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  transition-property: color, background-color, border-color, transform, box-shadow;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: #0b1224;
  color: #e2e8f0;
  line-height: 1.6;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

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

ul {
  list-style: none;
}

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

/* Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #0f172a;
}
::-webkit-scrollbar-thumb {
  background: #22d3ee;
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: #06b6d4;
}

/* Layout helpers */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, #22d3ee, #3b82f6);
  color: #0b1224;
  padding: 14px 24px;
  box-shadow: 0 10px 30px rgba(34, 211, 238, 0.3);
}

.btn-outline {
  border: 2px solid #22d3ee;
  color: #e2e8f0;
  padding: 14px 24px;
  background: transparent;
}

.btn-outline:hover {
  background: rgba(34, 211, 238, 0.08);
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 50;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 20px;
}

.logo-icon {
  width: 30px;
  height: 30px;
  border-radius: 10px;
  background: linear-gradient(135deg, #22d3ee, #6366f1, #a855f7);
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 900;
}
.logo-icon svg {
  width: 22px;
  height: 22px;
}

nav ul {
  display: flex;
  align-items: center;
  gap: 24px;
  font-weight: 600;
  color: #cbd5e1;
}

nav button,
nav a {
  background: none;
  border: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

nav a:hover,
nav button:hover {
  color: #22d3ee;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #e2e8f0;
  font-size: 24px;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 12px;
  position: absolute;
  left: 16px;
  right: 16px;
  top: calc(100% + 8px);
  background: rgba(11, 18, 36, 0.94);
  border: 1px solid rgba(34, 211, 238, 0.14);
  border-radius: 16px;
  padding: 14px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

.mobile-menu.open {
  display: flex;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 140px 0 90px;
  background: radial-gradient(circle at 50% 40%, rgba(59, 130, 246, 0.18), transparent 55%),
    radial-gradient(circle at 30% 65%, rgba(56, 189, 248, 0.14), transparent 45%),
    radial-gradient(circle at 70% 65%, rgba(168, 85, 247, 0.14), transparent 45%),
    #0b1224;
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 70px 70px;
  opacity: 0.35;
}

.blob {
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.14;
  animation: blob 10s infinite;
}

.blob-1 {
  top: 8%;
  left: 12%;
  background: #22d3ee;
}
.blob-2 {
  top: 28%;
  right: 14%;
  background: #3b82f6;
  animation-delay: 2s;
}
.blob-3 {
  bottom: 10%;
  left: 52%;
  background: #a855f7;
  animation-delay: 4s;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  padding: 20px 16px 0;
  margin-top: 0;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fcd34d;
  font-weight: 700;
  letter-spacing: 0.08em;
  font-size: 13px;
  margin-bottom: 16px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(124, 58, 237, 0.12);
}

.hero h1 {
  font-size: clamp(36px, 5.6vw, 68px);
  line-height: 1.18;
  font-weight: 800;
  color: #fff;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
  text-shadow: 0 15px 35px rgba(0, 0, 0, 0.35);
}

.hero .accent {
  display: block;
  background: linear-gradient(90deg, #38bdf8, #6366f1, #a855f7);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  padding: 6px 0 8px;
}

.hero p {
  font-size: clamp(18px, 3vw, 21px);
  color: #cbd5e1;
  margin: 0 auto 34px;
  max-width: 760px;
}

.cta-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  align-items: center;
}

.btn-primary {
  background: linear-gradient(135deg, #22d3ee, #3b82f6);
  color: #0b1224;
  padding: 14px 26px;
  box-shadow: 0 12px 32px rgba(34, 211, 238, 0.35);
}

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 14px;
  margin-top: 48px;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

.stat-card {
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 16px;
  padding: 14px 14px 16px;
  backdrop-filter: blur(8px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 10px 30px rgba(0, 0, 0, 0.2);
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.step-number {
  font-size: 18px;
  font-weight: 800;
  color: #22d3ee;
}

.step-title {
  font-size: 17px;
  font-weight: 800;
  color: #22d3ee;
  line-height: 1.2;
  min-height: 28px;
}

.stat-card p {
  color: #cbd5e1;
  font-size: 13px;
  line-height: 1.45;
  margin: 0;
}

.stat-card h3 {
  font-size: 32px;
  font-weight: 800;
  color: #22d3ee;
}

.stat-card p {
  color: #cbd5e1;
  margin-top: 6px;
}

/* Sections */
section {
  padding: clamp(60px, 9vw, 80px) 0;
}

.section-title {
  text-align: center;
  margin-bottom: 32px;
}
.section-title h2 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
}
.section-title span {
  color: #22d3ee;
}
.section-title p {
  color: #94a3b8;
  margin-top: 8px;
  font-size: 18px;
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.service-card {
  background: rgba(30, 41, 59, 0.7);
  border: 1px solid #1f2937;
  border-radius: 18px;
  padding: 24px;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
  transform: translateY(-4px) scale(1.01);
  border-color: rgba(34, 211, 238, 0.6);
  box-shadow: 0 15px 30px rgba(34, 211, 238, 0.1);
}

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 26px;
  margin-bottom: 18px;
  color: #fff;
  font-weight: 800;
}

.service-card h3 {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 10px;
}

.service-card p {
  color: #cbd5e1;
  font-size: 15px;
}

.bg-cyan {
  background: linear-gradient(135deg, #22d3ee, #3b82f6);
}
.bg-blue {
  background: linear-gradient(135deg, #3b82f6, #6366f1);
}
.bg-purple {
  background: linear-gradient(135deg, #a855f7, #ec4899);
}
.bg-orange {
  background: linear-gradient(135deg, #f97316, #f43f5e);
}

/* About */
.about {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #0f172a 0%, #0b1224 100%);
}

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

.about p {
  color: #cbd5e1;
  margin-bottom: 16px;
}

.about-list {
  display: grid;
  gap: 14px;
}

.about-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: #cbd5e1;
}

.about-bullet {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: #22d3ee;
  display: grid;
  place-items: center;
  color: #0b1224;
  font-weight: 800;
}

.about-card {
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.18), rgba(59, 130, 246, 0.15));
  border: 1px solid rgba(34, 211, 238, 0.35);
  border-radius: 22px;
  padding: 24px;
  backdrop-filter: blur(6px);
}

.about-tech {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.tech-tile {
  background: rgba(15, 23, 42, 0.7);
  border-radius: 14px;
  padding: 16px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.tech-tile .icon {
  font-size: 26px;
  margin-bottom: 6px;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin-bottom: 18px;
}

.contact-card {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 14px;
}

.contact-card h3 {
  font-size: 16px;
  font-weight: 700;
}

.contact-card p {
  color: #cbd5e1;
  font-size: 14px;
}

.contact-card button {
  background: none;
  border: none;
  color: #22d3ee;
  font-weight: 700;
  cursor: pointer;
}

.form-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 24px;
}

.form-group {
  margin-bottom: 14px;
}

.form-group label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
}

.form-group input,
.form-group textarea {
  width: 100%;
  background: #0f172a;
  border: 1px solid #1f2937;
  border-radius: 10px;
  padding: 12px;
  color: #e2e8f0;
  font: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: 1px solid #22d3ee;
  border-color: #22d3ee;
}

.submit-btn {
  width: 100%;
  background: linear-gradient(135deg, #22d3ee, #3b82f6);
  color: #0b1224;
  font-weight: 800;
  padding: 14px;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(34, 211, 238, 0.25);
}

/* Footer */
footer {
  background: #0b1224;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 60px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.footer-links button {
  background: none;
  border: none;
  color: #cbd5e1;
  cursor: pointer;
  font: inherit;
}
.footer-links button:hover {
  color: #22d3ee;
}

.social {
  display: flex;
  gap: 10px;
}
.social a {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #111827;
  display: grid;
  place-items: center;
  color: #e2e8f0;
  overflow: hidden;
}
.social a:hover {
  background: #22d3ee;
  color: #0b1224;
}
.social img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.footer-bottom {
  text-align: center;
  color: #94a3b8;
  margin-top: 24px;
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Floating WhatsApp */
#floating-whatsapp {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 9999;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25d366 url("./whatsapp.svg") center/70% no-repeat;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
#floating-whatsapp:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.28);
  opacity: 0.95;
}

/* Animations */
@keyframes blob {
  0% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(30px, -50px) scale(1.1);
  }
  66% {
    transform: translate(-20px, 20px) scale(0.9);
  }
  100% {
    transform: translate(0, 0) scale(1);
  }
}

@media (max-width: 960px) {
  nav ul {
    display: none;
  }
  .menu-toggle {
    display: block;
  }
  .about-grid {
    grid-template-columns: 1fr;
  }
  .hero h1 {
    font-size: 40px;
  }
  section {
    padding: 64px 0;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }
  .header-inner {
    padding: 10px 0;
  }
  .logo {
    gap: 8px;
    font-size: 17px;
  }
  .logo-icon {
    width: 26px;
    height: 26px;
  }
  .hero {
    padding: 104px 0 60px;
  }
  .hero-content {
    padding: 12px 8px 0;
  }
  .cta-group {
    flex-direction: column;
    align-items: stretch;
  }
  .cta-group .btn {
    width: 100%;
  }
  .btn-primary,
  .btn-outline {
    padding: 12px 20px;
  }
  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .service-card {
    padding: 20px;
  }
  .about-card {
    padding: 20px;
  }
  .contact-card {
    align-items: center;
  }
  #floating-whatsapp {
    width: 52px;
    height: 52px;
    right: 14px;
    bottom: 14px;
  }
}

@media (max-width: 640px) {
  .container {
    padding: 0 14px;
  }
  .hero {
    padding: 110px 0 58px;
  }
  .hero h1 {
    font-size: 32px;
    line-height: 1.2;
  }
  .hero p {
    font-size: 17px;
  }
  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .about-grid {
    gap: 18px;
  }
  .contact-card {
    padding: 12px;
  }
}

@media (max-width: 540px) {
  .container {
    padding: 0 12px;
  }
  .logo span {
    font-size: 18px;
  }
  .hero h1 {
    font-size: 28px;
  }
  .hero p {
    font-size: 15px;
  }
  .hero-tag {
    font-size: 12px;
    padding: 7px 10px;
  }
  .stats {
    gap: 8px;
    grid-template-columns: 1fr;
  }
  .stat-card {
    padding: 14px 12px 16px;
  }
  .service-card {
    padding: 18px;
  }
  section {
    padding: 54px 0;
  }
  .mobile-menu button {
    width: 100%;
    text-align: left;
    background: #111827;
    border: 1px solid #1f2937;
    color: #e2e8f0;
    padding: 12px;
    border-radius: 12px;
    font-weight: 700;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .contact-card {
    flex-direction: column;
    align-items: flex-start;
  }
  .contact-card button {
    padding: 0;
  }
}
