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

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: #fafafa;
}

.container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Navigation */
.navbar {
  background: white;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  padding: 20px 0;
}

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

.logo {
  font-size: 24px;
  font-weight: 700;
  color: #ff5722;
}

a.logo {
  border: none;
  text-decoration: none;
  color: #ff5722;
}

a.logo:hover {
  color: #ff5722;
}

.nav-buttons a,
.nav-buttons button {
  margin-left: 15px;
  padding: 10px 24px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s;
}

.btn-login {
  background: transparent;
  color: #ff5722;
  border: 2px solid #ff5722;
}

.btn-login:hover {
  background: #fff3f0;
}

.btn-start {
  background: linear-gradient(135deg, #ff5722 0%, #ff6f3c 100%);
  color: white;
}

.btn-start:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(255, 87, 34, 0.3);
}

/* Hero Section */
.hero {
  position: relative;
  background: linear-gradient(135deg, #ff5722 0%, #ff6f3c 100%);
  padding: 100px 0 150px;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: white;
}

.hero h1 {
  font-size: 56px;
  margin-bottom: 20px;
  font-weight: 700;
}

.hero p {
  font-size: 20px;
  margin-bottom: 40px;
  opacity: 0.95;
}

.hero-buttons a {
  margin: 0 10px;
  padding: 16px 40px;
  font-size: 16px;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s;
}

.hero-primary {
  background: white;
  color: #ff5722;
}

.hero-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

.hero-secondary {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.hero-secondary:hover {
  background: rgba(255,255,255,0.1);
}
/* Features Section */
.features {
  padding: 80px 0;
  background: white;
}

.features h2 {
  text-align: center;
  font-size: 36px;
  margin-bottom: 60px;
  color: #333;
}

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

.feature-box {
  background: white;
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: all 0.3s;
}

.feature-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #ff5722 0%, #ff6f3c 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 24px;
  margin-bottom: 20px;
}

.feature-box h3 {
  margin-bottom: 12px;
  color: #333;
}

.feature-box p {
  color: #666;
  line-height: 1.6;
}

/* Status Colors Section */
.status-section {
  padding: 80px 0;
  background: #f5f5f5;
}

.status-section h2 {
  text-align: center;
  font-size: 36px;
  margin-bottom: 20px;
  color: #333;
}

.section-subtitle {
  text-align: center;
  color: #666;
  margin-bottom: 40px;
}

.status-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.status-card {
  background: white;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  text-align: center;
}

.status-badge {
  display: inline-block;
  padding: 8px 24px;
  border-radius: 20px;
  font-weight: 600;
  margin-bottom: 15px;
  font-size: 14px;
}

.status-open {
  background: #e8f5e9;
  color: #2e7d32;
}

.status-in_progress {
  background: #fff3e0;
  color: #e65100;
}

.status-closed {
  background: #f5f5f5;
  color: #616161;
}

.status-card h3 {
  margin-bottom: 10px;
  color: #333;
}

.status-card p {
  color: #666;
  line-height: 1.6;
}
/* Decorative Circles */
.circle-1 {
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  top: -100px;
  right: 100px;
  z-index: 1;
}

.circle-2 {
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  bottom: 50px;
  left: 50px;
  z-index: 1;
}

/* Wave */
.wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  z-index: 1;
}

/* Footer */
.footer {
  background: #333;
  color: white;
  padding: 30px 0;
  text-align: center;
  margin-top: 80px;
}

.footer p {
  opacity: 0.8;
}

/* Make Links work as buttons */
.btn-login,
.btn-start,
.hero-primary,
.hero-secondary {
  display: inline-block;
  text-align: center;

}

/* Responsive */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 36px;
  }
  
  .hero p {
    font-size: 16px;
  }
  
  .hero-buttons button {
    display: block;
    width: 100%;
    margin: 10px 0;
  }
  
  .circle-1, .circle-2 {
    display: none;
  }
}

/* Auth Pages */
.auth-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.auth-container {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 0;
  background: #fafafa;
}

.auth-box {
  background: white;
  padding: 50px;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  max-width: 450px;
  width: 100%;
}

.auth-box h2 {
  color: #333;
  margin-bottom: 10px;
  font-size: 32px;
}

.auth-box p {
  color: #666;
  margin-bottom: 30px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: #333;
  font-weight: 600;
  font-size: 14px;
}

.form-group input {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 15px;
  transition: all 0.3s;
}

.form-group input:focus {
  outline: none;
  border-color: #ff5722;
}

.error-message {
  color: #ef5350;
  font-size: 13px;
  margin-top: 6px;
  display: none;
}

.error-message.show {
  display: block;
}

.submit-btn {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, #ff5722 0%, #ff6f3c 100%);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 10px;
  transition: all 0.3s;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(255, 87, 34, 0.3);
}

.auth-link {
  text-align: center;
  margin-top: 20px;
  color: #666;
}

.auth-link span {
  color: #ff5722;
  cursor: pointer;
  font-weight: 600;
}

.auth-link span:hover {
  text-decoration: underline;
}

/* Link styles */
a {
  text-decoration: none;
  color: inherit;
}

.auth-link a {
  color: #ff5722;
  font-weight: 600;
}

.auth-link a:hover {
  text-decoration: underline;
}

/* Dashboard */
.dashboard-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.dashboard-header {
  background: white;
  padding: 40px 0;
  margin-bottom: 40px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.dashboard-header h1 {
  color: #333;
  margin-bottom: 10px;
  font-size: 36px;
}

.dashboard-header p {
  color: #666;
}

.dashboard-content {
  flex: 1;
  padding-bottom: 40px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.stat-card {
  background: white;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  border-left: 4px solid #ff5722;
  transition: all 0.3s;
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.stat-card h3 {
  color: #666;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.stat-number {
  font-size: 48px;
  font-weight: 700;
  color: #ff5722;
}

.quick-actions {
  background: white;
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.quick-actions h2 {
  margin-bottom: 15px;
  color: #333;
}

.quick-actions p {
  color: #666;
  margin-bottom: 25px;
  line-height: 1.6;
}

.btn-action {
  display: inline-block;
  padding: 14px 32px;
  background: linear-gradient(135deg, #ff5722 0%, #ff6f3c 100%);
  color: white;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s;
}

.btn-action:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(255, 87, 34, 0.3);
}

.btn-logout {
  background: #ef5350;
  color: white;
  padding: 10px 24px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  margin-left: 15px;
  transition: all 0.3s;
}

.btn-logout:hover {
  background: #d32f2f;
}

/* Ticket Management */
.ticket-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.ticket-content {
  flex: 1;
  padding: 40px 0;
}

.ticket-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: white;
  padding: 30px;
  border-radius: 16px;
  margin-bottom: 30px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.ticket-header h1 {
  color: #333;
  font-size: 32px;
}

.btn-create {
  background: linear-gradient(135deg, #ff5722 0%, #ff6f3c 100%);
  color: white;
  padding: 12px 30px;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-create:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(255, 87, 34, 0.3);
}

.tickets-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 25px;
}

.ticket-card {
  background: white;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: all 0.3s;
}

.ticket-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.ticket-card-header {
  margin-bottom: 15px;
}

.ticket-card h3 {
  color: #333;
  font-size: 18px;
  margin-bottom: 10px;
}

.ticket-description {
  color: #666;
  margin-bottom: 15px;
  line-height: 1.6;
  min-height: 40px;
}

.ticket-actions {
  display: flex;
  gap: 10px;
}

.ticket-actions button {
  flex: 1;
  padding: 8px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s;
}

.btn-edit {
  background: #e3f2fd;
  color: #1976d2;
}

.btn-edit:hover {
  background: #bbdefb;
}

.btn-delete {
  background: #ffebee;
  color: #c62828;
}

.btn-delete:hover {
  background: #ffcdd2;
}

/* Modal */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.5);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal {
  background: white;
  padding: 40px;
  border-radius: 16px;
  max-width: 600px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
}

.modal h2 {
  margin-bottom: 30px;
  color: #333;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 15px;
  font-family: inherit;
  resize: vertical;
  min-height: 100px;
  transition: all 0.3s;
}

.form-group textarea:focus {
  outline: none;
  border-color: #ff5722;
}

.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 15px;
  transition: all 0.3s;
}

.form-group select:focus {
  outline: none;
  border-color: #ff5722;
}

.modal-actions {
  display: flex;
  gap: 15px;
  margin-top: 30px;
}

.btn-cancel {
  flex: 1;
  padding: 12px;
  background: #f5f5f5;
  color: #333;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-cancel:hover {
  background: #e0e0e0;
}

.btn-save {
  flex: 1;
  padding: 12px;
  background: linear-gradient(135deg, #ff5722 0%, #ff6f3c 100%);
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-save:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(255, 87, 34, 0.3);
}

/* Delete Modal */
.delete-modal {
  max-width: 450px;
}

.delete-title {
  color: #c62828;
  margin-bottom: 20px;
}

.delete-description {
  color: #666;
  margin-bottom: 20px;
  line-height: 1.6;
}

.ticket-preview {
  background: #f5f5f5;
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 30px;
}

.ticket-preview strong {
  color: #333;
}

.btn-delete-confirm {
  flex: 1;
  padding: 12px;
  background: #c62828;
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-delete-confirm:hover {
  background: #b71c1c;
}

/* Toast Notification */
.toast {
  position: fixed;
  top: 20px;
  right: 20px;
  background: #333;
  color: white;
  padding: 16px 24px;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
  z-index: 3000;
  opacity: 0;
  transition: opacity 0.3s;
}

.toast.show {
  opacity: 1;
}

.toast.success {
  background: #2e7d32;
}

.toast.error {
  background: #c62828;
}

/* Responsive */
@media (max-width: 768px) {
  .ticket-header {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
  
  .btn-create {
    width: 100%;
  }
  
  .tickets-grid {
    grid-template-columns: 1fr;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
}

/* ==== Landing Page Navbar (Scoped) ==== */
.landing-page .landing-navbar {
  background: white;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  padding: 20px 0;
  position: relative;
  z-index: 1000;
}

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

.landing-page .landing-logo {
  font-size: 24px;
  font-weight: 700;
  color: #ff5722;
  text-decoration: none;
}

/* Hamburger Menu */
.landing-page .landing-hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 18px;
  cursor: pointer;
  
}

.landing-page .landing-hamburger span {
  display: block;
  height: 3px;
  width: 100%;
  background: #ff5722;
  border-radius: 3px;
  transition: all 0.3s ease;

}

.landing-page .landing-hamburger.active span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.landing-page .landing-hamburger.active span:nth-child(2) {
  opacity: 0;
}

.landing-page .landing-hamburger.active span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* Nav buttons default */
.landing-page .landing-nav-buttons a {
  margin: 15px;
  padding: 10px 24px;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s;
}

/* Responsive behavior */
@media (max-width: 768px) {
  .landing-page .landing-hamburger {
    display: flex;
  }

  .landing-page .landing-nav-buttons {
    position: absolute;
    top: 70px;
    right: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    flex-direction: column;
    width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    
  }

  .landing-page .landing-nav-buttons.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    
  }

  .landing-page .landing-nav-buttons a {
    margin: 10px 0;
    text-align: center;
    width: 100%;
  }
}


