/* ==========================================================================
   REFLEKTİF MAIN CSS
   ========================================================================== */

@import './variables.css';
@import './reset.css';
@import './components/header.css';
@import './components/footer.css';
@import './components/hero.css';
@import './components/buttons.css';
@import './components/cards.css';
@import './components/login.css';
@import './components/register.css';
@import './components/custom-select.css';
@import './components/pricing.css';
@import './components/contact.css';
@import './components/profile.css';
@import './components/product-survey.css';
@import './components/about.css';
@import './components/product-nursery.css';
@import './components/cookie-banner.css';
@import './components/legal-page.css';
@import './components/product-certificate.css';

html, body {
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
  background-color: #FFFFFF;
}

/* Utility Classes */
.container {
  width: 100%;
  max-width: var(--container-max, 1140px);
  margin: 0 auto;
  padding: 0 var(--spacing-4, 24px);
  box-sizing: border-box;
}

/* Centered Page Navigation Loading Overlay (#C85A17) */
#page-loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #FFFFFF;
  z-index: 9999999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

#page-loading-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.page-loading-spinner-center {
  width: 44px;
  height: 44px;
  border: 4px solid rgba(200, 90, 23, 0.15);
  border-top-color: #C85A17;
  border-radius: 50%;
  animation: centerSpinnerSpin 0.6s linear infinite;
}

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

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-muted { color: var(--color-muted); }

.section-padding {
  padding: 96px 0;
}

/* ==========================================================================
   UNIFIED CARD BOX HOVER EFFECT (EVERY CARD / BOX ON EVERY PAGE)
   ========================================================================== */
.feature-card,
.feature-box-card,
.student-step-card,
.step-card,
.science-card,
.b2b-acc-item,
.pricing-card,
.pricing-plan-card,
.b2b-pricing-card,
.student-pricing-card,
.b2b-output-box,
.b2b-showcase-card,
.b2b-compact-item,
.how-metric-box,
.stat-box,
.test-card,
.riasec-card,
.riasec-pill-card,
.faq-card,
.students-faq-card,
.student-plan-card,
.b2b-small-stat-card,
.partner-box-card,
.contact-card,
.contact-info-card,
.contact-form-box,
.about-card,
.value-card,
.final-cta-card,
.hero-window-card {
  transition: transform 0.25s cubic-bezier(0.21, 0.47, 0.32, 0.98), box-shadow 0.25s cubic-bezier(0.21, 0.47, 0.32, 0.98), border-color 0.25s ease !important;
}

.feature-card:hover,
.feature-box-card:hover,
.student-step-card:hover,
.step-card:hover,
.science-card:hover,
.b2b-acc-item:hover,
.pricing-card:hover,
.pricing-plan-card:hover,
.b2b-pricing-card:hover,
.student-pricing-card:hover,
.student-plan-card:hover,
.b2b-small-stat-card:hover,
.partner-box-card:hover,
.b2b-output-box:hover,
.b2b-showcase-card:hover,
.b2b-compact-item:hover,
.how-metric-box:hover,
.stat-box:hover,
.test-card:hover,
.riasec-card:hover,
.riasec-pill-card:hover,
.faq-card:hover,
.students-faq-card:hover,
.contact-card:hover,
.contact-info-card:hover,
.value-card:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06) !important;
}

/* ==========================================================================
   SCROLL-CONTROLLED ANIMATION PINNING & SCRUBBING (HERO RIGHT MOCKUP)
   ========================================================================== */

/* Hero Window Card Integrated Scroll Progress Badge */
.hero-progress-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #FEF3EC;
  border: 1px solid rgba(200, 90, 23, 0.25);
  border-radius: 9999px;
  padding: 3px 12px;
  font-family: var(--font-body);
  font-size: 11px;
  color: #C85A17;
  box-shadow: 0 2px 8px rgba(200, 90, 23, 0.08);
}

.hero-progress-badge strong {
  font-weight: 700;
  color: #C85A17;
  min-width: 32px;
  text-align: right;
}

.hero-tab-pill {
  transition: all 0.3s cubic-bezier(0.21, 0.47, 0.32, 0.98);
}

.hero-tab-pill.active {
  color: #FFFFFF !important;
  transform: translateY(-2px) scale(1.05);
}

/* Brand Orange Active State */
#hero-pill-1.active,
#hero-pill-2.active,
#hero-pill-3.active,
#hero-pill-4.active {
  background: #C85A17 !important;
  border-color: #C85A17 !important;
  box-shadow: 0 4px 14px rgba(200, 90, 23, 0.3) !important;
}

.bar-fill {
  transition: width 0.25s cubic-bezier(0.21, 0.47, 0.32, 0.98);
}

#hero-bar-1 { background: #C85A17; }
#hero-bar-2 { background: #D66420; }
#hero-bar-3 { background: #E3702A; }

.video-preview-box.active-ai-pulse {
  border-color: #C85A17 !important;
  background: #FEF3EC !important;
  box-shadow: 0 0 16px rgba(200, 90, 23, 0.2) !important;
}

/* Test Preparation Loading Overlay (Screenshot 1) */
#test-prep-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: #FFFFFF;
  z-index: 99999999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

#test-prep-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.test-prep-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
}

.test-prep-video-box {
  width: 140px;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.test-prep-video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.test-prep-bar-track {
  width: 250px;
  max-width: 80vw;
  height: 7px;
  background: #E5E7EB;
  border-radius: 9999px;
  overflow: hidden;
  position: relative;
}

.test-prep-bar-fill {
  height: 100%;
  width: 0%;
  background: #C85A17;
  border-radius: 9999px;
  transition: width 1.8s cubic-bezier(0.3, 0, 0.2, 1);
}

.test-prep-text {
  margin-top: 20px;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: #334155;
  letter-spacing: -0.01em;
}

/* Test Guidelines / Survey Page (Screenshot 2) */
.survey-page-body {
  margin: 0;
  padding: 0;
  background-color: #FFFFFF;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: #1E293B;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}

.survey-nav {
  width: 100%;
  padding: 24px 40px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
}

.survey-brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.survey-brand-icon {
  width: 30px;
  height: 30px;
  border-radius: 6px;
  object-fit: cover;
}

.survey-brand-text {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #C85A17;
  letter-spacing: -0.02em;
}

.survey-brand-text sup {
  font-size: 11px;
  font-weight: 600;
  color: #64748B;
  margin-left: 2px;
}

.survey-main-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 24px 64px 24px;
  box-sizing: border-box;
  text-align: center;
}

.survey-card-wrapper {
  max-width: 480px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.survey-illus-box {
  width: 124px;
  height: 124px;
  background: #FFF5EC;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  position: relative;
}

.survey-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 34px;
  font-weight: 800;
  color: #111827;
  margin: 0 0 30px 0;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.survey-guidelines-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  margin-bottom: 38px;
  text-align: left;
}

.survey-guideline-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.survey-check-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  margin-top: 2px;
  color: #C85A17;
}

.survey-guideline-text {
  font-size: 16px;
  line-height: 1.55;
  color: #334155;
  font-weight: 500;
  margin: 0;
}

.btn-start-test {
  width: 100%;
  height: 48px;
  padding: 0 22px;
  background-color: #C85A17;
  color: #FFFFFF;
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 15px;
  font-weight: 700;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.22s ease;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(200, 90, 23, 0.32);
  box-sizing: border-box;
}

.btn-start-test:hover {
  background-color: #B44F13;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(200, 90, 23, 0.42);
}

.btn-start-test:active {
  transform: scale(0.99);
}

@media (max-width: 640px) {
  .survey-nav {
    padding: 16px 20px;
  }
  .survey-title {
    font-size: 28px;
  }
  .survey-guidelines-list {
    margin-bottom: 30px;
  }
  .survey-guideline-text {
    font-size: 15px;
  }
}


