    /* ===== CSS Variables ===== */
    :root {
      --primary-color: #6366f1;
      --primary-hover: #4f46e5;
      --secondary-color: #10b981;
      --background-color: #0f172a;
      --card-background: #1e293b;
      --surface-color: #334155;
      --text-primary: #f8fafc;
      --text-secondary: #94a3b8;
      --text-muted: #64748b;
      --border-color: #475569;
      --success-color: #22c55e;
      --warning-color: #f59e0b;
      --ad-background: #1a2332;
      --ad-border: #3b4a5a;
      --input-background: #0f172a;
      --radius-sm: 8px;
      --radius-md: 12px;
      --radius-lg: 16px;
      --radius-xl: 24px;
      --shadow-card: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -2px rgba(0, 0, 0, 0.2);
      --shadow-input: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
      --transition: all 0.2s ease;
    }

    /* ===== Reset & Base ===== */
    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
      background-color: var(--background-color);
      color: var(--text-primary);
      line-height: 1.6;
      min-height: 100%;
      box-sizing: border-box;
    }

    html, body {
      height: 100%;
    }

    /* ===== Layout Principal ===== */
    .page-wrapper {
      display: flex;
      flex-direction: column;
      min-height: 100%;
      width: 100%;
      overflow-x: hidden;
    }

    .main-layout {
      display: grid;
      grid-template-columns: 1fr;
      gap: 20px;
      max-width: 1400px;
      margin: 0 auto;
      padding: 20px;
      width: 100%;
    }

    /* Desktop: 3 colunas com sidebars para ads */
    @media (min-width: 1200px) {
      .main-layout {
        grid-template-columns: 180px 1fr 180px;
        padding: 24px;
      }
    }

    /* ===== Slots de Anúncios ===== */
    .ad-slot {
      background: var(--ad-background);
      border: 2px dashed var(--ad-border);
      border-radius: var(--radius-md);
      display: flex;
      align-items: center;
      justify-content: center;
      text-align: center;
      color: var(--text-muted);
      font-size: 12px;
      padding: 16px;
      min-height: 90px;
    }

    .ad-slot-label {
      display: flex;
      flex-direction: column;
      gap: 4px;
    }

    .ad-slot-label span:first-child {
      font-weight: 600;
      color: var(--text-secondary);
    }

    /* Banner Topo */
    .ad-banner-top {
      width: 100%;
      max-width: 970px;
      margin: 0 auto 20px;
      min-height: 100px;
    }

    /* Sidebars */
    .ad-sidebar {
      display: none;
      min-height: 600px;
      position: sticky;
      top: 20px;
      align-self: start;
    }

    @media (min-width: 1200px) {
      .ad-sidebar {
        display: flex;
      }
    }

    /* Banner Entre Seções */
    .ad-banner-middle {
      width: 100%;
      max-width: 728px;
      margin: 32px auto;
      min-height: 90px;
    }

    /* Banner Rodapé */
    .ad-banner-bottom {
      width: 100%;
      max-width: 970px;
      margin: 32px auto 0;
      min-height: 90px;
    }

    /* ===== Conteúdo Central ===== */
    .content-area {
      width: 100%;
      max-width: 960px;
      margin: 0 auto;
    }

    /* ===== Card Principal ===== */
    .calculator-card {
      background: var(--card-background);
      border-radius: var(--radius-lg);
      box-shadow: var(--shadow-card);
      overflow: hidden;
    }

    /* Cabeçalho do Card */
    .card-header {
      background: linear-gradient(135deg, var(--primary-color) 0%, #8b5cf6 100%);
      padding: 24px;
      display: flex;
      align-items: center;
      gap: 16px;
    }

    .card-header-icon {
      width: 56px;
      height: 56px;
      background: rgba(255, 255, 255, 0.2);
      border-radius: var(--radius-md);
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
    }

    .card-header-icon svg {
      width: 32px;
      height: 32px;
      fill: white;
    }

    .card-header-text h1 {
      font-size: 1.5rem;
      font-weight: 700;
      color: white;
      margin-bottom: 4px;
    }

    .card-header-text p {
      font-size: 0.9rem;
      color: rgba(255, 255, 255, 0.85);
    }

    /* Corpo do Card */
    .card-body {
      padding: 24px;
    }

    /* ===== Seções da Calculadora ===== */
    .calc-section {
      margin-bottom: 28px;
    }

    .calc-section:last-of-type {
      margin-bottom: 0;
    }

    .section-header {
      display: flex;
      align-items: center;
      gap: 10px;
      margin-bottom: 16px;
      padding-bottom: 12px;
      border-bottom: 1px solid var(--border-color);
    }

    .section-icon {
      width: 36px;
      height: 36px;
      background: var(--surface-color);
      border-radius: var(--radius-sm);
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
    }

    .section-icon svg {
      width: 20px;
      height: 20px;
      fill: var(--primary-color);
    }

    .section-title {
      font-size: 1rem;
      font-weight: 600;
      color: var(--text-primary);
      text-transform: uppercase;
      letter-spacing: 0.5px;
    }

    /* ===== Grid de Campos ===== */
    .fields-grid {
      display: grid;
      grid-template-columns: 1fr;
      gap: 16px;
    }

    @media (min-width: 640px) {
      .fields-grid {
        grid-template-columns: repeat(2, 1fr);
      }
    }

    .field-full {
      grid-column: 1 / -1;
    }

    /* ===== Campos de Input ===== */
    .field-group {
      display: flex;
      flex-direction: column;
      gap: 6px;
    }

    .field-label {
      font-size: 0.85rem;
      font-weight: 500;
      color: var(--text-secondary);
    }

    .field-input,
    .field-select {
      width: 100%;
      padding: 12px 16px;
      background: var(--input-background);
      border: 1px solid var(--border-color);
      border-radius: var(--radius-md);
      color: var(--text-primary);
      font-size: 1rem;
      font-family: inherit;
      transition: var(--transition);
      box-shadow: var(--shadow-input);
    }

    .field-input:focus,
    .field-select:focus {
      outline: none;
      border-color: var(--primary-color);
      box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
    }

    .field-input::placeholder {
      color: var(--text-muted);
    }

    .field-select {
      cursor: pointer;
      appearance: none;
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2394a3b8'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
      background-repeat: no-repeat;
      background-position: right 12px center;
      background-size: 20px;
      padding-right: 44px;
    }

    /* ===== Botões Secundários ===== */
    .button-group {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
      margin-top: 16px;
    }

    .btn-secondary {
      padding: 10px 20px;
      background: var(--surface-color);
      border: 1px solid var(--border-color);
      border-radius: var(--radius-xl);
      color: var(--text-secondary);
      font-size: 0.85rem;
      font-weight: 500;
      font-family: inherit;
      cursor: pointer;
      transition: var(--transition);
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .btn-secondary:hover {
      background: var(--border-color);
      color: var(--text-primary);
    }

    .btn-secondary:focus {
      outline: none;
      box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
    }

    .btn-secondary svg {
      width: 16px;
      height: 16px;
      fill: currentColor;
    }

    /* ===== Botão Principal ===== */
    .btn-primary {
      width: 100%;
      padding: 16px 32px;
      background: linear-gradient(135deg, var(--primary-color) 0%, #8b5cf6 100%);
      border: none;
      border-radius: var(--radius-xl);
      color: white;
      font-size: 1.1rem;
      font-weight: 600;
      font-family: inherit;
      cursor: pointer;
      transition: var(--transition);
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      margin-top: 24px;
      box-shadow: 0 4px 14px rgba(99, 102, 241, 0.4);
    }

    .btn-primary:hover {
      transform: translateY(-2px);
      box-shadow: 0 6px 20px rgba(99, 102, 241, 0.5);
    }

    .btn-primary:focus {
      outline: none;
      box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.3), 0 4px 14px rgba(99, 102, 241, 0.4);
    }

    .btn-primary:active {
      transform: translateY(0);
    }

    .btn-primary svg {
      width: 24px;
      height: 24px;
      fill: currentColor;
    }

    /* ===== Resultado ===== */
    .result-section {
      margin-top: 32px;
      background: var(--surface-color);
      border-radius: var(--radius-lg);
      overflow: hidden;
    }

    .result-header {
      background: rgba(99, 102, 241, 0.1);
      padding: 16px 20px;
      border-bottom: 1px solid var(--border-color);
    }

    .result-header h3 {
      font-size: 1rem;
      font-weight: 600;
      color: var(--text-primary);
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .result-header svg {
      width: 20px;
      height: 20px;
      fill: var(--primary-color);
    }

    .result-body {
      padding: 20px;
    }

    .result-row {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 12px 0;
      border-bottom: 1px solid rgba(71, 85, 105, 0.5);
    }

    .result-row:last-child {
      border-bottom: none;
    }

    .result-label {
      color: var(--text-secondary);
      font-size: 0.95rem;
    }

    .result-value {
      color: var(--text-primary);
      font-size: 1rem;
      font-weight: 500;
    }

    .result-row-total {
      background: rgba(99, 102, 241, 0.1);
      margin: 0 -20px;
      padding: 12px 20px;
      border-bottom: none;
    }

    .result-row-total .result-label {
      color: var(--text-primary);
      font-weight: 600;
    }

    .result-row-total .result-value {
      font-weight: 700;
      font-size: 1.1rem;
    }

    /* Destaque Final */
    .result-highlight {
      background: linear-gradient(135deg, var(--secondary-color) 0%, #059669 100%);
      margin: 20px -20px -20px;
      padding: 24px 20px;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    .result-highlight-label {
      color: rgba(255, 255, 255, 0.9);
      font-size: 1rem;
      font-weight: 500;
    }

    .result-highlight-value {
      color: white;
      font-size: 1.75rem;
      font-weight: 700;
    }

    /* ===== Seção Marketplace ===== */
    .marketplace-section {
      margin-top: 32px;
    }

    .marketplace-header {
      text-align: center;
      margin-bottom: 24px;
    }

    .marketplace-header h2 {
      font-size: 1.4rem;
      font-weight: 700;
      color: var(--text-primary);
      margin-bottom: 8px;
    }

    .marketplace-header p {
      color: var(--text-secondary);
      font-size: 0.95rem;
    }

    .marketplace-grid {
      display: grid;
      grid-template-columns: 1fr;
      gap: 20px;
    }

    @media (min-width: 640px) {
      .marketplace-grid {
        grid-template-columns: repeat(2, 1fr);
      }
    }

    .marketplace-card {
      background: var(--card-background);
      border-radius: var(--radius-lg);
      padding: 24px;
      text-align: center;
      box-shadow: var(--shadow-card);
      border: 1px solid var(--border-color);
      transition: var(--transition);
    }

    .marketplace-card:hover {
      border-color: var(--primary-color);
      transform: translateY(-4px);
    }

    .marketplace-icon {
      width: 64px;
      height: 64px;
      background: var(--surface-color);
      border-radius: var(--radius-md);
      margin: 0 auto 16px;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .marketplace-icon svg {
      width: 32px;
      height: 32px;
      fill: var(--text-muted);
    }

    .marketplace-card h3 {
      font-size: 1.1rem;
      font-weight: 600;
      color: var(--text-primary);
      margin-bottom: 8px;
    }

    .marketplace-card p {
      color: var(--text-secondary);
      font-size: 0.85rem;
      margin-bottom: 16px;
    }

    .btn-coming-soon {
      padding: 10px 24px;
      background: transparent;
      border: 1px solid var(--border-color);
      border-radius: var(--radius-xl);
      color: var(--text-muted);
      font-size: 0.85rem;
      font-weight: 500;
      font-family: inherit;
      cursor: not-allowed;
      transition: var(--transition);
    }

    /* Mercado Livre Colors */
    .marketplace-card.mercado-livre .marketplace-icon {
      background: rgba(255, 230, 0, 0.1);
    }

    .marketplace-card.mercado-livre .marketplace-icon svg {
      fill: #ffe600;
    }

    /* Shopee Colors */
    .marketplace-card.shopee .marketplace-icon {
      background: rgba(238, 77, 45, 0.1);
    }

    .marketplace-card.shopee .marketplace-icon svg {
      fill: #ee4d2d;
    }

    /* ===== Responsivo Mobile ===== */
    @media (max-width: 639px) {
      .card-header {
        padding: 20px;
        flex-direction: column;
        text-align: center;
      }

      .card-header-text h1 {
        font-size: 1.25rem;
      }

      .card-body {
        padding: 20px;
      }

      .button-group {
        flex-direction: column;
      }

      .btn-secondary {
        width: 100%;
        justify-content: center;
      }

      .result-highlight {
        flex-direction: column;
        gap: 8px;
        text-align: center;
      }

      .result-highlight-value {
        font-size: 1.5rem;
      }
    }
