/* =====================================================
   ROOT VARIABLES (DESIGN SYSTEM)
===================================================== */
:root {
  --bg-main: #0d0f14;
  --bg-surface: #12151c;
  --bg-card: rgba(18, 21, 28, 0.85);

  --orange-main: #ff8c32;
  --orange-soft: #ffb36b;
  --orange-glow: rgba(255, 140, 50, 0.35);
  --orange-glow-soft: rgba(255, 140, 50, 0.18);

  --text-main: #f5f7fa;
  --text-muted: #a7adba;
  --text-dark: #0d0f14;

  --border-soft: rgba(255, 255, 255, 0.06);
  --border-orange: rgba(255, 140, 50, 0.45);

  --radius-lg: 22px;
  --radius-md: 18px;
  --radius-sm: 14px;

  --transition: all 0.25s ease;
}

/* =====================================================
   RESET & BASE
===================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  background: radial-gradient(circle at top, #141821, var(--bg-main));
  color: var(--text-main);
  font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
  line-height: 1.6;
}

/* =====================================================
   GLOBAL CONTAINER
===================================================== */
main#home {
  max-width: 1400px;
  margin: auto;
  padding: 1.5rem;
}

/* =====================================================
   TYPOGRAPHY
===================================================== */
h1, h2, h3, h4 {
  font-weight: 600;
  letter-spacing: -0.02em;
}

p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* =====================================================
   GLOBAL ACTION BAR
===================================================== */
/* ===================================================== 
   HERO / GLOBAL ACTION BAR (PRO VERSION)
===================================================== */
#home-action-bar {
  background: rgba(20,20,20,0.85); /* subtle dark glass effect */
  border: 1px solid rgba(255, 140, 50, 0.15);
  border-radius: 1.25rem;
  padding: clamp(2rem, 4vw, 3rem); /* slightly bigger padding for "pro" feel */
  margin-bottom: 4rem;
  backdrop-filter: blur(20px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);

  display: flex;
  flex-direction: column;
  gap: 2.5rem; /* more breathing space */
  transition: all 0.3s ease;
}

/* =====================================================
   HERO GREETING (NEON WELCOME)
===================================================== */
.action-greeting {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  padding: 2rem 1.6rem;
  border-radius: 1.25rem;

  background: radial-gradient(circle at top, rgba(255,140,50,0.08), transparent 70%);
  position: relative;

  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.action-greeting:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 25px rgba(255,140,50,0.12);
}

/* subtle neon frame */
.action-greeting::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(255,140,50,0.2);
  box-shadow:
    0 0 0 1px rgba(255,140,50,0.15),
    0 0 45px rgba(255,140,50,0.15);
  pointer-events: none;
}

/* ===== HEADING ===== */
.action-greeting h1 {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  line-height: 1.2;
  font-weight: 700;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;

  text-shadow:
    0 0 20px rgba(255,165,0,0.6),
    0 0 35px rgba(255,165,0,0.4);
}

/* Neon highlight for username */
.action-greeting .user-name {
  color: #ff9100;
  text-shadow:
    0 0 10px rgba(255,165,0,0.6),
    0 0 28px rgba(255,165,0,0.4);
}

/* ===== SUBTEXT ===== */
.action-greeting p {
  margin-top: 0.8rem;
  font-size: 1rem;
  color: #d1d1d1;
  opacity: 0.95;
}

/* =====================================================
   HERO FLOATING DECOR (DESKTOP ONLY)
===================================================== */
@media (min-width: 900px) {
  .action-greeting {
    position: relative;
  }

  /* LEFT NEON ORB */
  .action-greeting::before {
    left: -140px;
    top: 50%;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,140,50,0.35), rgba(255,140,50,0.12), transparent 70%);
    filter: blur(8px);
    opacity: 0.75;
    animation: floatLeft 12s ease-in-out infinite;
  }

  /* RIGHT ICON GLOW */
  .action-greeting::after {
    content: "⚡";
    position: absolute;
    right: -120px;
    top: 45%;
    font-size: 3.6rem;
    opacity: 0.18;
    filter: drop-shadow(0 0 28px rgba(255,165,0,0.5));
    animation: floatRight 14s ease-in-out infinite;
  }
}

/* =====================================================
   FLOAT ANIMATIONS (VERY SUBTLE)
===================================================== */
@keyframes floatLeft {
  0%, 100% { transform: translateY(-50%) translateX(0); }
  50% { transform: translateY(-55%) translateX(10px); }
}

@keyframes floatRight {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

/* =====================================================
   ICONISED GREETING
===================================================== */
.action-greeting h1::before {
  content: "✨";
  font-size: 1.3em;
  filter: drop-shadow(0 0 14px rgba(255,165,0,0.6));
}

/* =====================================================
   MOBILE TUNING
===================================================== */
@media (max-width: 640px) {
  .action-greeting {
    padding: 1.8rem 1.2rem;
  }

  .action-greeting p {
    font-size: 0.95rem;
  }
}

/* =====================================================
   SERVICE SHORTCUTS (AUTO-CENTER LAST ROW)
===================================================== */
.service-shortcuts {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  justify-items: center;
  margin-top: 1.5rem;
}

/* ===== SERVICE TILE ===== */
.service-tile {
  background: linear-gradient(180deg, rgba(255,255,255,0.02), #1a1a1a);
  border: 1px solid rgba(255,140,50,0.15);
  border-radius: 1rem;
  padding: 1.6rem 1.2rem;

  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;

  text-align: center;
  color: #fff;
  text-decoration: none;

  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.service-tile .icon {
  font-size: 2.2rem;
  color: #ff9100;
  text-shadow: 0 0 18px rgba(255,165,0,0.45);
}

.service-tile .label {
  font-size: 1rem;
  font-weight: 500;
}

/* Hover */
.service-tile:hover {
  transform: translateY(-6px) scale(1.03);
  border-color: #ff9100;
  box-shadow: 0 0 0 1px #ff9100, 0 0 28px rgba(255,165,0,0.35);
}

/* =====================================================
   RESPONSIVE HERO GRID
===================================================== */
@media (max-width: 1100px) {
  .service-shortcuts {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 640px) {
  #home-action-bar {
    padding: 1.6rem;
  }

  .service-shortcuts {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }

  .service-tile {
    width: calc(50% - 0.5rem);
    max-width: 220px;
    padding: 1.2rem 0.8rem;
  }
}

:root {
  --border-orange: #ff7a00;
  --btn-bg: #1a1a1a; /* dark button background */
}

.category-chip:hover {
  background-color: var(--border-orange);
  color: #fff;
  border-color: var(--border-orange);
}

.btn-primary {
  background-color: var(--border-orange);
  color: white;
  text-decoration: none;
  display: inline-block;
  text-align: center;
}

.btn-primary:hover {
  background-color: #cc6600;
}

.btn-secondary {
  background-color: transparent;
  color: var(--border-orange);
  text-decoration: none;
  display: inline-block;
  text-align: center;
}

.btn-secondary:hover {
  background-color: var(--border-orange);
  color: white;
}
