
/* ============================================================
   OXENTA SOFTWARE — Hero Section CSS
   Ultra Modern Dark Tech Design
   ============================================================ */

/* ── Keyframe Animations ─────────────────────────────────── */
@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%       { transform: translate(30px, -20px) scale(1.05); }
  66%       { transform: translate(-20px, 15px) scale(0.97); }
}
@keyframes orbFloat2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%       { transform: translate(-25px, 20px) scale(1.04); }
  66%       { transform: translate(20px, -15px) scale(0.98); }
}
@keyframes cursorBlink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}
@keyframes terminalBlink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}
@keyframes metricFloat1 {
  0%, 100% { transform: translateY(0px) rotate(-2deg); }
  50%       { transform: translateY(-10px) rotate(-2deg); }
}
@keyframes metricFloat2 {
  0%, 100% { transform: translateY(0px) rotate(2deg); }
  50%       { transform: translateY(-8px) rotate(2deg); }
}
@keyframes metricFloat3 {
  0%, 100% { transform: translateY(0px) rotate(-1deg); }
  50%       { transform: translateY(-12px) rotate(-1deg); }
}
@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50%       { transform: translateY(6px); opacity: 0.5; }
}
@keyframes shineSlide {
  0%   { left: -100%; }
  100% { left: 200%; }
}
@keyframes pulseGlowBadge {
  0%, 100% { box-shadow: 0 0 0 0 rgba(229,46,113,0.5); }
  50%       { box-shadow: 0 0 0 6px rgba(229,46,113,0); }
}
@keyframes gridPulse {
  0%, 100% { opacity: 0.4; }
  50%       { opacity: 0.7; }
}
@keyframes techBadgeIn {
  from { opacity: 0; transform: translateY(16px) scale(0.85); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes heroFadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes heroFadeInRight {
  from { opacity: 0; transform: translateX(32px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes editorIn {
  from { opacity: 0; transform: perspective(900px) rotateY(10deg) translateX(40px); }
  to   { opacity: 1; transform: perspective(900px) rotateY(0deg) translateX(0); }
}

/* ══════════════════════════════════════════════════════════
   HERO WRAPPER
══════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: calc(100vh - 72px);
  overflow: hidden;
  background: #ffffff;
  display: flex;
  flex-direction: column;
}

/* ── Background Layers ────────────────────────────────────── */
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  touch-action: none;
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(229,46,113,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(229,46,113,0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  animation: gridPulse 5s ease-in-out infinite;
}

.hero-bg-grid::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 90% 70% at 50% 50%, transparent 30%, #ffffff 100%);
}

.hero-bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
}

.hero-bg-orb-1 {
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(229,46,113,0.18) 0%, transparent 65%);
  top: -280px;
  left: -180px;
  animation: orbFloat 14s ease-in-out infinite;
}

.hero-bg-orb-2 {
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(255,138,0,0.14) 0%, transparent 65%);
  bottom: -180px;
  right: -120px;
  animation: orbFloat2 17s ease-in-out infinite;
}

.hero-bg-orb-3 {
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(124,58,237,0.1) 0%, transparent 65%);
  top: 35%;
  left: 38%;
  animation: orbFloat 20s ease-in-out infinite reverse;
}

/* ── Hero Container ───────────────────────────────────────── */
.hero-container {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  padding: 72px 48px 80px;
  width: 100%;
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

/* ══════════════════════════════════════════════════════════
   LEFT: TEXT CONTENT
══════════════════════════════════════════════════════════ */
.hero-content {
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 3;
}

/* Status Badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 8px;
  background: rgba(229,46,113,0.07);
  border: 1px solid rgba(229,46,113,0.2);
  border-radius: 100px;
  width: fit-content;
  margin-bottom: 28px;
  animation: heroFadeInUp 0.6s 0.1s ease both;
  cursor: default;
  transition: background 0.25s, border-color 0.25s;
}

.hero-badge:hover {
  background: rgba(229,46,113,0.12);
  border-color: rgba(229,46,113,0.4);
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  background: #e52e71;
  border-radius: 50%;
  flex-shrink: 0;
  animation: pulseGlowBadge 2s ease-in-out infinite;
}

.hero-badge-text {
  font-size: 12px;
  font-weight: 600;
  color: #e52e71;
  letter-spacing: 0.3px;
}

.hero-badge-arrow {
  color: rgba(229,46,113,0.6);
  display: flex;
  align-items: center;
}

/* Main Heading */
.hero-heading {
  font-size: clamp(36px, 4.2vw, 66px);
  font-weight: 900;
  line-height: 1.04;
  letter-spacing: -2.5px;
  color: #25282d;
  margin-bottom: 22px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hero-heading-line { display: block; }

.hero-heading-line-1 {
  animation: heroFadeInUp 0.7s 0.2s ease both;
  color: #25282d;
}

.hero-heading-line-2 {
  animation: heroFadeInUp 0.7s 0.35s ease both;
  display: flex;
  align-items: baseline;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-heading-line-3 {
  animation: heroFadeInUp 0.7s 0.5s ease both;
}

.hero-heading-gradient {
  background: linear-gradient(135deg, #e52e71 0%, #ff8a00 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-typing-wrap {
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
}

.hero-typing {
  background: linear-gradient(135deg, #e52e71 0%, #ff8a00 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-cursor {
  color: #e52e71;
  font-weight: 300;
  animation: cursorBlink 1s step-end infinite;
  margin-left: 2px;
  -webkit-text-fill-color: #e52e71;
}

/* Description */
.hero-desc {
  font-size: 16px;
  color: #64748b;
  line-height: 1.85;
  max-width: 480px;
  margin-bottom: 36px;
  animation: heroFadeInUp 0.7s 0.55s ease both;
}

.hero-desc strong {
  color: #25282d;
  font-weight: 600;
}

/* CTA Buttons */
.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 44px;
  animation: heroFadeInUp 0.7s 0.65s ease both;
  position: relative;
  z-index: 4;
}

/* Primary Button */
.hero-btn-primary {
  position: relative;
  display: inline-flex;
  align-items: center;
  overflow: hidden;
  border-radius: 12px;
  text-decoration: none;
  font-family: 'Inter', sans-serif;
  font-size: 14.5px;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  box-shadow: 0 8px 32px rgba(229,46,113,0.38);
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  cursor: pointer;
  z-index: 4;
}

.hero-btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 52px rgba(229,46,113,0.55);
}

.hero-btn-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #e52e71 0%, #ff8a00 100%);
}

.hero-btn-content {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
}

.hero-btn-content svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.hero-btn-shine {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 50%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.22), transparent);
  left: -100%;
  z-index: 2;
  transform: skewX(-15deg);
}

.hero-btn-primary:hover .hero-btn-shine {
  animation: shineSlide 0.55s ease forwards;
}

/* Secondary Button */
.hero-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  background: transparent;
  color: #33383e;
  font-size: 14.5px;
  font-weight: 500;
  border-radius: 12px;
  border: 1.5px solid #e8e9eb;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  white-space: nowrap;
  transition: background 0.22s, border-color 0.22s, transform 0.22s, color 0.22s;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  position: relative;
  z-index: 4;
}

.hero-btn-secondary:hover {
  background: rgba(229,46,113,0.05);
  border-color: rgba(229,46,113,0.35);
  color: #e52e71;
  transform: translateY(-2px);
}

.hero-btn-secondary svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* Stats Row */
.hero-stats {
  display: flex;
  align-items: center;
  margin-bottom: 32px;
  animation: heroFadeInUp 0.7s 0.75s ease both;
  padding: 22px 0;
  border-top: 1px solid #e8e9eb;
  border-bottom: 1px solid #e8e9eb;
}

.hero-stat {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 0 12px;
  text-align: center;
}

.hero-stat-divider {
  width: 1px;
  height: 38px;
  background: #e8e9eb;
  flex-shrink: 0;
}

.hero-stat-num {
  font-size: 26px;
  font-weight: 900;
  letter-spacing: -1px;
  background: linear-gradient(135deg, #e52e71 0%, #ff8a00 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.hero-stat-plus {
  font-size: 16px;
  font-weight: 700;
  color: #ff8a00;
  line-height: 1;
  min-height: 16px;
  -webkit-text-fill-color: #ff8a00;
}

.hero-stat-label {
  font-size: 10px;
  color: #8a8f96;
  font-weight: 500;
  line-height: 1.4;
  text-align: center;
}

/* Trusted */
.hero-trusted {
  display: flex;
  align-items: center;
  gap: 12px;
  animation: heroFadeInUp 0.7s 0.85s ease both;
}

.hero-trusted-avatars {
  display: flex;
  align-items: center;
}

.hero-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: white;
  margin-left: -8px;
  flex-shrink: 0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}

.hero-avatar:first-child { margin-left: 0; }

.hero-trusted-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.hero-trusted-stars {
  display: flex;
  align-items: center;
  gap: 2px;
}

.hero-trusted-text {
  font-size: 12px;
  color: #8a8f96;
  font-weight: 500;
}

.hero-trusted-text strong {
  color: #25282d;
  font-weight: 700;
}

/* ══════════════════════════════════════════════════════════
   RIGHT: VISUAL PANEL
══════════════════════════════════════════════════════════ */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: editorIn 0.9s 0.3s ease both;
}

/* ── Code Editor ──────────────────────────────────────────── */
.hero-editor {
  width: 100%;
  max-width: 460px;
  background: #1e2433;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 18px;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(229,46,113,0.1),
    0 40px 80px rgba(0,0,0,0.18),
    0 8px 32px rgba(229,46,113,0.06);
  position: relative;
  z-index: 2;
}

/* Editor Header */
.hero-editor-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: #161b27;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.hero-editor-dots {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  flex-shrink: 0;
}

.dot-red    { background: #ff5f57; }
.dot-yellow { background: #febc2e; }
.dot-green  { background: #28c840; }

.hero-editor-title {
  flex: 1;
  font-size: 12px;
  font-weight: 500;
  color: rgba(255,255,255,0.4);
  text-align: center;
  font-family: 'Courier New', monospace;
}

.hero-editor-actions { flex-shrink: 0; }

.hero-editor-tag {
  display: inline-block;
  padding: 2px 8px;
  background: rgba(229,46,113,0.15);
  border: 1px solid rgba(229,46,113,0.25);
  border-radius: 4px;
  font-size: 10px;
  font-weight: 700;
  color: #e52e71;
  letter-spacing: 0.5px;
}

/* Editor Body */
.hero-editor-body {
  display: flex;
  padding: 16px 0;
  font-family: 'Courier New', monospace;
  font-size: 12.5px;
  line-height: 1.9;
  overflow: hidden;
}

.hero-editor-lines {
  display: flex;
  flex-direction: column;
  padding: 0 14px;
  color: rgba(255,255,255,0.18);
  font-size: 11px;
  user-select: none;
  border-right: 1px solid rgba(255,255,255,0.05);
  min-width: 42px;
  text-align: right;
}

.hero-editor-code {
  flex: 1;
  padding: 0 18px;
  overflow: hidden;
}

.code-line {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.code-indent   { padding-left: 18px; }
.code-indent-2 { padding-left: 36px; }

/* Syntax Colors */
.c-comment { color: #4a5568; font-style: italic; }
.c-keyword  { color: #c792ea; }
.c-class    { color: #82aaff; }
.c-fn       { color: #82aaff; }
.c-string   { color: #c3e88d; }
.c-var      { color: #f07178; }

/* Terminal */
.hero-editor-terminal {
  background: #070a10;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 10px 16px 12px;
  font-family: 'Courier New', monospace;
  font-size: 12px;
}

.hero-terminal-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  color: rgba(255,255,255,0.25);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.hero-terminal-bar svg { opacity: 0.4; }

.hero-terminal-output {
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
}

.t-prompt  { color: #e52e71; margin-right: 6px; }
.t-cmd     { color: rgba(255,255,255,0.5); }
.t-success { color: #28c840; margin-right: 6px; }
.t-out     { color: #c3e88d; }

.t-cursor-blink {
  color: #e52e71;
  animation: terminalBlink 1s step-end infinite;
  margin-left: 2px;
}

/* ── Floating Metric Cards ────────────────────────────────── */
.hero-metric {
  position: absolute;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(229,46,113,0.12);
  border-radius: 14px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.1), 0 2px 8px rgba(229,46,113,0.06);
  z-index: 3;
  min-width: 160px;
}

.hero-metric-1 {
  top: 6%;
  right: -28px;
  animation: metricFloat1 5s ease-in-out infinite;
}

.hero-metric-2 {
  bottom: 24%;
  left: -32px;
  animation: metricFloat2 6s ease-in-out infinite;
  min-width: 140px;
}

.hero-metric-3 {
  bottom: 4%;
  right: -20px;
  animation: metricFloat3 4.5s ease-in-out infinite;
  min-width: 130px;
}

.hero-metric-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, rgba(229,46,113,0.2), rgba(255,138,0,0.2));
  border: 1px solid rgba(229,46,113,0.2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero-metric-icon svg {
  width: 16px;
  height: 16px;
  stroke: #e52e71;
}

.hero-metric-icon-green {
  background: linear-gradient(135deg, rgba(16,185,129,0.2), rgba(5,150,105,0.2));
  border-color: rgba(16,185,129,0.2);
}

.hero-metric-icon-green svg { stroke: #10b981; }

.hero-metric-icon-blue {
  background: linear-gradient(135deg, rgba(14,165,233,0.2), rgba(59,130,246,0.2));
  border-color: rgba(14,165,233,0.2);
}

.hero-metric-icon-blue svg { stroke: #0ea5e9; }

.hero-metric-body { flex: 1; }

.hero-metric-value {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.5px;
  background: linear-gradient(135deg, #e52e71, #ff8a00);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 2px;
}

.hero-metric-label {
  font-size: 10.5px;
  color: #8a8f96;
  font-weight: 500;
}

.hero-metric-chart {
  width: 60px;
  height: 30px;
  flex-shrink: 0;
}

.hero-metric-chart svg {
  width: 100%;
  height: 100%;
}

.hero-metric-pulse {
  width: 8px;
  height: 8px;
  background: #10b981;
  border-radius: 50%;
  flex-shrink: 0;
  animation: pulseGlowBadge 1.5s ease-in-out infinite;
}

/* ── Tech Stack Badges ────────────────────────────────────── */
.hero-tech-stack {
  position: absolute;
  bottom: -24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 3;
  flex-wrap: nowrap;
}

.hero-tech-badge {
  padding: 5px 12px;
  background: #ffffff;
  border: 1px solid #e8e9eb;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 600;
  color: #64748b;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  transition: border-color 0.2s, color 0.2s, background 0.2s;
  cursor: default;
}

.hero-tech-badge:hover {
  border-color: rgba(229,46,113,0.35);
  color: #e52e71;
  background: rgba(229,46,113,0.04);
}

.hero-tech-badge:nth-child(1) { animation: techBadgeIn 0.5s 1.0s ease both; }
.hero-tech-badge:nth-child(2) { animation: techBadgeIn 0.5s 1.1s ease both; }
.hero-tech-badge:nth-child(3) { animation: techBadgeIn 0.5s 1.2s ease both; }
.hero-tech-badge:nth-child(4) { animation: techBadgeIn 0.5s 1.3s ease both; }
.hero-tech-badge:nth-child(5) { animation: techBadgeIn 0.5s 1.4s ease both; }

/* ── Scroll Indicator ─────────────────────────────────────── */
.hero-scroll-indicator {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 2;
  animation: heroFadeInUp 0.7s 1.2s ease both;
}

.hero-scroll-mouse {
  width: 22px;
  height: 34px;
  border: 2px solid rgba(37,40,45,0.2);
  border-radius: 11px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 5px;
}

.hero-scroll-wheel {
  width: 3px;
  height: 7px;
  background: rgba(229,46,113,0.7);
  border-radius: 2px;
  animation: scrollBounce 1.8s ease-in-out infinite;
}

.hero-scroll-indicator span {
  font-size: 10px;
  font-weight: 500;
  color: rgba(37,40,45,0.35);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

/* ══════════════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 48px;
    padding: 56px 32px 100px;
  }

  .hero-visual {
    display: flex;
    justify-content: center;
    padding-bottom: 40px;
  }

  .hero-editor {
    max-width: 520px;
  }

  .hero-metric-1 { top: -20px; right: 0; }
  .hero-metric-2 { bottom: 10px; left: 0; }
  .hero-metric-3 { bottom: -10px; right: 0; }
}

@media (max-width: 768px) {
  .hero-container {
    padding: 40px 20px 90px;
    gap: 36px;
  }

  .hero-heading {
    letter-spacing: -1.5px;
  }

  .hero-heading-line-2 {
    gap: 8px;
  }

  .hero-desc {
    font-size: 15px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-btn-primary,
  .hero-btn-secondary {
    justify-content: center;
  }

  .hero-stats {
    gap: 0;
  }

  .hero-stat {
    padding: 0 8px;
  }

  .hero-stat-num {
    font-size: 20px;
  }

  .hero-metric {
    display: none;
  }

  .hero-tech-stack {
    flex-wrap: wrap;
    justify-content: center;
    position: static;
    transform: none;
    margin-top: 24px;
  }

  .hero-scroll-indicator {
    display: none;
  }
}

@media (max-width: 480px) {
  .hero-container {
    padding: 32px 16px 80px;
  }

  .hero-heading {
    letter-spacing: -1px;
  }

  .hero-heading-line-2 {
    flex-direction: column;
    gap: 0;
  }

  .hero-stat-num {
    font-size: 18px;
  }

  .hero-stat-label {
    font-size: 9px;
  }

  .hero-editor-body {
    font-size: 11px;
  }
}