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

/* ==========================================================================
   HM Techwala - Modern Design System Tokens
   ========================================================================== */
:root {
  /* Brand Dark Theme */
  --bg-deep: #050b14;
  --bg-card: #0b1524;
  --bg-card-hover: #101e33;
  --bg-surface: #0f1d30;
  --bg-elevated: #152740;
  
  /* Accent Colors */
  --cyan: #00e5ff;
  --cyan-glow: rgba(0, 229, 255, 0.25);
  --cyan-dim: rgba(0, 229, 255, 0.12);
  --lime: #b4ff39;
  --lime-glow: rgba(180, 255, 57, 0.25);
  --violet: #8e7dff;
  --azure: #38bdf8;
  --emerald: #10b981;
  --rose: #f43f5e;
  
  /* Text & Foreground */
  --text-primary: #ffffff;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-dim: #475569;
  
  /* Light Theme Section Colors */
  --paper-bg: #f8fafc;
  --paper-card: #ffffff;
  --paper-border: #e2e8f0;
  --paper-text: #0f172a;
  --paper-muted: #475569;
  
  /* Borders */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(0, 229, 255, 0.35);
  --border-lime: rgba(180, 255, 57, 0.35);
  
  /* Gradients */
  --gradient-brand: linear-gradient(135deg, #b4ff39 0%, #00e5ff 50%, #8e7dff 100%);
  --gradient-text: linear-gradient(135deg, #ffffff 0%, #cbd5e1 50%, #94a3b8 100%);
  --gradient-cyan: linear-gradient(135deg, #00e5ff 0%, #38bdf8 100%);
  --gradient-lime: linear-gradient(135deg, #b4ff39 0%, #10b981 100%);
  --gradient-hero: radial-gradient(ellipse 80% 50% at 50% -20%, rgba(0, 229, 255, 0.15), transparent 70%),
                   radial-gradient(ellipse 60% 40% at 90% 80%, rgba(142, 125, 255, 0.12), transparent),
                   radial-gradient(ellipse 50% 30% at 10% 40%, rgba(180, 255, 57, 0.08), transparent),
                   linear-gradient(180deg, #050b14 0%, #08111d 100%);
  --gradient-dark-section: radial-gradient(ellipse 70% 50% at 50% 0%, rgba(0, 229, 255, 0.08), transparent 70%),
                          linear-gradient(180deg, #050b14 0%, #081220 100%);
  
  /* Shadows & Glows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.15);
  --shadow-md: 0 8px 24px -4px rgba(0, 0, 0, 0.25);
  --shadow-lg: 0 20px 40px -8px rgba(0, 0, 0, 0.35);
  --shadow-glow-cyan: 0 0 40px -10px rgba(0, 229, 255, 0.4);
  --shadow-glow-lime: 0 0 35px -8px rgba(180, 255, 57, 0.35);
  
  /* Dimensions & Radii */
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 9999px;
  --max-w: 1240px;
  --header-h: 76px;
}

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

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

body {
  background: var(--bg-deep);
  color: var(--text-primary);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative;
}

::selection {
  background: var(--cyan);
  color: #050b14;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #050b14;
}
::-webkit-scrollbar-thumb {
  background: #1e293b;
  border-radius: var(--radius-pill);
  border: 2px solid #050b14;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--cyan);
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

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

button, input, textarea {
  font: inherit;
}

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: var(--radius-xs);
}

/* ==========================================================================
   Animations
   ========================================================================== */
@keyframes rise {
  from { opacity: 0; transform: translateY(32px); }
  to { opacity: 1; transform: translateY(0); }
}

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

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

@keyframes float-gentle {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-8px) rotate(1deg); }
}

@keyframes laptop-idle {
  0%, 100% { transform: rotateY(-11deg) rotateX(5deg) translateY(0); }
  50% { transform: rotateY(-8deg) rotateX(3deg) translateY(-10px); }
}

@keyframes pulse-ring {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

@keyframes pulse-cyan-ring {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 229, 255, 0.6); }
  70% { transform: scale(1); box-shadow: 0 0 0 12px rgba(0, 229, 255, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 229, 255, 0); }
}

@keyframes gradient-shift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes chart-bar {
  0%, 100% { transform: scaleY(0.4); }
  50% { transform: scaleY(1); }
}

/* ==========================================================================
   Navigation Bar
   ========================================================================== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 max(4vw, 24px);
  background: rgba(5, 11, 20, 0.82);
  backdrop-filter: blur(20px) saturate(1.8);
  -webkit-backdrop-filter: blur(20px) saturate(1.8);
  border-bottom: 1px solid var(--border-subtle);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav.scrolled {
  height: 66px;
  background: rgba(5, 11, 20, 0.94);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
  border-bottom-color: rgba(0, 229, 255, 0.15);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 16px;
  color: #fff;
  letter-spacing: -0.3px;
}

.brand img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  object-position: center;
  padding: 2px;
  border-radius: var(--radius-sm);
  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 14px rgba(0, 229, 255, 0.25);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.brand:hover img {
  transform: scale(1.08) rotate(-2deg);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-text span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.brand small {
  display: block;
  margin-top: 2px;
  color: var(--cyan);
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 9px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  opacity: 0.9;
}

.nav nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav nav a:not(.nav-login):not(.nav-cta) {
  position: relative;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  color: var(--text-secondary);
  font-size: 13.5px;
  font-weight: 500;
  transition: all 0.2s ease;
}

.nav nav a:not(.nav-login):not(.nav-cta):hover,
.nav nav a[aria-current] {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
}

.nav nav a[aria-current] {
  color: var(--cyan);
}

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

.nav-login {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-secondary);
  font-size: 12.5px;
  font-weight: 600;
  transition: all 0.25s ease;
}

.nav-login:hover {
  color: var(--cyan);
  border-color: var(--cyan);
  background: var(--cyan-dim);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  background: var(--gradient-brand);
  background-size: 200% auto;
  color: #050b14;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 4px 18px rgba(180, 255, 57, 0.25);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(180, 255, 57, 0.4);
}

.menu {
  display: none;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: #ffffff;
  width: 42px;
  height: 42px;
  font-size: 20px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.menu:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--cyan);
}

/* ==========================================================================
   Buttons & Links
   ========================================================================== */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 0 30px;
  border: 0;
  border-radius: var(--radius-pill);
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.2px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.button.primary {
  background: var(--gradient-brand);
  background-size: 200% auto;
  color: #050b14;
  box-shadow: var(--shadow-glow-lime);
}

.button.primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.button.primary:hover::before {
  transform: translateX(100%);
}

.button.primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(180, 255, 57, 0.45);
}

.button.primary:active {
  transform: translateY(-1px);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  backdrop-filter: blur(10px);
}

.button.secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--cyan);
  color: var(--cyan);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 0;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 600;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  transition: all 0.25s ease;
}

.text-link:hover {
  color: var(--cyan);
  border-color: var(--cyan);
  gap: 9px;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 40px;
  min-height: 720px;
  padding: 80px max(5vw, 36px) 70px;
  overflow: hidden;
  background: var(--gradient-hero);
}

/* Ambient Grid & Glows */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  opacity: 0.6;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 620px;
  animation: rise 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* Live Status Badge */
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 14px 6px 10px;
  border-radius: var(--radius-pill);
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #34d399;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 24px;
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.15);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  animation: pulse-ring 2s cubic-bezier(0.45, 0, 0.55, 1) infinite;
}

.hero h1 {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: clamp(42px, 5.2vw, 68px);
  line-height: 1.05;
  letter-spacing: -2.5px;
  margin-bottom: 24px;
  color: #ffffff;
}

.hero h1 em {
  font-style: normal;
  background: var(--gradient-brand);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradient-shift 5s ease infinite;
}

.hero-description {
  color: var(--text-secondary);
  font-size: 18px;
  line-height: 1.8;
  max-width: 540px;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(2, auto);
  gap: 36px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border-subtle);
}

.hero-proof span,
.hero-proof article {
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 500;
}

.hero-proof b {
  display: block;
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 34px;
  line-height: 1.1;
  color: #ffffff;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 2px;
}

/* ==========================================================================
   3D Laptop & Workspace Illustration
   ========================================================================== */
.scene {
  position: relative;
  z-index: 2;
  min-height: 520px;
  perspective: 1400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.laptop {
  position: relative;
  width: 90%;
  max-width: 540px;
  filter: drop-shadow(0 35px 60px rgba(0, 0, 0, 0.7));
  transform: rotateY(-11deg) rotateX(5deg);
  animation: laptop-idle 7s ease-in-out infinite;
}

.screen {
  height: 340px;
  padding: 10px;
  border: 1.5px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px 18px 8px 8px;
  background: linear-gradient(135deg, #112338, #071525 35%, #0b1a2d);
  box-shadow: inset 0 0 0 1px rgba(0, 229, 255, 0.15);
}

.screen-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 30px;
  padding: 0 10px;
  color: #8da4be;
  font-size: 11px;
  font-family: 'JetBrains Mono', monospace;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.screen-nav b {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 5px;
  background: var(--cyan);
  color: #050b14;
  font-size: 10px;
}

.screen-nav i {
  margin-left: auto;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  background: rgba(16, 185, 129, 0.18);
  color: #34d399;
  font-style: normal;
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.6px;
}

.screen-body {
  display: grid;
  grid-template-columns: 52px 1fr;
  height: calc(100% - 30px);
  overflow: hidden;
  border-radius: 0 0 6px 6px;
  background: #081422;
}

.screen-body aside {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding-top: 18px;
  background: #060e19;
  color: #4b647f;
  font-size: 13px;
  border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.screen-body aside b:first-child {
  color: var(--cyan);
}

.screen-body section {
  padding: 24px;
  background: radial-gradient(circle at top right, rgba(0, 229, 255, 0.05), transparent 70%), #0a192b;
}

.screen-body small {
  color: var(--cyan);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.2px;
  font-family: 'JetBrains Mono', monospace;
}

.screen-body h2 {
  margin: 6px 0 18px;
  color: #ffffff;
  font-family: 'Manrope', sans-serif;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.metric {
  display: flex;
  gap: 12px;
}

.metric span {
  flex: 1;
  padding: 12px;
  border-radius: var(--radius-sm);
  background: rgba(15, 33, 56, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #94a3b8;
  font-size: 11px;
}

.metric b {
  display: block;
  color: #ffffff;
  font-size: 18px;
  font-family: 'Manrope', sans-serif;
  margin-top: 2px;
}

.chart {
  display: flex;
  align-items: flex-end;
  gap: 7px;
  height: 80px;
  margin-top: 16px;
  padding: 10px;
  border-radius: var(--radius-sm);
  background: rgba(15, 33, 56, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.chart i {
  flex: 1;
  border-radius: 3px 3px 0 0;
  background: linear-gradient(180deg, var(--cyan), #3b82f6);
  animation: chart-bar 2.4s ease-in-out infinite alternate;
}

.chart i:nth-child(1) { height: 38%; }
.chart i:nth-child(2) { height: 72%; animation-delay: -0.3s; }
.chart i:nth-child(3) { height: 48%; animation-delay: -0.7s; }
.chart i:nth-child(4) { height: 92%; animation-delay: -1.1s; }
.chart i:nth-child(5) { height: 60%; animation-delay: -1.4s; }
.chart i:nth-child(6) { height: 100%; animation-delay: -1.8s; }
.chart i:nth-child(7) { height: 80%; animation-delay: -0.4s; }

.laptop-base {
  height: 28px;
  margin: -1px -6% 0;
  border-radius: 2px 2px 24px 24px;
  background: linear-gradient(180deg, #334e68, #182b3d 40%, #0d1a26 60%, #1e3347);
  transform: rotateX(60deg);
  transform-origin: top;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

/* Floating Glass Cards */
.float-card {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  background: rgba(11, 23, 40, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(20px);
  animation: float 6s ease-in-out infinite;
}

.float-card i {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: rgba(0, 229, 255, 0.12);
  color: var(--cyan);
  font-style: normal;
  font-size: 16px;
}

.float-card small {
  display: block;
  color: var(--text-muted);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.float-card b {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  color: #ffffff;
}

.float-card.status {
  top: 30px;
  left: -2%;
}

.float-card.status em {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 10px rgba(180, 255, 57, 0.8);
}

.float-card.launch {
  right: -2%;
  bottom: 50px;
  animation-delay: -2.5s;
}

.float-card.launch i {
  background: rgba(180, 255, 57, 0.15);
  color: var(--lime);
}

/* Ambient Orbs */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  pointer-events: none;
  animation: float 8s ease-in-out infinite;
}

.orb.one {
  top: 20px;
  right: 10%;
  width: 140px;
  height: 140px;
  background: rgba(0, 229, 255, 0.2);
}

.orb.two {
  bottom: 40px;
  left: 5%;
  width: 180px;
  height: 180px;
  background: rgba(142, 125, 255, 0.18);
  animation-delay: -4s;
}

/* ==========================================================================
   Logo Strip / Marquee
   ========================================================================== */
.logo-strip {
  padding: 40px 0 36px;
  background: #070f1a;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  overflow: hidden;
  position: relative;
}

.logo-strip > p {
  text-align: center;
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.logo-window {
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  mask-image: linear-gradient(to right, transparent, black 12%, black 88%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 12%, black 88%, transparent);
}

.logo-track {
  display: inline-flex;
  align-items: center;
  gap: 0;
  min-width: max-content;
  animation: marquee var(--dur, 25s) linear infinite;
}

.logo-track > * {
  flex: none;
  margin-right: 60px;
}

.logo-track.measure {
  animation: none;
  min-width: 0;
}

.client-logo, .placeholder-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 160px;
  height: 54px;
  padding: 8px 24px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--text-secondary);
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 13.5px;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.client-logo img {
  max-width: 140px;
  max-height: 40px;
  object-fit: contain;
  filter: grayscale(1) opacity(0.65);
  transition: all 0.3s ease;
}

.client-logo:hover img {
  filter: grayscale(0) opacity(1);
}

.client-logo:hover, .placeholder-logo:hover {
  background: rgba(0, 229, 255, 0.06);
  border-color: rgba(0, 229, 255, 0.25);
  color: #ffffff;
}

/* ==========================================================================
   Section Layouts & Headings
   ========================================================================== */
.section {
  padding: 110px max(5vw, 36px);
  position: relative;
}

.section.alt-bg {
  background: #08111d;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--cyan);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.eyebrow.dark {
  color: var(--cyan);
}

.heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 56px;
}

.heading.centered {
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.heading h2, .section h2 {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.12;
  letter-spacing: -1.8px;
  color: #ffffff;
}

.heading h2 em, .section h2 em {
  font-style: normal;
  background: var(--gradient-brand);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.heading > p {
  max-width: 440px;
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.7;
}

/* ==========================================================================
   Services Grid
   ========================================================================== */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 22px;
}

.service-grid article {
  position: relative;
  min-height: 290px;
  padding: 34px 30px;
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Top Glow Line on Hover */
.service-grid article::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-brand);
  background-size: 200% auto;
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* Background Radial Glow */
.service-grid article::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(0, 229, 255, 0.08), transparent 70%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.service-grid article:hover {
  transform: translateY(-8px);
  border-color: rgba(0, 229, 255, 0.3);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.6), 0 0 30px -5px rgba(0, 229, 255, 0.15);
  background: var(--bg-card-hover);
}

.service-grid article:hover::before,
.service-grid article:hover::after {
  opacity: 1;
}

.service-grid i {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: rgba(0, 229, 255, 0.1);
  border: 1px solid rgba(0, 229, 255, 0.25);
  color: var(--cyan);
  font-style: normal;
  font-size: 22px;
  margin-bottom: 22px;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-grid article:hover i {
  transform: scale(1.1) rotate(-4deg);
  background: rgba(0, 229, 255, 0.18);
  border-color: var(--cyan);
}

.service-grid small {
  position: absolute;
  top: 34px;
  right: 30px;
  color: var(--text-muted);
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.service-grid h3 {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.5px;
  color: #ffffff;
  margin-bottom: 12px;
}

.service-grid p {
  color: var(--text-secondary);
  font-size: 14.5px;
  line-height: 1.7;
  margin-bottom: 26px;
  flex-grow: 1;
}

.service-grid a {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--cyan);
  font-size: 13.5px;
  font-weight: 700;
  transition: gap 0.2s ease, color 0.2s ease;
}

.service-grid article:hover a {
  gap: 10px;
  color: #ffffff;
}

/* ==========================================================================
   Tech Stack Showcase (NEW)
   ========================================================================== */
.tech-stack {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 90px max(5vw, 36px);
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 14px;
  margin-top: 40px;
}

.tech-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 22px 14px;
  border-radius: var(--radius-md);
  background: rgba(11, 21, 36, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.tech-card:hover {
  transform: translateY(-5px);
  background: rgba(15, 30, 50, 0.9);
  border-color: rgba(0, 229, 255, 0.3);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.tech-icon {
  font-size: 28px;
  display: grid;
  place-items: center;
}

.tech-name {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 13px;
  color: #ffffff;
}

.tech-category {
  font-size: 10.5px;
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ==========================================================================
   How We Work / Process
   ========================================================================== */
.value-grid, .team-grid {
  display: grid;
  gap: 22px;
}

.value-grid {
  grid-template-columns: repeat(3, 1fr);
}

.value-grid article {
  position: relative;
  padding: 40px 32px;
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.value-grid article::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.value-grid article:hover {
  transform: translateY(-6px);
  border-color: rgba(180, 255, 57, 0.3);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5);
  background: var(--bg-card-hover);
}

.value-grid article:hover::before {
  transform: scaleX(1);
}

.step-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: rgba(180, 255, 57, 0.12);
  color: var(--lime);
  font-family: 'JetBrains Mono', monospace;
  font-weight: 800;
  font-size: 13px;
  margin-bottom: 20px;
}

.value-grid h3 {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.5px;
  color: #ffffff;
  margin-bottom: 14px;
}

.value-grid p {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.75;
}

/* ==========================================================================
   Testimonials & Social Proof (NEW)
   ========================================================================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.testimonial-card {
  padding: 34px 28px;
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 229, 255, 0.25);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.stars {
  color: #fbbf24;
  font-size: 16px;
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.testimonial-text {
  color: #e2e8f0;
  font-size: 14.5px;
  line-height: 1.75;
  font-style: italic;
  margin-bottom: 24px;
  flex-grow: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.author-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--gradient-brand);
  color: #050b14;
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 14px;
  display: grid;
  place-items: center;
}

.author-info b {
  display: block;
  font-family: 'Manrope', sans-serif;
  font-size: 14px;
  color: #ffffff;
}

.author-info span {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
}

/* ==========================================================================
   FAQ Section (NEW)
   ========================================================================== */
.faq-wrap {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: rgba(0, 229, 255, 0.25);
}

.faq-question {
  width: 100%;
  padding: 22px 28px;
  background: none;
  border: 0;
  color: #ffffff;
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 16px;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  cursor: pointer;
  transition: color 0.2s ease;
}

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

.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  display: grid;
  place-items: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--cyan);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
  background: var(--cyan);
  color: #050b14;
}

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

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

/* ==========================================================================
   Insights / Blog
   ========================================================================== */
.blog {
  background: var(--bg-deep);
}

.post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.post-card {
  padding: 32px 28px;
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.post-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 229, 255, 0.3);
  box-shadow: var(--shadow-md);
}

.post-card small {
  color: var(--cyan);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1.4px;
  font-family: 'JetBrains Mono', monospace;
  text-transform: uppercase;
}

.post-card h3 {
  margin: 12px 0 10px;
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 19px;
  color: #ffffff;
  letter-spacing: -0.4px;
}

.post-card p {
  color: var(--text-secondary);
  font-size: 14.5px;
  line-height: 1.7;
}

.empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 48px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.02);
  border: 1px dashed rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
  font-size: 15px;
}

/* ==========================================================================
   Contact / Project Inquiry Section
   ========================================================================== */
.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  padding: 110px max(5vw, 36px);
  background: var(--gradient-dark-section);
  position: relative;
  overflow: hidden;
}

.contact::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(0, 229, 255, 0.04) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}

.contact h2 {
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.1;
  margin-bottom: 18px;
}

.contact-intro {
  color: var(--text-secondary);
  font-size: 17px;
  line-height: 1.8;
  margin-bottom: 36px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  z-index: 2;
}

.contact-card-link {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  background: rgba(11, 21, 36, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #ffffff;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.contact-card-link:hover {
  background: rgba(15, 30, 50, 0.95);
  border-color: rgba(0, 229, 255, 0.35);
  transform: translateX(6px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.contact-card-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(0, 229, 255, 0.1);
  color: var(--cyan);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.contact-card-icon.wa {
  background: rgba(37, 211, 102, 0.12);
  color: #25d366;
}

.contact-card-icon.ig {
  background: rgba(244, 63, 94, 0.12);
  color: #f43f5e;
}

.contact-card-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-card-info {
  display: flex;
  flex-direction: column;
}

.contact-card-label {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.contact-card-value {
  font-family: 'Manrope', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
}

.contact-card-hint {
  font-size: 11px;
  color: #10b981;
  font-weight: 500;
}

/* Contact Form */
.contact form, .admin form {
  display: grid;
  gap: 16px;
  position: relative;
  z-index: 2;
  padding: 36px;
  border-radius: var(--radius-lg);
  background: rgba(11, 23, 40, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(20px);
}

.contact input, .contact textarea,
.admin input, .admin textarea, select.form-select {
  width: 100%;
  padding: 16px 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  background: rgba(5, 11, 20, 0.6);
  color: #ffffff;
  font-family: 'Inter', sans-serif;
  font-size: 14.5px;
  outline: none;
  transition: all 0.25s ease;
}

.contact input::placeholder, .contact textarea::placeholder,
.admin input::placeholder, .admin textarea::placeholder {
  color: #64748b;
}

.contact input:focus, .contact textarea:focus,
.admin input:focus, .admin textarea:focus, select.form-select:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(0, 229, 255, 0.15);
  background: rgba(5, 11, 20, 0.85);
}

.contact textarea, .admin textarea {
  min-height: 130px;
  resize: vertical;
}

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

.form-message {
  min-height: 20px;
  margin: 0;
  color: var(--lime);
  font-size: 13.5px;
  font-weight: 600;
}

/* ==========================================================================
   Floating WhatsApp Button & Back to Top
   ========================================================================== */
.wa-float {
  position: fixed;
  z-index: 90;
  bottom: 28px;
  right: 28px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px 12px 16px;
  border-radius: var(--radius-pill);
  background: #25d366;
  color: #ffffff;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 14px;
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.4);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}

.wa-float:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 14px 40px rgba(37, 211, 102, 0.55);
}

.wa-float svg {
  width: 24px;
  height: 24px;
  fill: #ffffff;
  stroke: none;
}

.wa-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ffffff;
  animation: pulse-ring 2s infinite;
}

.back-to-top {
  position: fixed;
  z-index: 89;
  bottom: 28px;
  left: 28px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(11, 23, 40, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  display: grid;
  place-items: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--cyan);
  color: #050b14;
  border-color: var(--cyan);
  transform: translateY(-3px);
}

/* ==========================================================================
   Footer
   ========================================================================== */
footer {
  background: #03070e;
  color: var(--text-secondary);
  font-size: 14px;
  border-top: 1px solid var(--border-subtle);
  position: relative;
  overflow: hidden;
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 80px max(5vw, 36px) 36px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 50px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-about {
  max-width: 340px;
}

.footer-about .brand {
  margin-bottom: 18px;
}

.footer-about > p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.75;
  margin-bottom: 20px;
}

.status-indicator {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  color: #34d399;
  font-size: 11px;
  font-weight: 600;
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 24px;
}

.footer-social a {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-secondary);
  transition: all 0.25s ease;
}

.footer-social a:hover {
  color: var(--cyan);
  border-color: var(--cyan);
  background: rgba(0, 229, 255, 0.1);
  transform: translateY(-2px);
}

.footer-social svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer-col h4 {
  margin: 0 0 20px;
  color: #ffffff;
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.footer-col a {
  display: block;
  padding: 6px 0;
  color: var(--text-muted);
  font-size: 14px;
  transition: all 0.2s ease;
}

.footer-col a:hover {
  color: var(--cyan);
  transform: translateX(4px);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 30px;
  font-size: 13px;
  color: var(--text-muted);
}

.footer-bottom a {
  color: var(--text-secondary);
  transition: color 0.2s;
}

.footer-bottom a:hover {
  color: var(--cyan);
}

/* ==========================================================================
   About Page
   ========================================================================== */
.about-hero {
  position: relative;
  padding: 120px max(5vw, 36px) 90px;
  background: var(--gradient-hero);
  overflow: hidden;
}

.about-hero h1 {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: clamp(38px, 4.8vw, 64px);
  line-height: 1.08;
  letter-spacing: -2px;
  max-width: 860px;
  margin-bottom: 24px;
}

.about-hero > p:not(.eyebrow) {
  max-width: 660px;
  color: var(--text-secondary);
  font-size: 19px;
  line-height: 1.8;
}

.about-story {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 70px;
  align-items: start;
  background: var(--bg-deep);
}

.about-story h2 {
  margin-bottom: 20px;
}

.about-story p {
  color: var(--text-secondary);
  font-size: 16.5px;
  line-height: 1.85;
  margin-bottom: 18px;
}

.facts {
  display: grid;
  gap: 0;
  border-top: 2px solid var(--border-subtle);
}

.facts div {
  padding: 26px 0;
  border-bottom: 1px solid var(--border-subtle);
  transition: all 0.3s ease;
}

.facts div:hover {
  padding-left: 14px;
  border-bottom-color: var(--cyan);
}

.facts dt {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 46px;
  line-height: 1;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 4px;
}

.facts dd {
  color: var(--text-secondary);
  font-size: 15px;
}

/* Team Grid */
.team {
  background: var(--bg-surface);
}

.team-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.team-grid article {
  padding: 40px 36px;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-md);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.team-grid article:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 229, 255, 0.3);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5);
}

.avatar {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: var(--gradient-brand);
  color: #050b14;
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 34px;
  margin-bottom: 22px;
  box-shadow: 0 6px 20px rgba(180, 255, 57, 0.3);
  transition: transform 0.3s ease;
}

.team-grid article:hover .avatar {
  transform: scale(1.08) rotate(-4deg);
}

.team-grid h3 {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 24px;
  letter-spacing: -0.5px;
  color: #ffffff;
  margin-bottom: 6px;
}

.team-grid .role {
  color: var(--cyan);
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.team-grid p:not(.role) {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.8;
}

/* ==========================================================================
   Admin Portal
   ========================================================================== */
.admin {
  position: fixed;
  z-index: 200;
  inset: 0;
  display: none;
  overflow: auto;
  padding: 30px;
  background: radial-gradient(circle at top right, rgba(0, 229, 255, 0.1), transparent 60%), #040912;
  color: #ffffff;
}

.admin:target {
  display: block;
}

.back {
  position: absolute;
  top: 30px;
  left: 36px;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.back:hover {
  color: var(--cyan);
  transform: translateX(-3px);
}

.login-card {
  width: min(450px, 100%);
  margin: 80px auto;
  padding: 44px;
  border-radius: var(--radius-lg);
  background: rgba(11, 23, 40, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(25px);
}

.login-card .brand {
  margin-bottom: 36px;
}

.login-card h1 {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 34px;
  letter-spacing: -1px;
  margin: 10px 0 6px;
}

.login-card > p:not(.eyebrow) {
  color: var(--text-muted);
  font-size: 14.5px;
}

.login-card form {
  margin-top: 28px;
}

.dashboard {
  width: min(1160px, 100%);
  margin: 60px auto;
}

.dashboard-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 36px;
}

.dashboard h1 {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 42px;
  letter-spacing: -1.5px;
}

.dashboard-top span {
  color: var(--text-muted);
  font-size: 13.5px;
}

.ghost {
  padding: 9px 20px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
}

.ghost:hover {
  background: rgba(244, 63, 94, 0.15);
  border-color: #f43f5e;
  color: #f43f5e;
}

.admin-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 14px;
  margin-bottom: 24px;
}

.admin-stats article {
  padding: 18px 20px;
  border-radius: var(--radius-md);
  background: rgba(11, 23, 40, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}

.admin-stats small {
  display: block;
  color: var(--text-muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.2px;
  font-family: 'JetBrains Mono', monospace;
  text-transform: uppercase;
}

.admin-stats b {
  display: block;
  margin: 6px 0 2px;
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 28px;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.admin-stats span {
  font-size: 11.5px;
  color: var(--text-muted);
}

/* Admin Tabs */
.admin-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 24px 0 28px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-secondary);
  font-family: 'Inter', sans-serif;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
}

.admin-tab-btn:hover {
  background: rgba(255, 255, 255, 0.09);
  color: #ffffff;
  border-color: rgba(0, 229, 255, 0.3);
}

.admin-tab-btn.active {
  background: var(--gradient-brand);
  color: #050b14;
  font-weight: 700;
  border-color: transparent;
  box-shadow: 0 4px 15px rgba(180, 255, 57, 0.35);
}

.admin-tab-pane {
  display: none;
}

.admin-tab-pane.active {
  display: block;
  animation: fadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.admin-panel-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 28px;
  align-items: start;
}

.admin-box {
  padding: 30px;
  border-radius: var(--radius-md);
  background: rgba(11, 23, 40, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}

.admin-box h2 {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 22px;
  color: #ffffff;
  margin-bottom: 6px;
}

.admin-box p.minor {
  color: var(--text-muted);
  font-size: 13.5px;
  margin-bottom: 20px;
}

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

.form-group label {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-section-title {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 16px;
  color: #ffffff;
  margin: 18px 0 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-list {
  display: grid;
  gap: 12px;
  max-height: 600px;
  overflow-y: auto;
  padding-right: 6px;
}

.admin-entry {
  padding: 18px;
  border-radius: var(--radius-sm);
  background: rgba(5, 11, 20, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: all 0.25s ease;
}

.admin-entry:hover {
  border-color: rgba(0, 229, 255, 0.25);
  background: rgba(5, 11, 20, 0.85);
}

.admin-entry-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 6px;
}

.admin-entry b {
  font-family: 'Manrope', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
}

.admin-entry-tag {
  display: inline-block;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  background: rgba(0, 229, 255, 0.1);
  color: var(--cyan);
  font-size: 11px;
  font-weight: 600;
}

.admin-entry p {
  color: var(--text-secondary);
  font-size: 13.5px;
  margin: 6px 0;
  line-height: 1.6;
}

.btn-delete {
  background: rgba(244, 63, 94, 0.12);
  border: 1px solid rgba(244, 63, 94, 0.3);
  color: #f43f5e;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.btn-delete:hover {
  background: #f43f5e;
  color: #ffffff;
  border-color: #f43f5e;
}

/* ==========================================================================
   Responsive Adaptations
   ========================================================================== */
@media (max-width: 1080px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 60px;
  }
  .scene {
    min-height: 440px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
  .testimonials-grid, .value-grid, .post-grid {
    grid-template-columns: 1fr 1fr;
  }
  .admin-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  :root {
    --header-h: 68px;
  }
  
  .nav {
    padding: 0 20px;
  }
  
  .menu {
    display: flex;
  }
  
  .nav nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 20px 24px;
    background: rgba(5, 11, 20, 0.98);
    backdrop-filter: blur(25px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  .nav.open nav {
    display: flex;
    animation: fadeIn 0.25s ease;
  }
  
  .nav nav a:not(.nav-login):not(.nav-cta) {
    padding: 14px 0;
    border-radius: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 15px;
  }
  
  .nav-actions {
    display: none;
  }
  
  .nav.open .nav-actions-mobile {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 16px;
  }
  
  .hero {
    padding: 50px 20px 60px;
  }
  
  .hero h1 {
    font-size: 38px;
    letter-spacing: -1.5px;
  }
  
  .hero-proof {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  
  .section {
    padding: 70px 20px;
  }
  
  .heading {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  
  .service-grid, .value-grid, .team-grid, .testimonials-grid, .post-grid {
    grid-template-columns: 1fr;
  }
  
  .contact {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 70px 20px;
  }
  
  .contact form > div {
    grid-template-columns: 1fr;
  }
  
  .about-story {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .admin-stats {
    grid-template-columns: 1fr;
  }
  
  .admin-settings {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  
  .wa-float span {
    display: none;
  }
  
  .wa-float {
    padding: 14px;
    bottom: 20px;
    right: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
