/* ==============================
   Rishvin Labs v3 Base Styles
   Theme: Premium Light Luxury
   ============================== */

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  text-rendering: optimizeLegibility;
  zoom: 0.9;
}

body {
  font-family: var(--font-body);
  color: var(--text-primary);
  background-color: var(--bg-primary);
  background-image:
    var(--gradient-hero),
    radial-gradient(ellipse 60% 40% at 85% 80%, rgba(124, 58, 237, 0.05) 0%, transparent 60%);
  background-attachment: fixed;
  line-height: var(--line-height-base);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ─── Focus ──────────────────────────────────── */
:focus-visible {
  outline: 2px solid var(--accent-blue);
  outline-offset: 3px;
  border-radius: 3px;
}

/* ─── Typography ─────────────────────────────── */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: var(--weight-semibold);
  line-height: var(--line-height-tight);
  color: var(--text-primary);
  letter-spacing: -0.025em;
}

h1 {
  font-size: var(--text-h1);
}

h2 {
  font-size: var(--text-h2);
}

h3 {
  font-size: var(--text-h3);
}

h4 {
  font-size: var(--text-h4);
  font-weight: var(--weight-semibold);
}

p {
  color: var(--text-secondary);
  font-size: var(--text-body);
  line-height: var(--line-height-base);
  max-width: 72ch;
}

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

a:hover {
  opacity: 0.75;
}

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

/* ─── Layout Utilities ───────────────────────── */
.container {
  width: min(1400px, 92%);
  margin-inline: auto;
}

.container-wide {
  width: min(1520px, 95%);
  margin-inline: auto;
}

.container-medium {
  width: min(1160px, 90%);
  margin-inline: auto;
}

.container-narrow {
  width: min(840px, 88%);
  margin-inline: auto;
}

.section {
  padding: var(--space-section) 0;
}

.section-light {
  background-color: var(--bg-secondary);
}

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

/* ─── Selection ──────────────────────────────── */
::selection {
  background: var(--accent-blue);
  color: #FFFFFF;
}

/* ─── Scrollbar ──────────────────────────────── */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
  background: var(--border-strong);
  border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--text-muted);
}

/* ─── Logo Image ─────────────────────────────── */
.logo-img {
  width: 32px;
  height: 32px;
  object-fit: cover;
  border-radius: 50%;
  vertical-align: middle;
}

.footer-brand .logo-img {
  width: 44px;
  height: 44px;
}

/* ─────────────────────────────────────────
   HERO SECTION
───────────────────────────────────────── */
.hero {
  min-height: 100vh;
  padding-top: 100px;
  padding-bottom: 80px;
  display: flex;
  align-items: center;
  position: relative;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

/* Decorative grid overlay */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 80px 80px;
  opacity: 0.5;
  z-index: 0;
  pointer-events: none;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 0%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 0%, transparent 100%);
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.7fr 1fr;
  gap: 56px;
  align-items: center;
}

/* ─── Hero Left ──────────────────────────────── */
.hero-left {
  display: flex;
  flex-direction: column;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-blue);
  background: rgba(37, 99, 235, 0.06);
  margin-bottom: var(--space-6);
  width: fit-content;
}

.hero-badge-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent-blue);
  animation: pulse 2s ease-in-out infinite;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: var(--text-hero);
  line-height: 1.0;
  font-weight: var(--weight-black);
  letter-spacing: -0.03em;
  margin: 0 0 24px;
  max-width: 660px;
  color: var(--text-primary);
}

.hero-title .line-accent {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 1.08rem;
  line-height: 1.75;
  color: var(--text-secondary);
  max-width: 540px;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  gap: var(--space-4);
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: var(--space-10);
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3) var(--space-6);
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-muted);
  padding-top: var(--space-8);
  border-top: 1px solid var(--border);
}

.hero-stats strong {
  color: var(--text-primary);
  font-size: 1rem;
  font-weight: var(--weight-bold);
}

.hero-stats .separator {
  color: var(--border-strong);
  font-size: 1rem;
}

/* ─── Hero Visual (Center) ───────────────────── */
.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.blueprint-grid {
  position: relative;
  width: 100%;
  max-width: 260px;
  aspect-ratio: 1;
  color: var(--text-primary);
}

.blueprint-circle {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid var(--border);
}

/* Animated rings */
.ring-outer,
.ring-mid,
.ring-inner {
  position: absolute;
  border-radius: 50%;
  border: 1px solid transparent;
  top: 50%;
  left: 50%;
}

.ring-outer {
  width: 240px;
  height: 240px;
  margin: -120px 0 0 -120px;
  border-color: var(--glass-border);
  animation: spin-cw 18s linear infinite;
}

.ring-outer::before {
  content: '';
  position: absolute;
  width: 6px;
  height: 6px;
  background: var(--accent-blue);
  border-radius: 50%;
  top: -3px;
  left: 50%;
  margin-left: -3px;
  box-shadow: var(--glow-blue);
}

.ring-mid {
  width: 170px;
  height: 170px;
  margin: -85px 0 0 -85px;
  border-color: rgba(124, 58, 237, 0.15);
  animation: spin-ccw 12s linear infinite;
}

.ring-mid::before {
  content: '';
  position: absolute;
  width: 5px;
  height: 5px;
  background: var(--accent-violet);
  border-radius: 50%;
  bottom: -2.5px;
  left: 50%;
  margin-left: -2.5px;
  box-shadow: var(--glow-violet);
}

.ring-inner {
  width: 90px;
  height: 90px;
  margin: -45px 0 0 -45px;
  border-color: var(--border-accent);
  animation: spin-cw 7s linear infinite;
}

.blueprint-grid svg.grid-lines {
  width: 100%;
  height: 100%;
  display: block;
  color: var(--text-primary);
}

/* ─── Hero Right (Domain Cards) ──────────────── */
.hero-right {
  display: flex;
  flex-direction: column;
}

.domain-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow-card);
}

.domain-card {
  padding: 24px 20px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  transition: background var(--transition-base), color var(--transition-base);
  cursor: pointer;
}

.domain-card:nth-child(even) {
  border-right: none;
}

.domain-card:nth-last-child(-n+2) {
  border-bottom: none;
}

.domain-card:hover {
  background: var(--bg-secondary);
}

.domain-card .card-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  padding: 7px;
  margin-bottom: 12px;
  background: rgba(37, 99, 235, 0.08);
  color: var(--accent-blue);
}

.domain-card h3 {
  font-size: 0.88rem;
  font-weight: var(--weight-semibold);
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}

.domain-card p {
  font-size: 0.78rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 10px;
  max-width: none;
}

.domain-link {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent-blue);
  text-decoration: none;
  font-weight: var(--weight-bold);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.domain-card:hover .domain-link {
  opacity: 1;
}

/* Expandable cards */
.expandable-card .card-details {
  display: none;
}

/* Outcome list */
.outcome-list {
  list-style: none;
  padding: 0;
  margin: 10px 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.outcome-list li {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.outcome-list li i {
  width: 12px;
  height: 12px;
  color: var(--success);
  flex-shrink: 0;
}

/* ─────────────────────────────────────────
   MARQUEE / TECH STACK BAR
───────────────────────────────────────── */
.marquee-section {
  padding: var(--space-6) 0;
  overflow: hidden;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.marquee-container {
  display: flex;
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
  mask-image: linear-gradient(90deg, transparent 0%, black 10%, black 90%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 10%, black 90%, transparent 100%);
}

.marquee-content {
  display: flex;
  gap: var(--space-8);
  animation: scroll-marquee 24s linear infinite;
  flex-shrink: 0;
}

.marquee-item {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: var(--weight-bold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: var(--space-8);
  white-space: nowrap;
}

.marquee-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--border-strong);
}

/* ─────────────────────────────────────────
   WHY SECTION CARDS
───────────────────────────────────────── */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.why-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.why-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity var(--transition-base);
}

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

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

.why-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(37, 99, 235, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-5);
  color: var(--accent-blue);
}

.why-icon i {
  width: 20px;
  height: 20px;
}

.why-card h4 {
  margin-bottom: var(--space-2);
  font-size: 1rem;
}

.why-card p {
  font-size: var(--text-small);
  margin-bottom: 0;
  max-width: none;
}

/* ─────────────────────────────────────────
   PROJECT SLIDER
───────────────────────────────────────── */
.project-slider {
  display: flex;
  gap: var(--space-6);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: var(--space-4);
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.project-slider::-webkit-scrollbar {
  display: none;
}

.project-card {
  min-width: 340px;
  max-width: 420px;
  flex: 0 0 auto;
  scroll-snap-align: start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.project-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity var(--transition-base);
}

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

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

.project-card .tech-label {
  font-size: 0.65rem;
  margin-bottom: var(--space-4);
}

.project-card h3 {
  margin-bottom: var(--space-2);
  font-size: 1.15rem;
}

.project-card p {
  font-size: var(--text-small);
  flex-grow: 1;
  margin-bottom: var(--space-6);
  max-width: none;
}

/* ─────────────────────────────────────────
   WORKFLOW TIMELINE
───────────────────────────────────────── */
.workflow-timeline {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
  max-width: 600px;
  margin: 0 auto;
  position: relative;
}

.timeline-line {
  position: absolute;
  left: 19px;
  top: 20px;
  bottom: 20px;
  width: 1px;
  background: linear-gradient(to bottom, var(--accent-blue), var(--accent-violet), transparent);
  z-index: 0;
}

.timeline-step {
  display: flex;
  gap: var(--space-6);
  align-items: flex-start;
  position: relative;
  z-index: 1;
}

.timeline-num {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--surface);
  border: 1.5px solid var(--border-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: var(--weight-bold);
  color: var(--accent-blue);
  flex-shrink: 0;
  box-shadow: var(--shadow-card);
  transition: all var(--transition-base);
}

.timeline-step:hover .timeline-num {
  background: var(--gradient-primary);
  color: #fff;
  border-color: transparent;
  box-shadow: var(--glow-btn);
}

.timeline-step h4 {
  margin-bottom: 4px;
}

.timeline-step p {
  font-size: var(--text-small);
  margin: 0;
  max-width: none;
}

/* ─────────────────────────────────────────
   CTA SECTION
───────────────────────────────────────── */
.cta-section {
  position: relative;
  overflow: hidden;
  padding: var(--space-section) 0;
  border-bottom: 1px solid var(--border);
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 80% at 50% 50%,
      rgba(37, 99, 235, 0.10) 0%,
      rgba(124, 58, 237, 0.06) 50%,
      transparent 80%);
  pointer-events: none;
}

.cta-section .container {
  position: relative;
  z-index: 1;
}

.cta-section h2 {
  font-size: var(--text-h1);
  max-width: 700px;
  margin: 0 auto var(--space-8);
  letter-spacing: -0.03em;
}

/* ─────────────────────────────────────────
   GITHUB ACTIVITY
───────────────────────────────────────── */
.github-panel {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.github-panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-5) var(--space-8);
  border-bottom: 1px solid var(--border);
  background: var(--bg-secondary);
}

/* ─────────────────────────────────────────
   SECTION HEADERS (shared utility)
───────────────────────────────────────── */
.section-header {
  margin-bottom: var(--space-12);
}

.section-header.centered {
  text-align: center;
}

.section-header .tech-label {
  margin-bottom: var(--space-3);
  display: block;
}

.section-header h2 {
  margin-bottom: var(--space-4);
}

.section-header p {
  max-width: 560px;
}

.section-header.centered p {
  margin-inline: auto;
}

/* ─────────────────────────────────────────
   METRICS BAR
───────────────────────────────────────── */
.metrics {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
}

.metric {
  padding: 44px 28px;
  text-align: center;
  border-right: 1px solid var(--border);
  position: relative;
}

.metric:last-child {
  border-right: none;
}

.metric::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 2px;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.metric:hover::before {
  opacity: 1;
}

.metric h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 2.5vw, 2.4rem);
  font-weight: var(--weight-bold);
  letter-spacing: -0.03em;
  margin-bottom: 6px;
  line-height: 1;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.metric p {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin: 0;
}

/* ─────────────────────────────────────────
   RESPONSIVE BREAKPOINTS
───────────────────────────────────────── */
@media (max-width: 1100px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .hero-visual {
    display: none;
  }

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

@media (max-width: 992px) {
  :root {
    --space-section: 100px;
  }

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

  .metric:nth-child(3) {
    border-right: none;
  }

  .metric:nth-child(n+4) {
    border-top: 1px solid var(--border);
  }

  div[style*="grid-template-columns: 1fr 2fr"],
  div[style*="grid-template-columns: 1.5fr 1fr"],
  div[style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
    gap: var(--space-8) !important;
  }
}

@media (max-width: 768px) {
  :root {
    --text-hero: 2.8rem;
    --text-h1: 2.2rem;
    --text-h2: 1.85rem;
    --space-section: 80px;
  }

  .hero {
    min-height: auto;
    padding-top: 100px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-visual {
    display: none;
  }

  .domain-cards-grid {
    grid-template-columns: 1fr 1fr;
  }

  .why-grid {
    grid-template-columns: 1fr;
  }

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

  .metric:nth-child(2n) {
    border-right: none;
  }

  .metric:nth-child(n+3) {
    border-top: 1px solid var(--border);
  }

  h1,
  h2 {
    letter-spacing: -0.02em;
  }

  p {
    line-height: 1.6;
  }

  #custom-cursor {
    display: none !important;
  }

  .section {
    padding: 80px 0;
  }
}

@media (max-width: 480px) {
  :root {
    --text-hero: 2.3rem;
    --text-h1: 1.9rem;
    --text-h2: 1.6rem;
  }

  .hero-title {
    font-size: clamp(2rem, 8vw, 2.6rem);
  }

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

  .domain-cards-grid {
    grid-template-columns: 1fr;
  }

  .metrics-grid {
    grid-template-columns: 1fr 1fr;
  }

  .project-slider {
    gap: var(--space-4);
  }

  .project-card {
    min-width: 280px;
  }

  .section {
    padding: 60px 0;
  }
}

/* ─────────────────────────────────────────
   SERVICES PAGE RESPONSIVE
───────────────────────────────────────── */
@media (max-width: 1200px) {

  #pillars div[style*="repeat(5, 1fr)"],
  #pillars .container-wide>div[style*="repeat(5, 1fr)"] {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}

@media (max-width: 900px) {
  #pillars div[style*="repeat(5, 1fr)"] {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  #services-list div[style*="1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }

  #packages div[style*="repeat(3, 1fr)"],
  #retainers div[style*="repeat(3, 1fr)"] {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 600px) {
  #pillars div[style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
  }

  #packages div[style*="repeat(2, 1fr)"],
  #packages div[style*="1fr 1fr"],
  #digital-products div[style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
  }

  #tech-stack-section div[style*="grid-template-columns"] {
    grid-template-columns: 1fr 1fr !important;
  }
}

/* ─────────────────────────────────────────
   HERO UPGRADE (Global Premium UX)
───────────────────────────────────────── */
.hero-section {
  position: relative;
  padding-top: clamp(120px, 15vh, 160px) !important;
  padding-bottom: clamp(60px, 8vh, 100px) !important;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  background: var(--bg-primary);
  z-index: 1;
}

/* Premium Background Grid */
.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(37, 99, 235, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 99, 235, 0.05) 1px, transparent 1px);
  background-size: 50px 50px;
  background-position: center top;
  z-index: -2;
  mask-image: radial-gradient(circle at top center, rgba(0, 0, 0, 1) 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(circle at top center, rgba(0, 0, 0, 1) 0%, transparent 70%);
}

/* Dynamic Ambient Glow Orbs */
.hero-glow-1,
.hero-glow-2 {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.15;
  z-index: -1;
  pointer-events: none;
  animation: floatGlow 10s ease-in-out infinite alternate;
}

.hero-glow-1 {
  width: 600px;
  height: 600px;
  background: var(--accent-blue);
  top: -200px;
  right: -100px;
  animation-delay: 0s;
}

.hero-glow-2 {
  width: 500px;
  height: 500px;
  background: var(--accent-violet);
  bottom: -150px;
  left: -150px;
  animation-delay: -5s;
}

@keyframes floatGlow {
  0% {
    transform: translate(0, 0) scale(1);
  }

  50% {
    transform: translate(-30px, 50px) scale(1.1);
  }

  100% {
    transform: translate(20px, -40px) scale(0.9);
  }
}

/* Typography Refinements */
.hero-section h1 {
  font-size: clamp(2.5rem, 5vw, 4rem) !important;
  line-height: 1.1 !important;
  letter-spacing: -0.02em !important;
  margin-bottom: var(--space-5) !important;
  font-weight: 700;
  position: relative;
  z-index: 2;
  color: var(--text-primary);
}

.hero-section h1 .gradient-text,
.hero-section h1 .line-accent {
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-violet));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
  padding-bottom: 0.1em;
}

/* Unified Tech Label */
.hero-section .tech-label,
.hero-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content !important;
  max-width: 100%;
  gap: 10px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(37, 99, 235, 0.2);
  border-radius: 100px;
  font-size: 0.7rem;
  font-family: var(--font-mono);
  color: var(--accent-blue);
  margin-bottom: var(--space-6) !important;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  box-shadow: 0 4px 20px rgba(37, 99, 235, 0.05);
  z-index: 2;
  position: relative;
}

.hero-section .tech-label::before,
.hero-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--accent-blue);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent-blue), 0 0 4px var(--accent-blue);
  animation: pulse 2s infinite;
}

.hero-section p.hero-description,
.hero-section p {
  font-size: clamp(1rem, 1.5vw, 1.15rem) !important;
  color: var(--text-secondary) !important;
  max-width: 600px;
  line-height: 1.6 !important;
  margin-bottom: var(--space-8) !important;
  z-index: 2;
  position: relative;
  font-weight: 400;
}

/* Hero Actions */
.hero-section .hero-actions,
.hero-section .btn-group,
.hero-section>.container>div:last-child {
  z-index: 2;
  position: relative;
}

.hero-section .btn {
  padding: 14px 32px !important;
  font-size: 0.9rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.02em;
  border-radius: var(--radius-sm);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-section .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.2);
}

/* End of Hero Upgrade */

/* End of Hero Upgrade */