/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  /* Color System */
  --bg-primary: #0b0f19;
  --bg-secondary: rgba(22, 29, 49, 0.7);
  --bg-glass: rgba(17, 24, 39, 0.75);
  --border-color: rgba(255, 255, 255, 0.08);
  --border-active: rgba(249, 115, 22, 0.4);
  
  --text-primary: #f3f4f6;
  --text-secondary: #9ca3af;
  --text-muted: #6b7280;
  
  --accent-color: #f97316; /* Holla Athletics Active Orange */
  --accent-rgb: 249, 115, 22;
  --accent-hover: #ea580c;
  --accent-light: rgba(249, 115, 22, 0.1);
  
  --success: #10b981;
  
  /* Layout and Transitions */
  --sidebar-width: 320px;
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-premium: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
  --font-display: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
}

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Glassmorphism background blobs */
.blob-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.15;
}

.blob-1 {
  top: -10%;
  right: -10%;
  width: 50vw;
  height: 50vw;
  background-color: var(--accent-color);
}

.blob-2 {
  bottom: -10%;
  left: -10%;
  width: 40vw;
  height: 40vw;
  background-color: #3b82f6;
}

/* Container Layout */
.app-container {
  display: flex;
  min-height: 100vh;
  position: relative;
}

/* Sidebar Navigation */
.sidebar {
  width: var(--sidebar-width);
  background-color: var(--bg-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-right: 1px solid var(--border-color);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  position: fixed;
  height: 100vh;
  z-index: 10;
  overflow-y: auto;
}

.brand-section {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-color);
}

.brand-logo {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--accent-color), #f97316);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  color: white;
  font-size: 1.5rem;
  box-shadow: 0 0 20px rgba(var(--accent-rgb), 0.3);
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.5px;
}

.search-container {
  position: relative;
  margin-bottom: 2rem;
}

.search-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 0.75rem 1rem 0.75rem 2.5rem;
  color: white;
  font-family: var(--font-body);
  font-size: 0.9rem;
  outline: none;
  transition: var(--transition-smooth);
}

.search-input:focus {
  border-color: var(--accent-color);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 15px rgba(var(--accent-rgb), 0.15);
}

.search-icon {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
}

.nav-menu {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.nav-item button {
  width: 100%;
  background: none;
  border: 1px solid transparent;
  color: var(--text-secondary);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1rem;
  padding: 1rem;
  text-align: left;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: var(--transition-smooth);
  outline: none;
}

.nav-item button:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.03);
}

.nav-item.active button {
  color: white;
  background: var(--accent-light);
  border-color: var(--border-active);
  box-shadow: 0 4px 20px rgba(var(--accent-rgb), 0.1);
}

.nav-item.active button svg {
  color: var(--accent-color);
  transform: scale(1.1);
}

.nav-item button svg {
  color: var(--text-muted);
  transition: var(--transition-smooth);
}

.sidebar-footer {
  margin-top: auto;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-color);
}

.contact-mini {
  font-size: 0.8rem;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.contact-mini a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: var(--transition-smooth);
}

.contact-mini a:hover {
  color: var(--accent-color);
}

/* Main Content Section */
.main-content {
  flex: 1;
  margin-left: var(--sidebar-width);
  padding: 3rem 4rem;
  max-width: 1100px;
  min-height: 100vh;
}

/* Legal Document View */
.policy-document {
  display: none;
  animation: fadeIn 0.5s ease;
}

.policy-document.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Text Styling */
h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  background: linear-gradient(to right, #ffffff, #cbd5e1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.5px;
}

.meta-info {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  gap: 1.5rem;
}

.meta-info span {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.6rem;
  margin: 2.5rem 0 1.25rem 0;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  padding-bottom: 0.5rem;
}

h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.2rem;
  margin: 1.5rem 0 0.75rem 0;
  color: var(--text-primary);
}

p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin-bottom: 1.25rem;
  text-align: justify;
}

ul, ol {
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

li {
  margin-bottom: 0.5rem;
}

/* Alert Boxes / Callouts */
.alert-box {
  background: rgba(255, 255, 255, 0.02);
  border-left: 4px solid var(--accent-color);
  border-radius: 0 8px 8px 0;
  padding: 1.25rem 1.5rem;
  margin: 2rem 0;
}

.alert-box.info {
  border-left-color: #3b82f6;
}

.alert-box p {
  margin-bottom: 0;
  color: var(--text-primary);
  font-size: 1rem;
}

/* Search Highlights */
mark.highlight {
  background: rgba(249, 115, 22, 0.35);
  color: #fff;
  border-bottom: 2px solid var(--accent-color);
  border-radius: 2px;
  padding: 0 2px;
}

/* Account Deletion Panel */
.delete-panel {
  background: rgba(239, 68, 68, 0.05);
  border: 1px solid rgba(239, 68, 68, 0.15);
  border-radius: 12px;
  padding: 2rem;
  margin: 3rem 0;
  box-shadow: var(--shadow-premium);
}

.delete-panel h3 {
  color: #ef4444;
  margin-top: 0;
}

.delete-panel p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.btn-delete {
  background: #ef4444;
  color: white;
  border: none;
  font-family: var(--font-display);
  font-weight: 600;
  padding: 0.85rem 1.5rem;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition-smooth);
}

.btn-delete:hover {
  background: #dc2626;
  box-shadow: 0 0 20px rgba(239, 68, 68, 0.3);
}

/* Info Cards Grid */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.info-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 1.5rem;
  transition: var(--transition-smooth);
}

.info-card:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--border-active);
  transform: translateY(-2px);
}

.info-card-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.info-card-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 0;
}

/* Mobile Toggle Bar */
.mobile-header {
  display: none;
  background-color: var(--bg-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  padding: 1rem 1.5rem;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  align-items: center;
  justify-content: space-between;
}

.mobile-menu-btn {
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  outline: none;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .sidebar {
    transform: translateX(-100%);
    transition: var(--transition-smooth);
  }
  
  .sidebar.open {
    transform: translateX(0);
  }
  
  .main-content {
    margin-left: 0;
    padding: 6rem 1.5rem 3rem 1.5rem;
  }
  
  .mobile-header {
    display: flex;
  }
  
  .sidebar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9;
  }
  
  .sidebar-overlay.active {
    display: block;
  }
}
