/* ==========================================================================
   QueStudy - Landing Page Styles
   Premium SaaS Theme - Front Page
   ========================================================================== */

/* --------------------------------------------------------------------------
   HERO SECTION
   -------------------------------------------------------------------------- */

.qs-hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding-top: 72px;
  padding-bottom: 80px;
  overflow: hidden;
  position: relative;
  background: linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 100%);
}

.qs-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(37, 99, 235, 0.04) 1px, transparent 0);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: 0;
}

.qs-hero-inner {
  display: flex;
  align-items: center;
  gap: 64px;
  position: relative;
  z-index: 1;
}

/* Hero Left Column */

.qs-hero-left {
  flex: 1;
  max-width: 560px;
}

.qs-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.12);
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #2563EB;
  margin-bottom: 24px;
}

.qs-hero-badge svg {
  width: 14px;
  height: 14px;
}

.qs-hero h1 {
  font-size: 3.8rem;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: #111827;
  margin-bottom: 24px;
}

.qs-hero-highlight {
  color: #2563EB;
  position: relative;
}

.qs-hero-highlight::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0;
  right: 0;
  height: 8px;
  background: rgba(37, 99, 235, 0.12);
  border-radius: 4px;
  z-index: -1;
}

.qs-hero-desc {
  font-size: 1.15rem;
  line-height: 1.7;
  color: #6B7280;
  margin-bottom: 32px;
  max-width: 480px;
}

.qs-hero-buttons {
  display: flex;
  gap: 16px;
  margin-bottom: 40px;
}

.qs-hero-social {
  display: flex;
  align-items: center;
  gap: 16px;
}

.qs-hero-avatars {
  display: flex;
  align-items: center;
}

.qs-hero-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid white;
  margin-left: -12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.75rem;
  color: white;
  flex-shrink: 0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}

.qs-hero-avatar:first-child {
  margin-left: 0;
}

.qs-hero-avatar-1 {
  background: linear-gradient(135deg, #2563EB, #3B82F6);
}

.qs-hero-avatar-2 {
  background: linear-gradient(135deg, #7C3AED, #8B5CF6);
}

.qs-hero-avatar-3 {
  background: linear-gradient(135deg, #059669, #10B981);
}

.qs-hero-avatar-4 {
  background: linear-gradient(135deg, #D97706, #F59E0B);
}

.qs-hero-avatar-5 {
  background: linear-gradient(135deg, #DC2626, #EF4444);
}

.qs-hero-social-text {
  font-size: 0.9rem;
  font-weight: 600;
  color: #374151;
}

.qs-hero-social-sub {
  font-size: 0.8rem;
  color: #9CA3AF;
  font-weight: 400;
}

.qs-hero-social-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

/* Hero Right Column - Illustration */

.qs-hero-right {
  flex: 1;
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.qs-hero-illustration {
  position: relative;
  width: 100%;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.qs-hero-device {
  position: relative;
  z-index: 2;
}

.qs-hero-device-tablet {
  width: 280px;
  height: 200px;
  background: linear-gradient(135deg, #2563EB, #7C3AED);
  border-radius: 16px;
  box-shadow:
    0 25px 50px -12px rgba(37, 99, 235, 0.25),
    0 0 0 1px rgba(37, 99, 235, 0.1);
  padding: 8px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: qs-device-float 6s ease-in-out infinite;
}

.qs-hero-device-laptop {
  width: 200px;
  height: 140px;
  background: linear-gradient(135deg, #1D4ED8, #6D28D9);
  border-radius: 12px;
  box-shadow:
    0 20px 40px -12px rgba(109, 40, 217, 0.2),
    0 0 0 1px rgba(109, 40, 217, 0.1);
  padding: 6px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -30%) scale(0.85);
  animation: qs-device-float 6s ease-in-out infinite 1s;
  z-index: 1;
}

.qs-hero-screen {
  width: 100%;
  height: 100%;
  background: white;
  border-radius: 8px;
  padding: 12px;
  position: relative;
  overflow: hidden;
}

.qs-hero-screen::before {
  content: '';
  position: absolute;
  top: 12px;
  left: 12px;
  right: 20px;
  height: 6px;
  background: #E5E7EB;
  border-radius: 3px;
}

.qs-hero-screen::after {
  content: '';
  position: absolute;
  top: 26px;
  left: 12px;
  right: 40px;
  height: 6px;
  background: #F3F4F6;
  border-radius: 3px;
}

.qs-hero-screen-line {
  position: absolute;
  left: 12px;
  height: 6px;
  background: #F3F4F6;
  border-radius: 3px;
}

.qs-hero-screen-line:nth-child(1) {
  top: 40px;
  right: 30px;
}

.qs-hero-screen-line:nth-child(2) {
  top: 54px;
  right: 50px;
}

.qs-hero-screen-line:nth-child(3) {
  top: 68px;
  right: 20px;
}

.qs-hero-screen-block {
  position: absolute;
  bottom: 12px;
  left: 12px;
  right: 12px;
  height: 40px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(124, 58, 237, 0.08));
  border-radius: 6px;
}

/* Floating Cards */

.qs-hero-float-card {
  position: absolute;
  background: white;
  border-radius: 14px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow:
    0 4px 6px -1px rgba(0, 0, 0, 0.05),
    0 10px 20px -2px rgba(0, 0, 0, 0.05);
  border: 1px solid #F3F4F6;
  font-size: 0.85rem;
  font-weight: 600;
  color: #111827;
  white-space: nowrap;
  z-index: 5;
}

.qs-hero-float-card-1 {
  top: 60px;
  right: 20px;
  animation: qs-float 6s ease-in-out infinite 0s;
}

.qs-hero-float-card-2 {
  top: 180px;
  left: 0;
  animation: qs-float 6s ease-in-out infinite 1s;
}

.qs-hero-float-card-3 {
  bottom: 120px;
  right: 10px;
  animation: qs-float 6s ease-in-out infinite 2s;
}

.qs-hero-float-card-4 {
  top: 40px;
  left: 20px;
  animation: qs-float 6s ease-in-out infinite 0.5s;
}

.qs-hero-float-card-5 {
  bottom: 60px;
  left: 10px;
  animation: qs-float 6s ease-in-out infinite 1.5s;
}

.qs-hero-float-card-6 {
  bottom: 200px;
  right: 60px;
  animation: qs-float 6s ease-in-out infinite 2.5s;
}

.qs-hero-float-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.qs-hero-float-icon-blue {
  background: rgba(37, 99, 235, 0.1);
  color: #2563EB;
}

.qs-hero-float-icon-purple {
  background: rgba(124, 58, 237, 0.1);
  color: #7C3AED;
}

.qs-hero-float-icon-green {
  background: rgba(5, 150, 105, 0.1);
  color: #059669;
}

.qs-hero-float-icon-amber {
  background: rgba(217, 119, 6, 0.1);
  color: #D97706;
}

.qs-hero-float-icon-red {
  background: rgba(220, 38, 38, 0.1);
  color: #DC2626;
}

.qs-hero-float-icon-indigo {
  background: rgba(79, 70, 229, 0.1);
  color: #4F46E5;
}

.qs-hero-float-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.qs-hero-float-text-sub {
  font-size: 0.7rem;
  color: #9CA3AF;
  font-weight: 500;
}

.qs-hero-line {
  position: absolute;
  width: 120px;
  height: 80px;
  z-index: 3;
  pointer-events: none;
  opacity: 0.15;
}

.qs-hero-line svg {
  width: 100%;
  height: 100%;
}

.qs-hero-line-1 {
  top: 100px;
  right: -30px;
  transform: rotate(-15deg);
}

.qs-hero-line-2 {
  bottom: 150px;
  left: 10px;
  transform: rotate(20deg) scaleX(-1);
}

@keyframes qs-float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

@keyframes qs-device-float {
  0%, 100% {
    transform: translate(-50%, -50%);
  }
  50% {
    transform: translate(-50%, calc(-50% - 8px));
  }
}


/* --------------------------------------------------------------------------
   WHY CHOOSE SECTION
   -------------------------------------------------------------------------- */

.qs-why-choose {
  background: white;
  padding: 100px 0;
}

.qs-why-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 56px;
}

.qs-why-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #2563EB;
  margin-bottom: 12px;
}

.qs-why-header h2 {
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #111827;
  margin-bottom: 16px;
}

.qs-why-header p {
  font-size: 1.05rem;
  color: #6B7280;
  line-height: 1.7;
}

.qs-why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.qs-why-card {
  padding: 32px;
  border-radius: var(--qs-radius-xl, 20px);
  border: 1px solid #F3F4F6;
  background: white;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.qs-why-card:hover {
  transform: translateY(-4px);
  box-shadow:
    0 10px 25px -5px rgba(0, 0, 0, 0.06),
    0 20px 40px -10px rgba(0, 0, 0, 0.04);
  border-color: #E5E7EB;
}

.qs-why-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.qs-why-icon-blue {
  background: rgba(37, 99, 235, 0.1);
  color: #2563EB;
}

.qs-why-icon-purple {
  background: rgba(124, 58, 237, 0.1);
  color: #7C3AED;
}

.qs-why-icon-green {
  background: rgba(5, 150, 105, 0.1);
  color: #059669;
}

.qs-why-icon-amber {
  background: rgba(217, 119, 6, 0.1);
  color: #D97706;
}

.qs-why-icon-red {
  background: rgba(220, 38, 38, 0.1);
  color: #DC2626;
}

.qs-why-icon-indigo {
  background: rgba(79, 70, 229, 0.1);
  color: #4F46E5;
}

.qs-why-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 8px;
}

.qs-why-card p {
  font-size: 0.9rem;
  color: #6B7280;
  line-height: 1.6;
  margin: 0;
}


/* --------------------------------------------------------------------------
   FEATURES GRID
   -------------------------------------------------------------------------- */

.qs-features {
  background: #F8FAFC;
  padding: 100px 0;
}

.qs-features-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 56px;
}

.qs-features-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #2563EB;
  margin-bottom: 12px;
}

.qs-features-header h2 {
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #111827;
  margin-bottom: 16px;
}

.qs-features-header p {
  font-size: 1.05rem;
  color: #6B7280;
  line-height: 1.7;
}

.qs-features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.qs-feature-card {
  padding: 28px;
  background: white;
  border-radius: var(--qs-radius-lg, 16px);
  border: 1px solid #E5E7EB;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.qs-feature-card:hover {
  transform: translateY(-2px);
  box-shadow:
    0 4px 12px -2px rgba(0, 0, 0, 0.06),
    0 8px 20px -4px rgba(0, 0, 0, 0.03);
  border-color: #D1D5DB;
}

.qs-feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.qs-feature-icon-blue {
  background: rgba(37, 99, 235, 0.1);
  color: #2563EB;
}

.qs-feature-icon-purple {
  background: rgba(124, 58, 237, 0.1);
  color: #7C3AED;
}

.qs-feature-icon-green {
  background: rgba(5, 150, 105, 0.1);
  color: #059669;
}

.qs-feature-icon-amber {
  background: rgba(217, 119, 6, 0.1);
  color: #D97706;
}

.qs-feature-icon-red {
  background: rgba(220, 38, 38, 0.1);
  color: #DC2626;
}

.qs-feature-icon-indigo {
  background: rgba(79, 70, 229, 0.1);
  color: #4F46E5;
}

.qs-feature-icon-teal {
  background: rgba(20, 184, 166, 0.1);
  color: #14B8A6;
}

.qs-feature-icon-rose {
  background: rgba(225, 29, 72, 0.1);
  color: #E11D48;
}

.qs-feature-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 6px;
}

.qs-feature-card p {
  font-size: 0.85rem;
  color: #6B7280;
  line-height: 1.6;
  margin-bottom: 12px;
}

.qs-feature-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #2563EB;
  text-decoration: none;
  transition: gap 0.2s ease;
}

.qs-feature-link:hover {
  gap: 10px;
}

.qs-feature-link svg {
  width: 16px;
  height: 16px;
  transition: transform 0.2s ease;
}

.qs-feature-link:hover svg {
  transform: translateX(2px);
}


/* --------------------------------------------------------------------------
   EXAM BODIES
   -------------------------------------------------------------------------- */

.qs-exam-bodies {
  background: white;
  padding: 100px 0;
}

.qs-exam-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 56px;
}

.qs-exam-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #2563EB;
  margin-bottom: 12px;
}

.qs-exam-header h2 {
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #111827;
  margin-bottom: 16px;
}

.qs-exam-header p {
  font-size: 1.05rem;
  color: #6B7280;
  line-height: 1.7;
}

.qs-exam-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.qs-exam-card {
  padding: 24px;
  background: white;
  border-radius: var(--qs-radius-lg, 16px);
  border: 1px solid #E5E7EB;
  border-top: 4px solid var(--qs-exam-accent, #2563EB);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  display: block;
}

.qs-exam-card:hover {
  box-shadow:
    0 4px 12px -2px rgba(0, 0, 0, 0.06),
    0 8px 20px -4px rgba(0, 0, 0, 0.03);
  border-color: #D1D5DB;
}

.qs-exam-card:hover {
  border-top-color: var(--qs-exam-accent, #2563EB);
}

.qs-exam-card h3 {
  font-weight: 700;
  font-size: 1rem;
  color: #111827;
  margin-bottom: 4px;
}

.qs-exam-card p {
  font-size: 0.85rem;
  color: #6B7280;
  margin-bottom: 12px;
  line-height: 1.5;
}

.qs-exam-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--qs-exam-accent, #2563EB);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.qs-exam-card:hover .qs-exam-link {
  gap: 10px;
}


/* --------------------------------------------------------------------------
   SUBJECTS
   -------------------------------------------------------------------------- */

.qs-subjects {
  background: #F8FAFC;
  padding: 100px 0;
}

.qs-subjects-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 56px;
}

.qs-subjects-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #2563EB;
  margin-bottom: 12px;
}

.qs-subjects-header h2 {
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #111827;
  margin-bottom: 16px;
}

.qs-subjects-header p {
  font-size: 1.05rem;
  color: #6B7280;
  line-height: 1.7;
}

.qs-subjects-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.qs-subject-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  background: white;
  border-radius: var(--qs-radius-lg, 16px);
  border: 1px solid #E5E7EB;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.qs-subject-card:hover {
  border-color: #2563EB;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.08);
  transform: translateY(-1px);
}

.qs-subject-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
  color: white;
  flex-shrink: 0;
}

.qs-subject-name {
  font-weight: 600;
  font-size: 0.95rem;
  color: #111827;
}


/* --------------------------------------------------------------------------
   STATISTICS BAR
   -------------------------------------------------------------------------- */

.qs-stats {
  background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%);
  padding: 80px 0;
  color: white;
  position: relative;
  overflow: hidden;
}

.qs-stats::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.06) 1px, transparent 0);
  background-size: 32px 32px;
  pointer-events: none;
}

.qs-stats-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 32px;
  position: relative;
  z-index: 1;
}

.qs-stat-item {
  text-align: center;
}

.qs-stat-number {
  font-size: 2.5rem;
  font-weight: 900;
  display: block;
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.qs-stat-label {
  font-size: 0.85rem;
  opacity: 0.8;
  font-weight: 500;
}


/* --------------------------------------------------------------------------
   TOP PERFORMERS
   -------------------------------------------------------------------------- */

.qs-performers {
  background: white;
  padding: 100px 0;
}

.qs-performers-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 40px;
}

.qs-performers-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #2563EB;
  margin-bottom: 12px;
}

.qs-performers-header h2 {
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #111827;
  margin-bottom: 16px;
}

.qs-performers-header p {
  font-size: 1.05rem;
  color: #6B7280;
  line-height: 1.7;
}

.qs-performers-tabs {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.qs-performers-tab {
  padding: 10px 20px;
  border-radius: 100px;
  border: 1px solid #E5E7EB;
  background: white;
  font-weight: 500;
  font-size: 0.9rem;
  color: #6B7280;
  cursor: pointer;
  transition: all 0.2s ease;
}

.qs-performers-tab:hover {
  border-color: #D1D5DB;
  color: #374151;
  background: #F9FAFB;
}

.qs-performers-tab.active {
  background: #2563EB;
  color: white;
  border-color: #2563EB;
}

.qs-performers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.qs-performer-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background: white;
  border-radius: var(--qs-radius-lg, 16px);
  border: 1px solid #E5E7EB;
  transition: all 0.2s ease;
}

.qs-performer-card:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  border-color: #D1D5DB;
}

.qs-performer-rank {
  font-size: 0.85rem;
  font-weight: 700;
  color: #9CA3AF;
  min-width: 24px;
}

.qs-performer-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.2rem;
  color: white;
  flex-shrink: 0;
}

.qs-performer-info {
  flex: 1;
  min-width: 0;
}

.qs-performer-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: #111827;
  margin-bottom: 2px;
}

.qs-performer-location {
  font-size: 0.8rem;
  color: #9CA3AF;
}

.qs-performer-score {
  margin-left: auto;
  font-weight: 800;
  font-size: 1.1rem;
  color: #2563EB;
  flex-shrink: 0;
}


/* --------------------------------------------------------------------------
   TESTIMONIALS
   -------------------------------------------------------------------------- */

.qs-testimonials {
  background: #F8FAFC;
  padding: 100px 0;
}

.qs-testimonials-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 56px;
}

.qs-testimonials-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #2563EB;
  margin-bottom: 12px;
}

.qs-testimonials-header h2 {
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #111827;
  margin-bottom: 16px;
}

.qs-testimonials-header p {
  font-size: 1.05rem;
  color: #6B7280;
  line-height: 1.7;
}

.qs-testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.qs-testimonial-card {
  padding: 32px;
  background: white;
  border-radius: var(--qs-radius-xl, 20px);
  border: 1px solid #E5E7EB;
  position: relative;
  transition: all 0.3s ease;
}

.qs-testimonial-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.qs-testimonial-stars {
  display: flex;
  gap: 4px;
  color: #F59E0B;
  margin-bottom: 16px;
  font-size: 1rem;
}

.qs-testimonial-text {
  font-size: 1rem;
  line-height: 1.7;
  color: #374151;
  margin-bottom: 24px;
  font-style: italic;
}

.qs-testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.qs-testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  color: white;
  flex-shrink: 0;
}

.qs-testimonial-name {
  font-weight: 700;
  font-size: 0.9rem;
  color: #111827;
}

.qs-testimonial-role {
  font-size: 0.8rem;
  color: #9CA3AF;
}

.qs-testimonial-quote {
  position: absolute;
  top: 24px;
  right: 28px;
  font-size: 3rem;
  line-height: 1;
  color: #F3F4F6;
  font-family: Georgia, serif;
  pointer-events: none;
}


/* --------------------------------------------------------------------------
   FINAL CTA
   -------------------------------------------------------------------------- */

.qs-final-cta {
  margin: 0 24px;
  padding: 80px;
  background: linear-gradient(135deg, #2563EB, #7C3AED);
  border-radius: 32px;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
}

.qs-final-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.07) 1px, transparent 0);
  background-size: 24px 24px;
  pointer-events: none;
}

.qs-final-cta h2 {
  font-size: 2.5rem;
  font-weight: 900;
  margin-bottom: 16px;
  color: white;
  position: relative;
  z-index: 1;
  letter-spacing: -0.02em;
}

.qs-final-cta p {
  font-size: 1.1rem;
  opacity: 0.85;
  margin-bottom: 32px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

.qs-final-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  position: relative;
  z-index: 1;
}


/* --------------------------------------------------------------------------
   SECTION SHARED STYLES
   -------------------------------------------------------------------------- */

.qs-section {
  padding: 100px 0;
}

.qs-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.qs-section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 56px;
}

.qs-section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #2563EB;
  margin-bottom: 12px;
}

.qs-section-title {
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #111827;
  margin-bottom: 16px;
}

.qs-section-desc {
  font-size: 1.05rem;
  color: #6B7280;
  line-height: 1.7;
}


/* --------------------------------------------------------------------------
   BUTTONS
   -------------------------------------------------------------------------- */

.qs-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
  line-height: 1;
}

.qs-btn-primary {
  background: #2563EB;
  color: white;
  box-shadow: 0 1px 2px rgba(37, 99, 235, 0.3);
}

.qs-btn-primary:hover {
  background: #1D4ED8;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
  transform: translateY(-1px);
}

.qs-btn-secondary {
  background: white;
  color: #374151;
  border: 1px solid #E5E7EB;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.qs-btn-secondary:hover {
  background: #F9FAFB;
  border-color: #D1D5DB;
  transform: translateY(-1px);
}

.qs-btn-white {
  background: white;
  color: #2563EB;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.qs-btn-white:hover {
  background: #F0F4FF;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.qs-btn-ghost {
  background: rgba(255, 255, 255, 0.15);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(4px);
}

.qs-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-1px);
}

.qs-btn-lg {
  padding: 16px 32px;
  font-size: 1rem;
  border-radius: 14px;
}

.qs-btn svg {
  width: 18px;
  height: 18px;
}


/* --------------------------------------------------------------------------
   RESPONSIVE - TABLET
   -------------------------------------------------------------------------- */

@media (max-width: 1024px) {
  .qs-hero h1 {
    font-size: 3rem;
  }

  .qs-hero-inner {
    gap: 40px;
  }

  .qs-features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .qs-subjects-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .qs-stats-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
  }

  .qs-performers-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .qs-hero {
    min-height: auto;
    padding-top: 100px;
    padding-bottom: 60px;
  }

  .qs-hero-inner {
    flex-direction: column;
    gap: 48px;
  }

  .qs-hero-left {
    max-width: none;
    text-align: center;
  }

  .qs-hero h1 {
    font-size: 2.25rem;
  }

  .qs-hero-desc {
    max-width: none;
  }

  .qs-hero-buttons {
    justify-content: center;
  }

  .qs-hero-social {
    justify-content: center;
  }

  .qs-hero-right {
    min-height: 350px;
  }

  .qs-hero-illustration {
    height: 350px;
  }

  .qs-hero-device-tablet {
    width: 220px;
    height: 160px;
  }

  .qs-hero-device-laptop {
    width: 160px;
    height: 110px;
  }

  .qs-hero-float-card {
    display: none;
  }

  .qs-why-grid {
    grid-template-columns: 1fr;
  }

  .qs-features-grid {
    grid-template-columns: 1fr;
  }

  .qs-exam-grid {
    grid-template-columns: 1fr;
  }

  .qs-subjects-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .qs-stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }

  .qs-stat-number {
    font-size: 2rem;
  }

  .qs-performers-grid {
    grid-template-columns: 1fr;
  }

  .qs-testimonials-grid {
    grid-template-columns: 1fr;
  }

  .qs-final-cta {
    margin: 0 16px;
    padding: 48px 24px;
    border-radius: 24px;
  }

  .qs-final-cta h2 {
    font-size: 1.75rem;
  }

  .qs-section {
    padding: 64px 0;
  }
}

@media (max-width: 480px) {
  .qs-hero h1 {
    font-size: 1.85rem;
  }

  .qs-hero-desc {
    font-size: 1rem;
  }

  .qs-hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .qs-subjects-grid {
    grid-template-columns: 1fr;
  }

  .qs-stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .qs-final-buttons {
    flex-direction: column;
    align-items: center;
  }
}
