/* Importação das fontes Poppins e Inter */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Poppins:wght@400;500;600;700;800&display=swap');

/* Variáveis de Estilo */
:root {
  --primary: #9B7BFF;
  --primary-rgb: 155, 123, 255;
  --primary-light: #E8D9FF;
  --accent: #FFD6E7;
  --accent-rgb: 255, 214, 231;
  --accent-dark: #FF9BCA;
  --bg: #FFF5F9;
  --card-bg: #FFFFFF;
  --text-main: #332A4C;
  --text-light: #7E7496;
  --border-color: rgba(155, 123, 255, 0.15);
  --shadow: 0 12px 30px rgba(155, 123, 255, 0.08);
  --shadow-hover: 0 20px 40px rgba(155, 123, 255, 0.15);
  --font-title: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;
  --max-width: 1100px;
}

/* Reset Geral */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Navbar */
.navbar {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-title);
  font-size: 20px;
  font-weight: 800;
  color: var(--text-main);
  text-decoration: none;
}

.logo-icon {
  background: var(--primary);
  color: white;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  box-shadow: 0 4px 10px rgba(var(--primary-rgb), 0.3);
}

.nav-btn {
  background: var(--primary-light);
  color: var(--primary);
  font-family: var(--font-title);
  font-size: 14px;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 20px;
  text-decoration: none;
  transition: all 0.2s ease;
  border: 1px solid var(--border-color);
}

.nav-btn:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(var(--primary-rgb), 0.2);
}

/* Hero Section */
.hero {
  max-width: var(--max-width);
  margin: 40px auto 80px auto;
  padding: 24px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  gap: 60px;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hero-tag {
  align-self: flex-start;
  background-color: var(--primary-light);
  color: var(--primary);
  font-weight: 700;
  font-size: 12px;
  padding: 6px 14px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.hero-title {
  font-family: var(--font-title);
  font-size: 40px;
  line-height: 1.2;
  font-weight: 800;
  color: var(--text-main);
}

.hero-title span {
  color: var(--primary);
  background: linear-gradient(90deg, var(--primary) 0%, var(--accent-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 16px;
  color: var(--text-light);
}

.hero-cta-btn {
  align-self: flex-start;
  background: var(--primary);
  color: white;
  font-family: var(--font-title);
  font-size: 18px;
  font-weight: 700;
  padding: 16px 36px;
  border-radius: 30px;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(var(--primary-rgb), 0.35);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.2s ease;
}

.hero-cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(var(--primary-rgb), 0.45);
}

.hero-cta-btn svg {
  transition: transform 0.2s ease;
}

.hero-cta-btn:hover svg {
  transform: translateX(4px);
}

/* Mockup de Telefone na Hero */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.phone-mockup-wrapper {
  width: 290px;
  height: 590px;
  background-color: var(--bg);
  border-radius: 36px;
  border: 10px solid #1E1E24;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.18);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.phone-header {
  background: var(--card-bg);
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--border-color);
  font-family: var(--font-title);
  font-size: 13px;
  font-weight: 700;
}

.phone-screen {
  flex: 1;
  background-color: var(--bg);
  overflow: hidden;
  position: relative;
}

.phone-card {
  background: white;
  border-radius: 16px;
  padding: 12px;
  box-shadow: 0 4px 10px rgba(155, 123, 255, 0.05);
  border: 1px solid var(--border-color);
}

.phone-badge {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 9px;
  font-weight: 800;
  color: white;
  margin-bottom: 6px;
}

.phone-nav {
  height: 52px;
  background: rgba(255,255,255,0.9);
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding-bottom: 4px;
}

.phone-nav-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background-color: var(--text-light);
  opacity: 0.4;
  cursor: pointer;
  transition: all 0.25s ease;
}

.phone-nav-dot:hover {
  opacity: 0.7;
  transform: scale(1.15);
}

.phone-nav-dot.active {
  background-color: var(--primary);
  opacity: 1;
}

/* Mockup Slide Carousel styles */
.phone-slides-container {
  display: flex;
  width: 500%; /* 5 slides */
  height: 100%;
  transition: transform 0.45s cubic-bezier(0.25, 1, 0.5, 1);
}

.phone-slide {
  width: 20%; /* 1/5th */
  height: 100%;
  flex-shrink: 0;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-sizing: border-box;
  overflow-y: auto;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.phone-slide::-webkit-scrollbar {
  display: none;
}

@keyframes scanMock {
  0% { top: 10%; }
  50% { top: 85%; }
  100% { top: 10%; }
}

/* Background floating shapes */
.shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  z-index: -1;
}

.shape-1 {
  width: 300px;
  height: 300px;
  background-color: rgba(232, 217, 255, 0.6);
  top: -100px;
  right: -50px;
}

.shape-2 {
  width: 250px;
  height: 250px;
  background-color: rgba(255, 214, 231, 0.6);
  bottom: 100px;
  left: -100px;
}

/* Seção Recursos (Features) */
.features-section {
  background-color: var(--card-bg);
  padding: 80px 24px;
  border-top: 1px solid var(--border-color);
}

.section-container {
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 60px auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.section-subtitle {
  font-family: var(--font-title);
  color: var(--primary);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.section-title {
  font-family: var(--font-title);
  font-size: 32px;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.3;
}

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

.feature-card {
  background-color: var(--bg);
  border: 1px solid var(--border-color);
  padding: 32px;
  border-radius: 24px;
  display: flex;
  gap: 20px;
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  background-color: white;
  border-color: rgba(var(--primary-rgb), 0.3);
}

.feature-icon {
  background: var(--card-bg);
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  box-shadow: var(--shadow);
  flex-shrink: 0;
}

.feature-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.feature-info h3 {
  font-family: var(--font-title);
  font-size: 18px;
  font-weight: 700;
}

.feature-info p {
  font-size: 14px;
  color: var(--text-light);
}

/* Seção Como Funciona */
.how-it-works {
  padding: 80px 24px;
}

.steps-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 20px;
  position: relative;
}

.step-card {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 32px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  box-shadow: var(--shadow);
  position: relative;
}

.step-number {
  background-color: var(--primary);
  color: white;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 16px;
  box-shadow: 0 4px 10px rgba(var(--primary-rgb), 0.3);
}

.step-card h3 {
  font-family: var(--font-title);
  font-size: 18px;
  font-weight: 700;
}

.step-card p {
  font-size: 14px;
  color: var(--text-light);
}

/* Footer */
.footer {
  background-color: #2D2545;
  color: rgba(255,255,255,0.7);
  padding: 40px 24px;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-content {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-logo {
  font-family: var(--font-title);
  font-size: 18px;
  font-weight: 800;
  color: white;
  text-decoration: none;
}

.footer-text {
  font-size: 13px;
}

/* Responsividade (Media Queries) */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
    margin-bottom: 40px;
  }
  
  .hero-cta-btn, .hero-tag {
    align-self: center;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .steps-container {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 32px;
  }
  
  .navbar {
    padding: 16px;
  }
  
  .logo-text {
    display: none;
  }

  .footer-content {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}
