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

/* --- DESIGN SYSTEM & CSS VARIABLES --- */
:root {
  /* Colors */
  --bg-color: #05080f;          /* Deep space-blue */
  --card-bg: rgba(7, 12, 24, 0.5); /* Semi-transparent panel */
  --card-bg-hover: rgba(11, 20, 38, 0.7);
  --text-primary: #ffffff;
  --text-muted: #a6a6a6;
  
  /* Brand Theme Colors: Neon Pink & Holographic Cyan Theme */
  --color-primary: #ff2a85;     /* Brand Neon Pink */
  --color-secondary: #00f0ff;   /* Brand Neon Cyan */
  --color-accent: #ff00a0;      /* Brand Hot Pink */
  --color-border: rgba(255, 255, 255, 0.08);
  --color-border-focus: rgba(255, 42, 133, 0.4);
  --color-input-bg: #070c18;
  --color-success: #10b981;
  --color-error: #ef4444;

  /* Gradients */
  --gradient-hero: radial-gradient(circle at top, rgba(255, 42, 133, 0.16) 0%, rgba(5, 8, 15, 1) 70%);
  --gradient-card: linear-gradient(145deg, rgba(7, 12, 24, 0.6) 0%, rgba(15, 23, 42, 0.4) 100%);
  --gradient-cyber: linear-gradient(90deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  --gradient-accent: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 50%, var(--color-secondary) 100%);
  --gradient-success: linear-gradient(90deg, #10b981 0%, #059669 100%);

  /* Glows */
  --shadow-glow: 0 0 30px rgba(255, 42, 133, 0.25);
  --shadow-glow-intense: 0 0 40px rgba(255, 42, 133, 0.35), 0 0 80px rgba(0, 240, 255, 0.15);
  --shadow-card: 0 20px 50px rgba(0, 0, 0, 0.5);
}

/* --- UNIVERSAL RESET --- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border-color: var(--color-border);
}

html, body {
  width: 100%;
  min-height: 100vh;
  background-color: var(--bg-color);
  color: var(--text-primary);
  font-family: 'Inter', sans-serif;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.3s ease;
}

/* --- BACKGROUND GLOW BLOBS --- */
.ambient-glow {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 42, 133, 0.09) 0%, rgba(255, 42, 133, 0) 70%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
  animation: float-glow 8s ease-in-out infinite alternate;
}

.glow-1 { top: 15%; left: -10%; }
.glow-2 { top: 50%; right: -10%; animation-delay: -3s; }
.glow-3 { top: 80%; left: 20%; animation-delay: -5s; }

@keyframes float-glow {
  0% { transform: translateY(0) scale(1); }
  100% { transform: translateY(-40px) scale(1.1); }
}

/* --- LAYOUT UTILITIES --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

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

@media (max-width: 768px) {
  .grid-2 {
    grid-template-columns: 1fr;
  }
}

/* --- HEADER / NAVIGATION --- */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: rgba(5, 8, 15, 0.65);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--color-border);
  z-index: 100;
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
}

header.scrolled {
  height: 70px;
  background: rgba(5, 8, 15, 0.85);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Outfit', sans-serif;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.logo img {
  height: 40px;
  width: auto;
}

.logo span {
  background: var(--gradient-cyber);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.03em;
  position: relative;
  padding: 8px 0;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-cyber);
  transition: width 0.3s ease;
}

nav a:hover, nav a.active {
  color: var(--text-primary);
}

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Hamburger Menu for Mobile */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 24px;
  cursor: pointer;
}

@media (max-width: 900px) {
  nav {
    display: none; /* Will be implemented via JS sidebar/overlay if needed */
  }
  .mobile-toggle {
    display: block;
  }
}

/* --- HERO SECTION --- */
.hero {
  position: relative;
  padding: 180px 0 100px 0;
  background: var(--gradient-hero);
  text-align: center;
  min-height: 80vh;
  display: flex;
  align-items: center;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.badge-welcome {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 42, 133, 0.1);
  border: 1px solid rgba(255, 42, 133, 0.25);
  border-radius: 9999px;
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--color-primary);
  text-transform: uppercase;
  margin-bottom: 24px;
  box-shadow: 0 0 15px rgba(255, 42, 133, 0.05);
  animation: pulse-border 2s infinite;
}

@keyframes pulse-border {
  0%, 100% { border-color: rgba(255, 42, 133, 0.25); }
  50% { border-color: rgba(255, 42, 133, 0.6); box-shadow: 0 0 20px rgba(255, 42, 133, 0.15); }
}

.hero-title {
  font-size: clamp(36px, 6vw, 68px);
  line-height: 1.05;
  font-weight: 900;
  margin-bottom: 24px;
  text-transform: uppercase;
}

.hero-title span {
  display: block;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: clamp(16px, 2.5vw, 19px);
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 40px;
  max-width: 650px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

/* --- PREMIUM CARD DESIGN (GLASSMORPHISM) --- */
.card-glass {
  background: var(--card-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  padding: 40px;
  box-shadow: var(--shadow-card);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.card-glass::before {
  content: '';
  position: absolute;
  top: 0;
  left: -50%;
  width: 200%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.03) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-25deg);
  transition: 0.75s;
  pointer-events: none;
}

.card-glass:hover::before {
  left: 125%;
}

.card-glass:hover {
  background: var(--card-bg-hover);
  border-color: var(--color-border-focus);
  transform: translateY(-5px);
  box-shadow: var(--shadow-glow-intense), var(--shadow-card);
}

.card-icon {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  background: rgba(255, 42, 133, 0.1);
  border: 1px solid rgba(255, 42, 133, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--color-primary);
  font-size: 24px;
  transition: all 0.3s ease;
}

.card-glass:hover .card-icon {
  background: var(--gradient-cyber);
  color: #05080f;
  transform: rotate(5deg) scale(1.05);
  box-shadow: 0 0 20px rgba(255, 42, 133, 0.3);
}

.card-title {
  font-size: 22px;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.card-description {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-muted);
}

/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 14px 28px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  border: none;
  outline: none;
}

.btn-primary {
  background: var(--gradient-cyber);
  color: #05080f;
  box-shadow: 0 4px 15px rgba(255, 42, 133, 0.2);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow-intense);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-primary);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

.btn-outline-gold {
  background: transparent;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-outline-gold:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: #ffffff;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

/* --- SECTION GENERAL STYLING --- */
section {
  padding: 100px 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px auto;
}

.section-badge {
  font-size: 12px;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: block;
}

.section-title {
  font-size: clamp(28px, 4vw, 42px);
  margin-bottom: 16px;
  text-transform: uppercase;
}

.section-subtitle {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* --- STAFF REQUIREMENTS SECTION --- */
.requirements {
  background: rgba(5, 8, 15, 0.5);
}

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

.req-item {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 24px;
  transition: all 0.3s ease;
  display: flex;
  gap: 16px;
}

.req-item:hover {
  border-color: rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.02);
  transform: translateY(-3px);
}

.req-number {
  font-family: 'Outfit', sans-serif;
  font-size: 32px;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.2);
  line-height: 1;
}

.req-item:hover .req-number {
  color: #ffffff;
}

.req-text h4 {
  font-size: 16px;
  margin-bottom: 8px;
}

.req-text p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* --- MULTI-STEP FORM SECTION --- */
.apply-section {
  background: radial-gradient(circle at bottom, rgba(255, 42, 133, 0.08) 0%, rgba(5, 8, 15, 1) 80%);
}

.form-wrapper {
  max-width: 900px;
  margin: 0 auto;
}

/* Progress Steps bar */
.steps-indicator {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin-bottom: 50px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.steps-indicator::before {
  content: '';
  position: absolute;
  top: 20px;
  left: 0;
  right: 0;
  height: 2px;
  background: rgba(255, 255, 255, 0.06);
  z-index: 1;
}

.step-progress-line {
  position: absolute;
  top: 20px;
  left: 0;
  height: 2px;
  background: var(--gradient-cyber);
  width: 0%;
  z-index: 1;
  transition: width 0.4s ease;
}

.step-dot {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #0b1426;
  border: 2px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: var(--text-muted);
  position: relative;
  z-index: 2;
  transition: all 0.4s ease;
}

.step-dot.active {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: #05080f;
  box-shadow: 0 0 15px rgba(255, 42, 133, 0.4);
}

.step-dot.completed {
  border-color: var(--color-secondary);
  color: #05080f;
  background: var(--gradient-cyber);
}

.step-label {
  position: absolute;
  bottom: -28px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  transition: color 0.3s ease;
}

.step-dot.active .step-label {
  color: var(--color-primary);
}

.step-dot.completed .step-label {
  color: var(--text-primary);
}

/* Form Container Tabs */
.form-step {
  display: none;
}

.form-step.active {
  display: block;
  animation: fade-slide-up 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fade-slide-up {
  0% { opacity: 0; transform: translateY(15px); }
  100% { opacity: 1; transform: translateY(0); }
}

.step-title {
  font-size: 24px;
  margin-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.step-title i {
  color: var(--color-primary);
}

/* Fields Styling */
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

@media (max-width: 600px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
}

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

.form-group.full-width {
  grid-column: span 2;
}

@media (max-width: 600px) {
  .form-group.full-width {
    grid-column: span 1;
  }
}

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.form-label span.required {
  color: var(--color-error);
  margin-left: 4px;
}

.form-input, .form-textarea, .form-select {
  width: 100%;
  background: var(--color-input-bg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 12px 16px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: var(--text-primary);
  outline: none;
  transition: all 0.3s ease;
}

.form-input:focus, .form-textarea:focus, .form-select:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 10px rgba(255, 42, 133, 0.15);
  background: rgba(7, 12, 24, 0.8);
}

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

.form-select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a6a6a6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 16px;
  padding-right: 40px;
}

/* Experience toggle card style */
.experience-selection {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.exp-radio-card {
  position: relative;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 16px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.exp-radio-card input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.exp-radio-card .card-text {
  font-weight: 600;
  color: var(--text-muted);
}

.exp-radio-card:hover {
  border-color: rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.04);
}

.exp-radio-card input:checked + .card-text {
  color: var(--color-primary);
}

.exp-radio-card.selected {
  border-color: var(--color-primary);
  background: rgba(255, 42, 133, 0.05);
  box-shadow: 0 0 10px rgba(255, 42, 133, 0.1);
}

.exp-radio-card.selected .card-text {
  color: var(--text-primary);
}

/* Conditional details field wrapper */
.conditional-field {
  display: none;
}

.conditional-field.active {
  display: block;
  animation: fade-slide-up 0.3s ease-out;
}

/* Declaration check styling */
.declaration-container {
  display: flex;
  gap: 12px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 16px;
  border-radius: 8px;
  margin-bottom: 24px;
}

.declaration-container input {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  cursor: pointer;
  accent-color: var(--color-primary);
}

.declaration-text {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Navigation Buttons block */
.form-nav-buttons {
  display: flex;
  justify-content: space-between;
  margin-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 24px;
}

.form-nav-buttons .btn {
  min-width: 140px;
}

/* Success Card */
.success-card {
  text-align: center;
  padding: 60px 40px;
  display: none;
}

.success-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.1);
  border: 2px solid var(--color-success);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  color: var(--color-success);
  margin: 0 auto 24px auto;
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.2);
}

.success-title {
  font-size: clamp(24px, 3.5vw, 32px);
  color: var(--text-primary);
  margin-bottom: 16px;
}

.success-text {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 500px;
  margin: 0 auto 32px auto;
}

/* Loader Styles */
.loader-spinner {
  border: 3px solid rgba(255, 255, 255, 0.1);
  border-top: 3px solid #05080f;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  animation: spin 1s linear infinite;
  display: inline-block;
}

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

/* Error message label */
.error-message {
  color: var(--color-error);
  font-size: 12px;
  margin-top: 4px;
  display: none;
}

.input-invalid {
  border-color: var(--color-error) !important;
}

/* --- FOOTER --- */
footer {
  background: #020407;
  border-top: 1px solid var(--color-border);
  padding: 60px 0 30px 0;
  font-size: 14px;
  color: var(--text-muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

.footer-logo {
  margin-bottom: 20px;
}

.footer-text {
  line-height: 1.6;
  max-width: 400px;
}

.footer-title {
  font-size: 16px;
  color: var(--text-primary);
  margin-bottom: 20px;
  text-transform: uppercase;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a:hover {
  color: var(--color-primary);
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-disclaimer {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.2);
  line-height: 1.5;
  margin-top: 20px;
}
