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

:root {
  --primary: #0066ff;
  --primary-dark: #0052cc;
  --bg-dark: #0a0a0f;
  --bg-card: #13131a;
  --text: #ffffff;
  --text-muted: #a0a0b0;
  --border: rgba(255, 255, 255, 0.1);
  --gradient: linear-gradient(135deg, #0066ff, #00ccff);
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg-dark);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* HEADER */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(10, 10, 15, 0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: all 0.3s;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 5px 10px;
}

.logo {
  font-size: 24px;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  font-family: 'Space Grotesk', sans-serif;
}

.logo span {
  color: var(--primary);
}

.nav {
  display: flex;
  gap: 30px;
}

.nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.nav a:hover {
  color: var(--primary);
}

.btn {
  padding: 12px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;
  display: inline-block;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--gradient);
  color: white;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 102, 255, 0.3);
}

.btn-outline {
  border: 2px solid var(--primary);
  color: var(--primary);
  background: transparent;
}

.btn-outline:hover {
  background: var(--primary);
  color: white;
}

.btn-lg {
  padding: 16px 40px;
  font-size: 18px;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s;
}

/* HERO */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding-top: 100px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 30% 20%, rgba(0, 102, 255, 0.15), transparent 50%),
              radial-gradient(circle at 70% 80%, rgba(0, 204, 255, 0.1), transparent 50%);
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 900px;
}

.hero-badge {
  display: inline-block;
  padding: 8px 20px;
  background: rgba(0, 102, 255, 0.1);
  border: 1px solid rgba(0, 102, 255, 0.3);
  border-radius: 50px;
  font-size: 14px;
  margin-bottom: 30px;
  color: var(--primary);
}

.hero-title {
  font-size: 56px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  font-family: 'Space Grotesk', sans-serif;
}

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

.hero-sub {
  font-size: 20px;
  color: var(--text-muted);
  margin-bottom: 40px;
}

.hero-btns {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-bottom: 60px;
}

.hero-stats {
  display: flex;
  gap: 40px;
  justify-content: center;
  align-items: center;
}

.stat span {
  display: block;
  font-size: 36px;
  font-weight: 700;
  color: var(--primary);
}

.stat p {
  color: var(--text-muted);
  font-size: 14px;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

.hero-visual {
  position: absolute;
  right: 10%;
  top: 50%;
  transform: translateY(-50%);
  z-index: 0;
}

.glow-circle {
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 102, 255, 0.2), transparent);
  filter: blur(60px);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: pulse 4s ease-in-out infinite;
}

.code-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  width: 350px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  position: relative;
}

.code-dots {
  display: flex;
  gap: 8px;
  margin-bottom: 15px;
}

.code-dots span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ff5f56;
}

.code-dots span:nth-child(2) { background: #ffbd2e; }
.code-dots span:nth-child(3) { background: #27c93f; }

.code-card pre {
  font-family: 'Courier New', monospace;
  font-size: 13px;
  line-height: 1.6;
}

.c-blue { color: #569cd6; }
.c-white { color: #d4d4d4; }
.c-yellow { color: #dcdcaa; }
.c-green { color: #9cdcfe; }
.c-orange { color: #ce9178; }

@keyframes pulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
  50% { transform: translate(-50%, -50%) scale(1.1); opacity: 0.7; }
}

/* SECTIONS */
.section {
  padding: 100px 0;
  position: relative;
}

.section-label {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(0, 102, 255, 0.1);
  border: 1px solid rgba(0, 102, 255, 0.3);
  border-radius: 50px;
  font-size: 13px;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
  margin-bottom: 20px;
}

.section-title {
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 15px;
  font-family: 'Space Grotesk', sans-serif;
}

.section-sub {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 60px;
  max-width: 600px;
}

.section {
  text-align: center;
}

.section .section-sub {
  margin-left: auto;
  margin-right: auto;
}

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

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px 30px;
  transition: all 0.3s;
  text-align: left;
}

.service-card:hover {
  transform: translateY(-10px);
  border-color: var(--primary);
  box-shadow: 0 20px 40px rgba(0, 102, 255, 0.2);
}

.service-icon {
  width: 60px;
  height: 60px;
  background: var(--gradient);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 22px;
  margin-bottom: 15px;
  font-family: 'Space Grotesk', sans-serif;
}

.service-card p {
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.7;
}

.service-link {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: gap 0.3s;
}

.service-link:hover {
  gap: 12px;
}

/* WHY CHOOSE US */
.why {
  background: linear-gradient(180deg, transparent, rgba(0, 102, 255, 0.03), transparent);
}

.why-inner {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  align-items: start;
}

.why-left {
  text-align: left;
  position: sticky;
  top: 120px;
}

.why-left .section-sub {
  margin-bottom: 30px;
}

.why-right {
  display: grid;
  gap: 20px;
}

.why-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 30px;
  display: flex;
  gap: 20px;
  align-items: start;
  transition: all 0.3s;
}

.why-card:hover {
  border-color: var(--primary);
  transform: translateX(10px);
}

.why-icon {
  width: 50px;
  height: 50px;
  background: rgba(0, 102, 255, 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--primary);
  flex-shrink: 0;
}

.why-card h4 {
  font-size: 20px;
  margin-bottom: 8px;
  font-family: 'Space Grotesk', sans-serif;
}

.why-card p {
  color: var(--text-muted);
  line-height: 1.6;
}

/* PORTFOLIO */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

.portfolio-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  display: block;
}

.portfolio-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.portfolio-img {
  height: 250px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 102, 255, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
  font-size: 32px;
}

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

.p-mockup {
  font-size: 80px;
  opacity: 0.3;
}

.portfolio-info {
  padding: 25px;
  text-align: left;
}

.p-tag {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(0, 102, 255, 0.1);
  border-radius: 20px;
  font-size: 12px;
  color: var(--primary);
  margin-bottom: 12px;
}

.portfolio-info h4 {
  font-size: 20px;
  margin-bottom: 10px;
  font-family: 'Space Grotesk', sans-serif;
}

.portfolio-info p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
}

/* TECHNOLOGIES */
.tech-grid {
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
}

.tech-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  transition: transform 0.3s;
}

.tech-item:hover {
  transform: translateY(-10px);
}

.tech-logo {
  width: 80px;
  height: 80px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.tech-item:hover .tech-logo {
  border-color: var(--primary);
  box-shadow: 0 10px 30px rgba(0, 102, 255, 0.2);
}

.tech-item span {
  font-weight: 600;
  color: var(--text-muted);
}

/* CTA SECTION */
.cta-section {
  padding: 80px 0;
}

.cta-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 60px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  align-items: center;
}

.cta-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 102, 255, 0.2), transparent);
  filter: blur(80px);
  z-index: 0;
}

.cta-visual {
  position: relative;
  z-index: 1;
}

.cta-icon-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 350px;
  margin: 0 auto;
}

.cta-icon {
  width: 100px;
  height: 100px;
  background: rgba(0, 102, 255, 0.1);
  border: 1px solid var(--border);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: var(--primary);
  transition: all 0.3s;
  animation: float 3s ease-in-out infinite;
}

.cta-icon:nth-child(1) { animation-delay: 0s; }
.cta-icon:nth-child(2) { animation-delay: 0.2s; }
.cta-icon:nth-child(3) { animation-delay: 0.4s; }
.cta-icon:nth-child(4) { animation-delay: 0.6s; }
.cta-icon:nth-child(5) { animation-delay: 0.8s; }
.cta-icon:nth-child(6) { animation-delay: 1s; }

.cta-icon:hover {
  background: var(--gradient);
  color: white;
  transform: translateY(-10px) scale(1.1);
  box-shadow: 0 15px 30px rgba(0, 102, 255, 0.3);
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.cta-content {
  position: relative;
  z-index: 1;
  text-align: left;
}

.cta-content .section-label {
  margin-bottom: 15px;
}

.cta-box h2 {
  font-size: 42px;
  margin-bottom: 20px;
  text-align: left;
}

.cta-box p {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 30px;
  text-align: left;
}

/* FOOTER */
.footer {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding: 60px 0 30px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h5 {
  font-size: 18px;
  margin-bottom: 20px;
  font-family: 'Space Grotesk', sans-serif;
}

.footer-desc {
  color: var(--text-muted);
  margin: 20px 0;
  line-height: 1.7;
}

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

.social-links a {
  width: 40px;
  height: 40px;
  background: rgba(0, 102, 255, 0.1);
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  transition: all 0.3s;
}

.social-links a:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-3px);
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col ul li a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-col ul li a:hover {
  color: var(--primary);
}

.contact-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-muted);
}

.contact-list i {
  color: var(--primary);
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 14px;
}

/* ANIMATIONS */
.animate-fade-up {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.8s ease forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .hero-visual {
    display: none;
  }
  
  .why-inner {
    grid-template-columns: 1fr;
  }
  
  .why-left {
    position: static;
    text-align: center;
  }
  
  .why-left .section-sub {
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 768px) {
  .nav {
    position: fixed;
    top: 95px;
    left: 0;
    width: 100%;
    background: var(--bg-card);
    flex-direction: column;
    padding: 20px;
    border-bottom: 1px solid var(--border);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 999;
  }
  
  .nav.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  
  .hamburger {
    display: flex;
  }
  
  .header-inner .btn-primary {
    display: none;
  }
  
  .hero-title {
    font-size: 36px;
  }
  
  .hero-sub {
    font-size: 16px;
  }
  
  .hero-btns {
    flex-direction: column;
  }
  
  .hero-stats {
    flex-wrap: wrap;
    gap: 20px;
  }
  
  .section-title {
    font-size: 32px;
  }
  
  .footer-inner {
    grid-template-columns: 1fr;
  }
  
  .portfolio-grid {
    grid-template-columns: 1fr;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .cta-box {
    grid-template-columns: 1fr;
    padding: 40px 30px;
  }
  
  .cta-box h2 {
    font-size: 32px;
    text-align: center;
  }
  
  .cta-box p {
    text-align: center;
  }
  
  .cta-content {
    text-align: center;
  }
  
  .cta-icon-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
  }
  
  .cta-icon {
    width: 70px;
    height: 70px;
    font-size: 24px;
  }
}

/* LOGO STYLES */
.logo {
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo-img {
  height: 65px;
  width: auto;
  object-fit: contain;
}

.logo-text {
  font-size: 24px;
  font-weight: 700;
  color: var(--text);
  font-family: 'Space Grotesk', sans-serif;
  display: none;
}

.logo-text span {
  color: var(--primary);
}

.footer .logo-img {
  height: 50px;
}

@media (max-width: 768px) {
  .logo-img {
    height: 42px;
  }
  
  .footer .logo-img {
    height: 50px;
  }
}

/* CONTACT SECTION */
.contact-section {
  background: linear-gradient(180deg, transparent, rgba(0, 102, 255, 0.03), transparent);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px 30px;
  text-align: center;
  transition: all 0.3s;
}

.contact-card:hover {
  transform: translateY(-10px);
  border-color: var(--primary);
  box-shadow: 0 20px 40px rgba(0, 102, 255, 0.2);
}

.contact-icon {
  width: 70px;
  height: 70px;
  background: var(--gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin: 0 auto 20px;
  color: white;
}

.contact-card h3 {
  font-size: 22px;
  margin-bottom: 15px;
  font-family: 'Space Grotesk', sans-serif;
}

.contact-card a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  font-size: 18px;
  display: block;
  margin-bottom: 10px;
  transition: color 0.3s;
}

.contact-card a:hover {
  color: var(--text);
}

.contact-card p {
  color: var(--text-muted);
  font-size: 14px;
  margin: 5px 0;
}

.contact-cta {
  text-align: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px;
}

.contact-cta p {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.contact-cta .btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
}

.contact-cta .btn i {
  font-size: 20px;
}

/* FLOATING WHATSAPP BUTTON */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: white;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  z-index: 1000;
  transition: all 0.3s;
  animation: pulse-whatsapp 2s infinite;
}

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

@keyframes pulse-whatsapp {
  0%, 100% {
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  }
  50% {
    box-shadow: 0 4px 30px rgba(37, 211, 102, 0.7);
  }
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .whatsapp-float {
    width: 55px;
    height: 55px;
    font-size: 28px;
    bottom: 20px;
    right: 20px;
  }
}
