*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  background-color: #F9FAFB;
  color: #374151;
  line-height: 1.5;
}

h1, h2, h3, h4, h5, h6 {
  color: #111827;
  font-weight: 700;
}

h1 { font-size: 3rem; line-height: 1; }
h2 { font-size: 1.875rem; line-height: 2.25rem; }
h3 { font-size: 1.25rem; line-height: 1.75rem; }
h4 { font-size: 1.125rem; line-height: 1.75rem; }

a {
  color: inherit;
  text-decoration: inherit;
}

p {
  color: #4B5563;
}

:root {
  --primary-color: #4F46E5;
  --secondary-color: #6366F1;
  --text-gray-600: #4B5563;
  --text-gray-900: #111827;
  --border-gray-100: #F3F4F6;
  --border-gray-200: #E5E7EB;
  --bg-white: #FFFFFF;
  --bg-gray-50: #F9FAFB;
  --btn-border-radius: 8px;
}

.container {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

@media (min-width: 640px) {
  .container { max-width: 640px; }
}
@media (min-width: 768px) {
  .container { max-width: 768px; }
}
@media (min-width: 1024px) {
  .container { max-width: 1024px; }
}
@media (min-width: 1280px) {
  .container { max-width: 1280px; }
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(8px);
  z-index: 50;
  border-bottom: 1px solid var(--border-gray-100);
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}

.logo {
  font-family: 'Pacifico', cursive;
  font-size: 1.5rem;
  line-height: 2rem;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

.nav-links a:not(.btn) {
  color: var(--text-gray-600);
  transition: color 0.2s ease-in-out;
}

.nav-links a:hover:not(.btn) {
  color: var(--primary-color);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--btn-border-radius);
  transition: all 0.2s ease-in-out;
  font-size: 1.125rem;
  line-height: 1.75rem;
  padding: 0.75rem 2rem;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--bg-white);
}

.btn-primary:hover {
  opacity: 0.9;
}

.btn-secondary {
  background-color: var(--bg-white);
  border: 1px solid var(--border-gray-200);
}

.btn-secondary:hover {
  background-color: #F9FAFB;
}

.btn-sm {
  font-size: 1rem;
  line-height: 1.5rem;
  padding: 0.5rem 1.5rem;
}

main {
  padding-top: 0rem;
}

.section {
  padding-top: 6rem;
  padding-bottom: 6rem;
}

.bg-white { background-color: var(--bg-white); }
.bg-light-gradient { background: linear-gradient(to right, rgba(79, 70, 229, 0.05), rgba(99, 102, 241, 0.05)); }
.bg-gray-50 { background-color: var(--bg-gray-50); }

.hero-section {
  position: relative;
  min-height: 100vh;
  height: 100vh;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.3));
}

.hero-content {
  position: relative;
  max-width: 42rem;
  text-align: left;
  margin-left: 0;
}

.hero-content h1 {
  margin-bottom: 1.5rem;
  font-size: 3rem;
  line-height: 1;
}

.hero-content p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  font-size: 1.875rem;
  margin-bottom: 1rem;
}

.section-header p {
  max-width: 42rem;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 4rem;
}

.feature-card {
  padding: 1.5rem;
  border-radius: 0.5rem;
  border: 1px solid var(--border-gray-100);
  background-color: var(--bg-white);
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.3s ease;
}

.feature-card:hover {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.feature-icon {
  width: 3rem;
  height: 3rem;
  background-color: rgba(79, 70, 229, 0.1);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--primary-color);
  font-size: 1.25rem;
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

@media (min-width: 768px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .features-grid { grid-template-columns: repeat(4, 1fr); }
}


.demo-video-container {
  position: relative;
  max-width: 56rem;
  margin: 0 auto;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.video-placeholder {
  position: relative;
  padding-bottom: 56.25%; 
  background-color: #111827;
}

.video-play-button {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background-size: cover;
  background-position: center;
}

.video-play-icon {
  width: 5rem;
  height: 5rem;
  border-radius: 9999px;
  background-color: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
  font-size: 2.25rem;
  color: white;
}

.video-play-button:hover .video-play-icon {
  transform: scale(1.1);
}


.jobs-marquee-container {
  overflow: hidden;
}

.jobs-marquee {
  display: flex;
  gap: 1.5rem;
  animation: marquee 20s linear infinite;
}

.jobs-marquee:hover {
  animation-play-state: paused;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-300px * 4 - 1.5rem * 4)); }
}

.job-card {
  min-width: 300px;
  padding: 1.5rem;
  background-color: var(--bg-white);
  border-radius: 0.5rem;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: transform 0.3s ease;
}

.job-card:hover {
  transform: translateY(-4px);
}

.job-card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.job-icon {
  width: 3rem;
  height: 3rem;
  background-color: #EFF6FF;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--primary-color);
}

.job-card h4 {
  font-weight: 600;
}

.job-card .details {
  font-size: 0.875rem;
}

/* Testimonials Section */
.testimonials-grid {
  display: grid;
  gap: 2rem;
}

.testimonial-card {
  padding: 1.5rem;
  border-radius: 0.5rem;
  background-color: var(--bg-white);
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.author-avatar {
  width: 3rem;
  height: 3rem;
  border-radius: 9999px;
  background-color: #F3F4F6;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: #9CA3AF;
}

.author-name {
  font-weight: 600;
}

.rating {
  display: flex;
  gap: 0.25rem;
  color: #FACC15;
}

.testimonial-card p {
  font-style: italic;
}

@media (min-width: 768px) {
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .testimonials-grid { grid-template-columns: repeat(3, 1fr); }
}

.site-footer {
  background: linear-gradient(to bottom, rgba(79, 70, 229, 0.05), rgba(79, 70, 229, 0.1));
  border-top: 1px solid var(--border-gray-100);
  padding: 3rem 0;
}

.footer-grid {
  display: grid;
  gap: 2rem;
}

.footer-grid h4 {
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links a:hover {
  color: var(--primary-color);
}

.newsletter-form {
  display: flex;
  gap: 0.5rem;
}

.newsletter-input {
  flex-grow: 1;
  padding: 0.5rem 1rem;
  border-radius: var(--btn-border-radius);
  border: 1px solid var(--border-gray-200);
}

.newsletter-input:focus {
  outline: none;
  border-color: var(--primary-color);
}

.footer-bottom {
  border-top: 1px solid var(--border-gray-100);
  margin-top: 3rem;
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.social-links {
  display: flex;
  gap: 1.5rem;
}

.social-links a:hover {
  color: var(--primary-color);
}

@media (min-width: 768px) {
  .footer-grid { grid-template-columns: repeat(4, 1fr); }
  .footer-bottom { flex-direction: row; }
}

/* Modal Styles */
.modal {
  visibility: hidden;
  opacity: 0;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 50;
  transition: all 0.3s ease-in-out;
}

.modal:target {
  visibility: visible;
  opacity: 1;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  cursor: pointer;
}

.modal-container {
  position: relative;
  z-index: 51;
  animation: modalPop 0.3s ease-out;
  background-color: var(--bg-white);
  border-radius: 0.5rem;
  padding: 2rem;
  width: 100%;
  max-width: 28rem;
  margin: 1rem;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.modal-header h3 {
  font-size: 1.25rem;
  font-weight: 600;
}

.close-modal {
  color: #9CA3AF;
}
.close-modal:hover {
  color: #4B5563;
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Ensure signup form has same styling */
#signup-form {
  display: none;
  flex-direction: column;
  gap: 1rem;
}

#signup-form.show {
  display: flex;
}

/* Ensure forms are properly styled when displayed */
#login-form, #signup-form {
  width: 100%;
}

#login-form .form-group,
#signup-form .form-group {
  margin-bottom: 1rem;
}

#login-form .form-input,
#signup-form .form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  transition: border-color 0.2s ease;
}

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

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.form-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
}

.remember-me {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.remember-me input {
  width: 1rem;
  height: 1rem;
  border-radius: 0.25rem;
  border-color: #D1D5DB;
  color: var(--primary-color);
}
.remember-me input:focus {
  ring: var(--primary-color);
}

.forgot-password {
  color: var(--primary-color);
}
.forgot-password:hover {
  text-decoration: underline;
}

.video-modal-container {
  padding: 1rem;
  max-width: 56rem;
}

.video-modal-header {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 0.5rem;
}

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

@keyframes modalPop {
  from {
    transform: scale(0.8);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.icon {
  display: inline-block;
  vertical-align: middle;
}
html { scroll-behavior: smooth; }

@media (min-width: 1280px) {
  .hero-content {
    margin-left: 0;
    padding-left: 2rem;
  }
}

@media (min-width: 1536px) {
  .container {
    max-width: 1280px;
  }
  .hero-content {
    padding-left: 4rem;
  }
}

/* --- Enhanced Footer Styles --- */
.enhanced-footer {
  background: linear-gradient(to right, #f3f4f6 0%, #e0e7ff 100%);
  border-top: 2px solid #e5e7eb;
  margin-top: 4rem;
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}
.enhanced-footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2.5rem;
  align-items: start;
  margin-bottom: 2.5rem;
}
.enhanced-footer-grid h4 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  color: #4f46e5;
}
.enhanced-footer-grid ul {
  padding: 0;
  list-style: none;
}
.enhanced-footer-grid li {
  margin-bottom: 0.5rem;
}
.enhanced-footer-grid a {
  color: #4b5563;
  transition: color 0.2s;
}
.enhanced-footer-grid a:hover {
  color: #6366f1;
  text-decoration: underline;
}
.enhanced-footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  border-top: 1px solid #e5e7eb;
  padding-top: 1.5rem;
  margin-top: 1.5rem;
}
.footer-bottom-left {
  color: #6b7280;
  font-size: 1rem;
}
.footer-visitor-badge {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(80,80,120,0.07);
  padding: 0.25rem 0.75rem;
  height: 28px;
  display: flex;
  align-items: center;
}
@media (max-width: 700px) {
  .enhanced-footer-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .enhanced-footer-bottom {
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
  }
  .footer-visitor-badge {
    margin: 0.5rem 0;
  }
} 