* {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    :root {
      --bg: #020617;
      --bg-soft: #050816;
      --card: rgba(15, 23, 42, 0.9);
      --border-soft: rgba(148, 163, 184, 0.35);
      --text: #e5e7eb;
      --text-soft: #9ca3af;
      --accent: #38bdf8;
      --accent-2: #22c55e;
    }

    body {
      font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
      background: radial-gradient(circle at top, var(--bg), #000);
      color: var(--text);
      line-height: 1.7;
      scroll-behavior: smooth;
    }

    .container {
      width: 90%;
      max-width: 1100px;
      margin: 0 auto;
    }

    /* Navbar */
    .navbar {
      position: sticky;
      top: 0;
      z-index: 50;
      background: rgba(2, 6, 23, 0.92);
      backdrop-filter: blur(12px);
      border-bottom: 1px solid rgba(148, 163, 184, 0.2);
    }

    .nav-content {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 0.75rem 0;
    }

    .logo {
      font-weight: 700;
      font-size: 1.4rem;
      letter-spacing: 0.05em;
    }

    .logo span {
      color: var(--accent);
    }

    .nav-actions {
      display: flex;
      align-items: center;
      gap: 0.75rem;
    }

    .nav-links {
      list-style: none;
      display: flex;
      gap: 1.5rem;
    }

    .nav-links a {
      text-decoration: none;
      color: var(--text);
      font-size: 0.95rem;
      transition: color 0.2s ease, transform 0.2s ease;
    }

    .nav-links a:hover {
      color: var(--accent);
      transform: translateY(-1px);
    }

    .nav-toggle {
      display: none;
      background: none;
      border: 1px solid rgba(148, 163, 184, 0.6);
      border-radius: 999px;
      padding: 0.25rem 0.7rem;
      color: var(--text);
      font-size: 1.1rem;
      cursor: pointer;
    }

    .theme-toggle {
      background: none;
      border: 1px solid rgba(148, 163, 184, 0.6);
      border-radius: 999px;
      padding: 0.25rem 0.7rem;
      cursor: pointer;
      font-size: 0.95rem;
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--text);
      backdrop-filter: blur(6px);
    }

    .theme-toggle:hover {
      border-color: var(--accent);
      transform: translateY(-1px);
    }

    /* Hero */
    .hero {
      padding: 4.5rem 0 3.5rem;
      min-height: 90vh;
      display: flex;
      align-items: center;
    }

    .hero-content {
      display: grid;
      grid-template-columns: minmax(0, 2fr) minmax(0, 1.3fr);
      gap: 2.5rem;
      align-items: center;
    }

    .hero-hello {
      font-size: 0.9rem;
      text-transform: uppercase;
      letter-spacing: 0.2em;
      color: var(--text-soft);
    }

    .hero h1 {
      font-size: 2.6rem;
      margin-top: 0.4rem;
    }

    .hero h1 span {
      background: linear-gradient(135deg, var(--accent), var(--accent-2));
      -webkit-background-clip: text;
      color: transparent;
    }

    .hero h2 {
      font-size: 1.3rem;
      margin-top: 0.3rem;
      color: var(--accent);
      font-weight: 500;
    }

    .hero-desc {
      margin-top: 1rem;
      color: #d1d5db;
      max-width: 34rem;
    }

    .hero-badges {
      display: flex;
      flex-wrap: wrap;
      gap: 0.7rem;
      margin-top: 1.4rem;
    }

    .pill {
      border-radius: 999px;
      padding: 0.25rem 0.7rem;
      font-size: 0.8rem;
      border: 1px solid rgba(148, 163, 184, 0.4);
      background: rgba(15, 23, 42, 0.7);
      backdrop-filter: blur(6px);
    }

    .pill.accent {
      border-color: rgba(56, 189, 248, 0.7);
      background: rgba(56, 189, 248, 0.1);
      color: var(--accent);
    }

    .hero-buttons {
      margin-top: 1.8rem;
      display: flex;
      flex-wrap: wrap;
      gap: 0.8rem;
      align-items: center;
    }

    .hero-status {
      margin-top: 0.5rem;
      font-size: 0.9rem;
      color: #bbf7d0;
      display: flex;
      align-items: center;
      gap: 0.3rem;
    }

    .btn {
      border-radius: 999px;
      padding: 0.6rem 1.4rem;
      border: 1px solid transparent;
      font-size: 0.95rem;
      cursor: pointer;
      text-decoration: none;
      display: inline-flex;
      justify-content: center;
      align-items: center;
      gap: 0.4rem;
      transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease,
        box-shadow 0.15s ease, border-color 0.15s ease;
    }

    .btn.primary {
      background: linear-gradient(135deg, var(--accent), var(--accent-2));
      color: #0b1120;
      font-weight: 600;
      box-shadow: 0 15px 40px rgba(34, 197, 94, 0.25);
    }

    .btn.primary:hover {
      transform: translateY(-2px) scale(1.02);
      box-shadow: 0 20px 45px rgba(34, 197, 94, 0.35);
    }

    .btn.outline {
      border-color: rgba(148, 163, 184, 0.6);
      color: var(--text);
      background: transparent;
    }

    .btn.outline:hover {
      border-color: var(--accent);
      color: var(--accent);
      transform: translateY(-2px);
    }

    .btn.full-width {
      width: 100%;
    }

    /* Hero side (avatar + card) */
    .hero-side {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 1.6rem;
    }

    .hero-avatar {
      position: relative;
      width: 140px;
      height: 140px;
      border-radius: 999px;
      padding: 4px;
      background: conic-gradient(
        from 180deg,
        rgba(56, 189, 248, 0.6),
        rgba(34, 197, 94, 0.6),
        rgba(56, 189, 248, 0.6)
      );
      box-shadow: 0 18px 40px rgba(15, 23, 42, 0.9);
      animation: floatAvatar 4s ease-in-out infinite;
    }

    .hero-avatar-inner {
      width: 100%;
      height: 100%;
      border-radius: 999px;
      overflow: hidden;
      background: radial-gradient(circle at top, #1f2937, #020617);
      position: relative;
    }

    .hero-avatar img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }

    .hero-avatar-fallback {
      position: absolute;
      inset: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 2.4rem;
      font-weight: 600;
      color: #e5e7eb;
    }

    @keyframes floatAvatar {
      0% { transform: translateY(0); }
      50% { transform: translateY(-8px); }
      100% { transform: translateY(0); }
    }

    /* Hero card dengan animasi */
    .hero-card {
      width: 100%;
      background: radial-gradient(circle at top, #0f172a, #020617);
      border-radius: 1.2rem;
      border: 1px solid rgba(148, 163, 184, 0.3);
      padding: 1.4rem 1.4rem 1.2rem;
      box-shadow: 0 15px 40px rgba(15, 23, 42, 0.7);
      position: relative;
      overflow: hidden;
    }

    .hero-card::before {
      content: "";
      position: absolute;
      inset: -40%;
      background: conic-gradient(
        from 180deg,
        rgba(56, 189, 248, 0.12),
        rgba(34, 197, 94, 0.12),
        transparent,
        transparent
      );
      animation: rotateGlow 12s linear infinite;
      opacity: 0.7;
    }

    .hero-card-inner {
      position: relative;
      border-radius: 1rem;
      padding: 0.9rem 1rem 0.9rem;
      background: radial-gradient(circle at top, #020617, #020617);
      border: 1px solid rgba(148, 163, 184, 0.35);
    }

    @keyframes rotateGlow {
      to {
        transform: rotate(360deg);
      }
    }

    .hero-badge {
      position: absolute;
      top: 0.8rem;
      right: 1rem;
      background: rgba(56, 189, 248, 0.12);
      border-radius: 999px;
      padding: 0.2rem 0.8rem;
      font-size: 0.75rem;
      color: var(--accent);
      border: 1px solid rgba(56, 189, 248, 0.5);
      backdrop-filter: blur(6px);
    }

    .hero-info p {
      font-size: 0.9rem;
      margin-bottom: 0.45rem;
    }

    /* Section umum */
    .section {
      padding: 3.5rem 0;
    }

    .section-alt {
      background: radial-gradient(circle at top, #020617, #000);
    }

    .section-title {
      font-size: 1.6rem;
      text-align: center;
      margin-bottom: 0.4rem;
    }

    .section-subtitle {
      text-align: center;
      color: var(--text-soft);
      font-size: 0.95rem;
      max-width: 32rem;
      margin: 0 auto 2.5rem;
    }

    /* About */
    .about-grid {
      display: grid;
      grid-template-columns: minmax(0, 2fr) minmax(0, 1.5fr);
      gap: 2rem;
    }

    .about-grid p {
      margin-bottom: 0.9rem;
    }

    .about-cards {
      display: grid;
      gap: 1rem;
    }

    .about-card {
      border-radius: 0.9rem;
      padding: 1rem 1.1rem;
      border: 1px solid var(--border-soft);
      background: var(--card);
      transition: transform 0.2s ease, box-shadow 0.2s ease,
        border-color 0.2s ease;
    }

    .about-card:hover {
      transform: translateY(-4px);
      border-color: var(--accent);
      box-shadow: 0 18px 40px rgba(15, 23, 42, 0.9);
    }

    .about-card h3 {
      font-size: 1rem;
      margin-bottom: 0.4rem;
    }

    /* Experience & Certificate */
    .timeline {
      border-left: 2px solid rgba(148, 163, 184, 0.3);
      padding-left: 1rem;
      margin-top: 0.5rem;
    }

    .timeline-item {
      margin-bottom: 1.1rem;
      position: relative;
    }

    .timeline-item::before {
      content: "";
      position: absolute;
      left: -1.1rem;
      top: 0.2rem;
      width: 0.6rem;
      height: 0.6rem;
      border-radius: 999px;
      background: var(--accent);
      box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.15);
    }

    .timeline-title {
      font-size: 0.95rem;
      font-weight: 600;
    }

    .timeline-meta {
      font-size: 0.8rem;
      color: var(--text-soft);
    }

    /* Skills */
    .skills-grid {
      display: grid;
      gap: 1.4rem;
      grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .skill-card {
      border-radius: 1rem;
      padding: 1rem 1.1rem 1.1rem;
      border: 1px solid var(--border-soft);
      background: var(--card);
      transition: transform 0.2s ease, box-shadow 0.2s ease,
        border-color 0.2s ease;
    }

    .skill-card:hover {
      transform: translateY(-4px);
      box-shadow: 0 18px 40px rgba(15, 23, 42, 0.9);
      border-color: var(--accent-2);
    }

    .skill-card h3 {
      font-size: 1.05rem;
      margin-bottom: 0.7rem;
    }

    .skill-list {
      list-style: none;
    }

    .skill-list li {
      font-size: 0.9rem;
      margin-bottom: 0.35rem;
      position: relative;
      padding-left: 1rem;
    }

    .skill-list li::before {
      content: "•";
      position: absolute;
      left: 0;
      color: var(--accent);
    }

    .highlight {
      border-color: var(--accent-2);
      background: radial-gradient(circle at top left, #064e3b, #020617);
    }

    .highlight .small {
      font-size: 0.85rem;
      color: #d1fae5;
    }

    /* Services (Layanan Favorit) */
    .services-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 1.4rem;
    }

    .service-card {
      border-radius: 1rem;
      padding: 1rem 1.1rem 1.1rem;
      border: 1px solid var(--border-soft);
      background: var(--card);
      transition: transform 0.2s ease, box-shadow 0.2s ease,
        border-color 0.2s ease;
    }

    .service-card:hover {
      transform: translateY(-4px);
      border-color: var(--accent);
      box-shadow: 0 18px 40px rgba(15, 23, 42, 0.9);
    }

    .service-card h3 {
      font-size: 1rem;
      margin-bottom: 0.4rem;
    }

    .service-card p {
      font-size: 0.9rem;
      color: #d1d5db;
    }

    .services-cta {
      text-align: center;
      margin-top: 1.8rem;
    }

    /* Projects */
    .projects-grid {
      display: grid;
      gap: 1.4rem;
      grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .project-card {
      border-radius: 1rem;
      padding: 1rem 1.1rem 1.1rem;
      border: 1px solid rgba(148, 163, 184, 0.4);
      background: var(--card);
      display: flex;
      flex-direction: column;
      gap: 0.7rem;
      transition: transform 0.2s ease, box-shadow 0.2s ease,
        border-color 0.2s ease;
    }

    .project-card:hover {
      transform: translateY(-4px);
      border-color: var(--accent);
      box-shadow: 0 18px 40px rgba(15, 23, 42, 0.9);
    }

    .project-card h3 {
      font-size: 1rem;
    }

    .project-card p {
      font-size: 0.9rem;
      color: #d1d5db;
    }

    .project-tag {
      display: inline-block;
      margin-right: 0.4rem;
      margin-top: 0.2rem;
      font-size: 0.75rem;
      padding: 0.15rem 0.5rem;
      border-radius: 999px;
      background: rgba(15, 23, 42, 0.9);
      border: 1px solid rgba(148, 163, 184, 0.5);
    }

    /* Testimonials */
    .testimonials-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 1.4rem;
    }

    .testimonial-card {
      border-radius: 1rem;
      padding: 1rem 1.1rem 1.1rem;
      border: 1px solid var(--border-soft);
      background: var(--card);
      font-size: 0.9rem;
      display: flex;
      flex-direction: column;
      gap: 0.6rem;
    }

    .testimonial-name {
      font-weight: 600;
      font-size: 0.9rem;
    }

    .testimonial-role {
      font-size: 0.8rem;
      color: var(--text-soft);
    }

    .testimonial-badge {
      font-size: 0.8rem;
      color: #bbf7d0;
    }

    /* Back to top */
    .back-to-top {
      position: fixed;
      right: 1.5rem;
      bottom: 1.5rem;
      width: 2.4rem;
      height: 2.4rem;
      border-radius: 999px;
      border: none;
      background: rgba(15, 23, 42, 0.96);
      border: 1px solid rgba(148, 163, 184, 0.7);
      color: var(--text);
      font-size: 1.1rem;
      cursor: pointer;
      display: none;
      align-items: center;
      justify-content: center;
      box-shadow: 0 10px 30px rgba(15, 23, 42, 0.9);
      z-index: 40;
    }

    .back-to-top.show {
      display: flex;
    }

    /* WhatsApp widget */
    .wa-widget {
      position: fixed;
      right: 1.5rem;
      bottom: 5rem;
      width: 3.2rem;
      height: 3.2rem;
      border-radius: 999px;
      background: #22c55e;
      display: flex;
      align-items: center;
      justify-content: center;
      box-shadow: 0 16px 40px rgba(22, 163, 74, 0.6);
      cursor: pointer;
      z-index: 50;
      border: 2px solid #bbf7d0;
      text-decoration: none;
      touch-action: none;
      animation: waPulse 2.4s ease-in-out infinite;
      user-select: none;
    }

    .wa-widget-icon {
      font-size: 1.7rem;
      color: #f0fdf4;
      pointer-events: none;
    }

    @keyframes waPulse {
      0% { transform: scale(1); }
      50% { transform: scale(1.06); }
      100% { transform: scale(1); }
    }

    /* WhatsApp bubble */
    .wa-bubble {
      position: fixed;
      right: 5.3rem;
      bottom: 5.4rem;
      max-width: 240px;
      background: #0f172a;
      color: #e5e7eb;
      padding: 0.6rem 0.8rem;
      border-radius: 0.9rem;
      font-size: 0.85rem;
      box-shadow: 0 14px 30px rgba(15, 23, 42, 0.9);
      z-index: 49;
      opacity: 0;
      transform: translateY(10px);
      pointer-events: none;
      transition: opacity 0.4s ease, transform 0.4s ease;
      border: 1px solid rgba(148, 163, 184, 0.5);
    }

    .wa-bubble.show {
      opacity: 1;
      transform: translateY(0);
      pointer-events: auto;
    }

    .wa-bubble strong {
      color: #bef264;
    }

    /* Promo popup */
    .promo-popup {
      position: fixed;
      right: 1.5rem;
      bottom: 9rem;
      max-width: 280px;
      background: #020617;
      color: #e5e7eb;
      border-radius: 1rem;
      padding: 0.9rem 1rem 1rem;
      box-shadow: 0 20px 60px rgba(15, 23, 42, 0.95);
      border: 1px solid rgba(148, 163, 184, 0.5);
      z-index: 48;
      opacity: 0;
      transform: translateY(20px);
      pointer-events: none;
      transition: opacity 0.4s ease, transform 0.4s ease;
      font-size: 0.9rem;
    }

    .promo-popup.show {
      opacity: 1;
      transform: translateY(0);
      pointer-events: auto;
    }

    .promo-title {
      font-weight: 600;
      margin-bottom: 0.2rem;
    }

    .promo-sub {
      font-size: 0.8rem;
      color: var(--text-soft);
      margin-bottom: 0.6rem;
    }

    .promo-close {
      position: absolute;
      top: 0.35rem;
      right: 0.6rem;
      background: none;
      border: none;
      color: #9ca3af;
      cursor: pointer;
      font-size: 0.9rem;
    }

    .promo-footer {
      font-size: 0.8rem;
      color: #bbf7d0;
      margin-top: 0.3rem;
    }

    /* Footer */
    .footer {
      border-top: 1px solid rgba(148, 163, 184, 0.35);
      padding: 1rem 0 1.2rem;
      text-align: center;
      font-size: 0.8rem;
      color: var(--text-soft);
    }

    /* Scroll reveal */
    .reveal {
      opacity: 0;
      transform: translateY(20px);
      transition: opacity 0.7s ease, transform 0.7s ease;
    }

    .reveal.visible {
      opacity: 1;
      transform: translateY(0);
    }

    /* LIGHT THEME */
    body.light {
      --bg: #f3f4f6;
      --bg-soft: #ffffff;
      --card: #ffffff;
      --border-soft: #e5e7eb;
      --text: #0f172a;
      --text-soft: #6b7280;
    }

    body.light {
      background: var(--bg);
      color: var(--text);
    }

    body.light .navbar {
      background: rgba(243, 244, 246, 0.96);
      border-bottom-color: #e5e7eb;
    }

    body.light .logo span {
      color: var(--accent-2);
    }

    body.light .nav-links a {
      color: #0f172a;
    }

    body.light .nav-links a:hover {
      color: var(--accent-2);
    }

    body.light .theme-toggle,
    body.light .nav-toggle {
      border-color: #d1d5db;
      color: #111827;
      background: #ffffff;
    }

    body.light .section-alt {
      background: #f3f4f6;
    }

    body.light .section-subtitle {
      color: var(--text-soft);
    }

    body.light .about-card,
    body.light .skill-card,
    body.light .project-card,
    body.light .service-card,
    body.light .testimonial-card,
    body.light .hero-card-inner {
      background: #ffffff;
      border-color: #e5e7eb;
      box-shadow: 0 12px 30px rgba(15, 23, 42, 0.05);
    }

    body.light .hero-card {
      background: linear-gradient(135deg, #e0f2fe, #dcfce7);
      border-color: #bfdbfe;
    }

    body.light .hero-avatar-inner {
      background: #e5e7eb;
    }

    body.light .back-to-top {
      background: #111827;
      color: #f9fafb;
      border-color: #111827;
    }

    body.light .footer {
      border-top-color: #e5e7eb;
      color: #6b7280;
    }

    body.light .section {
      background: #f9fafb;
    }

    body.light .promo-popup {
      background: #ffffff;
      color: #111827;
      border-color: #e5e7eb;
    }

    body.light .wa-bubble {
      background: #ffffff;
      color: #111827;
      border-color: #e5e7eb;
    }

    /* Responsive */
    @media (max-width: 900px) {
      .hero-content {
        grid-template-columns: minmax(0, 1fr);
      }

      .hero-side {
        max-width: 320px;
        margin: 0 auto;
      }

      .about-grid,
      .skills-grid,
      .projects-grid,
      .services-grid,
      .testimonials-grid {
        grid-template-columns: minmax(0, 1fr);
      }

      .skills-grid,
      .projects-grid,
      .services-grid,
      .testimonials-grid {
        gap: 1rem;
      }

      .promo-popup {
        right: 1rem;
        left: 1rem;
        bottom: 8.5rem;
        max-width: none;
      }

      .wa-bubble {
        right: 1rem;
        bottom: 9rem;
        max-width: 220px;
      }
    }

    @media (max-width: 720px) {
      .nav-links {
        position: absolute;
        right: 1rem;
        top: 3.1rem;
        flex-direction: column;
        background: rgba(15, 23, 42, 0.98);
        padding: 0.7rem 1rem;
        border-radius: 0.8rem;
        border: 1px solid rgba(148, 163, 184, 0.4);
        display: none;
      }

      body.light .nav-links {
        background: #ffffff;
        border-color: #e5e7eb;
      }

      .nav-links.show {
        display: flex;
      }

      .nav-toggle {
        display: block;
      }

      .hero {
        padding-top: 3.4rem;
      }
    }