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

body {
  font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  color: #e0e0e0;
  background: #0a0a1a;
  perspective: 1200px;
  overflow-x: hidden;
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse 80% 60% at 10% 20%, rgba(100, 200, 255, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 90% 80%, rgba(233, 69, 96, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse 60% 40% at 50% 50%, rgba(147, 51, 234, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse 70% 50% at 80% 20%, rgba(0, 255, 136, 0.05) 0%, transparent 50%),
    #0a0a1a;
  animation: bgShift 20s ease-in-out infinite alternate;
}

@keyframes bgShift {
  0% { background-position: 0% 0%; }
  25% { background-position: 50% 30%; }
  50% { background-position: 100% 50%; }
  75% { background-position: 30% 70%; }
  100% { background-position: 70% 100%; }
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: -1;
  animation: orbFloat 15s ease-in-out infinite alternate;
}

.orb-1 {
  width: 500px;
  height: 500px;
  background: rgba(100, 200, 255, 0.07);
  top: -10%;
  left: -10%;
  animation-duration: 18s;
}

.orb-2 {
  width: 400px;
  height: 400px;
  background: rgba(233, 69, 96, 0.06);
  bottom: -10%;
  right: -10%;
  animation-duration: 22s;
  animation-delay: -5s;
}

.orb-3 {
  width: 350px;
  height: 350px;
  background: rgba(147, 51, 234, 0.05);
  top: 50%;
  left: 50%;
  translate: -50% -50%;
  animation-duration: 25s;
  animation-delay: -10s;
}

@keyframes orbFloat {
  0% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(60px, -40px) scale(1.1); }
  66% { transform: translate(-30px, 50px) scale(0.9); }
  100% { transform: translate(40px, -20px) scale(1.05); }
}

#particles-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

.header {
  background: transparent;
  color: #fff;
  padding: 0;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  text-decoration: none;
}

.logo-img {
  display: block;
  height: 130px;
  width: auto;
  filter: drop-shadow(0 0 10px rgba(100, 200, 255, 0.3));
}

@keyframes float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -5px; }
}

.nav a {
  color: #aaa;
  text-decoration: none;
  margin-left: 25px;
  display: inline-block;
  animation: float 3s ease-in-out infinite;
  transition: color .2s, transform .3s ease;
  position: relative;
}

.nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: #e94560;
  transition: width .3s ease;
}

.nav a:hover::after {
  width: 100%;
}

.nav a:hover {
  color: #fff;
  transform: scale(1.15);
  animation-play-state: paused;
}

.nav a:nth-child(2) { animation-delay: .3s; }
.nav a:nth-child(3) { animation-delay: .6s; }
.nav a:nth-child(4) { animation-delay: .9s; }
.nav a:nth-child(5) { animation-delay: 1.2s; }
.nav a:nth-child(6) { animation-delay: 1.5s; }

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
}

.code-symbols {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.symbol {
  position: absolute;
  font-family: "Courier New", monospace;
  font-size: 1.1rem;
  color: rgba(100, 200, 255, 0.12);
  animation: codeFloat 8s ease-in-out infinite;
  white-space: nowrap;
}

@keyframes codeFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.12; }
  25% { transform: translateY(-20px) rotate(3deg); opacity: 0.25; }
  50% { transform: translateY(-40px) rotate(-2deg); opacity: 0.12; }
  75% { transform: translateY(-20px) rotate(2deg); opacity: 0.2; }
}

.typing-text {
  overflow: hidden;
  white-space: nowrap;
  border-right: 3px solid #e94560;
  width: 0;
  animation: typing 3s steps(30) forwards, blink .8s step-end infinite;
  display: inline-block;
}

@keyframes typing {
  to { width: 100%; }
}

@keyframes blink {
  50% { border-color: transparent; }
}

.hero {
  position: relative;
  z-index: 1;
  color: #fff;
  text-align: center;
  padding: 200px 20px 120px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 100% 50% at 50% 100%, rgba(233, 69, 96, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  transform-style: preserve-3d;
}

.hero h1 {
  font-size: 3.2rem;
  margin-bottom: 15px;
  text-shadow: 0 0 30px rgba(100, 200, 255, 0.5);
  transform: translateZ(40px);
  background: linear-gradient(135deg, #fff 30%, #64c8ff 70%, #e94560);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.2rem;
  color: #bbb;
  margin-bottom: 30px;
  transform: translateZ(20px);
}

.btn {
  display: inline-block;
  background: linear-gradient(135deg, #e94560, #c23152);
  color: #fff;
  padding: 14px 35px;
  text-decoration: none;
  border: none;
  border-radius: 50px;
  font-size: 1rem;
  cursor: pointer;
  transition: transform .3s, box-shadow .3s;
  box-shadow: 0 4px 20px rgba(233, 69, 96, 0.4);
}

.btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 30px rgba(233, 69, 96, 0.6);
}

.section {
  padding: 80px 0;
  position: relative;
  z-index: 1;
}

.section h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 10px;
  color: #fff;
  text-shadow: 0 0 20px rgba(100, 200, 255, 0.3);
  position: relative;
  display: inline-block;
  left: 50%;
  transform: translateX(-50%);
}

.section h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #e94560, #64c8ff);
  margin: 10px auto 0;
  border-radius: 2px;
}

.section-sub {
  text-align: center;
  color: #e94560;
  font-size: 1.1rem;
  margin-bottom: 40px;
  font-weight: 600;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  perspective: 1000px;
}

.card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 16px;
  text-align: center;
  transition: transform .4s ease, box-shadow .4s ease, border-color .4s ease;
  transform-style: preserve-3d;
  cursor: default;
}

.card:hover {
  transform: rotateY(8deg) rotateX(4deg) translateZ(10px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 30px rgba(100, 200, 255, 0.15);
  border-color: rgba(100, 200, 255, 0.4);
}

.card-icon {
  font-family: "Courier New", monospace;
  font-size: 1.5rem;
  font-weight: 700;
  color: #e94560;
  margin-bottom: 15px;
  background: rgba(233, 69, 96, 0.1);
  display: inline-block;
  padding: 10px 18px;
  border-radius: 10px;
  border: 1px solid rgba(233, 69, 96, 0.2);
  animation: iconPulse 3s ease-in-out infinite;
}

@keyframes iconPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(233, 69, 96, 0.3); }
  50% { box-shadow: 0 0 20px 5px rgba(233, 69, 96, 0.1); }
}

.card h3 {
  margin-bottom: 15px;
  color: #fff;
  transform: translateZ(20px);
}

.card p {
  color: #999;
  transform: translateZ(10px);
}

.page-header {
  position: relative;
  z-index: 1;
  color: #fff;
  text-align: center;
  padding: 160px 20px 60px;
}

.page-header h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
  text-shadow: 0 0 20px rgba(100, 200, 255, 0.3);
}

.page-header p {
  color: #aaa;
}

.services-list > * + * {
  margin-top: 40px;
}

.service-item {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 35px;
  border-radius: 16px;
  transition: transform .4s ease, box-shadow .4s ease, border-color .4s ease;
  transform-style: preserve-3d;
}

.service-item:hover {
  transform: rotateY(4deg) translateZ(10px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 30px rgba(100, 200, 255, 0.1);
  border-color: rgba(100, 200, 255, 0.3);
}

.about-content {
  max-width: 700px;
  margin: 0 auto;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 40px;
  border-radius: 16px;
}

.service-item h2 {
  text-align: left;
  margin-bottom: 10px;
  color: #fff;
}

.service-item p {
  color: #999;
  margin-bottom: 15px;
}

.service-item ul {
  list-style: none;
  padding-left: 0;
  color: #999;
}

.service-item ul li {
  padding: 5px 0;
  position: relative;
  padding-left: 20px;
}

.service-item ul li::before {
  content: '>';
  position: absolute;
  left: 0;
  color: #e94560;
  font-weight: bold;
}

.about-content p {
  margin-bottom: 15px;
  color: #ccc;
  font-size: 1.1rem;
}

.portfolio-card {
  padding: 0;
  overflow: hidden;
  cursor: pointer;
}

.portfolio-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.card-preview {
  position: relative;
  height: 260px;
  overflow: hidden;
}

.preview-bg {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .4s ease;
  position: relative;
}

.preview-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.preview-bg .preview-emoji {
  font-size: 4.5rem;
  filter: drop-shadow(0 4px 20px rgba(0,0,0,0.2));
}

.preview-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0.1) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  padding: 30px 20px;
  opacity: 0;
  transition: opacity .35s ease;
}

.portfolio-card:hover .preview-overlay {
  opacity: 1;
}

.preview-overlay h3 {
  color: #fff;
  font-size: 1.15rem;
  margin-bottom: 12px;
  text-align: center;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.demo-btn {
  display: inline-block;
  padding: 10px 28px;
  background: linear-gradient(135deg, #00ff88, #00ccff);
  color: #000;
  font-weight: 700;
  font-size: 0.85rem;
  border-radius: 8px;
  transition: .3s;
}

.card-desc {
  color: #999;
  font-size: .88rem;
  padding: 16px 20px 20px;
  line-height: 1.5;
}

.contact-form-wrapper {
  max-width: 600px;
  margin: 0 auto;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 40px;
  border-radius: 16px;
}

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

.form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: 600;
  color: #ccc;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  outline: none;
  transition: border-color .3s;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #e94560;
}

.success-msg {
  background: rgba(37, 211, 102, 0.15);
  border: 1px solid rgba(37, 211, 102, 0.3);
  color: #25d366;
  padding: 15px;
  border-radius: 10px;
  text-align: center;
  margin-bottom: 20px;
  font-weight: 600;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  justify-content: center;
  perspective: 1200px;
}

.pricing-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 40px 30px;
  text-align: center;
  position: relative;
  transform-style: preserve-3d;
  transition: transform .4s ease, box-shadow .4s ease, border-color .4s ease;
}

.pricing-card:hover {
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 30px rgba(100, 200, 255, 0.1);
  border-color: rgba(100, 200, 255, 0.3);
}

.pricing-card.featured {
  border-color: #e94560;
  box-shadow: 0 0 30px rgba(233, 69, 96, 0.15);
}

.pricing-card.featured:hover {
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 40px rgba(233, 69, 96, 0.2);
  border-color: #e94560;
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: #e94560;
  color: #fff;
  padding: 4px 20px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.pricing-card h3 {
  color: #fff;
  font-size: 1.3rem;
  margin-bottom: 20px;
  transform: translateZ(30px);
}

.price {
  font-size: 3rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  transform: translateZ(25px);
}

.price span {
  font-size: 1rem;
  font-weight: 400;
  color: #888;
}

.price-sub {
  color: #888;
  margin-top: 8px;
  margin-bottom: 25px;
  font-size: 0.9rem;
  transform: translateZ(20px);
}

.pricing-features {
  list-style: none;
  padding: 0;
  text-align: left;
  margin-bottom: 30px;
  transform: translateZ(10px);
}

.pricing-features li {
  color: #bbb;
  padding: 8px 0;
  padding-left: 25px;
  position: relative;
  font-size: 0.9rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.pricing-features li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: #25d366;
  font-weight: bold;
}

.pricing-card .btn {
  transform: translateZ(35px);
}

.footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #666;
  text-align: center;
  padding: 30px 20px;
}

.whatsapp-btn {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #25d366;
  color: #fff;
  text-decoration: none;
  padding: 12px 20px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: transform .3s, box-shadow .3s;
}

.whatsapp-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
}

@media (max-width: 480px) {
  .whatsapp-btn span {
    display: none;
  }
  .whatsapp-btn {
    padding: 14px;
    border-radius: 50%;
  }
}

@media (max-width: 768px) {
  .nav {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px;
  }

  .nav.active {
    display: flex;
  }

  .nav a {
    margin: 8px 0;
  }

  .menu-toggle {
    display: block;
  }

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

  .hero {
    padding: 160px 20px 80px;
  }
}
