/* ==========================================================================
   CV GENERASI GEMILANG - Official Company Profile Stylesheet
   Color Palette: Deep Purple (Ungu) & Crimson / Dark Wine Red (Merah Tua)
   Tech / App Developer Theme
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Space+Grotesk:wght@500;600;700&display=swap');

/* --- Root Variables & Theme Definition --- */
:root {
  /* Palette: Purple & Deep Red / Crimson */
  --bg-dark: #0a040f;
  --bg-darker: #050208;
  --bg-surface: #14091f;
  --bg-surface-elevated: #1e0d2e;
  --bg-surface-card: rgba(25, 11, 38, 0.75);
  --bg-glass: rgba(255, 255, 255, 0.04);
  --border-glass: rgba(255, 255, 255, 0.09);
  --border-purple: rgba(168, 85, 247, 0.3);
  --border-red: rgba(225, 29, 72, 0.3);

  /* Primary Accent: Royal & Electric Purple */
  --purple-50: #faf5ff;
  --purple-100: #f3e8ff;
  --purple-200: #e9d5ff;
  --purple-300: #d8b4fe;
  --purple-400: #c084fc;
  --purple-500: #a855f7;
  --purple-600: #9333ea;
  --purple-700: #7e22ce;
  --purple-900: #3b0764;

  /* Secondary Accent: Deep Red / Crimson / Wine */
  --red-deep: #4c0715;
  --red-wine: #730d20;
  --red-crimson: #9e112a;
  --red-vivid: #e11d48;
  --red-light: #fda4af;

  /* Gradients */
  --gradient-brand: linear-gradient(135deg, #a855f7 0%, #e11d48 55%, #9333ea 100%);
  --gradient-brand-subtle: linear-gradient(135deg, rgba(168, 85, 247, 0.15) 0%, rgba(225, 29, 72, 0.15) 100%);
  --gradient-card: linear-gradient(145deg, rgba(32, 13, 48, 0.8) 0%, rgba(18, 7, 27, 0.9) 100%);
  --gradient-red-accent: linear-gradient(135deg, #e11d48 0%, #831024 100%);
  --gradient-purple-accent: linear-gradient(135deg, #a855f7 0%, #6b21a8 100%);

  /* Typography Colors */
  --text-main: #ffffff;
  --text-muted: #c9bed8;
  --text-dim: #8e7c9f;
  --text-highlight: #f3e8ff;

  /* Typography Fonts */
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-heading: 'Space Grotesk', var(--font-body);

  /* Shadows */
  --shadow-sm: 0 4px 14px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 8px 28px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 16px 44px rgba(0, 0, 0, 0.65);
  --shadow-glow-purple: 0 0 35px rgba(168, 85, 247, 0.35);
  --shadow-glow-red: 0 0 35px rgba(225, 29, 72, 0.35);

  /* Layout & Animation */
  --max-width: 1200px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --border-radius-sm: 8px;
  --border-radius-md: 14px;
  --border-radius-lg: 22px;
  --border-radius-full: 9999px;
}

/* --- Base & Reset --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.65;
  overflow-x: hidden;
  position: relative;
  background-image: 
    radial-gradient(at 0% 0%, rgba(147, 51, 234, 0.16) 0px, transparent 45%),
    radial-gradient(at 100% 25%, rgba(225, 29, 72, 0.14) 0px, transparent 45%),
    radial-gradient(at 10% 75%, rgba(126, 34, 206, 0.14) 0px, transparent 50%),
    radial-gradient(at 90% 90%, rgba(166, 21, 45, 0.15) 0px, transparent 50%);
}

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

img, svg {
  display: block;
  max-width: 100%;
}

ul {
  list-style: none;
}

button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

/* --- Container & Utilities --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.text-gradient {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline;
}

.section-padding {
  padding: 5.5rem 0;
  position: relative;
}

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

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1.15rem;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--purple-300);
  background: rgba(168, 85, 247, 0.14);
  border: 1px solid rgba(168, 85, 247, 0.35);
  border-radius: var(--border-radius-full);
  margin-bottom: 1.25rem;
  backdrop-filter: blur(8px);
}

.section-badge.red-badge {
  color: var(--red-light);
  background: rgba(225, 29, 72, 0.14);
  border-color: rgba(225, 29, 72, 0.35);
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.8vw, 2.75rem);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 1.15rem;
  letter-spacing: -0.02em;
  word-break: break-word;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* --- Ambient Glow Accents --- */
.ambient-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.55;
}

.glow-purple-top {
  top: 0;
  left: -5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(147, 51, 234, 0.35) 0%, transparent 70%);
}

.glow-red-middle {
  top: 35%;
  right: -5%;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(225, 29, 72, 0.3) 0%, transparent 70%);
}

.glow-purple-bottom {
  bottom: 0;
  left: 15%;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(107, 33, 168, 0.3) 0%, transparent 70%);
}

/* --- Navigation Header --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(10, 4, 15, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(168, 85, 247, 0.2);
  transition: var(--transition);
}

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

/* Brand Logo */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--gradient-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 18px rgba(168, 85, 247, 0.45);
  color: #ffffff;
  flex-shrink: 0;
}

.logo-text-wrapper {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #ffffff;
  line-height: 1.15;
}

.logo-sub {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--red-light);
}

/* Nav Links & Menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.85rem;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
  padding: 0.4rem 0;
}

.nav-link:hover {
  color: #ffffff;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-brand);
  transition: width 0.3s ease;
  border-radius: 2px;
}

.nav-link:hover::after {
  width: 100%;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Mobile Toggle (CSS Checkbox Hack) */
.menu-toggle-checkbox {
  display: none;
}

.menu-toggle-label {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 19px;
  cursor: pointer;
  z-index: 1010;
}

.menu-toggle-label span {
  display: block;
  height: 2.5px;
  width: 100%;
  background-color: #ffffff;
  border-radius: 2px;
  transition: var(--transition);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.85rem 1.75rem;
  font-size: 0.94rem;
  font-weight: 600;
  border-radius: var(--border-radius-full);
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient-brand);
  color: #ffffff;
  box-shadow: 0 6px 22px rgba(168, 85, 247, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(225, 29, 72, 0.5);
  filter: brightness(1.1);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: rgba(168, 85, 247, 0.16);
  border-color: var(--purple-400);
  transform: translateY(-2px);
  color: #ffffff;
}

.btn-red {
  background: var(--gradient-red-accent);
  color: #ffffff;
  box-shadow: 0 6px 22px rgba(225, 29, 72, 0.4);
}

.btn-red:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(225, 29, 72, 0.6);
}

.btn-sm {
  padding: 0.55rem 1.25rem;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 0.95rem 2.15rem;
  font-size: 1.02rem;
}

/* --- Hero Section --- */
.hero-section {
  padding-top: 130px;
  padding-bottom: 60px;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: linear-gradient(90deg, rgba(168, 85, 247, 0.18) 0%, rgba(225, 29, 72, 0.18) 100%);
  border: 1px solid rgba(168, 85, 247, 0.35);
  border-radius: var(--border-radius-full);
  padding: 0.45rem 1.15rem;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--purple-300);
  margin-bottom: 1.5rem;
  max-width: 100%;
}

.hero-tag .pulse-dot {
  width: 8px;
  height: 8px;
  background-color: var(--red-vivid);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--red-vivid);
  animation: pulse 2s infinite;
  flex-shrink: 0;
}

@keyframes pulse {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 4.4vw, 3.5rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.03em;
  margin-bottom: 1.4rem;
  overflow-wrap: break-word;
}

.hero-description {
  font-size: 1.08rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 2.2rem;
  max-width: 580px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-bottom: 2.75rem;
}

.hero-features-list {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  flex-wrap: wrap;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-feature-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.hero-feature-item svg {
  color: var(--purple-400);
  flex-shrink: 0;
}

/* Hero Visual / Mockup Card */
.hero-visual {
  position: relative;
}

.terminal-card {
  background: var(--bg-surface-elevated);
  border: 1px solid rgba(168, 85, 247, 0.35);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg), 0 0 45px rgba(147, 51, 234, 0.22);
  position: relative;
  z-index: 2;
  transition: var(--transition);
}

.terminal-card:hover {
  border-color: rgba(225, 29, 72, 0.55);
  box-shadow: var(--shadow-lg), 0 0 55px rgba(225, 29, 72, 0.28);
}

.terminal-header {
  background: rgba(12, 5, 18, 0.95);
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.terminal-dots {
  display: flex;
  gap: 7px;
}

.terminal-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}

.dot-red { background: #ef4444; }
.dot-yellow { background: #f59e0b; }
.dot-green { background: #10b981; }

.terminal-title {
  font-size: 0.78rem;
  color: var(--text-dim);
  font-family: monospace;
}

.terminal-body {
  padding: 1.5rem;
  font-family: 'Space Grotesk', monospace;
  font-size: 0.86rem;
  line-height: 1.7;
  overflow-x: auto;
}

.code-line {
  margin-bottom: 0.35rem;
  white-space: nowrap;
}

.code-keyword { color: var(--purple-400); }
.code-function { color: #38bdf8; }
.code-string { color: var(--red-light); }
.code-comment { color: #718096; font-style: italic; }
.code-property { color: #fbbf24; }
.code-boolean { color: #34d399; }

/* Floating Badges on Hero Visual */
.floating-stat-badge {
  position: absolute;
  background: rgba(20, 9, 31, 0.92);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(168, 85, 247, 0.4);
  padding: 0.85rem 1.2rem;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 0.85rem;
  z-index: 3;
}

.badge-top-right {
  top: -20px;
  right: -15px;
  border-color: rgba(225, 29, 72, 0.45);
}

.badge-bottom-left {
  bottom: -20px;
  left: -15px;
}

.stat-icon-wrapper {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.stat-purple {
  background: rgba(168, 85, 247, 0.18);
  color: var(--purple-400);
}

.stat-red {
  background: rgba(225, 29, 72, 0.18);
  color: var(--red-vivid);
}

.stat-info-title {
  font-size: 0.72rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.stat-info-val {
  font-size: 1.02rem;
  font-weight: 700;
  color: #ffffff;
}

/* --- Metrics / Stats Section --- */
.stats-banner {
  background: linear-gradient(180deg, rgba(20, 9, 31, 0.7) 0%, rgba(10, 4, 15, 0.95) 100%);
  border-top: 1px solid rgba(168, 85, 247, 0.18);
  border-bottom: 1px solid rgba(225, 29, 72, 0.18);
  padding: 3.25rem 0;
  position: relative;
  z-index: 2;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-card {
  padding: 0.75rem;
  position: relative;
}

.stat-card:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 20%;
  right: 0;
  height: 60%;
  width: 1px;
  background: rgba(255, 255, 255, 0.09);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 3.5vw, 2.9rem);
  font-weight: 800;
  margin-bottom: 0.35rem;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

/* --- About Section --- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-content {
  position: relative;
}

.about-lead {
  font-size: 1.15rem;
  color: #ffffff;
  font-weight: 500;
  margin-bottom: 1.35rem;
  line-height: 1.7;
}

.about-text {
  color: var(--text-muted);
  font-size: 0.98rem;
  margin-bottom: 2rem;
  line-height: 1.8;
}

.about-info-boxes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 2.2rem;
}

.info-box {
  background: var(--gradient-card);
  border: 1px solid rgba(168, 85, 247, 0.22);
  border-radius: var(--border-radius-md);
  padding: 1.25rem;
  transition: var(--transition);
}

.info-box:hover {
  border-color: rgba(225, 29, 72, 0.45);
  transform: translateY(-3px);
}

.info-box-title {
  font-size: 0.78rem;
  color: var(--red-light);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.info-box-desc {
  font-size: 0.96rem;
  font-weight: 600;
  color: #ffffff;
}

/* About Visual Card / Interactive Graphic */
.about-visual {
  position: relative;
}

.about-graphic-card {
  background: var(--gradient-card);
  border: 1px solid rgba(168, 85, 247, 0.25);
  border-radius: var(--border-radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.about-graphic-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(225, 29, 72, 0.25) 0%, transparent 70%);
  pointer-events: none;
}

.pillars-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.pillar-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: rgba(10, 4, 15, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.07);
  padding: 1.2rem;
  border-radius: var(--border-radius-md);
  transition: var(--transition);
}

.pillar-item:hover {
  background: rgba(43, 17, 65, 0.4);
  border-color: rgba(168, 85, 247, 0.45);
  transform: translateX(6px);
}

.pillar-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pillar-icon.purple {
  background: rgba(168, 85, 247, 0.16);
  color: var(--purple-400);
}

.pillar-icon.red {
  background: rgba(225, 29, 72, 0.16);
  color: var(--red-vivid);
}

.pillar-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  color: #ffffff;
}

.pillar-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* --- Services Section --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.service-card {
  background: var(--gradient-card);
  border: 1px solid rgba(168, 85, 247, 0.22);
  border-radius: var(--border-radius-lg);
  padding: 2.25rem;
  transition: var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.55), 0 0 35px rgba(168, 85, 247, 0.25);
  border-color: rgba(225, 29, 72, 0.5);
}

.service-icon-box {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: var(--transition);
}

.service-card:nth-child(odd) .service-icon-box {
  background: rgba(168, 85, 247, 0.16);
  border: 1px solid rgba(168, 85, 247, 0.35);
  color: var(--purple-400);
}

.service-card:nth-child(even) .service-icon-box {
  background: rgba(225, 29, 72, 0.16);
  border: 1px solid rgba(225, 29, 72, 0.35);
  color: var(--red-vivid);
}

.service-card:hover .service-icon-box {
  transform: scale(1.1) rotate(5deg);
}

.service-title {
  font-family: var(--font-heading);
  font-size: 1.32rem;
  font-weight: 700;
  margin-bottom: 0.85rem;
  color: #ffffff;
}

.service-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.service-features-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1.25rem;
}

.service-feature {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.84rem;
  color: var(--text-highlight);
}

.service-feature svg {
  color: var(--red-vivid);
  flex-shrink: 0;
}

/* --- Tech Stack Section --- */
.tech-section {
  background: rgba(14, 6, 21, 0.65);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.tech-category-card {
  background: var(--bg-surface);
  border: 1px solid rgba(168, 85, 247, 0.2);
  border-radius: var(--border-radius-md);
  padding: 1.75rem;
  transition: var(--transition);
}

.tech-category-card:hover {
  border-color: rgba(225, 29, 72, 0.45);
  transform: translateY(-4px);
  background: var(--bg-surface-elevated);
}

.tech-category-title {
  font-family: var(--font-heading);
  font-size: 1.08rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.tech-category-title svg {
  color: var(--purple-400);
}

.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.tech-tag {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.35rem 0.75rem;
  border-radius: var(--border-radius-sm);
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
  transition: var(--transition);
}

.tech-tag:hover {
  background: rgba(168, 85, 247, 0.2);
  color: #ffffff;
  border-color: var(--purple-400);
}

/* --- Portfolio / Showcase Section --- */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
}

.portfolio-card {
  background: var(--gradient-card);
  border: 1px solid rgba(168, 85, 247, 0.22);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.portfolio-card:hover {
  border-color: rgba(225, 29, 72, 0.5);
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6), 0 0 30px rgba(225, 29, 72, 0.25);
}

.portfolio-preview {
  height: 220px;
  background: linear-gradient(135deg, #1b0a26 0%, #320822 100%);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.portfolio-preview::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(rgba(168, 85, 247, 0.22) 1px, transparent 1px);
  background-size: 16px 16px;
  opacity: 0.5;
}

.mockup-window {
  width: 90%;
  max-width: 420px;
  background: rgba(10, 4, 15, 0.95);
  border: 1px solid rgba(168, 85, 247, 0.4);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  padding: 1rem;
  position: relative;
  z-index: 1;
  transform: translateY(10px);
  transition: transform 0.4s ease;
}

.portfolio-card:hover .mockup-window {
  transform: translateY(0) scale(1.03);
}

.mockup-bar {
  display: flex;
  gap: 6px;
  margin-bottom: 0.85rem;
}

.mockup-bar span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
}

.mockup-content {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.mockup-line {
  height: 10px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 4px;
}

.mockup-line.w-80 { width: 80%; }
.mockup-line.w-60 { width: 60%; }
.mockup-line.w-40 { width: 40%; }
.mockup-line.accent { background: var(--gradient-brand); height: 14px; }

.portfolio-body {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.portfolio-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.85rem;
}

.portfolio-category {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--red-light);
}

.portfolio-platform {
  font-size: 0.78rem;
  background: rgba(168, 85, 247, 0.16);
  color: var(--purple-300);
  padding: 0.2rem 0.65rem;
  border-radius: var(--border-radius-full);
}

.portfolio-title {
  font-family: var(--font-heading);
  font-size: 1.32rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: #ffffff;
}

.portfolio-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.portfolio-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.portfolio-tag {
  font-size: 0.75rem;
  padding: 0.25rem 0.65rem;
  border-radius: var(--border-radius-sm);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-dim);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* --- Workflow / Process Section --- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
  position: relative;
}

.process-card {
  background: var(--gradient-card);
  border: 1px solid rgba(168, 85, 247, 0.22);
  border-radius: var(--border-radius-lg);
  padding: 2rem 1.5rem;
  position: relative;
  transition: var(--transition);
}

.process-card:hover {
  border-color: rgba(225, 29, 72, 0.45);
  transform: translateY(-6px);
}

.process-number {
  font-family: var(--font-heading);
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(180deg, rgba(168, 85, 247, 0.45) 0%, rgba(225, 29, 72, 0.15) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1rem;
}

.process-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: #ffffff;
}

.process-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* --- Why Choose Us (Advantages) --- */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.why-card {
  background: var(--bg-surface);
  border: 1px solid rgba(168, 85, 247, 0.22);
  border-radius: var(--border-radius-lg);
  padding: 2.25rem;
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  transition: var(--transition);
}

.why-card:hover {
  border-color: rgba(225, 29, 72, 0.45);
  background: var(--bg-surface-elevated);
  transform: translateY(-4px);
}

.why-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.why-card:nth-child(odd) .why-icon {
  background: rgba(168, 85, 247, 0.16);
  color: var(--purple-400);
  border: 1px solid rgba(168, 85, 247, 0.3);
}

.why-card:nth-child(even) .why-icon {
  background: rgba(225, 29, 72, 0.16);
  color: var(--red-vivid);
  border: 1px solid rgba(225, 29, 72, 0.3);
}

.why-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #ffffff;
}

.why-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* --- Call To Action (CTA) Banner --- */
.cta-section {
  padding: 4rem 0;
}

.cta-box {
  background: linear-gradient(135deg, rgba(50, 6, 85, 0.96) 0%, rgba(95, 11, 28, 0.96) 100%);
  border: 1px solid rgba(225, 29, 72, 0.45);
  border-radius: 28px;
  padding: 4.5rem 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.65), var(--shadow-glow-purple);
}

.cta-box::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.3) 0%, transparent 70%);
  pointer-events: none;
}

.cta-box::after {
  content: '';
  position: absolute;
  bottom: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(225, 29, 72, 0.35) 0%, transparent 70%);
  pointer-events: none;
}

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

.cta-title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 3.8vw, 3rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.25rem;
}

.cta-desc {
  font-size: 1.1rem;
  color: var(--purple-100);
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.cta-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

/* --- Contact Section --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3.5rem;
  align-items: flex-start;
}

.contact-info-panel {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.contact-card-item {
  background: var(--gradient-card);
  border: 1px solid rgba(168, 85, 247, 0.22);
  border-radius: var(--border-radius-md);
  padding: 1.6rem;
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  transition: var(--transition);
}

.contact-card-item:hover {
  border-color: rgba(225, 29, 72, 0.45);
  transform: translateX(6px);
}

.contact-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.icon-purple {
  background: rgba(168, 85, 247, 0.18);
  color: var(--purple-400);
}

.icon-red {
  background: rgba(225, 29, 72, 0.18);
  color: var(--red-vivid);
}

.contact-card-meta {
  display: flex;
  flex-direction: column;
}

.contact-label {
  font-size: 0.8rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.contact-val {
  font-size: 1.05rem;
  font-weight: 600;
  color: #ffffff;
}

.contact-subval {
  font-size: 0.84rem;
  color: var(--text-muted);
  margin-top: 0.15rem;
}

/* Contact Form */
.contact-form-card {
  background: var(--bg-surface-elevated);
  border: 1px solid rgba(168, 85, 247, 0.28);
  border-radius: var(--border-radius-lg);
  padding: 2.75rem;
  box-shadow: var(--shadow-lg);
}

.form-group-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group {
  margin-bottom: 1.4rem;
}

.form-label {
  display: block;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.form-control {
  width: 100%;
  padding: 0.85rem 1.1rem;
  background: rgba(10, 4, 15, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--border-radius-sm);
  color: #ffffff;
  outline: none;
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--purple-400);
  box-shadow: 0 0 14px rgba(168, 85, 247, 0.35);
  background: rgba(18, 7, 27, 0.95);
}

.form-control::placeholder {
  color: #635475;
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

/* --- Footer --- */
.site-footer {
  background: var(--bg-darker);
  border-top: 1px solid rgba(168, 85, 247, 0.18);
  padding: 4.5rem 0 2rem 0;
  position: relative;
  z-index: 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 3.5rem;
  margin-bottom: 3.5rem;
}

.footer-brand-desc {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.7;
  margin-top: 1.25rem;
  margin-bottom: 1.5rem;
  max-width: 340px;
}

.footer-heading {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1.35rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 28px;
  height: 2px;
  background: var(--gradient-brand);
  border-radius: 2px;
}

.footer-links-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-link {
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-link:hover {
  color: var(--purple-300);
  transform: translateX(4px);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-bottom: 0.85rem;
  line-height: 1.5;
}

.footer-contact-item svg {
  color: var(--red-vivid);
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-dim);
  flex-wrap: wrap;
  gap: 1rem;
}

/* Floating WhatsApp Quick Action Button */
.floating-whatsapp {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 58px;
  height: 58px;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
  z-index: 999;
  transition: var(--transition);
}

.floating-whatsapp:hover {
  transform: scale(1.1) translateY(-4px);
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.65);
}

.floating-whatsapp-tooltip {
  position: absolute;
  right: 70px;
  background: var(--bg-surface-elevated);
  color: #ffffff;
  padding: 0.45rem 0.85rem;
  border-radius: var(--border-radius-sm);
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow-md);
}

.floating-whatsapp:hover .floating-whatsapp-tooltip {
  opacity: 1;
  transform: translateX(-4px);
}

/* --- Responsive Media Queries --- */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }

  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-features-list {
    justify-content: center;
  }

  .hero-visual {
    max-width: 560px;
    margin: 0 auto;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

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

  .tech-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {
  .section-padding {
    padding: 3.5rem 0;
  }

  .site-header {
    height: 70px;
  }

  .nav-container {
    height: 70px;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .menu-toggle-label {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background: rgba(10, 4, 15, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(168, 85, 247, 0.25);
    flex-direction: column;
    align-items: flex-start;
    padding: 1.75rem 1.5rem;
    gap: 1.1rem;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transition: all 0.35s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.85);
  }

  .menu-toggle-checkbox:checked ~ .nav-menu {
    max-height: 480px;
    opacity: 1;
    pointer-events: auto;
    overflow-y: auto;
  }

  .menu-toggle-checkbox:checked ~ .menu-toggle-label span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .menu-toggle-checkbox:checked ~ .menu-toggle-label span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle-checkbox:checked ~ .menu-toggle-label span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .nav-link {
    font-size: 1.05rem;
    width: 100%;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .nav-cta {
    display: none;
  }

  .hero-section {
    padding-top: 105px;
    padding-bottom: 40px;
  }

  .hero-tag {
    font-size: 0.78rem;
    padding: 0.35rem 0.85rem;
  }

  .hero-title {
    font-size: clamp(1.8rem, 6vw, 2.4rem);
    line-height: 1.22;
  }

  .hero-description {
    font-size: 0.98rem;
    margin-bottom: 1.75rem;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 0.85rem;
    margin-bottom: 2rem;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-features-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
    width: 100%;
  }

  .stats-banner {
    padding: 2.25rem 0;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }

  .stat-card:not(:last-child)::after {
    display: none;
  }

  .about-graphic-card {
    padding: 1.5rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .service-card {
    padding: 1.75rem;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .tech-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .process-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .why-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .why-card {
    padding: 1.5rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .contact-form-card {
    padding: 1.75rem;
  }

  .form-group-row {
    grid-template-columns: 1fr;
  }

  .cta-box {
    padding: 2.75rem 1.25rem;
  }

  .cta-title {
    font-size: 1.85rem;
  }

  .cta-buttons {
    flex-direction: column;
    width: 100%;
  }

  .cta-buttons .btn {
    width: 100%;
  }

  .floating-stat-badge {
    position: static;
    margin: 0.85rem 0;
    justify-content: center;
  }

  .terminal-body {
    padding: 1.15rem;
    font-size: 0.78rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 0.75rem;
  }

  .floating-whatsapp {
    bottom: 1.25rem;
    right: 1.25rem;
    width: 52px;
    height: 52px;
  }
}
