:root {
  /* Colors */
  --primary: #2563eb; /* Blue 600 */
  --primary-dark: #1d4ed8; /* Blue 700 */
  --secondary: #0ea5e9; /* Sky 500 */
  --accent: #8b5cf6; /* Violet 500 */
  
  --bg-color: #f8fafc; /* Slate 50 */
  --text-main: #0f172a; /* Slate 900 */
  --text-muted: #64748b; /* Slate 500 */
  --card-bg: #ffffff;
  --border-color: #e2e8f0; /* Slate 200 */
  
  --success: #22c55e; /* Green 500 */
  --success-dark: #16a34a; /* Green 600 */

  /* Spacing */
  --container-width: 1280px;
  --header-height: 80px;
  
  /* Fonts */
  --font-sans: 'Inter', sans-serif;
  --font-heading: 'Plus Jakarta Sans', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-color);
  color: var(--text-main);
  line-height: 1.5;
  overflow-x: hidden;
}

/* Utility Classes */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1rem;
}

.hidden { display: none !important; }
.flex { display: flex; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.gap-2 { gap: 0.5rem; }
.gap-4 { gap: 1rem; }
.gap-8 { gap: 2rem; }
.text-center { text-align: center; }

/* Typography */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
}

.text-gradient {
  background: linear-gradient(to right, var(--primary), var(--accent), var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
  display: flex;
  align-items: center;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.nav-logo img {
  height: 48px;
  width: auto;
}

.nav-links {
  display: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-main);
  font-weight: 500;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--primary);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 0.375rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
  font-size: 1rem;
}

.btn-primary {
  background-color: var(--primary);
  color: white;
}

.btn-primary:hover {
  background-color: var(--primary-dark);
}

.btn-whatsapp {
  background-color: var(--success);
  color: white;
}

.btn-whatsapp:hover {
  background-color: var(--success-dark);
}

/* Animations */
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .8; transform: scale(1.05); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes pop {
  0% { transform: scale(1); }
  100% { transform: scale(1.05) rotate(2deg); }
}

@keyframes wave {
  0%, 100% { transform: translateY(0); }
  25% { transform: translateY(-5px) rotate(2deg); }
  75% { transform: translateY(5px) rotate(-2deg); }
}

.animate-pulse { animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite; }
.animate-float { animation: float 3s ease-in-out infinite; }
.animate-pop { animation: pop 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) infinite alternate; }
.animate-wave { animation: wave 2s ease-in-out infinite; }

/* Domain Name Animation */
.domain-name {
  font-size: 1.25rem;
  font-weight: 700;
  font-family: var(--font-heading);
  background: linear-gradient(to right, var(--primary), #a855f7, var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: pulse 2s infinite;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
}

/* Hero Section */
.hero {
  padding-top: 160px;
  padding-bottom: 80px;
  position: relative;
  overflow: hidden;
}

.hero-bg-gradient {
  position: absolute;
  top: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: rgba(14, 165, 233, 0.2);
  border-radius: 50%;
  filter: blur(100px);
  z-index: -1;
}

.hero-bg-gradient-2 {
  position: absolute;
  bottom: 0;
  left: -100px;
  width: 400px;
  height: 400px;
  background: rgba(37, 99, 235, 0.15);
  border-radius: 50%;
  filter: blur(100px);
  z-index: -1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(37, 99, 235, 0.1);
  color: var(--primary);
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: var(--text-main);
}

.hero-desc {
  font-size: 1.125rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
  margin-bottom: 3rem;
}

.promo-container {
  position: relative;
  cursor: pointer;
  transition: transform 0.3s;
  margin-left: 1rem;
}

.promo-container:hover {
  transform: scale(1.1);
}

.promo-glow {
  position: absolute;
  inset: 0;
  background: #facc15;
  border-radius: 50%;
  filter: blur(20px);
  opacity: 0.6;
  animation: pulse 2s infinite;
}

.promo-img {
  height: 120px; /* h-32 equivalent */
  width: auto;
  position: relative;
  z-index: 10;
}

.hero-features {
  display: flex;
  gap: 2rem;
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 500;
}

.hero-feature-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-image-container {
  display: none;
  position: relative;
}

.hero-main-img {
  width: 100%;
  border-radius: 1rem;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Supported Platforms */
.platforms {
  padding: 4rem 0;
  background: rgba(255, 255, 255, 0.5);
  border-bottom: 1px solid var(--border-color);
}

.platform-title {
  text-align: center;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 2.5rem;
}

.platform-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.platform-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  position: relative;
}

.platform-icon {
  width: 4rem;
  height: 4rem;
  background: white;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  border: 1px solid var(--border-color);
  padding: 0.5rem;
  transition: box-shadow 0.3s;
}

.platform-icon:hover {
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.platform-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.3s;
}

.platform-item:hover img {
  transform: scale(1.1);
}

.platform-name {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
  opacity: 0;
  transition: opacity 0.2s;
  position: absolute;
  bottom: -1.5rem;
  white-space: nowrap;
}

.platform-item:hover .platform-name {
  opacity: 1;
}

/* Services */
.services {
  padding: 6rem 0;
  background: #f8fafc;
}

.section-header {
  text-align: center;
  max-width: 48rem;
  margin: 0 auto 4rem;
}

.section-title {
  font-size: 2.25rem;
  margin-bottom: 1rem;
  color: var(--text-main);
}

.section-desc {
  font-size: 1.125rem;
  color: var(--text-muted);
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.card {
  background: white;
  border-radius: 0.75rem;
  padding: 1.5rem;
  border: 1px solid var(--border-color);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  transition: all 0.3s;
}

.card:hover {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.service-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  background: var(--bg-color);
}

/* Pricing */
.pricing {
  padding: 6rem 0;
  background: white;
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.pricing-card {
  border: 2px solid transparent;
  border-radius: 0.75rem;
  padding: 1.5rem;
  background: white;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  transition: all 0.3s;
}

.pricing-card.highlight {
  border-color: var(--primary);
  transform: scale(1.02);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  z-index: 10;
  position: relative;
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: white;
  padding: 0.25rem 1rem;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 500;
}

.price-amount {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-main);
  margin: 1rem 0;
  display: block;
}

.feature-list {
  list-style: none;
  margin-bottom: 2rem;
  flex: 1;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.btn-full {
  width: 100%;
}

.btn-dark {
  background: var(--text-main);
  color: white;
}

.btn-dark:hover {
  background: #1e293b;
}

/* CTA */
.cta {
  padding: 6rem 0;
  position: relative;
  background: var(--primary);
  overflow: hidden;
  text-align: center;
}

.cta-content {
  position: relative;
  z-index: 10;
}

.cta-title {
  color: white;
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.cta-text {
  color: #dbeafe;
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
}

/* Footer */
.footer {
  background: #0f172a;
  color: #e2e8f0;
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand h3 {
  font-size: 1.5rem;
  color: white;
  margin-bottom: 1rem;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.social-link {
  background: #1e293b;
  padding: 0.5rem;
  border-radius: 50%;
  color: white;
  display: flex;
  transition: background 0.2s;
}

.social-link:hover {
  background: var(--primary);
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--primary);
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  color: #94a3b8;
}

.copyright {
  border-top: 1px solid #1e293b;
  padding-top: 2rem;
  text-align: center;
  font-size: 0.875rem;
  color: #64748b;
}

/* Floating WhatsApp */
.floating-wa {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    z-index: 999;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.floating-wa img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

/* Hover effect */
.floating-wa:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}


/* Mobile Menu */
.mobile-menu-btn {
  display: block;
  background: none;
  border: none;
  cursor: pointer;
}

.mobile-menu {
  display: none;
  position: absolute;
  top: var(--header-height);
  left: 0;
  right: 0;
  background: white;
  border-bottom: 1px solid var(--border-color);
  padding: 1rem;
  flex-direction: column;
  gap: 1rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.mobile-menu.open {
  display: flex;
  animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (min-width: 768px) {
  .nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
  }
  
  .mobile-menu-btn {
    display: none;
  }

  .hero-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero-actions {
    flex-direction: row;
  }

  .hero-image-container {
    display: block;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pricing-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .hero-title {
    font-size: 3.5rem;
  }
}

.service-icon img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    display: block;
    margin: 0 auto 12px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.contact-icon {
    width: 18px;
    height: 18px;
    object-fit: contain;
    filter: var(--icon-filter, none); /* opsional */
}
