/* Inlined Crypto Carousel CSS */
    .crypto-carousel-wrapper{width:100%;position:relative}.crypto-carousel-controls{display:flex;align-items:center;gap:15px;margin-bottom:30px}.carousel-btn{width:45px;height:45px;border:1px solid rgba(255,215,0,.3);background:0 0;color:#ffd700;border-radius:50%;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .3s ease;font-size:18px}.carousel-btn:hover{background:rgba(255,215,0,.1);border-color:#ffd700;transform:scale(1.1)}.carousel-btn:active{transform:scale(.95)}#crypto-carousel-container{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;margin-top:30px}.crypto-card-carousel{background:linear-gradient(145deg,rgba(10,37,64,.95) 0,rgba(26,58,92,.8) 100%);border:1px solid rgba(212,175,55,.2);border-radius:20px;padding:30px 25px;text-align:center;transition:all .4s ease;position:relative;overflow:hidden;backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);display:flex;flex-direction:column;align-items:center}.crypto-card-carousel::before{content:"";position:absolute;top:0;left:0;right:0;height:1px;background:linear-gradient(90deg,transparent,var(--accent-gold),transparent);opacity:0;transition:opacity .3s ease}.crypto-card-carousel:hover::before{opacity:1}.crypto-card-carousel:hover{transform:translateY(-10px);border-color:rgba(212,175,55,.5);box-shadow:0 25px 50px rgba(0,0,0,.4),0 0 40px rgba(212,175,55,.15)}.crypto-card-link{text-decoration:none;color:inherit;width:100%;display:flex;flex-direction:column;align-items:center}.crypto-icon-carousel{font-size:48px;margin-bottom:15px;display:inline-flex;width:70px;height:70px;align-items:center;justify-content:center;background:rgba(255,255,255,.05);border-radius:50%;border:2px solid rgba(212,175,55,.2);transition:all .3s ease}.crypto-card-carousel:hover .crypto-icon-carousel{border-color:rgba(212,175,55,.6);background:rgba(255,215,0,.1)}.crypto-name-carousel{font-size:18px;font-weight:600;color:#fff;margin:12px 0 6px}.crypto-symbol-carousel{font-size:14px;color:#ffd700;font-weight:600;margin:0 0 15px;text-transform:uppercase;letter-spacing:1px}.crypto-price-carousel{font-size:24px;font-weight:700;color:#fff;margin:10px 0}.crypto-card-carousel .crypto-change{font-size:14px;font-weight:600;margin:10px 0}.crypto-card-carousel .crypto-change.positive{color:#0f8}.crypto-card-carousel .crypto-change.negative{color:#f46}.crypto-card-carousel .crypto-change.neutral{color:#888}.crypto-chart-carousel{width:100%;height:30px;margin-top:15px;display:flex;align-items:center;justify-content:center;font-size:20px;opacity:.6}@media (max-width:1200px){#crypto-carousel-container{grid-template-columns:repeat(3,1fr)}}@media (max-width:768px){#crypto-carousel-container{grid-template-columns:repeat(2,1fr);gap:15px}.crypto-card-carousel{padding:20px 15px}.crypto-icon-carousel{width:60px;height:60px;font-size:36px}.crypto-name-carousel{font-size:16px}.crypto-price-carousel{font-size:20px}.carousel-btn{width:40px;height:40px;font-size:16px}}@media (max-width:480px){#crypto-carousel-container{grid-template-columns:1fr}.crypto-card-carousel{padding:20px 15px}.crypto-carousel-controls{gap:10px}.carousel-btn{width:38px;height:38px;font-size:14px}.crypto-price-carousel{font-size:18px}}.market-status-carousel{display:flex;align-items:center;justify-content:center;gap:10px;margin-top:30px;color:rgba(255,255,255,.7);font-size:14px}.pulse-dot-green-carousel{width:10px;height:10px;background:#0f8;border-radius:50%;animation:pulse-green 2s infinite}@keyframes pulse-green{0%,100%{box-shadow:0 0 0 0 rgba(0,255,136,.7)}50%{box-shadow:0 0 0 10px rgba(0,255,136,0)}}

/* --- */

:root {
      --primary-blue: #0b2540;
      --accent-gold: #FFD700;
    }
    
    body { font-family: 'Montserrat', sans-serif; background-color: #050c18; color: #fff; overflow-x: hidden; }
    h1, h2, h3, .heading-gold { font-family: 'Cinzel', serif; }
    
    .glass {
      background: rgba(10, 25, 47, 0.7);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      border: 1px solid rgba(212, 175, 55, 0.2);
    }

    /* isolation: o vídeo fica num contexto próprio (z-index negativo atrás do body falhava no host Blazor) */
    #hero {
      isolation: isolate;
    }

    .hero-video {
      position: absolute;
      top: 50%;
      left: 50%;
      min-width: 100%;
      min-height: 100%;
      width: auto;
      height: auto;
      transform: translate(-50%, -50%);
      z-index: 0;
      object-fit: cover;
      filter: brightness(0.72) saturate(0.82) contrast(1.05) sepia(0.28) hue-rotate(-8deg);
    }

    .hero-overlay {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background:
        radial-gradient(circle at 18% 16%, rgba(255, 223, 120, 0.38) 0%, transparent 32%),
        radial-gradient(circle at 82% 20%, rgba(253, 200, 90, 0.28) 0%, transparent 30%),
        radial-gradient(circle at 50% 88%, rgba(212, 175, 55, 0.22) 0%, transparent 38%),
        radial-gradient(ellipse 120% 80% at 50% 50%, rgba(212, 175, 55, 0.08) 0%, transparent 55%),
        linear-gradient(180deg, rgba(8, 12, 22, 0.35) 0%, rgba(5, 10, 20, 0.55) 45%, rgba(5, 8, 16, 0.68) 100%);
      z-index: 1;
      pointer-events: none;
    }

    /* Hide "Veo" text from video background */
    .hero-overlay::after {
      content: '';
      position: absolute;
      bottom: 0;
      right: 0;
      width: 300px;
      height: 200px;
      background: linear-gradient(to left, rgba(5, 8, 16, 0.75) 0%, transparent 100%);
      pointer-events: none;
    }

    /* Imagem de fundo atrás do vídeo (paridade com layout original) */
    #tecnologia .home-tecnologia-backdrop {
      position: absolute;
      inset: 0;
      z-index: 0;
      pointer-events: none;
      background-image: url('../img/home-tech-backdrop.png');
      background-size: cover;
      background-position: center;
    }

    /* Secção tecnologia: menos véu preto, mais calor dourado */
    #tecnologia .home-tecnologia-dim {
      position: absolute;
      inset: 0;
      z-index: 2;
      pointer-events: none;
      background:
        radial-gradient(circle at 25% 12%, rgba(255, 220, 130, 0.2) 0%, transparent 36%),
        radial-gradient(circle at 75% 18%, rgba(253, 190, 80, 0.16) 0%, transparent 34%),
        linear-gradient(180deg, rgba(5, 12, 24, 0.38) 0%, rgba(8, 14, 28, 0.52) 100%);
    }

    .gold-text-gradient {
      background: linear-gradient(135deg, #d4af37 0%, #f7e1ad 50%, #aa8b2c 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }

    /* Palavra central do hero — amarelo/dourado sólido como o layout original */
    .hero-title-highlight {
      color: #fdb813;
      -webkit-text-fill-color: #fdb813;
      background: none;
      text-shadow:
        0 0 42px rgba(255, 215, 0, 0.45),
        0 0 18px rgba(253, 184, 19, 0.35);
    }

    .btn-gold {
      background: linear-gradient(135deg, #d4af37 0%, #f7e1ad 50%, #aa8b2c 100%);
      color: #050c18;
      font-weight: 700;
      transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
      box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
    }
    .btn-gold:hover {
      transform: translateY(-2px);
      box-shadow: 0 8px 25px rgba(212, 175, 55, 0.5);
    }

    .feature-card {
      transition: all 0.4s ease;
      background: linear-gradient(180deg, rgba(17, 17, 17, 0.94) 0%, rgba(8, 8, 8, 0.98) 100%);
      border: 1px solid rgba(212, 175, 55, 0.18);
      box-shadow: 0 18px 38px rgba(0, 0, 0, 0.28);
    }
    .feature-card:hover {
      transform: translateY(-10px);
      border-color: rgba(255, 215, 0, 0.4);
      box-shadow: 0 24px 46px rgba(0, 0, 0, 0.34), 0 0 28px rgba(212, 175, 55, 0.1);
    }

    .feature-index {
      color: #ffd700;
      opacity: 1;
      text-shadow: 0 0 24px rgba(255, 215, 0, 0.25);
      transition: color 0.3s ease, transform 0.3s ease;
    }
    .feature-card:hover .feature-index {
      color: #ffe566;
      transform: scale(1.02);
    }

    .stats-panel,
    .cta-panel {
      background: linear-gradient(180deg, rgba(17, 17, 17, 0.92) 0%, rgba(7, 7, 7, 0.98) 100%);
      border: 1px solid rgba(212, 175, 55, 0.18);
      box-shadow: 0 22px 46px rgba(0, 0, 0, 0.3);
      backdrop-filter: blur(14px);
      -webkit-backdrop-filter: blur(14px);
    }

    .section-shell-dark {
      background:
        radial-gradient(circle at 15% 10%, rgba(255, 215, 0, 0.12) 0%, transparent 22%),
        radial-gradient(circle at 82% 18%, rgba(212, 175, 55, 0.09) 0%, transparent 20%),
        radial-gradient(circle at 58% 0%, rgba(253, 185, 49, 0.07) 0%, transparent 22%),
        linear-gradient(180deg, rgba(0, 0, 0, 0.85) 0%, rgba(10, 10, 10, 0.95) 100%);
    }

    .section-shell-soft {
      background:
        radial-gradient(circle at 82% 18%, rgba(255, 215, 0, 0.11) 0%, transparent 20%),
        radial-gradient(circle at 18% 14%, rgba(253, 185, 49, 0.08) 0%, transparent 18%),
        radial-gradient(circle at 48% 0%, rgba(212, 175, 55, 0.06) 0%, transparent 20%),
        linear-gradient(180deg, rgba(17, 17, 17, 0.96) 0%, rgba(8, 8, 8, 0.98) 52%, rgba(0, 0, 0, 1) 100%);
    }

    .section-copy {
      color: rgba(226, 232, 240, 0.88);
    }

    .section-copy-strong {
      color: rgba(226, 232, 240, 0.95);
      font-weight: 500;
    }

    /* Âncoras — paridade com web-static/pages/home (section[id] { scroll-margin-top: 120px }) */
    .home-5173-root section[id],
    .home-5173-root footer[id] {
      scroll-margin-top: 120px;
    }

    /* Ticker / Carousel Styles */
    .crypto-carousel-wrapper { overflow: hidden; position: relative; padding: 20px 0; }
    #crypto-carousel-container { display: flex; gap: 20px; transition: transform 0.5s ease; width: max-content; }
    .crypto-card-carousel { 
        background: rgba(10, 25, 47, 0.7); 
        backdrop-filter: blur(10px); 
        border: 1px solid rgba(212, 175, 55, 0.2); 
        border-radius: 1.5rem; 
        padding: 1.5rem; 
        width: 280px; 
        flex-shrink: 0; 
        transition: all 0.3s ease; 
    }
    .crypto-card-carousel:hover { transform: translateY(-5px); border-color: rgba(212, 175, 55, 0.5); }
    .crypto-icon-carousel { font-size: 2.5rem; margin-bottom: 0.5rem; }
    .crypto-name-carousel { font-size: 1.25rem; font-weight: 700; color: #fff; margin-bottom: 0.25rem; }
    .crypto-symbol-carousel { color: #d4af37; font-size: 0.875rem; margin-bottom: 1rem; font-weight: 600; }
    .crypto-price-carousel { font-size: 1.5rem; font-weight: 700; color: #ffd700; margin-bottom: 0.5rem; }
    .crypto-change.positive { color: #10b981; }
    .crypto-change.negative { color: #ef4444; }
    .carousel-btn { 
        background: rgba(10, 25, 47, 0.7); 
        border: 1px solid rgba(212, 175, 55, 0.2); 
        color: #d4af37; 
        width: 44px; 
        height: 44px; 
        border-radius: 50%; 
        display: flex; 
        align-items: center; 
        justify-content: center; 
        cursor: pointer; 
        transition: all 0.3s ease; 
        font-size: 1.2rem;
    }
    .carousel-btn:hover { background: #d4af37; color: #050c18; }

    /* Language Modal Styles */
    .language-modal { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 10000; align-items: center; justify-content: center; }
    .language-modal.active { display: flex; }
    .language-modal-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.85); backdrop-filter: blur(8px); }
    .language-modal-content { position: relative; background: #0a192f; border: 1px solid rgba(212, 175, 55, 0.3); border-radius: 2rem; width: 90%; max-width: 800px; max-height: 80vh; overflow-y: auto; padding: 2rem; }
    .language-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 1rem; margin-top: 1.5rem; }
    .lang-btn { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); color: #fff; padding: 0.75rem 1rem; border-radius: 0.75rem; text-align: left; transition: all 0.2s; font-size: 0.9rem; }
    .lang-btn:hover, .lang-btn.active { background: rgba(212, 175, 55, 0.15); border-color: #d4af37; color: #d4af37; }
    .language-search { width: 100%; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: 1rem; padding: 1rem; color: #fff; margin-bottom: 2rem; }
    .language-buttons-grid { display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center; }

    .mob-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.75); backdrop-filter: blur(4px); z-index: 200; }
    .mob-overlay.open { display: block; }
    .mob-drawer {
      position: fixed; top: 0; left: -280px; bottom: 0; width: 280px;
      background: rgba(5,12,24,.98);
      border-right: 1px solid rgba(212,175,55,.2);
      backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
      z-index: 300; overflow-y: auto;
      transition: left 0.3s cubic-bezier(.4,0,.2,1);
      display: flex; flex-direction: column;
    }
    .mob-drawer.open { left: 0 !important; }
    .mob-drw-hdr { display: flex; align-items: center; justify-content: space-between; padding: 16px 16px 14px; border-bottom: 1px solid rgba(212,175,55,.1); }
    .mob-brand {
      display: inline-flex;
      align-items: center;
      text-decoration: none;
      min-width: 0;
    }
    .mob-brand-name {
      font-family: 'Cinzel', serif;
      font-size: 1rem;
      font-weight: 700;
      letter-spacing: 0.05em;
      text-transform: uppercase;
      line-height: 1.1;
      background: linear-gradient(135deg, #d4af37 0%, #f7e1ad 50%, #aa8b2c 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      display: inline-block;
    }
    .mob-close { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); color: #fff; width: 34px; height: 34px; border-radius: 8px; font-size: 20px; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all .25s ease; }
    .mob-close:hover { background: rgba(212,175,55,.15); border-color: #d4af37; color: #d4af37; }
    .mob-drw-nav { padding: 12px 10px 10px; flex: 1; }
    .mob-section-lbl { font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #64748b; padding: 0 10px 8px; margin-top: 12px; display: block; }
    .mob-link {
      display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px;
      color: #94a3b8; text-decoration: none; font-size: 13px; font-weight: 500;
      transition: all .25s ease; margin-bottom: 2px; border: 1px solid transparent;
    }
    .mob-link:hover { background: rgba(212,175,55,.08); color: #fff; }
    .mob-link.active { background: rgba(212,175,55,.14); color: #d4af37; }
    .mob-dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .4; flex-shrink: 0; }
    .mob-link.active .mob-dot { opacity: 1; }
    .mob-drw-actions { padding: 12px 10px 8px; border-top: 1px solid rgba(212,175,55,.08); }
    .mob-action-link {
      display: flex; align-items: center; justify-content: center;
      min-height: 42px; border-radius: 12px; text-decoration: none; font-size: 13px; font-weight: 700;
      transition: all .25s ease; margin-bottom: 8px;
    }
    .mob-action-link.secondary {
      color: #fff;
      background: rgba(255,255,255,.04);
      border: 1px solid rgba(255,255,255,.1);
    }
    .mob-action-link.primary {
      background: linear-gradient(135deg, #d4af37 0%, #f7e1ad 50%, #aa8b2c 100%);
      color: #050c18;
      box-shadow: 0 4px 15px rgba(212, 175, 55, 0.25);
    }

    @media (max-width: 900px) {
      header > div {
        padding: 0.9rem 1rem !important;
      }
      header img[data-i18n="logoAlt"] {
        height: 42px !important;
      }
      header button[aria-label="Menu"] {
        width: 42px;
        height: 42px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 12px;
        background: rgba(255,255,255,.05);
        border: 1px solid rgba(212,175,55,.18);
      }
      header button[aria-label="Menu"] svg {
        width: 24px;
        height: 24px;
      }
    }
    
    /* Step Cards with Images */
    .step-card-img {
      position: relative;
      background-size: cover;
      background-position: center;
      transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
      overflow: hidden;
      cursor: pointer;
    }
    .step-card-img::after {
      content: '';
      position: absolute;
      inset: 0;
      border: 1px solid rgba(212, 175, 55, 0.2);
      border-radius: 2.5rem;
      transition: all 0.4s ease;
      z-index: 3;
    }
    .step-card-img::before {
      content: '';
      position: absolute;
      inset: 0;
      background: linear-gradient(180deg, rgba(5, 12, 24, 0.4) 0%, rgba(5, 12, 24, 0.85) 100%);
      transition: all 0.5s ease;
      z-index: 1;
    }
    .step-card-img:hover {
      transform: translateY(-8px) scale(1.02);
      box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6), 0 0 30px rgba(212, 175, 55, 0.15);
    }
    .step-card-img:hover::before {
      background: linear-gradient(180deg, rgba(5, 12, 24, 0.25) 0%, rgba(5, 12, 24, 0.75) 100%);
    }
    .step-card-img:hover::after {
      border-color: rgba(212, 175, 55, 0.6);
      border-width: 2px;
    }
    .step-card-img > div {
      position: relative;
      z-index: 2;
    }
    .step-card-img h3, .step-card-img p {
      color: #ffffff !important;
    }
    
    .crypto-carousel-wrapper #crypto-carousel-container {
      justify-content: center;
      width: fit-content;
      max-width: 100%;
      margin-left: auto;
      margin-right: auto;
    }

    /* Hero — alinhado a public_html (7) /pages/home */
    .hero-content {
      width: 100%;
      padding-top: 2rem;
      padding-bottom: 1rem;
    }
    .hero-actions {
      display: flex;
      justify-content: center;
      margin-top: 1rem;
    }
    .hero-actions .btn-gold {
      min-height: 60px;
    }