/* ============================================
   LearnAndEarn Partner Landing Page
   ============================================ */

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background-color: #f8fafc;
  color: #1e293b;
  line-height: 1.6;
}

.partner-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ============================================
   Top Bar
   ============================================ */
.partner-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
  margin-bottom: 20px;
}

.partner-top-bar .top-bar-logo a {
  font-size: 1.5em;
  font-weight: 700;
  color: #667eea;
  text-decoration: none;
}

.partner-top-bar .top-bar-actions {
  display: flex;
  gap: 15px;
  align-items: center;
}

.partner-top-bar .top-bar-link {
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: 500;
  text-decoration: none;
  color: #64748b;
  transition: all 0.2s ease;
}

.partner-top-bar .top-bar-link:hover {
  color: #667eea;
}

.partner-top-bar .top-bar-login {
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
}

.partner-top-bar .top-bar-login:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

/* ============================================
   Hero Section
   ============================================ */
.partner-hero {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 24px;
  padding: 80px 40px;
  text-align: center;
  color: white;
  margin-bottom: 60px;
  position: relative;
  overflow: hidden;
}

.partner-hero::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 60%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  pointer-events: none;
}

.partner-hero-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  padding: 8px 20px;
  border-radius: 20px;
  font-size: 0.9em;
  font-weight: 600;
  margin-bottom: 25px;
  backdrop-filter: blur(10px);
}

.partner-hero h1 {
  font-size: 3em;
  margin: 0 0 20px 0;
  line-height: 1.2;
}

.partner-hero h1 .highlight {
  background: linear-gradient(to right, #fbbf24, #f59e0b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.partner-hero-subtitle {
  font-size: 1.3em;
  max-width: 600px;
  margin: 0 auto 40px;
  opacity: 0.9;
}

.partner-hero-stats {
  display: flex;
  justify-content: center;
  gap: 50px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

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

.stat-number {
  display: block;
  font-size: 2.5em;
  font-weight: 700;
  line-height: 1;
}

.stat-label {
  display: block;
  font-size: 0.9em;
  opacity: 0.8;
  margin-top: 8px;
}

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

.cta-large {
  padding: 18px 40px;
  font-size: 1.1em;
}

/* ============================================
   Benefits Section
   ============================================ */
.partner-benefits {
  margin-bottom: 80px;
}

.partner-benefits h2 {
  text-align: center;
  font-size: 2.2em;
  margin-bottom: 50px;
  color: #1e293b;
}

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

.benefit-card {
  background: white;
  border-radius: 16px;
  padding: 35px 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  border: 1px solid #e2e8f0;
}

.benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.1);
  border-color: #667eea;
}

.benefit-icon {
  font-size: 2.5em;
  margin-bottom: 20px;
}

.benefit-card h3 {
  font-size: 1.3em;
  margin: 0 0 15px 0;
  color: #1e293b;
}

.benefit-card p {
  color: #64748b;
  margin: 0;
  line-height: 1.7;
}

/* ============================================
   Process Section
   ============================================ */
.partner-process {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  border-radius: 24px;
  padding: 80px 40px;
  margin-bottom: 80px;
  color: white;
}

.partner-process h2 {
  text-align: center;
  font-size: 2.2em;
  margin-bottom: 60px;
}

.process-timeline {
  max-width: 800px;
  margin: 0 auto;
}

.process-step {
  display: flex;
  gap: 30px;
  margin-bottom: 40px;
  align-items: flex-start;
}

.process-step:last-child {
  margin-bottom: 0;
}

.process-number {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4em;
  font-weight: 700;
  flex-shrink: 0;
}

.process-content h3 {
  font-size: 1.3em;
  margin: 0 0 10px 0;
}

.process-content p {
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
  line-height: 1.6;
}

/* ============================================
   Social Proof Section
   ============================================ */
.partner-proof {
  background: white;
  border-radius: 20px;
  padding: 60px 40px;
  margin-bottom: 80px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  border: 1px solid #e2e8f0;
}

.proof-quote {
  font-size: 1.4em;
  font-style: italic;
  color: #475569;
  max-width: 700px;
  margin: 0 auto 30px;
  line-height: 1.7;
}

.proof-quote::before {
  content: "\201C";
  font-size: 3em;
  color: #667eea;
  line-height: 0;
  vertical-align: -0.4em;
  margin-right: 10px;
}

.proof-author {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.proof-author strong {
  color: #1e293b;
  font-size: 1.1em;
}

.proof-author span {
  color: #64748b;
  font-size: 0.95em;
}

/* ============================================
   Contact Section
   ============================================ */
.partner-contact {
  background: white;
  border-radius: 24px;
  padding: 80px 40px;
  margin-bottom: 80px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  border: 1px solid #e2e8f0;
}

.partner-contact h2 {
  text-align: center;
  font-size: 2.2em;
  margin: 0 0 15px 0;
  color: #1e293b;
}

.contact-subtitle {
  text-align: center;
  color: #64748b;
  font-size: 1.1em;
  margin: 0 0 50px 0;
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

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

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  color: #374151;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid #e2e8f0;
  border-radius: 10px;
  font-size: 1em;
  transition: all 0.2s ease;
  font-family: inherit;
  box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #94a3b8;
}

.contact-form button[type="submit"] {
  width: 100%;
  margin-top: 10px;
}

.contact-alternative {
  text-align: center;
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid #e2e8f0;
}

.contact-alternative p {
  color: #64748b;
  margin: 0 0 15px 0;
}

/* ============================================
   FAQ Section
   ============================================ */
.partner-faq {
  margin-bottom: 80px;
}

.partner-faq h2 {
  text-align: center;
  font-size: 2.2em;
  margin-bottom: 50px;
  color: #1e293b;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: white;
  border-radius: 12px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  border: 1px solid #e2e8f0;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-weight: 600;
  color: #1e293b;
  transition: background 0.2s ease;
}

.faq-question:hover {
  background: #f8fafc;
}

.faq-icon {
  font-size: 1.5em;
  color: #667eea;
  font-weight: 300;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer p {
  padding: 0 25px 20px;
  color: #64748b;
  margin: 0;
  line-height: 1.7;
}

.faq-item.open .faq-question {
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
}

/* ============================================
   Footer
   ============================================ */
.partner-footer {
  background: #1e293b;
  color: white;
  padding: 50px 20px;
  border-radius: 24px 24px 0 0;
  text-align: center;
}

.partner-footer .footer-links {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 25px;
}

.partner-footer .footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.2s ease;
}

.partner-footer .footer-links a:hover {
  color: white;
}

.partner-footer .footer-copyright {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9em;
  margin: 0;
}

/* ============================================
   CTA Buttons (Override)
   ============================================ */
.cta-button {
  display: inline-block;
  padding: 15px 35px;
  font-size: 1em;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  text-align: center;
  border: none;
}

.cta-primary {
  background: linear-gradient(135deg, #28a745, #20c997);
  color: white;
}

.cta-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(40, 167, 69, 0.3);
}

.cta-secondary {
  background: transparent;
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.cta-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
}

.partner-contact .cta-secondary {
  color: #667eea;
  border-color: #667eea;
}

.partner-contact .cta-secondary:hover {
  background: #f0f2ff;
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 768px) {
  .partner-top-bar {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }

  .partner-hero {
    padding: 50px 25px;
  }

  .partner-hero h1 {
    font-size: 2em;
  }

  .partner-hero-subtitle {
    font-size: 1.1em;
  }

  .partner-hero-stats {
    gap: 30px;
  }

  .stat-number {
    font-size: 2em;
  }

  .partner-hero-cta {
    flex-direction: column;
    align-items: center;
  }

  .partner-hero-cta .cta-button {
    width: 100%;
    max-width: 300px;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
  }

  .partner-process {
    padding: 50px 25px;
  }

  .process-step {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }

  .process-number {
    margin: 0 auto;
  }

  .partner-proof {
    padding: 40px 25px;
  }

  .proof-quote {
    font-size: 1.2em;
  }

  .partner-contact {
    padding: 50px 25px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .partner-faq h2 {
    font-size: 1.8em;
  }

  .partner-footer .footer-links {
    flex-direction: column;
    gap: 15px;
  }
}

@media (max-width: 480px) {
  .partner-hero h1 {
    font-size: 1.6em;
  }

  .stat-number {
    font-size: 1.6em;
  }

  .stat-label {
    font-size: 0.8em;
  }

  .cta-large {
    padding: 15px 30px;
    font-size: 1em;
  }
}

/* ============================================
   Access Restricted Page
   ============================================ */
.access-restricted {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.restricted-content {
  background: white;
  border-radius: 24px;
  padding: 60px 50px;
  max-width: 500px;
  text-align: center;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  border: 1px solid #e2e8f0;
}

.restricted-icon {
  font-size: 4em;
  margin-bottom: 20px;
}

.restricted-content h1 {
  font-size: 2em;
  color: #1e293b;
  margin: 0 0 25px 0;
}

.restricted-message {
  color: #64748b;
  line-height: 1.7;
  margin-bottom: 30px;
}

.restricted-message p {
  margin: 0 0 15px 0;
}

.verification-note {
  background: #fef3c7;
  border: 1px solid #fcd34d;
  border-radius: 10px;
  padding: 15px 20px;
  color: #92400e;
  font-size: 0.95em;
  text-align: left;
}

.verification-note strong {
  color: #78350f;
}

.restricted-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 30px;
}

.restricted-actions .cta-button {
  display: block;
  width: 100%;
  padding: 16px 24px;
  font-size: 1em;
  font-weight: 600;
  border-radius: 10px;
  text-decoration: none;
  text-align: center;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.restricted-actions .cta-primary {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white !important;
  border: none;
}

.restricted-actions .cta-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.restricted-actions .cta-secondary {
  background: white;
  color: #667eea !important;
  border: 2px solid #667eea;
}

.restricted-actions .cta-secondary:hover {
  background: #f0f2ff;
}

.restricted-footer {
  padding-top: 20px;
  border-top: 1px solid #e2e8f0;
}

.restricted-footer p {
  color: #94a3b8;
  font-size: 0.9em;
  margin: 0;
}

.restricted-footer a {
  color: #667eea;
  text-decoration: none;
}

.restricted-footer a:hover {
  text-decoration: underline;
}

@media (max-width: 480px) {
  .restricted-content {
    padding: 40px 25px;
  }

  .restricted-icon {
    font-size: 3em;
  }

  .restricted-content h1 {
    font-size: 1.6em;
  }
}
