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

:root {
  --primary: #00B4D8;
  --primary-dark: #0096C7;
  --primary-light: #48CAE4;
  --accent: #6C63FF;
  --accent-light: #8B83FF;
  --dark: #0A1628;
  --dark2: #0D1B2A;
  --dark3: #1B2838;
  --dark4: #243447;
  --gray: #8899AA;
  --gray-light: #AABBCC;
  --white: #FFFFFF;
  --gradient: linear-gradient(135deg, #00B4D8 0%, #6C63FF 100%);
  --gradient-2: linear-gradient(135deg, #0D1B2A 0%, #1B2838 100%);
  --radius: 12px;
  --radius-lg: 16px;
  --shadow: 0 4px 24px rgba(0,0,0,0.3);
  --shadow-glow: 0 0 40px rgba(0,180,216,0.15);
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--white);
  line-height: 1.7;
  background: var(--dark);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(10,22,40,0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0,180,216,0.15);
  z-index: 1000;
  padding: 12px 0;
}

.nav-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--white);
}

.logo img {
  height: 70px;
  width: auto;
}

.logo-icon {
  width: 36px;
  height: 36px;
  background: var(--gradient);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  box-shadow: 0 0 20px rgba(0,180,216,0.3);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  text-decoration: none;
  color: var(--gray);
  font-weight: 500;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--primary-light); }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.3s;
}

.btn-primary {
  background: var(--gradient);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(0,180,216,0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0,180,216,0.4);
}

.btn-outline {
  background: transparent;
  color: var(--primary-light);
  border: 1.5px solid rgba(0,180,216,0.3);
}

.btn-outline:hover {
  background: rgba(0,180,216,0.1);
  border-color: var(--primary);
}

.btn-lg { padding: 16px 40px; font-size: 1rem; }
.btn-block { width: 100%; }

/* ===== HERO ===== */
.hero {
  padding: 140px 0 80px;
  text-align: center;
  position: relative;
  background: var(--dark);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('/images/hero_background.png') center center / cover no-repeat;
  filter: blur(8px);
  opacity: 0.3;
  transform: scale(1.1);
}

.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, rgba(10,22,40,0.7) 0%, rgba(10,22,40,0.9) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0,180,216,0.1);
  border: 1px solid rgba(0,180,216,0.2);
  color: var(--primary-light);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -1.5px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.highlight {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--gray);
  max-width: 520px;
  margin: 0 auto 32px;
  line-height: 1.8;
}

.hero-cta {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.hero-trust {
  display: flex;
  justify-content: center;
  gap: 24px;
  color: var(--gray);
  font-size: 0.82rem;
}

.hero-trust span {
  display: flex;
  align-items: center;
  gap: 5px;
}

.hero-trust span::before {
  content: '✓';
  color: var(--primary);
  font-weight: 700;
}

/* ===== BANNER IMAGE ===== */
.hero-image {
  margin-top: 50px;
  position: relative;
  z-index: 1;
}

.hero-image img {
  max-width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

/* ===== FEATURES IMAGE ===== */
.features-image {
  padding: 0 0 60px;
  position: relative;
}

.features-image img {
  max-width: 100%;
  height: auto;
  border-radius: 16px;
}

/* ===== SECTIONS ===== */
.section {
  padding: 80px 0;
  position: relative;
}

.section-dark {
  background: var(--dark2);
}

.section-title {
  text-align: center;
  font-size: 2.2rem;
  font-weight: 900;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.section-sub {
  text-align: center;
  color: var(--gray);
  font-size: 1rem;
  max-width: 480px;
  margin: 0 auto 50px;
  line-height: 1.8;
}

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

.card-feature {
  background: var(--dark3);
  border: 1px solid rgba(0,180,216,0.1);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  transition: all 0.3s;
}

.card-feature:hover {
  border-color: rgba(0,180,216,0.3);
  box-shadow: var(--shadow-glow);
  transform: translateY(-3px);
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 16px;
  background: rgba(0,180,216,0.1);
}

.card-feature h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.card-feature p {
  color: var(--gray);
  font-size: 0.88rem;
  line-height: 1.7;
}

/* ===== STEPS ===== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.step {
  text-align: center;
}

.step-number {
  width: 52px;
  height: 52px;
  background: var(--gradient);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 900;
  margin: 0 auto 16px;
  box-shadow: 0 0 30px rgba(0,180,216,0.3);
}

.step h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.step p {
  color: var(--gray);
  font-size: 0.88rem;
  line-height: 1.7;
}

/* ===== PRICING ===== */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  align-items: start;
}

.card-plan {
  background: var(--dark3);
  border: 1px solid rgba(0,180,216,0.1);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  transition: all 0.3s;
  position: relative;
}

.card-plan:hover {
  transform: translateY(-4px);
}

.card-popular {
  border-color: var(--primary);
  box-shadow: 0 0 40px rgba(0,180,216,0.15);
}

.popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient);
  color: var(--white);
  padding: 5px 16px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
}

.plan-name {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gray);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.plan-price {
  font-size: 2.8rem;
  font-weight: 900;
  letter-spacing: -2px;
  margin-bottom: 2px;
}

.plan-price small {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--gray);
}

.plan-period {
  color: var(--gray);
  font-size: 0.85rem;
  margin-bottom: 28px;
}

.plan-features {
  list-style: none;
  text-align: left;
  margin-bottom: 28px;
}

.plan-features li {
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--gray-light);
}

.plan-features li::before {
  content: '✓';
  color: var(--primary);
  font-weight: 700;
}

/* ===== FAQ ===== */
.faq-list {
  max-width: 650px;
  margin: 0 auto;
}

.faq-item {
  background: var(--dark3);
  border: 1px solid rgba(0,180,216,0.1);
  border-radius: var(--radius);
  margin-bottom: 8px;
  overflow: hidden;
}

.faq-item summary {
  padding: 18px 20px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: '+';
  font-size: 1.2rem;
  color: var(--primary);
  font-weight: 300;
}

.faq-item[open] summary::after { content: '−'; }

.faq-item p {
  padding: 0 20px 18px;
  color: var(--gray);
  font-size: 0.88rem;
  line-height: 1.8;
}

/* ===== CTA ===== */
.cta-section {
  text-align: center;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(0,180,216,0.1) 0%, transparent 60%);
}

.cta-content {
  position: relative;
  z-index: 1;
}

.cta-section h2 {
  font-size: 2.2rem;
  font-weight: 900;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.cta-section p {
  color: var(--gray);
  margin-bottom: 32px;
  font-size: 1rem;
}

/* ===== FOOTER ===== */
.footer {
  border-top: 1px solid rgba(0,180,216,0.15);
  padding: 20px 0;
  background: var(--dark2);
  position: relative;
  overflow: hidden;
}

.footer-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.12;
  pointer-events: none;
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 1;
}

.footer-logo img {
  height: 70px;
  width: auto;
}

.footer p {
  color: var(--gray);
  font-size: 0.82rem;
}

/* ===== AUTH PAGES ===== */
.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
  background: var(--dark);
  position: relative;
}

.auth-page::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at 50% 30%, rgba(0,180,216,0.06) 0%, transparent 50%);
}

.auth-card {
  background: var(--dark3);
  border: 1px solid rgba(0,180,216,0.15);
  border-radius: var(--radius-lg);
  padding: 44px;
  width: 100%;
  max-width: 400px;
  box-shadow: var(--shadow-glow);
  position: relative;
  z-index: 1;
}

.auth-card h1 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 6px;
}

.auth-card .subtitle {
  color: var(--gray);
  margin-bottom: 28px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  font-size: 0.88rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid rgba(0,180,216,0.15);
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-family: inherit;
  background: var(--dark4);
  color: var(--white);
  transition: all 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0,180,216,0.1);
}

.form-group input::placeholder {
  color: var(--gray);
}

.auth-link {
  text-align: center;
  margin-top: 18px;
  color: var(--gray);
  font-size: 0.88rem;
}

.auth-link a { color: var(--primary-light); font-weight: 600; text-decoration: none; }

.error-msg {
  background: rgba(239,68,68,0.1);
  border: 1px solid rgba(239,68,68,0.2);
  color: #EF4444;
  padding: 10px 14px;
  border-radius: var(--radius);
  margin-bottom: 18px;
  display: none;
  font-size: 0.85rem;
}

/* ===== DASHBOARD ===== */
.dashboard-layout {
  display: flex;
  min-height: 100vh;
  background: var(--dark);
}

.sidebar {
  width: 250px;
  background: var(--dark2);
  border-right: 1px solid rgba(0,180,216,0.1);
  padding: 24px 16px;
  position: fixed;
  top: 0;
  bottom: 0;
}

.sidebar-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 32px;
}

.sidebar-logo img {
  height: 55px;
  width: auto;
}

.sidebar-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  color: var(--gray);
  text-decoration: none;
  border-radius: 10px;
  margin-bottom: 4px;
  transition: all 0.2s;
  font-weight: 500;
  font-size: 0.88rem;
}

.sidebar-nav a:hover { color: var(--white); background: rgba(255,255,255,0.04); }

.sidebar-nav a.active {
  background: rgba(0,180,216,0.1);
  color: var(--primary-light);
}

.main-content {
  margin-left: 250px;
  flex: 1;
  padding: 28px 36px;
  background: var(--dark);
}

.page-header { margin-bottom: 28px; }

.page-header h1 {
  font-size: 1.6rem;
  font-weight: 800;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 28px;
}

.stat-card {
  background: var(--dark3);
  border: 1px solid rgba(0,180,216,0.1);
  border-radius: var(--radius);
  padding: 20px;
}

.stat-card .stat-label {
  color: var(--gray);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.stat-card .stat-value {
  font-size: 1.8rem;
  font-weight: 900;
}

.stat-card .stat-value.primary { color: var(--primary); }
.stat-card .stat-value.success { color: var(--primary-light); }

.data-table {
  width: 100%;
  background: var(--dark3);
  border: 1px solid rgba(0,180,216,0.1);
  border-radius: var(--radius);
  overflow: hidden;
}

.data-table th,
.data-table td {
  padding: 12px 18px;
  text-align: left;
  font-size: 0.85rem;
}

.data-table th {
  background: var(--dark4);
  font-weight: 600;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.75rem;
}

.data-table tr { border-bottom: 1px solid rgba(255,255,255,0.04); }

.badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 600;
}

.badge-gratis { background: rgba(0,180,216,0.15); color: var(--primary); }
.badge-basico { background: rgba(108,99,255,0.15); color: var(--accent-light); }
.badge-premium { background: rgba(255,193,7,0.15); color: #FFC107; }

/* ===== STEPS 4 PASSOS ===== */
.steps-grid-4 {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.step-item {
  text-align: center;
  padding: 20px;
  flex: 1;
  min-width: 150px;
  max-width: 180px;
}

.step-icon {
  font-size: 2rem;
  margin-bottom: 10px;
}

.step-num {
  display: inline-block;
  width: 32px;
  height: 32px;
  background: var(--gradient);
  color: var(--white);
  border-radius: 50%;
  font-size: 0.9rem;
  font-weight: 900;
  line-height: 32px;
  margin-bottom: 10px;
}

.step-item h3 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.step-item p {
  color: var(--gray);
  font-size: 0.82rem;
}

.step-arrow {
  color: var(--primary);
  font-size: 1.5rem;
  padding-top: 40px;
}

/* ===== STEPS 4 PASSOS COM IMAGENS ===== */
.steps-images {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.step-image-card {
  text-align: center;
}

.step-image-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 2px solid rgba(0,180,216,0.2);
  margin-bottom: 14px;
  transition: all 0.3s;
}

.step-image-card:hover img {
  border-color: var(--primary);
  box-shadow: 0 0 25px rgba(0,180,216,0.3);
  transform: translateY(-4px);
}

.step-image-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.step-image-card p {
  color: var(--gray);
  font-size: 0.82rem;
}

/* ===== TEMPLATES GRID ===== */
.templates-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.template-card {
  border-radius: var(--radius-lg);
  padding: 28px 16px;
  text-align: center;
  transition: all 0.3s;
  cursor: pointer;
}

.template-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}

.template-icon {
  font-size: 2rem;
  margin-bottom: 8px;
}

.template-card span {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--white);
}

/* ===== COMPARATIVO ===== */
.compare-grid {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 20px;
  max-width: 800px;
  margin: 0 auto;
}

.compare-card {
  flex: 1;
  background: var(--dark3);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
}

.compare-old {
  border-color: rgba(239,68,68,0.2);
}

.compare-new {
  border-color: rgba(0,180,216,0.3);
  box-shadow: 0 0 30px rgba(0,180,216,0.1);
}

.compare-badge {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  background: rgba(239,68,68,0.15);
  color: #EF4444;
  margin-bottom: 16px;
}

.badge-glow {
  background: rgba(0,180,216,0.15);
  color: var(--primary-light);
  box-shadow: 0 0 15px rgba(0,180,216,0.2);
}

.compare-icon {
  font-size: 2.5rem;
  margin-bottom: 12px;
}

.compare-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.compare-card ul {
  list-style: none;
  text-align: left;
}

.compare-card ul li {
  padding: 8px 0;
  font-size: 0.88rem;
  color: var(--gray-light);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.compare-vs {
  display: flex;
  align-items: center;
}

.vs-circle {
  width: 48px;
  height: 48px;
  background: var(--gradient);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 900;
}

/* ===== FAQ ICON ===== */
.faq-item summary {
  display: flex;
  align-items: center;
  gap: 12px;
}

.faq-icon {
  font-size: 1.2rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .hero h1 { font-size: 2rem; letter-spacing: -1px; }
  .section-title { font-size: 1.6rem; }
  .features-grid { grid-template-columns: 1fr; }
  .plans-grid { grid-template-columns: 1fr; max-width: 360px; margin: 0 auto; }
  .steps-grid { grid-template-columns: 1fr; }
  .steps-grid-4 { flex-direction: column; align-items: center; }
  .steps-images { grid-template-columns: repeat(2, 1fr); }
  .step-arrow { transform: rotate(90deg); padding: 10px 0; }
  .templates-grid { grid-template-columns: repeat(2, 1fr); }
  .compare-grid { flex-direction: column; }
  .compare-vs { justify-content: center; padding: 10px 0; }
  .nav-links { display: none; }
  .stats-grid { grid-template-columns: 1fr; }
  .sidebar { display: none; }
  .main-content { margin-left: 0; padding: 16px; }
  .footer-content { flex-direction: column; gap: 12px; text-align: center; }
  .footer-logo img { height: 50px; }
}
