/* ===================================================
   SALVAWEB.ID - MODERN DIGITAL STUDIO & PORTFOLIO
   Design: Obsidian Dark & Electric Indigo/Cyan Accent
   =================================================== */

:root {
  --bg-dark: #080b14;
  --bg-surface: #0f1629;
  --bg-card: #151f38;
  --bg-card-hover: #1c2a4c;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --primary: #6366f1;
  --primary-light: #818cf8;
  --accent: #38bdf8;
  --gradient-main: linear-gradient(135deg, #6366f1 0%, #38bdf8 100%);
  --gradient-glow: linear-gradient(135deg, rgba(99, 102, 241, 0.25) 0%, rgba(56, 189, 248, 0.25) 100%);
  --success: #10b981;
  --whatsapp: #25d366;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

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

/* ==================== NAVBAR ==================== */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(8, 11, 20, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 16px 0;
  transition: var(--transition);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  text-decoration: none;
  letter-spacing: -0.5px;
}

.brand-logo .logo-icon {
  width: 36px;
  height: 36px;
  background: var(--gradient-main);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #fff;
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}

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

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: var(--transition);
}

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

.btn-nav-wa {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  background: var(--gradient-main);
  color: #fff;
  font-size: 13.5px;
  font-weight: 700;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 4px 18px rgba(99, 102, 241, 0.35);
  transition: var(--transition);
}

.btn-nav-wa:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(99, 102, 241, 0.5);
}

/* ==================== HERO SECTION ==================== */
.hero-section {
  padding: 160px 0 100px 0;
  position: relative;
  text-align: center;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 350px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.22) 0%, rgba(56, 189, 248, 0.08) 50%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 820px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-radius: 50px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 24px;
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.15);
}

.hero-title {
  font-size: clamp(34px, 5.5vw, 56px);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -1px;
  margin-bottom: 20px;
  color: #fff;
}

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

.hero-subtitle {
  font-size: clamp(15px, 2vw, 18px);
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 36px;
  max-width: 660px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary-hero {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  background: var(--gradient-main);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 6px 25px rgba(99, 102, 241, 0.4);
  transition: var(--transition);
}

.btn-primary-hero:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(99, 102, 241, 0.6);
}

.btn-secondary-hero {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  border-radius: 50px;
  text-decoration: none;
  transition: var(--transition);
}

.btn-secondary-hero:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--accent);
  color: var(--accent);
}

/* ==================== STATS ROW ==================== */
.stats-banner {
  margin-top: 60px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  background: var(--bg-surface);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
}

.stat-box {
  text-align: center;
}

.stat-number {
  font-size: 32px;
  font-weight: 800;
  color: #fff;
  display: block;
}

.stat-number span {
  color: var(--accent);
}

.stat-text {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ==================== SECTION STYLING ==================== */
section {
  padding: 90px 0;
}

.section-tag {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--accent);
  letter-spacing: 1.5px;
  margin-bottom: 8px;
  display: inline-block;
}

.section-heading {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #fff;
  margin-bottom: 14px;
}

.section-desc {
  font-size: 15px;
  color: var(--text-muted);
  max-width: 600px;
  line-height: 1.6;
}

.center-head {
  text-align: center;
  margin-bottom: 50px;
}

.center-head .section-desc {
  margin: 0 auto;
}

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

.project-card {
  background: var(--bg-surface);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.project-card:hover {
  transform: translateY(-8px);
  border-color: rgba(99, 102, 241, 0.4);
  box-shadow: 0 16px 36px rgba(99, 102, 241, 0.18);
}

.project-img-wrapper {
  position: relative;
  width: 100%;
  height: 220px;
  background: #060913;
  overflow: hidden;
}

.project-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-card:hover .project-img-wrapper img {
  transform: scale(1.05);
}

.featured-pill {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(99, 102, 241, 0.9);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: 50px;
  letter-spacing: 0.5px;
}

.project-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.project-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.project-tag {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  color: var(--accent);
}

.project-title {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
}

.project-desc {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

.project-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
  transition: var(--transition);
}

.project-link:hover {
  color: #fff;
  transform: translateX(4px);
}

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

.service-card {
  background: var(--bg-surface);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(56, 189, 248, 0.4);
  box-shadow: 0 14px 30px rgba(56, 189, 248, 0.12);
  background: var(--bg-card);
}

.service-icon {
  width: 54px;
  height: 54px;
  background: var(--gradient-glow);
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--accent);
  margin-bottom: 20px;
}

.service-title {
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 10px;
}

.service-desc {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==================== PRICING PACKAGES ==================== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
}

.pricing-card {
  background: var(--bg-surface);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  position: relative;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.pricing-card.popular {
  border-color: rgba(99, 102, 241, 0.5);
  box-shadow: 0 10px 40px rgba(99, 102, 241, 0.2);
  background: linear-gradient(180deg, #131c38 0%, #0f1629 100%);
}

.popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-main);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  padding: 4px 16px;
  border-radius: 50px;
  letter-spacing: 0.5px;
}

.price-title {
  font-size: 18.5px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
  min-height: 46px;
  display: flex;
  align-items: center;
  line-height: 1.3;
}

.price-desc {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 20px;
  min-height: 56px;
  line-height: 1.5;
}

.price-val {
  font-size: 32px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.price-val span {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
}

.price-features {
  list-style: none;
  margin-bottom: 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 220px;
}

.price-features li {
  font-size: 13.5px;
  color: #cbd5e1;
  display: flex;
  align-items: center;
  gap: 10px;
}

.price-features li i {
  color: var(--success);
  font-size: 15px;
}

.btn-price {
  display: block;
  text-align: center;
  width: 100%;
  padding: 13px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  transition: var(--transition);
}

.btn-price.primary {
  background: var(--gradient-main);
  color: #fff;
  box-shadow: 0 4px 18px rgba(99, 102, 241, 0.35);
}

.btn-price.primary:hover {
  transform: scale(1.02);
  box-shadow: 0 6px 24px rgba(99, 102, 241, 0.5);
}

.btn-price.outline {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
}

.btn-price.outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ==================== CTA BANNER ==================== */
.cta-box {
  background: linear-gradient(135deg, #151f3d 0%, #0c1224 100%);
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-radius: var(--radius-lg);
  padding: 60px 30px;
  text-align: center;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  position: relative;
  overflow: hidden;
}

.cta-box h2 {
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
}

.cta-box p {
  font-size: 15px;
  color: var(--text-muted);
  max-width: 580px;
  margin: 0 auto 30px auto;
}

.btn-cta-wa {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 36px;
  background: var(--whatsapp);
  color: #fff;
  font-weight: 800;
  font-size: 15px;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 6px 25px rgba(37, 211, 102, 0.4);
  transition: var(--transition);
}

.btn-cta-wa:hover {
  transform: scale(1.04);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.6);
}

/* ==================== FLOATING WA ==================== */
.floating-wa {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  width: 58px;
  height: 58px;
  background: var(--whatsapp);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 28px;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.45);
  text-decoration: none;
  transition: var(--transition);
  animation: pulseWa 2s infinite;
}

.floating-wa:hover {
  transform: scale(1.1);
}

@keyframes pulseWa {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
  70% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ==================== FOOTER ==================== */
footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 50px 0 30px 0;
  background: #05070d;
  font-size: 13.5px;
  color: var(--text-muted);
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 30px;
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  font-size: 12.5px;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .hero-section {
    padding: 130px 0 70px 0;
  }
  .portfolio-grid, .pricing-grid {
    grid-template-columns: 1fr;
  }
  .cta-box {
    padding: 40px 20px;
  }
}
