/* --- RESET & BASICS --- */
:root {
  --bg-dark: #0f172a;
  --bg-card: #1e293b;
  --primary: #6366f1; /* Indigo */
  --primary-hover: #4f46e5;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --accent: #22d3ee; /* Cyan for highlights */
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Inter", sans-serif;
  scroll-behavior: smooth;
}

body {
  background: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
}

/* --- NAVBAR --- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding: 15px 0;
}

.nav-container {
  max-width: 1000px;
  margin: auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -0.5px;
}
.dot {
  color: var(--primary);
}

.nav-links {
  display: flex;
  gap: 25px;
  align-items: center;
}
.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: 0.3s;
}
.nav-links a:hover {
  color: white;
}

.nav-cta {
  background: var(--primary);
  color: white !important;
  padding: 8px 16px;
  border-radius: 6px;
}

/* --- HERO SECTION --- */
.hero {
  padding: 100px 20px 60px;
  text-align: center;
  max-width: 800px;
  margin: auto;
}

.badge {
  display: inline-block;
  background: rgba(99, 102, 241, 0.1);
  color: var(--primary);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero h1 {
  font-size: 3rem;
  line-height: 1.2;
  margin-bottom: 20px;
  font-weight: 800;
}

.highlight {
  background: linear-gradient(to right, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 35px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 50px;
}

.btn {
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.2s;
}

.btn-primary {
  background: var(--primary);
  color: white;
}
.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
}
.btn-text {
  color: var(--text-main);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.btn-text:hover {
  border-color: var(--text-muted);
}

/* --- STATS ROW --- */
.stats-row {
  display: flex;
  justify-content: center;
  gap: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 30px;
  margin-top: 30px;
}
.stat {
  color: var(--text-muted);
  font-size: 0.9rem;
}
.stat strong {
  color: white;
  font-size: 1.1rem;
}

/* --- SECTIONS COMMON --- */
.section {
  max-width: 1000px;
  margin: 80px auto;
  padding: 0 20px;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}
.section-header h2 {
  font-size: 2rem;
  margin-bottom: 10px;
}
.section-header p {
  color: var(--text-muted);
}

/* --- PROCESS GRID --- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.process-step {
  background: var(--bg-card);
  padding: 30px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
}

.step-number {
  font-size: 3rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.03);
  position: absolute;
  top: 10px;
  right: 20px;
}

.process-step h3 {
  margin-bottom: 10px;
  color: var(--primary);
}
.process-step p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* --- PORTFOLIO GRID --- */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.project-card {
  background: var(--bg-card);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: transform 0.3s ease;
}

.project-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
}

.placeholder-img {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 600;
  letter-spacing: 1px;
}

.card-content {
  padding: 25px;
}
.card-content h3 {
  margin-bottom: 5px;
  font-size: 1.1rem;
}
.card-content p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 15px;
}
.link-arrow {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
}

/* --- PRICING --- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  align-items: center; /* Aligns cards vertically */
}

.pricing-card {
  background: var(--bg-card);
  padding: 40px 30px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  text-align: center;
  transition: transform 0.3s;
  position: relative;
}

.pricing-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.2);
}

/* Make the popular card pop out */
.pricing-card.popular {
  border: 2px solid var(--primary);
  background: rgba(99, 102, 241, 0.05); /* Very subtle tint */
  transform: scale(1.05); /* Slightly bigger */
  z-index: 2;
}

.pricing-card.popular:hover {
  transform: scale(1.05) translateY(-5px);
}

.pop-badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: white;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.pricing-card h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: white;
}

.pricing-card .desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  min-height: 40px; /* Keeps cards aligned even if text length varies */
}

.price {
  font-size: 2.2rem;
  font-weight: 800;
  color: white;
  margin-bottom: 25px;
}

.features-list {
  list-style: none;
  margin-bottom: 30px;
  text-align: left;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 20px;
}

.features-list li {
  margin-bottom: 15px;
  color: var(--text-muted);
  font-size: 0.95rem;
  display: flex;
  gap: 10px;
}

.features-list strong {
  color: white;
  font-weight: 600;
}

.full-width {
  display: block;
  width: 100%;
}

.pricing-note {
  text-align: center;
  margin-top: 40px;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-style: italic;
}

/* Mobile Fix for Pricing Scale */
@media (max-width: 768px) {
  .pricing-card.popular {
    transform: scale(1); /* Don't scale up on mobile */
    margin: 20px 0;
  }
}

/* --- CONTACT --- */
.contact {
  padding: 80px 20px;
  text-align: center;
  background: #020617;
}
.contact-box h2 {
  font-size: 2rem;
  margin-bottom: 10px;
}
.contact-box p {
  color: var(--text-muted);
  margin-bottom: 30px;
}

.whatsapp-btn-large {
  background: #25d366;
  color: #000;
  padding: 16px 32px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  display: inline-block;
}

.email-text {
  margin-top: 20px !important;
  font-size: 0.9rem;
  opacity: 0.7;
}

footer {
  text-align: center;
  padding: 40px;
  color: var(--text-muted);
  font-size: 0.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* --- MOBILE --- */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.2rem;
  }
  .nav-links {
    display: none;
  } /* Simplified nav for mobile */
  .stats-row {
    flex-direction: column;
    gap: 15px;
    align-items: center;
  }
}

.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #25d366; /* WhatsApp Green */
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  text-decoration: none;
  z-index: 2000;
  transition: transform 0.3s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1); /* Slight zoom effect when hovered */
}

/* This styles the PNG image inside the circle */
.whatsapp-float img {
  width: 35px; /* Adjusts the icon size to fit perfectly */
  height: 35px;
  object-fit: contain;
}
