/**
 * Cut n'Coat - Design Premium v3.0
 * Design moderno, único e impactante
 */

/* ===========================
   VARIAVEIS PREMIUM
   =========================== */
:root {
  /* Paleta Premium Única */
  --primary: #6366f1;
  --primary-light: #818cf8;
  --primary-dark: #4f46e5;
  --accent: #f59e0b;
  --accent-light: #fbbf24;

  /* Gradientes Premium */
  --gradient-hero: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --gradient-accent: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
  --gradient-dark: linear-gradient(180deg, #1e1b4b 0%, #312e81 100%);
  --gradient-card: linear-gradient(145deg, #ffffff 0%, #f3f4f6 100%);

  /* Sombras Premium */
  --shadow-soft: 0 4px 20px rgba(102, 126, 234, 0.15);
  --shadow-medium: 0 8px 30px rgba(102, 126, 234, 0.2);
  --shadow-strong: 0 15px 40px rgba(102, 126, 234, 0.25);
  --shadow-glow: 0 0 40px rgba(102, 126, 234, 0.4);
  --shadow-accent: 0 8px 30px rgba(245, 158, 11, 0.3);

  /* Bordas Modernas */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;
}

/* ===========================
   HERO PREMIUM
   =========================== */
.hero {
  position: relative;
  background: var(--gradient-hero);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: patternMove 20s linear infinite;
}

@keyframes patternMove {
  0% { transform: translate(0, 0); }
  100% { transform: translate(50px, 50px); }
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -50%;
  left: -20%;
  width: 140%;
  height: 140%;
  background: radial-gradient(ellipse, rgba(245, 158, 11, 0.15) 0%, transparent 70%);
  animation: float 15s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-30px) rotate(3deg); }
}

.hero__title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 900;
  line-height: 1.05;
  margin-bottom: var(--spacing-6);
  color: var(--color-white);
  letter-spacing: -0.02em;
  text-shadow:
    0 4px 20px rgba(0, 0, 0, 0.3),
    0 0 80px rgba(255, 255, 255, 0.3);
  animation: heroTitle 1s ease-out;
}

@keyframes heroTitle {
  from {
    opacity: 0;
    transform: translateY(40px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.hero__subtitle {
  font-size: clamp(1.1rem, 2vw, 1.6rem);
  margin-bottom: var(--spacing-10);
  opacity: 0.95;
  font-weight: 400;
  letter-spacing: 0.01em;
  animation: heroSubtitle 1s ease-out 0.2s backwards;
}

@keyframes heroSubtitle {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 0.95;
    transform: translateY(0);
  }
}

/* ===========================
   BOTÕES PREMIUM
   =========================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-3);
  padding: var(--spacing-5) var(--spacing-10);
  font-family: var(--font-primary);
  font-size: var(--text-base);
  font-weight: 700;
  border-radius: var(--radius-full);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: pointer;
  text-decoration: none;
  border: none;
  position: relative;
  overflow: hidden;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-size: 0.85rem;
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
  width: 300px;
  height: 300px;
}

.btn--primary {
  background: linear-gradient(135deg, #ffffff 0%, #f3f4f6 100%);
  color: var(--primary-dark);
  box-shadow:
    0 4px 15px rgba(0, 0, 0, 0.1),
    0 0 0 0 rgba(255, 255, 255, 0.7);
  transform: translateY(0);
}

.btn--primary:hover {
  transform: translateY(-4px);
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.2),
    0 0 0 10px rgba(255, 255, 255, 0);
}

.btn--secondary {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  color: var(--color-white);
  border: 2px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn--secondary:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.6);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.btn--large {
  padding: var(--spacing-6) var(--spacing-12);
  font-size: var(--text-lg);
}

/* ===========================
   CARDS PREMIUM
   =========================== */
.card {
  background: var(--gradient-card);
  border-radius: var(--radius-xl);
  padding: var(--spacing-10);
  box-shadow: var(--shadow-soft);
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid rgba(255, 255, 255, 0.8);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s ease;
}

.card:hover::before {
  transform: scaleX(1);
}

.card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: var(--shadow-strong);
}

.card__icon {
  width: 80px;
  height: 80px;
  background: var(--gradient-primary);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--spacing-8);
  color: var(--color-white);
  font-size: 2rem;
  box-shadow:
    var(--shadow-glow),
    inset 0 2px 4px rgba(255, 255, 255, 0.3);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
}

.card__icon::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: var(--radius-xl);
  background: var(--gradient-primary);
  z-index: -1;
  opacity: 0.5;
  filter: blur(15px);
  transition: all 0.4s;
}

.card:hover .card__icon {
  transform: scale(1.1) rotate(5deg);
}

.card:hover .card__icon::after {
  opacity: 0.8;
  filter: blur(20px);
}

.card__title {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: var(--spacing-4);
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.01em;
}

.card__text {
  color: var(--color-gray-600);
  line-height: 1.8;
  font-size: 1rem;
}

/* ===========================
   FEATURES PREMIUM
   =========================== */
.feature {
  display: flex;
  gap: var(--spacing-6);
  padding: var(--spacing-8);
  background: var(--color-white);
  border-radius: var(--radius-xl);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.feature::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--gradient-primary);
  transform: scaleY(0);
  transition: transform 0.4s ease;
}

.feature:hover::before {
  transform: scaleY(1);
}

.feature:hover {
  background: linear-gradient(135deg, #fefefe 0%, #f9fafb 100%);
  border-color: rgba(102, 126, 234, 0.3);
  transform: translateX(8px);
  box-shadow: var(--shadow-medium);
}

.feature__icon {
  width: 70px;
  height: 70px;
  min-width: 70px;
  background: var(--gradient-primary);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  box-shadow:
    var(--shadow-soft),
    inset 0 2px 4px rgba(255, 255, 255, 0.2);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.feature:hover .feature__icon {
  transform: scale(1.1) rotate(-5deg);
  box-shadow: var(--shadow-glow);
}

.feature__title {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: var(--spacing-3);
  color: var(--color-gray-900);
  letter-spacing: -0.01em;
}

.feature__text {
  color: var(--color-gray-600);
  line-height: 1.7;
}

/* ===========================
   CTA BOX PREMIUM
   =========================== */
.cta-box {
  background: var(--gradient-primary);
  border-radius: var(--radius-xl);
  padding: var(--spacing-20) var(--spacing-10);
  color: var(--color-white);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-strong);
  text-align: center;
}

.cta-box::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 60%);
  animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.5;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.8;
  }
}

.cta-box__title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 900;
  margin-bottom: var(--spacing-6);
  color: var(--color-white);
  position: relative;
  z-index: 1;
  letter-spacing: -0.02em;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.cta-box__text {
  font-size: 1.15rem;
  opacity: 0.95;
  margin-bottom: var(--spacing-10);
  position: relative;
  z-index: 1;
}

/* ===========================
   STAT CARDS PREMIUM
   =========================== */
.stat-card {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  padding: var(--spacing-10);
  text-align: center;
  box-shadow: var(--shadow-soft);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 0;
}

.stat-card:hover::before {
  opacity: 0.05;
}

.stat-card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: var(--shadow-strong);
  border-color: rgba(102, 126, 234, 0.3);
}

.stat-card__number {
  font-size: 3.5rem;
  font-weight: 900;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--spacing-3);
  position: relative;
  z-index: 1;
  line-height: 1;
  letter-spacing: -0.03em;
}

.stat-card__label {
  font-size: 1rem;
  color: var(--color-gray-600);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  position: relative;
  z-index: 1;
}

/* ===========================
   BADGE PREMIUM
   =========================== */
.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-2);
  padding: var(--spacing-3) var(--spacing-6);
  background: var(--gradient-primary);
  color: var(--color-white);
  font-size: 0.75rem;
  font-weight: 800;
  border-radius: var(--radius-full);
  box-shadow:
    var(--shadow-soft),
    inset 0 2px 4px rgba(255, 255, 255, 0.2);
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

/* ===========================
   HEADER PREMIUM
   =========================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
  z-index: var(--z-fixed);
  transition: all 0.4s ease;
  border-bottom: 1px solid rgba(102, 126, 234, 0.1);
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.12);
}

.header__logo-text {
  font-size: var(--text-xl);
  font-weight: 900;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav__link {
  font-weight: 600;
  color: var(--color-gray-700);
  position: relative;
  transition: all 0.3s ease;
  padding: var(--spacing-2) var(--spacing-4);
  border-radius: var(--radius-md);
}

.nav__link:hover,
.nav__link--active {
  color: var(--primary);
  background: rgba(102, 126, 234, 0.1);
}

/* ===========================
   FOOTER PREMIUM
   =========================== */
.footer {
  background: var(--gradient-dark);
  color: var(--color-white);
  padding: var(--spacing-20) 0 var(--spacing-10);
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.3) 50%,
    transparent 100%
  );
}

.footer__title {
  color: var(--color-white);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: var(--spacing-5);
}

.footer__link {
  color: rgba(255, 255, 255, 0.7);
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-2);
  padding: var(--spacing-2) 0;
}

.footer__link:hover {
  color: var(--color-white);
  transform: translateX(6px);
}

/* ===========================
   REVEAL ANIMATIONS
   =========================== */
.reveal {
  opacity: 0;
  transform: translateY(60px);
  transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered delays */
.reveal:nth-child(1) { transition-delay: 0.1s; }
.reveal:nth-child(2) { transition-delay: 0.2s; }
.reveal:nth-child(3) { transition-delay: 0.3s; }
.reveal:nth-child(4) { transition-delay: 0.4s; }
.reveal:nth-child(5) { transition-delay: 0.5s; }
.reveal:nth-child(6) { transition-delay: 0.6s; }

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 767px) {
  .hero {
    padding: 140px 0 var(--spacing-20);
  }

  .card {
    padding: var(--spacing-8);
  }

  .cta-box {
    padding: var(--spacing-16) var(--spacing-8);
  }

  .feature {
    flex-direction: column;
    text-align: center;
    padding: var(--spacing-6);
  }

  .feature:hover {
    transform: translateY(-4px);
  }

  .stat-card__number {
    font-size: 2.5rem;
  }
}
