/* ==========================================================================
   STRALIS SITES - ULTRA CLEAN & COSMIC MINIMALIST DESIGN
   ========================================================================== */

:root {
  --bg-space: #06070d;
  --bg-card: rgba(14, 17, 30, 0.65);
  --bg-card-hover: rgba(20, 25, 46, 0.8);
  
  --cyan: #00f2fe;
  --blue: #38bdf8;
  --violet: #a855f7;
  
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  
  --border-glass: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(0, 242, 254, 0.35);

  --font-heading: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  --blur-glass: blur(20px);
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-space);
}

body {
  font-family: var(--font-body);
  color: var(--text-main);
  background-color: var(--bg-space);
  overflow-x: hidden;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

#cosmic-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
}

.site-wrapper {
  position: relative;
  z-index: 1;
}

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   HEADER MINIMALISTA
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 20px 0;
  background: rgba(6, 7, 13, 0.7);
  backdrop-filter: var(--blur-glass);
  border-bottom: 1px solid var(--border-glass);
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #fff;
}

.brand-logo span {
  color: var(--cyan);
}

.logo-dot {
  width: 8px;
  height: 8px;
  background: var(--cyan);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--cyan);
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.header-nav a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition);
}

.header-nav a:hover {
  color: #fff;
}

/* ==========================================================================
   BOTÕES CLEAN
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  outline: none;
}

.btn-clean-wa {
  background: rgba(37, 211, 102, 0.15);
  color: #25d366;
  border: 1px solid rgba(37, 211, 102, 0.3);
}

.btn-clean-wa:hover {
  background: #25d366;
  color: #000;
}

.btn-search {
  background: #fff;
  color: #000;
  font-weight: 700;
  padding: 12px 28px;
  border-radius: 12px;
}

.btn-search:hover {
  background: var(--cyan);
  box-shadow: 0 0 20px rgba(0, 242, 254, 0.4);
  transform: translateY(-1px);
}

.btn-card-glow {
  background: linear-gradient(135deg, var(--cyan) 0%, #2563eb 100%);
  color: #000;
  font-weight: 700;
  padding: 14px;
  border-radius: 12px;
  width: 100%;
}

.btn-card-glow:hover {
  box-shadow: 0 0 25px rgba(0, 242, 254, 0.4);
  transform: translateY(-2px);
}

.btn-card-outline {
  background: transparent;
  color: #fff;
  border: 1px solid var(--border-glass);
  padding: 14px;
  border-radius: 12px;
  width: 100%;
}

.btn-card-outline:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}

.w-full {
  width: 100%;
}

/* ==========================================================================
   HERO CLEAN & COSMOS
   ========================================================================== */
.hero-section {
  min-height: 85vh;
  padding: 170px 0 60px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 3.4rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  line-height: 1.15;
  margin-bottom: 16px;
}

.gradient-text {
  background: linear-gradient(135deg, #ffffff 30%, var(--cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 40px;
}

/* Campo Único de Busca */
.domain-search-wrapper {
  max-width: 640px;
  margin: 0 auto;
  background: rgba(14, 17, 30, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 6px;
  backdrop-filter: var(--blur-glass);
  box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.5);
  transition: var(--transition);
}

.domain-search-wrapper:focus-within {
  border-color: var(--cyan);
  box-shadow: 0 0 30px rgba(0, 242, 254, 0.25);
}

.domain-search-form {
  display: flex;
  align-items: center;
  gap: 8px;
}

.domain-input-box {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 0 16px;
}

.domain-input-box input {
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  color: #fff;
}

.domain-input-box input::placeholder {
  color: var(--text-dim);
  font-weight: 400;
  font-size: 1.05rem;
}

.domain-extension {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--cyan);
  padding-left: 4px;
}

/* ==========================================================================
   RESULTADO DA BUSCA CLEAN
   ========================================================================== */
.domain-result-container {
  max-width: 640px;
  margin: 24px auto 0 auto;
  text-align: left;
}

.domain-card-clean {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  padding: 22px 24px;
  backdrop-filter: var(--blur-glass);
}

.domain-card-available {
  border-color: rgba(16, 185, 129, 0.5);
  background: linear-gradient(145deg, rgba(16, 185, 129, 0.1) 0%, rgba(14, 17, 30, 0.9) 100%);
}

.domain-card-taken {
  border-color: rgba(245, 158, 11, 0.4);
  background: linear-gradient(145deg, rgba(245, 158, 11, 0.08) 0%, rgba(14, 17, 30, 0.9) 100%);
}

.clean-status-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.status-indicator {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.status-indicator.available {
  color: #34d399;
}

.status-indicator.taken {
  color: #fbbf24;
}

.domain-name-hero {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: #fff;
  margin-bottom: 16px;
}

.alt-chips-clean {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 16px 0;
}

.alt-chip {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-glass);
  color: #fff;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--transition);
}

.alt-chip:hover {
  background: rgba(0, 242, 254, 0.15);
  border-color: var(--cyan);
  color: var(--cyan);
}

/* ==========================================================================
   TÍTULOS DAS SEÇÕES
   ========================================================================== */
.section-title-clean {
  text-align: center;
  margin-bottom: 48px;
}

.section-title-clean h2 {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.section-title-clean p {
  color: var(--text-muted);
  font-size: 1rem;
}

/* ==========================================================================
   PORTFÓLIO / GALERIA COM PRINTS REAIS DOS SITES
   ========================================================================== */
.portfolio-section {
  padding: 80px 0;
}

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

.portfolio-card-clean {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.portfolio-card-clean:hover {
  transform: translateY(-6px);
  border-color: var(--border-glow);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.6);
}

.browser-header-clean {
  background: rgba(255, 255, 255, 0.04);
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid var(--border-glass);
}

.browser-header-clean .dots {
  display: flex;
  gap: 5px;
}

.browser-header-clean .dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.dot-red { background: #ef4444; }
.dot-yellow { background: #f59e0b; }
.dot-green { background: #10b981; }

.browser-header-clean .url {
  font-family: monospace;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-left: 8px;
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.badge-mini {
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  background: rgba(0, 242, 254, 0.15);
  color: var(--cyan);
  text-transform: uppercase;
}

/* Wrapper da Imagem / Print Real */
.portfolio-thumb-wrapper {
  position: relative;
  height: 200px;
  overflow: hidden;
  background: #000;
}

.portfolio-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.4s ease;
  display: block;
}

.portfolio-card-clean:hover .portfolio-thumb-img {
  transform: scale(1.05);
}

.thumb-hover-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(4, 6, 14, 0.6);
  backdrop-filter: blur(2px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.thumb-hover-overlay span {
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  background: rgba(0, 242, 254, 0.25);
  border: 1px solid var(--cyan);
  padding: 8px 16px;
  border-radius: 8px;
}

.portfolio-card-clean:hover .thumb-hover-overlay {
  opacity: 1;
}

.portfolio-body-clean {
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.portfolio-body-clean h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  margin-bottom: 4px;
}

.portfolio-body-clean p {
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.4;
}

/* ==========================================================================
   PLANOS & PREÇOS CLEAN
   ========================================================================== */
.pricing-section {
  padding: 80px 0;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  max-width: 820px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 20px;
  padding: 36px 30px;
  backdrop-filter: var(--blur-glass);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

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

.pricing-featured {
  border-color: rgba(0, 242, 254, 0.4);
  background: linear-gradient(160deg, rgba(0, 242, 254, 0.08) 0%, rgba(14, 17, 30, 0.9) 100%);
  box-shadow: 0 10px 30px rgba(0, 242, 254, 0.15);
}

.pricing-badge {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.price-val {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.price-val .currency {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--cyan);
}

.price-val .amount {
  font-family: var(--font-heading);
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1;
  color: #fff;
}

.price-val .period {
  color: var(--text-muted);
  font-size: 1rem;
}

.price-sub {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 6px 0 24px 0;
}

.price-features {
  list-style: none;
  margin-bottom: 30px;
  flex: 1;
}

.price-features li {
  font-size: 0.9rem;
  color: var(--text-main);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.price-features li::before {
  content: "✓";
  color: var(--cyan);
  font-weight: bold;
}

/* ==========================================================================
   FOOTER CLEAN
   ========================================================================== */
.site-footer {
  padding: 40px 0;
  border-top: 1px solid var(--border-glass);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-content a {
  color: #25d366;
  text-decoration: none;
  font-weight: 600;
}

.copy {
  color: var(--text-dim);
}

/* ==========================================================================
   BOTÃO FLUTUANTE WHATSAPP
   ========================================================================== */
.floating-whatsapp {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 52px;
  height: 52px;
  background: #25d366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
  cursor: pointer;
  z-index: 99;
  transition: var(--transition);
}

.floating-whatsapp:hover {
  transform: scale(1.1);
}

/* ==========================================================================
   MODAIS
   ========================================================================== */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  padding: 16px;
}

.modal.active {
  opacity: 1;
  visibility: visible;
}

.modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(6, 7, 13, 0.85);
  backdrop-filter: var(--blur-glass);
}

.modal-window {
  position: relative;
  z-index: 10;
  background: #0b0e1d;
  border: 1px solid var(--border-glass);
  border-radius: 20px;
  width: 100%;
  max-width: 480px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 30px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
}

.modal-large {
  max-width: 680px;
}

.modal-preview-image-box {
  margin-bottom: 20px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-glass);
}

.btn-close-modal {
  position: absolute;
  top: 18px;
  right: 18px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.2rem;
  cursor: pointer;
}

.btn-close-modal:hover {
  color: #fff;
}

.modal-header {
  margin-bottom: 20px;
}

.modal-header h2 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin-bottom: 4px;
}

.modal-header p {
  color: var(--cyan);
  font-size: 0.9rem;
}

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

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text-muted);
}

.form-group input {
  width: 100%;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid var(--border-glass);
  border-radius: 10px;
  padding: 12px 14px;
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
}

.form-group input:focus {
  border-color: var(--cyan);
}

/* Responsividade */
@media (max-width: 960px) {
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .hero-title { font-size: 2.3rem; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .footer-content { flex-direction: column; gap: 10px; text-align: center; }
}
