:root {
   --primary: #2563eb;
   --primary-color: #2563eb;
   --primary-dark: #1d4ed8;
   --secondary: #10b981;
   --secondary-color: #1e40af;
   --accent-color: #3b82f6;
   --danger: #d9534f;
   --warning: #f59e0b;
   --info: #3b82f6;
   --purple: #8b5cf6;
   --pink: #ec4899;
   --indigo: #6366f1;
   --teal: #14b8a6;
   --orange: #f97316;
   --cyan: #06b6d4;
   --success: #10b981;
   --white: #ffffff;
   --bg-light: #f8fafc;
   --light-bg: #f8fafc;
   --bg-card: #ffffff;
   --card-bg: #ffffff;
   --text-primary: #1e293b;
   --text-secondary: #64748b;
   --text-muted: #718096;
   --border-color: #e2e8f0;
   --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
   --shadow-sm: 0 1px 3px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
   --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
   --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
   --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
   --radius: 8px;
}

/* Hero Section */
.hero-sitemap {
   padding: 4rem 0;
   text-align: center;
   border-bottom: 1px solid var(--border-color);
   box-shadow: var(--shadow);
   background: linear-gradient(135deg, #ffffff, #fcfdff);
}

.hero-sitemap h1 {
   font-size: 2.2rem;
   margin-bottom: 1.5rem;
   color: var(--text-primary);
}

.hero-sitemap p {
   font-size: 1.1rem;
   max-width: 800px;
   margin: 0 auto 2rem;
   color: var(--text-secondary);
}

/* Banner Space - CSS movido para style.css */

.btn {
   display: inline-block;
   padding: 0.75rem 1.5rem;
   background: var(--primary);
   color: var(--white);
   border: none;
   border-radius: var(--radius);
   font-size: 1rem;
   font-weight: 600;
   cursor: pointer;
   transition: background-color 0.3s, transform 0.2s;
   text-decoration: none;
   position: relative;
   overflow: hidden;
}

.btn:hover {
   background: var(--primary-dark);
   transform: translateY(-2px);
}

.btn-secondary {
   background: var(--secondary);
}

.btn-secondary:hover {
   background: #059669;
}

.form-container {
   background: white;
   padding: 40px;
   margin: 3rem 0;
   border-radius: 16px;
   box-shadow: var(--shadow-md);
   margin-bottom: 40px;
   border: 1px solid var(--border-color);
}

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

label {
   display: block;
   margin-bottom: 8px;
   font-weight: 600;
   color: var(--text-primary);
   font-size: 1.1rem;
}

input[type="url"] {
   width: 100%;
   padding: 15px 20px;
   border: 2px solid var(--border-color);
   border-radius: 12px;
   font-size: 1.1rem;
   transition: all 0.3s ease;
   background-color: var(--bg-light);
   color: var(--text-primary);
}

input[type="url"]:focus {
   border-color: var(--primary);
   outline: none;
   background-color: var(--bg-card);
   box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
}

/* butom sitemap */
button.stmp {
   background: var(--primary);
   color: rgb(252, 252, 252);
   border: none;
   padding: 15px 40px;
   border-radius: 12px;
   cursor: pointer;
   font-size: 1.1rem;
   font-weight: 600;
   transition: all 0.3s ease;
   display: inline-block;
   position: relative;
   box-shadow: var(--shadow-sm);
}

button.stmp:hover {
   background: #1d4ed8;
   transform: translateY(-2px);
   box-shadow: var(--shadow-md);
}

button.stmp:disabled {
   background: var(--gray);
   cursor: not-allowed;
   transform: none;
   box-shadow: none;
}

/* Ícone de carregamento no botão */
.btn-loading {
   padding-left: 50px;
}

.btn-loading i {
   position: absolute;
   left: 15px;
   top: 50%;
   transform: translateY(-50%);
   animation: spin 1s linear infinite;
}

@keyframes spin {
   0% {
      transform: translateY(-50%) rotate(0deg);
   }

   100% {
      transform: translateY(-50%) rotate(360deg);
   }
}

/* Barra de progresso em estágios */
.progress-container {
   margin-top: 30px;
   display: none;
}

.progress-stages {
   display: flex;
   justify-content: space-between;
   margin-bottom: 10px;
}

.stage {
   flex: 1;
   text-align: center;
   padding: 10px;
   border-radius: 8px;
   background-color: var(--bg-light);
   margin: 0 5px;
   transition: all 0.3s ease;
   font-size: 0.9rem;
   font-weight: 600;
   border: 1px solid var(--border-color);
}

.stage.active {
   background-color: var(--primary);
   color: white;
   border-color: var(--primary);
}

.stage.completed {
   background-color: var(--secondary);
   color: white;
   border-color: var(--secondary);
}

.progress-bar-container {
   width: 100%;
   background-color: var(--border-color);
   border-radius: 8px;
   overflow: hidden;
   height: 10px;
   margin-bottom: 10px;
}

.progress-bar {
   height: 100%;
   background-color: var(--primary);
   width: 0%;
   transition: width 0.5s ease;
}

.progress-info {
   text-align: center;
   font-size: 0.9rem;
   color: var(--text-muted);
   margin-top: 5px;
}

.feedback-container {
   display: none;
   margin-top: 60px;
}

.card {
   background: var(--bg-card);
   padding: 30px;
   border-radius: 20px;
   box-shadow: var(--shadow);
   margin-bottom: 30px;
   border: 1px solid var(--border-color);
   position: relative;
   overflow: hidden;
}

.card::before {
   content: '';
   position: absolute;
   top: 0;
   left: 0;
   right: 0;
   height: 5px;
   background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.card h3 {
   margin-bottom: 15px;
   color: var(--primary);
   font-size: 1.5rem;
   font-weight: 600;
}

.stats {
   display: flex;
   flex-wrap: wrap;
   gap: 20px;
   margin-bottom: 40px;
}

.stat-card {
   flex: 1;
   min-width: 200px;
   background: var(--bg-card);
   padding: 25px;
   border-radius: 20px;
   box-shadow: var(--shadow);
   text-align: center;
   transition: all 0.3s;
   border: 1px solid var(--border-color);
}

.stat-card:hover {
   transform: translateY(-10px);
   box-shadow: var(--shadow-xl);
}

.stat-card i {
   font-size: 2.5rem;
   margin-bottom: 15px;
   color: var(--primary);
   width: 60px;
   height: 60px;
   border-radius: 18px;
   display: flex;
   align-items: center;
   justify-content: center;
   background: rgba(37, 99, 235, 0.1);
   margin: 0 auto 15px;
}

.stat-card h4 {
   font-size: 2.2rem;
   margin-bottom: 5px;
   font-weight: 700;
   color: var(--text-primary);
}

.stat-card p {
   color: var(--text-muted);
   font-size: 1rem;
}

.preview-container {
   background: var(--bg-card);
   padding: 30px;
   border-radius: 20px;
   box-shadow: var(--shadow);
   margin-bottom: 30px;
   border: 1px solid var(--border-color);
   position: relative;
}

.preview-container h3 {
   margin-bottom: 20px;
   color: var(--primary);
   font-size: 1.5rem;
   font-weight: 600;
}

.preview-container::after {
   content: 'Clique no botão "Baixar Sitemap.xml" para obter o arquivo';
   position: absolute;
   top: 50%;
   left: 50%;
   transform: translate(-50%, -50%);
   background: rgba(0, 0, 0, 0.85);
   color: white;
   padding: 15px 25px;
   border-radius: 8px;
   font-size: 0.9rem;
   z-index: 10;
   opacity: 0;
   pointer-events: none;
   transition: opacity 0.3s ease;
   white-space: nowrap;
   text-align: center;
   box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.preview-container.show-message::after {
   opacity: 1;
}

pre {
   background: var(--bg-light);
   padding: 20px;
   border-radius: 12px;
   overflow-x: auto;
   max-height: 400px;
   font-size: 0.9rem;
   border: 1px solid var(--border-color);
   font-family: 'Courier New', monospace;
   white-space: pre-wrap;
   /* Proteção contra cópia */
   user-select: none;
   -webkit-user-select: none;
   -moz-user-select: none;
   -ms-user-select: none;
   -webkit-touch-callout: none;
   cursor: default;
   position: relative;
   margin: 0;
}

.preview-container .copy-protection-overlay {
   position: absolute;
   background: transparent;
   z-index: 2;
   cursor: not-allowed;
   pointer-events: auto;
   user-select: none;
   -webkit-user-select: none;
   -moz-user-select: none;
   -ms-user-select: none;
}

.download-btn {
   display: inline-block;
   background: var(--secondary);
   color: white;
   text-decoration: none;
   padding: 15px 40px;
   margin-top: 1rem;
   border-radius: 12px;
   transition: all 0.3s ease;
   font-weight: 600;
   font-size: 1.1rem;
   box-shadow: var(--shadow-sm);
}

.download-btn:hover {
   background: #4cae4c;
   transform: translateY(-2px);
   box-shadow: var(--shadow-md);
}

.section-title {
   text-align: center;
   margin-bottom: 16px;
   font-size: 2.5rem;
   font-weight: 800;
   color: var(--text-primary);
   position: relative;
}

.cards-container {
   display: grid;
   grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
   gap: 30px;
   margin-bottom: 60px;
}

.info-card {
   background: white;
   border-radius: 20px;
   padding: 40px 30px;
   box-shadow: var(--shadow);
   transition: all 0.3s;
   position: relative;
   overflow: hidden;
   border: 1px solid var(--border-color);
   height: 100%;
   display: flex;
   flex-direction: column;
}

.info-card:hover {
   transform: translateY(-10px);
   box-shadow: var(--shadow-xl);
}

.info-card::before {
   content: '';
   position: absolute;
   top: 0;
   left: 0;
   right: 0;
   height: 5px;
}

.info-card.primary::before {
   background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.info-card.secondary::before {
   background: linear-gradient(90deg, var(--success), #34d399);
}

.info-card.danger::before {
   background: linear-gradient(90deg, var(--warning), var(--danger));
}

.info-card.warning::before {
   background: linear-gradient(90deg, var(--orange), var(--warning));
}

.info-card.info::before {
   background: linear-gradient(90deg, var(--info), var(--indigo));
}

.info-card.purple::before {
   background: linear-gradient(90deg, var(--purple), var(--pink));
}

.info-card i {
   font-size: 2.5rem;
   margin-bottom: 20px;
   display: block;
}

.info-card.primary i {
   background: rgba(37, 99, 235, 0.1);
   color: var(--primary-color);
   width: 70px;
   height: 70px;
   border-radius: 18px;
   display: flex;
   align-items: center;
   justify-content: center;
   margin-bottom: 25px;
}

.info-card.secondary i {
   background: rgba(16, 185, 129, 0.1);
   color: var(--success);
   width: 70px;
   height: 70px;
   border-radius: 18px;
   display: flex;
   align-items: center;
   justify-content: center;
   margin-bottom: 25px;
}

.info-card.danger i {
   background: rgba(245, 158, 11, 0.1);
   color: var(--warning);
   width: 70px;
   height: 70px;
   border-radius: 18px;
   display: flex;
   align-items: center;
   justify-content: center;
   margin-bottom: 25px;
}

.info-card.warning i {
   background: rgba(249, 115, 22, 0.1);
   color: var(--orange);
   width: 70px;
   height: 70px;
   border-radius: 18px;
   display: flex;
   align-items: center;
   justify-content: center;
   margin-bottom: 25px;
}

.info-card.info i {
   background: rgba(59, 130, 246, 0.1);
   color: var(--info);
   width: 70px;
   height: 70px;
   border-radius: 18px;
   display: flex;
   align-items: center;
   justify-content: center;
   margin-bottom: 25px;
}

.info-card.purple i {
   background: rgba(139, 92, 246, 0.1);
   color: var(--purple);
   width: 70px;
   height: 70px;
   border-radius: 18px;
   display: flex;
   align-items: center;
   justify-content: center;
   margin-bottom: 25px;
}

.info-card.info i {
   background: rgba(59, 130, 246, 0.1);
   color: var(--info);
   width: 70px;
   height: 70px;
   border-radius: 18px;
   display: flex;
   align-items: center;
   justify-content: center;
   margin-bottom: 25px;
}

.info-card h3 {
   margin-bottom: 20px;
   font-size: 1.5rem;
   font-weight: 700;
   color: var(--text-primary);
}

.info-card p {
   color: var(--text-secondary);
   margin-bottom: 25px;
   flex-grow: 1;
   font-size: 1.1rem;
   line-height: 1.7;
}

.loading {
   display: none;
   text-align: center;
   padding: 40px;
}

.loading i {
   font-size: 3rem;
   color: var(--primary);
   animation: spin 1s linear infinite;
}

@keyframes spin {
   0% {
      transform: rotate(0deg);
   }

   100% {
      transform: rotate(360deg);
   }
}

.error-message {
   color: var(--danger);
   margin-top: 15px;
   font-weight: 500;
}

.benefits-section {
   width: 100%;
   padding: 80px 0;
}

.stats-section {
   width: 100%;
   padding: 80px 0;
}

.stats-highlight {
   display: flex;
   flex-wrap: wrap;
   justify-content: center;
   gap: 30px;
   margin-bottom: 40px;
}

.stat-highlight-card {
   background: var(--bg-card);
   border-radius: 20px;
   padding: 30px;
   box-shadow: var(--shadow);
   text-align: center;
   min-width: 200px;
   flex: 1;
   transition: all 0.3s;
   border: 1px solid var(--border-color);
}

.stat-highlight-card:hover {
   transform: translateY(-10px);
   box-shadow: var(--shadow-xl);
}

.stat-highlight-card i {
   font-size: 3rem;
   margin-bottom: 15px;
   color: var(--primary);
}

.stat-highlight-card h3 {
   font-size: 2.5rem;
   margin-bottom: 10px;
   font-weight: 700;
   color: var(--text-primary);
}

.stat-highlight-card p {
   color: var(--text-muted);
   font-size: 1.1rem;
}

/* Modal Styles */
.modal {
   display: none;
   position: fixed;
   z-index: 1000;
   left: 0;
   top: 0;
   width: 100%;
   height: 100%;
   overflow: auto;
   background-color: rgba(0, 0, 0, 0.5);
   backdrop-filter: blur(4px);
}

.modal-content {
   background-color: var(--bg-card);
   margin: 15% auto;
   padding: 30px;
   border: 1px solid var(--border-color);
   width: 80%;
   max-width: 600px;
   border-radius: 20px;
   position: relative;
   box-shadow: var(--shadow-xl);
}

.close {
   color: var(--text-muted);
   float: right;
   font-size: 28px;
   font-weight: bold;
   position: absolute;
   right: 20px;
   top: 15px;
   cursor: pointer;
   transition: color 0.3s ease;
}

.close:hover,
.close:focus {
   color: var(--text-primary);
}

.ad-container {
   margin: 20px auto;
   text-align: center;
   width: 300px;
   height: 250px;
   display: flex;
   align-items: center;
   justify-content: center;
   background-color: #f8fafc;
   border: 1px dashed var(--border-color);
}

.ad-container iframe {
   border: none;
   width: 300px;
   height: 250px;
}

.modal-buttons {
   display: flex;
   flex-direction: column;
   align-items: center;
   justify-content: center;
   margin-top: 20px;
   gap: 15px;
}

#countdown-display {
   font-size: 1.1rem;
   color: var(--text-secondary);
   font-weight: 500;
}

#countdown-display #countdown {
   font-size: 1.5rem;
   font-weight: 700;
   color: var(--primary);
}

#closeModal {
   pointer-events: none;
   opacity: 0.5;
   cursor: not-allowed;
}

#closeModal[style*="display: block"] {
   pointer-events: auto;
   opacity: 1;
   cursor: pointer;
}

/* Seção de Dicas de Otimização SEO com Sitemap XML - Novo Layout */
.seo-tips-section {
   width: 100%;
   padding: 80px 0;
}

.how-to-use {
   width: 100%;
   padding: 80px 0;
}

.seo-tips-container {
   max-width: 800px;
   margin: 0 auto;
   padding: 0 20px;
}

.best-practices-title {
   font-size: 1.8rem;
   color: var(--primary);
   margin-bottom: 30px;
   text-align: center;
   font-weight: 600;
   position: relative;
   padding-bottom: 15px;
}

.best-practices-list {
   list-style-type: none;
   counter-reset: best-practices-counter;
}

.best-practices-list li {
   position: relative;
   padding: 20px 20px 20px 60px;
   margin-bottom: 20px;
   background-color: var(--bg-light);
   border-radius: 12px;
   border-left: 4px solid var(--primary);
   box-shadow: var(--shadow-sm);
   transition: all 0.3s ease;
   counter-increment: best-practices-counter;
}

.best-practices-list li:hover {
   transform: translateX(5px);
   box-shadow: var(--shadow-md);
   background-color: var(--bg-card);
}

.best-practices-list li:before {
   content: counter(best-practices-counter);
   position: absolute;
   left: 15px;
   top: 50%;
   transform: translateY(-50%);
   width: 30px;
   height: 30px;
   background-color: var(--primary);
   color: white;
   border-radius: 50%;
   display: flex;
   align-items: center;
   justify-content: center;
   font-weight: 600;
   font-size: 0.9rem;
}

.best-practices-list li:last-child {
   margin-bottom: 0;
}

.best-practices-list li p {
   color: var(--text-secondary);
   line-height: 1.6;
   margin: 0;
   font-size: 1rem;
}

@media (max-width: 768px) {
   header h1 {
      font-size: 2.2rem;
   }

   header p {
      font-size: 1rem;
   }

   /* Banner responsive rules movidas para style.css */

   .section-title {
      font-size: 2rem;
   }

   .cards-container {
      grid-template-columns: 1fr;
   }

   .stats {
      flex-direction: column;
   }

   .modal-content {
      width: 95%;
      margin: 20% auto;
   }

   .progress-stages {
      flex-direction: column;
   }

   .stage {
      margin: 5px 0;
   }

   .stats-highlight {
      flex-direction: column;
   }

   .best-practices-list li {
      padding-left: 50px;
   }

   .best-practices-list li:before {
      width: 25px;
      height: 25px;
      font-size: 0.8rem;
      left: 12px;
   }
}