﻿/* ==========================================================================
   HEENA CHHABRIA PORTFOLIO WEBSITE - DYNAMIC HYBRID DESIGN SYSTEM
   ========================================================================== */

/* Import Premium Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&display=swap');

/* Design Tokens & Variables (Light/Slate Theme Default) */
:root {
  /* Colors */
  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc; /* slate-50 */
  --bg-tertiary: #f1f5f9;  /* slate-100 */
  
  --text-primary: #0f172a;   /* slate-900 */
  --text-secondary: #475569; /* slate-600 */
  --text-muted: #64748b;     /* slate-500 */
  
  /* Gradients */
  --grad-primary: linear-gradient(135deg, #7c3aed 0%, #a855f7 50%, #06b6d4 100%);
  --grad-accent: linear-gradient(135deg, #0ea5e9 0%, #2563eb 50%, #7c3aed 100%);
  --grad-warm: linear-gradient(135deg, #ea580c 0%, #eab308 50%, #f97316 100%);
  
  /* Glossy Border Gradient for Light Cards */
  --border-glossy: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(15, 23, 42, 0.06) 50%, rgba(15, 23, 42, 0.03) 100%);
  --border-glossy-active: linear-gradient(135deg, rgba(124, 58, 237, 0.3) 0%, rgba(14, 165, 233, 0.3) 100%);
  --grad-dark-card: linear-gradient(180deg, rgba(255, 255, 255, 0.8) 0%, rgba(248, 250, 252, 0.9) 100%);
  
  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 4px 20px -2px rgba(15, 23, 42, 0.05), 0 10px 40px -10px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 10px 30px -5px rgba(15, 23, 42, 0.08), 0 20px 50px -15px rgba(15, 23, 42, 0.12);
  --shadow-glow-purple: 0 0 20px rgba(124, 58, 237, 0.15);
  --shadow-glow-cyan: 0 0 20px rgba(14, 165, 233, 0.15);
  
  /* Layout & Animation */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

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

button, input, select, textarea {
  font-family: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
}

/* Scrollbar Customization */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-secondary);
}
::-webkit-scrollbar-thumb {
  background: rgba(15, 23, 42, 0.1);
  border-radius: 4px;
  border: 2px solid var(--bg-secondary);
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(15, 23, 42, 0.2);
}

/* ==========================================================================
   AMBIENT GLOW BACKGROUNDS (SOFT PASTEL BLOBS)
   ========================================================================== */
.ambient-glow-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
}

.glow-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(130px);
  opacity: 0.25;
  mix-blend-mode: multiply;
  animation: float 25s ease-in-out infinite alternate;
}

.glow-blob-1 {
  top: -10%;
  left: 10%;
  width: 45vw;
  height: 45vw;
  background: radial-gradient(circle, #e879f9 0%, rgba(232, 121, 249, 0) 70%); /* soft violet */
}

.glow-blob-2 {
  bottom: 10%;
  right: -5%;
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, #67e8f9 0%, rgba(103, 232, 249, 0) 70%); /* soft cyan */
  animation-delay: -5s;
  animation-duration: 30s;
}

.glow-blob-3 {
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 35vw;
  height: 35vw;
  background: radial-gradient(circle, #fbcfe8 0%, rgba(251, 207, 232, 0) 70%); /* soft pink */
  animation-delay: -10s;
  animation-duration: 20s;
}

@keyframes float {
  0% { transform: translate(0, 0) scale(1) rotate(0deg); }
  50% { transform: translate(3vw, -3vw) scale(1.05) rotate(180deg); }
  100% { transform: translate(-1vw, 1vw) scale(0.95) rotate(360deg); }
}

/* Grid Overlay */
.grid-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background-image: 
    linear-gradient(to right, rgba(15, 23, 42, 0.015) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15, 23, 42, 0.015) 1px, transparent 1px);
  background-size: 50px 50px;
  mask-image: radial-gradient(circle at 50% 50%, black 40%, transparent 90%);
  pointer-events: none;
}

/* ==========================================================================
   SHARED DESIGN COMPONENT STYLES (GLASS, BUTTONS, GRADIENTS)
   ========================================================================== */

/* Glass Card Component (Frosted Light) */
.glass-card {
  position: relative;
  background: var(--grad-dark-card) padding-box, var(--border-glossy) border-box;
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal), background var(--transition-normal);
  overflow: hidden;
}

.glass-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  background: var(--grad-dark-card) padding-box, var(--border-glossy-active) border-box;
}

/* Mouse spotlight reflect shine on hover */
.glass-card::after {
  content: '';
  position: absolute;
  top: var(--mouse-y, 0px);
  left: var(--mouse-x, 0px);
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.05) 0%, rgba(255, 255, 255, 0) 70%);
  transform: translate(-50%, -50%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: 1;
}

.glass-card:hover::after {
  opacity: 1;
}

.glass-card-content {
  position: relative;
  z-index: 2;
  padding: 2rem;
}

/* Gradient Text */
.text-gradient-purple {
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-cyan {
  background: var(--grad-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-warm {
  background: var(--grad-warm);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Glowing Badges */
.glass-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.25rem;
  background: rgba(255, 255, 255, 0.8) padding-box, var(--border-glossy) border-box;
  border: 1px solid transparent;
  border-radius: 100px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  box-shadow: 0 4px 15px rgba(15, 23, 42, 0.05);
}

.glass-badge .badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #16a34a;
  box-shadow: 0 0 8px #16a34a;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(22, 163, 74, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(22, 163, 74, 0); }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.875rem 2rem;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--grad-primary);
  color: #fff;
  box-shadow: 0 4px 15px rgba(124, 58, 237, 0.25);
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: 0.5s;
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(124, 58, 237, 0.35);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.8) padding-box, var(--border-glossy) border-box;
  border: 1px solid transparent;
  color: var(--text-primary);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 15px rgba(15, 23, 42, 0.05);
}

.btn-secondary:hover {
  background: #ffffff padding-box, var(--border-glossy-active) border-box;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.08);
}

.btn-icon {
  width: 20px;
  height: 20px;
  transition: transform var(--transition-fast);
}

.btn:hover .btn-icon {
  transform: translateX(4px);
}

/* ==========================================================================
   NAVIGATION BAR (DYNAMIC SCROLL THEME)
   ========================================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background var(--transition-normal), border var(--transition-normal), padding var(--transition-normal), color var(--transition-normal);
  padding: 1.5rem 0;
  color: #ffffff; /* White text when overlaying dark hero */
}

/* Frosted navbar states */
.navbar.scrolled, .navbar.light-nav {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  padding: 0.9rem 0;
  color: var(--text-primary); /* Slate text when on white bg */
}

/* Default state: nav logo is white text, scrolled: logo is slate-900 */
.nav-container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: inherit;
}

.nav-logo img {
  height: 52px;
  width: auto;
  display: block;
  transition: filter var(--transition-normal);
}

.navbar:not(.scrolled) .nav-logo img {
  filter: brightness(0) invert(1);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.25rem;
  list-style: none;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: inherit;
  opacity: 0.8;
  position: relative;
  padding: 0.5rem 0;
}

.nav-link:hover {
  opacity: 1;
}

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

.nav-link.active {
  opacity: 1;
}

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

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

.navbar .btn {
  padding: 0.6rem 1.5rem;
  font-size: 0.85rem;
}

/* Mobile Toggle Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  cursor: pointer;
  z-index: 1001;
}

.hamburger span {
  display: block;
  height: 2px;
  width: 100%;
  background-color: currentColor; /* Inherits text color */
  border-radius: 2px;
  transition: all var(--transition-normal);
}

/* ==========================================================================
   APP SHELL / PAGES ROUTING & WRAPPERS
   ========================================================================== */
.main-content {
  margin-top: 0; /* Align directly under absolute/fixed header */
  position: relative;
  min-height: 100vh;
}

.page-view {
  display: none;
  opacity: 0;
  transform: translateY(15px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
  width: 100%;
}

.page-view.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

/* Section Spacing */
.section {
  padding: 6.5rem 0;
  width: 100%;
  position: relative;
}

.section-container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  max-width: 650px;
  margin-bottom: 4rem;
}

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

.section-title {
  font-size: 2.5rem;
  margin-top: 1rem;
  margin-bottom: 1.25rem;
  color: var(--text-primary);
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  font-weight: 400;
}

/* ==========================================================================
   HOME PAGE SECTIONS
   ========================================================================== */

/* Hero Section (Remains dark, premium Space Indigo Theme with moving Aurora backdrop) */
.hero {
  padding: 12rem 0 10rem 0;
  position: relative;
  overflow: hidden;
  background: #06060c; /* Smooth pure dark background base */
  color: #ffffff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.aurora-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
  opacity: 0.85;
}

.aurora-blob {
  position: absolute;
  filter: blur(120px);
  border-radius: 50%;
  mix-blend-mode: screen;
}

/* Electric violet blob */
.aurora-blob-1 {
  top: -15%;
  right: -10%;
  width: 55vw;
  height: 55vw;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.35) 0%, rgba(124, 58, 237, 0) 70%);
  animation: auroraMove1 22s infinite alternate ease-in-out;
}

/* Cyber cyan blob */
.aurora-blob-2 {
  bottom: -20%;
  left: -5%;
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.28) 0%, rgba(6, 182, 212, 0) 70%);
  animation: auroraMove2 26s infinite alternate ease-in-out;
}

/* Vivid indigo/magenta center-right glow */
.aurora-blob-3 {
  top: 15%;
  right: 10%;
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, rgba(79, 70, 229, 0.3) 0%, rgba(219, 39, 119, 0.08) 50%, rgba(79, 70, 229, 0) 70%);
  animation: auroraMove3 24s infinite alternate ease-in-out;
}

@keyframes auroraMove1 {
  0% {
    transform: translate(0, 0) scale(1) rotate(0deg);
  }
  100% {
    transform: translate(-12%, 18%) scale(1.15) rotate(120deg);
  }
}

@keyframes auroraMove2 {
  0% {
    transform: translate(0, 0) scale(1) rotate(0deg);
  }
  100% {
    transform: translate(15%, -12%) scale(1.1) rotate(-180deg);
  }
}

@keyframes auroraMove3 {
  0% {
    transform: translate(0, 0) scale(1) rotate(0deg);
  }
  100% {
    transform: translate(-10%, -10%) scale(0.9) rotate(90deg);
  }
}

/* Hero Illustration â€” purple line art on transparent/white background */
.hero-banner-img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  /* mix-blend-mode: multiply makes white disappear on dark backgrounds */
  mix-blend-mode: lighten;
  filter: drop-shadow(0 0 40px rgba(124, 58, 237, 0.4)) brightness(1.05);
  animation: floatBanner 8s infinite alternate ease-in-out;
  position: relative;
  z-index: 2;
  max-height: 420px;
  object-fit: contain;
}

@keyframes floatBanner {
  0% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(10px);
  }
}

.hero .glass-badge {
  background: rgba(255, 255, 255, 0.04) padding-box, rgba(255, 255, 255, 0.08) border-box;
  color: #fff;
  border: 1px solid transparent;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-content h1 {
  font-size: 3.8rem;
  line-height: 1.1;
  margin: 1.5rem 0;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #ffffff;
}

.hero-content p {
  font-size: 1.2rem;
  color: #94a3b8; /* slate-400 */
  margin-bottom: 2.5rem;
  max-width: 600px;
}

.hero-actions {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.hero-actions .btn-secondary {
  background: rgba(255, 255, 255, 0.03) padding-box, rgba(255, 255, 255, 0.08) border-box;
  color: #ffffff;
  border: 1px solid transparent;
}

.hero-actions .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.05);
}

/* Abstract Mock Interface Graphics */
.hero-visual {
  position: relative;
  width: 100%;
}

.mockup-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 1px;
  background: rgba(255, 255, 255, 0.1) border-box;
  box-shadow: 0 30px 60px rgba(0,0,0,0.6);
  overflow: hidden;
}

.mockup-frame {
  background: #090911;
  border-radius: calc(var(--radius-lg) - 1px);
  overflow: hidden;
  position: relative;
}

.mockup-header {
  height: 40px;
  background: rgba(255, 255, 255, 0.03);
  display: flex;
  align-items: center;
  padding: 0 1rem;
  gap: 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.mockup-dot.red { background: #ef4444; }
.mockup-dot.yellow { background: #eab308; }
.mockup-dot.green { background: #22c55e; }

.mockup-body {
  padding: 1.5rem;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Metric / Trust Bar (White/Light) */
.metrics-bar {
  padding: 3.5rem 0;
  border-bottom: 1px solid rgba(15, 23, 42, 0.05);
  background: #ffffff;
}

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

.metric-card {
  text-align: center;
}

.metric-number {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.metric-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Client Logos Marquee (Bright Grayscale Style) */
.marquee-container {
  overflow: hidden;
  padding: 3.5rem 0;
  position: relative;
  width: 100%;
  background: #ffffff;
  border-bottom: 1px solid rgba(15, 23, 42, 0.04);
}

.marquee-container::before, .marquee-container::after {
  content: '';
  position: absolute;
  top: 0;
  width: 15%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.marquee-container::before {
  left: 0;
  background: linear-gradient(to right, #ffffff 0%, transparent 100%);
}

.marquee-container::after {
  right: 0;
  background: linear-gradient(to left, #ffffff 0%, transparent 100%);
}

.marquee-title {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 2rem;
  font-weight: 700;
}

.marquee-content {
  display: flex;
  gap: 4.5rem;
  animation: scrollMarquee 28s linear infinite;
  width: max-content;
}

.logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  opacity: 0.9;
  transition: opacity var(--transition-fast);
  color: #0f172a; /* Dark gray logos */
}

.logo-item:hover {
  opacity: 1;
}

.logo-item svg {
  height: 24px;
  width: auto;
  fill: currentColor;
}

@keyframes scrollMarquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-50% - 2.25rem)); }
}

/* Feature Bento Grid (Light Pastel Styled Cards) */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 250px;
  gap: 1.5rem;
}

.bento-card {
  height: 100%;
  border: 1px solid rgba(15, 23, 42, 0.04) !important;
}

/* Unique Pastel Card Gradients based on screenshot */
.bento-card-purple {
  background: linear-gradient(135deg, #f3e8ff 0%, #fae8ff 100%) !important;
  color: #581c87;
}

.bento-card-indigo {
  background: linear-gradient(135deg, #e0e7ff 0%, #e0f2fe 100%) !important;
  color: #312e81;
}

.bento-card-blue {
  background: linear-gradient(135deg, #e0f2fe 0%, #ecfdf5 100%) !important;
  color: #0369a1;
}

.bento-card-slate {
  background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%) !important;
  color: #1e293b;
}

.bento-card.col-2 {
  grid-column: span 2;
}

.bento-card.row-2 {
  grid-row: span 2;
}

.bento-inner {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 2.25rem;
}

.bento-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.6) padding-box, rgba(15, 23, 42, 0.05) border-box;
  border: 1px solid transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: inherit;
}

.bento-icon svg {
  width: 22px;
  height: 22px;
}

.bento-title {
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
  font-weight: 700;
  color: inherit;
}

.bento-desc {
  color: currentColor;
  opacity: 0.8;
  font-size: 0.95rem;
}

/* Upskilling Academy Teaser Section */
.upskilling-teaser {
  background: linear-gradient(180deg, transparent 0%, rgba(124, 58, 237, 0.03) 50%, transparent 100%);
  border-top: 1px solid rgba(15, 23, 42, 0.03);
}

.teaser-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.teaser-modules {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.module-strip {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.1rem 1.5rem;
  background: rgba(255, 255, 255, 0.9) padding-box, var(--border-glossy) border-box;
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.module-number {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  color: #7c3aed;
  font-size: 1.15rem;
}

.module-text {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-primary);
}

/* Testimonials / Case Highlights */
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.testimonial-card {
  padding: 2.5rem;
}

.quote-icon {
  font-size: 3rem;
  line-height: 1;
  color: #7c3aed;
  opacity: 0.2;
  font-family: 'Space Grotesk', sans-serif;
  margin-bottom: -1rem;
}

.testimonial-quote {
  font-size: 1.1rem;
  font-style: italic;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  position: relative;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--grad-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  color: #fff;
}

.author-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-primary);
}

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

/* ==========================================================================
   ABOUT PAGE SECTIONS
   ========================================================================== */
.about-hero {
  padding-top: 9rem; /* Offset for dynamic navbar */
}

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

.abstract-portrait {
  position: relative;
  aspect-ratio: 4/5;
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  padding: 1px;
  background: var(--border-glossy);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.portrait-glow-back {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  height: 80%;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.15) 0%, transparent 70%);
  z-index: 1;
}

.portrait-vector-art {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  background: #f8fafc;
  border-radius: calc(var(--radius-lg) - 1px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-summary {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-top: 1.5rem;
}

/* Timeline Career Leadership */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 0;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 31px;
  width: 2px;
  height: 100%;
  background: linear-gradient(180deg, #7c3aed 0%, #0ea5e9 100%);
  opacity: 0.2;
}

.timeline-item {
  position: relative;
  padding-left: 70px;
  margin-bottom: 3.5rem;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-dot {
  position: absolute;
  top: 6px;
  left: 19px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #ffffff;
  border: 3px solid #7c3aed;
  box-shadow: 0 0 8px rgba(124, 58, 237, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-fast);
}

.timeline-item:hover .timeline-dot {
  transform: scale(1.2);
  border-color: #0ea5e9;
  box-shadow: 0 0 12px rgba(14, 165, 233, 0.3);
}

.timeline-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.timeline-role {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
}

.timeline-company {
  font-size: 0.95rem;
  font-weight: 600;
  color: #7c3aed;
}

.timeline-date {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-family: 'Space Grotesk', sans-serif;
  background: rgba(15, 23, 42, 0.03);
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
  font-weight: 500;
}

.timeline-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* Certifications Group */
.certs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.cert-card {
  text-align: center;
  padding: 2.25rem 1.5rem;
}

.cert-badge-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.06) 0%, rgba(14, 165, 233, 0.06) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem auto;
  color: #7c3aed;
  border: 1px solid rgba(124, 58, 237, 0.15);
}

.cert-name {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.cert-org {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
}

/* ==========================================================================
   TECHNOLOGY PAGE SECTIONS
   ========================================================================== */
.technology-page {
  padding-top: 9rem;
}

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

.tech-group-card {
  padding: 2.25rem;
}

.tech-group-title {
  font-size: 1.35rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-primary);
}

.tech-group-title svg {
  width: 24px;
  height: 24px;
  color: #7c3aed;
}

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

.tech-tag {
  font-size: 0.85rem;
  padding: 0.45rem 0.9rem;
  background: rgba(255, 255, 255, 0.8) padding-box, var(--border-glossy) border-box;
  border: 1px solid transparent;
  border-radius: 8px;
  color: var(--text-secondary);
  font-weight: 500;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.tech-tag:hover {
  background: #ffffff padding-box, var(--border-glossy-active) border-box;
  color: #7c3aed;
}

/* Interoperability Visualization */
.interop-visual {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

.interop-diagram {
  position: relative;
  height: 280px;
  width: 100%;
}

.cube-scene {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* ==========================================================================
   SERVICES PAGE SECTIONS
   ========================================================================== */
.services-page {
  padding-top: 9rem;
}

.services-list {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.service-strip-card {
  padding: 3rem;
}

.service-strip-grid {
  display: grid;
  grid-template-columns: 0.3fr 1.7fr;
  gap: 3rem;
  align-items: flex-start;
}

.service-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1;
  color: rgba(124, 58, 237, 0.15);
}

.service-body h3 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.service-body p {
  color: var(--text-secondary);
  margin-bottom: 2rem;
  max-width: 800px;
}

.service-features-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.service-feat-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.service-feat-item svg {
  width: 18px;
  height: 18px;
  color: #0ea5e9;
  flex-shrink: 0;
}

/* Engagement Models */
.models-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.model-card {
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.model-header h4 {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.model-focus {
  font-size: 0.85rem;
  color: #7c3aed;
  font-family: 'Space Grotesk', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.model-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 2rem;
}

/* ==========================================================================
   CONTACT PAGE SECTIONS (NO FORM, DIRECT CONTACT PANELS)
   ========================================================================== */
.contact-page {
  padding-top: 9rem;
}

.contact-layout-simple {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: stretch;
}

.contact-direct-card {
  padding: 3rem 2.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.contact-direct-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.08) 0%, rgba(14, 165, 233, 0.08) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #7c3aed;
  margin-bottom: 1.75rem;
  border: 1px solid rgba(124, 58, 237, 0.15);
}

.contact-direct-icon svg {
  width: 28px;
  height: 28px;
}

.contact-direct-title {
  font-size: 0.9rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.contact-direct-val {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  word-break: break-all;
  font-family: 'Space Grotesk', sans-serif;
}

.contact-channels-bar {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.contact-channel-item {
  padding: 1.5rem;
  text-align: center;
}

.contact-channel-item h5 {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}

.contact-channel-item p {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
}

/* FAQ Accordion Styling (Light Theme) */
.faq-list {
  max-width: 850px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.faq-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.04) !important;
}

.faq-trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  cursor: pointer;
  text-align: left;
  background: none;
}

.faq-question {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
}

.faq-chevron {
  width: 24px;
  height: 24px;
  color: #7c3aed;
  transition: transform var(--transition-normal);
}

.faq-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal) ease-out;
}

.faq-content {
  padding: 0 2rem 1.5rem 2rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
  border-top: 1px solid transparent;
}

.faq-card.open .faq-chevron {
  transform: rotate(180deg);
}

.faq-card.open .faq-panel {
  max-height: 200px;
}

/* ==========================================================================
   FOOTER SECTION (Light Frosted Slate Footer)
   ========================================================================== */
.footer {
  border-top: 1px solid rgba(15, 23, 42, 0.05);
  background: #f8fafc;
  padding: 5rem 0 2.5rem 0;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

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

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-primary);
}

.footer-logo img {
  height: 58px;
  width: auto;
  display: block;
}

.footer-brand p {
  color: var(--text-secondary);
  max-width: 300px;
}

.footer-col h5 {
  font-size: 0.9rem;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

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

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

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(15, 23, 42, 0.05);
  color: var(--text-muted);
  font-size: 0.85rem;
}

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

.footer-socials a:hover {
  color: var(--text-primary);
}

/* ==========================================================================
   RESPONSIVE DESIGN â€” COMPREHENSIVE MOBILE-FIRST BREAKPOINTS
   ========================================================================== */

/* â”€â”€ Large Desktop (1400px+) â”€â”€ */
@media (min-width: 1400px) {
  .hero-content h1 { font-size: 4.5rem; }
}

/* â”€â”€ Tablet Landscape / Small Desktop (â‰¤1024px) â”€â”€ */
@media (max-width: 1024px) {
  .hero {
    padding: 9rem 0 6rem;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }

  .hero-content {
    align-items: center;
    text-align: center;
  }

  .hero-content h1 { font-size: 3rem; }

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

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

  .hero-banner-img {
    max-height: 320px;
  }

  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 230px;
  }

  .bento-card.col-2 {
    grid-column: span 2;
  }

  .teaser-grid,
  .about-grid,
  .tech-matrix,
  .interop-visual,
  .contact-layout-simple {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

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

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

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

  .marquee-track {
    gap: 3rem;
  }

  /* Contact channel bar on 1 col */
  .contact-channels-bar {
    grid-template-columns: 1fr;
  }
}

/* â”€â”€ Tablet Portrait (â‰¤768px) â”€â”€ */
@media (max-width: 768px) {
  /* Navigation â€” hamburger menu */
  .hamburger {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    height: calc(100vh - 70px);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    padding: 2.5rem 0;
    gap: 2rem;
    transform: translateY(-150%);
    opacity: 0;
    pointer-events: none;
    transition: transform var(--transition-slow), opacity 0.3s;
    border-top: 1px solid rgba(15, 23, 42, 0.05);
    z-index: 999;
    color: var(--text-primary) !important;
    list-style: none;
  }

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

  .hamburger.open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .hamburger.open span:nth-child(2) { opacity: 0; }
  .hamburger.open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .nav-cta {
    width: 80%;
    margin-top: 1rem;
  }

  .nav-cta .btn {
    width: 100%;
    padding: 0.875rem;
    text-align: center;
    justify-content: center;
  }

  /* Sections */
  .section { padding: 4.5rem 0; }

  /* Hero */
  .hero { padding: 8rem 0 5rem; }
  .hero-content h1 { font-size: 2.6rem; }
  .hero-content p { font-size: 1rem; }
  .hero-banner-img { max-height: 260px; }

  /* Metrics */
  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  /* Bento */
  .bento-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }
  .bento-card.col-2 { grid-column: span 1; }
  .bento-inner { padding: 1.75rem; }

  /* Section title */
  .section-title { font-size: 2rem; }

  /* Marquee */
  .marquee-wrapper { overflow: hidden; }

  /* Testimonials, certs, models */
  .testimonials-grid,
  .certs-grid,
  .models-grid {
    grid-template-columns: 1fr;
  }

  /* Services */
  .service-strip-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .service-num { font-size: 2.5rem; }
  .service-features-list { grid-template-columns: 1fr; }

  /* Contact channels */
  .contact-channels-bar {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .contact-layout-simple { grid-template-columns: 1fr; }

  /* FAQ */
  .faq-list { padding: 0 0.5rem; }

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

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

  /* Timeline */
  .timeline-item { padding-left: 45px; }
  .timeline::before { left: 15px; }
  .timeline-dot { left: 3px; }

  /* Tech matrix */
  .tech-matrix { grid-template-columns: 1fr; }

  /* Interop grid */
  .interop-visual { grid-template-columns: 1fr; }

  /* About grid */
  .about-grid { grid-template-columns: 1fr; }
}

/* â”€â”€ Mobile (â‰¤480px) â”€â”€ */
@media (max-width: 480px) {
  .section-container {
    width: 94%;
  }

  /* Hero */
  .hero { padding: 7rem 0 4rem; }
  .hero-content h1 { font-size: 2rem; line-height: 1.2; }
  .hero-content p { font-size: 0.95rem; }
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero-banner-img { max-height: 220px; }

  /* Metrics */
  .metrics-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .metric-number { font-size: 2.2rem; }

  /* Section typography */
  .section-title { font-size: 1.75rem; }
  .section-subtitle { font-size: 0.95rem; }

  /* Glass badge */
  .glass-badge { font-size: 0.8rem; padding: 0.4rem 0.9rem; }

  /* Buttons */
  .btn { padding: 0.75rem 1.5rem; font-size: 0.9rem; }

  /* Bento */
  .bento-grid {
    gap: 1rem;
    grid-auto-rows: auto;
  }
  .bento-inner { padding: 1.25rem; }
  .bento-card.col-2 { grid-column: span 1; }

  /* Contact */
  .contact-direct-card { padding: 2rem 1.5rem; }
  .contact-direct-val { font-size: 1.1rem; word-break: break-all; }
  .contact-channels-bar { grid-template-columns: 1fr; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
  .footer-logo img { height: 44px; }

  /* Nav logo */
  .nav-logo img { height: 38px; }

  /* FAQ */
  .faq-question { font-size: 0.95rem; }

  /* Timeline */
  .timeline-item { padding-left: 38px; }
  .timeline::before { left: 12px; }
  .timeline-dot { left: 0; }

  /* Cert cards */
  .cert-card { padding: 1.5rem; }

  /* Testimonials */
  .testimonial-card { padding: 1.75rem; }

  /* Services */
  .service-strip-grid { gap: 0.75rem; }
  .service-features-list { grid-template-columns: 1fr; gap: 0.75rem; }
  .model-card { padding: 1.75rem 1.25rem; }
}

/* â”€â”€ Extra Small (â‰¤360px) â”€â”€ */
@media (max-width: 360px) {
  .hero-content h1 { font-size: 1.75rem; }
  .section-title { font-size: 1.5rem; }
  .hero-banner-img { max-height: 180px; }
  .metrics-grid { grid-template-columns: 1fr; }
}