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

:root {
  --primary: #0a192f;
  --accent: #00dfd8;
  --accent-hover: #00b3ad;
  --text-light: #f3f4f6;
  --text-muted: #9ca3af;
  --glass-bg: rgba(10, 25, 47, 0.6);
  --glass-border: rgba(255, 255, 255, 0.1);
  --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  --transition: all 0.3s ease;
}

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

body {
  font-family: 'Outfit', sans-serif;
  color: var(--text-light);
  background: var(--primary) url('https://images.unsplash.com/photo-1436491865332-7a61a109cc05?q=80&w=2074&auto=format&fit=crop') no-repeat center center/cover;
  background-attachment: fixed;
  background-blend-mode: overlay;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Glassmorphism Utilities */
.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
}

.glass-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  box-shadow: var(--glass-shadow);
  padding: 2rem;
  transition: var(--transition);
}

.glass-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255,255,255,0.2);
}

/* Navigation */
.nav-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 5%;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}

.logo img {
  width: 45px;
  border-radius: 50%;
  border: 2px solid var(--accent);
}

.logo h2 {
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: 1px;
}

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

.nav-links li a {
  text-decoration: none;
  color: var(--text-light);
  font-weight: 500;
  position: relative;
  transition: var(--transition);
}

.nav-links li a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: var(--accent);
  transition: width 0.3s ease;
}

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

.nav-links li a:hover,
.nav-links li a.active {
  color: var(--accent);
}

.login-btn {
  background: transparent;
  border: 2px solid var(--accent);
  color: var(--accent) !important;
  padding: 0.5rem 1.2rem;
  border-radius: 30px;
}

.login-btn:hover {
  background: var(--accent) !important;
  color: var(--primary) !important;
  box-shadow: 0 0 15px var(--accent);
}
.login-btn::after { display: none !important; }

/* Hamburger Menu */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background: var(--text-light);
  border-radius: 3px;
  transition: var(--transition);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 6rem 5% 2rem;
  position: relative;
}

.hero-container {
  text-align: center;
  max-width: 800px;
  z-index: 2;
  animation: fadeUp 1s ease-out forwards;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.hero-title span {
  background: linear-gradient(45deg, var(--accent), #00ffcc);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
}

.btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  background: var(--accent);
  color: var(--primary);
  border: none;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(0, 223, 216, 0.4);
}

.btn:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 223, 216, 0.6);
}

/* Dashboard Layout */
.dashboard-body {
  background: var(--primary) url('https://images.unsplash.com/photo-1464039397811-476f652a343b?q=80&w=2068&auto=format&fit=crop') no-repeat center center/cover;
  background-attachment: fixed;
  overflow: hidden;
}

.dashboard-wrapper {
  display: flex;
  height: 100vh;
  width: 100%;
}

/* Sidebar */
.dashboard-sidebar {
  width: 280px;
  background: rgba(10, 25, 47, 0.85);
  backdrop-filter: blur(15px);
  border-right: 1px solid var(--glass-border);
  display: flex;
  flex-direction: column;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1100;
}

.sidebar-header {
  padding: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.sidebar-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.sidebar-logo img {
  width: 40px;
  height: 40px;
  border-radius: 8px;
}

.sidebar-logo span {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 1px;
}

.sidebar-close {
  display: none;
  background: none;
  border: none;
  color: var(--text-light);
  cursor: pointer;
}

.sidebar-nav {
  flex: 1;
  padding: 0 1rem;
}

.sidebar-nav ul {
  list-style: none;
}

.sidebar-nav ul li {
  margin-bottom: 0.5rem;
}

.sidebar-nav ul li a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 1rem 1.5rem;
  text-decoration: none;
  color: var(--text-muted);
  border-radius: 12px;
  transition: var(--transition);
}

.sidebar-nav ul li a i {
  width: 20px;
}

.sidebar-nav ul li a:hover,
.sidebar-nav ul li a.active {
  background: rgba(0, 223, 216, 0.1);
  color: var(--accent);
}

.sidebar-nav ul li a.active {
  font-weight: 600;
  box-shadow: inset 4px 0 0 var(--accent);
}

.sidebar-footer {
  padding: 2rem;
  border-top: 1px solid var(--glass-border);
}

.logout-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #ff4d4d;
  text-decoration: none;
  padding: 1rem;
  border-radius: 12px;
  transition: var(--transition);
}

.logout-btn:hover {
  background: rgba(255, 77, 77, 0.1);
}

/* Main Content Area */
.dashboard-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  position: relative;
}

/* Topbar */
.dashboard-topbar {
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(10, 25, 47, 0.4);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--glass-border);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.topbar-left {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.sidebar-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-light);
  cursor: pointer;
}

.search-box {
  background: rgba(255, 255, 255, 0.05);
  padding: 0.75rem 1.25rem;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--glass-border);
  width: 350px;
}

.search-box i {
  color: var(--text-muted);
  width: 18px;
}

.search-box input {
  background: none;
  border: none;
  color: var(--text-light);
  width: 100%;
  font-family: inherit;
}

.search-box input:focus { outline: none; }

.topbar-right {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.notifications-btn {
  background: none;
  border: none;
  color: var(--text-light);
  cursor: pointer;
  position: relative;
}

.notifications-btn .badge {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent);
}

.user-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.user-details {
  text-align: right;
}

.user-details h4 {
  font-size: 0.95rem;
  font-weight: 600;
}

.user-details p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.user-avatar {
  width: 45px;
  height: 45px;
  border-radius: 12px;
  border: 2px solid var(--accent);
}

/* Dashboard Content */
.dashboard-content {
  padding: 2rem;
}

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

.content-header h2 {
  font-size: 1.8rem;
  margin-bottom: 0.25rem;
}

.content-header p {
  color: var(--text-muted);
}

/* Stats Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.stats-card {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem !important;
}

.stats-icon {
  width: 55px;
  height: 55px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stats-icon.blue { background: rgba(0, 223, 216, 0.15); color: var(--accent); }
.stats-icon.green { background: rgba(34, 197, 94, 0.15); color: #22c55e; }
.stats-icon.purple { background: rgba(168, 85, 247, 0.15); color: #a855f7; }
.stats-icon.orange { background: rgba(249, 115, 22, 0.15); color: #f97316; }

.stats-info h3 {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: 0.4rem;
}

.stats-value {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.stats-trend {
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  gap: 4px;
}

.stats-trend.positive { color: #22c55e; }
.stats-trend.negative { color: #ef4444; }

/* Dashboard Grid */
.dashboard-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 1.5rem;
}

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

.view-all {
  background: none;
  border: 1px solid var(--glass-border);
  color: var(--text-light);
  padding: 0.4rem 1rem;
  border-radius: 8px;
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--transition);
}

.view-all:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* Table Styles */
.table-container {
  overflow-x: auto;
}

.dashboard-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.dashboard-table th {
  padding: 1rem;
  border-bottom: 1px solid var(--glass-border);
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.9rem;
}

.dashboard-table td {
  padding: 1.2rem 1rem;
  border-bottom: 1px solid var(--glass-border);
  font-size: 0.95rem;
}

.dashboard-table tr:last-child td { border-bottom: none; }

.status-badge {
  padding: 0.4rem 0.8rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

.status-badge.confirmed { background: rgba(34, 197, 94, 0.15); color: #22c55e; }
.status-badge.pending { background: rgba(249, 115, 22, 0.15); color: #f97316; }
.status-badge.cancelled { background: rgba(239, 68, 68, 0.15); color: #ef4444; }

/* Chart Styles */
.chart-placeholder {
  height: 250px;
  display: flex;
  align-items: flex-end;
  justify-content: space-around;
  padding-bottom: 2rem;
}

.chart-bar-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  height: 100%;
  flex: 1;
}

.chart-bar {
  width: 30px;
  background: linear-gradient(to top, var(--accent), #00ffcc);
  border-radius: 6px 6px 0 0;
  transition: height 1s ease-in-out;
  cursor: pointer;
  position: relative;
}

.chart-bar:hover {
  filter: brightness(1.2);
  box-shadow: 0 0 15px var(--accent);
}

.chart-bar-container span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Responsive Dashboard */
@media (max-width: 1200px) {
  .dashboard-grid { grid-template-columns: 1fr; }
  .search-box { width: 250px; }
}

@media (max-width: 992px) {
  .dashboard-sidebar {
    position: fixed;
    left: -280px;
    height: 100vh;
  }
  
  .dashboard-sidebar.active {
    left: 0;
  }

  .sidebar-toggle, .sidebar-close { display: flex; }
  
  .dashboard-main { width: 100%; }
}

@media (max-width: 600px) {
  .search-box { display: none; }
  .user-details { display: none; }
  .stats-grid { grid-template-columns: 1fr; }
  .dashboard-topbar { padding: 1rem; }
  .dashboard-content { padding: 1.5rem; }
}

/* Animations */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  opacity: 0;
  animation: fadeUp 0.8s ease-out forwards;
}

/* Auth Forms */
.auth-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.auth-card {
  width: 100%;
  max-width: 450px;
  text-align: center;
}

.auth-card h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: var(--accent);
}

.auth-card p {
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.input-group {
  position: relative;
  margin-bottom: 1.5rem;
  text-align: left;
}

.input-group input {
  width: 100%;
  padding: 1rem 1.2rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  color: var(--text-light);
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition);
}

.input-group input:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(255,255,255,0.1);
}

.input-group label {
  position: absolute;
  left: 1rem;
  top: 1rem;
  color: var(--text-muted);
  pointer-events: none;
  transition: var(--transition);
}

.input-group input:focus ~ label,
.input-group input:valid ~ label {
  top: -0.5rem;
  left: 0.8rem;
  font-size: 0.8rem;
  background: var(--primary);
  padding: 0 0.5rem;
  color: var(--accent);
}

.auth-btn {
  width: 100%;
  margin-top: 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.loading-spinner {
  display: none;
  width: 20px;
  height: 20px;
  border: 2px solid transparent;
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-left: 10px;
}

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

footer {
  text-align: center;
  padding: 1.5rem;
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--glass-border);
  margin-top: auto;
}

/* Media Queries */
@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }
  
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    transition: clip-path 0.4s ease-in-out;
  }

  .nav-links.active {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    border-bottom: 1px solid var(--glass-border);
  }

  .nav-links li { width: 100%; text-align: center; }
  
  .hero-title { font-size: 2.5rem; }
}

/* About Page Styles */
.about-page {
  padding-top: 8rem;
  max-width: 1200px;
  margin: 0 auto;
}

.about-hero {
  padding: 4rem 5%;
  margin-bottom: 4rem;
}

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

.sub-title {
  display: block;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent);
  margin-bottom: 1rem;
  font-weight: 600;
}

.story-text h2 {
  font-size: 2.8rem;
  line-height: 1.2;
  margin-bottom: 2rem;
  font-weight: 700;
}

.story-text p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.story-quote {
  padding: 2rem;
  background: rgba(0, 223, 216, 0.05);
  border-left: 4px solid var(--accent);
  margin: 2rem 0;
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  border-radius: 0 16px 16px 0;
}

.story-quote i {
  color: var(--accent);
  opacity: 0.5;
  width: 40px;
}

.story-quote p {
  margin-bottom: 0;
  font-style: italic;
  font-size: 1.2rem;
  color: var(--text-light);
}

.story-image img {
  width: 100%;
  border-radius: 12px;
  display: block;
}

.image-wrapper {
  padding: 1rem !important;
  transform: rotate(3deg);
  transition: var(--transition);
}

.image-wrapper:hover {
  transform: rotate(0deg) scale(1.02);
}

/* Mission & Values */
.mission-section {
  padding: 4rem 5%;
  margin-bottom: 6rem;
}

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

.mission-card {
  text-align: center;
  padding: 3rem 2rem !important;
}

.mission-icon {
  width: 50px;
  height: 50px;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.mission-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text-light);
}

.mission-card p {
  color: var(--text-muted);
}

/* Reviews Styling */
.reviews-section {
  padding: 6rem 5%;
  background: rgba(10, 25, 47, 0.3);
}

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

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
}

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

.review-card {
  padding: 2rem !important;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.stars {
  display: flex;
  gap: 4px;
  margin-bottom: 1.5rem;
}

.star-filled { color: #facc15; width: 18px; fill: #facc15; }
.star-muted { color: var(--text-muted); width: 18px; opacity: 0.3; }

.review-text {
  font-size: 1rem;
  color: var(--text-light);
  font-style: italic;
  margin-bottom: 2rem;
  line-height: 1.7;
}

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

.reviewer-img {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent);
}

.reviewer-info strong {
  display: block;
  font-size: 0.95rem;
  color: var(--text-light);
}

.reviewer-info span {
  font-size: 0.8rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 4px;
}

.verified-icon {
  width: 14px;
  color: var(--accent);
}

/* About Page Media Queries */
@media (max-width: 992px) {
  .brand-story {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .story-image {
    order: -1;
    max-width: 600px;
    margin: 0 auto;
  }
  
  .image-wrapper {
    transform: none;
  }
  
  .story-text h2 {
    font-size: 2.2rem;
  }
}

@media (max-width: 600px) {
  .about-page {
    padding-top: 6rem;
  }
  
  .section-header h2 {
    font-size: 2rem;
  }
  
  .mission-card {
    padding: 2rem 1.5rem !important;
  }
}