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

/* ===== RESET & BASE STYLES ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  min-height: 100vh;
  color: #333;
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
}

/* ===== HEADER STYLES ===== */
header {
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.header-container {
  width: 100%;
  max-width: 1400px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
}

.logo-container {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
}

.logo-img {
  height: 50px;
  width: auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

nav {
  flex: 0 0 auto;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 1.5rem;
}

nav a {
  color: #475569;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  padding: 12px 20px;
  border-radius: 50px;
  transition: all 0.3s ease;
  text-transform: capitalize;
  letter-spacing: 0.5px;
  border: 2px solid transparent;
}

nav a:hover {
  color: #667eea;
  background: rgba(102, 126, 234, 0.1);
  transform: translateY(-2px);
  border-color: rgba(102, 126, 234, 0.2);
}

nav a.admin-link {
  background: linear-gradient(135deg, #ff6b6b, #ee5a24);
  color: white !important;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(238, 90, 36, 0.3);
  border: 2px solid rgba(255, 255, 255, 0.2);
}

nav a.admin-link:hover {
  background: linear-gradient(135deg, #ee5a24, #ff6b6b);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(238, 90, 36, 0.4);
  color: white !important;
  border-color: rgba(255, 255, 255, 0.3);
}

/* ===== MAIN CONTAINER ===== */
.container {
  max-width: 1400px;
  margin: 120px auto 60px;
  padding: 2rem;
  box-sizing: border-box;
}

/* ===== WELCOME SECTION ===== */
.welcome-section {
  text-align: center;
  margin-bottom: 2rem;
  padding: 2rem 1.5rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.welcome-title {
  font-family: 'Poppins', sans-serif;
  font-size: 3rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #667eea, #764ba2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -1px;
}

.welcome-subtitle {
  font-size: 1.25rem;
  color: #64748b;
  font-weight: 400;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ===== CARD STYLES ===== */
.card-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  padding: 0;
  max-width: 1200px;
  margin: 0 auto;
}

.card {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  min-height: 320px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  border: 2px solid rgba(102, 126, 234, 0.1);
  position: relative;
  overflow: hidden;
  user-select: none;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.card:hover::before {
  transform: scaleX(1);
}

.card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
  background: rgba(255, 255, 255, 1);
  border-color: rgba(102, 126, 234, 0.3);
}

.card:active {
  transform: translateY(-8px) scale(0.98);
  transition: all 0.1s ease;
}

.card-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, #667eea, #764ba2);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: white;
  box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
  transition: all 0.3s ease;
}

.card:hover .card-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 15px 35px rgba(102, 126, 234, 0.5);
}

.card h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #2c3e50;
  letter-spacing: -0.5px;
}

.card p {
  font-size: 1rem;
  color: #64748b;
  font-weight: 400;
  line-height: 1.6;
  margin-bottom: 2rem;
  flex-grow: 1;
}

.card-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: white;
  background: linear-gradient(135deg, #667eea, #764ba2);
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 12px 24px;
  border-radius: 50px;
  margin-top: auto;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.card-action::after {
  content: '→';
  transition: transform 0.3s ease;
  font-size: 1.1rem;
}

.card:hover .card-action {
  background: linear-gradient(135deg, #764ba2, #667eea);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
  transform: translateY(-2px);
}

.card:hover .card-action::after {
  transform: translateX(4px);
}

/* ===== TOPPING ANIMATION ===== */
.topping {
  position: absolute;
  width: 8px;
  height: 4px;
  border-radius: 50%;
  opacity: 0.6;
  z-index: 1;
  animation: float 6s ease-in-out infinite;
  pointer-events: none;
}

@keyframes float {
  0%, 100% { 
    transform: translateY(0px) rotate(0deg); 
    opacity: 0.6;
  }
  50% { 
    transform: translateY(-15px) rotate(180deg); 
    opacity: 0.8;
  }
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1200px) {
  .container {
    padding: 1.5rem;
  }
  
  .card-container {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .header-container {
    padding: 0 1rem;
  }
  
  nav {
    gap: 1rem;
  }
  
  nav a {
    padding: 8px 12px;
    font-size: 13px;
  }
  
  .welcome-title {
    font-size: 2.5rem;
  }
  
  .welcome-subtitle {
    font-size: 1.1rem;
  }
  
  .welcome-section {
    padding: 2rem 1.5rem;
    margin-bottom: 2rem;
  }
  
  .card-container {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .card {
    padding: 2rem 1.5rem;
    min-height: 280px;
  }
  
  .card h2 {
    font-size: 1.5rem;
  }
  
  .card-icon {
    width: 70px;
    height: 70px;
    font-size: 28px;
  }
}

@media (max-width: 480px) {
  .header-container {
    flex-direction: column;
    height: auto;
    padding: 1rem;
  }
  
  header {
    height: auto;
    padding: 1rem 0;
  }
  
  .container {
    margin-top: 140px;
    padding: 1rem;
  }
  
  nav {
    margin-top: 1rem;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .welcome-title {
    font-size: 2rem;
  }
  
  .card {
    min-height: 260px;
    padding: 1.5rem;
  }
}

/* ===== SITE SUBMISSION PAGE STYLES ===== */
.site-submission-container {
  max-width: 1400px;
  margin: 120px auto 60px;
  padding: 2rem;
  box-sizing: border-box;
}

.title-container {
  text-align: center;
  margin-bottom: 3rem;
  padding: 2rem 1.5rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.title-container h1 {
  font-family: 'Poppins', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, #667eea, #764ba2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -1px;
}

.title-container h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: #64748b;
  margin: 0;
}

.split-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.form-section {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  border: 2px solid rgba(102, 126, 234, 0.1);
}

.score-form fieldset {
  border: 2px solid rgba(102, 126, 234, 0.2);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 2rem;
  background: rgba(102, 126, 234, 0.02);
}

.score-form legend {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  color: #667eea;
  padding: 0 1rem;
  background: white;
  border-radius: 8px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-bottom: 1rem;
}

.form-row:last-child {
  margin-bottom: 0;
}

.address-label {
  grid-column: 1 / -1;
}

.score-form label {
  display: flex;
  flex-direction: column;
  font-weight: 500;
  color: #475569;
  font-size: 0.9rem;
  gap: 0.5rem;
}

.score-form input,
.score-form select {
  padding: 0.75rem;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  background: white;
}

.score-form input:focus,
.score-form select:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-actions {
  text-align: center;
  margin-top: 2rem;
}

.btn-primary {
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
  border: none;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
  background: linear-gradient(135deg, #764ba2, #667eea);
}

.btn-primary:active {
  transform: translateY(0);
}

.preview-section {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  border: 2px solid rgba(102, 126, 234, 0.1);
}

.preview-container h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 1.5rem;
  text-align: center;
}

.pdf-preview {
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  min-height: 400px;
  background: #f8fafc;
  overflow: hidden;
}

.preview-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 400px;
  color: #64748b;
  font-style: italic;
  text-align: center;
}

.email-submission-form {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 2px solid rgba(102, 126, 234, 0.1);
}

.email-submission-form h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 1.5rem;
  text-align: center;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-weight: 500;
  color: #475569;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  background: white;
  font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.button-icon {
  font-size: 1.1rem;
}

/* Active navigation link */
nav a.active {
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white !important;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
  border: 2px solid rgba(255, 255, 255, 0.2);
}

nav a.active:hover {
  background: linear-gradient(135deg, #764ba2, #667eea);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
  color: white !important;
  border-color: rgba(255, 255, 255, 0.3);
}

/* Responsive Design for Site Submission */
@media (max-width: 1200px) {
  .split-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .site-submission-container {
    padding: 1.5rem;
  }
}

@media (max-width: 768px) {
  .title-container h1 {
    font-size: 2rem;
  }
  
  .title-container h2 {
    font-size: 1.2rem;
  }
  
  .form-section,
  .preview-section {
    padding: 1.5rem;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .site-submission-container {
    margin-top: 100px;
    padding: 1rem;
  }
}

@media (max-width: 480px) {
  .title-container {
    padding: 1.5rem 1rem;
  }
  
  .title-container h1 {
    font-size: 1.5rem;
  }
  
  .title-container h2 {
    font-size: 1rem;
  }
  
  .form-section,
  .preview-section {
    padding: 1rem;
  }
  
  .btn-primary {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
  }
} 