:root {
  --primary-blue: #2563eb;
  --primary-blue-hover: #1d4ed8;
  --secondary-cyan: #06b6d4;
  --glass-white: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(255, 255, 255, 0.4);
  --shadow-premium: 0 10px 40px -10px rgba(0, 0, 0, 0.15);
  
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
}

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

body {
  font-family: var(--font-body);
  color: #1e293b;
  overflow-x: hidden;
  background-color: #f8fafc;
}

/* Immersive Hero Wrapper */
.landing-hero {
  position: relative;
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url('../images/hero.png') center/cover no-repeat;
  padding: 0;
  margin: 0;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

/* Overlay for better readability */
.landing-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(15, 23, 42, 0.4) 100%);
  pointer-events: none;
}

/* Welcome Card - Glassmorphism */
.welcome-entrance {
  position: relative;
  width: 100%;
  max-width: 640px;
  background: var(--glass-white);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 3rem 2rem;
  border-radius: 2rem;
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-premium);
  text-align: center;
  animation: entranceFade 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  margin: 0 1.5rem;
}

@keyframes entranceFade {
  from { opacity: 0; transform: translateY(30px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* Branding & Text */
.logo-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.logo-icon {
  width: 64px;
  height: 64px;
  color: var(--primary-blue);
  background: white;
  padding: 1rem;
  border-radius: 1rem;
  box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.1);
}

.welcome-entrance h1 {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: #0f172a;
}

.welcome-entrance h1 span {
  color: var(--primary-blue);
}

.welcome-entrance > p {
  font-size: 0.95rem;
  color: #475569;
  margin: 1rem 0 1.5rem;
  line-height: 1.6;
}

/* Action Section */
.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2.25rem;
}

.btn-premium {
  padding: 1.25rem 2rem;
  border-radius: 1rem;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

/* Google Button Styling - PREMIUM VERSION */
.btn-google {
  background: var(--primary-blue);
  color: #fff;
  border: none;
  border-radius: 14px;
  box-shadow: 0 4px 18px -2px rgba(37, 99, 235, 0.45), 0 1px 3px rgba(37, 99, 235, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.18);
  position: relative;
  overflow: hidden;
  letter-spacing: -0.01em;
  font-size: 0.95rem;
  animation: btnIn 0.55s cubic-bezier(0.16, 1, 0.3, 1) 0.25s both;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease;
  width: 100%;
}

.btn-google::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.22) 50%, transparent 65%);
  transform: translateX(-110%);
  transition: transform 0.55s ease;
}

.btn-google:hover::before {
  transform: translateX(110%);
}

.btn-google:hover {
  background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
  transform: translateY(-3px) scale(1.015);
  box-shadow: 0 16px 36px -6px rgba(37, 99, 235, 0.55), 0 2px 6px rgba(37, 99, 235, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-google:active {
  transform: translateY(-1px) scale(0.985);
}

.google-icon {
  flex-shrink: 0;
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.15));
  animation: iconSpin 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 0.4s both;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.btn-google:hover .google-icon {
  transform: scale(1.2) rotate(12deg);
}

/* Make Google icon white for better visibility */
.google-icon path {
  fill: #ffffff;
}

.btn-label {
  animation: labelSlide 0.4s ease 0.45s both;
}

@keyframes btnIn {
  from { opacity: 0; transform: translateY(12px) scale(0.96); }
  to   { opacity: 1; transform: none; }
}

@keyframes iconSpin {
  from { opacity: 0; transform: scale(0) rotate(-150deg); }
  to   { opacity: 1; transform: none; }
}

@keyframes labelSlide {
  from { opacity: 0; transform: translateX(-8px); }
  to   { opacity: 1; transform: none; }
}

/* ── Ribbon ── */
.ribbon {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem 1.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.ribbon-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.ribbon-item svg {
  width: 15px;
  height: 15px;
  color: var(--secondary-cyan);
  flex-shrink: 0;
}

.ribbon-item span {
  font-size: 0.7rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.ribbon-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #cbd5e1;
  flex-shrink: 0;
}

/* ── Year Tag ── */
.year-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 1.5rem;
  font-size: 0.68rem;
  font-weight: 600;
  color: #94a3b8;
  letter-spacing: 0.04em;
}

.year-tag::before,
.year-tag::after {
  content: '';
  width: 28px;
  height: 1px;
  background: #e2e8f0;
  display: block;
}

/* ──────────────────────────────────────────────────────────────
   SIGNUP PAGE STYLES
   ────────────────────────────────────────────────────────────── */

.signup-container {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 2rem 1rem;
  background: linear-gradient(135deg, #f0f4f8 0%, #e8f1f8 100%);
}

.signup-card {
  width: 100%;
  max-width: 500px;
  background: white;
  border-radius: 1.5rem;
  box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.1);
  padding: 3rem 2rem;
}

.signup-card header {
  margin-bottom: 2rem;
  text-align: center;
}

.signup-card h1 {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.5rem;
}

.signup-card header p {
  font-size: 0.9rem;
  color: #64748b;
  line-height: 1.5;
}

.signup-card fieldset {
  border: none;
  padding: 0;
  margin-bottom: 1.5rem;
}

.signup-card legend {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #1e293b;
  margin-bottom: 1rem;
  display: block;
}

.signup-card .field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.signup-card label {
  font-size: 0.9rem;
  font-weight: 600;
  color: #1e293b;
  text-align: left;
}

.signup-card input,
.signup-card select {
  padding: 0.75rem 1rem;
  border: 1.5px solid #e2e8f0;
  border-radius: 0.75rem;
  font-size: 0.95rem;
  font-family: inherit;
  transition: all 0.2s ease;
  background: white;
}

.signup-card input:focus,
.signup-card select:focus {
  outline: none;
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.signup-card button {
  width: 100%;
  padding: 0.875rem 1.5rem;
  background: var(--primary-blue);
  color: white;
  border: none;
  border-radius: 0.75rem;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-top: 1rem;
}

.signup-card button:hover {
  background: var(--primary-blue-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 16px -3px rgba(37, 99, 235, 0.3);
}

/* Responsive Fixes */
@media (max-width: 640px) {
  .welcome-entrance {
    padding: 2.5rem 1.5rem;
    border-radius: 1.5rem;
  }
  
  .welcome-entrance h1 {
    font-size: 1.75rem;
  }
  
  .signup-card {
    padding: 2rem 1.5rem;
  }
}
/* Optimized for Windows Desktop Screens */
@media (min-height: 700px) {
  .landing-hero {
    min-height: auto;
    height: 100vh;
    padding: 1.5rem;
  }
  
  .welcome-entrance {
    padding: 2.5rem 3.5rem;
    max-height: 90vh;
    overflow-y: auto;
  }
  
  .welcome-entrance::-webkit-scrollbar {
    width: 6px;
  }
  
  .welcome-entrance::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
    border-radius: 10px;
  }
  
  .welcome-entrance::-webkit-scrollbar-thumb {
    background: var(--primary-blue);
    border-radius: 10px;
  }
  
  .logo-stack {
    gap: 1rem;
    margin-bottom: 2rem;
  }
  
  .logo-icon {
    width: 56px;
    height: 56px;
    padding: 0.875rem;
  }
  
  .welcome-entrance h1 {
    font-size: 2.75rem;
  }
  
  .welcome-entrance > p {
    font-size: 1.05rem;
    margin: 1.25rem 0 1.75rem;
  }
  
  .hero-actions {
    margin-bottom: 1.75rem;
    gap: 0.875rem;
  }
  
  .btn-premium {
    padding: 1rem 1.75rem;
  }
  
  .ribbon {
    padding-top: 1.25rem;
  }
  
  .year-tag {
    margin-top: 1.25rem;
  }
}

/* Default styles for optimal Windows viewing */
.landing-hero {
  min-height: 100vh;
  padding: 2rem;
}

.welcome-entrance {
  padding: 3rem 4rem;
  max-width: 600px;
}

.logo-stack {
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.logo-icon {
  width: 60px;
  height: 60px;
}

.welcome-entrance h1 {
  font-size: 2.75rem;
}

.welcome-entrance > p {
  font-size: 1.1rem;
  margin: 1.5rem 0 2rem;
}

.btn-premium {
  padding: 1.1rem 1.75rem;
}