/* ============================================================
   MASFUAD.MY.ID — MODERN DESIGN SYSTEM & TOKENS
   ============================================================ */

:root {
  /* Dark Canvas Colors */
  --bg-main: #0B0F19;
  --bg-surface: rgba(17, 24, 39, 0.75);
  --bg-surface-hover: rgba(26, 36, 56, 0.9);
  --bg-card: rgba(15, 23, 42, 0.8);
  --bg-glass: rgba(255, 255, 255, 0.03);
  
  /* Borders & Glows */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-card: rgba(255, 255, 255, 0.12);
  --border-glow-primary: rgba(6, 182, 212, 0.35);
  --border-glow-orange: rgba(249, 115, 22, 0.35);

  /* Typography Colors */
  --text-white: #FFFFFF;
  --text-main: #F8FAFC;
  --text-muted: #94A3B8;
  --text-dim: #64748B;

  /* Accent & Gradients */
  --accent-cyan: #06B6D4;
  --accent-blue: #3B82F6;
  --accent-indigo: #6366F1;
  --accent-purple: #A855F7;
  --accent-emerald: #10B981;
  --accent-orange: #F97316;
  --accent-amber: #F59E0B;
  --accent-rose: #F43F5E;

  /* Premium Gradients */
  --grad-primary: linear-gradient(135deg, #06B6D4 0%, #3B82F6 50%, #8B5CF6 100%);
  --grad-orange: linear-gradient(135deg, #F97316 0%, #FB923C 50%, #FBBF24 100%);
  --grad-emerald: linear-gradient(135deg, #10B981 0%, #059669 100%);
  --grad-card: linear-gradient(180deg, rgba(30, 41, 59, 0.5) 0%, rgba(15, 23, 42, 0.8) 100%);

  /* Radius & Shadows */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.25);
  --shadow-card: 0 16px 40px -12px rgba(0, 0, 0, 0.55);
  --shadow-glow-cyan: 0 0 35px rgba(6, 182, 212, 0.25);
  --shadow-glow-orange: 0 0 35px rgba(249, 115, 22, 0.25);

  --transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ============================================================
   RESET & GLOBAL BASE
   ============================================================ */

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.65;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* Ambient Background Light Mesh */
.ambient-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.28;
}

.glow-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #06b6d4 0%, #3b82f6 100%);
  top: -100px;
  right: -100px;
}

.glow-2 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, #f97316 0%, #ec4899 100%);
  top: 35%;
  left: -200px;
}

.glow-3 {
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, #8b5cf6 0%, #3b82f6 100%);
  bottom: -150px;
  right: 10%;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  color: var(--text-white);
  line-height: 1.25;
  letter-spacing: -0.02em;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

/* Gradient Texts */
.gradient-text {
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.gradient-text-alt {
  background: var(--grad-orange);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* ============================================================
   BUTTONS & BADGES
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 13px;
}

.btn-md {
  padding: 12px 22px;
  font-size: 14.5px;
}

.btn-lg {
  padding: 14px 28px;
  font-size: 15.5px;
}

.btn-primary {
  background: var(--grad-primary);
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(6, 182, 212, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(6, 182, 212, 0.55);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-white);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(12px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.22);
  transform: translateY(-2px);
}

.btn-glass {
  background: rgba(15, 23, 42, 0.65);
  color: var(--text-main);
  border: 1px solid var(--border-card);
  backdrop-filter: blur(14px);
}

.btn-glass:hover {
  background: rgba(30, 41, 59, 0.85);
  border-color: var(--accent-cyan);
  color: var(--text-white);
  transform: translateY(-2px);
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-emerald { background: rgba(16, 185, 129, 0.15); border: 1px solid rgba(16, 185, 129, 0.35); color: #34D399; }
.badge-orange { background: rgba(249, 115, 22, 0.15); border: 1px solid rgba(249, 115, 22, 0.35); color: #FB923C; }
.badge-cyan { background: rgba(6, 182, 212, 0.15); border: 1px solid rgba(6, 182, 212, 0.35); color: #38BDF8; }
.badge-purple { background: rgba(168, 85, 247, 0.15); border: 1px solid rgba(168, 85, 247, 0.35); color: #C084FC; }
.badge-rose { background: rgba(244, 63, 94, 0.15); border: 1px solid rgba(244, 63, 94, 0.35); color: #FB7185; }
.badge-blue { background: rgba(59, 130, 246, 0.15); border: 1px solid rgba(59, 130, 246, 0.35); color: #60A5FA; }

/* Section Header Styles */
.section {
  padding: 90px 0;
  position: relative;
}

.section-dark {
  background: rgba(8, 12, 20, 0.5);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 55px;
}

.section-pill {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--accent-cyan);
  background: rgba(6, 182, 212, 0.1);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(6, 182, 212, 0.25);
  margin-bottom: 14px;
}

.section-title {
  font-size: 38px;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ============================================================
   NAVBAR
   ============================================================ */

.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 16px 0;
  background: rgba(11, 15, 25, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  transition: var(--transition);
}

.navbar.scrolled {
  padding: 12px 0;
  background: rgba(11, 15, 25, 0.95);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.8);
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-badge {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--grad-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Outfit', sans-serif;
  font-weight: 900;
  color: #fff;
  font-size: 16px;
  box-shadow: 0 4px 14px rgba(6, 182, 212, 0.4);
}

.brand-name {
  font-family: 'Outfit', sans-serif;
  font-size: 19px;
  font-weight: 800;
  color: #ffffff;
}

.brand-dot {
  color: var(--accent-cyan);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link:hover {
  color: var(--text-white);
}

.nav-count {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: var(--radius-full);
  background: rgba(6, 182, 212, 0.2);
  color: var(--accent-cyan);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hamburger-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.hamburger-btn span {
  width: 24px;
  height: 2px;
  background-color: var(--text-white);
  transition: var(--transition);
}

/* ============================================================
   HERO SECTION
   ============================================================ */

.hero-section {
  padding: 90px 0 70px;
  position: relative;
  text-align: center;
}

.hero-content {
  max-width: 980px;
  margin: 0 auto;
}

.hero-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  color: #34D399;
  margin-bottom: 24px;
}

.status-indicator {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background-color: #10B981;
  box-shadow: 0 0 10px #10B981;
  animation: pulseGlow 2s infinite;
}

@keyframes pulseGlow {
  0% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.3); }
  100% { opacity: 1; transform: scale(1); }
}

.hero-headline {
  font-size: 52px;
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 24px;
}

.hero-subtext {
  font-size: 17.5px;
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 820px;
  margin: 0 auto 38px;
}

.hero-subtext strong, .hero-subtext em {
  color: var(--text-main);
  font-style: normal;
  font-weight: 600;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 60px;
}

.hero-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  padding: 24px;
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-card);
  text-align: left;
}

.stat-card {
  display: flex;
  align-items: center;
  gap: 14px;
}

.stat-card:not(:last-child) {
  border-right: 1px solid var(--border-subtle);
  padding-right: 14px;
}

.stat-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(6, 182, 212, 0.12);
  border: 1px solid rgba(6, 182, 212, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.stat-number {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-size: 24px;
  font-weight: 800;
  color: var(--text-white);
  line-height: 1.1;
}

.stat-label {
  font-size: 12.5px;
  color: var(--text-muted);
  font-weight: 500;
}

/* ============================================================
   FEATURED BIG PROJECTS SECTION
   ============================================================ */

.projects-stack {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.project-featured-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  padding: 38px;
  backdrop-filter: blur(18px);
  position: relative;
  transition: var(--transition);
}

.project-featured-card:hover {
  border-color: var(--border-glow-primary);
  box-shadow: var(--shadow-glow-cyan);
}

.project-badge-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}

.project-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  align-items: center;
}

.project-grid.reverse {
  grid-template-columns: 0.85fr 1.15fr;
}

.project-info {
  display: flex;
  flex-direction: column;
}

.project-title {
  font-size: 26px;
  margin-bottom: 14px;
}

.project-desc {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 22px;
}

.project-highlights {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  color: var(--text-main);
  line-height: 1.5;
}

.check-icon {
  color: var(--accent-emerald);
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 1px;
}

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

.tech-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11.5px;
  padding: 4px 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: #CBD5E1;
}

.project-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

/* Mockup Windows */
.mockup-window {
  background: rgba(10, 15, 26, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

.mockup-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.dot-red { background: #EF4444; }
.dot-yellow { background: #F59E0B; }
.dot-green { background: #10B981; }

.mockup-url {
  margin-left: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--text-dim);
}

.mockup-screen-preview {
  padding: 20px;
  min-height: 220px;
}

/* Mini Previews Inside Mockups */
.preview-mini-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.preview-mini-logo {
  font-weight: 700;
  font-size: 13.5px;
  color: #fff;
}

.preview-mini-badge {
  font-size: 10.5px;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(16, 185, 129, 0.2);
  color: #34D399;
  font-weight: 600;
}

.preview-cpt-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}

.cpt-chip {
  font-size: 11px;
  padding: 4px 8px;
  border-radius: 6px;
  background: rgba(249, 115, 22, 0.12);
  border: 1px solid rgba(249, 115, 22, 0.25);
  color: #FB923C;
}

.preview-mini-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.04);
  padding: 12px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.doctor-avatar {
  font-size: 24px;
}

.doctor-text .doc-name {
  font-size: 12px;
  font-weight: 600;
  color: #fff;
}

.doctor-text .doc-time {
  font-size: 10.5px;
  color: var(--text-muted);
}

.doc-btn {
  margin-left: auto;
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 6px;
  background: #10B981;
  color: #fff;
  font-weight: 700;
}

/* PWA Preview inside Mockup */
.pwa-preview-box {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pwa-header {
  display: flex;
  align-items: center;
  gap: 10px;
}

.pwa-user-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(6, 182, 212, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.pwa-user-name {
  font-size: 12px;
  font-weight: 700;
  color: #fff;
}

.pwa-user-role {
  font-size: 10.5px;
  color: var(--text-dim);
}

.pwa-clock-box {
  background: rgba(0, 0, 0, 0.35);
  padding: 10px;
  border-radius: 8px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.pwa-time {
  font-family: 'JetBrains Mono', monospace;
  font-size: 16px;
  font-weight: 700;
  color: var(--accent-cyan);
}

.pwa-status-tag {
  font-size: 10.5px;
  color: #34D399;
}

.pwa-action-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.pwa-tile {
  background: rgba(255, 255, 255, 0.05);
  padding: 8px;
  border-radius: 6px;
  font-size: 11px;
  text-align: center;
  color: #CBD5E1;
  font-weight: 600;
}

/* KPU Preview */
.kpu-preview-header {
  margin-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 8px;
}

.kpu-title {
  font-size: 12.5px;
  font-weight: 800;
  color: #FB7185;
}

.kpu-subtitle {
  font-size: 10.5px;
  color: var(--text-muted);
}

.kpu-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 12px;
}

.kpu-stat-mini {
  background: rgba(0, 0, 0, 0.3);
  padding: 8px;
  border-radius: 6px;
  text-align: center;
}

.kpu-num {
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
}

.kpu-lbl {
  font-size: 9.5px;
  color: var(--text-dim);
}

.kpu-search-box {
  background: rgba(255, 255, 255, 0.04);
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 11px;
  color: var(--text-dim);
  border: 1px dashed rgba(255, 255, 255, 0.15);
}

/* ============================================================
   TELEGRAM BOTS SUITE SHOWCASE (12 BOTS)
   ============================================================ */

.filter-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
}

.filter-tabs {
  display: inline-flex;
  background: rgba(15, 23, 42, 0.8);
  padding: 6px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-card);
  gap: 4px;
}

.filter-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  padding: 8px 20px;
  border-radius: var(--radius-full);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn.active {
  background: var(--grad-primary);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(6, 182, 212, 0.35);
}

.filter-btn:hover:not(.active) {
  color: var(--text-white);
  background: rgba(255, 255, 255, 0.05);
}

.bots-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.bot-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.bot-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--grad-primary);
  opacity: 0;
  transition: var(--transition);
}

.bot-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-glow-primary);
  box-shadow: var(--shadow-glow-cyan);
  background: var(--bg-surface-hover);
}

.bot-card:hover::before {
  opacity: 1;
}

.bot-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
}

.bot-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(6, 182, 212, 0.12);
  border: 1px solid rgba(6, 182, 212, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.bot-meta {
  display: flex;
  align-items: center;
  gap: 8px;
}

.bot-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--text-dim);
  font-weight: 600;
}

.bot-title {
  font-size: 20px;
  margin-bottom: 4px;
}

.bot-username {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12.5px;
  color: var(--accent-cyan);
  margin-bottom: 12px;
  display: inline-block;
}

.bot-desc {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 18px;
  flex-grow: 1;
}

.bot-features-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: rgba(0, 0, 0, 0.25);
  padding: 12px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  color: #CBD5E1;
  margin-bottom: 20px;
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.bot-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
}

/* Custom Bot Banner */
.custom-bot-banner {
  background: linear-gradient(135deg, rgba(30, 58, 138, 0.4) 0%, rgba(6, 182, 212, 0.15) 100%);
  border: 1px solid var(--border-glow-primary);
  border-radius: var(--radius-xl);
  padding: 36px 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  box-shadow: var(--shadow-glow-cyan);
}

.banner-content h3 {
  font-size: 24px;
  margin-bottom: 8px;
}

.banner-content p {
  font-size: 14.5px;
  color: var(--text-muted);
  max-width: 680px;
}

/* ============================================================
   SERVICES SECTION
   ============================================================ */

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  padding: 36px;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: var(--shadow-card);
  background: var(--bg-surface-hover);
}

.service-icon-box {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 22px;
}

.icon-cyan { background: rgba(6, 182, 212, 0.15); border: 1px solid rgba(6, 182, 212, 0.3); }
.icon-orange { background: rgba(249, 115, 22, 0.15); border: 1px solid rgba(249, 115, 22, 0.3); }
.icon-emerald { background: rgba(16, 185, 129, 0.15); border: 1px solid rgba(16, 185, 129, 0.3); }
.icon-purple { background: rgba(168, 85, 247, 0.15); border: 1px solid rgba(168, 85, 247, 0.3); }

.service-title {
  font-size: 22px;
  margin-bottom: 12px;
}

.service-desc {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 20px;
}

.service-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: auto;
  border-top: 1px solid var(--border-subtle);
  padding-top: 16px;
}

.service-bullets li {
  font-size: 13px;
  color: #CBD5E1;
  display: flex;
  align-items: center;
  gap: 8px;
}

.service-bullets li::before {
  content: '▸';
  color: var(--accent-cyan);
  font-weight: bold;
}

/* ============================================================
   ABOUT & MINDSET SECTION
   ============================================================ */

.about-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  align-items: start;
}

.about-card-main, .about-card-side {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  padding: 38px;
  backdrop-filter: blur(18px);
}

.about-heading {
  font-size: 30px;
  margin-bottom: 20px;
}

.about-text {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 18px;
}

.education-pills {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 28px;
  border-top: 1px solid var(--border-subtle);
  padding-top: 24px;
}

.edu-item {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(255, 255, 255, 0.03);
  padding: 14px 18px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
}

.edu-year {
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  font-weight: 700;
  color: var(--accent-cyan);
  background: rgba(6, 182, 212, 0.15);
  padding: 4px 10px;
  border-radius: 6px;
}

.edu-info strong {
  display: block;
  font-size: 14px;
  color: var(--text-white);
}

.edu-info span {
  font-size: 12px;
  color: var(--text-muted);
}

.side-title {
  font-size: 20px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 12px;
}

.skills-cluster {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.cat-name {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-dim);
  display: block;
  margin-bottom: 10px;
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.skill-tags span {
  font-size: 12.5px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  transition: var(--transition);
}

.skill-tags span:hover {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  background: rgba(6, 182, 212, 0.1);
}

/* ============================================================
   WORK EXPERIENCE TIMELINE
   ============================================================ */

.timeline {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  padding-left: 36px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 11px;
  top: 10px;
  bottom: 10px;
  width: 2px;
  background: linear-gradient(180deg, var(--accent-cyan) 0%, var(--accent-purple) 50%, rgba(255, 255, 255, 0.1) 100%);
}

.timeline-item {
  position: relative;
  margin-bottom: 32px;
}

.timeline-dot {
  position: absolute;
  left: -36px;
  top: 6px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--bg-main);
  border: 3px solid var(--accent-cyan);
  box-shadow: 0 0 12px var(--accent-cyan);
}

.timeline-content {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 26px;
  backdrop-filter: blur(14px);
  transition: var(--transition);
}

.timeline-content:hover {
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateX(4px);
}

.timeline-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  flex-wrap: wrap;
  gap: 8px;
}

.timeline-role {
  font-size: 19px;
}

.timeline-badge {
  font-size: 11.5px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  background: rgba(6, 182, 212, 0.15);
  color: var(--accent-cyan);
}

.timeline-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 16px;
}

.timeline-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.timeline-tags span {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.3);
  color: #94A3B8;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

/* ============================================================
   CONTACT SECTION
   ============================================================ */

.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  padding: 50px;
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(20px);
}

.contact-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 44px;
}

.contact-title {
  font-size: 34px;
  margin-bottom: 12px;
}

.contact-subtitle {
  font-size: 15px;
  color: var(--text-muted);
}

.contact-methods-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 36px;
}

.contact-tile {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: var(--transition);
  cursor: pointer;
}

.contact-tile:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-3px);
}

.highlight-tile {
  background: rgba(16, 185, 129, 0.08);
  border-color: rgba(16, 185, 129, 0.3);
}

.highlight-tile:hover {
  border-color: #10B981;
  box-shadow: 0 0 25px rgba(16, 185, 129, 0.25);
}

.tile-icon-circle {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.wa-icon { background: rgba(16, 185, 129, 0.2); }
.tg-icon { background: rgba(6, 182, 212, 0.2); }
.mail-icon { background: rgba(249, 115, 22, 0.2); }
.cv-icon { background: rgba(168, 85, 247, 0.2); }

.tile-details {
  flex-grow: 1;
}

.tile-label {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
}

.tile-val {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-white);
}

.tile-arrow {
  font-size: 18px;
  color: var(--text-dim);
  transition: var(--transition);
}

.contact-tile:hover .tile-arrow {
  color: var(--text-white);
  transform: translateX(4px);
}

.tile-copy-badge {
  font-size: 11.5px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.08);
  color: var(--accent-cyan);
}

.personal-bot-box {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 20px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.pbot-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.pbot-icon {
  font-size: 28px;
}

.pbot-left strong {
  display: block;
  font-size: 15px;
  color: #fff;
}

.pbot-left p {
  font-size: 13px;
  color: var(--text-muted);
}

/* ============================================================
   FOOTER
   ============================================================ */

.footer {
  border-top: 1px solid var(--border-subtle);
  padding: 40px 0;
  background: rgba(8, 12, 20, 0.95);
  font-size: 13.5px;
  color: var(--text-muted);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: var(--text-white);
}

.footer-copy strong {
  color: var(--text-white);
}

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

/* ============================================================
   MODAL POPUP (STUDI KASUS & ARSITEKTUR)
   ============================================================ */

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(12px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  display: flex;
  opacity: 1;
}

.modal-card {
  background: #0F172A;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  max-width: 820px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 38px;
  position: relative;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8);
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.modal-overlay.active .modal-card {
  transform: translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 24px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: var(--text-white);
  font-size: 26px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.modal-close-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

.modal-body h3 {
  font-size: 26px;
  margin-bottom: 12px;
}

.modal-body p {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 20px;
}

.modal-matrix-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 20px 0;
}

.matrix-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px;
}

.matrix-box h5 {
  font-size: 15px;
  margin-bottom: 6px;
  color: var(--accent-cyan);
}

.matrix-box p {
  font-size: 12.5px;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* ============================================================
   TOAST NOTIFICATION
   ============================================================ */

.toast {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #10B981;
  color: #fff;
  font-size: 13.5px;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 25px rgba(16, 185, 129, 0.4);
  z-index: 3000;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: all 0.3s ease;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   RESPONSIVE MEDIA QUERIES
   ============================================================ */

@media (max-width: 1024px) {
  .hero-headline { font-size: 42px; }
  .hero-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-card:nth-child(2) { border-right: none; }
  .project-grid, .project-grid.reverse { grid-template-columns: 1fr; gap: 28px; }
  .bots-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .hamburger-btn { display: flex; }
  
  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(11, 15, 25, 0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-subtle);
    flex-direction: column;
    padding: 24px;
    gap: 18px;
    display: none;
  }

  .nav-menu.active {
    display: flex;
  }

  .hero-headline { font-size: 32px; }
  .hero-subtext { font-size: 15px; }
  .hero-stats-grid { grid-template-columns: 1fr; }
  .stat-card { border-right: none !important; border-bottom: 1px solid var(--border-subtle); padding-bottom: 12px; }
  .stat-card:last-child { border-bottom: none; }

  .bots-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .contact-methods-grid { grid-template-columns: 1fr; }
  .modal-matrix-grid { grid-template-columns: 1fr; }

  .custom-bot-banner { flex-direction: column; text-align: center; padding: 28px; }
  .personal-bot-box { flex-direction: column; text-align: center; }
  .pbot-left { flex-direction: column; }
}
