:root {
  --bg-color: #fafafa;
  --card-bg: #ffffff;
  --text-main: #1a1a2e;
  --text-gray: #6b7280;
  --border-color: #e5e7eb;
  --primary-purple: #8b5cf6;
  --primary-purple-hover: #7c3aed;
  --highlight-purple: #f3e8ff;
  --font-main: 'Inter', sans-serif;
}

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

body {
  font-family: var(--font-main);
  background-color: var(--bg-color);
  color: var(--text-main);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  padding-top: 80px;
}

/* Header */
.top-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 3rem;
  background-color: white;
  border-bottom: 1px solid var(--border-color);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-logo-img {
  height: 32px;
  width: 32px;
  object-fit: contain;
  border-radius: 8px;
  background-color: #000;
  padding: 4px;
  position: relative;
  top: 3px;
}

.logo {
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.5px;
  color: var(--text-main);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  text-decoration: none;
  color: #374151;
  font-size: 0.95rem;
  font-weight: 600;
  transition: color 0.2s;
}

.nav-link:hover {
  color: var(--text-main);
}

.nav-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 2rem;
  background-color: #7c3aed;
  color: white;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: 9999px;
  text-decoration: none;
  transition: background-color 0.2s, transform 0.2s;
  border: none;
  font-family: var(--font-main);
}

.nav-cta-btn:hover {
  background-color: #6d28d9;
  transform: translateY(-1px);
}

/* Container */
/* Container Override */
main {
  width: 100%;
}

/* Combined Modern Hero Section */
.hero-section {
  background: url(/apps/career/background.jpg) no-repeat center, radial-gradient(circle at 80% 20%, #edf1ff 0%, #f7f6fe 60%, #ffffff 100%);
  background-size: cover;
  width: 100%;
  padding: 5rem 2rem 6rem 2rem;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: center;
}

.hero-container {
  max-width: 1200px;
  width: 100%;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 4rem;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

/* Rounded Now Hiring Badge */
.hero-badge {
  background-color: rgba(140, 85, 242, 0.10);
  color: #8C55F2;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.45rem 1.15rem;
  border-radius: 9999px;
  letter-spacing: 0.25px;
  margin-bottom: 2rem;
  display: inline-block;
  font-family: var(--font-main);
}

/* Hero Heading */
.hero-content h1 {
  font-size: 4rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -2px;
  color: var(--text-main);
  margin-bottom: 1.75rem;
}

.hero-highlight {
  color: #8C55F2;
}

/* Subtitle */
.hero-subtitle {
  color: var(--text-gray);
  font-size: 1rem;
  line-height: 1.6;
  font-weight: 400;
  margin-bottom: 2.5rem;
  max-width: 550px;
}

/* CTA Action Buttons */
.hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.app-store-cta-btn {
  display: inline-block;
  transition: transform 0.2s, opacity 0.2s;
}

.app-store-cta-btn:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

.app-store-cta-btn img {
  height: 56px;
  width: auto;
  display: block;
}

/* Learn More Outline Pill Button */
.btn-learn-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 2.5rem;
  border: 1.5px solid #8C55F2;
  color: #8C55F2;
  background-color: transparent;
  font-size: 1.05rem;
  font-weight: 600;
  border-radius: 9999px;
  text-decoration: none;
  transition: background-color 0.2s, color 0.2s, transform 0.2s;
  height: 56px;
  font-family: var(--font-main);
}

.btn-learn-more:hover {
  background-color: rgba(140, 85, 242, 0.05);
  transform: translateY(-2px);
}

/* Mockup Image */
.hero-image {
  display: flex;
  flex-direction: column;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(99, 102, 241, 0.12), 0 5px 15px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s;
}

.hero-image:hover {
  transform: translateY(-4px);
}

.mockup-header {
  width: 100%;
}

.mockup-header img {
  width: 100%;
  height: auto;
  display: block;
}

.mockup-rating {
  width: 100%;
  overflow: hidden;
}

.mockup-rating img {
  width: 110%;
  margin-left: -5%;
  height: auto;
  display: block;
}

.mockup-grid {
  display: flex;
  width: 100%;
  background-color: #f5f5f7;
  gap: 12px;
  padding: 0 12px 12px 12px;
  margin-top: -2px;
  box-sizing: border-box;
}

.mockup-grid img {
  flex: 1;
  width: 0;
  height: auto;
  display: block;
  border-radius: 12px;
  object-fit: contain;
}

/* Form Container Layout */
.form-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 4rem 1.5rem 5rem 1.5rem;
}

/* Form Container */
.form-header {
  text-align: center;
  margin-bottom: 2rem;
}

.form-header h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.form-header p {
  color: var(--text-gray);
  font-size: 0.95rem;
}

/* Cards */
.card {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.card-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.step-number {
  background-color: var(--primary-purple);
  color: white;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
}

.icon-sparkle {
  font-size: 1.25rem;
}

.card-title h3 {
  font-size: 1.2rem;
  font-weight: 700;
}

/* Inputs */
.input-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.input-group label {
  font-weight: 600;
  font-size: 0.9rem;
}

.optional {
  color: var(--text-gray);
  font-weight: 400;
  font-size: 0.85rem;
}

.help-text {
  color: var(--text-gray);
  font-size: 0.78rem;
  font-style: italic;
  margin-top: -0.25rem;
  margin-bottom: 0.25rem;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="number"],
select {
  width: 100%;
  height: 46px;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  font-family: var(--font-main);
  font-size: 0.95rem;
  background-color: white;
  color: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
}

select {
  cursor: pointer;
}

textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  font-family: var(--font-main);
  font-size: 0.95rem;
  background-color: white;
  color: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--primary-purple);
  box-shadow: 0 0 0 3px var(--highlight-purple);
}

textarea {
  resize: vertical;
}

/* Grids */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1rem;
}

/* Utilities */
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.text-gray { color: var(--text-gray); }
.relative { position: relative; }

/* Task Box */
.task-box {
  background-color: #f8f9fa;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.task-info h4 {
  font-weight: 700;
  margin-bottom: 0.75rem;
  font-size: 1.15rem;
  color: var(--text-dark);
}

.task-info p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-gray);
  margin-bottom: 1.5rem;
  max-width: 650px;
}

/* Horizontal Action Elements inside Task Box */
.task-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.task-app-store-btn {
  display: inline-block;
  transition: transform 0.2s, opacity 0.2s;
}

.task-app-store-btn:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

.task-app-store-btn img {
  height: 32px;
  width: auto;
  display: block;
}

.task-search-text {
  font-size: 0.88rem;
  font-style: italic;
  color: var(--text-gray);
  font-family: var(--font-main);
}

/* Custom QR Code Card Layout on the Right */
.task-qr-card {
  background-color: white;
  padding: 0.6rem 0.6rem 0.5rem 0.6rem;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  text-align: center;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.task-qr-card img {
  width: 80px;
  height: 80px;
  display: block;
  border-radius: 4px;
  margin-bottom: 0.4rem;
}

.task-qr-label {
  font-size: 0.55rem;
  color: var(--text-dark);
  font-weight: 800;
  letter-spacing: 0.25px;
  text-transform: uppercase;
  font-family: var(--font-main);
}

/* Optional Badge */
.optional-badge {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background-color: #8C55F2;
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.04);
  letter-spacing: 0.5px;
}

.try-web-btn {
  display: inline-block;
  border: 1px solid var(--primary-purple);
  color: var(--primary-purple);
  background-color: white;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: background-color 0.2s;
}

.try-web-btn:hover {
  background-color: var(--highlight-purple);
}

/* Submit Button */
.submit-container {
  margin-top: 2rem;
  text-align: center;
}

button[type="submit"] {
  background-color: var(--primary-purple);
  color: white;
  border: none;
  padding: 1rem 3rem;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.2s, transform 0.1s;
  font-family: var(--font-main);
}

button[type="submit"]:hover {
  background-color: var(--primary-purple-hover);
}

button[type="submit"]:active {
  transform: scale(0.98);
}

button:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

/* Success Message */
.success-message {
  text-align: center;
  padding: 4rem 2rem;
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.success-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
}

.success-message h2 {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}

.success-message p {
  color: var(--text-gray);
  line-height: 1.6;
}

.hidden {
  display: none !important;
}

/* Responsive */
@media (max-width: 768px) {
  .container {
    padding: 2rem 1.25rem;
  }
  .hero h1 {
    font-size: 2rem;
  }
  .top-nav {
    padding: 1rem 1.25rem;
  }
}

@media (max-width: 640px) {
  .container {
    padding: 1.5rem 1rem;
  }
  .top-nav {
    padding: 1rem;
    flex-direction: column;
    gap: 0.75rem;
  }
  .hero h1 {
    font-size: 1.75rem;
  }
  .hero .subtitle {
    font-size: 1rem;
  }
  .card {
    padding: 1.25rem;
  }
  .grid-2, .grid-3 {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .task-box {
    flex-direction: column;
    text-align: center;
    gap: 1.25rem;
    padding: 1.25rem;
  }
  
  .optional-badge {
    position: static;
    display: inline-block;
    margin-bottom: 1rem;
  }

  .submit-container button[type="submit"] {
    width: 100%;
    padding: 1rem;
  }
  
  .success-message {
    padding: 3rem 1.5rem;
  }
  .success-icon {
    font-size: 3.5rem;
  }
}

/* Custom File Upload UI */
.custom-file-upload { display: flex; align-items: center; gap: 12px; margin-top: 4px; position: relative; overflow: hidden; }
.file-btn { background-color: #f1f3f5; color: var(--text-dark); border: 1px solid var(--border-color); padding: 0.5rem 1rem; border-radius: 6px; cursor: pointer; font-size: 0.9rem; font-weight: 500; transition: all 0.2s ease; }
.file-btn:hover { background-color: #e2e6ea; border-color: #caced1; }
.file-name { color: var(--text-gray); font-size: 0.9rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 250px; }

/* Force English File Upload Styles */
.hidden-file-input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
  opacity: 0;
}

.custom-file-wrapper {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 0;
  overflow: hidden;
}

.custom-file-btn {
  background-color: #efefef;
  color: #333;
  border: 1px solid #767676;
  padding: 4px 10px;
  border-radius: 3px;
  cursor: pointer;
  font-size: 13.3333px;
  font-family: Arial, sans-serif;
  transition: background-color 0.2s;
  display: inline-block;
}

.custom-file-btn:hover {
  background-color: #e5e5e5;
}

.custom-file-name {
  color: #333;
  font-size: 13.3333px;
  font-family: Arial, sans-serif;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 200px;
  display: inline-block;
  vertical-align: middle;
}

/* New UI Enhancements */
.rating-badge-nav {
  width: 170px;
  height: 90px;
  object-fit: contain;
  object-position: left top;
  display: block;
}

.highlight-wrapper {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  vertical-align: middle;
}

.hero-logo-icon {
  height: 0.9em;
  width: auto;
  object-fit: contain;
  background-color: #000;
  border-radius: 8px;
  padding: 4px;
}

/* Responsive Media Queries for Hero Section */
@media (max-width: 992px) {
  .hero-content h1 {
    font-size: 3.25rem;
  }
  .hero-container {
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {
  .hero-section {
    padding: 3.5rem 1.5rem 4rem 1.5rem;
  }
  .hero-container {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }
  .hero-content {
    align-items: center;
    text-align: center;
  }
  .hero-badge {
    margin-bottom: 1.5rem;
  }
  .hero-content h1 {
    font-size: 2.75rem;
    letter-spacing: -1px;
    margin-bottom: 1.25rem;
  }
  .hero-subtitle {
    font-size: 0.95rem;
    margin-bottom: 2rem;
    max-width: 100%;
  }
  .hero-actions {
    flex-direction: column;
    width: 100%;
    max-width: 280px;
    gap: 0.75rem;
  }
  .app-store-cta-btn img {
    height: 48px;
    width: 100%;
  }
  .btn-learn-more {
    width: 100%;
    height: 48px;
  }
}

/* Footer Styles (Preview 5) */
.footer-section {
  background-color: white;
  width: 100%;
  border-top: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: var(--font-main);
  padding: 5rem 2rem 4rem 2rem;
}

.footer-upper {
  text-align: center;
  max-width: 800px;
  width: 100%;
  margin-bottom: 4rem;
}

.footer-upper h2 {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
  letter-spacing: -1px;
}

.footer-upper-subtitle {
  color: var(--text-main);
  font-size: 1.2rem;
  line-height: 1.5;
  font-weight: 500;
  margin-bottom: 3rem;
}

/* Rating Badge */
.rating-badge-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 2rem;
}

.rating-badge-img {
  max-width: 420px;
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* Divider */
.footer-divider {
  width: 100%;
  max-width: 1200px;
  border: 0;
  border-top: 1px solid #e2e8f0;
  margin-bottom: 4rem;
}

/* Lower Columns */
.footer-lower {
  width: 100%;
  display: flex;
  justify-content: center;
}

.footer-container {
  max-width: 1200px;
  width: 100%;
  display: grid;
  grid-template-columns: 1.3fr 0.85fr 0.85fr;
  gap: 4rem;
  justify-items: center;
}

.footer-col h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 1.25rem;
  letter-spacing: -0.5px;
}

/* Col 1 Brand & Socials */
.brand-col h3 {
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.brand-col .support-email {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.brand-col .support-email a {
  color: var(--text-dark);
  text-decoration: none;
  transition: color 0.2s;
}

.brand-col .support-email a:hover {
  color: #8C55F2;
}

.social-links-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.social-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: #212121;
  color: white;
  text-decoration: none;
  transition: transform 0.2s, background-color 0.2s;
}

.social-icon-btn:hover {
  transform: translateY(-2px);
  background-color: #8C55F2;
}

.social-icon-btn svg {
  display: block;
}

/* Col 2 Links */
.links-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
}

.links-col ul li a {
  color: var(--text-gray);
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s;
}

.links-col ul li a:hover {
  color: #8C55F2;
}

/* Col 3 Download */
.footer-app-store-btn {
  display: inline-block;
  transition: transform 0.2s, opacity 0.2s;
}

.footer-app-store-btn:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

.footer-app-store-btn img {
  height: 44px;
  width: auto;
  display: block;
}

/* Responsive Media Queries for Footer */
@media (max-width: 992px) {
  .footer-container {
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {
  .footer-section {
    padding: 4rem 1.5rem 3rem 1.5rem;
  }
  .footer-upper h2 {
    font-size: 1.85rem;
  }
  .footer-upper-subtitle {
    font-size: 1.05rem;
    margin-bottom: 2rem;
  }
  .rating-badge-img {
    max-width: 320px;
  }
  .footer-divider {
    margin-bottom: 3rem;
  }
  .footer-container {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }
  .social-links-row {
    justify-content: center;
  }
  .links-col ul {
    align-items: center;
  }
  .footer-app-store-btn {
    display: inline-flex;
    justify-content: center;
  }
}

/* Google One Tap Sign-In Toast */
.google-toast {
  position: fixed;
  top: 80px;
  right: -350px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(140, 85, 242, 0.2);
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(140, 85, 242, 0.1);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 1000;
  width: 280px;
  transition: right 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.google-toast.show {
  right: 24px;
}

.google-toast-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid #8c55f2;
}

.google-toast-content {
  display: flex;
  flex-direction: column;
}

.google-toast-title {
  font-size: 13px;
  font-weight: 600;
  color: #8c55f2;
  margin: 0;
}

.google-toast-desc {
  font-size: 12px;
  color: #4a5568;
  margin: 0;
}
