/* ==========================================================================
   Glorexa Technologies — Official Website Stylesheet
   SaaS-Inspired Modern Design System | Pure CSS3 & Vanilla JS
   Cloudflare Pages Direct Upload Ready | 100% Mobile Responsive
   ========================================================================== */

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

:root {
  /* Core SaaS Palette */
  --primary-purple: #7454F5;
  --primary-purple-hover: #6340EB;
  --deep-violet: #5836D9;
  --dark-violet: #3A1F9E;
  --soft-lavender: #F0EBFF;
  --pale-lavender: #F8F6FF;
  --lavender-light: #F4F0FF;
  --lavender-card-border: rgba(116, 84, 245, 0.16);

  /* Glorexa Brand Gold Accents */
  --brand-gold: #D99B2B;
  --brand-gold-hover: #C5881C;
  --soft-gold: #FFF1CC;
  --gold-glow: rgba(217, 155, 43, 0.2);

  /* Typography Colors */
  --main-text: #17152F;
  --secondary-text: #5A5B72;
  --text-muted: #83859E;
  --text-light: #FFFFFF;

  /* Surfaces & Backgrounds */
  --bg-primary: #FFFFFF;
  --bg-secondary: #F8F6FF;
  --bg-card: #FFFFFF;
  --bg-card-subtle: #FAF9FF;
  --bg-blue-tint: #F2F7FF;

  /* WhatsApp Brand */
  --brand-whatsapp: #25D366;
  --brand-whatsapp-hover: #20BD5A;

  /* Glows & Gradients */
  --glow-purple: rgba(116, 84, 245, 0.14);
  --glow-blue: rgba(79, 172, 254, 0.12);
  --glow-pink: rgba(244, 114, 182, 0.12);
  --gradient-primary: linear-gradient(135deg, #7454F5 0%, #5836D9 100%);
  --gradient-hero-bg: radial-gradient(120% 100% at 50% 0%, #F5F1FF 0%, #FAF8FF 50%, #FFFFFF 100%);
  --gradient-cta: linear-gradient(135deg, #17152F 0%, #301E67 50%, #5836D9 100%);
  --gradient-gold: linear-gradient(135deg, #F9D423 0%, #D99B2B 100%);

  /* Borders & Shadows */
  --border-light: rgba(116, 84, 245, 0.12);
  --border-subtle: rgba(23, 21, 47, 0.06);
  --border-glass: rgba(255, 255, 255, 0.75);

  --shadow-sm: 0 2px 8px rgba(23, 21, 47, 0.04);
  --shadow-md: 0 8px 24px rgba(88, 54, 217, 0.08);
  --shadow-lg: 0 16px 40px rgba(88, 54, 217, 0.12);
  --shadow-hover: 0 20px 48px rgba(88, 54, 217, 0.16);
  --shadow-glow: 0 0 40px rgba(116, 84, 245, 0.2);

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

  --container-max: 1200px;
  --container-wide: 1280px;

  /* Transitions */
  --transition-fast: 180ms cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 260ms cubic-bezier(0.16, 1, 0.3, 1);

  /* Header Dimensions */
  --header-height: 74px;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background-color: var(--bg-primary);
  color: var(--main-text);
  line-height: 1.6;
  font-weight: 400;
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
  position: relative;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

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

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

button {
  cursor: pointer;
  background: none;
  border: none;
}

ul, ol {
  list-style: none;
}

/* Typography Hierarchy */
h1, h2, h3, h4, h5, h6 {
  color: var(--main-text);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.025em;
  text-wrap: balance;
  word-break: break-word;
  overflow-wrap: break-word;
}

h1 {
  font-size: clamp(2.15rem, 6.5vw, 4.25rem);
  line-height: 1.1;
  letter-spacing: -0.035em;
}

h2 {
  font-size: clamp(1.75rem, 4.8vw, 2.85rem);
  line-height: 1.18;
  margin-bottom: 0.85rem;
}

h3 {
  font-size: clamp(1.2rem, 3.2vw, 1.6rem);
  line-height: 1.28;
  margin-bottom: 0.5rem;
}

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

.lead-text {
  font-size: 1.15rem;
  line-height: 1.65;
  color: var(--secondary-text);
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.825rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary-purple);
  background-color: var(--soft-lavender);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
  border: 1px solid var(--lavender-card-border);
}

.kicker.kicker-gold {
  color: var(--brand-gold-hover);
  background-color: var(--soft-gold);
  border-color: rgba(217, 155, 43, 0.25);
}

.gradient-text {
  background: linear-gradient(135deg, #5836D9 0%, #7454F5 50%, #D99B2B 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

@media (max-width: 640px) {
  .container {
    padding-left: 1.15rem;
    padding-right: 1.15rem;
  }
}

@media (max-width: 380px) {
  .container {
    padding-left: 0.9rem;
    padding-right: 0.9rem;
  }
}

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

.section-alt {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.section-soft-lavender {
  background: linear-gradient(180deg, #F8F6FF 0%, #FFFFFF 100%);
}

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

.section-header.text-left {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
}

.section-header p {
  margin-top: 0.85rem;
}

/* Header & Top Bar */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-light);
  box-shadow: 0 2px 12px rgba(88, 54, 217, 0.04);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: var(--header-height);
}

/* Brand Wordmark */
.brand-wordmark {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--main-text);
  letter-spacing: -0.03em;
  white-space: nowrap;
  flex-shrink: 0;
}

.brand-wordmark img,
.brand-wordmark svg {
  width: 38px;
  height: 38px;
  filter: drop-shadow(0 4px 8px rgba(116, 84, 245, 0.2));
}

.brand-wordmark span span {
  color: var(--primary-purple);
}

/* Nav Links */
.site-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--secondary-text);
  white-space: nowrap;
  padding: 0.5rem 0;
  position: relative;
  transition: color var(--transition-fast);
}

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

.nav-link.active::after,
.nav-link:hover::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2.5px;
  border-radius: var(--radius-full);
  background: var(--gradient-primary);
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  color: var(--main-text);
  background-color: var(--soft-lavender);
  border: 1px solid var(--border-light);
  transition: all var(--transition-fast);
}

.menu-toggle:hover {
  background-color: #E8E0FF;
  color: var(--primary-purple);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.72rem 1.45rem;
  font-size: 0.95rem;
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
  border-radius: var(--radius-md);
  transition: all var(--transition-normal);
  text-decoration: none;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--gradient-primary);
  color: #FFFFFF;
  box-shadow: 0 6px 20px rgba(116, 84, 245, 0.28);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #6340EB 0%, #4728C2 100%);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(116, 84, 245, 0.38);
  color: #FFFFFF;
}

.btn-gold {
  background: var(--gradient-gold);
  color: #17152F;
  font-weight: 700;
  box-shadow: 0 6px 18px rgba(217, 155, 43, 0.28);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(217, 155, 43, 0.38);
  color: #17152F;
}

.btn-whatsapp {
  background-color: var(--brand-whatsapp);
  color: #FFFFFF;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.25);
}

.btn-whatsapp:hover {
  background-color: var(--brand-whatsapp-hover);
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
}

.btn-outline {
  border: 1px solid var(--border-light);
  background-color: #FFFFFF;
  color: var(--main-text);
  box-shadow: var(--shadow-sm);
}

.btn-outline:hover {
  border-color: var(--primary-purple);
  background-color: var(--pale-lavender);
  color: var(--primary-purple);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-sm {
  padding: 0.48rem 1.05rem;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 0.9rem 2rem;
  font-size: 1.05rem;
  border-radius: var(--radius-md);
}



/* ==========================================================================
   TRANSFORMED HERO SECTION (SaaS 2-Column with CSS Mockups & Charts)
   ========================================================================== */
.hero-section {
  position: relative;
  padding: 5rem 0 5.5rem 0;
  background: var(--gradient-hero-bg);
  border-bottom: 1px solid var(--border-light);
  overflow: hidden;
}

/* Soft Ambient Glows behind elements */
.hero-glow-1 {
  position: absolute;
  top: 10%;
  left: -5%;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, var(--glow-purple) 0%, rgba(116, 84, 245, 0) 70%);
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}

.hero-glow-2 {
  position: absolute;
  top: 15%;
  right: -5%;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, var(--glow-pink) 0%, rgba(244, 114, 182, 0) 70%);
  border-radius: 50%;
  filter: blur(70px);
  pointer-events: none;
  z-index: 0;
}

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

.hero-content h1 {
  margin-bottom: 1.25rem;
}

.hero-content .lead-text {
  margin-bottom: 2.25rem;
  max-width: 560px;
}

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

/* Service indicators / Trust pills in Hero */
.hero-service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-light);
}

.service-pill-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.835rem;
  font-weight: 600;
  color: var(--main-text);
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--border-light);
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-full);
  box-shadow: 0 2px 6px rgba(88, 54, 217, 0.04);
}

.service-pill-tag svg {
  color: var(--primary-purple);
}

/* Right Side: SaaS Layered Composition */
.hero-composition-wrap {
  position: relative;
  width: 100%;
}

/* Browser Window Mockup */
.browser-window-mockup {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(116, 84, 245, 0.06);
  overflow: hidden;
  position: relative;
  transition: transform var(--transition-normal);
}

.browser-header {
  background: #FAF8FF;
  border-bottom: 1px solid var(--border-light);
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.browser-dots {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

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

.browser-dot.red { background-color: #FF5F56; }
.browser-dot.yellow { background-color: #FFBD2E; }
.browser-dot.green { background-color: #27C93F; }

.browser-address-bar {
  flex: 1;
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 0.3rem 0.75rem;
  font-size: 0.75rem;
  font-family: 'JetBrains Mono', monospace;
  color: var(--secondary-text);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.browser-address-bar svg {
  color: #10B981;
}

.browser-body {
  padding: 1.5rem;
  background: linear-gradient(180deg, #FFFFFF 0%, #FAF8FF 100%);
}

/* Inner Mini Dashboard */
.mockup-dashboard-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.mockup-kpi-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1rem;
  box-shadow: var(--shadow-sm);
}

.mockup-kpi-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.25rem;
}

.mockup-kpi-val {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--main-text);
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
}

.mockup-kpi-growth {
  font-size: 0.75rem;
  font-weight: 700;
  color: #10B981;
}

/* CSS Sparkline Bar Chart */
.mockup-chart-box {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  margin-bottom: 1rem;
}

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

.chart-title {
  font-size: 0.825rem;
  font-weight: 700;
  color: var(--main-text);
}

.chart-badge {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--primary-purple);
  background: var(--soft-lavender);
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-full);
}

.css-bar-chart {
  display: flex;
  align-items: flex-end;
  gap: 0.65rem;
  height: 70px;
  padding-top: 0.5rem;
}

.chart-bar-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  height: 100%;
  justify-content: flex-end;
}

.chart-bar {
  width: 100%;
  border-radius: 4px 4px 0 0;
  background: var(--soft-lavender);
  transition: height var(--transition-normal);
}

.chart-bar.highlight {
  background: var(--gradient-primary);
  box-shadow: 0 4px 10px rgba(116, 84, 245, 0.3);
}

.chart-bar.gold {
  background: var(--gradient-gold);
}

.chart-day {
  font-size: 0.65rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* Floating Glass Cards */
.floating-card-1 {
  position: absolute;
  top: -1.5rem;
  right: -1.25rem;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 0.85rem 1.15rem;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 2;
  animation: floatSlow 5s ease-in-out infinite;
}

.floating-card-2 {
  position: absolute;
  bottom: -1.5rem;
  left: -1.5rem;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 0.9rem 1.25rem;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.85rem;
  z-index: 2;
  animation: floatSlow 6s ease-in-out infinite reverse;
}

.float-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: var(--soft-lavender);
  color: var(--primary-purple);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.float-icon.gold {
  background: var(--soft-gold);
  color: var(--brand-gold-hover);
}

.float-icon.whatsapp {
  background: #E8FDF0;
  color: var(--brand-whatsapp);
}

.float-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--main-text);
  line-height: 1.2;
}

.float-sub {
  font-size: 0.725rem;
  color: var(--secondary-text);
}

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

/* ==========================================================================
   FEATURED SERVICES CARDS (SaaS Aesthetic Upgrade)
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
  gap: 2rem;
}

.service-card {
  background-color: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

/* Gradient accent bar on top of service card */
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3.5px;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(116, 84, 245, 0.35);
}

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

.service-icon-box {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  background: var(--soft-lavender);
  color: var(--primary-purple);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.35rem;
  border: 1px solid var(--lavender-card-border);
  transition: transform var(--transition-fast);
}

.service-card:hover .service-icon-box {
  transform: scale(1.05);
  background: var(--gradient-primary);
  color: #FFFFFF;
}

.service-icon-box.gold {
  background: var(--soft-gold);
  color: var(--brand-gold-hover);
  border-color: rgba(217, 155, 43, 0.25);
}

.service-card:hover .service-icon-box.gold {
  background: var(--gradient-gold);
  color: #17152F;
}

.service-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--main-text);
  margin-bottom: 0.65rem;
}

.service-desc {
  font-size: 0.95rem;
  color: var(--secondary-text);
  line-height: 1.6;
  margin-bottom: 1.35rem;
}

.service-features-list {
  margin-bottom: 1.75rem;
}

.service-features-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.885rem;
  color: var(--secondary-text);
  margin-bottom: 0.5rem;
}

.service-features-list svg {
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--primary-purple);
}

.service-action-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.925rem;
  font-weight: 700;
  color: var(--primary-purple);
  padding-top: 1rem;
  border-top: 1px solid var(--border-light);
  transition: all var(--transition-fast);
}

.service-action-link:hover {
  color: var(--deep-violet);
  gap: 0.75rem;
}

/* ==========================================================================
   FEATURE DEEP DIVE & CSS COMPONENT MOCKUPS
   ========================================================================== */
.split-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4.5rem;
  margin-bottom: 5.5rem;
}

.split-row:last-child {
  margin-bottom: 0;
}

.split-row-mt {
  margin-top: 5.5rem;
}

@media (min-width: 1025px) {
  .split-row.reverse > :first-child {
    order: 2;
  }
  .split-row.reverse > :last-child {
    order: 1;
  }
}

.split-text {
  min-width: 0;
  width: 100%;
}

.split-image-wrap {
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
}

.split-image-wrap img {
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: cover;
  display: block;
}

/* Code & Architecture Window Mockup */
.code-mockup-window {
  background: #17152F;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(116, 84, 245, 0.2);
  box-shadow: var(--shadow-lg), 0 0 40px rgba(116, 84, 245, 0.12);
  overflow: hidden;
  color: #E2E8F0;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.85rem;
  width: 100%;
  max-width: 100%;
}

.code-mockup-header {
  background: #121024;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.code-tabs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.code-tab {
  font-size: 0.75rem;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm);
  background: rgba(116, 84, 245, 0.15);
  color: #C4B5FD;
}

.code-mockup-body {
  padding: 1.5rem;
  line-height: 1.7;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.code-line {
  display: flex;
  gap: 1rem;
}

.code-num {
  color: #4C4B63;
  user-select: none;
  width: 20px;
  text-align: right;
}

.token-keyword { color: #F472B6; }
.token-function { color: #60A5FA; }
.token-string { color: #34D399; }
.token-comment { color: #6B7280; font-style: italic; }
.token-gold { color: #FBBF24; }

/* Marketing Analytics Dashboard Mockup */
.analytics-mockup-box {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.analytics-campaign-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  background: var(--bg-secondary);
  border-radius: var(--radius-md);
  margin-bottom: 0.75rem;
  border: 1px solid var(--border-light);
}

.campaign-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.campaign-icon {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.75rem;
}

.campaign-icon.google { background: #EBF3FF; color: #1D6AE5; }
.campaign-icon.meta { background: #F0EBFF; color: #7454F5; }
.campaign-icon.youtube { background: #FEE8E8; color: #EA4335; }

.campaign-name {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--main-text);
}

.campaign-stats {
  font-size: 0.825rem;
  font-weight: 700;
  color: #10B981;
}

/* Automation Workflow Diagram */
.workflow-diagram-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-lg);
}

.workflow-node-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  position: relative;
}

.workflow-node {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  background: var(--pale-lavender);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  position: relative;
  transition: transform var(--transition-fast);
}

.workflow-node:hover {
  transform: translateX(4px);
  border-color: var(--primary-purple);
  background: #FFFFFF;
  box-shadow: var(--shadow-md);
}

.workflow-step-num {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-full);
  background: var(--gradient-primary);
  color: #FFFFFF;
  font-weight: 800;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.workflow-step-text h4 {
  font-size: 0.95rem;
  margin-bottom: 0.15rem;
}

.workflow-step-text p {
  font-size: 0.8rem;
  color: var(--secondary-text);
}

.workflow-connector-line {
  position: absolute;
  left: 28px;
  top: 40px;
  bottom: 40px;
  width: 2px;
  background: linear-gradient(180deg, #7454F5 0%, #D99B2B 100%);
  z-index: 0;
}

/* WhatsApp Message Mockup */
.whatsapp-chat-mockup {
  background: #EFEAE2;
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: var(--shadow-md);
  max-width: 440px;
  margin: 0 auto;
}

.chat-bubble {
  max-width: 85%;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  font-size: 0.85rem;
  line-height: 1.45;
  margin-bottom: 0.85rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.chat-incoming {
  background: #FFFFFF;
  color: #111B21;
  border-top-left-radius: 2px;
}

.chat-outgoing {
  background: #D9FDD3;
  color: #111B21;
  margin-left: auto;
  border-top-right-radius: 2px;
}

.chat-meta-time {
  font-size: 0.65rem;
  color: #667781;
  text-align: right;
  margin-top: 0.25rem;
}

.chat-quick-actions {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-top: 0.5rem;
}

.chat-action-btn {
  background: #FFFFFF;
  border: 1px solid #D1D7DB;
  border-radius: 8px;
  padding: 0.4rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: #00A884;
  text-align: center;
}

/* ==========================================================================
   WHY CHOOSE US (Bento-Inspired Varied Surfaces)
   ========================================================================== */
.why-choose-bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.bento-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  transition: all var(--transition-normal);
  position: relative;
  box-shadow: var(--shadow-sm);
}

.bento-card:hover {
  transform: translateY(-3px);
  border-color: rgba(116, 84, 245, 0.3);
  box-shadow: var(--shadow-md);
}

.bento-card.featured-bento {
  background: linear-gradient(135deg, #F8F6FF 0%, #FFFFFF 100%);
  border-color: rgba(116, 84, 245, 0.25);
  box-shadow: var(--shadow-md);
}

.bento-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.65rem;
}

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

/* ==========================================================================
   WORK PROCESS (Modern Horizontal Timeline)
   ========================================================================== */
.timeline-track-wrap {
  position: relative;
  margin-top: 2rem;
}

.timeline-progress-bar {
  position: absolute;
  top: 28px;
  left: 5%;
  right: 5%;
  height: 3px;
  background: linear-gradient(90deg, #7454F5 0%, #A78BFA 50%, #D99B2B 100%);
  z-index: 0;
}

.process-timeline-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
  position: relative;
  z-index: 1;
}

.timeline-step-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.75rem 1.25rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

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

.timeline-num {
  width: 44px;
  height: 44px;
  margin: 0 auto 1.25rem auto;
  border-radius: var(--radius-full);
  background: #FFFFFF;
  border: 2px solid var(--primary-purple);
  color: var(--primary-purple);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
  box-shadow: 0 0 0 6px var(--pale-lavender);
  transition: all var(--transition-fast);
}

.timeline-step-card:hover .timeline-num {
  background: var(--gradient-primary);
  color: #FFFFFF;
}

.timeline-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--main-text);
  margin-bottom: 0.45rem;
}

.timeline-desc {
  font-size: 0.85rem;
  color: var(--secondary-text);
  line-height: 1.55;
}

/* ==========================================================================
   FAQ ACCORDION
   ========================================================================== */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  margin-bottom: 1.15rem;
  background-color: #FFFFFF;
  overflow: hidden;
  transition: all var(--transition-fast);
}

.faq-item:hover {
  border-color: rgba(116, 84, 245, 0.3);
}

.faq-item.active {
  border-color: var(--primary-purple);
  box-shadow: 0 4px 16px rgba(116, 84, 245, 0.08);
}

.faq-question {
  width: 100%;
  padding: 1.35rem 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--main-text);
  background: none;
  transition: color var(--transition-fast);
}

.faq-question:hover {
  color: var(--primary-purple);
}

.faq-icon {
  flex-shrink: 0;
  margin-left: 1rem;
  color: var(--primary-purple);
  transition: transform var(--transition-fast);
}

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

.faq-answer {
  display: none;
  padding: 0 1.75rem 1.5rem 1.75rem;
  color: var(--secondary-text);
  font-size: 0.95rem;
  line-height: 1.65;
  border-top: 1px solid rgba(116, 84, 245, 0.08);
  padding-top: 1.15rem;
}

.faq-item.active .faq-answer {
  display: block;
}

/* ==========================================================================
   CONTACT CTA SECTION (Striking Lavender-to-Purple Gradient)
   ========================================================================== */
.cta-gradient-box {
  background: var(--gradient-cta);
  border-radius: var(--radius-xl);
  padding: 4.5rem 2.5rem;
  text-align: center;
  color: #FFFFFF;
  box-shadow: var(--shadow-lg), 0 0 50px rgba(88, 54, 217, 0.25);
  position: relative;
  overflow: hidden;
}

.cta-gradient-box::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(217, 155, 43, 0.25) 0%, transparent 70%);
  pointer-events: none;
}

.cta-gradient-box h2 {
  color: #FFFFFF;
  margin-bottom: 1.15rem;
}

.cta-gradient-box p {
  color: #E2E8F0;
  max-width: 660px;
  margin: 0 auto 2.5rem auto;
  font-size: 1.15rem;
}

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

/* ==========================================================================
   CONTACT PAGE & FORM
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: flex-start;
}

.contact-card {
  background-color: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.75rem;
  box-shadow: var(--shadow-md);
}

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

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--main-text);
  margin-bottom: 0.5rem;
}

.form-label .required {
  color: #EF4444;
}

.form-control {
  width: 100%;
  padding: 0.82rem 1.15rem;
  font-size: 0.95rem;
  color: var(--main-text);
  background-color: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-purple);
  box-shadow: 0 0 0 3px rgba(116, 84, 245, 0.15);
}

.form-control.is-invalid {
  border-color: #EF4444;
}

.form-error-msg {
  display: none;
  font-size: 0.8rem;
  color: #EF4444;
  margin-top: 0.35rem;
}

.form-error-msg.visible {
  display: block;
}

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

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

.info-item-card {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 1.5rem;
  background-color: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.info-item-card:hover {
  border-color: var(--primary-purple);
  box-shadow: var(--shadow-md);
}

.info-icon {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-md);
  background-color: var(--soft-lavender);
  color: var(--primary-purple);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.info-content h4 {
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
}

.info-content p,
.info-content a {
  font-size: 0.925rem;
  color: var(--secondary-text);
}

.info-content a:hover {
  color: var(--primary-purple);
  text-decoration: underline;
}

.whatsapp-submission-preview {
  display: none;
  background-color: #F0FDF4;
  border: 1px solid #BBF7D0;
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-top: 1.5rem;
}

.whatsapp-submission-preview.visible {
  display: block;
}

.preview-title {
  font-weight: 700;
  color: #166534;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.preview-text {
  font-size: 0.9rem;
  color: #14532D;
  margin-bottom: 1.25rem;
  line-height: 1.5;
}

/* ==========================================================================
   LEGAL PAGES
   ========================================================================== */
.legal-content-wrap {
  max-width: 860px;
  margin: 0 auto;
  background-color: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 3.5rem;
  box-shadow: var(--shadow-sm);
}

.legal-content-wrap h2 {
  font-size: 1.4rem;
  margin-top: 2.25rem;
  margin-bottom: 0.75rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid rgba(116, 84, 245, 0.1);
}

.legal-content-wrap h3 {
  font-size: 1.15rem;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.legal-content-wrap p,
.legal-content-wrap li {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--secondary-text);
  margin-bottom: 1rem;
}

.legal-content-wrap ul {
  padding-left: 1.5rem;
  list-style: disc;
  margin-bottom: 1.25rem;
}

.legal-meta-date {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

/* ==========================================================================
   SITE FOOTER (Deep Contrast with Violet/Navy Tone)
   ========================================================================== */
.site-footer {
  background-color: #121024;
  border-top: 1px solid rgba(116, 84, 245, 0.2);
  padding-top: 4.5rem;
  padding-bottom: 2.5rem;
  color: #E2E8F0;
}

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

.footer-brand .brand-wordmark {
  color: #FFFFFF;
  margin-bottom: 1rem;
}

.footer-brand p {
  font-size: 0.925rem;
  color: #94A3B8;
  line-height: 1.65;
  margin-bottom: 1.25rem;
  max-width: 340px;
}

.footer-col h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 1.25rem;
  letter-spacing: -0.01em;
}

.footer-links li {
  margin-bottom: 0.7rem;
}

.footer-links a {
  font-size: 0.9rem;
  color: #94A3B8;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: #FFFFFF;
  text-decoration: underline;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.885rem;
  color: #94A3B8;
  margin-bottom: 0.95rem;
  line-height: 1.5;
}

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

.footer-contact-item a {
  color: #94A3B8;
}

.footer-contact-item a:hover {
  color: #FFFFFF;
}

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

.footer-legal-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.footer-legal-links a {
  color: #64748B;
}

.footer-legal-links a:hover {
  color: #FFFFFF;
}

/* ==========================================================================
   FLOATING WHATSAPP & MOBILE DRAWER
   ========================================================================== */
.floating-whatsapp-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  background-color: var(--brand-whatsapp);
  color: #FFFFFF;
  padding: 0.8rem 1.35rem;
  border-radius: var(--radius-full);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.4);
  font-weight: 700;
  font-size: 0.925rem;
  transition: all var(--transition-fast);
  text-decoration: none;
}

.floating-whatsapp-btn:hover {
  background-color: var(--brand-whatsapp-hover);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5);
  color: #FFFFFF;
}

.floating-whatsapp-btn svg {
  width: 22px;
  height: 22px;
}

.mobile-nav-drawer {
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #FFFFFF;
  z-index: 999;
  padding: 1.75rem 1.5rem;
  display: none;
  flex-direction: column;
  gap: 1.25rem;
  border-top: 1px solid var(--border-light);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.mobile-nav-drawer.open {
  display: flex;
}

.mobile-nav-link {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--main-text);
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--border-light);
}

.mobile-nav-link.active {
  color: var(--primary-purple);
}

/* ==========================================================================
   MOBILE-FIRST BREAKPOINTS & RESPONSIVE SYSTEM
   ========================================================================== */

/* Tablet & Laptop Breakpoint (max-width: 1024px) */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3.25rem;
  }

  .split-row {
    grid-template-columns: 1fr;
    gap: 2.25rem;
    margin-bottom: 3.5rem;
  }

  .split-row-mt {
    margin-top: 3.5rem !important;
  }

  .process-timeline-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }

  .timeline-progress-bar {
    display: none;
  }

  .why-choose-bento {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

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

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

/* Tablet & Mobile Hero Mockup Restructuring (max-width: 992px) */
@media (max-width: 992px) {
  .hero-composition-wrap {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    position: relative;
    margin-top: 0.5rem;
  }

  .browser-window-mockup {
    order: 1;
    width: 100%;
  }

  .floating-card-1 {
    position: static;
    top: auto;
    right: auto;
    order: 2;
    width: 100%;
    animation: none;
    transform: none !important;
    box-shadow: var(--shadow-sm);
  }

  .floating-card-2 {
    position: static;
    bottom: auto;
    left: auto;
    order: 3;
    width: 100%;
    animation: none;
    transform: none !important;
    box-shadow: var(--shadow-sm);
  }
}

@media (min-width: 601px) and (max-width: 992px) {
  .hero-composition-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }

  .browser-window-mockup {
    grid-column: 1 / -1;
  }

  .floating-card-1 {
    grid-column: 1 / 2;
  }

  .floating-card-2 {
    grid-column: 2 / 3;
  }
}

/* Mobile & Tablet Handheld Breakpoint (max-width: 768px) */
@media (max-width: 768px) {
  :root {
    --header-height: 66px;
  }

  .site-nav,
  .header-actions .btn {
    display: none;
  }

  .menu-toggle {
    display: flex;
    width: 42px;
    height: 42px;
  }

  .header-inner {
    height: var(--header-height);
    gap: 0.75rem;
  }

  .brand-wordmark {
    font-size: 1.15rem;
    gap: 0.6rem;
  }

  .brand-wordmark img,
  .brand-wordmark svg {
    width: 32px;
    height: 32px;
  }

  .mobile-nav-drawer {
    top: var(--header-height);
  }

  .section {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
  }

  .section-header {
    margin-bottom: 2.25rem;
  }

  .section-header h2 {
    font-size: 1.85rem;
  }

  .hero-section {
    padding: 3rem 0 3.5rem 0;
  }

  .hero-glow-1,
  .hero-glow-2 {
    width: 260px;
    height: 260px;
    filter: blur(40px);
  }

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

  .service-card {
    padding: 1.6rem 1.25rem;
  }

  .why-choose-bento {
    grid-template-columns: 1fr;
    gap: 1.15rem;
  }

  .bento-card {
    padding: 1.6rem 1.25rem;
  }

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

  .timeline-step-card {
    padding: 1.35rem 1.15rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    text-align: left;
  }

  .timeline-num {
    margin: 0;
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    font-size: 0.9rem;
  }

  .cta-gradient-box {
    padding: 2.75rem 1.25rem;
    border-radius: var(--radius-lg);
  }

  .cta-actions-wrap {
    flex-direction: column;
    width: 100%;
    gap: 0.85rem;
  }

  .cta-actions-wrap .btn {
    width: 100%;
    justify-content: center;
  }

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

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.15rem;
  }

  .footer-legal-links {
    flex-wrap: wrap;
    gap: 1.15rem;
  }

  .floating-whatsapp-btn {
    padding: 0.75rem;
    bottom: 1.25rem;
    right: 1.25rem;
    z-index: 98;
  }

  .floating-whatsapp-btn span {
    display: none;
  }

  .legal-content-wrap {
    padding: 1.6rem 1.15rem;
  }
}

/* Smartphone Portrait Breakpoint (max-width: 640px) */
@media (max-width: 640px) {
  h1 {
    font-size: clamp(2rem, 8.5vw, 2.75rem);
  }

  .hero-content .lead-text {
    font-size: 1rem;
    margin-bottom: 1.75rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    margin-bottom: 2rem;
  }

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

  .hero-service-tags {
    gap: 0.45rem;
  }

  .service-pill-tag {
    font-size: 0.775rem;
    padding: 0.35rem 0.65rem;
  }

  .browser-header {
    padding: 0.65rem 0.85rem;
    gap: 0.6rem;
  }

  .browser-address-bar {
    font-size: 0.7rem;
    padding: 0.25rem 0.5rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .browser-body {
    padding: 1.15rem 0.85rem;
  }

  .mockup-dashboard-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
    margin-bottom: 0.85rem;
  }

  .mockup-kpi-card {
    padding: 0.75rem 0.6rem;
  }

  .mockup-kpi-label {
    font-size: 0.68rem;
  }

  .mockup-kpi-val {
    font-size: 1.15rem;
  }

  .mockup-chart-box {
    padding: 0.85rem 0.75rem;
  }

  .css-bar-chart {
    gap: 0.35rem;
    height: 60px;
  }

  .chart-day {
    font-size: 0.62rem;
  }

  .code-mockup-body {
    padding: 1rem 0.75rem;
    font-size: 0.775rem;
  }

  .analytics-mockup-box {
    padding: 1.25rem 1rem;
  }

  .analytics-campaign-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
  }

  .campaign-stats {
    align-self: flex-start;
    font-size: 0.775rem;
    padding-left: 2.65rem;
  }

  .workflow-diagram-card {
    padding: 1.25rem 1rem;
  }

  .workflow-node {
    gap: 0.85rem;
    padding: 0.85rem 1rem;
  }

  .whatsapp-chat-mockup {
    padding: 1.15rem 0.85rem;
  }

  .chat-bubble {
    max-width: 92%;
    padding: 0.65rem 0.85rem;
    font-size: 0.825rem;
  }

  .contact-card {
    padding: 1.5rem 1.15rem;
  }

  .info-item-card {
    padding: 1.15rem 1rem;
    gap: 0.85rem;
  }

  .form-control {
    font-size: 16px; /* Stop iOS Safari zoom on focus */
    padding: 0.75rem 0.95rem;
  }

  .faq-question {
    padding: 1.1rem 1rem;
    font-size: 0.95rem;
    gap: 0.75rem;
  }

  .faq-icon {
    margin-left: 0.5rem;
  }

  .faq-answer {
    padding: 0 1rem 1.15rem 1rem;
    font-size: 0.885rem;
  }
}

/* Compact Smartphones (max-width: 480px) */
@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 2.15rem;
  }

  .service-card {
    padding: 1.35rem 1rem;
  }

  .bento-card {
    padding: 1.35rem 1rem;
  }

  .contact-card {
    padding: 1.25rem 1rem;
  }
}

/* Ultra-Compact & Foldable Screens (max-width: 360px) */
@media (max-width: 360px) {
  .brand-wordmark {
    font-size: 1.05rem;
    gap: 0.45rem;
  }

  .brand-wordmark span span {
    display: none; /* Shows 'Glorexa' on 320px screens */
  }

  .mockup-dashboard-grid {
    grid-template-columns: 1fr;
  }

  .browser-dots {
    display: none;
  }

  .timeline-step-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.65rem;
  }

  .contact-card {
    padding: 1.15rem 0.85rem;
  }
}

/* Accessibility: Prefers reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
