/* ============================================
   Warranty Page - Goranked Style
   ============================================ */

:root {
  --warranty-bg: #0c0f14;
  --warranty-bg-soft: #11151c;
  --warranty-card: #121722;
  --warranty-border: rgba(255, 255, 255, 0.08);
  --warranty-text: #e7ecf3;
  --warranty-text-dim: #aab2c0;
  --warranty-primary: #FF8036;
  --warranty-primary-2: #FFB24D;
  --warranty-gold: #C9A227;
  --warranty-accent: #23C199;
  
  --warranty-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  --warranty-radius-xl: 22px;
  --warranty-radius-lg: 16px;
  --warranty-radius-md: 12px;
  
  --grad-primary: linear-gradient(135deg, var(--warranty-primary) 0%, var(--warranty-primary-2) 100%);
}

.warranty-page {
  background: var(--warranty-bg);
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--warranty-text);
}

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

/* ============================================
   Hero Section
   ============================================ */
.warranty-hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 0 80px;
  overflow: hidden;
}

.warranty-hero__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.warranty-hero__bg-grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(255, 128, 54, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 128, 54, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  opacity: 0.5;
  animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
  0% { transform: translate(0, 0); }
  100% { transform: translate(50px, 50px); }
}

.warranty-hero__bg-glow {
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 1000px;
  height: 1000px;
  background: radial-gradient(circle, rgba(255, 128, 54, 0.2) 0%, transparent 70%);
  pointer-events: none;
  animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 0.5; transform: translateX(-50%) scale(1); }
  50% { opacity: 0.8; transform: translateX(-50%) scale(1.1); }
}

.warranty-hero__particles {
  position: absolute;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.warranty-hero__particles::before,
.warranty-hero__particles::after {
  content: '';
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--warranty-primary);
  border-radius: 50%;
  opacity: 0.6;
  animation: float 15s infinite;
}

.warranty-hero__particles::before {
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.warranty-hero__particles::after {
  top: 60%;
  right: 15%;
  animation-delay: 5s;
}

@keyframes float {
  0%, 100% { transform: translateY(0) translateX(0); opacity: 0.6; }
  25% { transform: translateY(-30px) translateX(20px); opacity: 0.8; }
  50% { transform: translateY(-60px) translateX(-10px); opacity: 0.4; }
  75% { transform: translateY(-30px) translateX(-20px); opacity: 0.8; }
}

.warranty-hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

.warranty-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: rgba(255, 128, 54, 0.1);
  border: 1px solid rgba(255, 128, 54, 0.3);
  border-radius: 50px;
  color: var(--warranty-primary);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 32px;
  backdrop-filter: blur(10px);
}

.warranty-hero__badge svg {
  width: 20px;
  height: 20px;
}

.warranty-hero__title {
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 700;
  color: #fff;
  margin: 0 0 24px;
  line-height: 1.2;
  font-family: "Gilroy", "Open Sans", system-ui, sans-serif;
}

.warranty-hero__subtitle {
  font-size: clamp(16px, 2vw, 22px);
  color: var(--warranty-text-dim);
  margin: 0 0 48px;
  line-height: 1.6;
}

.warranty-hero__scroll {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--warranty-text-dim);
  font-size: 14px;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.warranty-hero__scroll svg {
  width: 24px;
  height: 24px;
}

/* ============================================
   Section Header
   ============================================ */
.warranty-section__header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 64px;
}

.warranty-section__badge {
  display: inline-block;
  padding: 8px 16px;
  background: rgba(255, 128, 54, 0.1);
  border: 1px solid rgba(255, 128, 54, 0.3);
  border-radius: 50px;
  color: var(--warranty-primary);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 16px;
}

.warranty-section__title {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  color: #fff;
  margin: 0 0 16px;
  line-height: 1.2;
  font-family: "Gilroy", "Open Sans", system-ui, sans-serif;
}

.warranty-section__subtitle {
  font-size: 18px;
  color: var(--warranty-text-dim);
  margin: 0;
  line-height: 1.6;
}

/* ============================================
   Steps Section
   ============================================ */
.warranty-how {
  padding: 100px 0;
  position: relative;
}

.warranty-steps {
  display: flex;
  flex-direction: column;
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
}

.warranty-step {
  display: flex;
  gap: 32px;
  padding: 32px;
  background: var(--warranty-card);
  border: 1px solid var(--warranty-border);
  border-radius: var(--warranty-radius-lg);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.warranty-step::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--grad-primary);
  transform: scaleY(0);
  transition: transform 0.3s ease;
}

.warranty-step:hover {
  transform: translateX(8px);
  border-color: rgba(255, 128, 54, 0.3);
  box-shadow: var(--warranty-shadow);
}

.warranty-step:hover::before {
  transform: scaleY(1);
}

.warranty-step__number {
  position: relative;
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 128, 54, 0.1);
  border: 2px solid rgba(255, 128, 54, 0.3);
  border-radius: var(--warranty-radius-lg);
}

.warranty-step__number span {
  font-size: 24px;
  font-weight: 700;
  color: var(--warranty-primary);
  font-family: "Gilroy", "Open Sans", system-ui, sans-serif;
}

.warranty-step__icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.warranty-step:hover .warranty-step__icon {
  opacity: 0.1;
}

.warranty-step__icon svg {
  width: 48px;
  height: 48px;
  color: var(--warranty-primary);
}

.warranty-step__content {
  flex: 1;
}

.warranty-step__title {
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 12px;
  font-family: "Gilroy", "Open Sans", system-ui, sans-serif;
}

.warranty-step__text {
  font-size: 16px;
  color: var(--warranty-text-dim);
  margin: 0 0 16px;
  line-height: 1.6;
}

.warranty-step__details {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--warranty-border);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.warranty-step__detail-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--warranty-text-dim);
  font-size: 14px;
}

.warranty-step__detail-item svg {
  width: 20px;
  height: 20px;
  color: var(--warranty-accent);
  flex-shrink: 0;
}

.warranty-step__toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  background: none;
  border: none;
  color: var(--warranty-primary);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.warranty-step__toggle:hover {
  color: var(--warranty-primary-2);
}

.warranty-step__toggle svg {
  width: 16px;
  height: 16px;
  transition: transform 0.3s ease;
}

.warranty-step__toggle.active svg {
  transform: rotate(180deg);
}

/* ============================================
   Benefits Section
   ============================================ */
.warranty-benefits {
  padding: 100px 0;
  background: var(--warranty-bg-soft);
}

.warranty-benefits__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.warranty-benefit-card {
  padding: 32px;
  background: var(--warranty-card);
  border: 1px solid var(--warranty-border);
  border-radius: var(--warranty-radius-lg);
  transition: all 0.3s ease;
  text-align: center;
}

.warranty-benefit-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 128, 54, 0.3);
  box-shadow: var(--warranty-shadow);
}

.warranty-benefit-card__icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 128, 54, 0.1);
  border-radius: var(--warranty-radius-lg);
  color: var(--warranty-primary);
  transition: all 0.3s ease;
}

.warranty-benefit-card:hover .warranty-benefit-card__icon {
  background: rgba(255, 128, 54, 0.2);
  transform: scale(1.1);
}

.warranty-benefit-card__icon svg {
  width: 48px;
  height: 48px;
}

.warranty-benefit-card__title {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 12px;
  font-family: "Gilroy", "Open Sans", system-ui, sans-serif;
}

.warranty-benefit-card__text {
  font-size: 14px;
  color: var(--warranty-text-dim);
  margin: 0;
  line-height: 1.6;
}

/* ============================================
   FAQ Section
   ============================================ */
.warranty-faq {
  padding: 100px 0;
}

.warranty-faq__list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.warranty-faq-item {
  background: var(--warranty-card);
  border: 1px solid var(--warranty-border);
  border-radius: var(--warranty-radius-lg);
  overflow: hidden;
  transition: all 0.3s ease;
}

.warranty-faq-item:hover {
  border-color: rgba(255, 128, 54, 0.3);
}

.warranty-faq-item.active {
  border-color: rgba(255, 128, 54, 0.5);
}

.warranty-faq-item__question {
  width: 100%;
  padding: 24px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: none;
  border: none;
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: all 0.3s ease;
}

.warranty-faq-item__question:hover {
  color: var(--warranty-primary);
}

.warranty-faq-item__question svg {
  width: 24px;
  height: 24px;
  color: var(--warranty-primary);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.warranty-faq-item.active .warranty-faq-item__question svg {
  transform: rotate(180deg);
}

.warranty-faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 32px;
}

.warranty-faq-item.active .warranty-faq-item__answer {
  max-height: 500px;
  padding: 0 32px 24px;
}

.warranty-faq-item__answer p {
  margin: 0;
  color: var(--warranty-text-dim);
  font-size: 16px;
  line-height: 1.6;
}

/* ============================================
   Legal Document Section
   ============================================ */
.warranty-legal {
  padding: 100px 0;
  background: var(--warranty-bg-soft);
}

.warranty-legal .container {
  max-width: 100%;
  padding: 0;
}

.warranty-legal__document {
  max-width: 100%;
  width: 100%;
  margin: 0;
  background: var(--warranty-card);
  border: none;
  border-radius: 0;
  padding: 64px;
  border-left: none;
  border-right: none;
}

.warranty-legal__section {
  margin-bottom: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--warranty-border);
}

.warranty-legal__section:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.warranty-legal__section--appendix {
  background: rgba(255, 128, 54, 0.05);
  padding: 32px;
  border-radius: var(--warranty-radius-lg);
  border: 1px solid rgba(255, 128, 54, 0.2);
}

.warranty-legal__section-title {
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 20px;
  font-family: "Gilroy", "Open Sans", system-ui, sans-serif;
}

.warranty-legal__section p {
  font-size: 16px;
  color: var(--warranty-text-dim);
  margin: 0 0 16px;
  line-height: 1.7;
}

.warranty-legal__section p strong {
  color: var(--warranty-text);
  font-weight: 600;
}

.warranty-legal__list {
  list-style: none;
  padding: 0;
  margin: 16px 0;
}

.warranty-legal__list li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 12px;
  font-size: 16px;
  color: var(--warranty-text-dim);
  line-height: 1.7;
}

.warranty-legal__list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--warranty-primary);
  font-weight: 700;
  font-size: 20px;
}

.warranty-legal__list--ordered {
  counter-reset: item;
  list-style: none;
}

.warranty-legal__list--ordered li {
  counter-increment: item;
  padding-left: 32px;
}

.warranty-legal__list--ordered li::before {
  content: counter(item) '.';
  position: absolute;
  left: 0;
  color: var(--warranty-primary);
  font-weight: 700;
  font-size: 16px;
}

.warranty-legal__list ul {
  margin-top: 8px;
  margin-left: 24px;
}

.warranty-plan {
  background: rgba(255, 128, 54, 0.05);
  border: 1px solid rgba(255, 128, 54, 0.2);
  border-radius: var(--warranty-radius-lg);
  padding: 24px;
  margin: 20px 0;
}

.warranty-plan__title {
  font-size: 20px;
  font-weight: 700;
  color: var(--warranty-primary);
  margin: 0 0 16px;
  font-family: "Gilroy", "Open Sans", system-ui, sans-serif;
}

.warranty-plan__list {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
}

.warranty-plan__list li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 8px;
  font-size: 16px;
  color: var(--warranty-text-dim);
  line-height: 1.6;
}

.warranty-plan__list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--warranty-accent);
  font-weight: 700;
}

.warranty-legal__contact {
  margin-top: 24px !important;
  padding-top: 24px;
  border-top: 1px solid var(--warranty-border);
}

.warranty-legal__copyright {
  text-align: center;
  margin-top: 32px !important;
  padding-top: 24px;
  border-top: 1px solid var(--warranty-border);
  color: var(--warranty-text-dim) !important;
  font-size: 14px !important;
}

/* ============================================
   CTA Section
   ============================================ */
.warranty-cta {
  padding: 100px 0;
  background: var(--warranty-bg);
}

.warranty-cta__card {
  position: relative;
  padding: 64px;
  background: var(--warranty-card);
  border: 1px solid var(--warranty-border);
  border-radius: var(--warranty-radius-xl);
  overflow: hidden;
  text-align: center;
}

.warranty-cta__decoration {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.warranty-cta__circle {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 128, 54, 0.1);
  animation: floatCircle 8s ease-in-out infinite;
}

.warranty-cta__circle--1 {
  width: 200px;
  height: 200px;
  top: -100px;
  left: -100px;
}

.warranty-cta__circle--2 {
  width: 150px;
  height: 150px;
  bottom: -75px;
  right: -75px;
  animation-delay: 2s;
}

.warranty-cta__circle--3 {
  width: 100px;
  height: 100px;
  top: 50%;
  right: 10%;
  animation-delay: 4s;
}

@keyframes floatCircle {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.3; }
  50% { transform: translate(20px, -20px) scale(1.1); opacity: 0.5; }
}

.warranty-cta__content {
  position: relative;
  z-index: 1;
}

.warranty-cta__title {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  color: #fff;
  margin: 0 0 16px;
  font-family: "Gilroy", "Open Sans", system-ui, sans-serif;
}

.warranty-cta__text {
  font-size: 18px;
  color: var(--warranty-text-dim);
  margin: 0 0 32px;
  line-height: 1.6;
}

.warranty-cta__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================
   Buttons
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 16px;
}

.btn--primary {
  background: var(--grad-primary);
  color: #fff;
  box-shadow: 0 16px 40px rgba(255, 128, 54, 0.35);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 60px rgba(255, 128, 54, 0.45);
}

.btn--ghost {
  background: transparent;
  color: var(--warranty-text);
  border: 1px solid var(--warranty-border);
}

.btn--ghost:hover {
  border-color: var(--warranty-primary);
  color: var(--warranty-primary);
}

.btn--lg {
  padding: 16px 32px;
  font-size: 18px;
}

.btn svg {
  width: 20px;
  height: 20px;
}

/* ============================================
   Animations
   ============================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

[data-animate="fadeInUp"] {
  opacity: 0;
  animation: fadeInUp 0.6s ease forwards;
}

[data-animate="fadeInUp"][data-delay="0.1"] {
  animation-delay: 0.1s;
}

[data-animate="fadeInUp"][data-delay="0.2"] {
  animation-delay: 0.2s;
}

[data-animate="fadeInUp"][data-delay="0.3"] {
  animation-delay: 0.3s;
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 768px) {
  .warranty-hero {
    min-height: 70vh;
    padding: 80px 0 60px;
  }

  .warranty-step {
    flex-direction: column;
    gap: 24px;
    padding: 24px;
  }

  .warranty-step__number {
    width: 60px;
    height: 60px;
  }

  .warranty-step__number span {
    font-size: 20px;
  }

  .warranty-benefits__grid {
    grid-template-columns: 1fr;
  }

  .warranty-legal__document {
    padding: 32px 20px;
  }

  .warranty-legal__section {
    padding-bottom: 24px;
    margin-bottom: 32px;
  }

  .warranty-legal__section-title {
    font-size: 20px;
  }

  .warranty-legal__section p,
  .warranty-legal__list li {
    font-size: 14px;
  }

  .warranty-plan {
    padding: 20px;
  }

  .warranty-cta__card {
    padding: 40px 24px;
  }

  .warranty-cta__actions {
    flex-direction: column;
  }

  .warranty-cta__actions .btn {
    width: 100%;
    justify-content: center;
  }
}

