/* ==========================================================================
   PG. | PROFITABLE GROWTH DESIGN SYSTEM (TECH + MARKETING + FREELANCE)
   Aesthetics: Clean Apple-Minimalist + Modern Tech Grid & Glow Accents
   Typography: Plus Jakarta Sans (Headings) + Inter (Body) + JetBrains Mono (Code)
   ========================================================================== */

:root {
  /* Brand Accents */
  --accent-blue: #0071e3;
  --accent-blue-hover: #0077ed;
  --accent-blue-subtle: rgba(0, 113, 227, 0.08);
  --accent-blue-border: rgba(0, 113, 227, 0.22);
  --accent-blue-glow: rgba(0, 113, 227, 0.35);

  --accent-emerald: #10b981;
  --accent-emerald-subtle: rgba(16, 185, 129, 0.1);
  --accent-emerald-border: rgba(16, 185, 129, 0.25);

  --accent-gold: #b47820;
  --accent-gold-subtle: rgba(180, 120, 32, 0.08);

  --accent-red: #e11d48;
  --accent-red-subtle: rgba(225, 29, 72, 0.08);

  /* Typography */
  --font-display: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Helvetica Neue', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Helvetica Neue', sans-serif;
  --font-mono: 'JetBrains Mono', SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  /* Radii */
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --radius-xl: 28px;
  --radius-pill: 9999px;

  /* Transitions */
  --transition-fast: 0.15s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-spring: 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ==========================================================================
   LIGHT THEME (DEFAULT - APPLE MINIMAL LIGHT + TECH GRID)
   ========================================================================== */
:root, [data-theme="light"] {
  --bg-page: #fbfbfc;
  --bg-subtle: #f5f5f7;
  --bg-surface: #ffffff;
  --bg-elevated: #ffffff;
  --bg-nav: rgba(251, 251, 252, 0.88);
  --bg-input: #ffffff;

  --text-primary: #1d1d1f;
  --text-secondary: #515154;
  --text-muted: #86868b;
  --text-inverse: #ffffff;

  --border-subtle: rgba(0, 0, 0, 0.07);
  --border-medium: rgba(0, 0, 0, 0.14);
  --border-focus: #0071e3;

  --tech-grid: radial-gradient(rgba(0, 113, 227, 0.09) 1px, transparent 1px);
  --tech-mesh-glow: radial-gradient(circle at 50% 0%, rgba(0, 113, 227, 0.06) 0%, transparent 70%);

  --shadow-xs: 0 1px 3px rgba(0, 0, 0, 0.03);
  --shadow-sm: 0 3px 12px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 20px 48px rgba(0, 0, 0, 0.07);
  --shadow-hover: 0 16px 36px rgba(0, 113, 227, 0.08);

  --nav-border: rgba(0, 0, 0, 0.08);
}

/* ==========================================================================
   DARK THEME (APPLE SPACE GRAY DARK + CYBER TECH GLOW)
   ========================================================================== */
[data-theme="dark"] {
  --bg-page: #05070a;
  --bg-subtle: #0e1219;
  --bg-surface: #141924;
  --bg-elevated: #1d2433;
  --bg-nav: rgba(5, 7, 10, 0.88);
  --bg-input: #141924;

  --text-primary: #f5f5f7;
  --text-secondary: #9da6b8;
  --text-muted: #647087;
  --text-inverse: #05070a;

  --border-subtle: rgba(255, 255, 255, 0.09);
  --border-medium: rgba(255, 255, 255, 0.18);
  --border-focus: #2997ff;

  --accent-blue: #2997ff;
  --accent-blue-hover: #47a6ff;
  --accent-blue-subtle: rgba(41, 151, 255, 0.12);
  --accent-blue-border: rgba(41, 151, 255, 0.28);
  --accent-blue-glow: rgba(41, 151, 255, 0.4);

  --tech-grid: radial-gradient(rgba(41, 151, 255, 0.12) 1px, transparent 1px);
  --tech-mesh-glow: radial-gradient(circle at 50% 0%, rgba(41, 151, 255, 0.12) 0%, transparent 70%);

  --shadow-xs: 0 1px 3px rgba(0, 0, 0, 0.3);
  --shadow-sm: 0 3px 14px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 10px 32px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 20px 52px rgba(0, 0, 0, 0.65);
  --shadow-hover: 0 16px 40px rgba(41, 151, 255, 0.18);

  --nav-border: rgba(255, 255, 255, 0.1);
}

/* ==========================================================================
   RESET & GLOBAL BASE
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  background-color: var(--bg-page);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  letter-spacing: -0.01em;
  overflow-x: hidden;
  position: relative;
  transition: background-color var(--transition-normal), color var(--transition-normal);
}

/* Background Tech Grid */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: var(--tech-grid);
  background-size: 32px 32px;
  pointer-events: none;
  z-index: 0;
  opacity: 0.75;
}

/* Container */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 28px;
  position: relative;
  z-index: 1;
}

.container-narrow {
  max-width: 860px;
}

/* Typography Hierarchy */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.03em;
  line-height: 1.15;
}

h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

h2 {
  font-size: clamp(1.85rem, 3.5vw, 2.75rem);
  font-weight: 700;
  line-height: 1.15;
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: 600;
  line-height: 1.25;
}

p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.7;
}

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

/* Section Spacing */
.section {
  padding: 100px 0;
  position: relative;
  z-index: 1;
}

.section-subtle {
  background-color: var(--bg-subtle);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.section-header {
  margin-bottom: 56px;
}

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

.section-title {
  margin-bottom: 14px;
}

.section-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Pill Eyebrow Tags */
.pill-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: var(--accent-blue-subtle);
  color: var(--accent-blue);
  border: 1px solid var(--accent-blue-border);
  margin-bottom: 20px;
  box-shadow: 0 0 16px var(--accent-blue-subtle);
  max-width: 100%;
  line-height: 1.4;
  text-align: center;
  word-break: break-word;
}

.pill-tag.green {
  background: var(--accent-emerald-subtle);
  color: var(--accent-emerald);
  border-color: var(--accent-emerald-border);
}

.pill-tag.neutral {
  background: var(--bg-subtle);
  color: var(--text-secondary);
  border-color: var(--border-subtle);
}

.pill-tag.gold {
  background: var(--accent-gold-subtle);
  color: var(--accent-gold);
  border-color: rgba(180, 120, 32, 0.2);
}

/* Live Pulse Dot */
.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-emerald);
  display: inline-block;
  box-shadow: 0 0 8px var(--accent-emerald);
  animation: pulse-dot 2s infinite ease-in-out;
}

@keyframes pulse-dot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.35); opacity: 0.6; }
}

/* Ambient Canvas */
.bg-ambient-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.35;
}

/* ==========================================================================
   BUTTONS (APPLE SLEEK PILLS)
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1;
  text-align: center;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--accent-blue);
  color: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 113, 227, 0.2);
}

.btn-primary:hover {
  background-color: var(--accent-blue-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--accent-blue-glow);
}

.btn-dark {
  background-color: var(--text-primary);
  color: var(--text-inverse);
}

.btn-dark:hover {
  opacity: 0.92;
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: var(--bg-surface);
  color: var(--text-primary);
  border-color: var(--border-medium);
}

.btn-secondary:hover {
  background-color: var(--bg-subtle);
  border-color: var(--accent-blue);
  transform: translateY(-2px);
}

/* ==========================================================================
   01. NAVIGATION (ONLY "PG." LOGO)
   ========================================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: var(--bg-nav);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--nav-border);
  transition: background var(--transition-normal), border var(--transition-normal);
}

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

.brand-monogram {
  display: flex;
  align-items: center;
}

.logo-badge {
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  background: var(--text-primary);
  color: var(--text-inverse);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.03em;
  transition: transform var(--transition-fast);
}

.logo-badge:hover {
  transform: scale(1.05);
}

.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 28px;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

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

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

.nav-btn-email {
  padding: 8px 16px;
  font-size: 0.88rem;
}

.nav-btn-hire {
  padding: 8px 18px;
  font-size: 0.88rem;
}

.control-icon-btn {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-pill);
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  cursor: pointer;
  flex-shrink: 0;
  transition: all var(--transition-fast);
}

.control-icon-btn:hover {
  background: var(--bg-surface);
  border-color: var(--border-medium);
}

.mobile-toggle-btn {
  display: none;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  font-size: 1.15rem;
  cursor: pointer;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.mobile-toggle-btn:hover {
  background: var(--bg-surface);
  border-color: var(--border-medium);
}

/* Mobile Drawer */
.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 85%;
  max-width: 360px;
  height: 100vh;
  background: var(--bg-surface);
  z-index: 1050;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-lg);
  border-left: 1px solid var(--border-subtle);
  transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-nav-drawer.open {
  right: 0;
}

.drawer-close {
  align-self: flex-end;
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  width: 36px;
  height: 36px;
  border-radius: var(--radius-pill);
  font-size: 1rem;
  cursor: pointer;
  margin-bottom: 24px;
}

.mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.mobile-nav-links a {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-primary);
}

/* ==========================================================================
   02. HERO SECTION
   ========================================================================== */
.hero {
  padding-top: 150px;
  padding-bottom: 90px;
  position: relative;
  background: var(--tech-mesh-glow);
}

.hero-content {
  text-align: center;
  max-width: 880px;
  margin: 0 auto 56px auto;
}

.hero-title-main {
  margin-bottom: 22px;
}

.hero-title-main .author-name {
  color: var(--text-primary);
  display: block;
  font-size: clamp(1.4rem, 2.5vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--accent-blue);
  margin-bottom: 8px;
}

.hero-title-main .statement {
  color: var(--text-primary);
  display: block;
}

.hero-desc {
  font-size: clamp(1.1rem, 2vw, 1.25rem);
  color: var(--text-secondary);
  line-height: 1.65;
  max-width: 760px;
  margin: 0 auto 32px auto;
}

.hero-cta-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.hero-social-proof-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.hero-social-proof-strip span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ==========================================================================
   03. INTERACTIVE SHOWCASE
   ========================================================================== */
.hero-showcase-container {
  max-width: 1040px;
  margin: 0 auto;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  padding: 24px;
  transition: all var(--transition-normal);
  position: relative;
}

.hero-showcase-container:hover {
  border-color: var(--accent-blue-border);
  box-shadow: 0 20px 60px var(--accent-blue-subtle);
}

.showcase-tab-bar {
  display: flex;
  gap: 6px;
  background: var(--bg-subtle);
  padding: 6px;
  border-radius: var(--radius-md);
  margin-bottom: 20px;
  overflow-x: auto;
}

.showcase-tab-btn {
  flex: 1;
  min-width: 160px;
  padding: 10px 16px;
  background: transparent;
  border: none;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.showcase-tab-btn.active {
  background: var(--bg-surface);
  color: var(--text-primary);
  font-weight: 600;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-subtle);
}

.showcase-display-stage {
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-page);
  border-radius: var(--radius-md);
  padding: 20px;
  border: 1px solid var(--border-subtle);
}

/* Showcase Content Templates */
.system-flow-frame, .web-mockup-frame, .whatsapp-chat-frame, .search-ai-frame {
  width: 100%;
}

.mockup-top-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.circle-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.circle-dot.red { background: #ff5f56; }
.circle-dot.yellow { background: #ffbd2e; }
.circle-dot.green { background: #27c93f; }

.chat-header {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #075e54;
  padding: 12px 16px;
  border-radius: 12px 12px 0 0;
}

.chat-bubble {
  padding: 12px 16px;
  border-radius: 14px;
  max-width: 80%;
  font-size: 0.9rem;
  line-height: 1.5;
}

.chat-bubble.bot {
  background: var(--bg-subtle);
  color: var(--text-primary);
  align-self: flex-start;
  border-bottom-left-radius: 2px;
}

.chat-bubble.user {
  background: #dcf8c6;
  color: #0b0f19;
  align-self: flex-end;
  border-bottom-right-radius: 2px;
}

.chat-time {
  font-size: 0.68rem;
  color: var(--text-muted);
  text-align: right;
  margin-top: 4px;
}

/* ==========================================================================
   04. PROBLEM IDENTIFICATION CARDS
   ========================================================================== */
.problem-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.problem-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.problem-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent-blue), transparent);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.problem-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--accent-blue-border);
}

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

.problem-badge-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.problem-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--bg-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  border: 1px solid var(--border-subtle);
}

.problem-heading {
  font-size: 1.28rem;
  font-weight: 700;
  margin-bottom: 14px;
  line-height: 1.35;
  color: var(--text-primary);
}

.problem-solution-desc {
  font-size: 0.98rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 28px;
}

.problem-action-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--accent-blue);
  transition: gap var(--transition-fast);
}

.problem-action-link:hover {
  gap: 10px;
}

/* ==========================================================================
   05. CAPABILITY BENTO MATRIX
   ========================================================================== */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 28px;
}

.bento-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 40px 34px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--transition-normal);
  position: relative;
}

.bento-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--accent-blue-border);
}

.span-5 { grid-column: span 5; }
.span-7 { grid-column: span 7; }
.span-12 { grid-column: span 12; }

.bento-num {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--accent-blue);
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.bento-title {
  font-size: 1.45rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.bento-positioning {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 14px;
}

.bento-desc {
  font-size: 0.98rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 24px;
}

.bento-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.bento-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.bento-item svg {
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--accent-emerald);
}

/* ==========================================================================
   06. SIGNATURE DIGITAL ECOSYSTEM
   ========================================================================== */
.ecosystem-flow-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 48px 40px;
  box-shadow: var(--shadow-sm);
}

.flow-steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 16px;
  margin-bottom: 48px;
}

.flow-step-card {
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px 18px;
  text-align: center;
  transition: all var(--transition-fast);
}

.flow-step-card:hover {
  background: var(--bg-surface);
  box-shadow: var(--shadow-sm);
  border-color: var(--accent-blue-border);
}

.flow-step-card.final {
  background: var(--accent-emerald-subtle);
  border-color: var(--accent-emerald-border);
}

.step-icon-bubble {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-pill);
  background: var(--bg-surface);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin: 0 auto 12px auto;
  box-shadow: var(--shadow-xs);
}

.step-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.step-desc {
  font-size: 0.78rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

/* Ecosystem Split View */
.ecosystem-split-view {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.eco-col {
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  border: 1px solid var(--border-subtle);
}

.eco-col.chaos {
  background: var(--bg-subtle);
}

.eco-col.connected {
  background: var(--bg-surface);
  border-color: var(--accent-emerald-border);
  box-shadow: var(--shadow-sm);
}

.eco-col-header {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 20px;
}

.eco-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.eco-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--text-secondary);
}

.eco-item-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 1px;
}

.eco-item.bad .eco-item-icon {
  background: var(--accent-red-subtle);
  color: var(--accent-red);
}

.eco-item.good .eco-item-icon {
  background: var(--accent-emerald-subtle);
  color: var(--accent-emerald);
}

/* ==========================================================================
   07. CASE STUDIES
   ========================================================================== */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.case-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 38px 30px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--transition-normal);
}

.case-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--accent-blue-border);
}

.case-badge {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--accent-blue);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.case-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.3;
}

.case-body {
  font-size: 0.94rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 28px;
}

.case-stat-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  background: var(--accent-emerald-subtle);
  color: var(--accent-emerald);
  border: 1px solid var(--accent-emerald-border);
  font-size: 0.82rem;
  font-weight: 700;
  align-self: flex-start;
}

/* ==========================================================================
   08. AGENCY PARTNERSHIP
   ========================================================================== */
.agency-master-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 56px 44px;
  box-shadow: var(--shadow-sm);
}

.agency-split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 36px;
}

.agency-split-card {
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 34px 28px;
}

.agency-split-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.88rem;
  letter-spacing: 0.05em;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.agency-split-title.gold { color: var(--accent-gold); }
.agency-split-title.violet { color: var(--accent-blue); }

.agency-item-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.agency-item-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.94rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.agency-item-list svg {
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--accent-emerald);
}

/* ==========================================================================
   09. ABOUT PG.
   ========================================================================== */
.differentiator-box {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 56px auto;
}

.diff-title {
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 16px;
}

.about-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 48px 40px;
  box-shadow: var(--shadow-sm);
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 40px;
  align-items: center;
}

.avatar-pg-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.avatar-initials {
  width: 96px;
  height: 96px;
  border-radius: 24px;
  background: var(--text-primary);
  color: var(--text-inverse);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.2rem;
  box-shadow: var(--shadow-md);
  border: 2px solid var(--accent-blue);
}

.about-text h3 {
  font-size: 1.5rem;
  margin-bottom: 14px;
}

.about-text p {
  margin-bottom: 16px;
  font-size: 1.02rem;
  line-height: 1.7;
}

.about-text p:last-child {
  margin-bottom: 0;
}

/* ==========================================================================
   10. FAQ ACCORDION
   ========================================================================== */
.faq-list {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

.faq-item {
  border-bottom: 1px solid var(--border-subtle);
}

.faq-question {
  width: 100%;
  padding: 24px 4px;
  background: transparent;
  border: none;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-primary);
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: color var(--transition-fast);
}

.faq-question:hover {
  color: var(--accent-blue);
}

.faq-icon {
  font-size: 0.8rem;
  color: var(--text-muted);
  transition: transform var(--transition-fast);
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  color: var(--accent-blue);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 4px;
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.7;
  transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1), padding 0.35s ease;
}

.faq-item.active .faq-answer {
  padding-bottom: 24px;
}

/* ==========================================================================
   11. QUALIFICATION & CONTACT FORM
   ========================================================================== */
.contact-card {
  max-width: 760px;
  margin: 0 auto;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 44px 38px;
  box-shadow: var(--shadow-md);
}

.contact-tabs {
  display: flex;
  background: var(--bg-subtle);
  padding: 5px;
  border-radius: var(--radius-md);
  margin-bottom: 32px;
}

.contact-tab {
  flex: 1;
  padding: 12px;
  background: transparent;
  border: none;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
  text-align: center;
}

.contact-tab.active {
  background: var(--bg-surface);
  color: var(--text-primary);
  box-shadow: var(--shadow-sm);
}

.step-header {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.service-options-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.service-options-chips label {
  cursor: pointer;
}

.service-chip-checkbox {
  display: none;
}

.service-chip-label {
  display: inline-block;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.service-chip-checkbox:checked + .service-chip-label {
  background: var(--text-primary);
  color: var(--text-inverse);
  border-color: var(--text-primary);
}

.form-group {
  margin-bottom: 20px;
}

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

.form-control {
  width: 100%;
  padding: 14px 16px;
  background: var(--bg-input);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-primary);
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-control:focus {
  border-color: var(--border-focus);
  box-shadow: 0 0 0 4px var(--accent-blue-subtle);
}

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

/* ==========================================================================
   12. UNIQUE FLOATING TECH DOCK & ACTIONS
   ========================================================================== */
.final-cta-section {
  padding: 110px 0;
  text-align: center;
}

.floating-tech-dock {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 990;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  padding: 6px 10px;
  border-radius: var(--radius-pill);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: all var(--transition-normal);
}

.floating-tech-dock:hover {
  border-color: var(--accent-blue-border);
  box-shadow: 0 14px 40px var(--accent-blue-subtle);
}

.dock-status-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-secondary);
  border-right: 1px solid var(--border-subtle);
}

.dock-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.84rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.dock-btn.email-btn {
  background: var(--accent-blue);
  color: #ffffff;
}

.dock-btn.email-btn:hover {
  background: var(--accent-blue-hover);
  transform: translateY(-1px);
}

.dock-btn.whatsapp-btn {
  background: #25d366;
  color: #ffffff;
  padding: 8px 12px;
}

.dock-btn.whatsapp-btn:hover {
  background: #20bd5a;
  transform: translateY(-1px);
}

/* ==========================================================================
   13. QUICK EMAIL ENQUIRY POPUP MODAL
   ========================================================================== */
.enquiry-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.enquiry-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.enquiry-modal-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 36px 32px;
  max-width: 520px;
  width: 100%;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
  position: relative;
  transform: translateY(20px) scale(0.96);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.modal-close-btn:hover {
  color: var(--text-primary);
  border-color: var(--border-medium);
}

.modal-email-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--accent-blue);
  cursor: pointer;
  margin-bottom: 20px;
  transition: all var(--transition-fast);
}

.modal-email-pill:hover {
  background: var(--accent-blue-subtle);
  border-color: var(--accent-blue-border);
}

/* ==========================================================================
   14. FOOTER
   ========================================================================== */
.footer {
  background: var(--bg-subtle);
  border-top: 1px solid var(--border-subtle);
  padding: 80px 0 40px 0;
  position: relative;
  z-index: 1;
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}

.footer-links-col h4 {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 18px;
}

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

.footer-links-list a {
  font-size: 0.9rem;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

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

.footer-bottom-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 32px;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.85rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 16px;
}

/* ==========================================================================
   RESPONSIVE DESIGN (UNIVERSAL DEVICE COMPATIBILITY)
   ========================================================================== */

/* 1. Large Desktops & Tablets (Max 1024px) */
@media (max-width: 1024px) {
  .container {
    padding: 0 24px;
  }
  .bento-grid {
    gap: 20px;
  }
}

/* 2. Tablets & Small Laptops (Max 992px) */
@media (max-width: 992px) {
  .nav-menu {
    display: none;
  }
  .mobile-toggle-btn {
    display: flex;
  }
  .span-5, .span-7, .span-12 {
    grid-column: span 12;
  }
  .ecosystem-split-view {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .agency-split-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .about-card {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 36px 28px;
    gap: 24px;
  }
  .avatar-pg-box {
    margin-bottom: 8px;
  }
  .avatar-initials {
    margin: 0 auto;
  }
  .footer-top-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}

/* 3. Small Tablets & Landscape Mobile (Max 768px) */
@media (max-width: 768px) {
  .nav-btn-email {
    display: none;
  }
  .nav-actions-group {
    gap: 8px;
  }
  .nav-btn-hire {
    padding: 7px 14px;
    font-size: 0.82rem;
  }
  .section {
    padding: 70px 0;
  }
  .section-header {
    margin-bottom: 36px;
  }
  .flow-steps-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .hero {
    padding-top: 110px;
    padding-bottom: 60px;
  }
  .hero-social-proof-strip {
    gap: 16px;
  }
}

/* 4. Standard Mobile Phones (Max 640px) */
@media (max-width: 640px) {
  html, body {
    font-size: 15px;
  }
  .container {
    padding: 0 16px;
  }
  .hero-content {
    margin-bottom: 36px;
  }
  .hero-title-main {
    margin-bottom: 16px;
  }
  .hero-desc {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 24px;
  }
  .hero-social-proof-strip {
    flex-direction: column;
    gap: 8px;
    font-size: 0.82rem;
  }
  .hero-showcase-container {
    padding: 14px 10px;
    border-radius: var(--radius-lg);
  }
  .showcase-tab-bar {
    gap: 4px;
    padding: 4px;
  }
  .showcase-tab-btn {
    min-width: 135px;
    padding: 8px 10px;
    font-size: 0.76rem;
  }
  .showcase-display-stage {
    padding: 14px 10px;
    min-height: auto;
  }
  .problem-cards-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .problem-card {
    padding: 24px 18px;
  }
  .bento-grid {
    gap: 16px;
  }
  .bento-card {
    padding: 24px 18px;
    border-radius: var(--radius-md);
  }
  .bento-title {
    font-size: 1.25rem;
  }
  .bento-desc {
    font-size: 0.9rem;
    margin-bottom: 18px;
  }
  .bento-list {
    margin-bottom: 20px;
    gap: 10px;
  }
  .flow-steps-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .cases-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .case-card {
    padding: 24px 18px;
  }
  .agency-master-box {
    padding: 28px 18px;
    border-radius: var(--radius-lg);
  }
  .agency-split-card {
    padding: 20px 16px;
  }
  .ecosystem-flow-box {
    padding: 28px 18px;
    border-radius: var(--radius-lg);
  }
  .eco-col {
    padding: 20px 16px;
  }
  .contact-card {
    padding: 24px 16px;
    border-radius: var(--radius-lg);
  }
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .footer-top-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .footer {
    padding: 56px 0 32px 0;
  }
  .footer-bottom-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .dock-status-badge {
    display: none;
  }
  .floating-tech-dock {
    right: 12px;
    bottom: 12px;
    padding: 4px 8px;
    gap: 6px;
  }
  .dock-btn {
    padding: 6px 12px;
    font-size: 0.78rem;
  }
  .enquiry-modal-card {
    padding: 24px 16px;
    width: 94%;
    max-width: 94%;
    border-radius: var(--radius-lg);
  }
  .modal-email-pill {
    font-size: 0.78rem;
    padding: 6px 12px;
    max-width: 100%;
    word-break: break-all;
  }
}

/* 5. Narrow Mobile Phones (Max 480px) */
@media (max-width: 480px) {
  .nav-actions-group {
    gap: 6px;
  }
  .nav-btn-hire {
    padding: 6px 10px;
    font-size: 0.75rem;
  }
  .logo-badge {
    padding: 5px 10px;
    font-size: 0.95rem;
  }
  .control-icon-btn {
    width: 34px;
    height: 34px;
    font-size: 0.85rem;
  }
  .mobile-toggle-btn {
    width: 34px;
    height: 34px;
    font-size: 1rem;
  }
  .hero-cta-row {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }
  .hero-cta-row .btn {
    width: 100%;
  }
  .contact-tabs {
    flex-direction: column;
    gap: 4px;
  }
  .contact-tab {
    padding: 10px;
    font-size: 0.85rem;
  }
  .service-chip-label {
    font-size: 0.78rem;
    padding: 6px 12px;
  }
  .pill-tag {
    font-size: 0.7rem;
    padding: 5px 10px;
  }
}

/* 6. Extra Small Screens (Max 360px) */
@media (max-width: 360px) {
  .container {
    padding: 0 12px;
  }
  .nav-btn-hire {
    display: none;
  }
  .floating-tech-dock {
    right: 8px;
    bottom: 8px;
  }
}
