/* ==========================================================================
   OSCAR TECH - CORPORATE AGENCY DESIGN SYSTEM
   Inspired by Latitude Innovation (Modern, Clean, High-Conversion Malaysian Web Style)
   Palette: Royal Blue (#2e3690), Gradient Pink-Purple (#b36bff -> #ff3b82), Clean White
   ========================================================================== */

:root {
  /* Brand Primary Colors */
  --color-primary: #2e3690;
  --color-primary-dark: #1f2566;
  --color-primary-light: #444fb8;
  --color-secondary: #0a2342;
  --color-accent-pink: #ff3b82;
  --color-accent-purple: #b36bff;
  --color-accent-hover: #d41c5c;
  --color-emerald: #10b981;
  --color-amber: #f59e0b;

  /* Gradients */
  --grad-pink-purple: linear-gradient(90deg, #b36bff 0%, #ff3b82 100%);
  --grad-blue-purple: linear-gradient(135deg, #2e3690 0%, #7c3aed 100%);
  --grad-soft-bg: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  --grad-hero-glow: radial-gradient(circle at 75% 20%, rgba(179, 107, 255, 0.12) 0%, rgba(255, 59, 130, 0.06) 40%, transparent 70%);

  /* Backgrounds */
  --bg-body: #ffffff;
  --bg-alt: #f8fafc;
  --bg-card: #ffffff;
  --bg-card-hover: #ffffff;
  --bg-section-accent: #f0f4ff;
  --bg-input: #ffffff;

  /* Text Colors */
  --text-heading: #0a2342;
  --text-body: #4b5563;
  --text-muted: #6b7280;
  --text-light: #9ca3af;
  --text-white: #ffffff;

  /* Borders & Shadows */
  --border-light: #e5e7eb;
  --border-subtle: #f1f5f9;
  --border-focus: #2e3690;
  --shadow-sm: 0 2px 6px rgba(10, 35, 66, 0.04);
  --shadow-card: 0 10px 30px rgba(10, 35, 66, 0.06);
  --shadow-card-hover: 0 20px 40px rgba(46, 54, 144, 0.12);
  --shadow-button: 0 4px 14px rgba(46, 54, 144, 0.25);
  --shadow-pink: 0 4px 14px rgba(255, 59, 130, 0.3);

  /* Fonts */
  --font-main: 'Roboto', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-heading: 'Roboto', 'Outfit', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Sizing & Radii */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-full: 9999px;
  --header-height: 80px;

  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 20px);
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-body);
  color: var(--text-body);
  line-height: 1.65;
  overflow-x: hidden;
  position: relative;
}

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

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Signature Latitude Innovation Gradient Text */
.gradient-text {
  background: var(--grad-pink-purple);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 26px;
  border-radius: var(--radius-sm);
  font-weight: 500;
  font-size: 0.95rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--color-primary);
  color: #ffffff;
  box-shadow: var(--shadow-button);
}

.btn-primary:hover {
  background-color: var(--color-accent-hover);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-pink);
}

.btn-outline {
  background-color: transparent;
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
  font-weight: 600;
}

.btn-outline:hover {
  background-color: var(--color-accent-hover);
  border-color: var(--color-accent-hover);
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: #f1f5f9;
  color: var(--color-secondary);
  border: 1px solid var(--border-light);
}

.btn-secondary:hover {
  background-color: #e2e8f0;
  color: var(--color-primary);
}

.btn-whatsapp {
  background-color: #25d366;
  color: #ffffff;
  font-weight: 600;
}

.btn-whatsapp:hover {
  background-color: #1eb956;
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-lg {
  padding: 14px 30px;
  font-size: 1.02rem;
}

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

.btn-block {
  width: 100%;
}

/* ==========================================================================
   Top Bar & Header
   ========================================================================== */
.top-bar {
  background-color: #f8fafc;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.82rem;
  padding: 8px 0;
  color: var(--text-muted);
}

.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.top-bar-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.top-bar-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.top-bar-item i {
  color: var(--color-primary);
}

.top-bar-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.top-social-link {
  color: var(--text-muted);
  font-size: 0.95rem;
  transition: color var(--transition-fast);
}

.top-social-link:hover {
  color: var(--color-primary);
}

/* Main Site Header */
.site-header {
  position: sticky;
  top: 0;
  height: var(--header-height);
  background-color: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  z-index: 1000;
  box-shadow: var(--shadow-sm);
}

.header-container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.logo-badge {
  width: 44px;
  height: 44px;
  background: var(--color-primary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.3rem;
  box-shadow: 0 4px 12px rgba(46, 54, 144, 0.25);
}

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

.logo-main-text {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--color-secondary);
  line-height: 1.1;
  letter-spacing: -0.5px;
}

.logo-main-text span {
  color: var(--color-primary);
}

.logo-sub-text {
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

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

.nav-link {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--color-secondary);
  position: relative;
  padding: 6px 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--color-accent-hover);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--grad-pink-purple);
  transition: width var(--transition-smooth);
}

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

.nav-badge-pill {
  font-size: 0.65rem;
  padding: 2px 6px;
  border-radius: var(--radius-full);
  background: var(--color-accent-pink);
  color: #ffffff;
  font-weight: 700;
  margin-left: 4px;
  vertical-align: middle;
}

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

.mobile-toggle-btn {
  display: none;
  background: none;
  border: none;
  color: var(--color-secondary);
  font-size: 1.4rem;
  cursor: pointer;
}

/* ==========================================================================
   Hero Section (Inspired by Latitude Innovation)
   ========================================================================== */
.hero-section {
  position: relative;
  padding: 70px 0 85px;
  background: var(--grad-soft-bg);
  background-image: var(--grad-hero-glow);
  overflow: hidden;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 50px;
}

.hero-notice-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  background-color: #ffffff;
  border: 1px solid #e0e7ff;
  color: var(--color-primary);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 22px;
  box-shadow: var(--shadow-sm);
}

.hero-notice-pill i {
  color: var(--color-accent-pink);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 3.1rem;
  font-weight: 800;
  color: var(--color-secondary);
  line-height: 1.22;
  letter-spacing: -0.5px;
  margin-bottom: 20px;
}

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

.hero-btn-group {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.hero-trust-bar {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 0.86rem;
  color: var(--text-body);
  border-top: 1px solid var(--border-light);
  padding-top: 20px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
}

.trust-item i {
  color: var(--color-emerald);
}

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

.hero-card-featured {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 12px;
  box-shadow: var(--shadow-card-hover);
  border: 1px solid var(--border-light);
  position: relative;
}

.hero-card-image {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 16 / 10;
}

.hero-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.hero-card-featured:hover .hero-card-image img {
  transform: scale(1.03);
}

/* Floating overlay cards */
.hero-badge-overlay {
  position: absolute;
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 12px 18px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--border-light);
  animation: floatOverlay 3.5s ease-in-out infinite alternate;
}

.overlay-bottom {
  bottom: -20px;
  left: -20px;
}

.overlay-top {
  top: -15px;
  right: -15px;
  animation-delay: 1.8s;
}

@keyframes floatOverlay {
  0% { transform: translateY(0); }
  100% { transform: translateY(-8px); }
}

.overlay-icon {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: rgba(46, 54, 144, 0.1);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.overlay-text strong {
  display: block;
  font-size: 0.88rem;
  color: var(--color-secondary);
}

.overlay-text span {
  font-size: 0.74rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Section Common Styles
   ========================================================================== */
.section {
  padding: 85px 0;
  position: relative;
}

.section-alt {
  background-color: var(--bg-alt);
}

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

.section-eyebrow {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.3rem;
  font-weight: 800;
  color: var(--color-secondary);
  line-height: 1.3;
  margin-bottom: 14px;
}

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

/* ==========================================================================
   Latitude Innovation Style: 5-Step Process Flow
   ========================================================================== */
.process-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.process-step-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 24px 18px;
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: all var(--transition-fast);
  display: flex;
  flex-direction: column;
}

.process-step-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-primary);
  box-shadow: var(--shadow-card);
}

.step-num-badge {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #ffffff;
  font-weight: 800;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  box-shadow: 0 4px 10px rgba(46, 54, 144, 0.2);
}

.process-step-card:hover .step-num-badge {
  background: var(--color-accent-hover);
}

.step-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-secondary);
  margin-bottom: 8px;
  line-height: 1.35;
}

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

/* ==========================================================================
   Services Grid (Clean White Corporate Cards)
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 30px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: var(--color-primary);
  box-shadow: var(--shadow-card-hover);
}

.service-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(46, 54, 144, 0.08);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 20px;
  transition: all var(--transition-fast);
}

.service-card:hover .service-icon-box {
  background: var(--color-primary);
  color: #ffffff;
}

.service-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  background: #f1f5f9;
  color: var(--color-primary);
  text-transform: uppercase;
  margin-bottom: 10px;
}

.service-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-secondary);
  margin-bottom: 12px;
}

.service-desc {
  font-size: 0.92rem;
  color: var(--text-body);
  line-height: 1.6;
  margin-bottom: 20px;
}

.service-checklist {
  list-style: none;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.service-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.service-checklist i {
  color: var(--color-emerald);
  margin-top: 3px;
}

.service-footer {
  margin-top: auto;
  border-top: 1px solid var(--border-light);
  padding-top: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.price-box {
  display: flex;
  flex-direction: column;
}

.price-label {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.price-val {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--color-primary);
}

.price-val small {
  font-size: 0.75rem;
  font-weight: normal;
  color: var(--text-muted);
}

/* ==========================================================================
   Interactive Diagnostics Wizard (Clean Corporate Card Version)
   ========================================================================== */
.diag-wizard-card {
  max-width: 900px;
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-card-hover);
}

.wizard-header {
  margin-bottom: 28px;
}

.wizard-progress-track {
  height: 6px;
  background: #e2e8f0;
  border-radius: var(--radius-full);
  overflow: hidden;
  margin-bottom: 12px;
}

.wizard-progress-fill {
  height: 100%;
  background: var(--grad-pink-purple);
  border-radius: var(--radius-full);
  transition: width 0.35s ease;
}

.wizard-step-labels {
  display: flex;
  justify-content: space-between;
}

.step-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
}

.step-label.active {
  color: var(--color-primary);
}

.step-label.completed {
  color: var(--color-emerald);
}

.wizard-view {
  display: none;
  animation: fadeIn 0.3s ease;
}

.wizard-view.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.wizard-question-title {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--color-secondary);
  margin-bottom: 6px;
}

.wizard-question-subtitle {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

/* Symptoms Grid */
.symptom-category-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.symptom-cat-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  text-align: left;
  cursor: pointer;
  transition: all var(--transition-fast);
  color: inherit;
  width: 100%;
  box-shadow: var(--shadow-sm);
}

.symptom-cat-card:hover {
  border-color: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}

.cat-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.cat-red { background: #fee2e2; color: #ef4444; }
.cat-yellow { background: #fef3c7; color: #d97706; }
.cat-blue { background: #dbeafe; color: #2563eb; }
.cat-orange { background: #ffedd5; color: #ea580c; }
.cat-cyan { background: #cffafe; color: #0891b2; }
.cat-purple { background: #f3e8ff; color: #9333ea; }

.cat-info h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-secondary);
  margin-bottom: 3px;
}

.cat-info p {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.35;
}

.cat-arrow {
  margin-left: auto;
  color: var(--text-light);
  font-size: 0.88rem;
}

.symptom-cat-card:hover .cat-arrow {
  color: var(--color-primary);
  transform: translateX(3px);
}

/* Question Option Buttons */
.options-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.diag-option-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: #f8fafc;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  color: var(--color-secondary);
  cursor: pointer;
  text-align: left;
  transition: all var(--transition-fast);
}

.diag-option-btn:hover {
  background: #ffffff;
  border-color: var(--color-primary);
  box-shadow: var(--shadow-sm);
  transform: translateX(4px);
}

.option-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.option-radio-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid var(--text-light);
}

.diag-option-btn:hover .option-radio-dot {
  border-color: var(--color-primary);
}

.option-text-main {
  font-size: 0.95rem;
  font-weight: 500;
}

.wizard-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-light);
  padding-top: 18px;
}

/* Diagnosis Result */
.diag-result-card {
  background: #f8fafc;
  border: 1px solid #e0e7ff;
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 24px;
}

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

.result-headline {
  display: flex;
  align-items: center;
  gap: 12px;
}

.result-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--color-primary);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.result-headline h4 {
  font-family: var(--font-heading);
  font-size: 1.28rem;
  font-weight: 700;
  color: var(--color-secondary);
}

.confidence-badge {
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  background: #ecfdf5;
  color: var(--color-emerald);
  border: 1px solid #a7f3d0;
}

.result-analysis-box {
  background: #ffffff;
  border-radius: var(--radius-sm);
  padding: 16px;
  margin-bottom: 18px;
  line-height: 1.6;
  font-size: 0.92rem;
  border: 1px solid var(--border-light);
}

.result-sections-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.result-sec-block {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 16px;
}

.result-sec-block h5 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.result-sec-block ul {
  list-style: none;
  font-size: 0.84rem;
  color: var(--text-body);
}

.result-sec-block ul li {
  position: relative;
  padding-left: 14px;
  margin-bottom: 6px;
}

.result-sec-block ul li::before {
  content: '•';
  position: absolute;
  left: 2px;
  color: var(--color-primary);
  font-weight: bold;
}

.diag-result-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

/* ==========================================================================
   Pricing Packages (Inspired by Latitude Innovation Pricing)
   ========================================================================== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.pricing-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all var(--transition-smooth);
}

.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
}

.pricing-card.featured {
  border: 2px solid var(--color-primary);
  position: relative;
}

.pricing-badge-popular {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--grad-pink-purple);
  color: #ffffff;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  letter-spacing: 0.5px;
}

.pricing-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-secondary);
  margin-bottom: 8px;
}

.pricing-sub {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.pricing-price-wrap {
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-light);
}

.pricing-price-val {
  font-family: var(--font-heading);
  font-size: 2.3rem;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1;
}

.pricing-price-val small {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: normal;
}

.pricing-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 0.88rem;
  color: var(--text-body);
  margin-bottom: 30px;
}

.pricing-features-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.pricing-features-list i {
  color: var(--color-emerald);
  margin-top: 4px;
}

.pricing-card .btn {
  margin-top: auto;
}

/* ==========================================================================
   Tech Blog & Insights (Latitude Innovation Style)
   ========================================================================== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.blog-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 26px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  transition: all var(--transition-smooth);
}

.blog-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-primary);
  box-shadow: var(--shadow-card-hover);
}

.blog-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.blog-badge {
  font-size: 0.74rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  background: rgba(46, 54, 144, 0.08);
  color: var(--color-primary);
}

.reading-time {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.blog-title {
  font-family: var(--font-heading);
  font-size: 1.22rem;
  font-weight: 700;
  color: var(--color-secondary);
  line-height: 1.4;
  margin-bottom: 12px;
}

.blog-title a:hover {
  color: var(--color-accent-hover);
}

.blog-excerpt {
  font-size: 0.9rem;
  color: var(--text-body);
  line-height: 1.6;
  margin-bottom: 16px;
}

.blog-code-snippet {
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  margin-bottom: 18px;
  overflow-x: auto;
}

.blog-code-snippet code {
  font-size: 0.8rem;
  color: var(--color-primary);
}

.blog-card-footer {
  margin-top: auto;
  border-top: 1px solid var(--border-light);
  padding-top: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.author-info {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.btn-read-more {
  background: none;
  border: none;
  color: var(--color-primary);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
}

.btn-read-more:hover {
  color: var(--color-accent-hover);
}

/* ==========================================================================
   FAQ Accordion
   ========================================================================== */
.faq-accordion-container {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: border-color var(--transition-fast);
}

.faq-item.active {
  border-color: var(--color-primary);
}

.faq-question-btn {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 24px;
  background: none;
  border: none;
  color: var(--color-secondary);
  font-size: 1.02rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

.faq-icon-wrap {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(46, 54, 144, 0.08);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.faq-q-text {
  flex-grow: 1;
}

.faq-arrow {
  color: var(--text-muted);
  font-size: 0.85rem;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-arrow {
  transform: rotate(180deg);
  color: var(--color-primary);
}

.faq-answer-collapse {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease-out;
}

.faq-item.active .faq-answer-collapse {
  max-height: 350px;
}

.faq-answer-content {
  padding: 0 24px 22px 72px;
  font-size: 0.92rem;
  color: var(--text-body);
  line-height: 1.7;
}

/* ==========================================================================
   Contact & Quote Form
   ========================================================================== */
.contact-wrapper {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 32px;
}

.contact-info-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
}

.contact-info-card h3 {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--color-secondary);
  margin-bottom: 8px;
}

.contact-channels {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 24px 0 32px;
}

.channel-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.channel-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.icon-whatsapp { background: rgba(37, 211, 102, 0.12); color: #25d366; }
.icon-phone { background: rgba(46, 54, 144, 0.1); color: var(--color-primary); }
.icon-email { background: rgba(255, 59, 130, 0.1); color: var(--color-accent-pink); }
.icon-location { background: rgba(16, 185, 129, 0.1); color: var(--color-emerald); }

.channel-details {
  display: flex;
  flex-direction: column;
}

.ch-label {
  font-size: 0.74rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

.ch-value {
  font-size: 0.96rem;
  font-weight: 600;
  color: var(--color-secondary);
}

.ch-note {
  font-size: 0.76rem;
  color: var(--text-muted);
}

.contact-form-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-card);
}

.repair-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--color-secondary);
  display: flex;
  align-items: center;
  gap: 6px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  background: #f8fafc;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  color: var(--color-secondary);
  font-size: 0.92rem;
  outline: none;
  transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
  background: #ffffff;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(46, 54, 144, 0.1);
}

.device-type-selector {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.device-radio-label {
  cursor: pointer;
}

.device-radio-label input {
  display: none;
}

.device-radio-label span {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  background: #f8fafc;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-body);
  transition: all var(--transition-fast);
}

.device-radio-label input:checked + span {
  background: rgba(46, 54, 144, 0.08);
  border-color: var(--color-primary);
  color: var(--color-primary);
  font-weight: 600;
}

.service-way-selector {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.radio-pill {
  cursor: pointer;
}

.radio-pill input {
  display: none;
}

.radio-pill span {
  display: inline-block;
  padding: 6px 14px;
  background: #f8fafc;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  color: var(--text-body);
}

.radio-pill input:checked + span {
  background: var(--color-primary);
  color: #ffffff;
  border-color: var(--color-primary);
}

.form-privacy-note {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

/* ==========================================================================
   Floating WhatsApp Button (Signature Malaysian Business Widget)
   ========================================================================== */
.floating-whatsapp-widget {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 10px;
}

.floating-whatsapp-btn {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background-color: #25d366;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  box-shadow: 0 4px 18px rgba(37, 211, 102, 0.45);
  transition: all var(--transition-fast);
  position: relative;
}

.floating-whatsapp-btn:hover {
  background-color: #1eb956;
  transform: scale(1.08);
}

.whatsapp-ping {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid #25d366;
  animation: waPing 2s infinite;
  pointer-events: none;
}

@keyframes waPing {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.35); opacity: 0; }
}

/* ==========================================================================
   Site Footer
   ========================================================================== */
.site-footer {
  background-color: #0a2342;
  color: #d1d5db;
  padding-top: 60px;
}

.footer-container {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 45px;
}

.footer-logo .logo-main-text {
  color: #ffffff;
}

.footer-about {
  font-size: 0.88rem;
  color: #9ca3af;
  line-height: 1.65;
  margin: 16px 0 20px;
}

.footer-social-links {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-social-link {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: all var(--transition-fast);
}

.footer-social-link:hover {
  background: var(--color-accent-pink);
  transform: translateY(-2px);
}

.footer-heading {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 16px;
}

.footer-nav {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-nav a {
  font-size: 0.86rem;
  color: #9ca3af;
}

.footer-nav a:hover {
  color: #ffffff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 0;
  font-size: 0.82rem;
  color: #9ca3af;
}

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

/* ==========================================================================
   Modals
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 35, 66, 0.65);
  backdrop-filter: blur(6px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-dialog {
  width: 100%;
  max-width: 820px;
  max-height: 85vh;
  overflow-y: auto;
  position: relative;
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-card-hover);
  transform: scale(0.96);
  transition: transform 0.3s ease;
}

.modal-overlay.active .modal-dialog {
  transform: scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f1f5f9;
  border: none;
  color: var(--color-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.modal-close-btn:hover {
  background: var(--color-accent-pink);
  color: #ffffff;
}

/* ==========================================================================
   Toast Notifications
   ========================================================================== */
.toast-container {
  position: fixed;
  bottom: 90px;
  right: 24px;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  background: #ffffff;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-card-hover);
  padding: 12px 18px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--color-secondary);
  animation: slideToast 0.3s ease;
}

.toast-success i { color: var(--color-emerald); }
.toast-info i { color: var(--color-primary); }

@keyframes slideToast {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1080px) {
  .hero-container { grid-template-columns: 1fr; gap: 40px; }
  .process-grid { grid-template-columns: repeat(3, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-wrapper { grid-template-columns: 1fr; }
  .footer-container { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .top-bar { display: none; }
  .nav-menu {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    background: #ffffff;
    flex-direction: column;
    padding: 24px;
    gap: 18px;
    border-bottom: 1px solid var(--border-light);
    display: none;
    box-shadow: var(--shadow-card);
  }
  .nav-menu.open { display: flex; }
  .mobile-toggle-btn { display: block; }
  .hero-title { font-size: 2.3rem; }
  .process-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .symptom-category-grid { grid-template-columns: 1fr; }
  .result-sections-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .device-type-selector { grid-template-columns: 1fr; }
  .footer-container { grid-template-columns: 1fr; }
}
