@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
  --bg-deep: #050814;
  --bg-space: radial-gradient(circle at 50% 50%, #110d2c 0%, #050814 100%);
  --panel-glass: rgba(15, 22, 42, 0.5);
  --border-glass: rgba(255, 255, 255, 0.08);
  --accent-cyan: #00e5ff;
  --accent-blue: #1e6c93;
  --accent-purple: #820ad1;
  --accent-gold: #ffd700;
  --accent-red: #ff3366;
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --shadow-glow-cyan: 0 0 20px rgba(0, 229, 255, 0.4);
  --shadow-glow-purple: 0 0 20px rgba(130, 10, 209, 0.4);
  --shadow-glow-gold: 0 0 20px rgba(255, 215, 0, 0.4);
  --font-title: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
}

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

body {
  font-family: var(--font-body);
  background: var(--bg-space);
  color: var(--text-primary);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  line-height: 1.6;
}

/* Background Stars */
body::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(1px 1px at 10% 20%, #fff, rgba(0,0,0,0)),
    radial-gradient(1.5px 1.5px at 20% 40%, #fff, rgba(0,0,0,0)),
    radial-gradient(1px 1px at 30% 60%, rgba(255,255,255,0.7), rgba(0,0,0,0)),
    radial-gradient(2px 2px at 40% 80%, #fff, rgba(0,0,0,0)),
    radial-gradient(1.5px 1.5px at 50% 10%, #ffd700, rgba(0,0,0,0)),
    radial-gradient(1px 1px at 60% 30%, #00e5ff, rgba(0,0,0,0)),
    radial-gradient(2px 2px at 70% 50%, #fff, rgba(0,0,0,0)),
    radial-gradient(1px 1px at 80% 70%, #fff, rgba(0,0,0,0)),
    radial-gradient(1.5px 1.5px at 90% 90%, #fff, rgba(0,0,0,0));
  background-repeat: repeat;
  background-size: 500px 500px;
  opacity: 0.4;
  z-index: 0;
  pointer-events: none;
}

a {
  color: var(--accent-cyan);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  text-shadow: 0 0 8px rgba(0, 229, 255, 0.6);
}

/* Header & Navigation */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(5, 8, 20, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-glass);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--text-primary);
  text-shadow: 0 0 10px rgba(0, 229, 255, 0.3);
}

.logo-icon {
  width: 32px;
  height: 32px;
  border: 2px solid var(--accent-cyan);
  border-radius: 50%;
  position: relative;
  animation: rotateOrbit 8s linear infinite;
}

.logo-icon::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 6px;
  height: 6px;
  background: var(--accent-gold);
  border-radius: 50%;
}

@keyframes rotateOrbit {
  100% { transform: rotate(360deg); }
}

nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

nav a {
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  padding: 0.5rem 0;
}

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

nav a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-purple));
  transition: width 0.3s ease;
}

nav a:hover::after, nav a.active::after {
  width: 100%;
}

.btn-admin {
  background: rgba(130, 10, 209, 0.2);
  border: 1px solid var(--accent-purple);
  padding: 0.5rem 1.2rem;
  border-radius: 50px;
  color: var(--text-primary);
  font-weight: 600;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 0 10px rgba(130, 10, 209, 0.1);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-admin:hover {
  background: var(--accent-purple);
  box-shadow: var(--shadow-glow-purple);
  transform: translateY(-2px);
  color: #fff;
  text-shadow: none;
}

/* Glass Panels */
.glass-panel {
  background: var(--panel-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  position: relative;
  z-index: 1;
}

.glass-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0) 100%);
  pointer-events: none;
  z-index: -1;
}

/* Hero Section */
.hero {
  max-width: 1200px;
  margin: 4rem auto 2rem;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: center;
}

.hero-text h1 {
  font-family: var(--font-title);
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.15;
  background: linear-gradient(135deg, #ffffff 30%, var(--accent-cyan) 70%, var(--accent-purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1.5rem;
}

.hero-text p {
  color: var(--text-secondary);
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

/* Space Visual Component (Orbit Visual) */
.orbit-visual {
  position: relative;
  width: 320px;
  height: 320px;
  margin: 0 auto;
}

.sun {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 60px;
  height: 60px;
  background: radial-gradient(circle, #fff7cc 0%, var(--accent-gold) 60%, rgba(255,215,0,0) 100%);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 40px var(--accent-gold);
}

.orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px dashed rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.orbit-1 {
  width: 160px;
  height: 160px;
  animation: rotateOrbit 12s linear infinite;
}

.orbit-2 {
  width: 260px;
  height: 260px;
  animation: rotateOrbit 20s linear infinite reverse;
}

.planet {
  position: absolute;
  border-radius: 50%;
}

.planet-cyan {
  top: -10px;
  left: 50%;
  width: 20px;
  height: 20px;
  background: radial-gradient(circle at 30% 30%, #e0ffff, var(--accent-cyan));
  box-shadow: var(--shadow-glow-cyan);
  transform: translateX(-50%);
}

.planet-purple {
  bottom: -15px;
  left: 50%;
  width: 30px;
  height: 30px;
  background: radial-gradient(circle at 30% 30%, #e8ccff, var(--accent-purple));
  box-shadow: var(--shadow-glow-purple);
  transform: translateX(-50%);
}

/* Motivational Quotes Banner */
.quotes-banner {
  max-width: 1200px;
  margin: 3rem auto;
  padding: 0 2rem;
}

.quotes-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-height: 140px;
  justify-content: center;
  border-left: 3px solid var(--accent-cyan);
  border-right: 3px solid var(--accent-purple);
  padding: 2rem;
}

#quote-text {
  font-family: var(--font-title);
  font-size: 1.5rem;
  font-style: italic;
  font-weight: 500;
  letter-spacing: 0.5px;
  margin-bottom: 0.8rem;
  transition: opacity 0.5s ease;
}

#quote-author {
  color: var(--accent-cyan);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
  transition: opacity 0.5s ease;
}

/* Levels and Rates Section */
.levels-section {
  max-width: 1200px;
  margin: 5rem auto;
  padding: 0 2rem;
}

.section-title {
  font-family: var(--font-title);
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
}

.section-title::after {
  content: "";
  display: block;
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-purple));
  margin: 0.8rem auto 0;
  border-radius: 10px;
}

.levels-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.level-card {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.level-card:hover {
  transform: translateY(-8px);
  border-color: rgba(0, 229, 255, 0.3);
  box-shadow: 0 12px 40px rgba(0, 229, 255, 0.1);
}

.level-badge {
  background: rgba(0, 229, 255, 0.1);
  color: var(--accent-cyan);
  align-self: flex-start;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 1rem;
  border: 1px solid rgba(0, 229, 255, 0.2);
}

.level-title {
  font-family: var(--font-title);
  font-size: 1.6rem;
  margin-bottom: 1rem;
}

.level-price {
  font-family: var(--font-title);
  font-size: 2.2rem;
  color: #fff;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: baseline;
  gap: 0.2rem;
}

.level-price span {
  font-size: 1rem;
  color: var(--text-secondary);
}

.level-features {
  list-style: none;
  margin-bottom: 2rem;
}

.level-features li {
  margin-bottom: 0.6rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.level-features li::before {
  content: "✦";
  color: var(--accent-cyan);
}

.btn-book-now {
  background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-blue) 100%);
  color: #fff;
  border: none;
  padding: 0.8rem 1.5rem;
  border-radius: 50px;
  font-family: var(--font-title);
  font-weight: 600;
  cursor: pointer;
  width: 100%;
  transition: all 0.3s ease;
  text-align: center;
  box-shadow: var(--shadow-glow-cyan);
}

.btn-book-now:hover {
  transform: scale(1.02);
  filter: brightness(1.1);
  box-shadow: 0 0 25px rgba(0, 229, 255, 0.6);
}

/* Booking Section */
.booking-section {
  max-width: 1200px;
  margin: 5rem auto;
  padding: 0 2rem;
}

.booking-container {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
}

.calendar-widget {
  background: rgba(10, 15, 30, 0.4);
  border-radius: 15px;
  border: 1px solid var(--border-glass);
  padding: 1.5rem;
}

.calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.calendar-header h3 {
  font-family: var(--font-title);
  font-size: 1.2rem;
}

.calendar-nav button {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  color: var(--text-primary);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.2s ease;
}

.calendar-nav button:hover {
  background: var(--accent-cyan);
  color: var(--bg-deep);
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.5rem;
  text-align: center;
}

.day-name {
  font-weight: 600;
  color: var(--accent-cyan);
  font-size: 0.85rem;
  padding-bottom: 0.5rem;
}

/* Updated Day Cell for indicators */
.day-cell {
  padding: 0.4rem 0 0.2rem !important;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: all 0.2s ease;
  border: 1px solid transparent;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  min-height: 48px;
}

.day-cell:hover:not(.empty):not(.disabled) {
  background: rgba(0, 229, 255, 0.1);
  border-color: rgba(0, 229, 255, 0.3);
}

.day-cell.selected {
  background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-blue) 100%) !important;
  color: #fff !important;
  font-weight: 600;
  box-shadow: var(--shadow-glow-cyan);
}

.day-cell.disabled {
  color: var(--text-muted);
  cursor: not-allowed;
  opacity: 0.4;
}

.time-slots {
  margin-top: 1.2rem;
}

.time-slots h4 {
  font-family: var(--font-title);
  font-size: 1rem;
  margin-bottom: 0.8rem;
  color: var(--text-secondary);
}

.slots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
  gap: 0.6rem;
}

/* Visual Time Slots Color Coding Styles */
.time-slot {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-glass);
  padding: 0.6rem 0;
  border-radius: 8px;
  text-align: center;
  cursor: pointer;
  font-size: 0.85rem;
  transition: all 0.2s ease;
}

.time-slot.status-free {
  border-color: rgba(0, 229, 255, 0.4);
  color: var(--accent-cyan);
  background: rgba(0, 229, 255, 0.05);
}

.time-slot.status-free:hover {
  background: var(--accent-cyan);
  color: var(--bg-deep);
  box-shadow: var(--shadow-glow-cyan);
}

.time-slot.status-pending {
  border-color: rgba(255, 215, 0, 0.4);
  color: var(--accent-gold);
  background: rgba(255, 215, 0, 0.05);
}

.time-slot.status-pending:hover {
  background: var(--accent-gold);
  color: var(--bg-deep);
  box-shadow: var(--shadow-glow-gold);
}

.time-slot.status-accepted {
  border-color: rgba(100, 116, 139, 0.3) !important;
  color: var(--text-muted) !important;
  background: rgba(100, 116, 139, 0.15) !important; /* Shaded in gray */
  cursor: not-allowed !important;
  opacity: 0.5;
  box-shadow: none !important;
  border-left: 3px solid var(--accent-red) !important; /* Red indicator line */
}

.time-slot.selected {
  border-color: #fff !important;
  background: #fff !important;
  color: var(--bg-deep) !important;
  font-weight: 700;
  box-shadow: 0 0 15px #fff;
}

/* Booking Form */
.booking-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.form-control {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  padding: 0.8rem 1rem;
  border-radius: 10px;
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-cyan);
  box-shadow: 0 0 10px rgba(0, 229, 255, 0.2);
}

select.form-control option {
  background: var(--bg-deep);
  color: #fff;
}

.btn-submit-booking {
  background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-purple) 100%);
  color: #fff;
  border: none;
  padding: 1rem;
  border-radius: 10px;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  margin-top: 1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(130, 10, 209, 0.3);
}

.btn-submit-booking:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(130, 10, 209, 0.5);
  filter: brightness(1.15);
}

/* Student Notification Center Widget */
.notification-bell-container {
  position: relative;
  cursor: pointer;
}

.bell-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  background: var(--accent-red);
  color: #fff;
  font-size: 0.7rem;
  font-weight: bold;
  border-radius: 50%;
  width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 8px var(--accent-red);
}

.notification-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  width: 320px;
  background: rgba(10, 15, 30, 0.95);
  border: 1px solid var(--border-glass);
  border-radius: 12px;
  padding: 1rem;
  margin-top: 0.5rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  display: none;
  z-index: 200;
}

.notification-dropdown.active {
  display: block;
}

.notification-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding: 0.6rem 0;
  font-size: 0.85rem;
}

.notification-item:last-child {
  border-bottom: none;
}

.notification-status {
  font-weight: 600;
  display: inline-block;
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
  font-size: 0.75rem;
  margin-right: 0.5rem;
}

.status-pending { background: rgba(255, 215, 0, 0.15); color: var(--accent-gold); }
.status-accepted { background: rgba(255, 51, 102, 0.15); color: var(--accent-red); } /* Changed accepted style to red status */
.status-rescheduled { background: rgba(130, 10, 209, 0.15); color: var(--accent-purple); }
.status-cancelled { background: rgba(255, 255, 255, 0.15); color: var(--text-secondary); }

/* Math App Section (Axioma Math) */
.app-section {
  max-width: 1200px;
  margin: 5rem auto;
  padding: 0 2rem;
}

.app-container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}

.app-description h2 {
  font-family: var(--font-title);
  font-size: 2.2rem;
  margin-bottom: 1.2rem;
}

.app-features {
  list-style: none;
  margin: 1.5rem 0 2.5rem;
}

.app-features li {
  margin-bottom: 0.8rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.app-features li::before {
  content: "🚀";
}

.app-buttons {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
}

.btn-download {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  padding: 0.8rem 1.5rem;
  border-radius: 12px;
  color: #fff;
  font-weight: 500;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-download:hover {
  border-color: var(--accent-cyan);
  box-shadow: var(--shadow-glow-cyan);
  transform: translateY(-2px);
  background: rgba(0, 229, 255, 0.05);
}

.btn-download.android {
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.1) 0%, rgba(30, 108, 147, 0.2) 100%);
  border-color: var(--accent-cyan);
}

.app-mockup {
  position: relative;
  width: 260px;
  height: 520px;
  border: 12px solid #1e293b;
  border-radius: 36px;
  background: #0f172a;
  margin: 0 auto;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5), 0 0 30px rgba(0, 229, 255, 0.15);
  overflow: hidden;
}

.app-mockup::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 25px;
  background: #1e293b;
  border-bottom-left-radius: 15px;
  border-bottom-right-radius: 15px;
  z-index: 10;
}

.app-screen {
  width: 100%;
  height: 100%;
  padding: 2rem 1.2rem 1.2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: radial-gradient(circle at 50% 50%, #0d1226 0%, #02040a 100%);
  position: relative;
}

.app-screen-header {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1.1rem;
  text-align: center;
  color: var(--accent-cyan);
  margin-top: 1rem;
  text-shadow: 0 0 8px rgba(0, 229, 255, 0.4);
}

.app-screen-content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
}

.app-equation-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(0, 229, 255, 0.2);
  border-radius: 10px;
  padding: 0.8rem;
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.95rem;
  text-align: center;
  color: var(--accent-gold);
}

.app-solve-btn {
  background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-purple) 100%);
  border: none;
  padding: 0.6rem 1.2rem;
  border-radius: 20px;
  font-family: var(--font-title);
  color: #fff;
  font-weight: 600;
  font-size: 0.8rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

/* Modals */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(2, 4, 10, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 500;
}

.modal-overlay.active {
  display: flex;
}

.modal-box {
  max-width: 500px;
  width: 90%;
  animation: modalIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
}

@keyframes modalIn {
  0% { transform: scale(0.9); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 1.5rem;
  cursor: pointer;
  transition: color 0.2s ease;
  z-index: 10;
}

.modal-close:hover {
  color: #fff;
}

.modal-title {
  font-family: var(--font-title);
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--accent-cyan);
}

/* Social Media Ad Copywriter Section */
.social-section {
  max-width: 1200px;
  margin: 5rem auto;
  padding: 0 2rem;
}

.social-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.ad-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.ad-platform {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 1.2rem;
}

.ad-platform.instagram { color: #e1306c; }
.ad-platform.tiktok { color: #00f2fe; }
.ad-platform.facebook { color: #1877f2; }

.ad-text {
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 1rem;
  font-size: 0.9rem;
  font-family: monospace;
  white-space: pre-wrap;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  user-select: all;
}

.btn-copy {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  padding: 0.6rem 1rem;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--accent-cyan);
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-copy:hover {
  background: var(--accent-cyan);
  color: var(--bg-deep);
  font-weight: 600;
  box-shadow: var(--shadow-glow-cyan);
}

/* Admin Panel Styling */
.admin-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 2rem;
  max-width: 1400px;
  margin: 2rem auto;
  padding: 0 2rem;
}

.admin-header-row {
  max-width: 1400px;
  margin: 3rem auto 1rem;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.admin-header-row h1 {
  font-family: var(--font-title);
  font-size: 2.2rem;
}

/* Admin Alert System */
.alarm-banner {
  background: rgba(255, 51, 102, 0.1);
  border: 2px solid var(--accent-red);
  border-radius: 12px;
  padding: 1.2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  animation: pulseAlarm 2s infinite;
  display: none;
}

.alarm-banner.active {
  display: flex;
}

@keyframes pulseAlarm {
  0% { box-shadow: 0 0 10px rgba(255, 51, 102, 0.2); }
  50% { box-shadow: 0 0 25px rgba(255, 51, 102, 0.6); }
  100% { box-shadow: 0 0 10px rgba(255, 51, 102, 0.2); }
}

.alarm-text {
  font-weight: 700;
  color: var(--accent-red);
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 1.1rem;
}

.alarm-text::before {
  content: "⚠️";
  animation: shakeAlert 0.5s infinite;
}

@keyframes shakeAlert {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(-15deg); }
  75% { transform: rotate(15deg); }
}

.btn-silence {
  background: var(--accent-red);
  border: none;
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-silence:hover {
  filter: brightness(1.1);
}

/* Booking Items */
.booking-list {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.booking-item {
  border-left: 4px solid var(--accent-cyan);
  transition: all 0.3s ease;
}

.booking-item.pending {
  border-left-color: var(--accent-gold);
}

.booking-item.accepted {
  border-left-color: var(--accent-red); /* Accepted classes left border red */
}

.booking-item.rescheduled {
  border-left-color: var(--accent-purple);
}

.booking-item.cancelled {
  border-left-color: var(--text-muted);
}

.booking-item-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.8rem;
}

.booking-item-title {
  font-family: var(--font-title);
  font-size: 1.1rem;
  font-weight: 600;
}

.booking-item-info {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  color: var(--text-secondary);
  font-size: 0.85rem;
  margin-bottom: 1.2rem;
}

.booking-item-actions {
  display: flex;
  gap: 0.8rem;
}

.btn-action {
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
}

.btn-action-accept {
  background: var(--accent-red); /* accept button now red to confirm slot */
  color: #fff;
}

.btn-action-reschedule {
  background: rgba(130, 10, 209, 0.2);
  color: var(--text-primary);
  border: 1px solid var(--accent-purple);
}

.btn-action-reject {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-secondary);
  border: 1px solid var(--border-glass);
}

.btn-action:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
}

.empty-state {
  text-align: center;
  color: var(--text-muted);
  padding: 3rem 0;
  font-size: 0.95rem;
}

/* Sound enable control floating */
.sound-toggle {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: rgba(5, 8, 20, 0.8);
  border: 1px solid var(--border-glass);
  padding: 0.8rem 1.2rem;
  border-radius: 50px;
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  font-size: 0.85rem;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.sound-toggle.muted {
  border-color: var(--accent-red);
  color: var(--accent-red);
}

.sound-toggle.enabled {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
}

/* Admin Calendar Dashboard Visual */
.admin-calendar {
  height: max-content;
}

.admin-calendar-header {
  font-family: var(--font-title);
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  color: var(--accent-cyan);
}

.admin-day-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.5rem;
}

.admin-day-cell {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  min-height: 80px;
  padding: 0.4rem;
  border-radius: 8px;
  font-size: 0.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.admin-day-number {
  font-weight: 600;
  color: var(--text-muted);
}

.admin-day-number.today {
  color: var(--accent-cyan);
}

.admin-event-badge {
  background: linear-gradient(90deg, rgba(255,51,102,0.15) 0%, rgba(130,10,209,0.15) 100%);
  border-left: 3px solid var(--accent-red);
  color: #fff;
  font-size: 0.7rem;
  padding: 0.1rem 0.3rem;
  border-radius: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  cursor: pointer;
}

/* Custom Footer */
footer {
  border-top: 1px solid var(--border-glass);
  padding: 3rem 0;
  margin-top: 6rem;
  background: rgba(2, 4, 10, 0.5);
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* --- ADDITIONS FOR SURVEYS & EXERCISES --- */
.tab-group {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-glass);
  padding-bottom: 0.8rem;
}

.tab-btn {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-family: var(--font-title);
  font-size: 1rem;
  font-weight: 600;
  padding: 0.5rem 1rem;
  cursor: pointer;
  border-radius: 8px;
  transition: all 0.3s;
}

.tab-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.03);
}

.tab-btn.active {
  color: var(--accent-cyan);
  background: rgba(0, 229, 255, 0.1);
  text-shadow: 0 0 10px rgba(0, 229, 255, 0.2);
}

/* Exercise items styles */
.exercises-container {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.exercise-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  padding: 0.8rem 1.2rem;
  border-radius: 12px;
  transition: all 0.2s ease;
}

.exercise-card:hover {
  border-color: rgba(0, 229, 255, 0.2);
  background: rgba(255, 255, 255, 0.05);
}

.exercise-card.completed {
  border-color: rgba(0, 229, 255, 0.15);
  background: rgba(0, 229, 255, 0.03);
}

.exercise-card.completed span {
  text-decoration: line-through;
  color: var(--text-muted);
}

.exercise-checkbox {
  width: 20px;
  height: 20px;
  border: 2px solid var(--accent-cyan);
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  flex-shrink: 0;
}

.exercise-checkbox::after {
  content: "✓";
  color: var(--bg-deep);
  font-weight: bold;
  font-size: 0.8rem;
  display: none;
}

.exercise-checkbox.checked {
  background: var(--accent-cyan);
  border-color: var(--accent-cyan);
}

.exercise-checkbox.checked::after {
  display: block;
}

/* Progress bar styles */
.progress-container {
  margin-bottom: 1.5rem;
}

.progress-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.progress-bar-bg {
  background: rgba(255,255,255,0.06);
  border-radius: 50px;
  height: 12px;
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--border-glass);
}

.progress-bar-fill {
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-purple));
  height: 100%;
  width: 0%;
  border-radius: 50px;
  box-shadow: 0 0 10px rgba(0, 229, 255, 0.5);
  transition: width 0.5s ease-out;
}

/* Study recommendation styles */
.method-box {
  background: linear-gradient(135deg, rgba(130, 10, 209, 0.1) 0%, rgba(0, 229, 255, 0.05) 100%);
  border: 1px solid rgba(130, 10, 209, 0.2);
  border-radius: 16px;
  padding: 1.5rem;
}

.method-tag {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  background: var(--accent-purple);
  color: #fff;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
  text-transform: uppercase;
}

/* NEW ADDITIONS FOR LEGENDS & CELL INDICATORS */
.calendar-legend {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin: 0.8rem 0 1.2rem;
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.legend-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.legend-dot.free { background: var(--accent-cyan); box-shadow: 0 0 6px var(--accent-cyan); }
.legend-dot.pending { background: var(--accent-gold); box-shadow: 0 0 6px var(--accent-gold); }
.legend-dot.accepted { background: var(--accent-red); box-shadow: 0 0 6px var(--accent-red); }

/* Grid Day cell dots list */
.day-dots {
  display: flex;
  gap: 3px;
  margin-top: 4px;
  height: 6px;
}

.day-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
}
.day-dot.free { background: var(--accent-cyan); }
.day-dot.pending { background: var(--accent-gold); }
.day-dot.accepted { background: var(--accent-red); }

/* Mobile Navigation Hamburger Menu Toggle */
.mobile-nav-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-glass);
  color: var(--accent-cyan);
  font-size: 1.3rem;
  padding: 0.4rem 0.8rem;
  border-radius: 8px;
  cursor: pointer;
  z-index: 101;
  transition: all 0.3s ease;
}

.mobile-nav-toggle:hover {
  background: rgba(0, 229, 255, 0.2);
  box-shadow: 0 0 10px rgba(0, 229, 255, 0.3);
}

/* Responsive Two-Column Grid Utility */
.responsive-two-col {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
  align-items: start;
}

@media (max-width: 968px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
    margin-top: 2rem;
  }
  
  .hero-text h1 {
    font-size: 2.5rem;
  }
  
  .booking-container, .app-container, .admin-grid, .social-grid, .responsive-two-col {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }

  .admin-header-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .admin-day-grid {
    gap: 0.3rem;
  }

  .admin-day-cell {
    min-height: 65px;
    padding: 0.25rem;
    font-size: 0.75rem;
  }
  
  .app-mockup {
    order: -1;
  }
  
  #profile-details-grid {
    grid-template-columns: 1fr !important;
  }

  #student-register-form {
    grid-template-columns: 1fr !important;
  }
}

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

  .nav-container {
    padding: 0.8rem 1rem;
    position: relative;
  }

  .logo {
    font-size: 1.1rem;
  }

  nav ul {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(8, 12, 28, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 2px solid var(--accent-cyan);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.7);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.8rem 1rem 1.2rem;
    display: none;
    z-index: 999;
  }

  nav ul.mobile-open {
    display: flex !important;
    animation: slideDownMobile 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  }

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

  nav ul li {
    width: 100%;
  }

  nav a, nav .tab-btn {
    display: block;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    border-radius: 8px;
    width: 100%;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  }

  nav a:hover, nav .tab-btn:hover {
    background: rgba(0, 229, 255, 0.1);
  }

  /* Form inputs mobile styling (prevent iOS auto zoom on focus) */
  .form-control, select.form-control, input.form-control {
    font-size: 16px !important;
    padding: 0.8rem 0.9rem;
  }

  /* Glass panel mobile padding */
  .glass-panel {
    padding: 1.3rem !important;
    border-radius: 16px;
  }

  /* Slot picker responsive buttons */
  .slots-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
  }

  .time-slot {
    padding: 0.8rem 0;
    font-size: 0.9rem;
    font-weight: 600;
  }

  /* RGPD Cookie Banner mobile adjustment */
  #cookie-consent-banner {
    width: 95% !important;
    padding: 1rem 1.2rem !important;
    bottom: 1rem !important;
    border-radius: 14px !important;
  }

  #cookie-consent-banner > div {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 1rem !important;
  }

  #cookie-consent-banner button {
    width: 100% !important;
    text-align: center !important;
  }

  /* Floating sound toggle pill position for mobile */
  .sound-toggle {
    bottom: 12px;
    right: 12px;
    padding: 0.6rem 0.9rem;
    font-size: 0.75rem;
  }
}

@media (max-width: 480px) {
  .hero-text h1 {
    font-size: 1.9rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

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

  .quotes-container {
    padding: 1.2rem;
  }

  #quote-text {
    font-size: 1.1rem;
  }
}
