:root {
  --bg-primary: #0a0a0c;
  --bg-secondary: #141418;
  --accent-joy: #ffd700;
  --accent-rage: #ff4d4d;
  --accent-sadness: #4d94ff;
  --accent-awe: #bf40ff;
  --text-primary: #f0f0f0;
  --text-secondary: #a0a0a0;
  --glass-bg: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.1);
  --glass-blur: blur(12px);
  --card-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.8);
  --neon-glow: 0 0 15px rgba(255, 255, 255, 0.1);
}

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

body {
  font-family: 'Outfit', 'Inter', -apple-system, sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Base Layout */
.app-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

header {
  height: 80vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Animated Background Blobs */
.blob {
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(191, 64, 255, 0.15) 0%, transparent 70%);
  filter: blur(50px);
  top: -100px;
  right: -100px;
  z-index: -1;
  animation: float 20s infinite alternate;
}

.blob-2 {
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(77, 148, 255, 0.1) 0%, transparent 70%);
  filter: blur(40px);
  bottom: -50px;
  left: -100px;
  z-index: -1;
  animation: float 25s infinite alternate-reverse;
}

@keyframes float {
  from { transform: translate(0, 0); }
  to { transform: translate(50px, 100px); }
}

h1 {
  font-size: 5rem;
  font-weight: 800;
  background: linear-gradient(to right, #fff, #a0a0a0);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -2px;
  margin-bottom: 1rem;
}

.subtitle {
  font-size: 1.5rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin-bottom: 3rem;
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  animation: bounce 2s infinite;
  color: var(--text-secondary);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
  40% {transform: translateY(-10px);}
  60% {transform: translateY(-5px);}
}

/* Card Grid */
.inquiry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2.5rem;
  padding: 4rem 0;
}

.inquiry-card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  cursor: pointer;
}

.inquiry-card:hover {
  transform: translateY(-10px) scale(1.02);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.card-image-container {
  height: 380px;
  width: 100%;
  overflow: hidden;
  position: relative;
}

.card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.inquiry-card:hover .card-image {
  transform: scale(1.1);
}

.card-content {
  padding: 1.5rem;
}

.emotional-tag {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 12px;
  border-radius: 20px;
  display: inline-block;
  margin-bottom: 0.75rem;
}

.tag-joy { background: rgba(255, 215, 0, 0.1); color: var(--accent-joy); border: 1px solid rgba(255, 215, 0, 0.3); box-shadow: 0 0 10px rgba(255, 215, 0, 0.2); }
.tag-rage { background: rgba(255, 77, 77, 0.1); color: var(--accent-rage); border: 1px solid rgba(255, 77, 77, 0.3); box-shadow: 0 0 10px rgba(255, 77, 77, 0.2); }
.tag-sadness { background: rgba(77, 148, 255, 0.1); color: var(--accent-sadness); border: 1px solid rgba(77, 148, 255, 0.3); box-shadow: 0 0 10px rgba(77, 148, 255, 0.2); }
.tag-awe { background: rgba(191, 64, 255, 0.1); color: var(--accent-awe); border: 1px solid rgba(191, 64, 255, 0.3); box-shadow: 0 0 10px rgba(191, 64, 255, 0.2); }

h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.stats {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.stat-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}

.stat-bar-bg {
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  flex: 1;
  margin-left: 1rem;
  overflow: hidden;
}

.stat-bar-fill {
  height: 100%;
  border-radius: 3px;
}

/* Detail Modal */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(20px);
  z-index: 1000;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.modal.active {
  display: flex;
  opacity: 1;
}

.modal-content {
  background: #111115;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 4rem;
  border-radius: 40px;
  max-width: 1100px;
  width: 95%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 0 100px rgba(0, 0, 0, 1);
}

.close-btn {
  position: absolute;
  top: 2rem;
  right: 2rem;
  font-size: 2.5rem;
  cursor: pointer;
  color: var(--text-secondary);
  transition: color 0.3s;
  z-index: 10;
}

.close-btn:hover {
  color: white;
}

.modal-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.modal-image-col img {
  width: 100%;
  border-radius: 32px;
  display: block;
  transition: transform 0.8s;
}

.modal-image-col:hover img {
  transform: scale(1.05);
}

.modal-info-col h2 {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  letter-spacing: -2px;
}

.modal-info-col h3 {
  margin-top: 2rem;
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-secondary);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding-bottom: 0.5rem;
}

@media (max-width: 992px) {
  .modal-layout { grid-template-columns: 1fr; gap: 2rem; }
  .modal-content { padding: 2rem; }
  h1 { font-size: 3.5rem; }
}
