/* ==========================================================================
   ADIL VP - Apple-Inspired Portfolio Design System
   Minimalist, Elegant, High-Performance Typography & Smooth Animations
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root {
  /* Apple Pro Color Palette */
  --bg-primary: #000000;
  --bg-secondary: #0b0b0f;
  --bg-elevated: #161617;
  --bg-card: rgba(18, 18, 20, 0.72);
  --bg-card-hover: rgba(28, 28, 32, 0.85);
  
  --border-subtle: rgba(255, 255, 255, 0.09);
  --border-focus: rgba(255, 255, 255, 0.25);
  
  --text-primary: #f5f5f7;
  --text-secondary: #86868b;
  --text-tertiary: #6e6e73;
  --text-link: #2997ff;
  --text-link-hover: #147ce5;
  
  --accent-blue: #0071e3;
  --accent-glow: rgba(0, 113, 227, 0.3);
  
  /* Typography */
  --font-main: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", "Helvetica Neue", Arial, sans-serif;
  
  /* Layout */
  --max-width: 1120px;
  --header-height: 52px;
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-full: 9999px;
  
  /* Animation Timing */
  --ease-apple: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --transition-fast: 0.25s var(--ease-apple);
  --transition-medium: 0.5s var(--ease-apple);
  --transition-slow: 0.8s var(--ease-apple);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-primary);
  color-scheme: dark;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ==========================================================================
   Apple-Style Sticky Navigation
   ========================================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background-color: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border-subtle);
  z-index: 9999;
  display: flex;
  align-items: center;
  transition: background-color 0.4s ease;
}

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

.logo {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo span {
  color: var(--text-secondary);
  font-weight: 400;
  font-size: 0.85rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-size: 0.825rem;
  font-weight: 400;
  color: var(--text-secondary);
  letter-spacing: -0.01em;
  transition: color 0.2s ease;
}

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

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

.btn-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.45rem 1.15rem;
  border-radius: var(--radius-full);
  font-size: 0.825rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  background-color: var(--text-primary);
  color: #000000;
  transition: var(--transition-fast);
  border: 1px solid transparent;
}

.btn-pill:hover {
  background-color: #ffffff;
  transform: scale(1.03);
}

.btn-pill-ghost {
  background-color: rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
}

.btn-pill-ghost:hover {
  background-color: rgba(255, 255, 255, 0.15);
  border-color: var(--border-focus);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
  color: var(--text-primary);
}

/* ==========================================================================
   WebGL Halftone Flow Background & Geometric Accents
   ========================================================================== */
.webgl-halftone-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -2;
  pointer-events: none;
  opacity: 0.55;
  display: block;
}

.halftone-structural-lines {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.line-angled-1 {
  position: absolute;
  top: 0;
  left: 0;
  width: 600px;
  height: 600px;
  border-left: 1px solid rgba(255, 255, 255, 0.06);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  transform-origin: top left;
  transform: rotate(15deg) translate(-100px, -100px);
}

.line-angled-2 {
  position: absolute;
  top: 0;
  left: 0;
  width: 800px;
  height: 800px;
  border-left: 1px solid rgba(255, 255, 255, 0.04);
  transform-origin: top left;
  transform: rotate(-25deg) translate(200px, -50px);
}

.line-horizontal {
  position: absolute;
  top: 20%;
  width: 100%;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.halftone-ambient-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 35%, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.6) 75%, #000000 100%);
}

/* ==========================================================================
   Apple-Style Hero Section
   ========================================================================== */
.hero-apple {
  padding-top: calc(var(--header-height) + 4.5rem);
  padding-bottom: 6rem;
  position: relative;
  overflow: hidden;
  text-align: center;
}

/* Ambient Radial Lighting */
.hero-apple::before {
  content: "";
  position: absolute;
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  width: 650px;
  height: 380px;
  background: radial-gradient(ellipse at center, rgba(41, 151, 255, 0.18) 0%, rgba(0, 0, 0, 0) 70%);
  pointer-events: none;
  filter: blur(50px);
  z-index: 0;
}

.hero-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.22);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4), 0 0 25px rgba(41, 151, 255, 0.15);
  margin-bottom: 1.6rem;
  animation: appleFadeIn 0.8s var(--ease-apple) forwards;
}

.hero-pill-badge span.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #2997ff;
  box-shadow: 0 0 10px #2997ff;
}

.hero-apple-headline {
  font-size: clamp(2.8rem, 6.5vw, 5.2rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.06;
  margin-bottom: 1.25rem;
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
  background: linear-gradient(180deg, #ffffff 0%, rgba(255, 255, 255, 0.7) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: appleRise 1s var(--ease-apple) forwards;
}

.hero-apple-sub {
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  font-weight: 400;
  color: var(--text-secondary);
  max-width: 620px;
  margin: 0 auto 2.25rem auto;
  line-height: 1.45;
  letter-spacing: -0.015em;
  animation: appleRise 1.2s var(--ease-apple) forwards;
}

.hero-apple-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin-bottom: 3.5rem;
  flex-wrap: wrap;
  animation: appleRise 1.4s var(--ease-apple) forwards;
}

.apple-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-link);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.apple-link:hover {
  text-decoration: underline;
}

/* Showcase Stage */
.hero-stage {
  position: relative;
  max-width: 520px;
  margin: 0 auto;
  z-index: 1;
}

.stage-card {
  position: relative;
  border-radius: 28px;
  background: radial-gradient(ellipse at 50% 0%, rgba(41, 151, 255, 0.12) 0%, rgba(20, 20, 22, 0.6) 65%, #000000 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  overflow: hidden;
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.85), 0 0 50px rgba(41, 151, 255, 0.12);
  padding: 1.5rem 1.5rem 0 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  transition: transform 0.5s var(--ease-apple), border-color 0.4s ease, box-shadow 0.4s ease;
}

.stage-card:hover {
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow: 0 45px 100px rgba(0, 0, 0, 0.95), 0 0 80px rgba(41, 151, 255, 0.2);
}

.stage-portrait-cutout {
  width: 100%;
  height: auto;
  max-height: 700px;
  object-fit: contain;
  object-position: center bottom;
  display: block;
  mask-image: none;
  -webkit-mask-image: none;
  transition: transform 0.6s var(--ease-apple);
}

.stage-card:hover .stage-portrait-cutout {
  transform: scale(1.02);
}

/* Floating Stats Pills on Stage */
.stage-floating-pill {
  position: absolute;
  background: rgba(18, 18, 20, 0.75);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-primary);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
  z-index: 5;
  pointer-events: none;
}

.pill-left {
  top: 25px;
  left: 20px;
}

.pill-right {
  bottom: 30px;
  right: 20px;
}

/* ==========================================================================
   Apple Statement Section
   ========================================================================== */
.statement-section {
  padding: 6rem 0;
  text-align: center;
  background-color: transparent;
}

.statement-text {
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
  max-width: 860px;
  margin: 0 auto 1.5rem auto;
  color: var(--text-primary);
}

.statement-text .dimmed {
  color: var(--text-tertiary);
  display: block;
  margin-top: 0.5rem;
}

/* ==========================================================================
   Apple Alternating Contrast Architecture (Same as Apple.com)
   Alternating Black (Keynote Pro) and White (Clean Studio) Sections
   ========================================================================== */

/* 1. Black Sections (Pro Space Black #000000) */
.section-theme-black {
  background-color: transparent; /* Lets WebGL Halftone shader shine through */
  color: var(--text-primary);
  position: relative;
  z-index: 2;
}

/* 2. White Sections (Apple Signature Clean Off-White #f5f5f7) */
.section-theme-white {
  background-color: #f5f5f7 !important;
  color: #1d1d1f !important;
  position: relative;
  z-index: 10; /* Covers the fixed canvas cleanly */
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.section-theme-white .section-label {
  color: #86868b !important;
}

.section-theme-white .section-heading-lg,
.section-theme-white h2 {
  color: #1d1d1f !important;
  background: linear-gradient(180deg, #1d1d1f 0%, #424245 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}

.section-theme-white .section-subheading,
.section-theme-white p {
  color: #515154 !important;
}

/* White Section - Bento Cards */
.section-theme-white .bento-card {
  background: #ffffff !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04), 0 1px 3px rgba(0, 0, 0, 0.02) !important;
}

.section-theme-white .bento-card:hover {
  background: #ffffff !important;
  border-color: rgba(0, 0, 0, 0.16) !important;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08), 0 2px 6px rgba(0, 0, 0, 0.03) !important;
  transform: translateY(-4px);
}

.section-theme-white .bento-tag {
  color: #0066cc !important;
}

.section-theme-white .bento-title {
  color: #1d1d1f !important;
}

.section-theme-white .bento-desc {
  color: #515154 !important;
}

.section-theme-white .bento-graphic-box {
  background: #f5f5f7 !important;
  border: 1px solid rgba(0, 0, 0, 0.06) !important;
}

.section-theme-white .bento-graphic-box span {
  color: #0066cc !important;
}

/* White Section - Colleagues / Endorsement Cards */
.section-theme-white .colleague-card-apple {
  background: #ffffff !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04) !important;
}

.section-theme-white .colleague-card-apple:hover {
  background: #ffffff !important;
  border-color: rgba(0, 0, 0, 0.16) !important;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.08) !important;
}

.section-theme-white .colleague-quote {
  color: #1d1d1f !important;
}

.section-theme-white .colleague-avatar-letter {
  background: #e8e8ed !important;
  color: #1d1d1f !important;
  font-weight: 700;
}

.section-theme-white .colleague-name {
  color: #1d1d1f !important;
}

.section-theme-white .colleague-role {
  color: #86868b !important;
}

/* White Section - Contact Section & Minimal Footer */
.section-theme-white.contact-apple {
  background-color: #fbfbfd !important;
  border-top: 1px solid rgba(0, 0, 0, 0.08) !important;
}

.section-theme-white .contact-email-link {
  color: #0066cc !important;
}

.section-theme-white .contact-email-link:hover {
  color: #0077ed !important;
  text-decoration: underline;
}

.section-theme-white .icon-circle-btn {
  background: #ffffff !important;
  border: 1px solid rgba(0, 0, 0, 0.12) !important;
  color: #1d1d1f !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05) !important;
}

.section-theme-white .icon-circle-btn:hover {
  transform: translateY(-3px) scale(1.08);
}

.section-theme-white .icon-circle-btn.wa-circle:hover {
  background-color: #25D366 !important;
  color: #ffffff !important;
  border-color: #25D366 !important;
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.35) !important;
}

.section-theme-white .icon-circle-btn.ig-circle:hover {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%) !important;
  color: #ffffff !important;
  border-color: transparent !important;
  box-shadow: 0 12px 28px rgba(225, 48, 108, 0.35) !important;
}

.section-theme-white .icon-circle-btn.in-circle:hover {
  background-color: #0077b5 !important;
  color: #ffffff !important;
  border-color: #0077b5 !important;
  box-shadow: 0 12px 28px rgba(0, 119, 181, 0.35) !important;
}

.section-theme-white .apple-footer-bottom {
  border-top: 1px solid rgba(0, 0, 0, 0.08) !important;
  color: #86868b !important;
}

.section-theme-white .apple-footer-links a {
  color: #86868b !important;
}

.section-theme-white .apple-footer-links a:hover {
  color: #1d1d1f !important;
}

/* ==========================================================================
   Apple Bento Grid - Capabilities
   ========================================================================== */
.bento-section {
  padding: 5rem 0 7rem 0;
  background-color: transparent;
}

.section-label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
  margin-bottom: 0.75rem;
  display: block;
}

.section-heading-lg {
  font-size: clamp(2rem, 3.8vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 3rem;
  max-width: 680px;
}

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

.bento-card {
  background: var(--bg-card);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform var(--transition-fast), background-color var(--transition-fast), border-color var(--transition-fast);
  position: relative;
  overflow: hidden;
}

.bento-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-focus);
  transform: translateY(-4px);
}

.bento-col-8 {
  grid-column: span 8;
}

.bento-col-4 {
  grid-column: span 4;
}

.bento-col-6 {
  grid-column: span 6;
}

.bento-tag {
  font-size: 0.75rem;
  font-weight: 600;
  color: #2997ff;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.bento-title {
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.bento-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 480px;
}

.bento-graphic-box {
  margin-top: 2rem;
  padding: 1.5rem;
  border-radius: var(--radius-md);
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

/* ==========================================================================
   Coming Soon Case Studies - Minimalist Teaser
   ========================================================================== */
.projects-minimal {
  padding: 5rem 0 6rem 0;
  background-color: transparent;
}

.teaser-card-apple {
  background: rgba(18, 18, 20, 0.72);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 3.5rem 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  flex-wrap: wrap;
  transition: var(--transition-medium);
}

.teaser-card-apple:hover {
  border-color: var(--border-focus);
}

.teaser-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: #f59e0b;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1rem;
}

.teaser-card-apple h3 {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.teaser-card-apple p {
  color: var(--text-secondary);
  max-width: 580px;
  font-size: 1.05rem;
  line-height: 1.6;
}

/* ==========================================================================
   Blog Section & Featured Flagship Articles
   ========================================================================== */
.journal-section,
.blog-section {
  padding: 5rem 0 6rem 0;
  background-color: transparent;
}

.featured-blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
  margin-bottom: 3.5rem;
}

.featured-blog-card {
  background: rgba(18, 18, 20, 0.72);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-decoration: none;
  transition: transform var(--transition-fast), border-color var(--transition-fast), background-color var(--transition-fast), box-shadow var(--transition-fast);
  position: relative;
  overflow: hidden;
}

.featured-blog-img-wrap {
  width: 100%;
  height: 175px;
  max-height: 175px;
  flex: 0 0 175px;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 1.5rem;
  background: #000000;
  border: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
}

.featured-blog-img {
  width: 100%;
  height: 100%;
  max-height: 175px;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.6s var(--ease-apple);
}

.featured-blog-card:hover .featured-blog-img {
  transform: scale(1.04);
}

.journal-row-thumb {
  width: 68px;
  height: 44px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.journal-row:hover .journal-row-thumb {
  transform: scale(1.05);
  border-color: rgba(41, 151, 255, 0.5);
}

/* Individual Blog Page Hero Image */
.article-hero-figure {
  margin: 1.5rem 0 2.5rem 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background: #000000;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  width: 100%;
}

.article-hero-img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
  display: block;
}

.article-hero-caption {
  font-size: 0.78rem;
  color: var(--text-tertiary);
  padding: 0.75rem 1.25rem;
  background: rgba(18, 18, 20, 0.7);
  border-top: 1px solid var(--border-subtle);
  font-style: italic;
}

.featured-blog-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-focus);
  background: rgba(26, 26, 30, 0.85);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7), 0 0 40px rgba(41, 151, 255, 0.12);
}

.featured-blog-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #2997ff;
  margin-bottom: 1.25rem;
}

.featured-blog-badge.design {
  color: #f59e0b;
}

.featured-blog-card h3 {
  font-size: 1.65rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--text-primary);
  line-height: 1.25;
  margin-bottom: 1rem;
  transition: color 0.2s ease;
}

.featured-blog-card:hover h3 {
  color: #ffffff;
}

.featured-blog-card p {
  color: var(--text-secondary);
  font-size: 0.975rem;
  line-height: 1.65;
  margin-bottom: 2rem;
}

.featured-blog-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-link);
  transition: gap 0.2s ease, color 0.2s ease;
}

.featured-blog-card:hover .featured-blog-cta {
  gap: 0.7rem;
  color: #ffffff;
}

.more-guides-heading {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: -0.01em;
  margin-bottom: 1.25rem;
}

@media (max-width: 860px) {
  .featured-blog-grid {
    grid-template-columns: 1fr;
  }
}

.journal-list {
  display: flex;
  flex-direction: column;
}

.journal-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 1.25rem;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  background: rgba(18, 18, 20, 0.45);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  margin-bottom: 0.75rem;
  transition: var(--transition-fast);
}

.journal-row:hover {
  padding-left: 1.6rem;
  border-color: var(--border-focus);
  background: rgba(26, 26, 30, 0.7);
}

.journal-row:hover .journal-row-title {
  color: var(--text-link);
}

.journal-row-left {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-grow: 1;
}

.journal-category-tag {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  width: 130px;
  flex-shrink: 0;
}

.journal-row-title {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.015em;
  transition: color 0.2s ease;
}

.journal-arrow {
  color: var(--text-secondary);
  font-size: 1.25rem;
  transition: transform 0.2s ease;
}

.journal-row:hover .journal-arrow {
  color: var(--text-link);
  transform: translateX(4px);
}

/* ==========================================================================
   Colleagues / Social Proof (Minimal Glass Cards)
   ========================================================================== */
.colleagues-section {
  padding: 4rem 0 6rem 0;
  background-color: transparent;
}

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

.colleague-card-apple {
  background: var(--bg-card);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition-fast);
}

.colleague-card-apple:hover {
  border-color: var(--border-focus);
  background: var(--bg-card-hover);
}

.colleague-quote {
  font-size: 1rem;
  color: var(--text-primary);
  line-height: 1.6;
  margin-bottom: 2rem;
  letter-spacing: -0.01em;
}

.colleague-meta {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.colleague-avatar-letter {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
  font-weight: 600;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.colleague-name {
  font-weight: 600;
  font-size: 0.925rem;
  color: var(--text-primary);
}

.colleague-role {
  font-size: 0.775rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   Contact & Footer (Apple Minimalist)
   ========================================================================== */
.contact-apple {
  padding: 6rem 0 7rem 0;
  text-align: center;
  background-color: transparent;
  border-top: 1px solid var(--border-subtle);
}

.contact-apple h2 {
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  margin-bottom: 1rem;
  background: linear-gradient(180deg, #ffffff 0%, rgba(255, 255, 255, 0.65) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.contact-apple p {
  color: var(--text-secondary);
  font-size: 1.15rem;
  max-width: 520px;
  margin: 0 auto 2.5rem auto;
}

.contact-email-link {
  font-size: 1.35rem;
  font-weight: 600;
  color: #2997ff;
  letter-spacing: -0.01em;
  display: inline-block;
  margin-bottom: 2.5rem;
}

.contact-email-link:hover {
  text-decoration: underline;
}

.apple-footer-bottom {
  padding-top: 3rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-tertiary);
  flex-wrap: wrap;
  gap: 1rem;
}

.apple-footer-links {
  display: flex;
  gap: 1.5rem;
}

.apple-footer-links a:hover {
  color: var(--text-secondary);
}

/* ==========================================================================
   Apple Animations & Keyframes
   ========================================================================== */
@keyframes appleFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

.scroll-reveal-apple {
  opacity: 0;
  transform: translateY(36px) scale(0.98);
  transition: opacity 0.9s var(--ease-apple), transform 0.9s var(--ease-apple);
  will-change: opacity, transform;
}

.scroll-reveal-apple.revealed {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Staggered Spring Delays on Scroll */
.bento-card:nth-child(1) { transition-delay: 0.05s; }
.bento-card:nth-child(2) { transition-delay: 0.15s; }
.bento-card:nth-child(3) { transition-delay: 0.25s; }
.bento-card:nth-child(4) { transition-delay: 0.35s; }

.colleague-card-apple:nth-child(1) { transition-delay: 0.06s; }
.colleague-card-apple:nth-child(2) { transition-delay: 0.16s; }
.colleague-card-apple:nth-child(3) { transition-delay: 0.26s; }

.journal-row:nth-child(1) { transition-delay: 0.05s; }
.journal-row:nth-child(2) { transition-delay: 0.12s; }
.journal-row:nth-child(3) { transition-delay: 0.19s; }
.journal-row:nth-child(4) { transition-delay: 0.26s; }

/* ==========================================================================
   Contact Social Icons Only (Apple Minimalist)
   ========================================================================== */
.contact-social-icons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin-top: 2rem;
}

.icon-circle-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--text-primary);
  text-decoration: none;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: transform 0.3s var(--ease-apple), background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, color 0.3s ease;
}

.icon-circle-btn:hover {
  transform: translateY(-3px) scale(1.08);
}

.icon-circle-btn.wa-circle:hover {
  background-color: #25D366;
  color: #ffffff;
  border-color: #25D366;
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.35);
}

.icon-circle-btn.ig-circle:hover {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 12px 28px rgba(225, 48, 108, 0.35);
}

.icon-circle-btn.in-circle:hover {
  background-color: #0077b5;
  color: #ffffff;
  border-color: #0077b5;
  box-shadow: 0 12px 28px rgba(0, 119, 181, 0.35);
}

/* ==========================================================================
   Floating Apple Action Dock (WhatsApp, Instagram, Scroll to Top)
   ========================================================================== */
.floating-apple-dock {
  position: fixed;
  bottom: 28px;
  right: 28px;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  z-index: 99;
  background: rgba(18, 18, 20, 0.78);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0.45rem 0.55rem;
  border-radius: var(--radius-full);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.65), 0 0 30px rgba(37, 211, 102, 0.15);
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: opacity 0.4s var(--ease-apple), transform 0.4s var(--ease-apple);
}

.floating-apple-dock.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.dock-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  text-decoration: none;
  border: none;
  background: transparent;
  cursor: pointer;
  transition: var(--transition-fast);
}

.dock-whatsapp {
  background-color: #25D366;
  color: #ffffff;
}

.dock-whatsapp:hover {
  background-color: #22bf5b;
  transform: scale(1.08);
}

.dock-instagram {
  background-color: rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
}

.dock-instagram:hover {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: #ffffff;
  transform: scale(1.08);
}

.dock-scroll-top {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
}

.dock-scroll-top:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-2px);
}

/* ==========================================================================
   Responsive Breakpoints - Modern Apple Mobile Experience
   ========================================================================== */
@media (max-width: 992px) {
  .bento-col-8,
  .bento-col-4,
  .bento-col-6 {
    grid-column: span 12;
  }

  .colleagues-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .nav-links {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    height: calc(100vh - var(--header-height));
    background-color: rgba(0, 0, 0, 0.96);
    backdrop-filter: blur(28px) saturate(180%);
    -webkit-backdrop-filter: blur(28px) saturate(180%);
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem 1.5rem 5rem 1.5rem;
    gap: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    border-bottom: 1px solid var(--border-subtle);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
    z-index: 9998;
  }

  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-link {
    width: 100%;
    padding: 1.05rem 0;
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--text-secondary);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .nav-link::after {
    content: "›";
    font-size: 1.35rem;
    color: var(--text-tertiary);
    transition: transform 0.2s ease, color 0.2s ease;
  }

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

  .nav-link:hover::after,
  .nav-link.active::after {
    color: var(--text-link);
    transform: translateX(4px);
  }

  .menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
  }
}

.contact-actions-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

@media (max-width: 640px) {
  .hero-apple {
    padding-top: calc(var(--header-height) + 2.5rem);
    padding-bottom: 4rem;
  }

  .hero-pill-badge {
    font-size: 0.78rem;
    padding: 0.45rem 1rem;
    max-width: 100%;
    margin-bottom: 1.25rem;
  }

  .hero-apple-headline {
    font-size: clamp(2.1rem, 8vw, 3.2rem);
    line-height: 1.1;
    margin-bottom: 1rem;
  }

  .hero-apple-sub {
    font-size: clamp(1rem, 3.8vw, 1.2rem);
    margin-bottom: 1.75rem;
  }

  .hero-apple-actions {
    gap: 0.85rem;
    margin-bottom: 2.5rem;
  }

  .hero-stage {
    max-width: 100%;
    padding: 0;
  }

  .stage-card {
    padding: 1rem 1rem 0 1rem;
    border-radius: 20px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.85), 0 0 35px rgba(41, 151, 255, 0.1);
  }

  .stage-portrait-cutout {
    height: auto;
    max-height: 440px;
    object-fit: contain;
  }

  .stage-floating-pill {
    padding: 0.35rem 0.7rem;
    font-size: 0.72rem;
    gap: 0.4rem;
  }

  .pill-left {
    top: 12px;
    left: 12px;
  }

  .pill-right {
    bottom: 15px;
    right: 12px;
  }

  .statement-section {
    padding: 4rem 0;
  }

  .statement-text {
    font-size: clamp(1.4rem, 5vw, 2rem);
  }

  .bento-section,
  .projects-minimal,
  .blog-section,
  .colleagues-section {
    padding: 3.5rem 0;
  }

  .section-heading-lg {
    font-size: clamp(1.75rem, 6.5vw, 2.4rem);
    margin-bottom: 2rem;
  }

  .bento-card {
    padding: 1.6rem 1.25rem;
    border-radius: 18px;
  }

  .bento-title {
    font-size: 1.35rem;
  }

  .bento-desc {
    font-size: 0.92rem;
  }

  .bento-graphic-box {
    margin-top: 1.5rem;
    padding: 1rem 0.85rem;
  }

  .teaser-card-apple {
    padding: 1.75rem 1.25rem;
    border-radius: 18px;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
  }

  .teaser-card-apple h3 {
    font-size: 1.5rem;
  }

  .teaser-card-apple p {
    font-size: 0.95rem;
  }

  .featured-blog-card {
    padding: 1.6rem 1.25rem;
    border-radius: 18px;
  }

  .featured-blog-img-wrap {
    height: 155px;
    max-height: 155px;
    flex: 0 0 155px;
    margin-bottom: 1.25rem;
  }

  .featured-blog-img {
    max-height: 155px;
  }

  .featured-blog-card h3 {
    font-size: 1.35rem;
  }

  .featured-blog-card p {
    font-size: 0.92rem;
    margin-bottom: 1.25rem;
  }

  .journal-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
    padding: 1rem 0.85rem;
  }

  .journal-row-left {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }

  .journal-category-tag {
    width: auto;
    font-size: 0.7rem;
  }

  .journal-row-title {
    font-size: 1rem;
  }

  .journal-arrow {
    display: none;
  }

  .colleague-card-apple {
    padding: 1.5rem 1.25rem;
    border-radius: 18px;
  }

  .colleague-quote {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
  }

  .contact-apple {
    padding: 4.5rem 0 5rem 0;
  }

  .contact-apple h2 {
    font-size: clamp(1.8rem, 6.5vw, 2.6rem);
  }

  .contact-apple p {
    font-size: 1rem;
    margin-bottom: 1.75rem;
  }

  .contact-email-link {
    font-size: 1.15rem;
    word-break: break-all;
    margin-bottom: 1.75rem;
  }

  .icon-circle-btn {
    width: 48px;
    height: 48px;
  }

  .apple-footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 0.85rem;
    padding-top: 2rem;
  }

  .apple-footer-links {
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.25rem;
  }

  .floating-apple-dock {
    bottom: 16px;
    right: 16px;
    padding: 0.35rem 0.45rem;
  }

  .dock-btn {
    width: 36px;
    height: 36px;
  }
}

/* ==========================================================================
   Apple-Style Editorial Blog Pages (blogs/*.html)
   ========================================================================== */
.blog-post-page {
  background-color: var(--bg-primary);
  color: var(--text-primary);
}

.article-wrapper {
  padding-top: calc(var(--header-height) + 3.5rem);
  padding-bottom: 7rem;
}

.blog-container {
  max-width: 760px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 3.5rem 3rem;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.7);
}

.breadcrumbs {
  font-size: 0.8rem;
  color: var(--text-tertiary);
  margin-bottom: 1.5rem;
}

.breadcrumbs a {
  color: var(--text-link);
}

.article-header {
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 2rem;
  margin-bottom: 2.5rem;
}

.blog-category-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-link);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.75rem;
}

.article-title {
  font-size: clamp(2rem, 3.8vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.article-meta-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.825rem;
  color: var(--text-tertiary);
}

.article-body {
  font-size: 1.05rem;
  line-height: 1.75;
  color: #d1d1d6;
}

.article-intro {
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--text-primary);
  border-left: 3px solid var(--text-link);
  padding-left: 1.25rem;
  margin-bottom: 2.25rem;
  line-height: 1.7;
}

.article-body h2 {
  font-size: 1.65rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--text-primary);
  margin: 2.75rem 0 1rem 0;
}

.article-body h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 1.75rem 0 0.75rem 0;
}

.article-body p {
  margin-bottom: 1.5rem;
}

.article-body ul {
  padding-left: 1.5rem;
  margin-bottom: 2rem;
  list-style: disc;
}

.article-body li {
  margin-bottom: 0.65rem;
}

.article-callout {
  background: rgba(41, 151, 255, 0.08);
  border: 1px solid rgba(41, 151, 255, 0.25);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  margin: 2.5rem 0;
}

.article-callout h3 {
  margin-top: 0;
  color: var(--text-link);
}

.author-bio-box {
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.author-avatar-img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--bg-elevated);
  border: 1px solid var(--border-focus);
  color: var(--text-primary);
  font-weight: 700;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ==========================================================================
   Interactive Queries, Questions & Feedback Section
   ========================================================================== */
.queries-section {
  padding: 8rem 0;
  border-top: 1px solid var(--border-subtle);
  position: relative;
  z-index: 10;
}

.queries-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  align-items: start;
}

.query-form-card,
.query-stream-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  padding: 2.5rem;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.query-form-card:hover,
.query-stream-card:hover {
  border-color: rgba(255, 255, 255, 0.14);
}

.query-card-title {
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.query-card-sub {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.55;
  margin-bottom: 2rem;
}

.query-form {
  display: flex;
  flex-direction: column;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.form-group label {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-tertiary);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1.1rem;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text-primary);
  transition: all var(--transition-fast);
  box-sizing: border-box;
}

.form-group select option {
  background: #111113;
  color: #fff;
  padding: 8px;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.28);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(41, 151, 255, 0.6);
  box-shadow: 0 0 0 3px rgba(41, 151, 255, 0.18);
}

.query-submit-btn {
  width: 100%;
  padding: 0.95rem 1.5rem;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  background: var(--text-primary);
  color: #000;
  border-radius: 980px;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
  transition: all var(--transition-fast);
}

.query-submit-btn:hover {
  background: #e5e5ea;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(255, 255, 255, 0.12);
}

.query-submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* Dynamic Instant Reply Box */
.query-reply-box {
  margin-top: 2rem;
  padding: 1.75rem;
  border-radius: var(--radius-md);
  background: rgba(41, 151, 255, 0.05);
  border: 1px solid rgba(41, 151, 255, 0.35);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.4), inset 0 0 20px rgba(41, 151, 255, 0.05);
  animation: appleReplyPop 0.45s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes appleReplyPop {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.reply-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(41, 151, 255, 0.2);
}

.reply-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-link);
}

.reply-pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #30d158;
  box-shadow: 0 0 8px rgba(48, 209, 88, 0.7);
  animation: pulseDot 2s infinite ease-in-out;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

.reply-timestamp {
  font-size: 0.75rem;
  color: var(--text-tertiary);
}

.reply-greeting {
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  font-size: 1.02rem;
}

.reply-content {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.reply-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding-top: 0.75rem;
}

.reply-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.6rem 1rem;
  border-radius: 980px;
  font-size: 0.82rem;
  font-weight: 500;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.reply-action-btn.whatsapp {
  background: rgba(46, 204, 113, 0.15);
  color: #2ecc71;
  border: 1px solid rgba(46, 204, 113, 0.35);
}

.reply-action-btn.whatsapp:hover {
  background: #2ecc71;
  color: #000;
  transform: translateY(-1px);
}

.reply-action-btn.email {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-primary);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.reply-action-btn.email:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-1px);
}

/* Stream / Live desk list */
.stream-header {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-subtle);
}

.stream-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #30d158;
  box-shadow: 0 0 10px rgba(48, 209, 88, 0.7);
}

.stream-header h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
}

.stream-list {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  max-height: 520px;
  overflow-y: auto;
  padding-right: 0.4rem;
}

.stream-list::-webkit-scrollbar {
  width: 5px;
}

.stream-list::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.02);
  border-radius: 4px;
}

.stream-list::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 4px;
}

.stream-item {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  padding: 1.15rem;
  transition: all var(--transition-fast);
}

.stream-item:hover {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
}

.stream-item-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.45rem;
}

.stream-item-name {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
}

.stream-item-tag {
  font-size: 0.7rem;
  font-weight: 500;
  padding: 0.2rem 0.6rem;
  border-radius: 980px;
  background: rgba(41, 151, 255, 0.12);
  color: var(--text-link);
  border: 1px solid rgba(41, 151, 255, 0.25);
}

.stream-item-tag.feedback {
  background: rgba(175, 82, 222, 0.12);
  color: #bf5af2;
  border-color: rgba(175, 82, 222, 0.25);
}

.stream-item-question {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 0.75rem;
  line-height: 1.45;
}

.stream-item-reply {
  background: rgba(0, 0, 0, 0.4);
  border-left: 2px solid var(--text-link);
  padding: 0.65rem 0.85rem;
  border-radius: 0 8px 8px 0;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.5;
}

.stream-item-reply strong {
  color: var(--text-primary);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  display: block;
  margin-bottom: 0.2rem;
}

@media (max-width: 900px) {
  .queries-section {
    padding: 5rem 0;
  }

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

  .query-form-row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .query-form-card,
  .query-stream-card {
    padding: 1.75rem;
  }
}

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

  .queries-grid {
    gap: 1.5rem;
  }

  .query-form-card,
  .query-stream-card {
    padding: 1.5rem 1.25rem;
    border-radius: 18px;
  }

  .query-card-title {
    font-size: 1.25rem;
  }

  .query-card-sub {
    font-size: 0.88rem;
    margin-bottom: 1.25rem;
  }

  /* Prevent iOS automatic viewport zoom by keeping inputs at least 16px */
  .form-group input,
  .form-group select,
  .form-group textarea {
    font-size: 16px !important;
    padding: 0.8rem 1rem;
    border-radius: 10px;
  }

  .query-submit-btn {
    padding: 0.85rem 1.25rem;
    font-size: 0.9rem;
  }

  .query-reply-box {
    padding: 1.35rem 1.1rem;
    border-radius: 14px;
    margin-top: 1.25rem;
  }

  .reply-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
  }

  .reply-greeting {
    font-size: 0.98rem;
  }

  .reply-content {
    font-size: 0.92rem;
    line-height: 1.55;
    margin-bottom: 1rem;
  }

  .reply-actions {
    flex-direction: column;
    width: 100%;
    gap: 0.65rem;
  }

  .reply-action-btn {
    width: 100%;
    justify-content: center;
    padding: 0.75rem 1rem;
    box-sizing: border-box;
    font-size: 0.85rem;
  }

  .stream-list {
    max-height: 400px;
    gap: 0.85rem;
  }

  .stream-item {
    padding: 1rem;
    border-radius: 14px;
  }

  .stream-item-question {
    font-size: 0.85rem;
  }

  .stream-item-reply {
    font-size: 0.82rem;
  }

  /* Editorial blog responsive adjustments */
  .article-wrapper {
    padding-top: calc(var(--header-height) + 1.75rem);
    padding-bottom: 4rem;
  }

  .blog-container {
    padding: 1.75rem 1.25rem;
    border-radius: 18px;
    background: rgba(18, 18, 20, 0.75);
    box-shadow: none;
  }

  .article-title {
    font-size: clamp(1.7rem, 6.5vw, 2.25rem);
    line-height: 1.2;
  }

  .article-lead {
    font-size: 1.05rem;
    line-height: 1.6;
  }

  .article-body {
    font-size: 1rem;
    line-height: 1.7;
  }

  .article-callout {
    padding: 1.25rem 1rem;
    margin: 1.75rem 0;
    border-radius: 14px;
  }

  .author-bio-box {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
    margin-top: 2.5rem;
    padding-top: 1.5rem;
  }
}

/* ==========================================================================
   Ultra-Compact Viewports (< 420px - iPhone SE, Galaxy Mini)
   ========================================================================== */
@media (max-width: 420px) {
  .container {
    padding: 0 1rem;
  }

  .logo span {
    display: none;
  }

  .nav-actions {
    gap: 0.45rem;
  }

  .nav-actions .btn-pill {
    padding: 0.35rem 0.85rem;
    font-size: 0.76rem;
  }

  .hero-apple-headline {
    font-size: 1.95rem;
  }

  .hero-apple-sub {
    font-size: 0.95rem;
  }

  .hero-apple-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-apple-actions .btn-pill,
  .hero-apple-actions .apple-link {
    width: 100%;
    justify-content: center;
    box-sizing: border-box;
  }

  .stage-floating-pill {
    display: none;
  }

  .contact-social-icons {
    gap: 0.75rem;
  }

  .icon-circle-btn {
    width: 44px;
    height: 44px;
  }
}

