/* Jamtrackd Web Stylesheet */
:root {
  --bg-color: #0b0d14;
  --bg-card: rgba(22, 26, 38, 0.75);
  --bg-card-hover: rgba(30, 36, 52, 0.85);
  --border-color: rgba(255, 255, 255, 0.08);
  --border-accent: rgba(124, 77, 255, 0.3);
  --text-primary: #ffffff;
  --text-secondary: #9aa0b4;
  --text-muted: #6b7280;
  --accent-purple: #7c4dff;
  --accent-pink: #ff4081;
  --accent-cyan: #00e5ff;
  --gradient-primary: linear-gradient(135deg, #7c4dff 0%, #ff4081 100%);
  --gradient-glow: linear-gradient(135deg, rgba(124, 77, 255, 0.3) 0%, rgba(255, 40, 129, 0.3) 100%);
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  --radius-lg: 20px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --shadow-card: 0 12px 32px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  --shadow-glow: 0 0 40px rgba(124, 77, 255, 0.3);
}

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

body {
  background-color: var(--bg-color);
  color: var(--text-primary);
  font-family: var(--font-family);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

/* Background Ambient Glows */
body::before {
  content: '';
  position: fixed;
  top: -150px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 600px;
  background: radial-gradient(circle, rgba(124, 77, 255, 0.18) 0%, rgba(255, 40, 129, 0.08) 40%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
  position: relative;
  z-index: 1;
}

/* Header & Nav */
header {
  padding: 24px 0;
  border-bottom: 1px solid var(--border-color);
  background: rgba(11, 13, 20, 0.8);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 100;
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: -0.5px;
}

.logo-brand img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--text-primary);
}

.btn-nav {
  background: var(--gradient-primary);
  color: #fff !important;
  padding: 8px 18px;
  border-radius: 30px;
  font-weight: 600 !important;
  box-shadow: 0 4px 14px rgba(124, 77, 255, 0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

.btn-nav:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(124, 77, 255, 0.6);
}

/* Hero Section */
.hero {
  padding: 80px 0 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero-content h1 {
  font-size: 3.2rem;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #ffffff 0%, #c4c7d7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-content h1 span {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-content p {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 36px;
  max-width: 520px;
}

.store-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-color);
  padding: 12px 24px;
  border-radius: var(--radius-md);
  text-decoration: none;
  color: var(--text-primary);
  transition: all 0.25s ease;
  backdrop-filter: blur(8px);
}

.store-badge:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--border-accent);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(124, 77, 255, 0.25);
}

.store-badge svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.store-badge-text {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.store-badge-subtitle {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-secondary);
}

.store-badge-title {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.2;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.disc-artwork {
  width: 340px;
  height: 340px;
  object-fit: contain;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.6));
  animation: spinSlow 30s linear infinite;
}

@keyframes spinSlow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Feature Cards Grid */
.features {
  padding: 60px 0 80px;
}

.section-title {
  text-align: center;
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.section-subtitle {
  text-align: center;
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin-bottom: 48px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px;
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-card);
  transition: all 0.3s ease;
}

.card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-accent);
  transform: translateY(-5px);
  box-shadow: var(--shadow-card), var(--shadow-glow);
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--gradient-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
  border: 1px solid var(--border-accent);
}

.card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.card p {
  color: var(--text-secondary);
  font-size: 0.98rem;
  line-height: 1.6;
}

/* Showcase Section */
.showcase {
  padding: 60px 0;
  text-align: center;
}

.showcase-images {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.app-screenshot {
  max-width: 320px;
  width: 100%;
  border-radius: 28px;
  border: 4px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  transition: transform 0.3s ease;
}

.app-screenshot:hover {
  transform: scale(1.03);
}

/* Document & Policy Page Layout */
.page-header {
  padding: 60px 0 30px;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 40px;
}

.page-header h1 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.page-header p {
  color: var(--text-secondary);
}

.doc-content {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 40px;
  margin-bottom: 60px;
  box-shadow: var(--shadow-card);
}

.doc-section {
  margin-bottom: 32px;
}

.doc-section:last-child {
  margin-bottom: 0;
}

.doc-section h2 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--accent-cyan);
}

.doc-section h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin: 16px 0 8px;
}

.doc-section p, .doc-section ul {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 12px;
}

.doc-section ul {
  padding-left: 24px;
}

.doc-section li {
  margin-bottom: 8px;
}

/* Forms */
.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.form-control {
  width: 100%;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.2s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-purple);
  box-shadow: 0 0 0 3px rgba(124, 77, 255, 0.25);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

.btn-primary {
  background: var(--gradient-primary);
  color: #fff;
  border: none;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 16px rgba(124, 77, 255, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(124, 77, 255, 0.6);
}

/* Item / Share Card View */
.share-container {
  max-width: 640px;
  margin: 60px auto;
  padding: 0 20px;
}

.share-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.share-card-header {
  padding: 24px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  gap: 16px;
}

.user-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  background: #333;
}

.user-meta h4 {
  font-size: 1.05rem;
  font-weight: 700;
}

.user-meta span {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.share-card-body {
  padding: 32px;
  text-align: center;
}

.item-artwork {
  width: 220px;
  height: 220px;
  border-radius: var(--radius-md);
  object-fit: cover;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.6);
  margin-bottom: 24px;
}

.item-title {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 6px;
}

.item-artist {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.rating-stars {
  color: #ffb703;
  font-size: 1.4rem;
  margin-bottom: 20px;
}

.review-text {
  font-size: 1.1rem;
  line-height: 1.6;
  background: rgba(0, 0, 0, 0.3);
  padding: 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  margin-bottom: 28px;
  text-align: left;
  font-style: italic;
}

.action-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.btn-open-app {
  background: var(--gradient-primary);
  color: #fff;
  padding: 16px;
  border-radius: var(--radius-md);
  font-weight: 700;
  text-decoration: none;
  display: block;
  font-size: 1.1rem;
  box-shadow: 0 4px 20px rgba(124, 77, 255, 0.4);
  transition: all 0.2s ease;
}

.btn-open-app:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(124, 77, 255, 0.6);
}

/* Footer */
footer {
  margin-top: auto;
  border-top: 1px solid var(--border-color);
  padding: 40px 0;
  background: rgba(11, 13, 20, 0.9);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-copyright {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  gap: 20px;
  list-style: none;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--text-primary);
}

/* Responsive Breakpoints */
@media (max-width: 868px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 50px 0 40px;
  }
  
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .hero-content p {
    margin: 0 auto 32px;
  }
  
  .store-buttons {
    justify-content: center;
  }
  
  .disc-artwork {
    width: 260px;
    height: 260px;
  }
  
  .nav-links {
    gap: 14px;
  }
}
