/* ===== TRADE-IN (INNBYTTE) PAGE STYLES ===== */

.rt-trade-wrapper {
  width: 100%;
  overflow-x: hidden;
}

/* Hero Section */
.rt-trade-hero {
  position: relative;
  padding: 180px 0 100px;
  background: var(--hero-gradient);
  overflow: hidden;
}

.rt-trade-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 50%, rgba(41, 86, 141, 0.15) 0%, transparent 50%),
              radial-gradient(circle at 80% 50%, rgba(41, 86, 141, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.rt-trade-hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  padding: 0 20px;
}

.rt-trade-hero-title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  color: var(--pure-white);
  margin-bottom: 1.5rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.rt-trade-hero-subtitle {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Main Content */
.rt-trade-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 20px;
}

/* Introduction */
.rt-trade-intro {
  max-width: 900px;
  margin: 0 auto 80px;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.rt-trade-intro.revealed {
  opacity: 1;
  transform: translateY(0);
}

.rt-trade-intro-text {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--silver-gray);
  text-align: center;
}

/* Benefits Grid */
.rt-trade-benefits {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  margin-bottom: 80px;
}

.rt-trade-benefit {
  background: var(--pure-white);
  border-radius: 16px;
  padding: 40px 30px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(30px);
}

.rt-trade-benefit.revealed {
  opacity: 1;
  transform: translateY(0);
}

.rt-trade-benefit:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

.rt-trade-benefit-icon {
  width: 80px;
  height: 80px;
  background: var(--icon-gradient);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  font-size: 36px;
  color: var(--royal-blue);
  transition: all 0.3s ease;
}

.rt-trade-benefit-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--royal-navy);
  margin-bottom: 16px;
}

.rt-trade-benefit-description {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--silver-gray);
}

/* Process Section */
.rt-trade-process {
  background: var(--pale-blue);
  padding: 100px 0;
  margin: 80px 0;
}

.rt-trade-process-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

.rt-trade-process-header {
  text-align: center;
  margin-bottom: 80px;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.rt-trade-process-header.revealed {
  opacity: 1;
  transform: translateY(0);
}

.rt-trade-process-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--royal-navy);
  margin-bottom: 16px;
}

.rt-trade-process-subtitle {
  font-size: 1.125rem;
  color: var(--silver-gray);
}

/* Timeline */
.rt-trade-timeline {
  position: relative;
  padding: 20px 0;
}

.rt-trade-timeline::before {
  content: '';
  position: absolute;
  left: 50px;
  top: 40px;
  bottom: 40px;
  width: 2px;
  background: #e2e8f0;
}

.rt-trade-timeline-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 60px;
  gap: 30px;
  opacity: 0;
  transform: translateX(-30px);
  transition: all 0.8s ease;
}

.rt-trade-timeline-item.revealed {
  opacity: 1;
  transform: translateX(0);
}

.rt-trade-timeline-item:last-child {
  margin-bottom: 0;
}

.rt-trade-timeline-dot {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: #1e3a8a;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.125rem;
  box-shadow: 0 4px 20px rgba(30, 58, 138, 0.3);
}

.rt-trade-timeline-content {
  flex: 1;
  background: var(--pure-white);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.rt-trade-timeline-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--royal-navy);
  margin-bottom: 12px;
}

.rt-trade-timeline-description {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--silver-gray);
}

/* Features Section */
.rt-trade-features {
  margin-top: 100px;
}

.rt-trade-features-header {
  text-align: center;
  margin-bottom: 60px;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.rt-trade-features-header.revealed {
  opacity: 1;
  transform: translateY(0);
}

.rt-trade-features-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--royal-navy);
}

.rt-trade-features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.rt-trade-feature {
  text-align: center;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.rt-trade-feature.revealed {
  opacity: 1;
  transform: translateY(0);
}

.rt-trade-feature-icon {
  width: 80px;
  height: 80px;
  background: var(--icon-gradient);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-size: 36px;
  color: var(--royal-blue);
  transition: all 0.3s ease;
}

.rt-trade-feature:hover .rt-trade-feature-icon {
  transform: scale(1.05);
  box-shadow: 0 10px 30px rgba(41, 86, 141, 0.2);
  background: var(--button-gradient);
  color: var(--pure-white);
}

.rt-trade-feature-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--royal-navy);
  margin-bottom: 12px;
}

.rt-trade-feature-description {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--silver-gray);
}

/* CTA Section */
.rt-trade-cta {
  background: linear-gradient(135deg, #0a1a33 0%, #1e3a8a 100%);
  padding: 80px 20px;
  margin-top: 100px;
}

.rt-trade-cta-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.rt-trade-cta-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--pure-white);
  margin-bottom: 20px;
}

.rt-trade-cta-text {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  margin-bottom: 40px;
}

.rt-trade-cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.rt-trade-cta-button {
  padding: 16px 32px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 50px;
  transition: all 0.3s ease;
  display: inline-block;
}

.rt-trade-cta-button-primary {
  background: var(--pure-white);
  color: var(--royal-navy);
}

.rt-trade-cta-button-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(255, 255, 255, 0.3);
}

.rt-trade-cta-button-secondary {
  background: transparent;
  color: var(--pure-white);
  border: 2px solid rgba(255, 255, 255, 0.5);
}

.rt-trade-cta-button-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #ffffff;
}

/* Responsive Design */
@media (max-width: 768px) {
  .rt-trade-hero {
    padding: 140px 0 80px;
  }
  
  .rt-trade-hero-title {
    font-size: 2rem;
  }
  
  .rt-trade-hero-subtitle {
    font-size: 1.125rem;
  }
  
  .rt-trade-content {
    padding: 60px 20px;
  }
  
  .rt-trade-benefits {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .rt-trade-features-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .rt-trade-timeline::before {
    left: 20px;
  }
  
  .rt-trade-timeline-item {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .rt-trade-timeline-dot {
    margin-left: 0;
  }
  
  .rt-trade-process-title,
  .rt-trade-features-title,
  .rt-trade-cta-title {
    font-size: 2rem;
  }
  
  .rt-trade-cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .rt-trade-cta-button {
    width: 100%;
    max-width: 300px;
  }
}

/* Keep 2x2 layout on tablet */
@media (max-width: 1024px) and (min-width: 769px) {
  .rt-trade-benefits {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .rt-trade-features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}