/* ==========================================================
   OptiTradeX Theme - Estilo Oficial
   Identidade Visual: Baseado no Logo OptiTradeX (Azul Elétrico & Ciano)
   Layout e Estrutura: Padrão Avant Broker de Alta Performance
   ========================================================== */

:root {
  --bg-dark: #090a0f;
  --bg-darker: #050609;
  --bg-surface: #10131c;
  --bg-card: #151824;
  --bg-card-hover: #1b2030;
  --bg-input: #181c28;

  /* Cores Principais - Identidade OptiTradeX (Gradiente do 'X') */
  --brand-blue: #0066ff;
  --brand-blue-dark: #004ad4;
  --brand-cyan: #00c2ff;
  --brand-cyan-light: #52dcff;
  --brand-gradient: linear-gradient(135deg, #0052ff 0%, #0084ff 52%, #00d2ff 100%);
  --brand-gradient-hover: linear-gradient(135deg, #0045d8 0%, #0077ee 52%, #00c2ff 100%);
  
  --brand-glow: rgba(0, 102, 255, 0.4);
  --brand-glow-cyan: rgba(0, 194, 255, 0.35);

  /* Indicadores de Mercado (Trading) */
  --trade-green: #22c55e;
  --trade-red: #ef4444;

  --text-white: #ffffff;
  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;

  --border-color: rgba(255, 255, 255, 0.08);
  --border-highlight: rgba(0, 194, 255, 0.45);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-pill: 9999px;

  --font-main: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --container-max: 1200px;
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-dark);
  color: var(--text-primary);
  font-family: var(--font-main);
  -webkit-font-smoothing: antialiased;
}

body {
  line-height: 1.6;
  overflow-x: hidden;
  background: var(--bg-dark);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

button, input {
  font-family: inherit;
  font-size: inherit;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* ==========================================================
   TIPOGRAFIA & TÍTULOS
   ========================================================== */
h1, h2, h3, h4 {
  font-weight: 700;
  color: var(--text-white);
  line-height: 1.25;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(0, 102, 255, 0.12);
  border: 1px solid rgba(0, 194, 255, 0.35);
  border-radius: var(--radius-pill);
  color: var(--brand-cyan);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 16px;
  box-shadow: 0 0 15px rgba(0, 194, 255, 0.15);
}

.section-tag.blue-tag {
  background: rgba(0, 194, 255, 0.12);
  border-color: rgba(0, 194, 255, 0.4);
  color: var(--brand-cyan-light);
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  margin-bottom: 16px;
  text-align: center;
}

.section-subtitle {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--text-secondary);
  text-align: center;
  max-width: 760px;
  margin: 0 auto 48px;
}

/* ==========================================================
   BOTÕES & AÇÕES COM IDENTIDADE OPTITRADEX
   ========================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 10px;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background: var(--brand-gradient);
  color: #ffffff;
  box-shadow: 0 4px 20px var(--brand-glow);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  background: var(--brand-gradient-hover);
  box-shadow: 0 8px 28px rgba(0, 194, 255, 0.55);
  color: #ffffff;
}

.btn-outline {
  background: transparent;
  color: var(--brand-cyan);
  border: 2px solid var(--brand-cyan);
}

.btn-outline:hover {
  background: var(--brand-gradient);
  color: #ffffff;
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 4px 18px var(--brand-glow);
}

.btn-demo {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-white);
  border: 1px solid var(--border-color);
}

.btn-demo:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1.05rem;
  border-radius: 12px;
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.85rem;
  border-radius: 8px;
}

.btn-block {
  width: 100%;
}

/* ==========================================================
   HEADER / BARRA DE NAVEGAÇÃO
   ========================================================== */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(9, 10, 15, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition);
}

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

.logo-link {
  display: flex;
  align-items: center;
}

.brand-logo {
  height: 38px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(0, 102, 255, 0.3));
}

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

.nav-item {
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 500;
}

.nav-item:hover {
  color: var(--brand-cyan);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--brand-cyan);
  cursor: pointer;
  padding: 8px;
}

.mobile-menu-toggle svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

/* ==========================================================
   HERO SECTION
   ========================================================== */
.hero-section {
  position: relative;
  padding: 80px 0 100px;
  overflow: hidden;
  background: radial-gradient(circle at 50% -10%, rgba(0, 102, 255, 0.22) 0%, rgba(9, 10, 15, 0) 70%),
              radial-gradient(circle at 85% 20%, rgba(0, 194, 255, 0.16) 0%, rgba(9, 10, 15, 0) 60%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 48px;
}

.hero-content {
  text-align: left;
}

.hero-title {
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 20px;
  line-height: 1.18;
}

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

.hero-desc {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-bottom: 36px;
  max-width: 580px;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 28px;
}

.hero-stats-strip {
  display: flex;
  align-items: center;
  gap: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border-color);
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-white);
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Card Mockup de Trading no Hero */
.hero-visual {
  position: relative;
}

.trading-card-mockup {
  background: var(--bg-surface);
  border: 1px solid var(--border-highlight);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), 0 0 30px var(--brand-glow);
  position: relative;
  overflow: hidden;
}

.mockup-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-color);
}

.mockup-pair {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.1rem;
}

.pair-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(0, 102, 255, 0.2);
  border: 1px solid var(--brand-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-cyan);
  font-weight: 800;
  font-size: 0.85rem;
}

.payout-badge {
  background: rgba(0, 194, 255, 0.15);
  color: var(--brand-cyan);
  border: 1px solid rgba(0, 194, 255, 0.35);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}

.mockup-chart-preview {
  margin-bottom: 20px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #090c14;
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.mockup-chart-preview img {
  width: 100%;
  height: auto;
  transition: transform 0.5s ease;
}

.mockup-chart-preview:hover img {
  transform: scale(1.02);
}

.mockup-footer-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.btn-call {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #fff;
  padding: 12px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  text-align: center;
  box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
  cursor: pointer;
  border: none;
}

.btn-put {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: #fff;
  padding: 12px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  text-align: center;
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
  cursor: pointer;
  border: none;
}

/* ==========================================================
   SEÇÃO DE ATIVOS NEGOCIÁVEIS (CARDS)
   ========================================================== */
.assets-section {
  padding: 80px 0;
  background: var(--bg-darker);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.assets-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}

.asset-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.asset-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-highlight);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5), 0 0 25px var(--brand-glow);
}

.asset-card-img {
  width: 76px;
  height: 76px;
  object-fit: contain;
  margin-bottom: 20px;
  transition: transform 0.3s ease, filter 0.3s ease;
  filter: drop-shadow(0 4px 14px rgba(0, 102, 255, 0.25));
}

.asset-card:hover .asset-card-img {
  transform: translateY(-4px) scale(1.06);
  filter: drop-shadow(0 8px 22px rgba(0, 194, 255, 0.5));
}

.asset-card-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.asset-card-payout {
  color: var(--brand-cyan);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 12px;
}

.asset-card-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.asset-center-cta {
  text-align: center;
}

/* ==========================================================
   SEÇÃO "O QUE É" & "COMO FUNCIONA"
   ========================================================== */
.content-section {
  padding: 90px 0;
}

.two-col-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
}

.two-col-grid.reverse {
  grid-template-columns: 1fr 1fr;
}

.content-block h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  margin-bottom: 20px;
}

.content-block p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin-bottom: 18px;
}

.image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
}

.image-wrapper img {
  width: 100%;
  height: auto;
  transition: transform 0.6s ease;
}

.image-wrapper:hover img {
  transform: scale(1.03);
}

/* Grid de passos (Como Funciona) */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.step-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 30px 24px;
  position: relative;
  transition: var(--transition);
}

.step-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-highlight);
  box-shadow: 0 8px 24px rgba(0, 102, 255, 0.2);
}

.step-num {
  font-size: 2.2rem;
  font-weight: 800;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 12px;
  display: block;
}

.step-title {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.step-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
}

/* ==========================================================
   RECURSOS INTELIGENTES & SEGURANÇA
   ========================================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.feature-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  transition: var(--transition);
}

.feature-box:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-highlight);
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0, 102, 255, 0.18);
}

.feature-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(0, 102, 255, 0.15);
  border: 1px solid rgba(0, 194, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--brand-cyan);
}

.feature-icon-wrap svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.feature-title {
  font-size: 1.15rem;
  margin-bottom: 12px;
}

.feature-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ==========================================================
   BANNER DE CONVERSÃO / CTA FINAL
   ========================================================== */
.cta-banner-section {
  padding: 80px 0;
}

.cta-banner-box {
  background: linear-gradient(135deg, #101422 0%, #151a2d 100%);
  border: 1px solid rgba(0, 194, 255, 0.35);
  border-radius: var(--radius-lg);
  padding: 60px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7), 0 0 45px var(--brand-glow);
}

.cta-banner-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  margin-bottom: 16px;
}

.cta-banner-desc {
  color: var(--text-secondary);
  font-size: 1.1rem;
  max-width: 650px;
  margin: 0 auto 32px;
}

/* ==========================================================
   FAQ ACCORDION
   ========================================================== */
.faq-section {
  padding: 80px 0;
  background: var(--bg-darker);
}

.faq-list {
  max-width: 840px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item.active {
  border-color: rgba(0, 194, 255, 0.45);
  background: var(--bg-card);
  box-shadow: 0 0 20px rgba(0, 102, 255, 0.15);
}

.faq-question {
  width: 100%;
  padding: 22px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent;
  border: none;
  color: var(--text-white);
  font-size: 1.05rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  gap: 16px;
}

.faq-icon {
  width: 20px;
  height: 20px;
  fill: var(--brand-cyan);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 24px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 0 24px 22px;
}

/* ==========================================================
   FOOTER & AVISO LEGAL
   ========================================================== */
.site-footer {
  background: #050609;
  border-top: 1px solid var(--border-color);
  padding: 60px 0 30px;
  color: var(--text-secondary);
  font-size: 0.88rem;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 30px;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-links a:hover {
  color: var(--brand-cyan);
}

.footer-disclaimer {
  line-height: 1.7;
  margin-bottom: 30px;
  color: var(--text-muted);
}

.footer-disclaimer p {
  margin-bottom: 12px;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
  font-size: 0.82rem;
}

/* ==========================================================
   MODAIS (LOGIN, CADASTRO, RECUPERAR SENHA)
   ========================================================== */
.modal-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

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

.modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.modal-dialog {
  position: relative;
  z-index: 1001;
  background: #111420;
  border: 1px solid rgba(0, 194, 255, 0.3);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 440px;
  padding: 36px 32px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.85), 0 0 35px var(--brand-glow);
  transform: translateY(20px) scale(0.96);
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-wrapper.active .modal-dialog {
  transform: translateY(0) scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 6px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.modal-close-btn:hover {
  color: var(--text-white);
  background: rgba(255, 255, 255, 0.1);
}

.modal-close-btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.modal-header {
  text-align: center;
  margin-bottom: 24px;
}

.modal-header .brand-logo {
  height: 32px;
  margin: 0 auto 16px;
}

.modal-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.modal-subtitle {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

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

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

.input-wrap {
  position: relative;
}

.form-input {
  width: 100%;
  height: 48px;
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 0 16px;
  color: var(--text-white);
  font-size: 0.95rem;
  transition: var(--transition);
}

.form-input:focus {
  outline: none;
  border-color: var(--brand-cyan);
  box-shadow: 0 0 0 3px rgba(0, 194, 255, 0.3);
}

.input-password-wrap .form-input {
  padding-right: 48px;
}

.password-toggle-btn {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 6px;
}

.password-toggle-btn:hover {
  color: var(--brand-cyan);
}

.password-toggle-btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.form-error-msg {
  display: none;
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #fca5a5;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  margin-bottom: 16px;
  text-align: left;
}

.form-success-msg {
  display: none;
  background: rgba(0, 194, 255, 0.15);
  border: 1px solid rgba(0, 194, 255, 0.4);
  color: #a5f3fc;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  margin-bottom: 16px;
  text-align: left;
}

.form-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  margin-bottom: 20px;
}

.form-meta a {
  color: var(--brand-cyan);
}

.form-meta a:hover {
  text-decoration: underline;
}

.modal-switch {
  text-align: center;
  margin-top: 20px;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.modal-switch a {
  color: var(--brand-cyan);
  font-weight: 600;
}

.modal-switch a:hover {
  text-decoration: underline;
}

/* Spinner no botão */
.btn-spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ==========================================================
   RESPONSIVIDADE (MOBILE & TABLET)
   ========================================================== */
@media (max-width: 991px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
  .hero-content {
    text-align: center;
  }
  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-cta-group {
    justify-content: center;
  }
  .hero-stats-strip {
    justify-content: center;
  }
  .two-col-grid, .two-col-grid.reverse {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .two-col-grid.reverse .image-wrapper {
    order: -1;
  }
}

@media (max-width: 768px) {
  .header-container {
    height: 70px;
  }
  .brand-logo {
    height: 30px;
  }
  .nav-links-wrap {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background: #0d0f15;
    border-bottom: 1px solid var(--border-color);
    flex-direction: column;
    padding: 24px;
    gap: 18px;
    transform: translateY(-120%);
    transition: transform 0.3s ease;
    z-index: 99;
  }
  .nav-links-wrap.active {
    transform: translateY(0);
  }
  .header-actions .btn-demo {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .hero-section {
    padding: 40px 0 60px;
  }
  .modal-dialog {
    padding: 28px 20px;
  }
}

/* ==========================================================
   JANELA MOBILE DE BOAS-VINDAS (BOTTOM SHEET COM LOGO)
   ========================================================== */
.mobile-sheet-wrapper {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.35s ease, visibility 0.35s ease;
  pointer-events: none;
}

.mobile-sheet-wrapper.active {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.mobile-sheet-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.mobile-sheet-card {
  position: relative;
  z-index: 1000;
  width: 100%;
  max-width: 480px;
  background: #111420;
  border-top: 1px solid rgba(0, 194, 255, 0.45);
  border-left: 1px solid rgba(0, 194, 255, 0.2);
  border-right: 1px solid rgba(0, 194, 255, 0.2);
  border-top-left-radius: 26px;
  border-top-right-radius: 26px;
  padding: 16px 24px 34px;
  box-shadow: 0 -12px 45px rgba(0, 0, 0, 0.85), 0 0 35px var(--brand-glow);
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: center;
}

.mobile-sheet-wrapper.active .mobile-sheet-card {
  transform: translateY(0);
}

.mobile-sheet-drag-handle {
  width: 44px;
  height: 4px;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 4px;
  margin: 0 auto 16px;
}

.mobile-sheet-close {
  position: absolute;
  top: 16px;
  right: 18px;
  background: rgba(255, 255, 255, 0.08);
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.mobile-sheet-close:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
}

.mobile-sheet-close svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.mobile-sheet-logo {
  height: 32px;
  margin: 0 auto 12px;
  filter: drop-shadow(0 0 12px rgba(0, 102, 255, 0.4));
}

.mobile-sheet-title {
  font-size: 1.45rem;
  font-weight: 800;
  margin-bottom: 6px;
  color: #fff;
}

.mobile-sheet-subtitle {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.48;
  margin-bottom: 18px;
}

.mobile-sheet-subtitle strong {
  color: var(--brand-cyan);
}

.mobile-sheet-badges {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 22px;
  text-align: left;
  background: rgba(0, 102, 255, 0.07);
  border: 1px solid rgba(0, 194, 255, 0.2);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
}

.sheet-badge-item {
  font-size: 0.86rem;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
}

.mobile-sheet-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

@media (min-width: 769px) {
  .mobile-sheet-wrapper {
    display: none !important;
  }
}
