/* ============================================
   JASA MASKIN - ULTRA MODERN CSS
   FULL VERSION - CLEAN & RAPI
   ============================================ */

/* RESET & BASE */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 45%, #7dd3fc 100%);
  color: #0f172a;
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Animated Background Orbs */
body::before {
  content: '';
  position: fixed;
  top: 10%;
  left: -20%;
  width: 80%;
  height: 80%;
  background: radial-gradient(circle, rgba(56,189,248,0.18) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
  animation: floatOrb1 20s ease-in-out infinite;
}

body::after {
  content: '';
  position: fixed;
  bottom: 10%;
  right: -20%;
  width: 70%;
  height: 70%;
  background: radial-gradient(circle, rgba(14,165,233,0.12) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
  animation: floatOrb2 25s ease-in-out infinite;
}

@keyframes floatOrb1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(5%, 5%) scale(1.1); }
}

@keyframes floatOrb2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-5%, -5%) scale(1.15); }
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ============================================
   NAVBAR & HEADER
   ============================================ */

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(14,165,233,0.25);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  padding: 0.8rem 2rem;
  background: rgba(255,255,255,0.96);
  box-shadow: 0 10px 30px rgba(15,23,42,0.08);
}

main {
  padding-top: 80px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-img {
  height: 45px;
  width: auto;
  display: block;
  transition: all 0.3s ease;
}

.logo:hover .logo-img {
  transform: scale(1.02);
  filter: brightness(1.1);
}

.navbar.scrolled .logo-img {
  height: 38px;
}

/* Navigation Links */
.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: #0f172a;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  padding: 0.5rem 0;
  position: relative;
}

.nav-links a::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #38bdf8, #0ea5e9);
  transition: width 0.3s ease;
}

.nav-links a:hover::before,
.nav-links a.active::before {
  width: 100%;
}

.nav-links a:hover,
.nav-links a.active {
  color: #0c4a6e;
}

/* ============================================
   HAMBURGER MENU (MOBILE)
   ============================================ */

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  width: 40px;
  height: 40px;
  cursor: pointer;
  z-index: 1001;
  background: transparent;
  border: none;
  position: relative;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 2.5px;
  background: #0f172a;
  transition: all 0.3s ease;
  border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
  background: #0ea5e9;
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
  background: #0ea5e9;
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero-inner {
  padding: 3rem 0 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-inner h1 {
  font-size: clamp(2rem, 5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #0f172a, #0ea5e9, #38bdf8);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  max-width: 20ch;
  margin: 0 auto 1.5rem;
}

.eyebrow {
  background: linear-gradient(135deg, rgba(14,165,233,0.15), rgba(59,130,246,0.15));
  backdrop-filter: blur(10px);
  color: #0f172a;
  padding: 0.6rem 1.5rem;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  display: inline-block;
  border: 1px solid rgba(14,165,233,0.35);
  animation: pulseGlow 2s infinite;
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 5px rgba(14,165,233,0.3); }
  50% { box-shadow: 0 0 20px rgba(14,165,233,0.5); }
}

.hero-meta {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 1rem 0 1.5rem;
}

.hero-meta span {
  background: rgba(255,255,255,0.6);
  backdrop-filter: blur(10px);
  color: #0f172a;
  padding: 0.6rem 1.5rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
  border: 1px solid rgba(14,165,233,0.3);
  transition: all 0.3s ease;
}

.hero-meta span:hover {
  background: rgba(14,165,233,0.15);
  border-color: rgba(14,165,233,0.6);
  transform: translateY(-2px);
}

.hero-subtitle {
  font-size: 1.1rem;
  max-width: 70ch;
  margin: 1.5rem auto 2rem;
  color: #1e293b;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
  width: 300px;
  height: 300px;
}

.btn.primary {
  background: linear-gradient(135deg, #38bdf8, #0ea5e9);
  color: white;
  box-shadow: 0 6px 20px rgba(14,165,233,0.3);
}

.btn.primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(14,165,233,0.4);
}

.btn.secondary {
  background: rgba(255,255,255,0.85);
  color: #0ea5e9;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(14,165,233,0.4);
}

.btn.secondary:hover {
  background: #0ea5e9;
  color: white;
  transform: translateY(-3px);
  border-color: transparent;
}

/* ============================================
   SECTIONS & HEADINGS
   ============================================ */

.section {
  padding: 5rem 0;
  position: relative;
}

.section-heading {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem;
}

.section-heading h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  background: linear-gradient(135deg, #0f172a, #0ea5e9);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 1rem;
}

.section-heading p {
  color: #334155;
  font-size: 1rem;
  line-height: 1.7;
}

/* ============================================
   CARDS GRID
   ============================================ */

.intro-grid, 
.stats-grid, 
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 1rem;
}

.feature-card, 
.stat-card, 
.portfolio-card {
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(18px);
  border-radius: 24px;
  padding: 2rem;
  border: 1px solid rgba(14,165,233,0.2);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.feature-card:hover, 
.portfolio-card:hover {
  transform: translateY(-8px);
  border-color: rgba(14,165,233,0.5);
  box-shadow: 0 25px 50px -12px rgba(14,165,233,0.2);
}

.stat-card:hover {
  transform: translateY(-5px);
  border-color: rgba(14,165,233,0.5);
}

/* Card Text */
.feature-card h3, 
.portfolio-card h3 {
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
  color: #0f172a;
}

.feature-card p, 
.portfolio-card p {
  color: #334155;
  line-height: 1.6;
  font-size: 0.95rem;
}

/* ============================================
   ICONS (Font Awesome)
   ============================================ */

.feature-icon-fa {
  font-size: 3rem;
  margin-bottom: 1.25rem;
  background: linear-gradient(135deg, #0ea5e9, #38bdf8);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  transition: all 0.3s ease;
  display: inline-block;
}

.feature-card:hover .feature-icon-fa {
  transform: scale(1.1) rotate(5deg);
}

/* ============================================
   PNG ICON STYLES (Large Icons)
   ============================================ */

.icon-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 1.5rem;
}

.feature-icon-img {
  width: 100px;
  height: 100px;
  object-fit: contain;
  display: inline-block;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.1));
}

.feature-card:hover .feature-icon-img {
  transform: scale(1.15) rotate(5deg);
  filter: drop-shadow(0 8px 20px rgba(14,165,233,0.4));
}

.icon-wrapper {
  background: rgba(14,165,233,0.1);
  border-radius: 50%;
  width: 130px;
  height: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  transition: all 0.4s ease;
  border: 1px solid rgba(14,165,233,0.25);
}

.feature-card:hover .icon-wrapper {
  background: rgba(14,165,233,0.2);
  border-color: rgba(14,165,233,0.5);
  box-shadow: 0 0 30px rgba(14,165,233,0.3);
}

/* ============================================
   STATS CARDS
   ============================================ */

.stat-card h3 {
  font-size: 2.5rem;
  font-weight: 900;
  background: linear-gradient(135deg, #0ea5e9, #38bdf8);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 0.5rem;
}

.stat-card p {
  color: #334155;
  font-size: 0.9rem;
  font-weight: 500;
}

/* ============================================
   PORTFOLIO
   ============================================ */

.portfolio-image {
  position: relative;
  height: 200px;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 1rem;
  background-size: cover;
  background-position: center;
  transition: all 0.4s ease;
}

.portfolio-card:hover .portfolio-image {
  transform: scale(1.02);
}

.emoji-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 2.5rem;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 2;
  pointer-events: none;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.portfolio-card:hover .emoji-overlay {
  opacity: 1;
}

/* ============================================
   CONTACT CARD & WHATSAPP
   ============================================ */

.contact-card {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(25px);
  max-width: 650px;
  margin: 0 auto;
  border-radius: 32px;
  padding: 3rem 2.5rem;
  text-align: center;
  border: 1px solid rgba(14,165,233,0.25);
  box-shadow: 0 25px 50px -12px rgba(14,165,233,0.15);
  transition: all 0.4s ease;
}

.contact-card:hover {
  transform: translateY(-5px);
  border-color: rgba(14,165,233,0.4);
  box-shadow: 0 30px 60px -15px rgba(14,165,233,0.25);
}

.contact-card h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #0f172a, #0ea5e9);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.contact-card p {
  color: #334155;
  margin-bottom: 1.5rem;
}

/* WhatsApp Logo */
.wa-logo {
  width: 70px;
  height: 70px;
  object-fit: contain;
  margin-bottom: 1rem;
  display: inline-block;
  animation: waBounce 1s ease infinite;
}

.btn-wa-icon {
  width: 22px;
  height: 22px;
  object-fit: contain;
  margin-right: 8px;
  vertical-align: middle;
}

@keyframes waBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.btn.primary:hover .btn-wa-icon {
  transform: scale(1.1);
  transition: transform 0.3s ease;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
  text-align: center;
  padding: 2.5rem 1.5rem;
  color: #475569;
  border-top: 1px solid rgba(14,165,233,0.15);
  font-size: 0.85rem;
  margin-top: 2rem;
}

/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  opacity: 0;
  animation: fadeInUp 0.6s ease-out forwards;
}

.fade-in.delay-1 { animation-delay: 0.1s; }
.fade-in.delay-2 { animation-delay: 0.2s; }
.fade-in.delay-3 { animation-delay: 0.3s; }
.fade-in.delay-4 { animation-delay: 0.4s; }
.fade-in.delay-5 { animation-delay: 0.5s; }

/* ============================================
   SCROLLBAR
   ============================================ */

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #e2e8f0;
  border-radius: 10px;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #0ea5e9, #38bdf8);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, #0284c7, #0ea5e9);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

/* Tablet (max-width: 768px) */
@media (max-width: 768px) {
  .container {
    padding: 0 1.25rem;
  }

  main {
    padding-top: 70px;
  }

  .navbar {
    padding: 0.75rem 1.25rem;
  }

  .logo-img {
    height: 35px;
  }

  .navbar.scrolled .logo-img {
    height: 30px;
  }

  .hamburger {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(30px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    transition: right 0.3s ease;
    border-left: 1px solid rgba(14,165,233,0.3);
    z-index: 1000;
    padding: 2rem;
  }

  .nav-links.mobile-open {
    right: 0;
  }

  .nav-links li {
    width: 100%;
    text-align: center;
  }

  .nav-links a {
    display: block;
    padding: 0.8rem;
    font-size: 1.1rem;
    color: #0f172a;
  }

  .nav-links a::before {
    display: none;
  }

  .nav-links a:hover,
  .nav-links a.active {
    color: #0ea5e9;
    background: rgba(14,165,233,0.1);
    border-radius: 12px;
  }

  body.menu-open {
    overflow: hidden;
  }

  .hero-inner {
    padding: 1.5rem 0 2rem;
  }

  .hero-inner h1 {
    font-size: 1.8rem;
  }

  .hero-subtitle {
    font-size: 0.95rem;
    padding: 0 0.5rem;
  }

  .hero-meta {
    gap: 0.6rem;
  }

  .hero-meta span {
    font-size: 0.7rem;
    padding: 0.35rem 0.8rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
  }

  .btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
    width: 100%;
    max-width: 220px;
    justify-content: center;
  }

  .section {
    padding: 3rem 0;
  }

  .section-heading {
    margin-bottom: 2rem;
  }

  .section-heading h2 {
    font-size: 1.5rem;
  }

  .section-heading p {
    font-size: 0.9rem;
  }

  .eyebrow {
    font-size: 0.7rem;
    padding: 0.35rem 1rem;
  }

  .intro-grid, 
  .stats-grid, 
  .portfolio-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .feature-card, 
  .stat-card, 
  .portfolio-card {
    padding: 1.25rem;
  }

  .feature-card h3, 
  .portfolio-card h3 {
    font-size: 1.2rem;
  }

  .feature-icon-fa {
    font-size: 2.5rem;
  }

  .feature-icon-img {
    width: 80px;
    height: 80px;
  }

  .icon-wrapper {
    width: 110px;
    height: 110px;
  }

  .stat-card h3 {
    font-size: 1.8rem;
  }

  .portfolio-image {
    height: 160px;
  }

  .contact-card {
    padding: 1.75rem 1.25rem;
    margin: 0 0.5rem;
  }

  .contact-card h2 {
    font-size: 1.5rem;
  }

  .contact-card p {
    font-size: 0.85rem;
  }

  .wa-logo {
    width: 55px;
    height: 55px;
  }

  .btn-wa-icon {
    width: 18px;
    height: 18px;
  }

  .footer {
    padding: 1.5rem;
    font-size: 0.75rem;
  }
}

/* Mobile Kecil (max-width: 480px) */
@media (max-width: 480px) {
  .logo-img {
    height: 30px;
  }

  .hero-inner h1 {
    font-size: 1.5rem;
  }

  .section-heading h2 {
    font-size: 1.3rem;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
  }

  .stat-card {
    padding: 1rem;
  }

  .stat-card h3 {
    font-size: 1.4rem;
  }

  .feature-icon-img {
    width: 65px;
    height: 65px;
  }

  .icon-wrapper {
    width: 90px;
    height: 90px;
    margin-bottom: 1rem;
  }
}

/* Tablet Landscape (769px - 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
  .intro-grid,
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-inner h1 {
    font-size: 2.5rem;
  }
}