/* Modern Reset & Variables */
:root {
  --bg-color: #0f1115;
  --card-bg: rgba(255, 255, 255, 0.03);
  --card-border: rgba(255, 255, 255, 0.05);
  --text-primary: #ffffff;
  --text-secondary: #a1a1aa;
  --accent-color: #8b5cf6;
  /* Violet */
  --accent-glow: rgba(139, 92, 246, 0.5);
  --gradient-start: #2e1065;
  --gradient-end: #000000;
  --font-main: 'Inter', system-ui, -apple-system, sans-serif;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  font-family: var(--font-main);
  background: var(--bg-color);
  background: radial-gradient(circle at top center, var(--gradient-start), var(--bg-color) 60%);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  padding: 0 20px;
  overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3 {
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

a {
  text-decoration: none;
  color: inherit;
}

/* Layout */
.container {
  max-width: 800px;
  margin: 80px auto;
  animation: fadeIn 0.8s ease-out;
}

/* Hero Section */
header {
  text-align: center;
  margin-bottom: 60px;
}

.profile-avatar {
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, var(--accent-color), #ec4899);
  border-radius: 50%;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  font-weight: bold;
  box-shadow: 0 0 30px var(--accent-glow);
}

h1 {
  font-size: 3rem;
  margin-bottom: 12px;
  background: linear-gradient(to right, #fff, #a5b4fc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

/* Cards & Glassmorphism */
.report-section {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 30px;
  backdrop-filter: blur(10px);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.card:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
  box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.5);
}

.card h2 {
  font-size: 1.5rem;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.card-icon {
  color: var(--accent-color);
}

.status-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
  margin-bottom: 12px;
}

.status-active {
  background: rgba(16, 185, 129, 0.1);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.status-neutral {
  background: rgba(148, 163, 184, 0.1);
  color: #94a3b8;
  border: 1px solid rgba(148, 163, 184, 0.2);
}

.card-content {
  color: var(--text-secondary);
}

/* Recommendation Grid */
.recommendation-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.rec-item {
  background: rgba(255, 255, 255, 0.03);
  padding: 20px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.rec-item h3 {
  font-size: 1.1rem;
  transform: translateY(-2px);
  color: #ec4899;
  /* Pinkish accent for recommendations */
  margin-bottom: 8px;
}

.rec-item p {
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Decorative background elements */
.glow {
  position: absolute;
  width: 300px;
  height: 300px;
  background: var(--accent-color);
  filter: blur(100px);
  opacity: 0.15;
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
}

.glow-1 {
  top: -100px;
  left: -100px;
}

.glow-2 {
  bottom: -100px;
  right: -100px;
  background: #ec4899;
}

footer {
  text-align: center;
  margin-top: 60px;
  color: var(--text-secondary);
  font-size: 0.9rem;
  opacity: 0.6;
}