/* Hive - AI-Powered Education Platform CSS */

/* CSS Variables - Design System */
:root {
  /* Core Colors - Hive Brand */
  --background: 0 0% 100%;
  --foreground: 0 0% 17%;
  
  /* Electric Blue - Primary */
  --primary: 210 100% 56%;
  --primary-foreground: 0 0% 100%;
  --primary-glow: 210 100% 65%;
  
  /* Sky Cyan - Accent */
  --accent: 190 100% 63%;
  --accent-foreground: 0 0% 17%;
  
  /* Neon Orange - Highlight */
  --neon: 28 100% 63%;
  --neon-foreground: 0 0% 17%;
  
  /* Charcoal - Secondary */
  --secondary: 0 0% 17%;
  --secondary-foreground: 0 0% 100%;
  
  /* UI Elements */
  --card: 0 0% 100%;
  --card-foreground: 0 0% 17%;
  --popover: 0 0% 100%;
  --popover-foreground: 0 0% 17%;
  --muted: 210 40% 96%;
  --muted-foreground: 0 0% 45%;
  --border: 210 30% 90%;
  --input: 210 30% 90%;
  --ring: 210 100% 56%;
  --destructive: 0 84% 60%;
  --destructive-foreground: 0 0% 100%;
  
  --radius: 0.75rem;
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, hsl(210 100% 56%), hsl(190 100% 63%));
  --gradient-hero: linear-gradient(135deg, hsl(210 100% 56%) 0%, hsl(190 100% 63%) 50%, hsl(28 100% 63%) 100%);
  --gradient-card: linear-gradient(180deg, hsl(0 0% 100%) 0%, hsl(210 40% 98%) 100%);
  --gradient-glow: radial-gradient(circle at 50% 50%, hsl(210 100% 65% / 0.3), transparent 70%);
  
  /* Shadows & Depth */
  --shadow-sm: 0 2px 8px hsl(210 100% 56% / 0.1);
  --shadow-md: 0 4px 16px hsl(210 100% 56% / 0.15);
  --shadow-lg: 0 8px 32px hsl(210 100% 56% / 0.2);
  --shadow-glow: 0 0 40px hsl(210 100% 65% / 0.4);
  
  /* Animations */
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.dark {
  --background: 0 0% 8%;
  --foreground: 0 0% 98%;
  
  --card: 0 0% 12%;
  --card-foreground: 0 0% 98%;
  --popover: 0 0% 12%;
  --popover-foreground: 0 0% 98%;
  
  --muted: 0 0% 15%;
  --muted-foreground: 0 0% 60%;
  
  --border: 0 0% 20%;
  --input: 0 0% 20%;
  
  --gradient-card: linear-gradient(180deg, hsl(0 0% 12%) 0%, hsl(0 0% 8%) 100%);
  --shadow-sm: 0 2px 8px hsl(0 0% 0% / 0.3);
  --shadow-md: 0 4px 16px hsl(0 0% 0% / 0.4);
  --shadow-lg: 0 8px 32px hsl(0 0% 0% / 0.5);
}

/* Base Styles */
* {
  border-color: hsl(var(--border));
  box-sizing: border-box;
}

body {
  background-color: hsl(var(--background));
  color: hsl(var(--foreground));
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 700;
  margin: 0;
}

/* Utility Classes */
.text-gradient {
  background-clip: text;
  -webkit-background-clip: text;
  text-fill-color: transparent;
  -webkit-text-fill-color: transparent;
  background-image: var(--gradient-primary);
}

.glow-primary {
  box-shadow: var(--shadow-glow);
}

.glass {
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.animate-float {
  animation: float 6s ease-in-out infinite;
}

.animate-pulse-glow {
  animation: pulse-glow 2s ease-in-out infinite;
}

/* Layout Classes */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.min-h-screen {
  min-height: 100vh;
}

.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.flex-1 {
  flex: 1;
}

.items-center {
  align-items: center;
}

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-12 { gap: 3rem; }

/* Spacing */
.p-4 { padding: 1rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.p-12 { padding: 3rem; }
.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.py-32 { padding-top: 8rem; padding-bottom: 8rem; }
.pb-20 { padding-bottom: 5rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-16 { margin-bottom: 4rem; }
.mt-4 { margin-top: 1rem; }
.mt-8 { margin-top: 2rem; }

/* Text Styles */
.text-center { text-align: center; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
.text-5xl { font-size: 3rem; line-height: 1; }
.text-7xl { font-size: 4.5rem; line-height: 1; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }
.font-medium { font-weight: 500; }
.leading-tight { line-height: 1.25; }
.leading-relaxed { line-height: 1.625; }

/* Colors */
.text-primary { color: hsl(var(--primary)); }
.text-accent { color: hsl(var(--accent)); }
.text-neon { color: hsl(var(--neon)); }
.text-muted-foreground { color: hsl(var(--muted-foreground)); }
.text-white { color: white; }

/* Background Colors */
.bg-background { background-color: hsl(var(--background)); }
.bg-card { background-color: hsl(var(--card)); }
.bg-muted { background-color: hsl(var(--muted)); }
.bg-gradient-primary { background: var(--gradient-primary); }
.bg-gradient-hero { background: var(--gradient-hero); }
.bg-gradient-card { background: var(--gradient-card); }
.bg-gradient-glow { background: var(--gradient-glow); }

/* Border */
.border { border: 1px solid hsl(var(--border)); }
.border-t { border-top: 1px solid hsl(var(--border)); }
.border-b { border-bottom: 1px solid hsl(var(--border)); }
.border-primary { border-color: hsl(var(--primary)); }
.border-primary\/20 { border-color: hsl(var(--primary) / 0.2); }
.border-primary\/50 { border-color: hsl(var(--primary) / 0.5); }
.border-border { border-color: hsl(var(--border)); }
.border-border\/50 { border-color: hsl(var(--border) / 0.5); }

/* Border Radius */
.rounded { border-radius: 0.25rem; }
.rounded-lg { border-radius: 0.5rem; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-2xl { border-radius: 1rem; }
.rounded-full { border-radius: 9999px; }

/* Shadows */
.shadow-sm { box-shadow: var(--shadow-sm); }
.shadow-md { box-shadow: var(--shadow-md); }
.shadow-lg { box-shadow: var(--shadow-lg); }
.shadow-2xl { box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); }

/* Button Styles */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: calc(var(--radius) - 2px);
  font-size: 0.875rem;
  font-weight: 500;
  transition: var(--transition-smooth);
  cursor: pointer;
  border: none;
  text-decoration: none;
  padding: 0.5rem 1rem;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.btn-default {
  background-color: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
}

.btn-default:hover {
  background-color: hsl(var(--primary) / 0.9);
}

.btn-hero {
  background: var(--gradient-primary);
  color: white;
  padding: 1rem 2rem;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 600;
}

.btn-hero:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-outline {
  border: 1px solid hsl(var(--border));
  background-color: transparent;
  color: hsl(var(--foreground));
}

.btn-outline:hover {
  background-color: hsl(var(--muted));
}

.btn-ghost {
  background-color: transparent;
  color: hsl(var(--foreground));
}

.btn-ghost:hover {
  background-color: hsl(var(--muted));
}

.btn-xl {
  padding: 1rem 2rem;
  font-size: 1.125rem;
}

.btn-lg {
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
}

.btn-sm {
  padding: 0.375rem 0.75rem;
  font-size: 0.8125rem;
}

/* Card Styles */
.card {
  background-color: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  color: hsl(var(--card-foreground));
  box-shadow: var(--shadow-sm);
}

/* Input Styles */
.input {
  display: flex;
  height: 2.5rem;
  width: 100%;
  border-radius: calc(var(--radius) - 2px);
  border: 1px solid hsl(var(--input));
  background-color: hsl(var(--background));
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  transition: var(--transition-smooth);
}

.input:focus {
  outline: none;
  border-color: hsl(var(--ring));
  box-shadow: 0 0 0 2px hsl(var(--ring) / 0.2);
}

.input::placeholder {
  color: hsl(var(--muted-foreground));
}

/* Badge Styles */
.badge {
  display: inline-flex;
  align-items: center;
  border-radius: calc(var(--radius) - 2px);
  padding: 0.25rem 0.5rem;
  font-size: 0.75rem;
  font-weight: 500;
  transition: var(--transition-smooth);
}

.badge-default {
  background-color: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
}

.badge-outline {
  border: 1px solid hsl(var(--border));
  background-color: transparent;
  color: hsl(var(--foreground));
}

.badge-outline:hover {
  background-color: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
}

/* Avatar Styles */
.avatar {
  position: relative;
  display: flex;
  height: 2.5rem;
  width: 2.5rem;
  overflow: hidden;
  border-radius: 50%;
}

.avatar-lg {
  height: 6rem;
  width: 6rem;
}

.avatar-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background: var(--gradient-primary);
  color: white;
  font-weight: 700;
}

/* Navigation */
.nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: calc(var(--radius) - 2px);
  text-decoration: none;
  color: hsl(var(--foreground));
  transition: var(--transition-smooth);
}

.nav-item:hover {
  background-color: hsl(var(--muted));
}

.nav-item.active {
  background-color: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
}

/* Mobile Navigation */
.mobile-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  border-top: 1px solid hsl(var(--border));
  background-color: hsl(var(--background) / 0.95);
  backdrop-filter: blur(16px);
  z-index: 50;
}

.mobile-nav-content {
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 0.75rem 1rem;
}

.mobile-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  transition: var(--transition-smooth);
  text-decoration: none;
  color: hsl(var(--muted-foreground));
}

.mobile-nav-item.active {
  color: hsl(var(--primary));
}

.mobile-nav-item span {
  font-size: 0.75rem;
}

/* Grid */
.grid {
  display: grid;
}

.grid-cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-cols-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* Responsive */
@media (min-width: 768px) {
  .md\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  
  .md\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  
  .md\:grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  
  .md\:flex-row {
    flex-direction: row;
  }
  
  .md\:hidden {
    display: none;
  }
  
  .md\:py-32 {
    padding-top: 8rem;
    padding-bottom: 8rem;
  }
  
  .md\:pb-12 {
    padding-bottom: 3rem;
  }
  
  .md\:text-5xl {
    font-size: 3rem;
    line-height: 1;
  }
  
  .md\:text-7xl {
    font-size: 4.5rem;
    line-height: 1;
  }
}

@media (min-width: 640px) {
  .sm\:flex-row {
    flex-direction: row;
  }
  
  .sm\:w-auto {
    width: auto;
  }
}

/* Animations */
@keyframes float {
  0%, 100% { 
    transform: translateY(0px); 
  }
  50% { 
    transform: translateY(-20px); 
  }
}

@keyframes pulse-glow {
  0%, 100% { 
    box-shadow: 0 0 20px hsl(210 100% 65% / 0.3);
  }
  50% { 
    box-shadow: 0 0 40px hsl(210 100% 65% / 0.6);
  }
}

/* Transitions */
.transition-colors {
  transition: color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
}

.transition-all {
  transition: all 0.3s ease;
}

.transition-transform {
  transition: transform 0.3s ease;
}

.hover\:scale-110:hover {
  transform: scale(1.1);
}

.hover\:-translate-y-1:hover {
  transform: translateY(-0.25rem);
}

.hover\:text-primary:hover {
  color: hsl(var(--primary));
}

.hover\:text-accent:hover {
  color: hsl(var(--accent));
}

.hover\:text-neon:hover {
  color: hsl(var(--neon));
}

.hover\:border-primary\/50:hover {
  border-color: hsl(var(--primary) / 0.5);
}

.hover\:shadow-lg:hover {
  box-shadow: var(--shadow-lg);
}

/* Special Effects */
.relative {
  position: relative;
}

.absolute {
  position: absolute;
}

.inset-0 {
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

.top-0 {
  top: 0;
}

.left-0 {
  left: 0;
}

.right-0 {
  right: 0;
}

.bottom-0 {
  bottom: 0;
}

.z-50 {
  z-index: 50;
}

.opacity-0 {
  opacity: 0;
}

.opacity-20 {
  opacity: 0.2;
}

.opacity-30 {
  opacity: 0.3;
}

.overflow-hidden {
  overflow: hidden;
}

.backdrop-blur-lg {
  backdrop-filter: blur(16px);
}

.backdrop-blur-md {
  backdrop-filter: blur(12px);
}

/* Spacing Utilities */
.space-y-2 > * + * {
  margin-top: 0.5rem;
}

.space-y-4 > * + * {
  margin-top: 1rem;
}

.space-y-6 > * + * {
  margin-top: 1.5rem;
}

.space-y-8 > * + * {
  margin-top: 2rem;
}

/* Max Width */
.max-w-md {
  max-width: 28rem;
}

.max-w-lg {
  max-width: 32rem;
}

.max-w-2xl {
  max-width: 42rem;
}

.max-w-3xl {
  max-width: 48rem;
}

.max-w-4xl {
  max-width: 56rem;
}

.max-w-6xl {
  max-width: 72rem;
}

/* Width */
.w-full {
  width: 100%;
}

.w-3 { width: 0.75rem; }
.w-4 { width: 1rem; }
.w-5 { width: 1.25rem; }
.w-6 { width: 1.5rem; }
.w-10 { width: 2.5rem; }
.w-12 { width: 3rem; }
.w-14 { width: 3.5rem; }
.w-16 { width: 4rem; }
.w-20 { width: 5rem; }
.w-24 { width: 6rem; }

/* Height */
.h-3 { height: 0.75rem; }
.h-4 { height: 1rem; }
.h-5 { height: 1.25rem; }
.h-6 { height: 1.5rem; }
.h-10 { height: 2.5rem; }
.h-12 { height: 3rem; }
.h-14 { height: 3.5rem; }
.h-16 { height: 4rem; }
.h-20 { height: 5rem; }
.h-24 { height: 6rem; }

/* Flexbox Utilities */
.justify-start {
  justify-content: flex-start;
}

.items-start {
  align-items: flex-start;
}

/* Tabs */
.tabs-list {
  display: flex;
  background-color: hsl(var(--muted));
  border-radius: calc(var(--radius) - 2px);
  padding: 0.25rem;
}

.tabs-trigger {
  flex: 1;
  padding: 0.5rem 1rem;
  border-radius: calc(var(--radius) - 4px);
  font-size: 0.875rem;
  font-weight: 500;
  transition: var(--transition-smooth);
  background-color: transparent;
  border: none;
  cursor: pointer;
}

.tabs-trigger.active {
  background-color: hsl(var(--background));
  color: hsl(var(--foreground));
}

.tabs-content {
  margin-top: 1rem;
}

/* Form Elements */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: hsl(var(--foreground));
}

.input-group {
  position: relative;
}

.input-icon {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  color: hsl(var(--muted-foreground));
  width: 1rem;
  height: 1rem;
}

.input-with-icon {
  padding-left: 2.5rem;
}

/* Divider */
.divider {
  position: relative;
  margin: 1.5rem 0;
}

.divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background-color: hsl(var(--border));
}

.divider-text {
  position: relative;
  display: flex;
  justify-content: center;
  font-size: 0.75rem;
  text-transform: uppercase;
  color: hsl(var(--muted-foreground));
  background-color: hsl(var(--card));
  padding: 0 0.5rem;
}

/* Footer */
.footer {
  border-top: 1px solid hsl(var(--border));
  background-color: hsl(var(--muted) / 0.3);
  padding: 3rem 0;
}

.footer-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h3 {
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links a {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  text-decoration: none;
  transition: var(--transition-smooth);
}

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

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid hsl(var(--border));
  text-align: center;
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}

/* Contact Info */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}

.contact-item a {
  color: hsl(var(--muted-foreground));
  text-decoration: none;
  transition: var(--transition-smooth);
}

.contact-item a:hover {
  color: hsl(var(--primary));
}

/* Sticky Header */
.sticky-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid hsl(var(--border));
  background-color: hsl(var(--background) / 0.8);
  backdrop-filter: blur(16px);
}

.header-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  height: 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
}

.logo img {
  width: 2.5rem;
  height: 2.5rem;
}

.logo span {
  font-size: 1.5rem;
  font-weight: 700;
}

/* Hero Section */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, hsl(var(--primary) / 0.05) 0%, hsl(var(--accent) / 0.05) 50%, hsl(var(--neon) / 0.05) 100%);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-glow);
  opacity: 0.3;
  animation: pulse-glow 2s ease-in-out infinite;
}

.hero-content {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 5rem 1rem;
}

.hero-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  border: 1px solid hsl(var(--primary));
  color: hsl(var(--primary));
  border-radius: calc(var(--radius) - 2px);
  padding: 0.25rem 0.5rem;
  font-size: 0.75rem;
  font-weight: 500;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hero-image {
  position: relative;
}

.hero-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-primary);
  opacity: 0.2;
  border-radius: 1rem;
  filter: blur(3rem);
  animation: float 6s ease-in-out infinite;
}

.hero-image img {
  position: relative;
  border-radius: 1rem;
  box-shadow: var(--shadow-2xl);
  animation: float 6s ease-in-out infinite;
}

.logo-overlay {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background-color: hsl(var(--background) / 0.9);
  backdrop-filter: blur(12px);
  border-radius: 0.75rem;
  padding: 0.75rem;
  box-shadow: var(--shadow-lg);
}

.logo-overlay img {
  width: 3rem;
  height: 3rem;
}

/* Features Section */
.features {
  padding: 5rem 0;
  background-color: hsl(var(--muted) / 0.3);
}

.features-header {
  text-align: center;
  margin-bottom: 4rem;
}

.features-grid {
  display: grid;
  gap: 2rem;
}

.feature-card {
  position: relative;
  padding: 2rem;
  background-color: hsl(var(--card));
  border-radius: 1rem;
  border: 1px solid hsl(var(--border));
  transition: var(--transition-smooth);
  cursor: pointer;
}

.feature-card:hover {
  border-color: hsl(var(--primary) / 0.5);
  box-shadow: var(--shadow-lg);
  transform: translateY(-0.25rem);
}

.feature-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 1rem;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.feature-card:hover::after {
  opacity: 0.05;
}

.feature-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 0.75rem;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  box-shadow: var(--shadow-md);
}

.feature-icon svg {
  width: 1.75rem;
  height: 1.75rem;
  color: white;
}

/* CTA Section */
.cta {
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
  opacity: 0.1;
}

.cta-content {
  position: relative;
  max-width: 48rem;
  margin: 0 auto;
  text-align: center;
}

.cta-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
}

/* Auth Page */
.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, hsl(var(--primary) / 0.05) 0%, hsl(var(--accent) / 0.05) 50%, hsl(var(--neon) / 0.05) 100%);
  padding: 1rem;
}

.auth-page::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-glow);
  opacity: 0.2;
  animation: pulse-glow 2s ease-in-out infinite;
}

.auth-card {
  width: 100%;
  max-width: 28rem;
  position: relative;
  box-shadow: var(--shadow-2xl);
  border: 1px solid hsl(var(--border) / 0.5);
}

.auth-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.auth-logo {
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
}

.auth-logo div {
  width: 4rem;
  height: 4rem;
  border-radius: 1rem;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-glow);
  animation: pulse-glow 2s ease-in-out infinite;
}

.auth-logo svg {
  width: 2.5rem;
  height: 2.5rem;
  color: white;
}

/* Feed Page */
.feed-page {
  min-height: 100vh;
  background-color: hsl(var(--muted) / 0.3);
  padding: 1.5rem 0;
}

.feed-container {
  max-width: 42rem;
  margin: 0 auto;
  padding: 0 1rem;
}

.post-card {
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  transition: var(--transition-smooth);
}

.post-card:hover {
  box-shadow: var(--shadow-lg);
}

.post-header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
}

.post-avatar {
  width: 3rem;
  height: 3rem;
  border: 2px solid hsl(var(--primary) / 0.2);
}

.post-info h3 {
  font-weight: 700;
  margin: 0;
}

.post-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.25rem;
}

.verified-badge {
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  background-color: hsl(var(--primary));
  display: flex;
  align-items: center;
  justify-content: center;
}

.verified-badge svg {
  width: 0.75rem;
  height: 0.75rem;
  color: white;
}

.trending-icon {
  width: 1rem;
  height: 1rem;
  color: hsl(var(--neon));
}

.post-time {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}

.post-content {
  margin-bottom: 1rem;
}

.post-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid hsl(var(--border));
}

.post-action {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: none;
  border: none;
  color: hsl(var(--muted-foreground));
  cursor: pointer;
  transition: var(--transition-smooth);
}

.post-action:hover {
  color: hsl(var(--primary));
}

.post-action svg {
  width: 1.25rem;
  height: 1.25rem;
  transition: var(--transition-transform);
}

.post-action:hover svg {
  transform: scale(1.1);
}

.post-action-count {
  font-size: 0.875rem;
  font-weight: 500;
}

/* Colleges Page */
.colleges-page {
  min-height: 100vh;
  background-color: hsl(var(--muted) / 0.3);
  padding: 1.5rem 0;
}

.colleges-container {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1rem;
}

.colleges-header {
  margin-bottom: 2rem;
}

.search-card {
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.search-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.search-input-group {
  flex: 1;
  position: relative;
}

.search-input {
  padding-left: 2.5rem;
}

.search-icon {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  color: hsl(var(--muted-foreground));
  width: 1.25rem;
  height: 1.25rem;
}

.filters-row {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 2rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
}

.filter-badge {
  cursor: pointer;
  white-space: nowrap;
}

.colleges-grid {
  display: grid;
  gap: 1.5rem;
}

.college-card {
  padding: 1.5rem;
  transition: var(--transition-smooth);
  cursor: pointer;
}

.college-card:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-0.25rem);
}

.college-header {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

.college-logo {
  width: 5rem;
  height: 5rem;
  border-radius: 0.75rem;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.25rem;
  box-shadow: var(--shadow-md);
}

.college-info {
  flex: 1;
}

.college-name {
  font-weight: 700;
  font-size: 1.125rem;
  margin-bottom: 0.25rem;
  transition: var(--transition-smooth);
}

.college-card:hover .college-name {
  color: hsl(var(--primary));
}

.college-location {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  color: hsl(var(--muted-foreground));
  font-size: 0.875rem;
}

.college-stats {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.rating {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.star {
  width: 1rem;
  height: 1rem;
  fill: hsl(var(--neon));
  color: hsl(var(--neon));
}

.rating-text {
  font-weight: 700;
  font-size: 0.875rem;
}

.reviews-text {
  color: hsl(var(--muted-foreground));
  font-size: 0.875rem;
}

.ranking-badge {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.stream-badge {
  background-color: hsl(var(--accent) / 0.1);
  color: hsl(var(--accent));
  border: 1px solid hsl(var(--accent) / 0.2);
}

.college-actions {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid hsl(var(--border));
  display: flex;
  gap: 0.5rem;
}

.college-actions .btn {
  flex: 1;
}

/* Chat Page */
.chat-page {
  min-height: 100vh;
  background-color: hsl(var(--muted) / 0.3);
  padding: 1.5rem 0;
}

.chat-container {
  max-width: 56rem;
  margin: 0 auto;
  padding: 0 1rem;
}

.chat-card {
  padding: 3rem;
  text-align: center;
}

.chat-icon {
  width: 5rem;
  height: 5rem;
  border-radius: 1rem;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  box-shadow: var(--shadow-glow);
}

.chat-icon svg {
  width: 2.5rem;
  height: 2.5rem;
  color: white;
}

/* Profile Page */
.profile-page {
  min-height: 100vh;
  background-color: hsl(var(--muted) / 0.3);
  padding: 1.5rem 0;
}

.profile-container {
  max-width: 56rem;
  margin: 0 auto;
  padding: 0 1rem;
}

.profile-header {
  padding: 2rem;
  margin-bottom: 1.5rem;
}

.profile-main {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: flex-start;
}

.profile-avatar {
  width: 6rem;
  height: 6rem;
  border: 4px solid hsl(var(--primary) / 0.2);
}

.profile-info {
  flex: 1;
}

.profile-name {
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.profile-title {
  color: hsl(var(--muted-foreground));
}

.profile-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.profile-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
}

.stats-grid {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.stat-card {
  padding: 1.5rem;
  text-align: center;
}

.stat-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.5rem;
}

.stat-icon.primary {
  background-color: hsl(var(--primary) / 0.1);
}

.stat-icon.accent {
  background-color: hsl(var(--accent) / 0.1);
}

.stat-icon.neon {
  background-color: hsl(var(--neon) / 0.1);
}

.stat-icon svg {
  width: 1.5rem;
  height: 1.5rem;
}

.stat-value {
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.stat-label {
  color: hsl(var(--muted-foreground));
}

.activity-card {
  padding: 1.5rem;
}

.activity-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  border-radius: 0.5rem;
  background-color: hsl(var(--muted) / 0.5);
  margin-bottom: 1rem;
}

.activity-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.activity-icon.primary {
  background-color: hsl(var(--primary) / 0.1);
}

.activity-icon.accent {
  background-color: hsl(var(--accent) / 0.1);
}

.activity-icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

.activity-content {
  flex: 1;
}

.activity-title {
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.activity-time {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}

/* 404 Page */
.not-found {
  display: flex;
  min-height: 100vh;
  align-items: center;
  justify-content: center;
  background-color: #f3f4f6;
}

.not-found-content {
  text-align: center;
}

.not-found h1 {
  margin-bottom: 1rem;
  font-size: 2.25rem;
  font-weight: 700;
}

.not-found p {
  margin-bottom: 1rem;
  font-size: 1.25rem;
  color: #6b7280;
}

.not-found a {
  color: #3b82f6;
  text-decoration: underline;
  transition: var(--transition-smooth);
}

.not-found a:hover {
  color: #1d4ed8;
}

/* Responsive Design */
@media (min-width: 640px) {
  .hero-actions {
    flex-direction: row;
  }
  
  .cta-actions {
    flex-direction: row;
  }
  
  .search-form {
    flex-direction: row;
  }
  
  .profile-main {
    flex-direction: row;
  }
}

@media (min-width: 768px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .colleges-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Hidden classes */
.hidden {
  display: none;
}

@media (max-width: 767px) {
  .mobile-nav {
    display: block;
  }
  
  .nav {
    display: none;
  }
}

@media (min-width: 768px) {
  .mobile-nav {
    display: none;
  }
  
  .nav {
    display: flex;
  }
}
