/* ─────────────────────────────────────────────
   AIMCOLOR – Landing Page Styles
   Tema: Laranja + Glassmorphism + Dark
───────────────────────────────────────────── */

/* ── RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --orange:       #FF6B00;
  --orange-light: #FF8C3A;
  --orange-dark:  #CC5500;
  --orange-glow:  rgba(255, 107, 0, 0.35);
  --orange-soft:  rgba(255, 107, 0, 0.12);

  --glass-bg:     rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.12);
  --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);

  --bg-dark:  #0a0a0f;
  --bg-dark2: #0d0d14;

  --text:     #f0f0f0;
  --text-dim: rgba(240, 240, 240, 0.6);

  --radius:   16px;
  --radius-sm: 10px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg-dark);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

/* ── BACKGROUND PARTICLES ── */
.bg-particles {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.bg-particles span {
  position: absolute;
  display: block;
  border-radius: 50%;
  animation: floatParticle linear infinite;
  opacity: 0;
}

.bg-particles span:nth-child(1)  { width: 6px;  height: 6px;  left: 10%;  background: var(--orange);       animation-duration: 12s; animation-delay: 0s;   }
.bg-particles span:nth-child(2)  { width: 4px;  height: 4px;  left: 25%;  background: var(--orange-light); animation-duration: 18s; animation-delay: 2s;   }
.bg-particles span:nth-child(3)  { width: 8px;  height: 8px;  left: 40%;  background: var(--orange);       animation-duration: 14s; animation-delay: 4s;   }
.bg-particles span:nth-child(4)  { width: 3px;  height: 3px;  left: 55%;  background: var(--orange-light); animation-duration: 20s; animation-delay: 1s;   }
.bg-particles span:nth-child(5)  { width: 5px;  height: 5px;  left: 70%;  background: var(--orange);       animation-duration: 16s; animation-delay: 3s;   }
.bg-particles span:nth-child(6)  { width: 7px;  height: 7px;  left: 80%;  background: var(--orange-light); animation-duration: 22s; animation-delay: 5s;   }
.bg-particles span:nth-child(7)  { width: 4px;  height: 4px;  left: 88%;  background: var(--orange);       animation-duration: 11s; animation-delay: 6s;   }
.bg-particles span:nth-child(8)  { width: 6px;  height: 6px;  left: 5%;   background: var(--orange-light); animation-duration: 17s; animation-delay: 7s;   }

@keyframes floatParticle {
  0%   { bottom: -10%;  opacity: 0;   transform: translateX(0)      rotate(0deg); }
  10%  { opacity: 0.6; }
  90%  { opacity: 0.4; }
  100% { bottom: 110%;  opacity: 0;   transform: translateX(60px)   rotate(360deg); }
}

/* ── BG GLOW ── */
.bg-glow {
  position: fixed;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 600px;
  background: radial-gradient(ellipse, rgba(255,107,0,0.18) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  animation: pulseGlow 6s ease-in-out infinite alternate;
}

@keyframes pulseGlow {
  from { opacity: 0.6; transform: translateX(-50%) scale(1); }
  to   { opacity: 1;   transform: translateX(-50%) scale(1.1); }
}

/* ── LAYOUT ── */
.wrapper {
  position: relative;
  z-index: 1;
  max-width: 860px;
  margin: 0 auto;
  padding: 24px 20px 60px;
  display: flex;
  flex-direction: column;
  gap: 36px;
  align-items: center;
}

/* ── GLASS CARD ── */
.glass-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  box-shadow: var(--glass-shadow);
  border-radius: var(--radius);
}

/* ── HEADER ── */
.header-bar {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 28px;
  border-color: rgba(255,107,0,0.25);
}

.logo {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}
.logo-aim   { color: var(--text); }
.logo-color { color: var(--orange); }

.badge {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--orange-light);
  background: var(--orange-soft);
  border: 1px solid rgba(255,107,0,0.3);
  padding: 6px 14px;
  border-radius: 999px;
  letter-spacing: 0.03em;
}

/* ── HERO ── */
.hero {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.hero-tag {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--orange-light);
  background: var(--orange-soft);
  border: 1px solid rgba(255,107,0,0.3);
  padding: 6px 18px;
  border-radius: 999px;
}

.hero-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: clamp(2.6rem, 7vw, 4.4rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

.hero-title .highlight {
  background: linear-gradient(90deg, var(--orange), var(--orange-light), #FFB347);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  max-width: 520px;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-dim);
}
.hero-sub strong { color: var(--orange-light); }

/* ── VIDEO ── */
.video-section { width: 100%; }

.video-wrapper {
  position: relative;
  width: 100%;
  padding: 12px;
  border-color: rgba(255,107,0,0.3);
  box-shadow:
    0 0 0 1px rgba(255,107,0,0.15),
    0 8px 40px rgba(0,0,0,0.6),
    0 0 60px rgba(255,107,0,0.12);
}

.video-glow {
  position: absolute;
  inset: -2px;
  border-radius: calc(var(--radius) + 2px);
  background: linear-gradient(135deg, rgba(255,107,0,0.4), transparent 60%);
  pointer-events: none;
  z-index: 0;
  animation: borderGlow 4s ease-in-out infinite alternate;
}

@keyframes borderGlow {
  from { opacity: 0.4; }
  to   { opacity: 0.9; }
}

.video-wrapper iframe {
  display: block;
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-sm);
  border: none;
}

/* Facade – thumbnail clicável */
.video-facade {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-thumb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-sm);
  transition: transform 0.4s ease, filter 0.4s ease;
}

.video-facade:hover .video-thumb {
  transform: scale(1.04);
  filter: brightness(0.75);
}

.play-btn {
  position: relative;
  z-index: 2;
  background: rgba(0,0,0,0.55);
  border-radius: 50%;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(6px);
  border: 2px solid rgba(255,107,0,0.6);
  box-shadow: 0 0 30px rgba(255,107,0,0.5);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.video-facade:hover .play-btn {
  transform: scale(1.12);
  box-shadow: 0 0 50px rgba(255,107,0,0.8);
}

/* corner decorators */
.video-overlay-corner {
  position: absolute;
  width: 18px;
  height: 18px;
  border-color: var(--orange);
  border-style: solid;
  z-index: 2;
  pointer-events: none;
}
.top-left     { top: 6px;    left: 6px;    border-width: 2px 0 0 2px; border-radius: 4px 0 0 0; }
.top-right    { top: 6px;    right: 6px;   border-width: 2px 2px 0 0; border-radius: 0 4px 0 0; }
.bottom-left  { bottom: 6px; left: 6px;    border-width: 0 0 2px 2px; border-radius: 0 0 0 4px; }
.bottom-right { bottom: 6px; right: 6px;   border-width: 0 2px 2px 0; border-radius: 0 0 4px 0; }

/* ── FEATURES ── */
.features {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

/* Card de compatibilidade ocupa a linha toda */
.compat-card {
  grid-column: 1 / -1;
  flex-direction: row !important;
  align-items: flex-start !important;
  gap: 20px !important;
  text-align: left !important;
}

.compat-card .feat-list {
  flex: 1;
}

.feature-card {
  padding: 22px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: default;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow:
    0 12px 40px rgba(0,0,0,0.5),
    0 0 20px rgba(255,107,0,0.2);
  border-color: rgba(255,107,0,0.35);
}

.feature-icon {
  font-size: 2rem;
  filter: drop-shadow(0 0 8px var(--orange-glow));
}

.feature-card h3 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--orange-light);
}

.feature-card p {
  font-size: 0.84rem;
  color: var(--text-dim);
  line-height: 1.5;
}

/* Lista de features dentro dos cards */
.feat-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
  text-align: left;
}

.feat-list li {
  font-size: 0.83rem;
  color: var(--text-dim);
  line-height: 1.5;
  padding: 3px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.feat-list li:last-child {
  border-bottom: none;
}

/* ── CTA ── */
.cta-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.cta-urgency {
  font-size: 0.85rem;
  color: var(--orange-light);
  letter-spacing: 0.06em;
  font-weight: 600;
  animation: blink 2s ease-in-out infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.5; }
}

/* ── BUTTON ── */
.btn-buy {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  overflow: hidden;
  border-radius: 999px;
  padding: 0;
  border: none;
  cursor: pointer;

  background: linear-gradient(135deg, var(--orange-dark) 0%, var(--orange) 50%, var(--orange-light) 100%);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.1),
    0 4px 24px rgba(255,107,0,0.5),
    0 0 50px rgba(255,107,0,0.25);

  transition: transform 0.2s ease, box-shadow 0.2s ease;
  animation: ctaPulse 3s ease-in-out infinite;
}

.btn-buy:hover {
  transform: scale(1.05) translateY(-2px);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.15),
    0 8px 36px rgba(255,107,0,0.7),
    0 0 80px rgba(255,107,0,0.4);
  animation: none;
}

.btn-buy:active {
  transform: scale(0.98);
}

@keyframes ctaPulse {
  0%, 100% { box-shadow: 0 0 0 1px rgba(255,255,255,0.1), 0 4px 24px rgba(255,107,0,0.5), 0 0 50px rgba(255,107,0,0.25); }
  50%       { box-shadow: 0 0 0 1px rgba(255,255,255,0.1), 0 4px 36px rgba(255,107,0,0.75), 0 0 80px rgba(255,107,0,0.45); }
}

.btn-inner {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 18px 48px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  position: relative;
  z-index: 1;
  white-space: nowrap;
}

.btn-icon  { font-size: 1.2rem; }
.btn-arrow { font-size: 1.2rem; transition: transform 0.2s ease; }
.btn-buy:hover .btn-arrow { transform: translateX(4px); }

/* Shine sweep */
.btn-shine {
  position: absolute;
  top: 0; left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.3) 50%, transparent 60%);
  transform: skewX(-20deg);
  animation: shine 3.5s ease-in-out infinite;
  pointer-events: none;
}

@keyframes shine {
  0%   { left: -120%; }
  30%  { left: 160%; }
  100% { left: 160%; }
}

.cta-note {
  font-size: 0.8rem;
  color: var(--text-dim);
  text-align: center;
}

/* ── FOOTER ── */
.footer {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 20px;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.25);
  border-top: 1px solid rgba(255,255,255,0.05);
}
.footer strong { color: var(--orange); }

/* ── FADE-IN ANIMATION ── */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── RESPONSIVE ── */
@media (max-width: 640px) {
  .features {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .compat-card {
    grid-column: 1 / -1;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
  }
  .header-bar { padding: 14px 18px; }
  .logo { font-size: 1.4rem; }
  .btn-inner { padding: 16px 32px; font-size: 1.15rem; }
  .hero-title { font-size: 2rem; }
}

@media (max-width: 420px) {
  .features { grid-template-columns: 1fr; }
}

@media (max-width: 400px) {
  .btn-inner { padding: 14px 22px; font-size: 1rem; gap: 7px; }
}
