/* TARGETED RESET: Only fix header space issue on admin page */
.admin-page html {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

.admin-page body {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* ONLY force header to stick to top edge - ADMIN ONLY */
.admin-page .header {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* File download styling */
.file-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px;
  background: rgba(55, 65, 81, 0.6);
  border-radius: 8px;
  margin-bottom: 8px;
  border: 1px solid rgba(75, 85, 99, 0.3);
}

.file-icon {
  font-size: 18px;
  margin-right: 10px;
}

.file-name {
  flex: 1;
  color: #e5e7eb;
  font-size: 14px;
  word-break: break-word;
}

.btn-download {
  background: #059669 !important;
  color: white !important;
  border: none !important;
  padding: 6px 12px !important;
  border-radius: 6px !important;
  font-size: 12px !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
}

.btn-download:hover {
  background: #047857 !important;
  transform: translateY(-1px);
}

.btn-sm {
  font-size: 12px !important;
  padding: 6px 12px !important;
}

/* Global Styles - Version 4.3 */
/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  margin: 0;
  padding: 0;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  text-size-adjust: 100%;
  /* Optimize scrolling for all browsers */
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  overflow-scrolling: touch;
}

body {
  margin: 0;
  padding: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  color: #333;
  /* Static background for all devices - no animation */
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-size: cover;
  /* Fallback for older browsers */
  background-color: #667eea;
  overflow-x: hidden;
  /* Optimize body scrolling performance */
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  will-change: scroll-position;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
  min-height: 100vh;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}

/* Mobile-first responsive container */
@media (max-width: 1024px) {
  .container {
    max-width: 100%;
    padding: 0 15px;
  }
  
  /* Ensure header container also uses mobile padding */
  .header .container {
    padding: 0 15px;
  }
}

/* Animated Background */
.background-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
  transform: translateZ(0); /* Force hardware acceleration */
  -webkit-transform: translateZ(0);
}

/* Floating Bubbles */
.floating-bubble {
  position: absolute;
  border-radius: 50%;
  opacity: 0.4;
}

.bubble-1 {
  top: 10%;
  left: 10%;
  width: 128px;
  height: 128px;
  background: #dbeafe;
  /* animation removed for static background */
}

.bubble-2 {
  top: 20%;
  right: 20%;
  width: 96px;
  height: 96px;
  background: #e0e7ff;
  opacity: 0.3;
  /* animation removed for static background */
}

.bubble-3 {
  top: 40%;
  left: 25%;
  width: 64px;
  height: 64px;
  background: #f3e8ff;
  opacity: 0.25;
  /* animation removed for static background */
}

.bubble-4 {
  top: 60%;
  right: 33%;
  width: 80px;
  height: 80px;
  background: #bfdbfe;
  opacity: 0.2;
  /* animation removed for static background */
}

.bubble-5 {
  bottom: 20%;
  left: 16%;
  width: 112px;
  height: 112px;
  background: #cffafe;
  opacity: 0.25;
  /* animation removed for static background */
}

.bubble-6 {
  bottom: 40%;
  right: 12%;
  width: 144px;
  height: 144px;
  background: #e0f2fe;
  opacity: 0.15;
  /* animation removed for static background */
}

.bubble-7 {
  top: 50%;
  left: 50%;
  width: 48px;
  height: 48px;
  background: #bfdbfe;
  opacity: 0.3;
  /* animation removed for static background */
}

.bubble-8 {
  top: 15%;
  left: 66%;
  width: 32px;
  height: 32px;
  background: #ddd6fe;
  opacity: 0.4;
  /* animation removed for static background */
}

/* Geometric Shapes */
.geometric-shape {
  position: absolute;
  opacity: 0.2;
}

.shape-1 {
  top: 25%;
  right: 25%;
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, #dbeafe, #bfdbfe);
  transform: rotate(45deg);
  /* animation removed for static background */
}

.shape-2 {
  bottom: 25%;
  left: 25%;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #e0e7ff, #c7d2fe);
  opacity: 0.25;
  transform: rotate(12deg);
  /* animation removed for static background */
}

.shape-3 {
  top: 33%;
  right: 25%;
  width: 24px;
  height: 24px;
  background: linear-gradient(135deg, #f3e8ff, #ddd6fe);
  opacity: 0.3;
  transform: rotate(45deg);
  /* animation removed for static background */
}

/* Gradient Orbs */
.gradient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
}

.orb-1 {
  top: 0;
  left: 0;
  width: 384px;
  height: 384px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), transparent);
  opacity: 0.5;
  /* animation removed for static background */
}

.orb-2 {
  bottom: 0;
  right: 0;
  width: 320px;
  height: 320px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), transparent);
  opacity: 0.4;
  /* animation removed for static background */
}

.orb-3 {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 256px;
  height: 256px;
  background: linear-gradient(135deg, rgba(147, 51, 234, 0.1), transparent);
  opacity: 0.3;
  /* animation removed for static background */
}

/* Grid Pattern */
.grid-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.05;
  background-image: linear-gradient(rgba(59, 130, 246, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59, 130, 246, 0.1) 1px, transparent 1px);
  background-size: 64px 64px;
}

/* Static Background Elements - No Animations */

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  transition: all 0.3s ease;
}

/* Header container spans full width with centered content */
.header .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}

.nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 64px;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: transform 0.2s ease;
}

.logo-link:hover {
  transform: scale(1.05);
}

.logo-icon {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  font-size: 14px;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.logo-text {
  font-size: 24px;
  font-weight: bold;
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-desktop {
  display: flex;
  gap: 32px;
}

.nav-link {
  text-decoration: none;
  color: #374151;
  font-weight: 500;
  position: relative;
  transition: color 0.2s ease;
  cursor: pointer;
}

.nav-link:hover {
  color: #3b82f6;
}

.nav-link.active {
  color: #3b82f6;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: #3b82f6;
  transition: width 0.2s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: rgba(255, 255, 255, 0.3); /* More visible background */
  border: 2px solid rgba(255, 255, 255, 0.6); /* Stronger border */
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  transition: background-color 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2); /* Add shadow */
}

.mobile-menu-btn:hover {
  background: rgba(255, 255, 255, 0.5); /* Brighter on hover */
}

.hamburger {
  width: 24px;
  height: 2px;
  background: #1f2937; /* Dark color for better visibility */
  transition: all 0.3s ease;
  box-shadow: 0 1px 2px rgba(255, 255, 255, 0.5); /* Light shadow */
}

.mobile-menu-btn.active .hamburger:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active .hamburger:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active .hamburger:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 8px;
  padding: 16px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-radius: 0 0 12px 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.nav-mobile.active {
  display: flex;
}

.nav-link-mobile {
  text-decoration: none;
  color: #374151;
  font-weight: 500;
  padding: 12px 16px;
  border-radius: 8px;
  transition: all 0.2s ease;
  cursor: pointer;
}

.nav-link-mobile:hover,
.nav-link-mobile.active {
  color: #3b82f6;
  background: rgba(59, 130, 246, 0.1);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 16px;
  position: relative;
  overflow: hidden;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  color: white;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #1d4ed8, #1e40af);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(59, 130, 246, 0.4);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.8);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: #3b82f6;
  border: 2px solid #3b82f6;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.btn-secondary:hover {
  background: #3b82f6;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3);
}

.btn-success {
  background: linear-gradient(135deg, #10b981, #059669);
  color: white;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.btn-success:hover {
  background: linear-gradient(135deg, #059669, #047857);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(16, 185, 129, 0.4);
}

.btn-arrow {
  transition: transform 0.2s ease;
}

.btn:hover .btn-arrow {
  transform: translateX(4px);
}

/* Hero Section */
.hero {
  padding: 120px 0 80px;
  text-align: center;
  position: relative;
}

.trust-indicators {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(8px);
  padding: 8px 16px;
  border-radius: 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  font-size: 14px;
  color: #6b7280;
}

.trust-icon {
  font-size: 16px;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: bold;
  color: #ffffff;
  margin-bottom: 24px;
  line-height: 1.2;
}

.gradient-text {
  background: linear-gradient(135deg, #60a5fa, #c084fc); /* Brighter, more visible gradient */
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Add shadow for better visibility */
}

.hero-subtitle {
  font-size: 20px;
  color: #f8fafc; /* Much lighter color for better visibility */
  margin-bottom: 32px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3); /* Add subtle shadow for contrast */
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Sections */
.how-it-works,
.features {
  padding: 80px 0;
  position: relative;
}

.features {
  background: linear-gradient(135deg, rgba(249, 250, 251, 0.5), rgba(239, 246, 255, 0.5));
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-title {
  font-size: 2.5rem;
  font-weight: bold;
  color: #111827;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 20px;
  color: #f8fafc; /* White color for better visibility */
  max-width: 600px;
  margin: 0 auto;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3); /* Add subtle shadow for contrast */
}

/* Steps Grid */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  position: relative;
}

.connection-line {
  display: none;
  position: absolute;
  top: 50%;
  left: 33.33%;
  right: 33.33%;
  height: 2px;
  background: linear-gradient(90deg, #bfdbfe, #93c5fd);
  transform: translateY(-50%);
  z-index: 1;
}

.step-card {
  text-align: center;
  position: relative;
  z-index: 2;
}

.step-icon-wrapper {
  position: relative;
  margin-bottom: 24px;
}

.step-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #dbeafe, #bfdbfe);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  box-shadow: 0 8px 24px rgba(59, 130, 246, 0.2);
  transition: transform 0.3s ease;
}

.step-card:hover .step-icon {
  transform: scale(1.1);
}

.step-icon .icon {
  font-size: 36px;
}

.step-number {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 24px;
  height: 24px;
  background: #3b82f6;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: bold;
}

.step-title {
  font-size: 20px;
  font-weight: 600;
  color: #111827;
  margin-bottom: 16px;
}

.step-description {
  color: #e2e8f0; /* Light gray for better visibility */
  line-height: 1.6;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2); /* Subtle shadow for contrast */
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}

.feature-card {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(8px);
  padding: 32px;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.15);
}

.feature-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, #dbeafe, #bfdbfe);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
  transform: scale(1.1);
}

.feature-icon .icon {
  font-size: 32px;
}

.feature-title {
  font-size: 20px;
  font-weight: 600;
  color: #111827;
  margin-bottom: 16px;
}

.feature-description {
  color: #6b7280;
  line-height: 1.6;
}

/* Footer */
.footer {
  background: linear-gradient(135deg, #111827, #1f2937);
  color: white;
  padding: 64px 0;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 10% 10%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 90% 90%, rgba(99, 102, 241, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(147, 51, 234, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.footer-content {
  text-align: center;
  position: relative;
  z-index: 1;
}

.footer-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 24px;
}

.footer-logo .logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  font-size: 16px;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.footer-logo .logo-text {
  font-size: 24px;
  font-weight: bold;
  color: white;
}

.footer-tagline {
  font-size: 18px;
  color: #9ca3af;
  margin-bottom: 32px;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  margin-bottom: 32px;
}

.contact-card {
  background: rgba(55, 65, 81, 0.5);
  backdrop-filter: blur(8px);
  padding: 24px;
  border-radius: 12px;
  border: 1px solid rgba(75, 85, 99, 0.3);
  transition: all 0.3s ease;
}

.contact-card:hover {
  border-color: rgba(107, 114, 128, 0.5);
  background: rgba(55, 65, 81, 0.7);
}

.contact-card h4 {
  color: white;
  font-weight: 600;
  margin-bottom: 8px;
}

.contact-card a {
  color: #60a5fa;
  text-decoration: none;
  transition: color 0.2s ease;
}

.contact-card a:hover {
  color: #93c5fd;
}

.footer-bottom {
  border-top: 1px solid rgba(75, 85, 99, 0.3);
  padding-top: 32px;
}

.footer-bottom p {
  color: #9ca3af;
  margin-bottom: 16px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
}

.footer-link {
  color: #9ca3af;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: white;
  text-decoration: underline;
}

/* Upload Page Styles */
.upload-main {
  padding: 120px 0 80px;
  min-height: 100vh;
}

/* Pricing Page Styles */
.pricing-section {
  padding: 80px 0;
  position: relative;
  /* Optimize scrolling performance */
  will-change: scroll-position;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 48px;
  justify-content: center;
  /* Optimize grid rendering */
  will-change: auto;
}

.pricing-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
  position: relative;
  /* Optimize card performance */
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  will-change: transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 32px 60px rgba(0, 0, 0, 0.15);
}

.pricing-card.featured {
  border: 2px solid #3b82f6;
  transform: scale(1.05);
}

.pricing-card.featured::before {
  content: "Most Popular";
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  color: white;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
}

.pricing-header {
  text-align: center;
  margin-bottom: 24px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  padding-bottom: 24px;
}

.service-title {
  font-size: 24px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 16px;
}

.price {
  font-size: 48px;
  font-weight: 900;
  color: #3b82f6;
  margin-bottom: 8px;
}

.price.free {
  color: #10b981;
}

.price-note {
  font-size: 14px;
  color: #6b7280;
  font-style: italic;
}

.pricing-body {
  text-align: center;
}

.service-description {
  color: #6b7280;
  line-height: 1.6;
  font-size: 16px;
}

.corrections-note {
  color: #059669;
  font-size: 12px;
  font-weight: 500;
  margin-top: 12px;
  padding: 8px 12px;
  background: rgba(5, 150, 105, 0.1);
  border-radius: 8px;
  border-left: 3px solid #059669;
}

/* Payment Options Section */
.payment-section {
  padding: 80px 0;
  background: rgba(255, 255, 255, 0.05);
}

.payment-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  margin-top: 48px;
}

.payment-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-radius: 16px;
  padding: 32px;
  text-align: center;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.payment-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 32px 60px rgba(0, 0, 0, 0.15);
}

.payment-icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.payment-title {
  font-size: 20px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 16px;
}

.payment-description {
  color: #6b7280;
  line-height: 1.6;
}

/* CTA Section */
.cta-section {
  padding: 80px 0;
  text-align: center;
}

.cta-content {
  max-width: 600px;
  margin: 0 auto;
}

.cta-title {
  font-size: 36px;
  font-weight: 900;
  color: white;
  margin-bottom: 16px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.cta-subtitle {
  font-size: 20px;
  color: #f8fafc;
  margin-bottom: 32px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.upload-container {
  max-width: 800px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #3b82f6;
  text-decoration: none;
  margin-bottom: 24px;
  transition: all 0.2s ease;
}

.back-btn:hover {
  color: #1d4ed8;
}

.back-arrow {
  transition: transform 0.2s ease;
}

.back-btn:hover .back-arrow {
  transform: translateX(-4px);
}

.page-header {
  text-align: center;
  margin-bottom: 48px;
}

.page-title {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 16px;
}

.page-subtitle {
  font-size: 18px;
  color: #374151;
}

/* Step Indicator */
.step-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 48px;
  gap: 16px;
}

.step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.step-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #e5e7eb;
  color: #6b7280;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
}

.step-item.active .step-circle,
.step-item.completed .step-circle {
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  color: white;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.step-check {
  display: none;
}

.step-item.completed .step-number {
  display: none;
}

.step-item.completed .step-check {
  display: block;
}

.step-label {
  font-size: 14px;
  font-weight: 500;
  color: #9ca3af;
  transition: color 0.3s ease;
}

.step-item.active .step-label,
.step-item.completed .step-label {
  color: #3b82f6;
}

.step-line {
  width: 64px;
  height: 2px;
  background: #e5e7eb;
  transition: background 0.3s ease;
}

.step-line.completed {
  background: linear-gradient(90deg, #3b82f6, #1d4ed8);
}

/* Form Styles */
.upload-form {
  position: relative;
}

.form-step {
  display: none !important;
  animation: fadeIn 0.5s ease;
}

.form-step.active {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-label {
  font-weight: 600;
  color: #374151;
  margin-bottom: 8px;
  font-size: 14px;
}

.form-helper-text {
  font-size: 12px;
  color: #6b7280;
  font-style: italic;
  margin-top: 4px;
  line-height: 1.4;
}

.submit-notice {
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 20px;
  text-align: center;
  width: 100%;
}

.submit-notice p {
  margin: 0;
  color: #1e40af;
  font-size: 14px;
  line-height: 1.5;
}

.submit-notice strong {
  color: #1d4ed8;
}

.global-corrections-notice {
  background: #4a5568; /* Dark grey background */
  border: 1px solid #374151;
  border-radius: 12px;
  padding: 16px;
  margin-top: 16px;
  margin-bottom: 32px;
  text-align: center;
}

.global-corrections-notice p {
  margin: 0;
  color: white; /* White text */
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
}

.global-corrections-notice strong {
  color: white; /* White text for bold parts */
}

.form-input {
  padding: 12px 16px;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  font-size: 16px;
  transition: all 0.2s ease;
  background: white;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.form-input:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-input:hover {
  border-color: #d1d5db;
}

/* Dynamic Fields */
.dynamic-section {
  grid-column: 1 / -1;
  padding: 24px;
  background: rgba(59, 130, 246, 0.05);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 12px;
  margin-top: 16px;
}

.dynamic-section.proposal {
  background: rgba(59, 130, 246, 0.05);
  border-color: rgba(59, 130, 246, 0.2);
}

.dynamic-section.dissertation {
  background: rgba(99, 102, 241, 0.05);
  border-color: rgba(99, 102, 241, 0.2);
}

.dynamic-section.assignment {
  background: rgba(16, 185, 129, 0.05);
  border-color: rgba(16, 185, 129, 0.2);
}

.dynamic-section h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 16px;
  color: #1f2937;
}

.dynamic-section .form-grid {
  margin-top: 16px;
}

/* File Upload */
.file-upload-section {
  text-align: center;
  min-height: 300px;
  padding: 20px;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* Ensure Step 2 file upload area is always visible when step is active */
.form-step.active .file-upload-section,
.form-step.active .file-upload-area,
.form-step.active .file-upload-label {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.file-upload-label {
  cursor: pointer !important;
  margin: 0 !important;
  display: inline-block !important;
}

.file-upload-area {
  border: 2px dashed #d1d5db;
  border-radius: 16px;
  padding: 48px 24px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.05), rgba(99, 102, 241, 0.05));
  transition: all 0.3s ease;
  cursor: pointer;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

#step2.active .file-upload-area,
#step2.form-step.active .file-upload-area {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

#step2.active .upload-icon,
#step2.active .upload-text,
#step2.active .file-upload-label {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.file-upload-area:hover {
  border-color: #3b82f6;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(99, 102, 241, 0.1));
}

.upload-icon {
  font-size: 64px;
  margin-bottom: 16px;
  opacity: 0.7;
}

.upload-text {
  font-size: 18px;
  color: #6b7280;
  margin-bottom: 24px;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

/* File List */
.file-list {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  visibility: visible !important;
  opacity: 1 !important;
}

#step2.active .file-list {
  display: flex !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.file-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  background: rgba(249, 250, 251, 0.8);
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  transition: all 0.2s ease;
}

.file-item:hover {
  background: rgba(243, 244, 246, 0.8);
}

.file-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.file-icon {
  font-size: 20px;
  color: #3b82f6;
}

.file-name {
  font-weight: 500;
  color: #374151;
}

.file-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.progress-bar {
  width: 96px;
  height: 4px;
  background: #e5e7eb;
  border-radius: 2px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #3b82f6, #1d4ed8);
  transition: width 0.3s ease;
}

.remove-file {
  background: none;
  border: none;
  color: #ef4444;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  font-weight: 500;
  transition: all 0.2s ease;
}

.remove-file:hover {
  background: rgba(239, 68, 68, 0.1);
  color: #dc2626;
}

/* Review Section */
.review-title {
  font-size: 24px;
  font-weight: 600;
  color: #111827;
  text-align: center;
  margin-bottom: 24px;
}

.review-content {
  background: linear-gradient(135deg, rgba(249, 250, 251, 0.8), rgba(239, 246, 255, 0.8));
  padding: 32px;
  border-radius: 16px;
  border: 1px solid rgba(229, 231, 235, 0.5);
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.review-item {
  background: white;
  padding: 16px;
  border-radius: 12px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.review-label {
  font-weight: 600;
  color: #374151;
  font-size: 14px;
  margin-bottom: 4px;
}

.review-value {
  color: #111827;
  font-weight: 500;
}

.review-files {
  grid-column: 1 / -1;
  background: white;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.review-files h4 {
  font-weight: 600;
  color: #374151;
  margin-bottom: 12px;
}

.review-file-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.review-file-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px;
  background: rgba(249, 250, 251, 0.8);
  border-radius: 8px;
  font-size: 14px;
  color: #6b7280;
}

/* Form Navigation */
.form-navigation {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid #e5e7eb;
}

.nav-spacer {
  flex: 1;
}

.submit-buttons {
  display: flex;
  gap: 16px;
}

.submit-loader {
  display: flex;
  align-items: center;
  gap: 8px;
}

.spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top: 2px solid white;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal.active {
  display: flex;
}

.modal-content {
  background: white;
  border-radius: 16px;
  padding: 32px;
  max-width: 500px;
  width: 100%;
  text-align: center;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  animation: fadeIn 0.3s ease;
}

.modal-large {
  max-width: 800px;
  max-height: 80vh;
  overflow-y: auto;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e5e7eb;
}

.modal-header h3 {
  font-size: 20px;
  font-weight: 600;
  color: #111827;
}

.modal-close {
  background: none;
  border: none;
  font-size: 24px;
  color: #9ca3af;
  cursor: pointer;
  padding: 4px;
  border-radius: 4px;
  transition: color 0.2s ease;
}

.modal-close:hover {
  color: #374151;
}

.success-icon {
  font-size: 64px;
  margin-bottom: 16px;
}

.modal h3 {
  font-size: 24px;
  font-weight: 600;
  color: #111827;
  margin-bottom: 16px;
}

.modal p {
  color: #6b7280;
  margin-bottom: 24px;
  line-height: 1.6;
}

.modal-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Admin Styles */
.admin-body {
  background: linear-gradient(135deg, #111827, #1f2937, #111827);
  min-height: 100vh;
}

/* Removed admin-header overrides to use consistent navbar styling across all pages */

.admin-main {
  padding: 80px 0 40px 0; /* Increased top padding to avoid header overlap */
  min-height: calc(100vh - 64px);
}

.admin-header-section {
  margin-bottom: 40px;
  padding-top: 20px; /* Additional padding for better spacing */
}

.admin-title {
  font-size: 2.5rem;
  font-weight: bold;
  background: linear-gradient(135deg, #ffffff, #d1d5db);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}

.admin-subtitle {
  color: #9ca3af;
  font-size: 18px;
}

/* Stats Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}

.stat-card {
  background: linear-gradient(135deg, rgba(55, 65, 81, 0.8), rgba(75, 85, 99, 0.6));
  backdrop-filter: blur(8px);
  border: 1px solid rgba(75, 85, 99, 0.3);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: all 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.stat-new {
  border-color: rgba(156, 163, 175, 0.3);
}

.stat-progress {
  border-color: rgba(59, 130, 246, 0.3);
}

.stat-completed {
  border-color: rgba(16, 185, 129, 0.3);
}

.stat-total {
  border-color: rgba(6, 182, 212, 0.3);
}

.stat-icon {
  font-size: 32px;
  padding: 12px;
  background: rgba(55, 65, 81, 0.8);
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.stat-content {
  flex: 1;
}

.stat-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #9ca3af;
  margin-bottom: 4px;
}

.stat-value {
  font-size: 32px;
  font-weight: bold;
  color: white;
}

/* Filters */
.filters-section {
  background: linear-gradient(135deg, rgba(55, 65, 81, 0.8), rgba(75, 85, 99, 0.6));
  backdrop-filter: blur(8px);
  border: 1px solid rgba(75, 85, 99, 0.3);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 32px;
}

.filters-section h3 {
  color: white;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 16px;
}

.filters-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.filter-group {
  position: relative;
}

.filter-input {
  width: 100%;
  padding: 12px 16px;
  background: rgba(31, 41, 55, 0.8);
  border: 2px solid rgba(75, 85, 99, 0.3);
  border-radius: 12px;
  color: white;
  font-size: 14px;
  transition: all 0.2s ease;
}

.filter-input:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.filter-input::placeholder {
  color: #9ca3af;
}

.filter-input option {
  background: #1f2937;
  color: white;
}

/* Table */
.table-section {
  background: linear-gradient(135deg, rgba(55, 65, 81, 0.8), rgba(75, 85, 99, 0.6));
  backdrop-filter: blur(8px);
  border: 1px solid rgba(75, 85, 99, 0.3);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.table-container {
  position: relative;
  min-height: 400px;
  overflow-x: auto;
  overflow-y: visible;
  -webkit-overflow-scrolling: touch;
}

.loading-spinner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 400px;
  color: #9ca3af;
}

.loading-spinner .spinner {
  width: 32px;
  height: 32px;
  border: 3px solid rgba(156, 163, 175, 0.3);
  border-top: 3px solid #3b82f6;
  border-radius: 50%;
  margin-bottom: 16px;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
}

.data-table th {
  background: linear-gradient(135deg, rgba(31, 41, 55, 0.9), rgba(55, 65, 81, 0.8));
  color: #d1d5db;
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 16px;
  text-align: left;
  border-bottom: 1px solid rgba(75, 85, 99, 0.3);
}

.data-table td {
  padding: 16px;
  border-bottom: 1px solid rgba(75, 85, 99, 0.2);
  color: #d1d5db;
  font-size: 14px;
}

.data-table tr:hover {
  background: rgba(75, 85, 99, 0.3);
}

.student-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.student-name {
  font-weight: 600;
  color: white;
}

.student-id {
  color: #9ca3af;
  font-size: 12px;
}

.student-email {
  color: #60a5fa;
  font-size: 12px;
}

.student-contact {
  color: #9ca3af;
  font-size: 12px;
}

.project-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.project-title {
  font-weight: 600;
  color: white;
}

.project-school {
  color: #9ca3af;
  font-size: 12px;
}

.project-field {
  color: #9ca3af;
  font-size: 12px;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.status-new {
  background: rgba(156, 163, 175, 0.2);
  color: #d1d5db;
}

.status-progress {
  background: rgba(59, 130, 246, 0.2);
  color: #93c5fd;
}

.status-completed {
  background: rgba(16, 185, 129, 0.2);
  color: #6ee7b7;
}

.type-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

.type-proposal {
  background: rgba(147, 51, 234, 0.2);
  color: #c4b5fd;
}

.type-dissertation {
  background: rgba(99, 102, 241, 0.2);
  color: #a5b4fc;
}

.type-assignment {
  background: rgba(245, 158, 11, 0.2);
  color: #fcd34d;
}

.file-count {
  color: #9ca3af;
  font-weight: 500;
}

.submitted-date {
  color: #9ca3af;
  font-weight: 500;
  font-size: 12px;
}

.action-btn {
  background: none;
  border: none;
  color: #60a5fa;
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.action-btn:hover {
  color: #93c5fd;
  background: rgba(59, 130, 246, 0.1);
}

/* Modal Details */
.modal-body {
  text-align: left;
}

.details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 16px;
}

.detail-item {
  background: rgba(249, 250, 251, 0.8);
  padding: 16px;
  border-radius: 12px;
  border: 1px solid rgba(229, 231, 235, 0.5);
}

.detail-label {
  font-weight: 600;
  color: #374151;
  font-size: 14px;
  margin-bottom: 4px;
}

.detail-value {
  color: #111827;
  font-weight: 500;
}

.detail-files {
  grid-column: 1 / -1;
}

.detail-files h4 {
  font-weight: 600;
  color: #374151;
  margin-bottom: 12px;
}

.file-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.file-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: rgba(59, 130, 246, 0.1);
  border-radius: 8px;
  color: #3b82f6;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.2s ease;
}

.file-link:hover {
  background: rgba(59, 130, 246, 0.2);
  color: #1d4ed8;
}

/* Terms & Conditions Styles */
.terms-main {
  min-height: 100vh;
  padding-top: 120px;
  padding-bottom: 60px;
}

/* Terms Page Specific Styling */
.terms-title-black {
  background: none !important;
  -webkit-background-clip: unset !important;
  background-clip: unset !important;
  -webkit-text-fill-color: #ffffff !important;
  color: #ffffff !important;
  font-weight: 700;
}

.terms-subtitle-highlighted {
  background: #4a5568; /* Dark grey background - same as pricing page */
  color: white !important;
  padding: 16px 24px;
  border-radius: 12px;
  display: inline-block;
  margin: 0 auto;
  border: 1px solid #374151;
  font-weight: 500;
}

.terms-container {
  max-width: 800px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.terms-section {
  margin-bottom: 40px;
}

.terms-section-title {
  font-size: 24px;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-number {
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 600;
}

.terms-subsection {
  margin-bottom: 20px;
  padding-left: 20px;
}

.terms-subsection-title {
  font-size: 18px;
  font-weight: 600;
  color: #374151;
  margin-bottom: 10px;
}

.terms-text {
  font-size: 16px;
  line-height: 1.7;
  color: #4b5563;
  margin-bottom: 15px;
}

.terms-list {
  list-style-type: disc;
  margin-left: 20px;
  margin-bottom: 15px;
}

.terms-list li {
  font-size: 16px;
  line-height: 1.7;
  color: #4b5563;
  margin-bottom: 8px;
}

.terms-footer {
  margin-top: 40px;
  padding-top: 30px;
  border-top: 2px solid #e5e7eb;
  text-align: center;
}

.terms-effective-date {
  font-size: 16px;
  font-weight: 600;
  color: #374151;
  margin-bottom: 10px;
}

.terms-contact {
  font-size: 14px;
  color: #6b7280;
}

/* Terms Agreement Checkbox */
.terms-agreement {
  margin: 20px 0;
  padding: 20px;
  background: rgba(59, 130, 246, 0.05);
  border-radius: 12px;
  border: 1px solid rgba(59, 130, 246, 0.2);
}

.terms-checkbox-label {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  font-size: 16px;
  color: #374151;
  user-select: none;
}

.terms-checkbox {
  width: 18px;
  height: 18px;
  margin: 0;
  cursor: pointer;
  flex-shrink: 0;
}

.terms-link {
  color: #3b82f6;
  text-decoration: underline;
  cursor: pointer;
  transition: color 0.3s ease;
}

.terms-link:hover {
  color: #1d4ed8;
}

/* Terms Modal */
.terms-modal .modal-content {
  max-width: 900px;
  max-height: 90vh;
  width: 90%;
}

.terms-modal-content {
  display: flex;
  flex-direction: column;
}

.terms-modal-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  max-height: 60vh;
}

.terms-loading {
  text-align: center;
  padding: 40px;
}

.terms-loading .spinner {
  width: 40px;
  height: 40px;
  margin: 0 auto 20px;
}

/* Progress Modal */
.progress-modal .modal-content {
  max-width: 500px;
  text-align: center;
}

.progress-modal-content {
  padding: 40px;
}

.progress-header h3 {
  margin-bottom: 8px;
  color: #1f2937;
}

.progress-subtitle {
  color: #6b7280;
  margin-bottom: 30px;
}

.progress-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.progress-circle {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.progress-ring {
  transform: rotate(-90deg);
}

.progress-ring-fill {
  transition: stroke-dashoffset 0.5s ease;
}

.progress-percentage {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 24px;
  font-weight: 700;
  color: #3b82f6;
}

.progress-steps {
  display: flex;
  flex-direction: column;
  gap: 15px;
  width: 100%;
}

.progress-step {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: #f9fafb;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.progress-step.active {
  background: rgba(59, 130, 246, 0.1);
  border-left: 4px solid #3b82f6;
}

.progress-step.completed {
  background: rgba(34, 197, 94, 0.1);
  border-left: 4px solid #22c55e;
}

.progress-step.completed .step-icon {
  content: '✅';
}

.step-icon {
  font-size: 18px;
  width: 20px;
  text-align: center;
}

.step-text {
  font-size: 14px;
  color: #374151;
  font-weight: 500;
}

.progress-step.active .step-text {
  color: #3b82f6;
  font-weight: 600;
}

.progress-step.completed .step-text {
  color: #22c55e;
  font-weight: 600;
}

.progress-step.completed .step-icon::before {
  content: '✅';
}

/* Responsive Design */
@media (max-width: 768px) {
  /* Remove all mobile-specific backgrounds - use same as desktop */
  
  /* MOBILE: Wider layout with better space utilization */
  
  /* Container: Wider padding for better space usage */
  .container {
    padding: 0 15px; /* Reduced padding for more content space */
    max-width: 100%; /* Use full available width */
  }

  /* Upload and content containers: Much wider on mobile */
  .upload-container {
    max-width: 95% !important; /* Use 95% of screen width */
    margin: 0 auto;
    padding: 20px !important; /* Reduced padding for more content space */
  }

  /* Admin table section: Wider for better data display */
  .table-section {
    max-width: 95% !important; /* Use 95% of screen width */
    padding: 15px !important; /* Reduced padding */
    margin: 0 auto;
  }

  /* Hero section: Better mobile layout */
  .hero-title {
    font-size: 2.5rem; /* Slightly smaller but still prominent */
    width: 100%; /* Full width */
    text-align: center;
    padding: 0 10px; /* Minimal padding */
  }

  .hero-subtitle {
    font-size: 1.1rem; /* Proportional sizing */
    max-width: 95%; /* Use more width */
    text-align: center;
    margin: 0 auto;
    padding: 0 10px; /* Minimal padding */
  }

  /* Content sections: Wider and more spacious */
  .content-section {
    padding: 20px 15px !important; /* Reduced padding */
    max-width: 95% !important;
    margin: 0 auto;
  }

  /* Form elements: Better width utilization */
  .form-group {
    margin-bottom: 15px;
  }

  .form-input,
  .form-textarea,
  .form-select {
    width: 100% !important;
    padding: 12px !important;
    font-size: 16px; /* Prevents zoom on iOS */
  }

  /* Ensure normal scrolling - no height restrictions */
  .hero-section,
  .main {
    min-height: initial; /* Allow natural height */
    height: auto; /* Remove any fixed heights */
  }

  /* Navigation Mobile Fixes */
  .nav-desktop {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
    z-index: 1001;
    background: rgba(255, 255, 255, 0.3); /* More opaque background */
    border: 2px solid rgba(255, 255, 255, 0.6); /* Stronger border */
    border-radius: 8px;
    padding: 8px;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2); /* Add shadow for visibility */
  }

  .hamburger {
    width: 20px;
    height: 2px;
    background: #1f2937; /* Dark color for better contrast */
    margin: 2px 0;
    transition: 0.3s;
    display: block;
    box-shadow: 0 1px 2px rgba(255, 255, 255, 0.5); /* Light shadow for contrast */
  }

  .nav-mobile {
    background: rgba(255, 255, 255, 0.95);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    width: 100% !important; /* Full width mobile menu */
    max-width: none !important;
  }

  .nav-link-mobile {
    color: #1e1b4b !important;
    padding: 16px 24px !important;
    font-weight: 500 !important;
  }

  .nav-link-mobile.active {
    background: rgba(79, 70, 229, 0.1) !important;
    color: #4f46e5 !important;
  }

  /* Tables: Better mobile display */
  .table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  table {
    min-width: 100%;
    font-size: 14px !important;
  }

  th, td {
    padding: 8px 12px !important;
    white-space: nowrap;
  }

  /* Cards and content: Better spacing */
  .card, .content-card {
    margin: 10px 0 !important;
    padding: 15px !important;
    border-radius: 8px;
  }

  /* Buttons: Full width where appropriate */
  .btn-primary, .btn-secondary {
    padding: 12px 20px;
    font-size: 16px;
    min-height: 44px; /* Touch-friendly */
  }

  /* Form steps: Better mobile layout */
  .form-step {
    padding: 15px !important;
  }

  .step-content {
    max-width: 100% !important;
  }

  /* Typography Mobile Fixes */
  .hero-title {
    font-size: 2.5rem;
    width: 100% !important; /* Full width for hero title */
    max-width: none !important; /* Remove width restrictions */
  }

  .hero-subtitle {
    width: 100% !important; /* Full width for hero subtitle */
    max-width: none !important; /* Remove width restrictions */
    font-size: 1.1rem; 
    color: #f8fafc;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  }

  /* Pricing Page Mobile Improvements */
  .pricing-section {
    padding: 40px 0;
    /* Disable complex transforms on mobile for better performance */
    -webkit-transform: none;
    transform: none;
    will-change: auto;
  }

  .pricing-grid {
    grid-template-columns: 1fr 1fr; /* Two columns side by side */
    gap: 16px; /* Appropriate spacing between cards */
    margin-top: 32px;
    max-width: 100%;
    padding: 0 8px; /* Small padding to prevent edge touching */
    /* Optimize mobile grid performance */
    will-change: auto;
  }

  .pricing-card {
    padding: 20px; /* Slightly reduced padding for mobile */
    margin: 0;
    min-height: 0; /* Remove min-height for better performance */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    /* Reduce mobile card complexity for UC Browser */
    backdrop-filter: blur(8px); /* Reduce blur intensity */
    -webkit-backdrop-filter: blur(8px);
    transition: transform 0.2s ease; /* Faster, simpler transition */
    will-change: auto; /* Don't pre-optimize transforms on mobile */
    -webkit-transform: none;
    transform: none;
  }

  .pricing-card:hover {
    /* Simpler hover effect on mobile */
    transform: translateY(-2px);
    -webkit-transform: translateY(-2px);
  }

  .pricing-card.featured {
    transform: none; /* Remove desktop transform on mobile */
    margin: 0;
    border: 2px solid #3b82f6; /* Maintain featured styling */
  }

  .pricing-card.featured::before {
    font-size: 12px; /* Smaller badge text on mobile */
    padding: 4px 12px;
    top: -10px;
  }

  .pricing-header {
    margin-bottom: 16px;
    padding-bottom: 16px;
  }

  .service-title {
    font-size: 18px; /* Slightly smaller title for mobile */
    line-height: 1.3;
    margin-bottom: 12px;
  }

  .price {
    font-size: 36px; /* Proportionally smaller price on mobile */
    margin-bottom: 6px;
  }

  .price-note {
    font-size: 12px; /* Smaller note text */
  }

  .service-description {
    font-size: 14px; /* Readable description text */
    line-height: 1.4;
  }

  .section-title {
    font-size: 24px;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  }

  .section-subtitle {
    font-size: 16px;
    color: #f8fafc;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  }

  .cta-title {
    font-size: 28px;
  }

  .cta-subtitle {
    font-size: 16px;
  }

  /* Payment Options Mobile */
  .payment-section {
    padding: 40px 0;
  }

  .payment-options {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 32px;
  }

  .payment-card {
    padding: 24px;
  }

  /* CTA Section Mobile */
  .cta-section {
    padding: 40px 0;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  /* Admin Table Mobile Scrolling Fix */
  .table-section {
    max-width: 95% !important;
    padding: 15px !important;
    margin: 0 auto;
  }

  .table-container {
    overflow-x: auto !important;
    overflow-y: visible !important;
    -webkit-overflow-scrolling: touch !important;
    width: 100%;
    max-width: 100%;
  }

  .data-table {
    min-width: 800px; /* Ensures table is wide enough to require horizontal scroll */
    width: auto;
  }

  .data-table th,
  .data-table td {
    white-space: nowrap;
    min-width: 120px;
    padding: 8px 12px;
  }

  /* Ensure mobile table headers are visible */
  .data-table th {
    position: sticky;
    top: 0;
    background: rgba(31, 41, 55, 0.95);
    z-index: 10;
  }

  .btn {
    width: 100%;
    max-width: 280px;
    padding: 14px 24px;
    font-size: 16px;
    min-height: 44px; /* Better touch target */
    touch-action: manipulation; /* Prevent double-tap zoom */
  }

  /* MOBILE: Keep desktop behavior with minimal responsive adjustments */
  
  /* Only essential mobile typography adjustments */
  .form-input,
  .form-label {
    font-size: 16px; /* Prevents zoom on iOS */
  }

  /* Keep desktop form styling - minimal mobile changes */
  .form-input {
    font-size: 16px; /* Prevents zoom on iOS */
  }

  .form-input:focus {
    outline: none;
  }

  /* End of essential mobile fixes - everything else uses desktop styling */

}

/* Additional mobile breakpoints for pricing cards */
@media (max-width: 480px) {
  /* Very small screens - optimize further */
  .pricing-grid {
    gap: 12px !important; /* Tighter gap on very small screens */
    padding: 0 4px !important;
  }

  .pricing-card {
    padding: 16px !important; /* More compact padding */
  }

  .service-title {
    font-size: 16px !important; /* Smaller title for very small screens */
  }

  .price {
    font-size: 32px !important; /* Smaller price for very small screens */
  }

  .service-description {
    font-size: 13px !important; /* Smaller description */
  }

  .corrections-note {
    font-size: 11px !important;
    padding: 6px 10px !important;
    margin-top: 10px !important;
  }

  .submit-notice {
    padding: 12px !important;
    margin-bottom: 16px !important;
  }

  .submit-notice p {
    font-size: 13px !important;
  }

  .global-corrections-notice {
    padding: 12px !important;
    margin-top: 12px !important;
    margin-bottom: 24px !important;
  }

  .global-corrections-notice p {
    font-size: 13px !important;
  }

  .form-helper-text {
    font-size: 11px !important;
  }

  /* Admin page mobile adjustments */
  .admin-main {
    padding: 100px 0 40px 0 !important; /* Increased top padding for mobile */
  }

  .admin-header-section {
    padding-top: 30px !important; /* More space on mobile */
  }

  .admin-title {
    font-size: 2rem !important; /* Slightly smaller on mobile */
    text-align: center;
  }

  .admin-subtitle {
    text-align: center;
    font-size: 16px !important;
  }
}

@media (max-width: 360px) {
  /* Extra small screens like older phones */
  .pricing-grid {
    gap: 10px !important;
    padding: 0 2px !important;
  }

  .pricing-card {
    padding: 14px !important;
  }

  .service-title {
    font-size: 15px !important;
  }

  .price {
    font-size: 28px !important;
  }

  .price-note {
    font-size: 11px !important;
  }

  .service-description {
    font-size: 12px !important;
  }
}

/* UC Browser and performance-focused mobile optimizations */
@media screen and (max-width: 768px) {
  /* Disable expensive effects for better UC Browser performance */
  .pricing-card {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background: rgba(255, 255, 255, 0.98) !important; /* More opaque background */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important; /* Simpler shadow */
  }

  .pricing-card:hover {
    transform: none !important; /* Disable hover transforms */
    -webkit-transform: none !important;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2) !important; /* Simple shadow change */
  }

  /* Optimize background for UC Browser */
  body {
    background-attachment: scroll !important; /* Better UC Browser compatibility */
  }

  /* Reduce animation complexity */
  .pricing-card,
  .payment-card {
    transition: box-shadow 0.2s ease !important; /* Faster, simpler transitions */
  }
}

/* Performance optimization for lower-end mobile devices */
@media (max-width: 768px) and (max-resolution: 2dppx) {
  /* Further reduce animations on lower resolution/slower devices */
  .floating-bubble {
    animation-duration: 20s !important;
  }
  
  .geometric-shape,
  .gradient-orb {
    animation: none !important; /* Disable complex animations */
    opacity: 0.5 !important; /* Just show static elements */
  }
}

/* High performance mobile devices can handle more animations */
@media (max-width: 768px) and (min-resolution: 3dppx) {
  /* Keep smoother animations on high-end devices */
  .floating-bubble {
    animation-duration: 8s !important;
  }
}

@media (max-width: 480px) {
  /* Enhanced mobile layout for small screens */
  
  /* Even wider containers on small screens */
  .container {
    padding: 0 10px !important; /* Minimal padding for maximum space */
  }

  .upload-container,
  .table-section {
    max-width: 98% !important; /* Nearly full width */
    padding: 15px !important;
    margin: 5px auto;
  }

  /* Typography optimized for small screens */
  .hero-title {
    font-size: 2rem;
    line-height: 1.2;
    padding: 0 5px;
  }

  .section-title {
    font-size: 1.75rem;
    padding: 0 5px;
  }

  /* Tables: Better utilization on tiny screens */
  .table-responsive {
    overflow-x: auto;
    margin: 0 -10px; /* Extend to screen edges */
    padding: 0 10px;
  }

  /* Forms: Full width utilization */
  .form-input,
  .form-textarea,
  .form-select {
    padding: 10px !important;
    border-radius: 6px;
    width: 100% !important;
  }

  /* Content sections: Edge-to-edge on mobile */
  .content-section {
    padding: 15px 10px !important;
    margin: 0 auto;
    max-width: 98% !important;
  }

  /* Cards: Better mobile spacing */
  .card, .content-card {
    margin: 8px 0 !important;
    padding: 12px !important;
  }
}

/* Print Styles */
@media print {
  .background-container,
  .header,
  .mobile-menu-btn,
  .nav-mobile,
  .btn,
  .form-navigation,
  .modal {
    display: none !important;
  }

  body {
    background: white !important;
    color: black !important;
  }

  .upload-container,
  .table-section {
    background: white !important;
    box-shadow: none !important;
    border: 1px solid #ccc !important;
  }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .floating-bubble,
  .geometric-shape,
  .gradient-orb {
    animation: none !important;
  }
}

/* High contrast mode */
@media (prefers-contrast: high) {
  .btn-primary {
    background: #000;
    color: #fff;
    border: 2px solid #fff;
  }

  .btn-secondary {
    background: #fff;
    color: #000;
    border: 2px solid #000;
  }

  .form-input {
    border: 2px solid #000;
  }

  .form-input:focus {
    border: 3px solid #000;
    box-shadow: none;
  }
  
  /* Mobile Terms & Conditions Styles */
  .terms-container {
    padding: 20px;
    margin: 20px;
  }
  
  .terms-section-title {
    font-size: 20px;
  }
  
  .terms-modal .modal-content {
    width: 95%;
    margin: 20px;
  }
  
  .progress-modal .modal-content {
    width: 95%;
    margin: 20px;
  }
  
  .progress-modal-content {
    padding: 20px;
  }
}

/* Admin Login Form Styles */
.login-card {
  background: rgba(255, 255, 255, 0.95);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-radius: 20px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
  padding: 0;
  max-width: 420px;
  margin: 120px auto 40px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  overflow: hidden;
  position: relative;
}

.card-header {
  text-align: center;
  padding: 40px 32px 32px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.05), rgba(99, 102, 241, 0.05));
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.lock-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  color: white;
  box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3);
}

.lock-icon svg {
  width: 32px;
  height: 32px;
}

.card-title {
  font-size: 28px;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 8px;
  background: linear-gradient(135deg, #1f2937, #4b5563);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.card-description {
  color: #6b7280;
  font-size: 15px;
  line-height: 1.5;
  margin: 0;
}

.card-content {
  padding: 32px;
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #9ca3af;
  z-index: 2;
  pointer-events: none;
}

.input-wrapper .form-input {
  padding-left: 48px;
  padding-right: 48px;
  width: 100%;
  height: 52px;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  font-size: 16px;
  transition: all 0.2s ease;
  background: white;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.input-wrapper .form-input:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

.input-wrapper .form-input:focus + .input-icon,
.input-wrapper:focus-within .input-icon {
  color: #3b82f6;
}

.password-toggle {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #9ca3af;
  cursor: pointer;
  padding: 4px;
  border-radius: 6px;
  transition: all 0.2s ease;
  z-index: 2;
}

.password-toggle:hover {
  color: #3b82f6;
  background: rgba(59, 130, 246, 0.1);
}

.login-error {
  background: #fef2f2;
  color: #dc2626;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  border: 1px solid #fecaca;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 8px 0;
}

.login-button {
  width: 100%;
  height: 52px;
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
  margin-top: 8px;
}

.login-button:hover {
  background: linear-gradient(135deg, #1d4ed8, #1e40af);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(59, 130, 246, 0.4);
}

.login-button:active {
  transform: translateY(0);
}

.login-button:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.login-spinner {
  display: flex;
  align-items: center;
  gap: 8px;
}

.security-notice {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  margin-top: 24px;
  padding: 16px;
  background: rgba(59, 130, 246, 0.05);
  border-radius: 8px;
  color: #4b5563;
  font-size: 13px;
  border: 1px solid rgba(59, 130, 246, 0.1);
}

.security-notice svg {
  color: #3b82f6;
  flex-shrink: 0;
}

/* Admin page specific styling */
.admin-page #adminLoginOverlay {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 64px);
  padding: 20px;
  margin-top: 64px;
}

/* Mobile responsive adjustments for login form */
@media (max-width: 768px) {
  .login-card {
    max-width: 90%;
    margin: 80px auto 20px;
  }
  
  .card-header {
    padding: 32px 24px 24px;
  }
  
  .card-content {
    padding: 24px;
  }
  
  .lock-icon {
    width: 56px;
    height: 56px;
  }
  
  .lock-icon svg {
    width: 28px;
    height: 28px;
  }
  
  .card-title {
    font-size: 24px;
  }
  
  .input-wrapper .form-input {
    height: 48px;
    font-size: 16px; /* Prevents zoom on iOS */
  }
  
  .login-button {
    height: 48px;
  }
}

@media (max-width: 480px) {
  .login-card {
    max-width: 95%;
    margin: 60px auto 20px;
  }
  
  .card-header {
    padding: 24px 20px 20px;
  }
  
  .card-content {
    padding: 20px;
  }
  
  .card-title {
    font-size: 22px;
  }
  
  .card-description {
    font-size: 14px;
  }
}
